1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for atkmm 2.28.0.
4#
5# Report bugs to <https://gitlab.gnome.org/GNOME/atkmm/issues/>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: https://gitlab.gnome.org/GNOME/atkmm/issues/ about your
279$0: system, including any error possibly output before this
280$0: message. Then install a modern shell, or manually run
281$0: the script under such a shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='atkmm'
592PACKAGE_TARNAME='atkmm'
593PACKAGE_VERSION='2.28.0'
594PACKAGE_STRING='atkmm 2.28.0'
595PACKAGE_BUGREPORT='https://gitlab.gnome.org/GNOME/atkmm/issues/'
596PACKAGE_URL='http://www.gtkmm.org/'
597
598ac_unique_file="atk/atkmm.h"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639ATKMM_WXXFLAGS
640DOCINSTALL_FLAGS
641DOXYGEN_TAGFILES
642ENABLE_DOCUMENTATION_FALSE
643ENABLE_DOCUMENTATION_TRUE
644XSLTPROC
645DOXYGEN
646DOT
647PERL
648DISABLE_DEPRECATED_API_FALSE
649DISABLE_DEPRECATED_API_TRUE
650GMMPROC_DIR
651GTHREAD_CFLAGS
652ATKMM_LIBS
653ATKMM_CFLAGS
654PKG_CONFIG_LIBDIR
655PKG_CONFIG_PATH
656PKG_CONFIG
657ATKMM_MODULES
658CXXCPP
659CPP
660LT_SYS_LIBRARY_PATH
661OTOOL64
662OTOOL
663LIPO
664NMEDIT
665DSYMUTIL
666MANIFEST_TOOL
667RANLIB
668ac_ct_AR
669AR
670LN_S
671NM
672ac_ct_DUMPBIN
673DUMPBIN
674LD
675FGREP
676EGREP
677GREP
678SED
679am__fastdepCC_FALSE
680am__fastdepCC_TRUE
681CCDEPMODE
682ac_ct_CC
683CFLAGS
684CC
685host_os
686host_vendor
687host_cpu
688host
689build_os
690build_vendor
691build_cpu
692build
693LIBTOOL
694OBJDUMP
695DLLTOOL
696AS
697HAVE_CXX11
698am__fastdepCXX_FALSE
699am__fastdepCXX_TRUE
700CXXDEPMODE
701am__nodep
702AMDEPBACKSLASH
703AMDEP_FALSE
704AMDEP_TRUE
705am__include
706DEPDIR
707OBJEXT
708EXEEXT
709ac_ct_CXX
710CPPFLAGS
711LDFLAGS
712CXXFLAGS
713CXX
714ATKMM_SO_VERSION
715MMDOCTOOLDIR
716DIST_DOCTOOLS_FALSE
717DIST_DOCTOOLS_TRUE
718ATKMM_MICRO_VERSION
719ATKMM_MINOR_VERSION
720ATKMM_MAJOR_VERSION
721ATKMM_API_VERSION
722ATKMM_VERSION
723ATKMM_MODULE_NAME
724ACLOCAL_FLAGS
725MAINT
726MAINTAINER_MODE_FALSE
727MAINTAINER_MODE_TRUE
728AM_BACKSLASH
729AM_DEFAULT_VERBOSITY
730AM_DEFAULT_V
731AM_V
732am__untar
733am__tar
734AMTAR
735am__leading_dot
736SET_MAKE
737AWK
738mkdir_p
739MKDIR_P
740INSTALL_STRIP_PROGRAM
741STRIP
742install_sh
743MAKEINFO
744AUTOHEADER
745AUTOMAKE
746AUTOCONF
747ACLOCAL
748VERSION
749PACKAGE
750CYGPATH_W
751am__isrc
752INSTALL_DATA
753INSTALL_SCRIPT
754INSTALL_PROGRAM
755target_alias
756host_alias
757build_alias
758LIBS
759ECHO_T
760ECHO_N
761ECHO_C
762DEFS
763mandir
764localedir
765libdir
766psdir
767pdfdir
768dvidir
769htmldir
770infodir
771docdir
772oldincludedir
773includedir
774runstatedir
775localstatedir
776sharedstatedir
777sysconfdir
778datadir
779datarootdir
780libexecdir
781sbindir
782bindir
783program_transform_name
784prefix
785exec_prefix
786PACKAGE_URL
787PACKAGE_BUGREPORT
788PACKAGE_STRING
789PACKAGE_VERSION
790PACKAGE_TARNAME
791PACKAGE_NAME
792PATH_SEPARATOR
793SHELL
794am__quote'
795ac_subst_files=''
796ac_user_opts='
797enable_option_checking
798enable_silent_rules
799enable_maintainer_mode
800enable_dependency_tracking
801enable_static
802enable_shared
803with_pic
804enable_fast_install
805with_aix_soname
806with_gnu_ld
807with_sysroot
808enable_libtool_lock
809enable_deprecated_api
810enable_documentation
811with_libstdc_doc
812with_libsigc_doc
813with_glibmm_doc
814enable_warnings
815'
816      ac_precious_vars='build_alias
817host_alias
818target_alias
819ACLOCAL_FLAGS
820CXX
821CXXFLAGS
822LDFLAGS
823LIBS
824CPPFLAGS
825CCC
826CC
827CFLAGS
828LT_SYS_LIBRARY_PATH
829CPP
830CXXCPP
831PKG_CONFIG
832PKG_CONFIG_PATH
833PKG_CONFIG_LIBDIR
834ATKMM_CFLAGS
835ATKMM_LIBS
836PERL
837DOT
838DOXYGEN
839XSLTPROC'
840
841
842# Initialize some variables set by options.
843ac_init_help=
844ac_init_version=false
845ac_unrecognized_opts=
846ac_unrecognized_sep=
847# The variables have the same names as the options, with
848# dashes changed to underlines.
849cache_file=/dev/null
850exec_prefix=NONE
851no_create=
852no_recursion=
853prefix=NONE
854program_prefix=NONE
855program_suffix=NONE
856program_transform_name=s,x,x,
857silent=
858site=
859srcdir=
860verbose=
861x_includes=NONE
862x_libraries=NONE
863
864# Installation directory options.
865# These are left unexpanded so users can "make install exec_prefix=/foo"
866# and all the variables that are supposed to be based on exec_prefix
867# by default will actually change.
868# Use braces instead of parens because sh, perl, etc. also accept them.
869# (The list follows the same order as the GNU Coding Standards.)
870bindir='${exec_prefix}/bin'
871sbindir='${exec_prefix}/sbin'
872libexecdir='${exec_prefix}/libexec'
873datarootdir='${prefix}/share'
874datadir='${datarootdir}'
875sysconfdir='${prefix}/etc'
876sharedstatedir='${prefix}/com'
877localstatedir='${prefix}/var'
878runstatedir='${localstatedir}/run'
879includedir='${prefix}/include'
880oldincludedir='/usr/include'
881docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
882infodir='${datarootdir}/info'
883htmldir='${docdir}'
884dvidir='${docdir}'
885pdfdir='${docdir}'
886psdir='${docdir}'
887libdir='${exec_prefix}/lib'
888localedir='${datarootdir}/locale'
889mandir='${datarootdir}/man'
890
891ac_prev=
892ac_dashdash=
893for ac_option
894do
895  # If the previous option needs an argument, assign it.
896  if test -n "$ac_prev"; then
897    eval $ac_prev=\$ac_option
898    ac_prev=
899    continue
900  fi
901
902  case $ac_option in
903  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
904  *=)   ac_optarg= ;;
905  *)    ac_optarg=yes ;;
906  esac
907
908  # Accept the important Cygnus configure options, so we can diagnose typos.
909
910  case $ac_dashdash$ac_option in
911  --)
912    ac_dashdash=yes ;;
913
914  -bindir | --bindir | --bindi | --bind | --bin | --bi)
915    ac_prev=bindir ;;
916  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
917    bindir=$ac_optarg ;;
918
919  -build | --build | --buil | --bui | --bu)
920    ac_prev=build_alias ;;
921  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
922    build_alias=$ac_optarg ;;
923
924  -cache-file | --cache-file | --cache-fil | --cache-fi \
925  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
926    ac_prev=cache_file ;;
927  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
928  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
929    cache_file=$ac_optarg ;;
930
931  --config-cache | -C)
932    cache_file=config.cache ;;
933
934  -datadir | --datadir | --datadi | --datad)
935    ac_prev=datadir ;;
936  -datadir=* | --datadir=* | --datadi=* | --datad=*)
937    datadir=$ac_optarg ;;
938
939  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
940  | --dataroo | --dataro | --datar)
941    ac_prev=datarootdir ;;
942  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
943  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
944    datarootdir=$ac_optarg ;;
945
946  -disable-* | --disable-*)
947    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
948    # Reject names that are not valid shell variable names.
949    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
950      as_fn_error $? "invalid feature name: $ac_useropt"
951    ac_useropt_orig=$ac_useropt
952    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953    case $ac_user_opts in
954      *"
955"enable_$ac_useropt"
956"*) ;;
957      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
958	 ac_unrecognized_sep=', ';;
959    esac
960    eval enable_$ac_useropt=no ;;
961
962  -docdir | --docdir | --docdi | --doc | --do)
963    ac_prev=docdir ;;
964  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
965    docdir=$ac_optarg ;;
966
967  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
968    ac_prev=dvidir ;;
969  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
970    dvidir=$ac_optarg ;;
971
972  -enable-* | --enable-*)
973    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
974    # Reject names that are not valid shell variable names.
975    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
976      as_fn_error $? "invalid feature name: $ac_useropt"
977    ac_useropt_orig=$ac_useropt
978    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979    case $ac_user_opts in
980      *"
981"enable_$ac_useropt"
982"*) ;;
983      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
984	 ac_unrecognized_sep=', ';;
985    esac
986    eval enable_$ac_useropt=\$ac_optarg ;;
987
988  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
989  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
990  | --exec | --exe | --ex)
991    ac_prev=exec_prefix ;;
992  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
993  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
994  | --exec=* | --exe=* | --ex=*)
995    exec_prefix=$ac_optarg ;;
996
997  -gas | --gas | --ga | --g)
998    # Obsolete; use --with-gas.
999    with_gas=yes ;;
1000
1001  -help | --help | --hel | --he | -h)
1002    ac_init_help=long ;;
1003  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1004    ac_init_help=recursive ;;
1005  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1006    ac_init_help=short ;;
1007
1008  -host | --host | --hos | --ho)
1009    ac_prev=host_alias ;;
1010  -host=* | --host=* | --hos=* | --ho=*)
1011    host_alias=$ac_optarg ;;
1012
1013  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1014    ac_prev=htmldir ;;
1015  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1016  | --ht=*)
1017    htmldir=$ac_optarg ;;
1018
1019  -includedir | --includedir | --includedi | --included | --include \
1020  | --includ | --inclu | --incl | --inc)
1021    ac_prev=includedir ;;
1022  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1023  | --includ=* | --inclu=* | --incl=* | --inc=*)
1024    includedir=$ac_optarg ;;
1025
1026  -infodir | --infodir | --infodi | --infod | --info | --inf)
1027    ac_prev=infodir ;;
1028  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1029    infodir=$ac_optarg ;;
1030
1031  -libdir | --libdir | --libdi | --libd)
1032    ac_prev=libdir ;;
1033  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1034    libdir=$ac_optarg ;;
1035
1036  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1037  | --libexe | --libex | --libe)
1038    ac_prev=libexecdir ;;
1039  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1040  | --libexe=* | --libex=* | --libe=*)
1041    libexecdir=$ac_optarg ;;
1042
1043  -localedir | --localedir | --localedi | --localed | --locale)
1044    ac_prev=localedir ;;
1045  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1046    localedir=$ac_optarg ;;
1047
1048  -localstatedir | --localstatedir | --localstatedi | --localstated \
1049  | --localstate | --localstat | --localsta | --localst | --locals)
1050    ac_prev=localstatedir ;;
1051  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1052  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1053    localstatedir=$ac_optarg ;;
1054
1055  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1056    ac_prev=mandir ;;
1057  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1058    mandir=$ac_optarg ;;
1059
1060  -nfp | --nfp | --nf)
1061    # Obsolete; use --without-fp.
1062    with_fp=no ;;
1063
1064  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1065  | --no-cr | --no-c | -n)
1066    no_create=yes ;;
1067
1068  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1069  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1070    no_recursion=yes ;;
1071
1072  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1073  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1074  | --oldin | --oldi | --old | --ol | --o)
1075    ac_prev=oldincludedir ;;
1076  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1077  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1078  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1079    oldincludedir=$ac_optarg ;;
1080
1081  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1082    ac_prev=prefix ;;
1083  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1084    prefix=$ac_optarg ;;
1085
1086  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1087  | --program-pre | --program-pr | --program-p)
1088    ac_prev=program_prefix ;;
1089  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1090  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1091    program_prefix=$ac_optarg ;;
1092
1093  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1094  | --program-suf | --program-su | --program-s)
1095    ac_prev=program_suffix ;;
1096  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1097  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1098    program_suffix=$ac_optarg ;;
1099
1100  -program-transform-name | --program-transform-name \
1101  | --program-transform-nam | --program-transform-na \
1102  | --program-transform-n | --program-transform- \
1103  | --program-transform | --program-transfor \
1104  | --program-transfo | --program-transf \
1105  | --program-trans | --program-tran \
1106  | --progr-tra | --program-tr | --program-t)
1107    ac_prev=program_transform_name ;;
1108  -program-transform-name=* | --program-transform-name=* \
1109  | --program-transform-nam=* | --program-transform-na=* \
1110  | --program-transform-n=* | --program-transform-=* \
1111  | --program-transform=* | --program-transfor=* \
1112  | --program-transfo=* | --program-transf=* \
1113  | --program-trans=* | --program-tran=* \
1114  | --progr-tra=* | --program-tr=* | --program-t=*)
1115    program_transform_name=$ac_optarg ;;
1116
1117  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1118    ac_prev=pdfdir ;;
1119  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1120    pdfdir=$ac_optarg ;;
1121
1122  -psdir | --psdir | --psdi | --psd | --ps)
1123    ac_prev=psdir ;;
1124  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1125    psdir=$ac_optarg ;;
1126
1127  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1128  | -silent | --silent | --silen | --sile | --sil)
1129    silent=yes ;;
1130
1131  -runstatedir | --runstatedir | --runstatedi | --runstated \
1132  | --runstate | --runstat | --runsta | --runst | --runs \
1133  | --run | --ru | --r)
1134    ac_prev=runstatedir ;;
1135  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1136  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1137  | --run=* | --ru=* | --r=*)
1138    runstatedir=$ac_optarg ;;
1139
1140  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1141    ac_prev=sbindir ;;
1142  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1143  | --sbi=* | --sb=*)
1144    sbindir=$ac_optarg ;;
1145
1146  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1147  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1148  | --sharedst | --shareds | --shared | --share | --shar \
1149  | --sha | --sh)
1150    ac_prev=sharedstatedir ;;
1151  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1152  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1153  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1154  | --sha=* | --sh=*)
1155    sharedstatedir=$ac_optarg ;;
1156
1157  -site | --site | --sit)
1158    ac_prev=site ;;
1159  -site=* | --site=* | --sit=*)
1160    site=$ac_optarg ;;
1161
1162  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1163    ac_prev=srcdir ;;
1164  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1165    srcdir=$ac_optarg ;;
1166
1167  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1168  | --syscon | --sysco | --sysc | --sys | --sy)
1169    ac_prev=sysconfdir ;;
1170  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1171  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1172    sysconfdir=$ac_optarg ;;
1173
1174  -target | --target | --targe | --targ | --tar | --ta | --t)
1175    ac_prev=target_alias ;;
1176  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1177    target_alias=$ac_optarg ;;
1178
1179  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1180    verbose=yes ;;
1181
1182  -version | --version | --versio | --versi | --vers | -V)
1183    ac_init_version=: ;;
1184
1185  -with-* | --with-*)
1186    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1187    # Reject names that are not valid shell variable names.
1188    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1189      as_fn_error $? "invalid package name: $ac_useropt"
1190    ac_useropt_orig=$ac_useropt
1191    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192    case $ac_user_opts in
1193      *"
1194"with_$ac_useropt"
1195"*) ;;
1196      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1197	 ac_unrecognized_sep=', ';;
1198    esac
1199    eval with_$ac_useropt=\$ac_optarg ;;
1200
1201  -without-* | --without-*)
1202    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1203    # Reject names that are not valid shell variable names.
1204    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1205      as_fn_error $? "invalid package name: $ac_useropt"
1206    ac_useropt_orig=$ac_useropt
1207    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1208    case $ac_user_opts in
1209      *"
1210"with_$ac_useropt"
1211"*) ;;
1212      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1213	 ac_unrecognized_sep=', ';;
1214    esac
1215    eval with_$ac_useropt=no ;;
1216
1217  --x)
1218    # Obsolete; use --with-x.
1219    with_x=yes ;;
1220
1221  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1222  | --x-incl | --x-inc | --x-in | --x-i)
1223    ac_prev=x_includes ;;
1224  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1225  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1226    x_includes=$ac_optarg ;;
1227
1228  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1229  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1230    ac_prev=x_libraries ;;
1231  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1232  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1233    x_libraries=$ac_optarg ;;
1234
1235  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1236Try \`$0 --help' for more information"
1237    ;;
1238
1239  *=*)
1240    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1241    # Reject names that are not valid shell variable names.
1242    case $ac_envvar in #(
1243      '' | [0-9]* | *[!_$as_cr_alnum]* )
1244      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1245    esac
1246    eval $ac_envvar=\$ac_optarg
1247    export $ac_envvar ;;
1248
1249  *)
1250    # FIXME: should be removed in autoconf 3.0.
1251    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1252    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1253      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1254    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1255    ;;
1256
1257  esac
1258done
1259
1260if test -n "$ac_prev"; then
1261  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1262  as_fn_error $? "missing argument to $ac_option"
1263fi
1264
1265if test -n "$ac_unrecognized_opts"; then
1266  case $enable_option_checking in
1267    no) ;;
1268    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1269    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1270  esac
1271fi
1272
1273# Check all directory arguments for consistency.
1274for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1275		datadir sysconfdir sharedstatedir localstatedir includedir \
1276		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1277		libdir localedir mandir runstatedir
1278do
1279  eval ac_val=\$$ac_var
1280  # Remove trailing slashes.
1281  case $ac_val in
1282    */ )
1283      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1284      eval $ac_var=\$ac_val;;
1285  esac
1286  # Be sure to have absolute directory names.
1287  case $ac_val in
1288    [\\/$]* | ?:[\\/]* )  continue;;
1289    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1290  esac
1291  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1292done
1293
1294# There might be people who depend on the old broken behavior: `$host'
1295# used to hold the argument of --host etc.
1296# FIXME: To remove some day.
1297build=$build_alias
1298host=$host_alias
1299target=$target_alias
1300
1301# FIXME: To remove some day.
1302if test "x$host_alias" != x; then
1303  if test "x$build_alias" = x; then
1304    cross_compiling=maybe
1305  elif test "x$build_alias" != "x$host_alias"; then
1306    cross_compiling=yes
1307  fi
1308fi
1309
1310ac_tool_prefix=
1311test -n "$host_alias" && ac_tool_prefix=$host_alias-
1312
1313test "$silent" = yes && exec 6>/dev/null
1314
1315
1316ac_pwd=`pwd` && test -n "$ac_pwd" &&
1317ac_ls_di=`ls -di .` &&
1318ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1319  as_fn_error $? "working directory cannot be determined"
1320test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1321  as_fn_error $? "pwd does not report name of working directory"
1322
1323
1324# Find the source files, if location was not specified.
1325if test -z "$srcdir"; then
1326  ac_srcdir_defaulted=yes
1327  # Try the directory containing this script, then the parent directory.
1328  ac_confdir=`$as_dirname -- "$as_myself" ||
1329$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1330	 X"$as_myself" : 'X\(//\)[^/]' \| \
1331	 X"$as_myself" : 'X\(//\)$' \| \
1332	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1333$as_echo X"$as_myself" |
1334    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1335	    s//\1/
1336	    q
1337	  }
1338	  /^X\(\/\/\)[^/].*/{
1339	    s//\1/
1340	    q
1341	  }
1342	  /^X\(\/\/\)$/{
1343	    s//\1/
1344	    q
1345	  }
1346	  /^X\(\/\).*/{
1347	    s//\1/
1348	    q
1349	  }
1350	  s/.*/./; q'`
1351  srcdir=$ac_confdir
1352  if test ! -r "$srcdir/$ac_unique_file"; then
1353    srcdir=..
1354  fi
1355else
1356  ac_srcdir_defaulted=no
1357fi
1358if test ! -r "$srcdir/$ac_unique_file"; then
1359  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1360  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1361fi
1362ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1363ac_abs_confdir=`(
1364	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1365	pwd)`
1366# When building in place, set srcdir=.
1367if test "$ac_abs_confdir" = "$ac_pwd"; then
1368  srcdir=.
1369fi
1370# Remove unnecessary trailing slashes from srcdir.
1371# Double slashes in file names in object file debugging info
1372# mess up M-x gdb in Emacs.
1373case $srcdir in
1374*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1375esac
1376for ac_var in $ac_precious_vars; do
1377  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1378  eval ac_env_${ac_var}_value=\$${ac_var}
1379  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1380  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1381done
1382
1383#
1384# Report the --help message.
1385#
1386if test "$ac_init_help" = "long"; then
1387  # Omit some internal or obsolete options to make the list less imposing.
1388  # This message is too long to be a string in the A/UX 3.1 sh.
1389  cat <<_ACEOF
1390\`configure' configures atkmm 2.28.0 to adapt to many kinds of systems.
1391
1392Usage: $0 [OPTION]... [VAR=VALUE]...
1393
1394To assign environment variables (e.g., CC, CFLAGS...), specify them as
1395VAR=VALUE.  See below for descriptions of some of the useful variables.
1396
1397Defaults for the options are specified in brackets.
1398
1399Configuration:
1400  -h, --help              display this help and exit
1401      --help=short        display options specific to this package
1402      --help=recursive    display the short help of all the included packages
1403  -V, --version           display version information and exit
1404  -q, --quiet, --silent   do not print \`checking ...' messages
1405      --cache-file=FILE   cache test results in FILE [disabled]
1406  -C, --config-cache      alias for \`--cache-file=config.cache'
1407  -n, --no-create         do not create output files
1408      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1409
1410Installation directories:
1411  --prefix=PREFIX         install architecture-independent files in PREFIX
1412                          [$ac_default_prefix]
1413  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1414                          [PREFIX]
1415
1416By default, \`make install' will install all the files in
1417\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1418an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1419for instance \`--prefix=\$HOME'.
1420
1421For better control, use the options below.
1422
1423Fine tuning of the installation directories:
1424  --bindir=DIR            user executables [EPREFIX/bin]
1425  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1426  --libexecdir=DIR        program executables [EPREFIX/libexec]
1427  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1428  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1429  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1430  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1431  --libdir=DIR            object code libraries [EPREFIX/lib]
1432  --includedir=DIR        C header files [PREFIX/include]
1433  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1434  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1435  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1436  --infodir=DIR           info documentation [DATAROOTDIR/info]
1437  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1438  --mandir=DIR            man documentation [DATAROOTDIR/man]
1439  --docdir=DIR            documentation root [DATAROOTDIR/doc/atkmm]
1440  --htmldir=DIR           html documentation [DOCDIR]
1441  --dvidir=DIR            dvi documentation [DOCDIR]
1442  --pdfdir=DIR            pdf documentation [DOCDIR]
1443  --psdir=DIR             ps documentation [DOCDIR]
1444_ACEOF
1445
1446  cat <<\_ACEOF
1447
1448Program names:
1449  --program-prefix=PREFIX            prepend PREFIX to installed program names
1450  --program-suffix=SUFFIX            append SUFFIX to installed program names
1451  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1452
1453System types:
1454  --build=BUILD     configure for building on BUILD [guessed]
1455  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1456_ACEOF
1457fi
1458
1459if test -n "$ac_init_help"; then
1460  case $ac_init_help in
1461     short | recursive ) echo "Configuration of atkmm 2.28.0:";;
1462   esac
1463  cat <<\_ACEOF
1464
1465Optional Features:
1466  --disable-option-checking  ignore unrecognized --enable/--with options
1467  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1468  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1469  --enable-silent-rules   less verbose build output (undo: "make V=1")
1470  --disable-silent-rules  verbose build output (undo: "make V=0")
1471  --enable-maintainer-mode
1472                          enable make rules and dependencies not useful (and
1473                          sometimes confusing) to the casual installer
1474  --enable-dependency-tracking
1475                          do not reject slow dependency extractors
1476  --disable-dependency-tracking
1477                          speeds up one-time build
1478  --enable-static[=PKGS]  build static libraries [default=no]
1479  --enable-shared[=PKGS]  build shared libraries [default=yes]
1480  --enable-fast-install[=PKGS]
1481                          optimize for fast installation [default=yes]
1482  --disable-libtool-lock  avoid locking (might break parallel builds)
1483  --disable-deprecated-api
1484                          omit deprecated API from the library
1485  --disable-documentation do not build or install the documentation
1486  --enable-warnings[=min|max|fatal|no]
1487                          set compiler pedantry level [default=min]
1488
1489Optional Packages:
1490  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1491  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1492  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1493                          both]
1494  --with-aix-soname=aix|svr4|both
1495                          shared library versioning (aka "SONAME") variant to
1496                          provide on AIX, [default=aix].
1497  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1498  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1499                          compiler's sysroot if not specified).
1500  --with-libstdc-doc=[TAGFILE@]HTMLREFDIR
1501                          Link to external libstdc documentation [auto]
1502  --with-libsigc-doc=[TAGFILE@]HTMLREFDIR
1503                          Link to external libsigc documentation [auto]
1504  --with-glibmm-doc=[TAGFILE@]HTMLREFDIR
1505                          Link to external glibmm documentation [auto]
1506
1507Some influential environment variables:
1508  ACLOCAL_FLAGS
1509              aclocal flags, e.g. -I <macro dir>
1510  CXX         C++ compiler command
1511  CXXFLAGS    C++ compiler flags
1512  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1513              nonstandard directory <lib dir>
1514  LIBS        libraries to pass to the linker, e.g. -l<library>
1515  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1516              you have headers in a nonstandard directory <include dir>
1517  CC          C compiler command
1518  CFLAGS      C compiler flags
1519  LT_SYS_LIBRARY_PATH
1520              User-defined run-time library search path.
1521  CPP         C preprocessor
1522  CXXCPP      C++ preprocessor
1523  PKG_CONFIG  path to pkg-config utility
1524  PKG_CONFIG_PATH
1525              directories to add to pkg-config's search path
1526  PKG_CONFIG_LIBDIR
1527              path overriding pkg-config's built-in search path
1528  ATKMM_CFLAGS
1529              C compiler flags for ATKMM, overriding pkg-config
1530  ATKMM_LIBS  linker flags for ATKMM, overriding pkg-config
1531  PERL        path to Perl interpreter
1532  DOT         path to dot utility
1533  DOXYGEN     path to Doxygen utility
1534  XSLTPROC    path to xsltproc utility
1535
1536Use these variables to override the choices made by `configure' or to help
1537it to find libraries and programs with nonstandard names/locations.
1538
1539Report bugs to <https://gitlab.gnome.org/GNOME/atkmm/issues/>.
1540atkmm home page: <http://www.gtkmm.org/>.
1541_ACEOF
1542ac_status=$?
1543fi
1544
1545if test "$ac_init_help" = "recursive"; then
1546  # If there are subdirs, report their specific --help.
1547  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1548    test -d "$ac_dir" ||
1549      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1550      continue
1551    ac_builddir=.
1552
1553case "$ac_dir" in
1554.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555*)
1556  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1557  # A ".." for each directory in $ac_dir_suffix.
1558  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1559  case $ac_top_builddir_sub in
1560  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1561  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1562  esac ;;
1563esac
1564ac_abs_top_builddir=$ac_pwd
1565ac_abs_builddir=$ac_pwd$ac_dir_suffix
1566# for backward compatibility:
1567ac_top_builddir=$ac_top_build_prefix
1568
1569case $srcdir in
1570  .)  # We are building in place.
1571    ac_srcdir=.
1572    ac_top_srcdir=$ac_top_builddir_sub
1573    ac_abs_top_srcdir=$ac_pwd ;;
1574  [\\/]* | ?:[\\/]* )  # Absolute name.
1575    ac_srcdir=$srcdir$ac_dir_suffix;
1576    ac_top_srcdir=$srcdir
1577    ac_abs_top_srcdir=$srcdir ;;
1578  *) # Relative name.
1579    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1580    ac_top_srcdir=$ac_top_build_prefix$srcdir
1581    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1582esac
1583ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1584
1585    cd "$ac_dir" || { ac_status=$?; continue; }
1586    # Check for guested configure.
1587    if test -f "$ac_srcdir/configure.gnu"; then
1588      echo &&
1589      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1590    elif test -f "$ac_srcdir/configure"; then
1591      echo &&
1592      $SHELL "$ac_srcdir/configure" --help=recursive
1593    else
1594      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1595    fi || ac_status=$?
1596    cd "$ac_pwd" || { ac_status=$?; break; }
1597  done
1598fi
1599
1600test -n "$ac_init_help" && exit $ac_status
1601if $ac_init_version; then
1602  cat <<\_ACEOF
1603atkmm configure 2.28.0
1604generated by GNU Autoconf 2.69
1605
1606Copyright (C) 2012 Free Software Foundation, Inc.
1607This configure script is free software; the Free Software Foundation
1608gives unlimited permission to copy, distribute and modify it.
1609_ACEOF
1610  exit
1611fi
1612
1613## ------------------------ ##
1614## Autoconf initialization. ##
1615## ------------------------ ##
1616
1617# ac_fn_cxx_try_compile LINENO
1618# ----------------------------
1619# Try to compile conftest.$ac_ext, and return whether this succeeded.
1620ac_fn_cxx_try_compile ()
1621{
1622  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623  rm -f conftest.$ac_objext
1624  if { { ac_try="$ac_compile"
1625case "(($ac_try" in
1626  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1627  *) ac_try_echo=$ac_try;;
1628esac
1629eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630$as_echo "$ac_try_echo"; } >&5
1631  (eval "$ac_compile") 2>conftest.err
1632  ac_status=$?
1633  if test -s conftest.err; then
1634    grep -v '^ *+' conftest.err >conftest.er1
1635    cat conftest.er1 >&5
1636    mv -f conftest.er1 conftest.err
1637  fi
1638  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639  test $ac_status = 0; } && {
1640	 test -z "$ac_cxx_werror_flag" ||
1641	 test ! -s conftest.err
1642       } && test -s conftest.$ac_objext; then :
1643  ac_retval=0
1644else
1645  $as_echo "$as_me: failed program was:" >&5
1646sed 's/^/| /' conftest.$ac_ext >&5
1647
1648	ac_retval=1
1649fi
1650  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651  as_fn_set_status $ac_retval
1652
1653} # ac_fn_cxx_try_compile
1654
1655# ac_fn_c_try_compile LINENO
1656# --------------------------
1657# Try to compile conftest.$ac_ext, and return whether this succeeded.
1658ac_fn_c_try_compile ()
1659{
1660  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661  rm -f conftest.$ac_objext
1662  if { { ac_try="$ac_compile"
1663case "(($ac_try" in
1664  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665  *) ac_try_echo=$ac_try;;
1666esac
1667eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668$as_echo "$ac_try_echo"; } >&5
1669  (eval "$ac_compile") 2>conftest.err
1670  ac_status=$?
1671  if test -s conftest.err; then
1672    grep -v '^ *+' conftest.err >conftest.er1
1673    cat conftest.er1 >&5
1674    mv -f conftest.er1 conftest.err
1675  fi
1676  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677  test $ac_status = 0; } && {
1678	 test -z "$ac_c_werror_flag" ||
1679	 test ! -s conftest.err
1680       } && test -s conftest.$ac_objext; then :
1681  ac_retval=0
1682else
1683  $as_echo "$as_me: failed program was:" >&5
1684sed 's/^/| /' conftest.$ac_ext >&5
1685
1686	ac_retval=1
1687fi
1688  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689  as_fn_set_status $ac_retval
1690
1691} # ac_fn_c_try_compile
1692
1693# ac_fn_c_try_link LINENO
1694# -----------------------
1695# Try to link conftest.$ac_ext, and return whether this succeeded.
1696ac_fn_c_try_link ()
1697{
1698  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699  rm -f conftest.$ac_objext conftest$ac_exeext
1700  if { { ac_try="$ac_link"
1701case "(($ac_try" in
1702  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1703  *) ac_try_echo=$ac_try;;
1704esac
1705eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706$as_echo "$ac_try_echo"; } >&5
1707  (eval "$ac_link") 2>conftest.err
1708  ac_status=$?
1709  if test -s conftest.err; then
1710    grep -v '^ *+' conftest.err >conftest.er1
1711    cat conftest.er1 >&5
1712    mv -f conftest.er1 conftest.err
1713  fi
1714  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715  test $ac_status = 0; } && {
1716	 test -z "$ac_c_werror_flag" ||
1717	 test ! -s conftest.err
1718       } && test -s conftest$ac_exeext && {
1719	 test "$cross_compiling" = yes ||
1720	 test -x conftest$ac_exeext
1721       }; then :
1722  ac_retval=0
1723else
1724  $as_echo "$as_me: failed program was:" >&5
1725sed 's/^/| /' conftest.$ac_ext >&5
1726
1727	ac_retval=1
1728fi
1729  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1730  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1731  # interfere with the next link command; also delete a directory that is
1732  # left behind by Apple's compiler.  We do this before executing the actions.
1733  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1734  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735  as_fn_set_status $ac_retval
1736
1737} # ac_fn_c_try_link
1738
1739# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1740# -------------------------------------------------------
1741# Tests whether HEADER exists and can be compiled using the include files in
1742# INCLUDES, setting the cache variable VAR accordingly.
1743ac_fn_c_check_header_compile ()
1744{
1745  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747$as_echo_n "checking for $2... " >&6; }
1748if eval \${$3+:} false; then :
1749  $as_echo_n "(cached) " >&6
1750else
1751  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1752/* end confdefs.h.  */
1753$4
1754#include <$2>
1755_ACEOF
1756if ac_fn_c_try_compile "$LINENO"; then :
1757  eval "$3=yes"
1758else
1759  eval "$3=no"
1760fi
1761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1762fi
1763eval ac_res=\$$3
1764	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1765$as_echo "$ac_res" >&6; }
1766  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767
1768} # ac_fn_c_check_header_compile
1769
1770# ac_fn_c_try_cpp LINENO
1771# ----------------------
1772# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1773ac_fn_c_try_cpp ()
1774{
1775  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776  if { { ac_try="$ac_cpp conftest.$ac_ext"
1777case "(($ac_try" in
1778  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1779  *) ac_try_echo=$ac_try;;
1780esac
1781eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782$as_echo "$ac_try_echo"; } >&5
1783  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1784  ac_status=$?
1785  if test -s conftest.err; then
1786    grep -v '^ *+' conftest.err >conftest.er1
1787    cat conftest.er1 >&5
1788    mv -f conftest.er1 conftest.err
1789  fi
1790  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791  test $ac_status = 0; } > conftest.i && {
1792	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1793	 test ! -s conftest.err
1794       }; then :
1795  ac_retval=0
1796else
1797  $as_echo "$as_me: failed program was:" >&5
1798sed 's/^/| /' conftest.$ac_ext >&5
1799
1800    ac_retval=1
1801fi
1802  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803  as_fn_set_status $ac_retval
1804
1805} # ac_fn_c_try_cpp
1806
1807# ac_fn_c_try_run LINENO
1808# ----------------------
1809# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1810# that executables *can* be run.
1811ac_fn_c_try_run ()
1812{
1813  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814  if { { ac_try="$ac_link"
1815case "(($ac_try" in
1816  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1817  *) ac_try_echo=$ac_try;;
1818esac
1819eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820$as_echo "$ac_try_echo"; } >&5
1821  (eval "$ac_link") 2>&5
1822  ac_status=$?
1823  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1824  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1825  { { case "(($ac_try" in
1826  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1827  *) ac_try_echo=$ac_try;;
1828esac
1829eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1830$as_echo "$ac_try_echo"; } >&5
1831  (eval "$ac_try") 2>&5
1832  ac_status=$?
1833  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834  test $ac_status = 0; }; }; then :
1835  ac_retval=0
1836else
1837  $as_echo "$as_me: program exited with status $ac_status" >&5
1838       $as_echo "$as_me: failed program was:" >&5
1839sed 's/^/| /' conftest.$ac_ext >&5
1840
1841       ac_retval=$ac_status
1842fi
1843  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1844  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845  as_fn_set_status $ac_retval
1846
1847} # ac_fn_c_try_run
1848
1849# ac_fn_c_check_func LINENO FUNC VAR
1850# ----------------------------------
1851# Tests whether FUNC exists, setting the cache variable VAR accordingly
1852ac_fn_c_check_func ()
1853{
1854  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1855  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1856$as_echo_n "checking for $2... " >&6; }
1857if eval \${$3+:} false; then :
1858  $as_echo_n "(cached) " >&6
1859else
1860  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1861/* end confdefs.h.  */
1862/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1863   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1864#define $2 innocuous_$2
1865
1866/* System header to define __stub macros and hopefully few prototypes,
1867    which can conflict with char $2 (); below.
1868    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1869    <limits.h> exists even on freestanding compilers.  */
1870
1871#ifdef __STDC__
1872# include <limits.h>
1873#else
1874# include <assert.h>
1875#endif
1876
1877#undef $2
1878
1879/* Override any GCC internal prototype to avoid an error.
1880   Use char because int might match the return type of a GCC
1881   builtin and then its argument prototype would still apply.  */
1882#ifdef __cplusplus
1883extern "C"
1884#endif
1885char $2 ();
1886/* The GNU C library defines this for functions which it implements
1887    to always fail with ENOSYS.  Some functions are actually named
1888    something starting with __ and the normal name is an alias.  */
1889#if defined __stub_$2 || defined __stub___$2
1890choke me
1891#endif
1892
1893int
1894main ()
1895{
1896return $2 ();
1897  ;
1898  return 0;
1899}
1900_ACEOF
1901if ac_fn_c_try_link "$LINENO"; then :
1902  eval "$3=yes"
1903else
1904  eval "$3=no"
1905fi
1906rm -f core conftest.err conftest.$ac_objext \
1907    conftest$ac_exeext conftest.$ac_ext
1908fi
1909eval ac_res=\$$3
1910	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1911$as_echo "$ac_res" >&6; }
1912  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1913
1914} # ac_fn_c_check_func
1915
1916# ac_fn_cxx_try_cpp LINENO
1917# ------------------------
1918# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1919ac_fn_cxx_try_cpp ()
1920{
1921  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922  if { { ac_try="$ac_cpp conftest.$ac_ext"
1923case "(($ac_try" in
1924  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1925  *) ac_try_echo=$ac_try;;
1926esac
1927eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1928$as_echo "$ac_try_echo"; } >&5
1929  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1930  ac_status=$?
1931  if test -s conftest.err; then
1932    grep -v '^ *+' conftest.err >conftest.er1
1933    cat conftest.er1 >&5
1934    mv -f conftest.er1 conftest.err
1935  fi
1936  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1937  test $ac_status = 0; } > conftest.i && {
1938	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1939	 test ! -s conftest.err
1940       }; then :
1941  ac_retval=0
1942else
1943  $as_echo "$as_me: failed program was:" >&5
1944sed 's/^/| /' conftest.$ac_ext >&5
1945
1946    ac_retval=1
1947fi
1948  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949  as_fn_set_status $ac_retval
1950
1951} # ac_fn_cxx_try_cpp
1952
1953# ac_fn_cxx_try_link LINENO
1954# -------------------------
1955# Try to link conftest.$ac_ext, and return whether this succeeded.
1956ac_fn_cxx_try_link ()
1957{
1958  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1959  rm -f conftest.$ac_objext conftest$ac_exeext
1960  if { { ac_try="$ac_link"
1961case "(($ac_try" in
1962  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1963  *) ac_try_echo=$ac_try;;
1964esac
1965eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966$as_echo "$ac_try_echo"; } >&5
1967  (eval "$ac_link") 2>conftest.err
1968  ac_status=$?
1969  if test -s conftest.err; then
1970    grep -v '^ *+' conftest.err >conftest.er1
1971    cat conftest.er1 >&5
1972    mv -f conftest.er1 conftest.err
1973  fi
1974  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1975  test $ac_status = 0; } && {
1976	 test -z "$ac_cxx_werror_flag" ||
1977	 test ! -s conftest.err
1978       } && test -s conftest$ac_exeext && {
1979	 test "$cross_compiling" = yes ||
1980	 test -x conftest$ac_exeext
1981       }; then :
1982  ac_retval=0
1983else
1984  $as_echo "$as_me: failed program was:" >&5
1985sed 's/^/| /' conftest.$ac_ext >&5
1986
1987	ac_retval=1
1988fi
1989  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1990  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1991  # interfere with the next link command; also delete a directory that is
1992  # left behind by Apple's compiler.  We do this before executing the actions.
1993  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1994  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1995  as_fn_set_status $ac_retval
1996
1997} # ac_fn_cxx_try_link
1998cat >config.log <<_ACEOF
1999This file contains any messages produced by compilers while
2000running configure, to aid debugging if configure makes a mistake.
2001
2002It was created by atkmm $as_me 2.28.0, which was
2003generated by GNU Autoconf 2.69.  Invocation command line was
2004
2005  $ $0 $@
2006
2007_ACEOF
2008exec 5>>config.log
2009{
2010cat <<_ASUNAME
2011## --------- ##
2012## Platform. ##
2013## --------- ##
2014
2015hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2016uname -m = `(uname -m) 2>/dev/null || echo unknown`
2017uname -r = `(uname -r) 2>/dev/null || echo unknown`
2018uname -s = `(uname -s) 2>/dev/null || echo unknown`
2019uname -v = `(uname -v) 2>/dev/null || echo unknown`
2020
2021/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2022/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2023
2024/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2025/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2026/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2027/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2028/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2029/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2030/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2031
2032_ASUNAME
2033
2034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2035for as_dir in $PATH
2036do
2037  IFS=$as_save_IFS
2038  test -z "$as_dir" && as_dir=.
2039    $as_echo "PATH: $as_dir"
2040  done
2041IFS=$as_save_IFS
2042
2043} >&5
2044
2045cat >&5 <<_ACEOF
2046
2047
2048## ----------- ##
2049## Core tests. ##
2050## ----------- ##
2051
2052_ACEOF
2053
2054
2055# Keep a trace of the command line.
2056# Strip out --no-create and --no-recursion so they do not pile up.
2057# Strip out --silent because we don't want to record it for future runs.
2058# Also quote any args containing shell meta-characters.
2059# Make two passes to allow for proper duplicate-argument suppression.
2060ac_configure_args=
2061ac_configure_args0=
2062ac_configure_args1=
2063ac_must_keep_next=false
2064for ac_pass in 1 2
2065do
2066  for ac_arg
2067  do
2068    case $ac_arg in
2069    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2070    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2071    | -silent | --silent | --silen | --sile | --sil)
2072      continue ;;
2073    *\'*)
2074      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2075    esac
2076    case $ac_pass in
2077    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2078    2)
2079      as_fn_append ac_configure_args1 " '$ac_arg'"
2080      if test $ac_must_keep_next = true; then
2081	ac_must_keep_next=false # Got value, back to normal.
2082      else
2083	case $ac_arg in
2084	  *=* | --config-cache | -C | -disable-* | --disable-* \
2085	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2086	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2087	  | -with-* | --with-* | -without-* | --without-* | --x)
2088	    case "$ac_configure_args0 " in
2089	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2090	    esac
2091	    ;;
2092	  -* ) ac_must_keep_next=true ;;
2093	esac
2094      fi
2095      as_fn_append ac_configure_args " '$ac_arg'"
2096      ;;
2097    esac
2098  done
2099done
2100{ ac_configure_args0=; unset ac_configure_args0;}
2101{ ac_configure_args1=; unset ac_configure_args1;}
2102
2103# When interrupted or exit'd, cleanup temporary files, and complete
2104# config.log.  We remove comments because anyway the quotes in there
2105# would cause problems or look ugly.
2106# WARNING: Use '\'' to represent an apostrophe within the trap.
2107# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2108trap 'exit_status=$?
2109  # Save into config.log some information that might help in debugging.
2110  {
2111    echo
2112
2113    $as_echo "## ---------------- ##
2114## Cache variables. ##
2115## ---------------- ##"
2116    echo
2117    # The following way of writing the cache mishandles newlines in values,
2118(
2119  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2120    eval ac_val=\$$ac_var
2121    case $ac_val in #(
2122    *${as_nl}*)
2123      case $ac_var in #(
2124      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2125$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2126      esac
2127      case $ac_var in #(
2128      _ | IFS | as_nl) ;; #(
2129      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2130      *) { eval $ac_var=; unset $ac_var;} ;;
2131      esac ;;
2132    esac
2133  done
2134  (set) 2>&1 |
2135    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2136    *${as_nl}ac_space=\ *)
2137      sed -n \
2138	"s/'\''/'\''\\\\'\'''\''/g;
2139	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2140      ;; #(
2141    *)
2142      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2143      ;;
2144    esac |
2145    sort
2146)
2147    echo
2148
2149    $as_echo "## ----------------- ##
2150## Output variables. ##
2151## ----------------- ##"
2152    echo
2153    for ac_var in $ac_subst_vars
2154    do
2155      eval ac_val=\$$ac_var
2156      case $ac_val in
2157      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2158      esac
2159      $as_echo "$ac_var='\''$ac_val'\''"
2160    done | sort
2161    echo
2162
2163    if test -n "$ac_subst_files"; then
2164      $as_echo "## ------------------- ##
2165## File substitutions. ##
2166## ------------------- ##"
2167      echo
2168      for ac_var in $ac_subst_files
2169      do
2170	eval ac_val=\$$ac_var
2171	case $ac_val in
2172	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2173	esac
2174	$as_echo "$ac_var='\''$ac_val'\''"
2175      done | sort
2176      echo
2177    fi
2178
2179    if test -s confdefs.h; then
2180      $as_echo "## ----------- ##
2181## confdefs.h. ##
2182## ----------- ##"
2183      echo
2184      cat confdefs.h
2185      echo
2186    fi
2187    test "$ac_signal" != 0 &&
2188      $as_echo "$as_me: caught signal $ac_signal"
2189    $as_echo "$as_me: exit $exit_status"
2190  } >&5
2191  rm -f core *.core core.conftest.* &&
2192    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2193    exit $exit_status
2194' 0
2195for ac_signal in 1 2 13 15; do
2196  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2197done
2198ac_signal=0
2199
2200# confdefs.h avoids OS command line length limits that DEFS can exceed.
2201rm -f -r conftest* confdefs.h
2202
2203$as_echo "/* confdefs.h */" > confdefs.h
2204
2205# Predefined preprocessor variables.
2206
2207cat >>confdefs.h <<_ACEOF
2208#define PACKAGE_NAME "$PACKAGE_NAME"
2209_ACEOF
2210
2211cat >>confdefs.h <<_ACEOF
2212#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2213_ACEOF
2214
2215cat >>confdefs.h <<_ACEOF
2216#define PACKAGE_VERSION "$PACKAGE_VERSION"
2217_ACEOF
2218
2219cat >>confdefs.h <<_ACEOF
2220#define PACKAGE_STRING "$PACKAGE_STRING"
2221_ACEOF
2222
2223cat >>confdefs.h <<_ACEOF
2224#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2225_ACEOF
2226
2227cat >>confdefs.h <<_ACEOF
2228#define PACKAGE_URL "$PACKAGE_URL"
2229_ACEOF
2230
2231
2232# Let the site file select an alternate cache file if it wants to.
2233# Prefer an explicitly selected file to automatically selected ones.
2234ac_site_file1=NONE
2235ac_site_file2=NONE
2236if test -n "$CONFIG_SITE"; then
2237  # We do not want a PATH search for config.site.
2238  case $CONFIG_SITE in #((
2239    -*)  ac_site_file1=./$CONFIG_SITE;;
2240    */*) ac_site_file1=$CONFIG_SITE;;
2241    *)   ac_site_file1=./$CONFIG_SITE;;
2242  esac
2243elif test "x$prefix" != xNONE; then
2244  ac_site_file1=$prefix/share/config.site
2245  ac_site_file2=$prefix/etc/config.site
2246else
2247  ac_site_file1=$ac_default_prefix/share/config.site
2248  ac_site_file2=$ac_default_prefix/etc/config.site
2249fi
2250for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2251do
2252  test "x$ac_site_file" = xNONE && continue
2253  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2254    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2255$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2256    sed 's/^/| /' "$ac_site_file" >&5
2257    . "$ac_site_file" \
2258      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2259$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2260as_fn_error $? "failed to load site script $ac_site_file
2261See \`config.log' for more details" "$LINENO" 5; }
2262  fi
2263done
2264
2265if test -r "$cache_file"; then
2266  # Some versions of bash will fail to source /dev/null (special files
2267  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2268  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2269    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2270$as_echo "$as_me: loading cache $cache_file" >&6;}
2271    case $cache_file in
2272      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2273      *)                      . "./$cache_file";;
2274    esac
2275  fi
2276else
2277  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2278$as_echo "$as_me: creating cache $cache_file" >&6;}
2279  >$cache_file
2280fi
2281
2282# Check that the precious variables saved in the cache have kept the same
2283# value.
2284ac_cache_corrupted=false
2285for ac_var in $ac_precious_vars; do
2286  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2287  eval ac_new_set=\$ac_env_${ac_var}_set
2288  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2289  eval ac_new_val=\$ac_env_${ac_var}_value
2290  case $ac_old_set,$ac_new_set in
2291    set,)
2292      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2293$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2294      ac_cache_corrupted=: ;;
2295    ,set)
2296      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2297$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2298      ac_cache_corrupted=: ;;
2299    ,);;
2300    *)
2301      if test "x$ac_old_val" != "x$ac_new_val"; then
2302	# differences in whitespace do not lead to failure.
2303	ac_old_val_w=`echo x $ac_old_val`
2304	ac_new_val_w=`echo x $ac_new_val`
2305	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2306	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2307$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2308	  ac_cache_corrupted=:
2309	else
2310	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2311$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2312	  eval $ac_var=\$ac_old_val
2313	fi
2314	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2315$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2316	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2317$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2318      fi;;
2319  esac
2320  # Pass precious variables to config.status.
2321  if test "$ac_new_set" = set; then
2322    case $ac_new_val in
2323    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2324    *) ac_arg=$ac_var=$ac_new_val ;;
2325    esac
2326    case " $ac_configure_args " in
2327      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2328      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2329    esac
2330  fi
2331done
2332if $ac_cache_corrupted; then
2333  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2334$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2335  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2336$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2337  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2338fi
2339## -------------------- ##
2340## Main body of script. ##
2341## -------------------- ##
2342
2343ac_ext=c
2344ac_cpp='$CPP $CPPFLAGS'
2345ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2346ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2347ac_compiler_gnu=$ac_cv_c_compiler_gnu
2348
2349
2350
2351
2352
2353ac_aux_dir=
2354for ac_dir in build "$srcdir"/build; do
2355  if test -f "$ac_dir/install-sh"; then
2356    ac_aux_dir=$ac_dir
2357    ac_install_sh="$ac_aux_dir/install-sh -c"
2358    break
2359  elif test -f "$ac_dir/install.sh"; then
2360    ac_aux_dir=$ac_dir
2361    ac_install_sh="$ac_aux_dir/install.sh -c"
2362    break
2363  elif test -f "$ac_dir/shtool"; then
2364    ac_aux_dir=$ac_dir
2365    ac_install_sh="$ac_aux_dir/shtool install -c"
2366    break
2367  fi
2368done
2369if test -z "$ac_aux_dir"; then
2370  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2371fi
2372
2373# These three variables are undocumented and unsupported,
2374# and are intended to be withdrawn in a future Autoconf release.
2375# They can cause serious problems if a builder's source tree is in a directory
2376# whose full name contains unusual characters.
2377ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2378ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2379ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2380
2381
2382
2383ac_config_headers="$ac_config_headers build/config.h atk/atkmmconfig.h"
2384
2385
2386am__api_version='1.16'
2387
2388# Find a good install program.  We prefer a C program (faster),
2389# so one script is as good as another.  But avoid the broken or
2390# incompatible versions:
2391# SysV /etc/install, /usr/sbin/install
2392# SunOS /usr/etc/install
2393# IRIX /sbin/install
2394# AIX /bin/install
2395# AmigaOS /C/install, which installs bootblocks on floppy discs
2396# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2397# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2398# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2399# OS/2's system install, which has a completely different semantic
2400# ./install, which can be erroneously created by make from ./install.sh.
2401# Reject install programs that cannot install multiple files.
2402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2403$as_echo_n "checking for a BSD-compatible install... " >&6; }
2404if test -z "$INSTALL"; then
2405if ${ac_cv_path_install+:} false; then :
2406  $as_echo_n "(cached) " >&6
2407else
2408  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2409for as_dir in $PATH
2410do
2411  IFS=$as_save_IFS
2412  test -z "$as_dir" && as_dir=.
2413    # Account for people who put trailing slashes in PATH elements.
2414case $as_dir/ in #((
2415  ./ | .// | /[cC]/* | \
2416  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2417  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2418  /usr/ucb/* ) ;;
2419  *)
2420    # OSF1 and SCO ODT 3.0 have their own names for install.
2421    # Don't use installbsd from OSF since it installs stuff as root
2422    # by default.
2423    for ac_prog in ginstall scoinst install; do
2424      for ac_exec_ext in '' $ac_executable_extensions; do
2425	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2426	  if test $ac_prog = install &&
2427	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2428	    # AIX install.  It has an incompatible calling convention.
2429	    :
2430	  elif test $ac_prog = install &&
2431	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2432	    # program-specific install script used by HP pwplus--don't use.
2433	    :
2434	  else
2435	    rm -rf conftest.one conftest.two conftest.dir
2436	    echo one > conftest.one
2437	    echo two > conftest.two
2438	    mkdir conftest.dir
2439	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2440	      test -s conftest.one && test -s conftest.two &&
2441	      test -s conftest.dir/conftest.one &&
2442	      test -s conftest.dir/conftest.two
2443	    then
2444	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2445	      break 3
2446	    fi
2447	  fi
2448	fi
2449      done
2450    done
2451    ;;
2452esac
2453
2454  done
2455IFS=$as_save_IFS
2456
2457rm -rf conftest.one conftest.two conftest.dir
2458
2459fi
2460  if test "${ac_cv_path_install+set}" = set; then
2461    INSTALL=$ac_cv_path_install
2462  else
2463    # As a last resort, use the slow shell script.  Don't cache a
2464    # value for INSTALL within a source directory, because that will
2465    # break other packages using the cache if that directory is
2466    # removed, or if the value is a relative name.
2467    INSTALL=$ac_install_sh
2468  fi
2469fi
2470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2471$as_echo "$INSTALL" >&6; }
2472
2473# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2474# It thinks the first close brace ends the variable substitution.
2475test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2476
2477test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2478
2479test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2480
2481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2482$as_echo_n "checking whether build environment is sane... " >&6; }
2483# Reject unsafe characters in $srcdir or the absolute working directory
2484# name.  Accept space and tab only in the latter.
2485am_lf='
2486'
2487case `pwd` in
2488  *[\\\"\#\$\&\'\`$am_lf]*)
2489    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2490esac
2491case $srcdir in
2492  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2493    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2494esac
2495
2496# Do 'set' in a subshell so we don't clobber the current shell's
2497# arguments.  Must try -L first in case configure is actually a
2498# symlink; some systems play weird games with the mod time of symlinks
2499# (eg FreeBSD returns the mod time of the symlink's containing
2500# directory).
2501if (
2502   am_has_slept=no
2503   for am_try in 1 2; do
2504     echo "timestamp, slept: $am_has_slept" > conftest.file
2505     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2506     if test "$*" = "X"; then
2507	# -L didn't work.
2508	set X `ls -t "$srcdir/configure" conftest.file`
2509     fi
2510     if test "$*" != "X $srcdir/configure conftest.file" \
2511	&& test "$*" != "X conftest.file $srcdir/configure"; then
2512
2513	# If neither matched, then we have a broken ls.  This can happen
2514	# if, for instance, CONFIG_SHELL is bash and it inherits a
2515	# broken ls alias from the environment.  This has actually
2516	# happened.  Such a system could not be considered "sane".
2517	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2518  alias in your environment" "$LINENO" 5
2519     fi
2520     if test "$2" = conftest.file || test $am_try -eq 2; then
2521       break
2522     fi
2523     # Just in case.
2524     sleep 1
2525     am_has_slept=yes
2526   done
2527   test "$2" = conftest.file
2528   )
2529then
2530   # Ok.
2531   :
2532else
2533   as_fn_error $? "newly created file is older than distributed files!
2534Check your system clock" "$LINENO" 5
2535fi
2536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2537$as_echo "yes" >&6; }
2538# If we didn't sleep, we still need to ensure time stamps of config.status and
2539# generated files are strictly newer.
2540am_sleep_pid=
2541if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2542  ( sleep 1 ) &
2543  am_sleep_pid=$!
2544fi
2545
2546rm -f conftest.file
2547
2548test "$program_prefix" != NONE &&
2549  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2550# Use a double $ so make ignores it.
2551test "$program_suffix" != NONE &&
2552  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2553# Double any \ or $.
2554# By default was `s,x,x', remove it if useless.
2555ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2556program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2557
2558# Expand $ac_aux_dir to an absolute path.
2559am_aux_dir=`cd "$ac_aux_dir" && pwd`
2560
2561if test x"${MISSING+set}" != xset; then
2562  case $am_aux_dir in
2563  *\ * | *\	*)
2564    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2565  *)
2566    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2567  esac
2568fi
2569# Use eval to expand $SHELL
2570if eval "$MISSING --is-lightweight"; then
2571  am_missing_run="$MISSING "
2572else
2573  am_missing_run=
2574  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2575$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2576fi
2577
2578if test x"${install_sh+set}" != xset; then
2579  case $am_aux_dir in
2580  *\ * | *\	*)
2581    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2582  *)
2583    install_sh="\${SHELL} $am_aux_dir/install-sh"
2584  esac
2585fi
2586
2587# Installed binaries are usually stripped using 'strip' when the user
2588# run "make install-strip".  However 'strip' might not be the right
2589# tool to use in cross-compilation environments, therefore Automake
2590# will honor the 'STRIP' environment variable to overrule this program.
2591if test "$cross_compiling" != no; then
2592  if test -n "$ac_tool_prefix"; then
2593  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2594set dummy ${ac_tool_prefix}strip; ac_word=$2
2595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2596$as_echo_n "checking for $ac_word... " >&6; }
2597if ${ac_cv_prog_STRIP+:} false; then :
2598  $as_echo_n "(cached) " >&6
2599else
2600  if test -n "$STRIP"; then
2601  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2602else
2603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2604for as_dir in $PATH
2605do
2606  IFS=$as_save_IFS
2607  test -z "$as_dir" && as_dir=.
2608    for ac_exec_ext in '' $ac_executable_extensions; do
2609  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2610    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2611    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2612    break 2
2613  fi
2614done
2615  done
2616IFS=$as_save_IFS
2617
2618fi
2619fi
2620STRIP=$ac_cv_prog_STRIP
2621if test -n "$STRIP"; then
2622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2623$as_echo "$STRIP" >&6; }
2624else
2625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2626$as_echo "no" >&6; }
2627fi
2628
2629
2630fi
2631if test -z "$ac_cv_prog_STRIP"; then
2632  ac_ct_STRIP=$STRIP
2633  # Extract the first word of "strip", so it can be a program name with args.
2634set dummy strip; ac_word=$2
2635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2636$as_echo_n "checking for $ac_word... " >&6; }
2637if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2638  $as_echo_n "(cached) " >&6
2639else
2640  if test -n "$ac_ct_STRIP"; then
2641  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2642else
2643as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2644for as_dir in $PATH
2645do
2646  IFS=$as_save_IFS
2647  test -z "$as_dir" && as_dir=.
2648    for ac_exec_ext in '' $ac_executable_extensions; do
2649  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2650    ac_cv_prog_ac_ct_STRIP="strip"
2651    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2652    break 2
2653  fi
2654done
2655  done
2656IFS=$as_save_IFS
2657
2658fi
2659fi
2660ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2661if test -n "$ac_ct_STRIP"; then
2662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2663$as_echo "$ac_ct_STRIP" >&6; }
2664else
2665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2666$as_echo "no" >&6; }
2667fi
2668
2669  if test "x$ac_ct_STRIP" = x; then
2670    STRIP=":"
2671  else
2672    case $cross_compiling:$ac_tool_warned in
2673yes:)
2674{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2675$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2676ac_tool_warned=yes ;;
2677esac
2678    STRIP=$ac_ct_STRIP
2679  fi
2680else
2681  STRIP="$ac_cv_prog_STRIP"
2682fi
2683
2684fi
2685INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2686
2687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2688$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2689if test -z "$MKDIR_P"; then
2690  if ${ac_cv_path_mkdir+:} false; then :
2691  $as_echo_n "(cached) " >&6
2692else
2693  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2695do
2696  IFS=$as_save_IFS
2697  test -z "$as_dir" && as_dir=.
2698    for ac_prog in mkdir gmkdir; do
2699	 for ac_exec_ext in '' $ac_executable_extensions; do
2700	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2701	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2702	     'mkdir (GNU coreutils) '* | \
2703	     'mkdir (coreutils) '* | \
2704	     'mkdir (fileutils) '4.1*)
2705	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2706	       break 3;;
2707	   esac
2708	 done
2709       done
2710  done
2711IFS=$as_save_IFS
2712
2713fi
2714
2715  test -d ./--version && rmdir ./--version
2716  if test "${ac_cv_path_mkdir+set}" = set; then
2717    MKDIR_P="$ac_cv_path_mkdir -p"
2718  else
2719    # As a last resort, use the slow shell script.  Don't cache a
2720    # value for MKDIR_P within a source directory, because that will
2721    # break other packages using the cache if that directory is
2722    # removed, or if the value is a relative name.
2723    MKDIR_P="$ac_install_sh -d"
2724  fi
2725fi
2726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2727$as_echo "$MKDIR_P" >&6; }
2728
2729for ac_prog in gawk mawk nawk awk
2730do
2731  # Extract the first word of "$ac_prog", so it can be a program name with args.
2732set dummy $ac_prog; ac_word=$2
2733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2734$as_echo_n "checking for $ac_word... " >&6; }
2735if ${ac_cv_prog_AWK+:} false; then :
2736  $as_echo_n "(cached) " >&6
2737else
2738  if test -n "$AWK"; then
2739  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2740else
2741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742for as_dir in $PATH
2743do
2744  IFS=$as_save_IFS
2745  test -z "$as_dir" && as_dir=.
2746    for ac_exec_ext in '' $ac_executable_extensions; do
2747  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2748    ac_cv_prog_AWK="$ac_prog"
2749    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2750    break 2
2751  fi
2752done
2753  done
2754IFS=$as_save_IFS
2755
2756fi
2757fi
2758AWK=$ac_cv_prog_AWK
2759if test -n "$AWK"; then
2760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2761$as_echo "$AWK" >&6; }
2762else
2763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764$as_echo "no" >&6; }
2765fi
2766
2767
2768  test -n "$AWK" && break
2769done
2770
2771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2772$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2773set x ${MAKE-make}
2774ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2775if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2776  $as_echo_n "(cached) " >&6
2777else
2778  cat >conftest.make <<\_ACEOF
2779SHELL = /bin/sh
2780all:
2781	@echo '@@@%%%=$(MAKE)=@@@%%%'
2782_ACEOF
2783# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2784case `${MAKE-make} -f conftest.make 2>/dev/null` in
2785  *@@@%%%=?*=@@@%%%*)
2786    eval ac_cv_prog_make_${ac_make}_set=yes;;
2787  *)
2788    eval ac_cv_prog_make_${ac_make}_set=no;;
2789esac
2790rm -f conftest.make
2791fi
2792if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2794$as_echo "yes" >&6; }
2795  SET_MAKE=
2796else
2797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798$as_echo "no" >&6; }
2799  SET_MAKE="MAKE=${MAKE-make}"
2800fi
2801
2802rm -rf .tst 2>/dev/null
2803mkdir .tst 2>/dev/null
2804if test -d .tst; then
2805  am__leading_dot=.
2806else
2807  am__leading_dot=_
2808fi
2809rmdir .tst 2>/dev/null
2810
2811# Check whether --enable-silent-rules was given.
2812if test "${enable_silent_rules+set}" = set; then :
2813  enableval=$enable_silent_rules;
2814fi
2815
2816case $enable_silent_rules in # (((
2817  yes) AM_DEFAULT_VERBOSITY=0;;
2818   no) AM_DEFAULT_VERBOSITY=1;;
2819    *) AM_DEFAULT_VERBOSITY=1;;
2820esac
2821am_make=${MAKE-make}
2822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2823$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2824if ${am_cv_make_support_nested_variables+:} false; then :
2825  $as_echo_n "(cached) " >&6
2826else
2827  if $as_echo 'TRUE=$(BAR$(V))
2828BAR0=false
2829BAR1=true
2830V=1
2831am__doit:
2832	@$(TRUE)
2833.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2834  am_cv_make_support_nested_variables=yes
2835else
2836  am_cv_make_support_nested_variables=no
2837fi
2838fi
2839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2840$as_echo "$am_cv_make_support_nested_variables" >&6; }
2841if test $am_cv_make_support_nested_variables = yes; then
2842    AM_V='$(V)'
2843  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2844else
2845  AM_V=$AM_DEFAULT_VERBOSITY
2846  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2847fi
2848AM_BACKSLASH='\'
2849
2850if test "`cd $srcdir && pwd`" != "`pwd`"; then
2851  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2852  # is not polluted with repeated "-I."
2853  am__isrc=' -I$(srcdir)'
2854  # test to see if srcdir already configured
2855  if test -f $srcdir/config.status; then
2856    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2857  fi
2858fi
2859
2860# test whether we have cygpath
2861if test -z "$CYGPATH_W"; then
2862  if (cygpath --version) >/dev/null 2>/dev/null; then
2863    CYGPATH_W='cygpath -w'
2864  else
2865    CYGPATH_W=echo
2866  fi
2867fi
2868
2869
2870# Define the identity of the package.
2871 PACKAGE='atkmm'
2872 VERSION='2.28.0'
2873
2874
2875# Some tools Automake needs.
2876
2877ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2878
2879
2880AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2881
2882
2883AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2884
2885
2886AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2887
2888
2889MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2890
2891# For better backward compatibility.  To be removed once Automake 1.9.x
2892# dies out for good.  For more background, see:
2893# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2894# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2895mkdir_p='$(MKDIR_P)'
2896
2897# We need awk for the "check" target (and possibly the TAP driver).  The
2898# system "awk" is bad on some platforms.
2899# Always define AMTAR for backward compatibility.  Yes, it's still used
2900# in the wild :-(  We should find a proper way to deprecate it ...
2901AMTAR='$${TAR-tar}'
2902
2903
2904# We'll loop over all known methods to create a tar archive until one works.
2905_am_tools='gnutar  pax cpio none'
2906
2907
2908
2909  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2910$as_echo_n "checking how to create a pax tar archive... " >&6; }
2911
2912  # Go ahead even if we have the value already cached.  We do so because we
2913  # need to set the values for the 'am__tar' and 'am__untar' variables.
2914  _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2915
2916  for _am_tool in $_am_tools; do
2917    case $_am_tool in
2918    gnutar)
2919      for _am_tar in tar gnutar gtar; do
2920        { echo "$as_me:$LINENO: $_am_tar --version" >&5
2921   ($_am_tar --version) >&5 2>&5
2922   ac_status=$?
2923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924   (exit $ac_status); } && break
2925      done
2926      am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2927      am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2928      am__untar="$_am_tar -xf -"
2929      ;;
2930    plaintar)
2931      # Must skip GNU tar: if it does not support --format= it doesn't create
2932      # ustar tarball either.
2933      (tar --version) >/dev/null 2>&1 && continue
2934      am__tar='tar chf - "$$tardir"'
2935      am__tar_='tar chf - "$tardir"'
2936      am__untar='tar xf -'
2937      ;;
2938    pax)
2939      am__tar='pax -L -x pax -w "$$tardir"'
2940      am__tar_='pax -L -x pax -w "$tardir"'
2941      am__untar='pax -r'
2942      ;;
2943    cpio)
2944      am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2945      am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2946      am__untar='cpio -i -H pax -d'
2947      ;;
2948    none)
2949      am__tar=false
2950      am__tar_=false
2951      am__untar=false
2952      ;;
2953    esac
2954
2955    # If the value was cached, stop now.  We just wanted to have am__tar
2956    # and am__untar set.
2957    test -n "${am_cv_prog_tar_pax}" && break
2958
2959    # tar/untar a dummy directory, and stop if the command works.
2960    rm -rf conftest.dir
2961    mkdir conftest.dir
2962    echo GrepMe > conftest.dir/file
2963    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2964   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2965   ac_status=$?
2966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967   (exit $ac_status); }
2968    rm -rf conftest.dir
2969    if test -s conftest.tar; then
2970      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2971   ($am__untar <conftest.tar) >&5 2>&5
2972   ac_status=$?
2973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974   (exit $ac_status); }
2975      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2976   (cat conftest.dir/file) >&5 2>&5
2977   ac_status=$?
2978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979   (exit $ac_status); }
2980      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2981    fi
2982  done
2983  rm -rf conftest.dir
2984
2985  if ${am_cv_prog_tar_pax+:} false; then :
2986  $as_echo_n "(cached) " >&6
2987else
2988  am_cv_prog_tar_pax=$_am_tool
2989fi
2990
2991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2992$as_echo "$am_cv_prog_tar_pax" >&6; }
2993
2994
2995
2996
2997
2998
2999# POSIX will say in a future version that running "rm -f" with no argument
3000# is OK; and we want to be able to make that assumption in our Makefile
3001# recipes.  So use an aggressive probe to check that the usage we want is
3002# actually supported "in the wild" to an acceptable degree.
3003# See automake bug#10828.
3004# To make any issue more visible, cause the running configure to be aborted
3005# by default if the 'rm' program in use doesn't match our expectations; the
3006# user can still override this though.
3007if rm -f && rm -fr && rm -rf; then : OK; else
3008  cat >&2 <<'END'
3009Oops!
3010
3011Your 'rm' program seems unable to run without file operands specified
3012on the command line, even when the '-f' option is present.  This is contrary
3013to the behaviour of most rm programs out there, and not conforming with
3014the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3015
3016Please tell bug-automake@gnu.org about your system, including the value
3017of your $PATH and any error possibly output before this message.  This
3018can help us improve future automake versions.
3019
3020END
3021  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3022    echo 'Configuration will proceed anyway, since you have set the' >&2
3023    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3024    echo >&2
3025  else
3026    cat >&2 <<'END'
3027Aborting the configuration process, to ensure you take notice of the issue.
3028
3029You can download and install GNU coreutils to get an 'rm' implementation
3030that behaves properly: <https://www.gnu.org/software/coreutils/>.
3031
3032If you want to complete the configuration process using your problematic
3033'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3034to "yes", and re-run configure.
3035
3036END
3037    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3038  fi
3039fi
3040
3041# Support silent build rules.
3042# Disable by either passing --disable-silent-rules to configure or passing V=1 to make.
3043# Check whether --enable-silent-rules was given.
3044if test "${enable_silent_rules+set}" = set; then :
3045  enableval=$enable_silent_rules;
3046fi
3047
3048case $enable_silent_rules in # (((
3049  yes) AM_DEFAULT_VERBOSITY=0;;
3050   no) AM_DEFAULT_VERBOSITY=1;;
3051    *) AM_DEFAULT_VERBOSITY=0;;
3052esac
3053am_make=${MAKE-make}
3054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3055$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3056if ${am_cv_make_support_nested_variables+:} false; then :
3057  $as_echo_n "(cached) " >&6
3058else
3059  if $as_echo 'TRUE=$(BAR$(V))
3060BAR0=false
3061BAR1=true
3062V=1
3063am__doit:
3064	@$(TRUE)
3065.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3066  am_cv_make_support_nested_variables=yes
3067else
3068  am_cv_make_support_nested_variables=no
3069fi
3070fi
3071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3072$as_echo "$am_cv_make_support_nested_variables" >&6; }
3073if test $am_cv_make_support_nested_variables = yes; then
3074    AM_V='$(V)'
3075  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3076else
3077  AM_V=$AM_DEFAULT_VERBOSITY
3078  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3079fi
3080AM_BACKSLASH='\'
3081
3082
3083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3084$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3085    # Check whether --enable-maintainer-mode was given.
3086if test "${enable_maintainer_mode+set}" = set; then :
3087  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3088else
3089  USE_MAINTAINER_MODE=no
3090fi
3091
3092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3093$as_echo "$USE_MAINTAINER_MODE" >&6; }
3094   if test $USE_MAINTAINER_MODE = yes; then
3095  MAINTAINER_MODE_TRUE=
3096  MAINTAINER_MODE_FALSE='#'
3097else
3098  MAINTAINER_MODE_TRUE='#'
3099  MAINTAINER_MODE_FALSE=
3100fi
3101
3102  MAINT=$MAINTAINER_MODE_TRUE
3103
3104
3105
3106
3107
3108
3109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports GNU make features" >&5
3110$as_echo_n "checking whether ${MAKE-make} supports GNU make features... " >&6; }
3111cat >conftest.make <<'_MMEOF'
3112override reverse = $(2)$(subst ,, )$(1)
3113override result := $(word 2,$(call reverse,success,failure))
3114all: ; test '$(result)' = success
3115.PHONY: all
3116_MMEOF
3117if ${MAKE-make} -f conftest.make >&5 2>&5; then :
3118  mm_gnu_make=yes
3119else
3120  mm_gnu_make=no
3121fi
3122rm -f conftest.make
3123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_gnu_make" >&5
3124$as_echo "$mm_gnu_make" >&6; }
3125if test "x$mm_gnu_make" != xyes; then :
3126  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3127$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3128as_fn_error $? "The GNU make program is required to build $PACKAGE_NAME.
3129See \`config.log' for more details" "$LINENO" 5; }
3130fi
3131
3132ATKMM_MODULE_NAME='atkmm-1.6'
3133
3134ATKMM_VERSION='2.28.0'
3135
3136ATKMM_API_VERSION='1.6'
3137
3138ATKMM_MAJOR_VERSION=2
3139
3140
3141$as_echo "#define ATKMM_MAJOR_VERSION 2" >>confdefs.h
3142
3143ATKMM_MINOR_VERSION=28
3144
3145
3146$as_echo "#define ATKMM_MINOR_VERSION 28" >>confdefs.h
3147
3148ATKMM_MICRO_VERSION=0
3149
3150
3151$as_echo "#define ATKMM_MICRO_VERSION 0" >>confdefs.h
3152
3153
3154
3155# Copy the mm-common .pl scripts into doc/, and use them from there,
3156# so we can dist them to avoid a tarball-build dependency.
3157MMDOCTOOLDIR='${top_srcdir}/doc'
3158 if test 'xdoc' != 'x'; then
3159  DIST_DOCTOOLS_TRUE=
3160  DIST_DOCTOOLS_FALSE='#'
3161else
3162  DIST_DOCTOOLS_TRUE='#'
3163  DIST_DOCTOOLS_FALSE=
3164fi
3165
3166
3167# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
3168ATKMM_SO_VERSION=2:0:1
3169
3170
3171ac_ext=cpp
3172ac_cpp='$CXXCPP $CPPFLAGS'
3173ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3174ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3175ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3176if test -z "$CXX"; then
3177  if test -n "$CCC"; then
3178    CXX=$CCC
3179  else
3180    if test -n "$ac_tool_prefix"; then
3181  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3182  do
3183    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3184set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3186$as_echo_n "checking for $ac_word... " >&6; }
3187if ${ac_cv_prog_CXX+:} false; then :
3188  $as_echo_n "(cached) " >&6
3189else
3190  if test -n "$CXX"; then
3191  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3192else
3193as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3194for as_dir in $PATH
3195do
3196  IFS=$as_save_IFS
3197  test -z "$as_dir" && as_dir=.
3198    for ac_exec_ext in '' $ac_executable_extensions; do
3199  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3200    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3201    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3202    break 2
3203  fi
3204done
3205  done
3206IFS=$as_save_IFS
3207
3208fi
3209fi
3210CXX=$ac_cv_prog_CXX
3211if test -n "$CXX"; then
3212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3213$as_echo "$CXX" >&6; }
3214else
3215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216$as_echo "no" >&6; }
3217fi
3218
3219
3220    test -n "$CXX" && break
3221  done
3222fi
3223if test -z "$CXX"; then
3224  ac_ct_CXX=$CXX
3225  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3226do
3227  # Extract the first word of "$ac_prog", so it can be a program name with args.
3228set dummy $ac_prog; ac_word=$2
3229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230$as_echo_n "checking for $ac_word... " >&6; }
3231if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3232  $as_echo_n "(cached) " >&6
3233else
3234  if test -n "$ac_ct_CXX"; then
3235  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3236else
3237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238for as_dir in $PATH
3239do
3240  IFS=$as_save_IFS
3241  test -z "$as_dir" && as_dir=.
3242    for ac_exec_ext in '' $ac_executable_extensions; do
3243  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3244    ac_cv_prog_ac_ct_CXX="$ac_prog"
3245    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3246    break 2
3247  fi
3248done
3249  done
3250IFS=$as_save_IFS
3251
3252fi
3253fi
3254ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3255if test -n "$ac_ct_CXX"; then
3256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3257$as_echo "$ac_ct_CXX" >&6; }
3258else
3259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260$as_echo "no" >&6; }
3261fi
3262
3263
3264  test -n "$ac_ct_CXX" && break
3265done
3266
3267  if test "x$ac_ct_CXX" = x; then
3268    CXX="g++"
3269  else
3270    case $cross_compiling:$ac_tool_warned in
3271yes:)
3272{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3273$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3274ac_tool_warned=yes ;;
3275esac
3276    CXX=$ac_ct_CXX
3277  fi
3278fi
3279
3280  fi
3281fi
3282# Provide some information about the compiler.
3283$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3284set X $ac_compile
3285ac_compiler=$2
3286for ac_option in --version -v -V -qversion; do
3287  { { ac_try="$ac_compiler $ac_option >&5"
3288case "(($ac_try" in
3289  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290  *) ac_try_echo=$ac_try;;
3291esac
3292eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3293$as_echo "$ac_try_echo"; } >&5
3294  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3295  ac_status=$?
3296  if test -s conftest.err; then
3297    sed '10a\
3298... rest of stderr output deleted ...
3299         10q' conftest.err >conftest.er1
3300    cat conftest.er1 >&5
3301  fi
3302  rm -f conftest.er1 conftest.err
3303  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304  test $ac_status = 0; }
3305done
3306
3307cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308/* end confdefs.h.  */
3309
3310int
3311main ()
3312{
3313
3314  ;
3315  return 0;
3316}
3317_ACEOF
3318ac_clean_files_save=$ac_clean_files
3319ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3320# Try to create an executable without -o first, disregard a.out.
3321# It will help us diagnose broken compilers, and finding out an intuition
3322# of exeext.
3323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3324$as_echo_n "checking whether the C++ compiler works... " >&6; }
3325ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3326
3327# The possible output files:
3328ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3329
3330ac_rmfiles=
3331for ac_file in $ac_files
3332do
3333  case $ac_file in
3334    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3335    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3336  esac
3337done
3338rm -f $ac_rmfiles
3339
3340if { { ac_try="$ac_link_default"
3341case "(($ac_try" in
3342  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343  *) ac_try_echo=$ac_try;;
3344esac
3345eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3346$as_echo "$ac_try_echo"; } >&5
3347  (eval "$ac_link_default") 2>&5
3348  ac_status=$?
3349  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3350  test $ac_status = 0; }; then :
3351  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3352# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3353# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3354# so that the user can short-circuit this test for compilers unknown to
3355# Autoconf.
3356for ac_file in $ac_files ''
3357do
3358  test -f "$ac_file" || continue
3359  case $ac_file in
3360    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3361	;;
3362    [ab].out )
3363	# We found the default executable, but exeext='' is most
3364	# certainly right.
3365	break;;
3366    *.* )
3367	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3368	then :; else
3369	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3370	fi
3371	# We set ac_cv_exeext here because the later test for it is not
3372	# safe: cross compilers may not add the suffix if given an `-o'
3373	# argument, so we may need to know it at that point already.
3374	# Even if this section looks crufty: it has the advantage of
3375	# actually working.
3376	break;;
3377    * )
3378	break;;
3379  esac
3380done
3381test "$ac_cv_exeext" = no && ac_cv_exeext=
3382
3383else
3384  ac_file=''
3385fi
3386if test -z "$ac_file"; then :
3387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3388$as_echo "no" >&6; }
3389$as_echo "$as_me: failed program was:" >&5
3390sed 's/^/| /' conftest.$ac_ext >&5
3391
3392{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394as_fn_error 77 "C++ compiler cannot create executables
3395See \`config.log' for more details" "$LINENO" 5; }
3396else
3397  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3398$as_echo "yes" >&6; }
3399fi
3400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3401$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3403$as_echo "$ac_file" >&6; }
3404ac_exeext=$ac_cv_exeext
3405
3406rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3407ac_clean_files=$ac_clean_files_save
3408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3409$as_echo_n "checking for suffix of executables... " >&6; }
3410if { { ac_try="$ac_link"
3411case "(($ac_try" in
3412  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413  *) ac_try_echo=$ac_try;;
3414esac
3415eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3416$as_echo "$ac_try_echo"; } >&5
3417  (eval "$ac_link") 2>&5
3418  ac_status=$?
3419  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3420  test $ac_status = 0; }; then :
3421  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3422# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3423# work properly (i.e., refer to `conftest.exe'), while it won't with
3424# `rm'.
3425for ac_file in conftest.exe conftest conftest.*; do
3426  test -f "$ac_file" || continue
3427  case $ac_file in
3428    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3429    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3430	  break;;
3431    * ) break;;
3432  esac
3433done
3434else
3435  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3436$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3437as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3438See \`config.log' for more details" "$LINENO" 5; }
3439fi
3440rm -f conftest conftest$ac_cv_exeext
3441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3442$as_echo "$ac_cv_exeext" >&6; }
3443
3444rm -f conftest.$ac_ext
3445EXEEXT=$ac_cv_exeext
3446ac_exeext=$EXEEXT
3447cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448/* end confdefs.h.  */
3449#include <stdio.h>
3450int
3451main ()
3452{
3453FILE *f = fopen ("conftest.out", "w");
3454 return ferror (f) || fclose (f) != 0;
3455
3456  ;
3457  return 0;
3458}
3459_ACEOF
3460ac_clean_files="$ac_clean_files conftest.out"
3461# Check that the compiler produces executables we can run.  If not, either
3462# the compiler is broken, or we cross compile.
3463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3464$as_echo_n "checking whether we are cross compiling... " >&6; }
3465if test "$cross_compiling" != yes; then
3466  { { ac_try="$ac_link"
3467case "(($ac_try" in
3468  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3469  *) ac_try_echo=$ac_try;;
3470esac
3471eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3472$as_echo "$ac_try_echo"; } >&5
3473  (eval "$ac_link") 2>&5
3474  ac_status=$?
3475  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3476  test $ac_status = 0; }
3477  if { ac_try='./conftest$ac_cv_exeext'
3478  { { case "(($ac_try" in
3479  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480  *) ac_try_echo=$ac_try;;
3481esac
3482eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483$as_echo "$ac_try_echo"; } >&5
3484  (eval "$ac_try") 2>&5
3485  ac_status=$?
3486  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3487  test $ac_status = 0; }; }; then
3488    cross_compiling=no
3489  else
3490    if test "$cross_compiling" = maybe; then
3491	cross_compiling=yes
3492    else
3493	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3494$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3495as_fn_error $? "cannot run C++ compiled programs.
3496If you meant to cross compile, use \`--host'.
3497See \`config.log' for more details" "$LINENO" 5; }
3498    fi
3499  fi
3500fi
3501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3502$as_echo "$cross_compiling" >&6; }
3503
3504rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3505ac_clean_files=$ac_clean_files_save
3506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3507$as_echo_n "checking for suffix of object files... " >&6; }
3508if ${ac_cv_objext+:} false; then :
3509  $as_echo_n "(cached) " >&6
3510else
3511  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512/* end confdefs.h.  */
3513
3514int
3515main ()
3516{
3517
3518  ;
3519  return 0;
3520}
3521_ACEOF
3522rm -f conftest.o conftest.obj
3523if { { ac_try="$ac_compile"
3524case "(($ac_try" in
3525  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3526  *) ac_try_echo=$ac_try;;
3527esac
3528eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3529$as_echo "$ac_try_echo"; } >&5
3530  (eval "$ac_compile") 2>&5
3531  ac_status=$?
3532  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3533  test $ac_status = 0; }; then :
3534  for ac_file in conftest.o conftest.obj conftest.*; do
3535  test -f "$ac_file" || continue;
3536  case $ac_file in
3537    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3538    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3539       break;;
3540  esac
3541done
3542else
3543  $as_echo "$as_me: failed program was:" >&5
3544sed 's/^/| /' conftest.$ac_ext >&5
3545
3546{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3547$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3548as_fn_error $? "cannot compute suffix of object files: cannot compile
3549See \`config.log' for more details" "$LINENO" 5; }
3550fi
3551rm -f conftest.$ac_cv_objext conftest.$ac_ext
3552fi
3553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3554$as_echo "$ac_cv_objext" >&6; }
3555OBJEXT=$ac_cv_objext
3556ac_objext=$OBJEXT
3557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3558$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3559if ${ac_cv_cxx_compiler_gnu+:} false; then :
3560  $as_echo_n "(cached) " >&6
3561else
3562  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563/* end confdefs.h.  */
3564
3565int
3566main ()
3567{
3568#ifndef __GNUC__
3569       choke me
3570#endif
3571
3572  ;
3573  return 0;
3574}
3575_ACEOF
3576if ac_fn_cxx_try_compile "$LINENO"; then :
3577  ac_compiler_gnu=yes
3578else
3579  ac_compiler_gnu=no
3580fi
3581rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3582ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3583
3584fi
3585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3586$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3587if test $ac_compiler_gnu = yes; then
3588  GXX=yes
3589else
3590  GXX=
3591fi
3592ac_test_CXXFLAGS=${CXXFLAGS+set}
3593ac_save_CXXFLAGS=$CXXFLAGS
3594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3595$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3596if ${ac_cv_prog_cxx_g+:} false; then :
3597  $as_echo_n "(cached) " >&6
3598else
3599  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3600   ac_cxx_werror_flag=yes
3601   ac_cv_prog_cxx_g=no
3602   CXXFLAGS="-g"
3603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3604/* end confdefs.h.  */
3605
3606int
3607main ()
3608{
3609
3610  ;
3611  return 0;
3612}
3613_ACEOF
3614if ac_fn_cxx_try_compile "$LINENO"; then :
3615  ac_cv_prog_cxx_g=yes
3616else
3617  CXXFLAGS=""
3618      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619/* end confdefs.h.  */
3620
3621int
3622main ()
3623{
3624
3625  ;
3626  return 0;
3627}
3628_ACEOF
3629if ac_fn_cxx_try_compile "$LINENO"; then :
3630
3631else
3632  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3633	 CXXFLAGS="-g"
3634	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635/* end confdefs.h.  */
3636
3637int
3638main ()
3639{
3640
3641  ;
3642  return 0;
3643}
3644_ACEOF
3645if ac_fn_cxx_try_compile "$LINENO"; then :
3646  ac_cv_prog_cxx_g=yes
3647fi
3648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3649fi
3650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3651fi
3652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3653   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3654fi
3655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3656$as_echo "$ac_cv_prog_cxx_g" >&6; }
3657if test "$ac_test_CXXFLAGS" = set; then
3658  CXXFLAGS=$ac_save_CXXFLAGS
3659elif test $ac_cv_prog_cxx_g = yes; then
3660  if test "$GXX" = yes; then
3661    CXXFLAGS="-g -O2"
3662  else
3663    CXXFLAGS="-g"
3664  fi
3665else
3666  if test "$GXX" = yes; then
3667    CXXFLAGS="-O2"
3668  else
3669    CXXFLAGS=
3670  fi
3671fi
3672ac_ext=c
3673ac_cpp='$CPP $CPPFLAGS'
3674ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3675ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3676ac_compiler_gnu=$ac_cv_c_compiler_gnu
3677DEPDIR="${am__leading_dot}deps"
3678
3679ac_config_commands="$ac_config_commands depfiles"
3680
3681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3682$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3683cat > confinc.mk << 'END'
3684am__doit:
3685	@echo this is the am__doit target >confinc.out
3686.PHONY: am__doit
3687END
3688am__include="#"
3689am__quote=
3690# BSD make does it like this.
3691echo '.include "confinc.mk" # ignored' > confmf.BSD
3692# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3693echo 'include confinc.mk # ignored' > confmf.GNU
3694_am_result=no
3695for s in GNU BSD; do
3696  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3697   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3698   ac_status=$?
3699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700   (exit $ac_status); }
3701  case $?:`cat confinc.out 2>/dev/null` in #(
3702  '0:this is the am__doit target') :
3703    case $s in #(
3704  BSD) :
3705    am__include='.include' am__quote='"' ;; #(
3706  *) :
3707    am__include='include' am__quote='' ;;
3708esac ;; #(
3709  *) :
3710     ;;
3711esac
3712  if test "$am__include" != "#"; then
3713    _am_result="yes ($s style)"
3714    break
3715  fi
3716done
3717rm -f confinc.* confmf.*
3718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3719$as_echo "${_am_result}" >&6; }
3720
3721# Check whether --enable-dependency-tracking was given.
3722if test "${enable_dependency_tracking+set}" = set; then :
3723  enableval=$enable_dependency_tracking;
3724fi
3725
3726if test "x$enable_dependency_tracking" != xno; then
3727  am_depcomp="$ac_aux_dir/depcomp"
3728  AMDEPBACKSLASH='\'
3729  am__nodep='_no'
3730fi
3731 if test "x$enable_dependency_tracking" != xno; then
3732  AMDEP_TRUE=
3733  AMDEP_FALSE='#'
3734else
3735  AMDEP_TRUE='#'
3736  AMDEP_FALSE=
3737fi
3738
3739
3740
3741depcc="$CXX"  am_compiler_list=
3742
3743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3744$as_echo_n "checking dependency style of $depcc... " >&6; }
3745if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3746  $as_echo_n "(cached) " >&6
3747else
3748  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3749  # We make a subdir and do the tests there.  Otherwise we can end up
3750  # making bogus files that we don't know about and never remove.  For
3751  # instance it was reported that on HP-UX the gcc test will end up
3752  # making a dummy file named 'D' -- because '-MD' means "put the output
3753  # in D".
3754  rm -rf conftest.dir
3755  mkdir conftest.dir
3756  # Copy depcomp to subdir because otherwise we won't find it if we're
3757  # using a relative directory.
3758  cp "$am_depcomp" conftest.dir
3759  cd conftest.dir
3760  # We will build objects and dependencies in a subdirectory because
3761  # it helps to detect inapplicable dependency modes.  For instance
3762  # both Tru64's cc and ICC support -MD to output dependencies as a
3763  # side effect of compilation, but ICC will put the dependencies in
3764  # the current directory while Tru64 will put them in the object
3765  # directory.
3766  mkdir sub
3767
3768  am_cv_CXX_dependencies_compiler_type=none
3769  if test "$am_compiler_list" = ""; then
3770     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3771  fi
3772  am__universal=false
3773  case " $depcc " in #(
3774     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3775     esac
3776
3777  for depmode in $am_compiler_list; do
3778    # Setup a source with many dependencies, because some compilers
3779    # like to wrap large dependency lists on column 80 (with \), and
3780    # we should not choose a depcomp mode which is confused by this.
3781    #
3782    # We need to recreate these files for each test, as the compiler may
3783    # overwrite some of them when testing with obscure command lines.
3784    # This happens at least with the AIX C compiler.
3785    : > sub/conftest.c
3786    for i in 1 2 3 4 5 6; do
3787      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3788      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3789      # Solaris 10 /bin/sh.
3790      echo '/* dummy */' > sub/conftst$i.h
3791    done
3792    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3793
3794    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3795    # mode.  It turns out that the SunPro C++ compiler does not properly
3796    # handle '-M -o', and we need to detect this.  Also, some Intel
3797    # versions had trouble with output in subdirs.
3798    am__obj=sub/conftest.${OBJEXT-o}
3799    am__minus_obj="-o $am__obj"
3800    case $depmode in
3801    gcc)
3802      # This depmode causes a compiler race in universal mode.
3803      test "$am__universal" = false || continue
3804      ;;
3805    nosideeffect)
3806      # After this tag, mechanisms are not by side-effect, so they'll
3807      # only be used when explicitly requested.
3808      if test "x$enable_dependency_tracking" = xyes; then
3809	continue
3810      else
3811	break
3812      fi
3813      ;;
3814    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3815      # This compiler won't grok '-c -o', but also, the minuso test has
3816      # not run yet.  These depmodes are late enough in the game, and
3817      # so weak that their functioning should not be impacted.
3818      am__obj=conftest.${OBJEXT-o}
3819      am__minus_obj=
3820      ;;
3821    none) break ;;
3822    esac
3823    if depmode=$depmode \
3824       source=sub/conftest.c object=$am__obj \
3825       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3826       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3827         >/dev/null 2>conftest.err &&
3828       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3829       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3830       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3831       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3832      # icc doesn't choke on unknown options, it will just issue warnings
3833      # or remarks (even with -Werror).  So we grep stderr for any message
3834      # that says an option was ignored or not supported.
3835      # When given -MP, icc 7.0 and 7.1 complain thusly:
3836      #   icc: Command line warning: ignoring option '-M'; no argument required
3837      # The diagnosis changed in icc 8.0:
3838      #   icc: Command line remark: option '-MP' not supported
3839      if (grep 'ignoring option' conftest.err ||
3840          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3841        am_cv_CXX_dependencies_compiler_type=$depmode
3842        break
3843      fi
3844    fi
3845  done
3846
3847  cd ..
3848  rm -rf conftest.dir
3849else
3850  am_cv_CXX_dependencies_compiler_type=none
3851fi
3852
3853fi
3854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3855$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3856CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3857
3858 if
3859  test "x$enable_dependency_tracking" != xno \
3860  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3861  am__fastdepCXX_TRUE=
3862  am__fastdepCXX_FALSE='#'
3863else
3864  am__fastdepCXX_TRUE='#'
3865  am__fastdepCXX_FALSE=
3866fi
3867
3868
3869
3870  ax_cxx_compile_alternatives="11 0x"    ax_cxx_compile_cxx11_required=true
3871  ac_ext=cpp
3872ac_cpp='$CXXCPP $CPPFLAGS'
3873ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3874ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3875ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3876  ac_success=no
3877  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
3878$as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
3879if ${ax_cv_cxx_compile_cxx11+:} false; then :
3880  $as_echo_n "(cached) " >&6
3881else
3882  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883/* end confdefs.h.  */
3884
3885
3886// If the compiler admits that it is not ready for C++11, why torture it?
3887// Hopefully, this will speed up the test.
3888
3889#ifndef __cplusplus
3890
3891#error "This is not a C++ compiler"
3892
3893#elif __cplusplus < 201103L
3894
3895#error "This is not a C++11 compiler"
3896
3897#else
3898
3899namespace cxx11
3900{
3901
3902  namespace test_static_assert
3903  {
3904
3905    template <typename T>
3906    struct check
3907    {
3908      static_assert(sizeof(int) <= sizeof(T), "not big enough");
3909    };
3910
3911  }
3912
3913  namespace test_final_override
3914  {
3915
3916    struct Base
3917    {
3918      virtual void f() {}
3919    };
3920
3921    struct Derived : public Base
3922    {
3923      virtual void f() override {}
3924    };
3925
3926  }
3927
3928  namespace test_double_right_angle_brackets
3929  {
3930
3931    template < typename T >
3932    struct check {};
3933
3934    typedef check<void> single_type;
3935    typedef check<check<void>> double_type;
3936    typedef check<check<check<void>>> triple_type;
3937    typedef check<check<check<check<void>>>> quadruple_type;
3938
3939  }
3940
3941  namespace test_decltype
3942  {
3943
3944    int
3945    f()
3946    {
3947      int a = 1;
3948      decltype(a) b = 2;
3949      return a + b;
3950    }
3951
3952  }
3953
3954  namespace test_type_deduction
3955  {
3956
3957    template < typename T1, typename T2 >
3958    struct is_same
3959    {
3960      static const bool value = false;
3961    };
3962
3963    template < typename T >
3964    struct is_same<T, T>
3965    {
3966      static const bool value = true;
3967    };
3968
3969    template < typename T1, typename T2 >
3970    auto
3971    add(T1 a1, T2 a2) -> decltype(a1 + a2)
3972    {
3973      return a1 + a2;
3974    }
3975
3976    int
3977    test(const int c, volatile int v)
3978    {
3979      static_assert(is_same<int, decltype(0)>::value == true, "");
3980      static_assert(is_same<int, decltype(c)>::value == false, "");
3981      static_assert(is_same<int, decltype(v)>::value == false, "");
3982      auto ac = c;
3983      auto av = v;
3984      auto sumi = ac + av + 'x';
3985      auto sumf = ac + av + 1.0;
3986      static_assert(is_same<int, decltype(ac)>::value == true, "");
3987      static_assert(is_same<int, decltype(av)>::value == true, "");
3988      static_assert(is_same<int, decltype(sumi)>::value == true, "");
3989      static_assert(is_same<int, decltype(sumf)>::value == false, "");
3990      static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
3991      return (sumf > 0.0) ? sumi : add(c, v);
3992    }
3993
3994  }
3995
3996  namespace test_noexcept
3997  {
3998
3999    int f() { return 0; }
4000    int g() noexcept { return 0; }
4001
4002    static_assert(noexcept(f()) == false, "");
4003    static_assert(noexcept(g()) == true, "");
4004
4005  }
4006
4007  namespace test_constexpr
4008  {
4009
4010    template < typename CharT >
4011    unsigned long constexpr
4012    strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
4013    {
4014      return *s ? strlen_c_r(s + 1, acc + 1) : acc;
4015    }
4016
4017    template < typename CharT >
4018    unsigned long constexpr
4019    strlen_c(const CharT *const s) noexcept
4020    {
4021      return strlen_c_r(s, 0UL);
4022    }
4023
4024    static_assert(strlen_c("") == 0UL, "");
4025    static_assert(strlen_c("1") == 1UL, "");
4026    static_assert(strlen_c("example") == 7UL, "");
4027    static_assert(strlen_c("another\0example") == 7UL, "");
4028
4029  }
4030
4031  namespace test_rvalue_references
4032  {
4033
4034    template < int N >
4035    struct answer
4036    {
4037      static constexpr int value = N;
4038    };
4039
4040    answer<1> f(int&)       { return answer<1>(); }
4041    answer<2> f(const int&) { return answer<2>(); }
4042    answer<3> f(int&&)      { return answer<3>(); }
4043
4044    void
4045    test()
4046    {
4047      int i = 0;
4048      const int c = 0;
4049      static_assert(decltype(f(i))::value == 1, "");
4050      static_assert(decltype(f(c))::value == 2, "");
4051      static_assert(decltype(f(0))::value == 3, "");
4052    }
4053
4054  }
4055
4056  namespace test_uniform_initialization
4057  {
4058
4059    struct test
4060    {
4061      static const int zero {};
4062      static const int one {1};
4063    };
4064
4065    static_assert(test::zero == 0, "");
4066    static_assert(test::one == 1, "");
4067
4068  }
4069
4070  namespace test_lambdas
4071  {
4072
4073    void
4074    test1()
4075    {
4076      auto lambda1 = [](){};
4077      auto lambda2 = lambda1;
4078      lambda1();
4079      lambda2();
4080    }
4081
4082    int
4083    test2()
4084    {
4085      auto a = [](int i, int j){ return i + j; }(1, 2);
4086      auto b = []() -> int { return '0'; }();
4087      auto c = [=](){ return a + b; }();
4088      auto d = [&](){ return c; }();
4089      auto e = [a, &b](int x) mutable {
4090        const auto identity = [](int y){ return y; };
4091        for (auto i = 0; i < a; ++i)
4092          a += b--;
4093        return x + identity(a + b);
4094      }(0);
4095      return a + b + c + d + e;
4096    }
4097
4098    int
4099    test3()
4100    {
4101      const auto nullary = [](){ return 0; };
4102      const auto unary = [](int x){ return x; };
4103      using nullary_t = decltype(nullary);
4104      using unary_t = decltype(unary);
4105      const auto higher1st = [](nullary_t f){ return f(); };
4106      const auto higher2nd = [unary](nullary_t f1){
4107        return [unary, f1](unary_t f2){ return f2(unary(f1())); };
4108      };
4109      return higher1st(nullary) + higher2nd(nullary)(unary);
4110    }
4111
4112  }
4113
4114  namespace test_variadic_templates
4115  {
4116
4117    template <int...>
4118    struct sum;
4119
4120    template <int N0, int... N1toN>
4121    struct sum<N0, N1toN...>
4122    {
4123      static constexpr auto value = N0 + sum<N1toN...>::value;
4124    };
4125
4126    template <>
4127    struct sum<>
4128    {
4129      static constexpr auto value = 0;
4130    };
4131
4132    static_assert(sum<>::value == 0, "");
4133    static_assert(sum<1>::value == 1, "");
4134    static_assert(sum<23>::value == 23, "");
4135    static_assert(sum<1, 2>::value == 3, "");
4136    static_assert(sum<5, 5, 11>::value == 21, "");
4137    static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
4138
4139  }
4140
4141  // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
4142  // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
4143  // because of this.
4144  namespace test_template_alias_sfinae
4145  {
4146
4147    struct foo {};
4148
4149    template<typename T>
4150    using member = typename T::member_type;
4151
4152    template<typename T>
4153    void func(...) {}
4154
4155    template<typename T>
4156    void func(member<T>*) {}
4157
4158    void test();
4159
4160    void test() { func<foo>(0); }
4161
4162  }
4163
4164}  // namespace cxx11
4165
4166#endif  // __cplusplus >= 201103L
4167
4168
4169
4170_ACEOF
4171if ac_fn_cxx_try_compile "$LINENO"; then :
4172  ax_cv_cxx_compile_cxx11=yes
4173else
4174  ax_cv_cxx_compile_cxx11=no
4175fi
4176rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177fi
4178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
4179$as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
4180  if test x$ax_cv_cxx_compile_cxx11 = xyes; then
4181    ac_success=yes
4182  fi
4183
4184
4185
4186    if test x$ac_success = xno; then
4187                for alternative in ${ax_cxx_compile_alternatives}; do
4188      for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
4189        cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
4190        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
4191$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
4192if eval \${$cachevar+:} false; then :
4193  $as_echo_n "(cached) " >&6
4194else
4195  ac_save_CXX="$CXX"
4196           CXX="$CXX $switch"
4197           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198/* end confdefs.h.  */
4199
4200
4201// If the compiler admits that it is not ready for C++11, why torture it?
4202// Hopefully, this will speed up the test.
4203
4204#ifndef __cplusplus
4205
4206#error "This is not a C++ compiler"
4207
4208#elif __cplusplus < 201103L
4209
4210#error "This is not a C++11 compiler"
4211
4212#else
4213
4214namespace cxx11
4215{
4216
4217  namespace test_static_assert
4218  {
4219
4220    template <typename T>
4221    struct check
4222    {
4223      static_assert(sizeof(int) <= sizeof(T), "not big enough");
4224    };
4225
4226  }
4227
4228  namespace test_final_override
4229  {
4230
4231    struct Base
4232    {
4233      virtual void f() {}
4234    };
4235
4236    struct Derived : public Base
4237    {
4238      virtual void f() override {}
4239    };
4240
4241  }
4242
4243  namespace test_double_right_angle_brackets
4244  {
4245
4246    template < typename T >
4247    struct check {};
4248
4249    typedef check<void> single_type;
4250    typedef check<check<void>> double_type;
4251    typedef check<check<check<void>>> triple_type;
4252    typedef check<check<check<check<void>>>> quadruple_type;
4253
4254  }
4255
4256  namespace test_decltype
4257  {
4258
4259    int
4260    f()
4261    {
4262      int a = 1;
4263      decltype(a) b = 2;
4264      return a + b;
4265    }
4266
4267  }
4268
4269  namespace test_type_deduction
4270  {
4271
4272    template < typename T1, typename T2 >
4273    struct is_same
4274    {
4275      static const bool value = false;
4276    };
4277
4278    template < typename T >
4279    struct is_same<T, T>
4280    {
4281      static const bool value = true;
4282    };
4283
4284    template < typename T1, typename T2 >
4285    auto
4286    add(T1 a1, T2 a2) -> decltype(a1 + a2)
4287    {
4288      return a1 + a2;
4289    }
4290
4291    int
4292    test(const int c, volatile int v)
4293    {
4294      static_assert(is_same<int, decltype(0)>::value == true, "");
4295      static_assert(is_same<int, decltype(c)>::value == false, "");
4296      static_assert(is_same<int, decltype(v)>::value == false, "");
4297      auto ac = c;
4298      auto av = v;
4299      auto sumi = ac + av + 'x';
4300      auto sumf = ac + av + 1.0;
4301      static_assert(is_same<int, decltype(ac)>::value == true, "");
4302      static_assert(is_same<int, decltype(av)>::value == true, "");
4303      static_assert(is_same<int, decltype(sumi)>::value == true, "");
4304      static_assert(is_same<int, decltype(sumf)>::value == false, "");
4305      static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
4306      return (sumf > 0.0) ? sumi : add(c, v);
4307    }
4308
4309  }
4310
4311  namespace test_noexcept
4312  {
4313
4314    int f() { return 0; }
4315    int g() noexcept { return 0; }
4316
4317    static_assert(noexcept(f()) == false, "");
4318    static_assert(noexcept(g()) == true, "");
4319
4320  }
4321
4322  namespace test_constexpr
4323  {
4324
4325    template < typename CharT >
4326    unsigned long constexpr
4327    strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
4328    {
4329      return *s ? strlen_c_r(s + 1, acc + 1) : acc;
4330    }
4331
4332    template < typename CharT >
4333    unsigned long constexpr
4334    strlen_c(const CharT *const s) noexcept
4335    {
4336      return strlen_c_r(s, 0UL);
4337    }
4338
4339    static_assert(strlen_c("") == 0UL, "");
4340    static_assert(strlen_c("1") == 1UL, "");
4341    static_assert(strlen_c("example") == 7UL, "");
4342    static_assert(strlen_c("another\0example") == 7UL, "");
4343
4344  }
4345
4346  namespace test_rvalue_references
4347  {
4348
4349    template < int N >
4350    struct answer
4351    {
4352      static constexpr int value = N;
4353    };
4354
4355    answer<1> f(int&)       { return answer<1>(); }
4356    answer<2> f(const int&) { return answer<2>(); }
4357    answer<3> f(int&&)      { return answer<3>(); }
4358
4359    void
4360    test()
4361    {
4362      int i = 0;
4363      const int c = 0;
4364      static_assert(decltype(f(i))::value == 1, "");
4365      static_assert(decltype(f(c))::value == 2, "");
4366      static_assert(decltype(f(0))::value == 3, "");
4367    }
4368
4369  }
4370
4371  namespace test_uniform_initialization
4372  {
4373
4374    struct test
4375    {
4376      static const int zero {};
4377      static const int one {1};
4378    };
4379
4380    static_assert(test::zero == 0, "");
4381    static_assert(test::one == 1, "");
4382
4383  }
4384
4385  namespace test_lambdas
4386  {
4387
4388    void
4389    test1()
4390    {
4391      auto lambda1 = [](){};
4392      auto lambda2 = lambda1;
4393      lambda1();
4394      lambda2();
4395    }
4396
4397    int
4398    test2()
4399    {
4400      auto a = [](int i, int j){ return i + j; }(1, 2);
4401      auto b = []() -> int { return '0'; }();
4402      auto c = [=](){ return a + b; }();
4403      auto d = [&](){ return c; }();
4404      auto e = [a, &b](int x) mutable {
4405        const auto identity = [](int y){ return y; };
4406        for (auto i = 0; i < a; ++i)
4407          a += b--;
4408        return x + identity(a + b);
4409      }(0);
4410      return a + b + c + d + e;
4411    }
4412
4413    int
4414    test3()
4415    {
4416      const auto nullary = [](){ return 0; };
4417      const auto unary = [](int x){ return x; };
4418      using nullary_t = decltype(nullary);
4419      using unary_t = decltype(unary);
4420      const auto higher1st = [](nullary_t f){ return f(); };
4421      const auto higher2nd = [unary](nullary_t f1){
4422        return [unary, f1](unary_t f2){ return f2(unary(f1())); };
4423      };
4424      return higher1st(nullary) + higher2nd(nullary)(unary);
4425    }
4426
4427  }
4428
4429  namespace test_variadic_templates
4430  {
4431
4432    template <int...>
4433    struct sum;
4434
4435    template <int N0, int... N1toN>
4436    struct sum<N0, N1toN...>
4437    {
4438      static constexpr auto value = N0 + sum<N1toN...>::value;
4439    };
4440
4441    template <>
4442    struct sum<>
4443    {
4444      static constexpr auto value = 0;
4445    };
4446
4447    static_assert(sum<>::value == 0, "");
4448    static_assert(sum<1>::value == 1, "");
4449    static_assert(sum<23>::value == 23, "");
4450    static_assert(sum<1, 2>::value == 3, "");
4451    static_assert(sum<5, 5, 11>::value == 21, "");
4452    static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
4453
4454  }
4455
4456  // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
4457  // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
4458  // because of this.
4459  namespace test_template_alias_sfinae
4460  {
4461
4462    struct foo {};
4463
4464    template<typename T>
4465    using member = typename T::member_type;
4466
4467    template<typename T>
4468    void func(...) {}
4469
4470    template<typename T>
4471    void func(member<T>*) {}
4472
4473    void test();
4474
4475    void test() { func<foo>(0); }
4476
4477  }
4478
4479}  // namespace cxx11
4480
4481#endif  // __cplusplus >= 201103L
4482
4483
4484
4485_ACEOF
4486if ac_fn_cxx_try_compile "$LINENO"; then :
4487  eval $cachevar=yes
4488else
4489  eval $cachevar=no
4490fi
4491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4492           CXX="$ac_save_CXX"
4493fi
4494eval ac_res=\$$cachevar
4495	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4496$as_echo "$ac_res" >&6; }
4497        if eval test x\$$cachevar = xyes; then
4498          CXX="$CXX $switch"
4499          if test -n "$CXXCPP" ; then
4500            CXXCPP="$CXXCPP $switch"
4501          fi
4502          ac_success=yes
4503          break
4504        fi
4505      done
4506      if test x$ac_success = xyes; then
4507        break
4508      fi
4509    done
4510  fi
4511  ac_ext=c
4512ac_cpp='$CPP $CPPFLAGS'
4513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4515ac_compiler_gnu=$ac_cv_c_compiler_gnu
4516
4517  if test x$ax_cxx_compile_cxx11_required = xtrue; then
4518    if test x$ac_success = xno; then
4519      as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
4520    fi
4521  fi
4522  if test x$ac_success = xno; then
4523    HAVE_CXX11=0
4524    { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
4525$as_echo "$as_me: No compiler with C++11 support was found" >&6;}
4526  else
4527    HAVE_CXX11=1
4528
4529$as_echo "#define HAVE_CXX11 1" >>confdefs.h
4530
4531  fi
4532
4533
4534
4535# Check whether --enable-static was given.
4536if test "${enable_static+set}" = set; then :
4537  enableval=$enable_static; p=${PACKAGE-default}
4538    case $enableval in
4539    yes) enable_static=yes ;;
4540    no) enable_static=no ;;
4541    *)
4542     enable_static=no
4543      # Look at the argument we got.  We use all the common list separators.
4544      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
4545      for pkg in $enableval; do
4546	IFS=$lt_save_ifs
4547	if test "X$pkg" = "X$p"; then
4548	  enable_static=yes
4549	fi
4550      done
4551      IFS=$lt_save_ifs
4552      ;;
4553    esac
4554else
4555  enable_static=no
4556fi
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566case `pwd` in
4567  *\ * | *\	*)
4568    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4569$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4570esac
4571
4572
4573
4574macro_version='2.4.6'
4575macro_revision='2.4.6'
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589ltmain=$ac_aux_dir/ltmain.sh
4590
4591# Make sure we can run config.sub.
4592$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4593  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4594
4595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4596$as_echo_n "checking build system type... " >&6; }
4597if ${ac_cv_build+:} false; then :
4598  $as_echo_n "(cached) " >&6
4599else
4600  ac_build_alias=$build_alias
4601test "x$ac_build_alias" = x &&
4602  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4603test "x$ac_build_alias" = x &&
4604  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4605ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4606  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4607
4608fi
4609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4610$as_echo "$ac_cv_build" >&6; }
4611case $ac_cv_build in
4612*-*-*) ;;
4613*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4614esac
4615build=$ac_cv_build
4616ac_save_IFS=$IFS; IFS='-'
4617set x $ac_cv_build
4618shift
4619build_cpu=$1
4620build_vendor=$2
4621shift; shift
4622# Remember, the first character of IFS is used to create $*,
4623# except with old shells:
4624build_os=$*
4625IFS=$ac_save_IFS
4626case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4627
4628
4629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4630$as_echo_n "checking host system type... " >&6; }
4631if ${ac_cv_host+:} false; then :
4632  $as_echo_n "(cached) " >&6
4633else
4634  if test "x$host_alias" = x; then
4635  ac_cv_host=$ac_cv_build
4636else
4637  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4638    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4639fi
4640
4641fi
4642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4643$as_echo "$ac_cv_host" >&6; }
4644case $ac_cv_host in
4645*-*-*) ;;
4646*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4647esac
4648host=$ac_cv_host
4649ac_save_IFS=$IFS; IFS='-'
4650set x $ac_cv_host
4651shift
4652host_cpu=$1
4653host_vendor=$2
4654shift; shift
4655# Remember, the first character of IFS is used to create $*,
4656# except with old shells:
4657host_os=$*
4658IFS=$ac_save_IFS
4659case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4660
4661
4662# Backslashify metacharacters that are still active within
4663# double-quoted strings.
4664sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4665
4666# Same as above, but do not quote variable references.
4667double_quote_subst='s/\(["`\\]\)/\\\1/g'
4668
4669# Sed substitution to delay expansion of an escaped shell variable in a
4670# double_quote_subst'ed string.
4671delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4672
4673# Sed substitution to delay expansion of an escaped single quote.
4674delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4675
4676# Sed substitution to avoid accidental globbing in evaled expressions
4677no_glob_subst='s/\*/\\\*/g'
4678
4679ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4680ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4681ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4682
4683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4684$as_echo_n "checking how to print strings... " >&6; }
4685# Test print first, because it will be a builtin if present.
4686if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4687   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4688  ECHO='print -r --'
4689elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4690  ECHO='printf %s\n'
4691else
4692  # Use this function as a fallback that always works.
4693  func_fallback_echo ()
4694  {
4695    eval 'cat <<_LTECHO_EOF
4696$1
4697_LTECHO_EOF'
4698  }
4699  ECHO='func_fallback_echo'
4700fi
4701
4702# func_echo_all arg...
4703# Invoke $ECHO with all args, space-separated.
4704func_echo_all ()
4705{
4706    $ECHO ""
4707}
4708
4709case $ECHO in
4710  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4711$as_echo "printf" >&6; } ;;
4712  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4713$as_echo "print -r" >&6; } ;;
4714  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4715$as_echo "cat" >&6; } ;;
4716esac
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731ac_ext=c
4732ac_cpp='$CPP $CPPFLAGS'
4733ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735ac_compiler_gnu=$ac_cv_c_compiler_gnu
4736if test -n "$ac_tool_prefix"; then
4737  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4738set dummy ${ac_tool_prefix}gcc; ac_word=$2
4739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4740$as_echo_n "checking for $ac_word... " >&6; }
4741if ${ac_cv_prog_CC+:} false; then :
4742  $as_echo_n "(cached) " >&6
4743else
4744  if test -n "$CC"; then
4745  ac_cv_prog_CC="$CC" # Let the user override the test.
4746else
4747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748for as_dir in $PATH
4749do
4750  IFS=$as_save_IFS
4751  test -z "$as_dir" && as_dir=.
4752    for ac_exec_ext in '' $ac_executable_extensions; do
4753  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4754    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4755    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4756    break 2
4757  fi
4758done
4759  done
4760IFS=$as_save_IFS
4761
4762fi
4763fi
4764CC=$ac_cv_prog_CC
4765if test -n "$CC"; then
4766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4767$as_echo "$CC" >&6; }
4768else
4769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4770$as_echo "no" >&6; }
4771fi
4772
4773
4774fi
4775if test -z "$ac_cv_prog_CC"; then
4776  ac_ct_CC=$CC
4777  # Extract the first word of "gcc", so it can be a program name with args.
4778set dummy gcc; ac_word=$2
4779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4780$as_echo_n "checking for $ac_word... " >&6; }
4781if ${ac_cv_prog_ac_ct_CC+:} false; then :
4782  $as_echo_n "(cached) " >&6
4783else
4784  if test -n "$ac_ct_CC"; then
4785  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4786else
4787as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788for as_dir in $PATH
4789do
4790  IFS=$as_save_IFS
4791  test -z "$as_dir" && as_dir=.
4792    for ac_exec_ext in '' $ac_executable_extensions; do
4793  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4794    ac_cv_prog_ac_ct_CC="gcc"
4795    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796    break 2
4797  fi
4798done
4799  done
4800IFS=$as_save_IFS
4801
4802fi
4803fi
4804ac_ct_CC=$ac_cv_prog_ac_ct_CC
4805if test -n "$ac_ct_CC"; then
4806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4807$as_echo "$ac_ct_CC" >&6; }
4808else
4809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810$as_echo "no" >&6; }
4811fi
4812
4813  if test "x$ac_ct_CC" = x; then
4814    CC=""
4815  else
4816    case $cross_compiling:$ac_tool_warned in
4817yes:)
4818{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4819$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4820ac_tool_warned=yes ;;
4821esac
4822    CC=$ac_ct_CC
4823  fi
4824else
4825  CC="$ac_cv_prog_CC"
4826fi
4827
4828if test -z "$CC"; then
4829          if test -n "$ac_tool_prefix"; then
4830    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4831set dummy ${ac_tool_prefix}cc; ac_word=$2
4832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833$as_echo_n "checking for $ac_word... " >&6; }
4834if ${ac_cv_prog_CC+:} false; then :
4835  $as_echo_n "(cached) " >&6
4836else
4837  if test -n "$CC"; then
4838  ac_cv_prog_CC="$CC" # Let the user override the test.
4839else
4840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841for as_dir in $PATH
4842do
4843  IFS=$as_save_IFS
4844  test -z "$as_dir" && as_dir=.
4845    for ac_exec_ext in '' $ac_executable_extensions; do
4846  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4847    ac_cv_prog_CC="${ac_tool_prefix}cc"
4848    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849    break 2
4850  fi
4851done
4852  done
4853IFS=$as_save_IFS
4854
4855fi
4856fi
4857CC=$ac_cv_prog_CC
4858if test -n "$CC"; then
4859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4860$as_echo "$CC" >&6; }
4861else
4862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863$as_echo "no" >&6; }
4864fi
4865
4866
4867  fi
4868fi
4869if test -z "$CC"; then
4870  # Extract the first word of "cc", so it can be a program name with args.
4871set dummy cc; ac_word=$2
4872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873$as_echo_n "checking for $ac_word... " >&6; }
4874if ${ac_cv_prog_CC+:} false; then :
4875  $as_echo_n "(cached) " >&6
4876else
4877  if test -n "$CC"; then
4878  ac_cv_prog_CC="$CC" # Let the user override the test.
4879else
4880  ac_prog_rejected=no
4881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4882for as_dir in $PATH
4883do
4884  IFS=$as_save_IFS
4885  test -z "$as_dir" && as_dir=.
4886    for ac_exec_ext in '' $ac_executable_extensions; do
4887  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4888    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4889       ac_prog_rejected=yes
4890       continue
4891     fi
4892    ac_cv_prog_CC="cc"
4893    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894    break 2
4895  fi
4896done
4897  done
4898IFS=$as_save_IFS
4899
4900if test $ac_prog_rejected = yes; then
4901  # We found a bogon in the path, so make sure we never use it.
4902  set dummy $ac_cv_prog_CC
4903  shift
4904  if test $# != 0; then
4905    # We chose a different compiler from the bogus one.
4906    # However, it has the same basename, so the bogon will be chosen
4907    # first if we set CC to just the basename; use the full file name.
4908    shift
4909    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4910  fi
4911fi
4912fi
4913fi
4914CC=$ac_cv_prog_CC
4915if test -n "$CC"; then
4916  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4917$as_echo "$CC" >&6; }
4918else
4919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4920$as_echo "no" >&6; }
4921fi
4922
4923
4924fi
4925if test -z "$CC"; then
4926  if test -n "$ac_tool_prefix"; then
4927  for ac_prog in cl.exe
4928  do
4929    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4930set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932$as_echo_n "checking for $ac_word... " >&6; }
4933if ${ac_cv_prog_CC+:} false; then :
4934  $as_echo_n "(cached) " >&6
4935else
4936  if test -n "$CC"; then
4937  ac_cv_prog_CC="$CC" # Let the user override the test.
4938else
4939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940for as_dir in $PATH
4941do
4942  IFS=$as_save_IFS
4943  test -z "$as_dir" && as_dir=.
4944    for ac_exec_ext in '' $ac_executable_extensions; do
4945  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4946    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4947    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948    break 2
4949  fi
4950done
4951  done
4952IFS=$as_save_IFS
4953
4954fi
4955fi
4956CC=$ac_cv_prog_CC
4957if test -n "$CC"; then
4958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4959$as_echo "$CC" >&6; }
4960else
4961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962$as_echo "no" >&6; }
4963fi
4964
4965
4966    test -n "$CC" && break
4967  done
4968fi
4969if test -z "$CC"; then
4970  ac_ct_CC=$CC
4971  for ac_prog in cl.exe
4972do
4973  # Extract the first word of "$ac_prog", so it can be a program name with args.
4974set dummy $ac_prog; ac_word=$2
4975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976$as_echo_n "checking for $ac_word... " >&6; }
4977if ${ac_cv_prog_ac_ct_CC+:} false; then :
4978  $as_echo_n "(cached) " >&6
4979else
4980  if test -n "$ac_ct_CC"; then
4981  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4982else
4983as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4984for as_dir in $PATH
4985do
4986  IFS=$as_save_IFS
4987  test -z "$as_dir" && as_dir=.
4988    for ac_exec_ext in '' $ac_executable_extensions; do
4989  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4990    ac_cv_prog_ac_ct_CC="$ac_prog"
4991    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4992    break 2
4993  fi
4994done
4995  done
4996IFS=$as_save_IFS
4997
4998fi
4999fi
5000ac_ct_CC=$ac_cv_prog_ac_ct_CC
5001if test -n "$ac_ct_CC"; then
5002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5003$as_echo "$ac_ct_CC" >&6; }
5004else
5005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006$as_echo "no" >&6; }
5007fi
5008
5009
5010  test -n "$ac_ct_CC" && break
5011done
5012
5013  if test "x$ac_ct_CC" = x; then
5014    CC=""
5015  else
5016    case $cross_compiling:$ac_tool_warned in
5017yes:)
5018{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5019$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5020ac_tool_warned=yes ;;
5021esac
5022    CC=$ac_ct_CC
5023  fi
5024fi
5025
5026fi
5027
5028
5029test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5030$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5031as_fn_error $? "no acceptable C compiler found in \$PATH
5032See \`config.log' for more details" "$LINENO" 5; }
5033
5034# Provide some information about the compiler.
5035$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5036set X $ac_compile
5037ac_compiler=$2
5038for ac_option in --version -v -V -qversion; do
5039  { { ac_try="$ac_compiler $ac_option >&5"
5040case "(($ac_try" in
5041  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5042  *) ac_try_echo=$ac_try;;
5043esac
5044eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5045$as_echo "$ac_try_echo"; } >&5
5046  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5047  ac_status=$?
5048  if test -s conftest.err; then
5049    sed '10a\
5050... rest of stderr output deleted ...
5051         10q' conftest.err >conftest.er1
5052    cat conftest.er1 >&5
5053  fi
5054  rm -f conftest.er1 conftest.err
5055  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5056  test $ac_status = 0; }
5057done
5058
5059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5060$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5061if ${ac_cv_c_compiler_gnu+:} false; then :
5062  $as_echo_n "(cached) " >&6
5063else
5064  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065/* end confdefs.h.  */
5066
5067int
5068main ()
5069{
5070#ifndef __GNUC__
5071       choke me
5072#endif
5073
5074  ;
5075  return 0;
5076}
5077_ACEOF
5078if ac_fn_c_try_compile "$LINENO"; then :
5079  ac_compiler_gnu=yes
5080else
5081  ac_compiler_gnu=no
5082fi
5083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5084ac_cv_c_compiler_gnu=$ac_compiler_gnu
5085
5086fi
5087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5088$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5089if test $ac_compiler_gnu = yes; then
5090  GCC=yes
5091else
5092  GCC=
5093fi
5094ac_test_CFLAGS=${CFLAGS+set}
5095ac_save_CFLAGS=$CFLAGS
5096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5097$as_echo_n "checking whether $CC accepts -g... " >&6; }
5098if ${ac_cv_prog_cc_g+:} false; then :
5099  $as_echo_n "(cached) " >&6
5100else
5101  ac_save_c_werror_flag=$ac_c_werror_flag
5102   ac_c_werror_flag=yes
5103   ac_cv_prog_cc_g=no
5104   CFLAGS="-g"
5105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5106/* end confdefs.h.  */
5107
5108int
5109main ()
5110{
5111
5112  ;
5113  return 0;
5114}
5115_ACEOF
5116if ac_fn_c_try_compile "$LINENO"; then :
5117  ac_cv_prog_cc_g=yes
5118else
5119  CFLAGS=""
5120      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5121/* end confdefs.h.  */
5122
5123int
5124main ()
5125{
5126
5127  ;
5128  return 0;
5129}
5130_ACEOF
5131if ac_fn_c_try_compile "$LINENO"; then :
5132
5133else
5134  ac_c_werror_flag=$ac_save_c_werror_flag
5135	 CFLAGS="-g"
5136	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5137/* end confdefs.h.  */
5138
5139int
5140main ()
5141{
5142
5143  ;
5144  return 0;
5145}
5146_ACEOF
5147if ac_fn_c_try_compile "$LINENO"; then :
5148  ac_cv_prog_cc_g=yes
5149fi
5150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5151fi
5152rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5153fi
5154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5155   ac_c_werror_flag=$ac_save_c_werror_flag
5156fi
5157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5158$as_echo "$ac_cv_prog_cc_g" >&6; }
5159if test "$ac_test_CFLAGS" = set; then
5160  CFLAGS=$ac_save_CFLAGS
5161elif test $ac_cv_prog_cc_g = yes; then
5162  if test "$GCC" = yes; then
5163    CFLAGS="-g -O2"
5164  else
5165    CFLAGS="-g"
5166  fi
5167else
5168  if test "$GCC" = yes; then
5169    CFLAGS="-O2"
5170  else
5171    CFLAGS=
5172  fi
5173fi
5174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5175$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5176if ${ac_cv_prog_cc_c89+:} false; then :
5177  $as_echo_n "(cached) " >&6
5178else
5179  ac_cv_prog_cc_c89=no
5180ac_save_CC=$CC
5181cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5182/* end confdefs.h.  */
5183#include <stdarg.h>
5184#include <stdio.h>
5185struct stat;
5186/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5187struct buf { int x; };
5188FILE * (*rcsopen) (struct buf *, struct stat *, int);
5189static char *e (p, i)
5190     char **p;
5191     int i;
5192{
5193  return p[i];
5194}
5195static char *f (char * (*g) (char **, int), char **p, ...)
5196{
5197  char *s;
5198  va_list v;
5199  va_start (v,p);
5200  s = g (p, va_arg (v,int));
5201  va_end (v);
5202  return s;
5203}
5204
5205/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5206   function prototypes and stuff, but not '\xHH' hex character constants.
5207   These don't provoke an error unfortunately, instead are silently treated
5208   as 'x'.  The following induces an error, until -std is added to get
5209   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5210   array size at least.  It's necessary to write '\x00'==0 to get something
5211   that's true only with -std.  */
5212int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5213
5214/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5215   inside strings and character constants.  */
5216#define FOO(x) 'x'
5217int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5218
5219int test (int i, double x);
5220struct s1 {int (*f) (int a);};
5221struct s2 {int (*f) (double a);};
5222int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5223int argc;
5224char **argv;
5225int
5226main ()
5227{
5228return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5229  ;
5230  return 0;
5231}
5232_ACEOF
5233for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5234	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5235do
5236  CC="$ac_save_CC $ac_arg"
5237  if ac_fn_c_try_compile "$LINENO"; then :
5238  ac_cv_prog_cc_c89=$ac_arg
5239fi
5240rm -f core conftest.err conftest.$ac_objext
5241  test "x$ac_cv_prog_cc_c89" != "xno" && break
5242done
5243rm -f conftest.$ac_ext
5244CC=$ac_save_CC
5245
5246fi
5247# AC_CACHE_VAL
5248case "x$ac_cv_prog_cc_c89" in
5249  x)
5250    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5251$as_echo "none needed" >&6; } ;;
5252  xno)
5253    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5254$as_echo "unsupported" >&6; } ;;
5255  *)
5256    CC="$CC $ac_cv_prog_cc_c89"
5257    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5258$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5259esac
5260if test "x$ac_cv_prog_cc_c89" != xno; then :
5261
5262fi
5263
5264ac_ext=c
5265ac_cpp='$CPP $CPPFLAGS'
5266ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5267ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5268ac_compiler_gnu=$ac_cv_c_compiler_gnu
5269
5270ac_ext=c
5271ac_cpp='$CPP $CPPFLAGS'
5272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5274ac_compiler_gnu=$ac_cv_c_compiler_gnu
5275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5276$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5277if ${am_cv_prog_cc_c_o+:} false; then :
5278  $as_echo_n "(cached) " >&6
5279else
5280  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5281/* end confdefs.h.  */
5282
5283int
5284main ()
5285{
5286
5287  ;
5288  return 0;
5289}
5290_ACEOF
5291  # Make sure it works both with $CC and with simple cc.
5292  # Following AC_PROG_CC_C_O, we do the test twice because some
5293  # compilers refuse to overwrite an existing .o file with -o,
5294  # though they will create one.
5295  am_cv_prog_cc_c_o=yes
5296  for am_i in 1 2; do
5297    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5298   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5299   ac_status=$?
5300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301   (exit $ac_status); } \
5302         && test -f conftest2.$ac_objext; then
5303      : OK
5304    else
5305      am_cv_prog_cc_c_o=no
5306      break
5307    fi
5308  done
5309  rm -f core conftest*
5310  unset am_i
5311fi
5312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5313$as_echo "$am_cv_prog_cc_c_o" >&6; }
5314if test "$am_cv_prog_cc_c_o" != yes; then
5315   # Losing compiler, so override with the script.
5316   # FIXME: It is wrong to rewrite CC.
5317   # But if we don't then we get into trouble of one sort or another.
5318   # A longer-term fix would be to have automake use am__CC in this case,
5319   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5320   CC="$am_aux_dir/compile $CC"
5321fi
5322ac_ext=c
5323ac_cpp='$CPP $CPPFLAGS'
5324ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5325ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5326ac_compiler_gnu=$ac_cv_c_compiler_gnu
5327
5328
5329depcc="$CC"   am_compiler_list=
5330
5331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5332$as_echo_n "checking dependency style of $depcc... " >&6; }
5333if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5334  $as_echo_n "(cached) " >&6
5335else
5336  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5337  # We make a subdir and do the tests there.  Otherwise we can end up
5338  # making bogus files that we don't know about and never remove.  For
5339  # instance it was reported that on HP-UX the gcc test will end up
5340  # making a dummy file named 'D' -- because '-MD' means "put the output
5341  # in D".
5342  rm -rf conftest.dir
5343  mkdir conftest.dir
5344  # Copy depcomp to subdir because otherwise we won't find it if we're
5345  # using a relative directory.
5346  cp "$am_depcomp" conftest.dir
5347  cd conftest.dir
5348  # We will build objects and dependencies in a subdirectory because
5349  # it helps to detect inapplicable dependency modes.  For instance
5350  # both Tru64's cc and ICC support -MD to output dependencies as a
5351  # side effect of compilation, but ICC will put the dependencies in
5352  # the current directory while Tru64 will put them in the object
5353  # directory.
5354  mkdir sub
5355
5356  am_cv_CC_dependencies_compiler_type=none
5357  if test "$am_compiler_list" = ""; then
5358     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5359  fi
5360  am__universal=false
5361  case " $depcc " in #(
5362     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5363     esac
5364
5365  for depmode in $am_compiler_list; do
5366    # Setup a source with many dependencies, because some compilers
5367    # like to wrap large dependency lists on column 80 (with \), and
5368    # we should not choose a depcomp mode which is confused by this.
5369    #
5370    # We need to recreate these files for each test, as the compiler may
5371    # overwrite some of them when testing with obscure command lines.
5372    # This happens at least with the AIX C compiler.
5373    : > sub/conftest.c
5374    for i in 1 2 3 4 5 6; do
5375      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5376      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5377      # Solaris 10 /bin/sh.
5378      echo '/* dummy */' > sub/conftst$i.h
5379    done
5380    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5381
5382    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5383    # mode.  It turns out that the SunPro C++ compiler does not properly
5384    # handle '-M -o', and we need to detect this.  Also, some Intel
5385    # versions had trouble with output in subdirs.
5386    am__obj=sub/conftest.${OBJEXT-o}
5387    am__minus_obj="-o $am__obj"
5388    case $depmode in
5389    gcc)
5390      # This depmode causes a compiler race in universal mode.
5391      test "$am__universal" = false || continue
5392      ;;
5393    nosideeffect)
5394      # After this tag, mechanisms are not by side-effect, so they'll
5395      # only be used when explicitly requested.
5396      if test "x$enable_dependency_tracking" = xyes; then
5397	continue
5398      else
5399	break
5400      fi
5401      ;;
5402    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5403      # This compiler won't grok '-c -o', but also, the minuso test has
5404      # not run yet.  These depmodes are late enough in the game, and
5405      # so weak that their functioning should not be impacted.
5406      am__obj=conftest.${OBJEXT-o}
5407      am__minus_obj=
5408      ;;
5409    none) break ;;
5410    esac
5411    if depmode=$depmode \
5412       source=sub/conftest.c object=$am__obj \
5413       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5414       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5415         >/dev/null 2>conftest.err &&
5416       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5417       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5418       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5419       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5420      # icc doesn't choke on unknown options, it will just issue warnings
5421      # or remarks (even with -Werror).  So we grep stderr for any message
5422      # that says an option was ignored or not supported.
5423      # When given -MP, icc 7.0 and 7.1 complain thusly:
5424      #   icc: Command line warning: ignoring option '-M'; no argument required
5425      # The diagnosis changed in icc 8.0:
5426      #   icc: Command line remark: option '-MP' not supported
5427      if (grep 'ignoring option' conftest.err ||
5428          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5429        am_cv_CC_dependencies_compiler_type=$depmode
5430        break
5431      fi
5432    fi
5433  done
5434
5435  cd ..
5436  rm -rf conftest.dir
5437else
5438  am_cv_CC_dependencies_compiler_type=none
5439fi
5440
5441fi
5442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5443$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5444CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5445
5446 if
5447  test "x$enable_dependency_tracking" != xno \
5448  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5449  am__fastdepCC_TRUE=
5450  am__fastdepCC_FALSE='#'
5451else
5452  am__fastdepCC_TRUE='#'
5453  am__fastdepCC_FALSE=
5454fi
5455
5456
5457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5458$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5459if ${ac_cv_path_SED+:} false; then :
5460  $as_echo_n "(cached) " >&6
5461else
5462            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5463     for ac_i in 1 2 3 4 5 6 7; do
5464       ac_script="$ac_script$as_nl$ac_script"
5465     done
5466     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5467     { ac_script=; unset ac_script;}
5468     if test -z "$SED"; then
5469  ac_path_SED_found=false
5470  # Loop through the user's path and test for each of PROGNAME-LIST
5471  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472for as_dir in $PATH
5473do
5474  IFS=$as_save_IFS
5475  test -z "$as_dir" && as_dir=.
5476    for ac_prog in sed gsed; do
5477    for ac_exec_ext in '' $ac_executable_extensions; do
5478      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5479      as_fn_executable_p "$ac_path_SED" || continue
5480# Check for GNU ac_path_SED and select it if it is found.
5481  # Check for GNU $ac_path_SED
5482case `"$ac_path_SED" --version 2>&1` in
5483*GNU*)
5484  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5485*)
5486  ac_count=0
5487  $as_echo_n 0123456789 >"conftest.in"
5488  while :
5489  do
5490    cat "conftest.in" "conftest.in" >"conftest.tmp"
5491    mv "conftest.tmp" "conftest.in"
5492    cp "conftest.in" "conftest.nl"
5493    $as_echo '' >> "conftest.nl"
5494    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5495    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5496    as_fn_arith $ac_count + 1 && ac_count=$as_val
5497    if test $ac_count -gt ${ac_path_SED_max-0}; then
5498      # Best one so far, save it but keep looking for a better one
5499      ac_cv_path_SED="$ac_path_SED"
5500      ac_path_SED_max=$ac_count
5501    fi
5502    # 10*(2^10) chars as input seems more than enough
5503    test $ac_count -gt 10 && break
5504  done
5505  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5506esac
5507
5508      $ac_path_SED_found && break 3
5509    done
5510  done
5511  done
5512IFS=$as_save_IFS
5513  if test -z "$ac_cv_path_SED"; then
5514    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5515  fi
5516else
5517  ac_cv_path_SED=$SED
5518fi
5519
5520fi
5521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5522$as_echo "$ac_cv_path_SED" >&6; }
5523 SED="$ac_cv_path_SED"
5524  rm -f conftest.sed
5525
5526test -z "$SED" && SED=sed
5527Xsed="$SED -e 1s/^X//"
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5540$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5541if ${ac_cv_path_GREP+:} false; then :
5542  $as_echo_n "(cached) " >&6
5543else
5544  if test -z "$GREP"; then
5545  ac_path_GREP_found=false
5546  # Loop through the user's path and test for each of PROGNAME-LIST
5547  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5549do
5550  IFS=$as_save_IFS
5551  test -z "$as_dir" && as_dir=.
5552    for ac_prog in grep ggrep; do
5553    for ac_exec_ext in '' $ac_executable_extensions; do
5554      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5555      as_fn_executable_p "$ac_path_GREP" || continue
5556# Check for GNU ac_path_GREP and select it if it is found.
5557  # Check for GNU $ac_path_GREP
5558case `"$ac_path_GREP" --version 2>&1` in
5559*GNU*)
5560  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5561*)
5562  ac_count=0
5563  $as_echo_n 0123456789 >"conftest.in"
5564  while :
5565  do
5566    cat "conftest.in" "conftest.in" >"conftest.tmp"
5567    mv "conftest.tmp" "conftest.in"
5568    cp "conftest.in" "conftest.nl"
5569    $as_echo 'GREP' >> "conftest.nl"
5570    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5571    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5572    as_fn_arith $ac_count + 1 && ac_count=$as_val
5573    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5574      # Best one so far, save it but keep looking for a better one
5575      ac_cv_path_GREP="$ac_path_GREP"
5576      ac_path_GREP_max=$ac_count
5577    fi
5578    # 10*(2^10) chars as input seems more than enough
5579    test $ac_count -gt 10 && break
5580  done
5581  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5582esac
5583
5584      $ac_path_GREP_found && break 3
5585    done
5586  done
5587  done
5588IFS=$as_save_IFS
5589  if test -z "$ac_cv_path_GREP"; then
5590    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5591  fi
5592else
5593  ac_cv_path_GREP=$GREP
5594fi
5595
5596fi
5597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5598$as_echo "$ac_cv_path_GREP" >&6; }
5599 GREP="$ac_cv_path_GREP"
5600
5601
5602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5603$as_echo_n "checking for egrep... " >&6; }
5604if ${ac_cv_path_EGREP+:} false; then :
5605  $as_echo_n "(cached) " >&6
5606else
5607  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5608   then ac_cv_path_EGREP="$GREP -E"
5609   else
5610     if test -z "$EGREP"; then
5611  ac_path_EGREP_found=false
5612  # Loop through the user's path and test for each of PROGNAME-LIST
5613  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5615do
5616  IFS=$as_save_IFS
5617  test -z "$as_dir" && as_dir=.
5618    for ac_prog in egrep; do
5619    for ac_exec_ext in '' $ac_executable_extensions; do
5620      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5621      as_fn_executable_p "$ac_path_EGREP" || continue
5622# Check for GNU ac_path_EGREP and select it if it is found.
5623  # Check for GNU $ac_path_EGREP
5624case `"$ac_path_EGREP" --version 2>&1` in
5625*GNU*)
5626  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5627*)
5628  ac_count=0
5629  $as_echo_n 0123456789 >"conftest.in"
5630  while :
5631  do
5632    cat "conftest.in" "conftest.in" >"conftest.tmp"
5633    mv "conftest.tmp" "conftest.in"
5634    cp "conftest.in" "conftest.nl"
5635    $as_echo 'EGREP' >> "conftest.nl"
5636    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5637    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5638    as_fn_arith $ac_count + 1 && ac_count=$as_val
5639    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5640      # Best one so far, save it but keep looking for a better one
5641      ac_cv_path_EGREP="$ac_path_EGREP"
5642      ac_path_EGREP_max=$ac_count
5643    fi
5644    # 10*(2^10) chars as input seems more than enough
5645    test $ac_count -gt 10 && break
5646  done
5647  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5648esac
5649
5650      $ac_path_EGREP_found && break 3
5651    done
5652  done
5653  done
5654IFS=$as_save_IFS
5655  if test -z "$ac_cv_path_EGREP"; then
5656    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5657  fi
5658else
5659  ac_cv_path_EGREP=$EGREP
5660fi
5661
5662   fi
5663fi
5664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5665$as_echo "$ac_cv_path_EGREP" >&6; }
5666 EGREP="$ac_cv_path_EGREP"
5667
5668
5669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5670$as_echo_n "checking for fgrep... " >&6; }
5671if ${ac_cv_path_FGREP+:} false; then :
5672  $as_echo_n "(cached) " >&6
5673else
5674  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5675   then ac_cv_path_FGREP="$GREP -F"
5676   else
5677     if test -z "$FGREP"; then
5678  ac_path_FGREP_found=false
5679  # Loop through the user's path and test for each of PROGNAME-LIST
5680  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5682do
5683  IFS=$as_save_IFS
5684  test -z "$as_dir" && as_dir=.
5685    for ac_prog in fgrep; do
5686    for ac_exec_ext in '' $ac_executable_extensions; do
5687      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5688      as_fn_executable_p "$ac_path_FGREP" || continue
5689# Check for GNU ac_path_FGREP and select it if it is found.
5690  # Check for GNU $ac_path_FGREP
5691case `"$ac_path_FGREP" --version 2>&1` in
5692*GNU*)
5693  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5694*)
5695  ac_count=0
5696  $as_echo_n 0123456789 >"conftest.in"
5697  while :
5698  do
5699    cat "conftest.in" "conftest.in" >"conftest.tmp"
5700    mv "conftest.tmp" "conftest.in"
5701    cp "conftest.in" "conftest.nl"
5702    $as_echo 'FGREP' >> "conftest.nl"
5703    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5704    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5705    as_fn_arith $ac_count + 1 && ac_count=$as_val
5706    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5707      # Best one so far, save it but keep looking for a better one
5708      ac_cv_path_FGREP="$ac_path_FGREP"
5709      ac_path_FGREP_max=$ac_count
5710    fi
5711    # 10*(2^10) chars as input seems more than enough
5712    test $ac_count -gt 10 && break
5713  done
5714  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5715esac
5716
5717      $ac_path_FGREP_found && break 3
5718    done
5719  done
5720  done
5721IFS=$as_save_IFS
5722  if test -z "$ac_cv_path_FGREP"; then
5723    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5724  fi
5725else
5726  ac_cv_path_FGREP=$FGREP
5727fi
5728
5729   fi
5730fi
5731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5732$as_echo "$ac_cv_path_FGREP" >&6; }
5733 FGREP="$ac_cv_path_FGREP"
5734
5735
5736test -z "$GREP" && GREP=grep
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756# Check whether --with-gnu-ld was given.
5757if test "${with_gnu_ld+set}" = set; then :
5758  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5759else
5760  with_gnu_ld=no
5761fi
5762
5763ac_prog=ld
5764if test yes = "$GCC"; then
5765  # Check if gcc -print-prog-name=ld gives a path.
5766  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5767$as_echo_n "checking for ld used by $CC... " >&6; }
5768  case $host in
5769  *-*-mingw*)
5770    # gcc leaves a trailing carriage return, which upsets mingw
5771    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5772  *)
5773    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5774  esac
5775  case $ac_prog in
5776    # Accept absolute paths.
5777    [\\/]* | ?:[\\/]*)
5778      re_direlt='/[^/][^/]*/\.\./'
5779      # Canonicalize the pathname of ld
5780      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5781      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5782	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5783      done
5784      test -z "$LD" && LD=$ac_prog
5785      ;;
5786  "")
5787    # If it fails, then pretend we aren't using GCC.
5788    ac_prog=ld
5789    ;;
5790  *)
5791    # If it is relative, then search for the first ld in PATH.
5792    with_gnu_ld=unknown
5793    ;;
5794  esac
5795elif test yes = "$with_gnu_ld"; then
5796  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5797$as_echo_n "checking for GNU ld... " >&6; }
5798else
5799  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5800$as_echo_n "checking for non-GNU ld... " >&6; }
5801fi
5802if ${lt_cv_path_LD+:} false; then :
5803  $as_echo_n "(cached) " >&6
5804else
5805  if test -z "$LD"; then
5806  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5807  for ac_dir in $PATH; do
5808    IFS=$lt_save_ifs
5809    test -z "$ac_dir" && ac_dir=.
5810    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5811      lt_cv_path_LD=$ac_dir/$ac_prog
5812      # Check to see if the program is GNU ld.  I'd rather use --version,
5813      # but apparently some variants of GNU ld only accept -v.
5814      # Break only if it was the GNU/non-GNU ld that we prefer.
5815      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5816      *GNU* | *'with BFD'*)
5817	test no != "$with_gnu_ld" && break
5818	;;
5819      *)
5820	test yes != "$with_gnu_ld" && break
5821	;;
5822      esac
5823    fi
5824  done
5825  IFS=$lt_save_ifs
5826else
5827  lt_cv_path_LD=$LD # Let the user override the test with a path.
5828fi
5829fi
5830
5831LD=$lt_cv_path_LD
5832if test -n "$LD"; then
5833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5834$as_echo "$LD" >&6; }
5835else
5836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5837$as_echo "no" >&6; }
5838fi
5839test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5841$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5842if ${lt_cv_prog_gnu_ld+:} false; then :
5843  $as_echo_n "(cached) " >&6
5844else
5845  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5846case `$LD -v 2>&1 </dev/null` in
5847*GNU* | *'with BFD'*)
5848  lt_cv_prog_gnu_ld=yes
5849  ;;
5850*)
5851  lt_cv_prog_gnu_ld=no
5852  ;;
5853esac
5854fi
5855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5856$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5857with_gnu_ld=$lt_cv_prog_gnu_ld
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5868$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5869if ${lt_cv_path_NM+:} false; then :
5870  $as_echo_n "(cached) " >&6
5871else
5872  if test -n "$NM"; then
5873  # Let the user override the test.
5874  lt_cv_path_NM=$NM
5875else
5876  lt_nm_to_check=${ac_tool_prefix}nm
5877  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5878    lt_nm_to_check="$lt_nm_to_check nm"
5879  fi
5880  for lt_tmp_nm in $lt_nm_to_check; do
5881    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5882    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5883      IFS=$lt_save_ifs
5884      test -z "$ac_dir" && ac_dir=.
5885      tmp_nm=$ac_dir/$lt_tmp_nm
5886      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5887	# Check to see if the nm accepts a BSD-compat flag.
5888	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5889	#   nm: unknown option "B" ignored
5890	# Tru64's nm complains that /dev/null is an invalid object file
5891	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5892	case $build_os in
5893	mingw*) lt_bad_file=conftest.nm/nofile ;;
5894	*) lt_bad_file=/dev/null ;;
5895	esac
5896	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5897	*$lt_bad_file* | *'Invalid file or object type'*)
5898	  lt_cv_path_NM="$tmp_nm -B"
5899	  break 2
5900	  ;;
5901	*)
5902	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5903	  */dev/null*)
5904	    lt_cv_path_NM="$tmp_nm -p"
5905	    break 2
5906	    ;;
5907	  *)
5908	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5909	    continue # so that we can try to find one that supports BSD flags
5910	    ;;
5911	  esac
5912	  ;;
5913	esac
5914      fi
5915    done
5916    IFS=$lt_save_ifs
5917  done
5918  : ${lt_cv_path_NM=no}
5919fi
5920fi
5921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5922$as_echo "$lt_cv_path_NM" >&6; }
5923if test no != "$lt_cv_path_NM"; then
5924  NM=$lt_cv_path_NM
5925else
5926  # Didn't find any BSD compatible name lister, look for dumpbin.
5927  if test -n "$DUMPBIN"; then :
5928    # Let the user override the test.
5929  else
5930    if test -n "$ac_tool_prefix"; then
5931  for ac_prog in dumpbin "link -dump"
5932  do
5933    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5934set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936$as_echo_n "checking for $ac_word... " >&6; }
5937if ${ac_cv_prog_DUMPBIN+:} false; then :
5938  $as_echo_n "(cached) " >&6
5939else
5940  if test -n "$DUMPBIN"; then
5941  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5942else
5943as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944for as_dir in $PATH
5945do
5946  IFS=$as_save_IFS
5947  test -z "$as_dir" && as_dir=.
5948    for ac_exec_ext in '' $ac_executable_extensions; do
5949  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5951    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952    break 2
5953  fi
5954done
5955  done
5956IFS=$as_save_IFS
5957
5958fi
5959fi
5960DUMPBIN=$ac_cv_prog_DUMPBIN
5961if test -n "$DUMPBIN"; then
5962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5963$as_echo "$DUMPBIN" >&6; }
5964else
5965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966$as_echo "no" >&6; }
5967fi
5968
5969
5970    test -n "$DUMPBIN" && break
5971  done
5972fi
5973if test -z "$DUMPBIN"; then
5974  ac_ct_DUMPBIN=$DUMPBIN
5975  for ac_prog in dumpbin "link -dump"
5976do
5977  # Extract the first word of "$ac_prog", so it can be a program name with args.
5978set dummy $ac_prog; ac_word=$2
5979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5980$as_echo_n "checking for $ac_word... " >&6; }
5981if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5982  $as_echo_n "(cached) " >&6
5983else
5984  if test -n "$ac_ct_DUMPBIN"; then
5985  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5986else
5987as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5988for as_dir in $PATH
5989do
5990  IFS=$as_save_IFS
5991  test -z "$as_dir" && as_dir=.
5992    for ac_exec_ext in '' $ac_executable_extensions; do
5993  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5994    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5995    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5996    break 2
5997  fi
5998done
5999  done
6000IFS=$as_save_IFS
6001
6002fi
6003fi
6004ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6005if test -n "$ac_ct_DUMPBIN"; then
6006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6007$as_echo "$ac_ct_DUMPBIN" >&6; }
6008else
6009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010$as_echo "no" >&6; }
6011fi
6012
6013
6014  test -n "$ac_ct_DUMPBIN" && break
6015done
6016
6017  if test "x$ac_ct_DUMPBIN" = x; then
6018    DUMPBIN=":"
6019  else
6020    case $cross_compiling:$ac_tool_warned in
6021yes:)
6022{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6023$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6024ac_tool_warned=yes ;;
6025esac
6026    DUMPBIN=$ac_ct_DUMPBIN
6027  fi
6028fi
6029
6030    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6031    *COFF*)
6032      DUMPBIN="$DUMPBIN -symbols -headers"
6033      ;;
6034    *)
6035      DUMPBIN=:
6036      ;;
6037    esac
6038  fi
6039
6040  if test : != "$DUMPBIN"; then
6041    NM=$DUMPBIN
6042  fi
6043fi
6044test -z "$NM" && NM=nm
6045
6046
6047
6048
6049
6050
6051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6052$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6053if ${lt_cv_nm_interface+:} false; then :
6054  $as_echo_n "(cached) " >&6
6055else
6056  lt_cv_nm_interface="BSD nm"
6057  echo "int some_variable = 0;" > conftest.$ac_ext
6058  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6059  (eval "$ac_compile" 2>conftest.err)
6060  cat conftest.err >&5
6061  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6062  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6063  cat conftest.err >&5
6064  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6065  cat conftest.out >&5
6066  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6067    lt_cv_nm_interface="MS dumpbin"
6068  fi
6069  rm -f conftest*
6070fi
6071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6072$as_echo "$lt_cv_nm_interface" >&6; }
6073
6074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6075$as_echo_n "checking whether ln -s works... " >&6; }
6076LN_S=$as_ln_s
6077if test "$LN_S" = "ln -s"; then
6078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6079$as_echo "yes" >&6; }
6080else
6081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6082$as_echo "no, using $LN_S" >&6; }
6083fi
6084
6085# find the maximum length of command line arguments
6086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6087$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6088if ${lt_cv_sys_max_cmd_len+:} false; then :
6089  $as_echo_n "(cached) " >&6
6090else
6091    i=0
6092  teststring=ABCD
6093
6094  case $build_os in
6095  msdosdjgpp*)
6096    # On DJGPP, this test can blow up pretty badly due to problems in libc
6097    # (any single argument exceeding 2000 bytes causes a buffer overrun
6098    # during glob expansion).  Even if it were fixed, the result of this
6099    # check would be larger than it should be.
6100    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6101    ;;
6102
6103  gnu*)
6104    # Under GNU Hurd, this test is not required because there is
6105    # no limit to the length of command line arguments.
6106    # Libtool will interpret -1 as no limit whatsoever
6107    lt_cv_sys_max_cmd_len=-1;
6108    ;;
6109
6110  cygwin* | mingw* | cegcc*)
6111    # On Win9x/ME, this test blows up -- it succeeds, but takes
6112    # about 5 minutes as the teststring grows exponentially.
6113    # Worse, since 9x/ME are not pre-emptively multitasking,
6114    # you end up with a "frozen" computer, even though with patience
6115    # the test eventually succeeds (with a max line length of 256k).
6116    # Instead, let's just punt: use the minimum linelength reported by
6117    # all of the supported platforms: 8192 (on NT/2K/XP).
6118    lt_cv_sys_max_cmd_len=8192;
6119    ;;
6120
6121  mint*)
6122    # On MiNT this can take a long time and run out of memory.
6123    lt_cv_sys_max_cmd_len=8192;
6124    ;;
6125
6126  amigaos*)
6127    # On AmigaOS with pdksh, this test takes hours, literally.
6128    # So we just punt and use a minimum line length of 8192.
6129    lt_cv_sys_max_cmd_len=8192;
6130    ;;
6131
6132  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6133    # This has been around since 386BSD, at least.  Likely further.
6134    if test -x /sbin/sysctl; then
6135      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6136    elif test -x /usr/sbin/sysctl; then
6137      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6138    else
6139      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6140    fi
6141    # And add a safety zone
6142    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6143    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6144    ;;
6145
6146  interix*)
6147    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6148    lt_cv_sys_max_cmd_len=196608
6149    ;;
6150
6151  os2*)
6152    # The test takes a long time on OS/2.
6153    lt_cv_sys_max_cmd_len=8192
6154    ;;
6155
6156  osf*)
6157    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6158    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6159    # nice to cause kernel panics so lets avoid the loop below.
6160    # First set a reasonable default.
6161    lt_cv_sys_max_cmd_len=16384
6162    #
6163    if test -x /sbin/sysconfig; then
6164      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6165        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6166      esac
6167    fi
6168    ;;
6169  sco3.2v5*)
6170    lt_cv_sys_max_cmd_len=102400
6171    ;;
6172  sysv5* | sco5v6* | sysv4.2uw2*)
6173    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6174    if test -n "$kargmax"; then
6175      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6176    else
6177      lt_cv_sys_max_cmd_len=32768
6178    fi
6179    ;;
6180  *)
6181    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6182    if test -n "$lt_cv_sys_max_cmd_len" && \
6183       test undefined != "$lt_cv_sys_max_cmd_len"; then
6184      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6185      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6186    else
6187      # Make teststring a little bigger before we do anything with it.
6188      # a 1K string should be a reasonable start.
6189      for i in 1 2 3 4 5 6 7 8; do
6190        teststring=$teststring$teststring
6191      done
6192      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6193      # If test is not a shell built-in, we'll probably end up computing a
6194      # maximum length that is only half of the actual maximum length, but
6195      # we can't tell.
6196      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6197	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6198	      test 17 != "$i" # 1/2 MB should be enough
6199      do
6200        i=`expr $i + 1`
6201        teststring=$teststring$teststring
6202      done
6203      # Only check the string length outside the loop.
6204      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6205      teststring=
6206      # Add a significant safety factor because C++ compilers can tack on
6207      # massive amounts of additional arguments before passing them to the
6208      # linker.  It appears as though 1/2 is a usable value.
6209      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6210    fi
6211    ;;
6212  esac
6213
6214fi
6215
6216if test -n "$lt_cv_sys_max_cmd_len"; then
6217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6218$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6219else
6220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6221$as_echo "none" >&6; }
6222fi
6223max_cmd_len=$lt_cv_sys_max_cmd_len
6224
6225
6226
6227
6228
6229
6230: ${CP="cp -f"}
6231: ${MV="mv -f"}
6232: ${RM="rm -f"}
6233
6234if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6235  lt_unset=unset
6236else
6237  lt_unset=false
6238fi
6239
6240
6241
6242
6243
6244# test EBCDIC or ASCII
6245case `echo X|tr X '\101'` in
6246 A) # ASCII based system
6247    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6248  lt_SP2NL='tr \040 \012'
6249  lt_NL2SP='tr \015\012 \040\040'
6250  ;;
6251 *) # EBCDIC based system
6252  lt_SP2NL='tr \100 \n'
6253  lt_NL2SP='tr \r\n \100\100'
6254  ;;
6255esac
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6266$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6267if ${lt_cv_to_host_file_cmd+:} false; then :
6268  $as_echo_n "(cached) " >&6
6269else
6270  case $host in
6271  *-*-mingw* )
6272    case $build in
6273      *-*-mingw* ) # actually msys
6274        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6275        ;;
6276      *-*-cygwin* )
6277        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6278        ;;
6279      * ) # otherwise, assume *nix
6280        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6281        ;;
6282    esac
6283    ;;
6284  *-*-cygwin* )
6285    case $build in
6286      *-*-mingw* ) # actually msys
6287        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6288        ;;
6289      *-*-cygwin* )
6290        lt_cv_to_host_file_cmd=func_convert_file_noop
6291        ;;
6292      * ) # otherwise, assume *nix
6293        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6294        ;;
6295    esac
6296    ;;
6297  * ) # unhandled hosts (and "normal" native builds)
6298    lt_cv_to_host_file_cmd=func_convert_file_noop
6299    ;;
6300esac
6301
6302fi
6303
6304to_host_file_cmd=$lt_cv_to_host_file_cmd
6305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6306$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6307
6308
6309
6310
6311
6312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6313$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6314if ${lt_cv_to_tool_file_cmd+:} false; then :
6315  $as_echo_n "(cached) " >&6
6316else
6317  #assume ordinary cross tools, or native build.
6318lt_cv_to_tool_file_cmd=func_convert_file_noop
6319case $host in
6320  *-*-mingw* )
6321    case $build in
6322      *-*-mingw* ) # actually msys
6323        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6324        ;;
6325    esac
6326    ;;
6327esac
6328
6329fi
6330
6331to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6333$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6334
6335
6336
6337
6338
6339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6340$as_echo_n "checking for $LD option to reload object files... " >&6; }
6341if ${lt_cv_ld_reload_flag+:} false; then :
6342  $as_echo_n "(cached) " >&6
6343else
6344  lt_cv_ld_reload_flag='-r'
6345fi
6346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6347$as_echo "$lt_cv_ld_reload_flag" >&6; }
6348reload_flag=$lt_cv_ld_reload_flag
6349case $reload_flag in
6350"" | " "*) ;;
6351*) reload_flag=" $reload_flag" ;;
6352esac
6353reload_cmds='$LD$reload_flag -o $output$reload_objs'
6354case $host_os in
6355  cygwin* | mingw* | pw32* | cegcc*)
6356    if test yes != "$GCC"; then
6357      reload_cmds=false
6358    fi
6359    ;;
6360  darwin*)
6361    if test yes = "$GCC"; then
6362      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6363    else
6364      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6365    fi
6366    ;;
6367esac
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377if test -n "$ac_tool_prefix"; then
6378  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6379set dummy ${ac_tool_prefix}objdump; ac_word=$2
6380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6381$as_echo_n "checking for $ac_word... " >&6; }
6382if ${ac_cv_prog_OBJDUMP+:} false; then :
6383  $as_echo_n "(cached) " >&6
6384else
6385  if test -n "$OBJDUMP"; then
6386  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6387else
6388as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389for as_dir in $PATH
6390do
6391  IFS=$as_save_IFS
6392  test -z "$as_dir" && as_dir=.
6393    for ac_exec_ext in '' $ac_executable_extensions; do
6394  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6395    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6396    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6397    break 2
6398  fi
6399done
6400  done
6401IFS=$as_save_IFS
6402
6403fi
6404fi
6405OBJDUMP=$ac_cv_prog_OBJDUMP
6406if test -n "$OBJDUMP"; then
6407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6408$as_echo "$OBJDUMP" >&6; }
6409else
6410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6411$as_echo "no" >&6; }
6412fi
6413
6414
6415fi
6416if test -z "$ac_cv_prog_OBJDUMP"; then
6417  ac_ct_OBJDUMP=$OBJDUMP
6418  # Extract the first word of "objdump", so it can be a program name with args.
6419set dummy objdump; ac_word=$2
6420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6421$as_echo_n "checking for $ac_word... " >&6; }
6422if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6423  $as_echo_n "(cached) " >&6
6424else
6425  if test -n "$ac_ct_OBJDUMP"; then
6426  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6427else
6428as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6429for as_dir in $PATH
6430do
6431  IFS=$as_save_IFS
6432  test -z "$as_dir" && as_dir=.
6433    for ac_exec_ext in '' $ac_executable_extensions; do
6434  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6435    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6436    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6437    break 2
6438  fi
6439done
6440  done
6441IFS=$as_save_IFS
6442
6443fi
6444fi
6445ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6446if test -n "$ac_ct_OBJDUMP"; then
6447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6448$as_echo "$ac_ct_OBJDUMP" >&6; }
6449else
6450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6451$as_echo "no" >&6; }
6452fi
6453
6454  if test "x$ac_ct_OBJDUMP" = x; then
6455    OBJDUMP="false"
6456  else
6457    case $cross_compiling:$ac_tool_warned in
6458yes:)
6459{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6460$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6461ac_tool_warned=yes ;;
6462esac
6463    OBJDUMP=$ac_ct_OBJDUMP
6464  fi
6465else
6466  OBJDUMP="$ac_cv_prog_OBJDUMP"
6467fi
6468
6469test -z "$OBJDUMP" && OBJDUMP=objdump
6470
6471
6472
6473
6474
6475
6476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6477$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6478if ${lt_cv_deplibs_check_method+:} false; then :
6479  $as_echo_n "(cached) " >&6
6480else
6481  lt_cv_file_magic_cmd='$MAGIC_CMD'
6482lt_cv_file_magic_test_file=
6483lt_cv_deplibs_check_method='unknown'
6484# Need to set the preceding variable on all platforms that support
6485# interlibrary dependencies.
6486# 'none' -- dependencies not supported.
6487# 'unknown' -- same as none, but documents that we really don't know.
6488# 'pass_all' -- all dependencies passed with no checks.
6489# 'test_compile' -- check by making test program.
6490# 'file_magic [[regex]]' -- check by looking for files in library path
6491# that responds to the $file_magic_cmd with a given extended regex.
6492# If you have 'file' or equivalent on your system and you're not sure
6493# whether 'pass_all' will *always* work, you probably want this one.
6494
6495case $host_os in
6496aix[4-9]*)
6497  lt_cv_deplibs_check_method=pass_all
6498  ;;
6499
6500beos*)
6501  lt_cv_deplibs_check_method=pass_all
6502  ;;
6503
6504bsdi[45]*)
6505  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6506  lt_cv_file_magic_cmd='/usr/bin/file -L'
6507  lt_cv_file_magic_test_file=/shlib/libc.so
6508  ;;
6509
6510cygwin*)
6511  # func_win32_libid is a shell function defined in ltmain.sh
6512  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6513  lt_cv_file_magic_cmd='func_win32_libid'
6514  ;;
6515
6516mingw* | pw32*)
6517  # Base MSYS/MinGW do not provide the 'file' command needed by
6518  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6519  # unless we find 'file', for example because we are cross-compiling.
6520  if ( file / ) >/dev/null 2>&1; then
6521    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6522    lt_cv_file_magic_cmd='func_win32_libid'
6523  else
6524    # Keep this pattern in sync with the one in func_win32_libid.
6525    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6526    lt_cv_file_magic_cmd='$OBJDUMP -f'
6527  fi
6528  ;;
6529
6530cegcc*)
6531  # use the weaker test based on 'objdump'. See mingw*.
6532  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6533  lt_cv_file_magic_cmd='$OBJDUMP -f'
6534  ;;
6535
6536darwin* | rhapsody*)
6537  lt_cv_deplibs_check_method=pass_all
6538  ;;
6539
6540freebsd* | dragonfly*)
6541  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6542    case $host_cpu in
6543    i*86 )
6544      # Not sure whether the presence of OpenBSD here was a mistake.
6545      # Let's accept both of them until this is cleared up.
6546      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6547      lt_cv_file_magic_cmd=/usr/bin/file
6548      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6549      ;;
6550    esac
6551  else
6552    lt_cv_deplibs_check_method=pass_all
6553  fi
6554  ;;
6555
6556haiku*)
6557  lt_cv_deplibs_check_method=pass_all
6558  ;;
6559
6560hpux10.20* | hpux11*)
6561  lt_cv_file_magic_cmd=/usr/bin/file
6562  case $host_cpu in
6563  ia64*)
6564    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6565    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6566    ;;
6567  hppa*64*)
6568    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]'
6569    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6570    ;;
6571  *)
6572    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6573    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6574    ;;
6575  esac
6576  ;;
6577
6578interix[3-9]*)
6579  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6580  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6581  ;;
6582
6583irix5* | irix6* | nonstopux*)
6584  case $LD in
6585  *-32|*"-32 ") libmagic=32-bit;;
6586  *-n32|*"-n32 ") libmagic=N32;;
6587  *-64|*"-64 ") libmagic=64-bit;;
6588  *) libmagic=never-match;;
6589  esac
6590  lt_cv_deplibs_check_method=pass_all
6591  ;;
6592
6593# This must be glibc/ELF.
6594linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6595  lt_cv_deplibs_check_method=pass_all
6596  ;;
6597
6598netbsd* | netbsdelf*-gnu)
6599  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6600    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6601  else
6602    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6603  fi
6604  ;;
6605
6606newos6*)
6607  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6608  lt_cv_file_magic_cmd=/usr/bin/file
6609  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6610  ;;
6611
6612*nto* | *qnx*)
6613  lt_cv_deplibs_check_method=pass_all
6614  ;;
6615
6616openbsd* | bitrig*)
6617  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6618    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6619  else
6620    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6621  fi
6622  ;;
6623
6624osf3* | osf4* | osf5*)
6625  lt_cv_deplibs_check_method=pass_all
6626  ;;
6627
6628rdos*)
6629  lt_cv_deplibs_check_method=pass_all
6630  ;;
6631
6632solaris*)
6633  lt_cv_deplibs_check_method=pass_all
6634  ;;
6635
6636sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6637  lt_cv_deplibs_check_method=pass_all
6638  ;;
6639
6640sysv4 | sysv4.3*)
6641  case $host_vendor in
6642  motorola)
6643    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]'
6644    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6645    ;;
6646  ncr)
6647    lt_cv_deplibs_check_method=pass_all
6648    ;;
6649  sequent)
6650    lt_cv_file_magic_cmd='/bin/file'
6651    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6652    ;;
6653  sni)
6654    lt_cv_file_magic_cmd='/bin/file'
6655    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6656    lt_cv_file_magic_test_file=/lib/libc.so
6657    ;;
6658  siemens)
6659    lt_cv_deplibs_check_method=pass_all
6660    ;;
6661  pc)
6662    lt_cv_deplibs_check_method=pass_all
6663    ;;
6664  esac
6665  ;;
6666
6667tpf*)
6668  lt_cv_deplibs_check_method=pass_all
6669  ;;
6670os2*)
6671  lt_cv_deplibs_check_method=pass_all
6672  ;;
6673esac
6674
6675fi
6676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6677$as_echo "$lt_cv_deplibs_check_method" >&6; }
6678
6679file_magic_glob=
6680want_nocaseglob=no
6681if test "$build" = "$host"; then
6682  case $host_os in
6683  mingw* | pw32*)
6684    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6685      want_nocaseglob=yes
6686    else
6687      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6688    fi
6689    ;;
6690  esac
6691fi
6692
6693file_magic_cmd=$lt_cv_file_magic_cmd
6694deplibs_check_method=$lt_cv_deplibs_check_method
6695test -z "$deplibs_check_method" && deplibs_check_method=unknown
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718if test -n "$ac_tool_prefix"; then
6719  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6720set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6722$as_echo_n "checking for $ac_word... " >&6; }
6723if ${ac_cv_prog_DLLTOOL+:} false; then :
6724  $as_echo_n "(cached) " >&6
6725else
6726  if test -n "$DLLTOOL"; then
6727  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6728else
6729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6730for as_dir in $PATH
6731do
6732  IFS=$as_save_IFS
6733  test -z "$as_dir" && as_dir=.
6734    for ac_exec_ext in '' $ac_executable_extensions; do
6735  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6736    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6737    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6738    break 2
6739  fi
6740done
6741  done
6742IFS=$as_save_IFS
6743
6744fi
6745fi
6746DLLTOOL=$ac_cv_prog_DLLTOOL
6747if test -n "$DLLTOOL"; then
6748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6749$as_echo "$DLLTOOL" >&6; }
6750else
6751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6752$as_echo "no" >&6; }
6753fi
6754
6755
6756fi
6757if test -z "$ac_cv_prog_DLLTOOL"; then
6758  ac_ct_DLLTOOL=$DLLTOOL
6759  # Extract the first word of "dlltool", so it can be a program name with args.
6760set dummy dlltool; ac_word=$2
6761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6762$as_echo_n "checking for $ac_word... " >&6; }
6763if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6764  $as_echo_n "(cached) " >&6
6765else
6766  if test -n "$ac_ct_DLLTOOL"; then
6767  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6768else
6769as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6770for as_dir in $PATH
6771do
6772  IFS=$as_save_IFS
6773  test -z "$as_dir" && as_dir=.
6774    for ac_exec_ext in '' $ac_executable_extensions; do
6775  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6776    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6777    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6778    break 2
6779  fi
6780done
6781  done
6782IFS=$as_save_IFS
6783
6784fi
6785fi
6786ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6787if test -n "$ac_ct_DLLTOOL"; then
6788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6789$as_echo "$ac_ct_DLLTOOL" >&6; }
6790else
6791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6792$as_echo "no" >&6; }
6793fi
6794
6795  if test "x$ac_ct_DLLTOOL" = x; then
6796    DLLTOOL="false"
6797  else
6798    case $cross_compiling:$ac_tool_warned in
6799yes:)
6800{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6801$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6802ac_tool_warned=yes ;;
6803esac
6804    DLLTOOL=$ac_ct_DLLTOOL
6805  fi
6806else
6807  DLLTOOL="$ac_cv_prog_DLLTOOL"
6808fi
6809
6810test -z "$DLLTOOL" && DLLTOOL=dlltool
6811
6812
6813
6814
6815
6816
6817
6818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6819$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6820if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6821  $as_echo_n "(cached) " >&6
6822else
6823  lt_cv_sharedlib_from_linklib_cmd='unknown'
6824
6825case $host_os in
6826cygwin* | mingw* | pw32* | cegcc*)
6827  # two different shell functions defined in ltmain.sh;
6828  # decide which one to use based on capabilities of $DLLTOOL
6829  case `$DLLTOOL --help 2>&1` in
6830  *--identify-strict*)
6831    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6832    ;;
6833  *)
6834    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6835    ;;
6836  esac
6837  ;;
6838*)
6839  # fallback: assume linklib IS sharedlib
6840  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6841  ;;
6842esac
6843
6844fi
6845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6846$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6847sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6848test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6849
6850
6851
6852
6853
6854
6855
6856
6857if test -n "$ac_tool_prefix"; then
6858  for ac_prog in ar
6859  do
6860    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6861set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6863$as_echo_n "checking for $ac_word... " >&6; }
6864if ${ac_cv_prog_AR+:} false; then :
6865  $as_echo_n "(cached) " >&6
6866else
6867  if test -n "$AR"; then
6868  ac_cv_prog_AR="$AR" # Let the user override the test.
6869else
6870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6871for as_dir in $PATH
6872do
6873  IFS=$as_save_IFS
6874  test -z "$as_dir" && as_dir=.
6875    for ac_exec_ext in '' $ac_executable_extensions; do
6876  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6877    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6878    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6879    break 2
6880  fi
6881done
6882  done
6883IFS=$as_save_IFS
6884
6885fi
6886fi
6887AR=$ac_cv_prog_AR
6888if test -n "$AR"; then
6889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6890$as_echo "$AR" >&6; }
6891else
6892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6893$as_echo "no" >&6; }
6894fi
6895
6896
6897    test -n "$AR" && break
6898  done
6899fi
6900if test -z "$AR"; then
6901  ac_ct_AR=$AR
6902  for ac_prog in ar
6903do
6904  # Extract the first word of "$ac_prog", so it can be a program name with args.
6905set dummy $ac_prog; ac_word=$2
6906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6907$as_echo_n "checking for $ac_word... " >&6; }
6908if ${ac_cv_prog_ac_ct_AR+:} false; then :
6909  $as_echo_n "(cached) " >&6
6910else
6911  if test -n "$ac_ct_AR"; then
6912  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6913else
6914as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6915for as_dir in $PATH
6916do
6917  IFS=$as_save_IFS
6918  test -z "$as_dir" && as_dir=.
6919    for ac_exec_ext in '' $ac_executable_extensions; do
6920  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6921    ac_cv_prog_ac_ct_AR="$ac_prog"
6922    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6923    break 2
6924  fi
6925done
6926  done
6927IFS=$as_save_IFS
6928
6929fi
6930fi
6931ac_ct_AR=$ac_cv_prog_ac_ct_AR
6932if test -n "$ac_ct_AR"; then
6933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6934$as_echo "$ac_ct_AR" >&6; }
6935else
6936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6937$as_echo "no" >&6; }
6938fi
6939
6940
6941  test -n "$ac_ct_AR" && break
6942done
6943
6944  if test "x$ac_ct_AR" = x; then
6945    AR="false"
6946  else
6947    case $cross_compiling:$ac_tool_warned in
6948yes:)
6949{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6950$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6951ac_tool_warned=yes ;;
6952esac
6953    AR=$ac_ct_AR
6954  fi
6955fi
6956
6957: ${AR=ar}
6958: ${AR_FLAGS=cru}
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6971$as_echo_n "checking for archiver @FILE support... " >&6; }
6972if ${lt_cv_ar_at_file+:} false; then :
6973  $as_echo_n "(cached) " >&6
6974else
6975  lt_cv_ar_at_file=no
6976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6977/* end confdefs.h.  */
6978
6979int
6980main ()
6981{
6982
6983  ;
6984  return 0;
6985}
6986_ACEOF
6987if ac_fn_c_try_compile "$LINENO"; then :
6988  echo conftest.$ac_objext > conftest.lst
6989      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6990      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6991  (eval $lt_ar_try) 2>&5
6992  ac_status=$?
6993  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6994  test $ac_status = 0; }
6995      if test 0 -eq "$ac_status"; then
6996	# Ensure the archiver fails upon bogus file names.
6997	rm -f conftest.$ac_objext libconftest.a
6998	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6999  (eval $lt_ar_try) 2>&5
7000  ac_status=$?
7001  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7002  test $ac_status = 0; }
7003	if test 0 -ne "$ac_status"; then
7004          lt_cv_ar_at_file=@
7005        fi
7006      fi
7007      rm -f conftest.* libconftest.a
7008
7009fi
7010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7011
7012fi
7013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7014$as_echo "$lt_cv_ar_at_file" >&6; }
7015
7016if test no = "$lt_cv_ar_at_file"; then
7017  archiver_list_spec=
7018else
7019  archiver_list_spec=$lt_cv_ar_at_file
7020fi
7021
7022
7023
7024
7025
7026
7027
7028if test -n "$ac_tool_prefix"; then
7029  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7030set dummy ${ac_tool_prefix}strip; ac_word=$2
7031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7032$as_echo_n "checking for $ac_word... " >&6; }
7033if ${ac_cv_prog_STRIP+:} false; then :
7034  $as_echo_n "(cached) " >&6
7035else
7036  if test -n "$STRIP"; then
7037  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7038else
7039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040for as_dir in $PATH
7041do
7042  IFS=$as_save_IFS
7043  test -z "$as_dir" && as_dir=.
7044    for ac_exec_ext in '' $ac_executable_extensions; do
7045  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7046    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7047    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7048    break 2
7049  fi
7050done
7051  done
7052IFS=$as_save_IFS
7053
7054fi
7055fi
7056STRIP=$ac_cv_prog_STRIP
7057if test -n "$STRIP"; then
7058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7059$as_echo "$STRIP" >&6; }
7060else
7061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7062$as_echo "no" >&6; }
7063fi
7064
7065
7066fi
7067if test -z "$ac_cv_prog_STRIP"; then
7068  ac_ct_STRIP=$STRIP
7069  # Extract the first word of "strip", so it can be a program name with args.
7070set dummy strip; ac_word=$2
7071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7072$as_echo_n "checking for $ac_word... " >&6; }
7073if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7074  $as_echo_n "(cached) " >&6
7075else
7076  if test -n "$ac_ct_STRIP"; then
7077  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7078else
7079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080for as_dir in $PATH
7081do
7082  IFS=$as_save_IFS
7083  test -z "$as_dir" && as_dir=.
7084    for ac_exec_ext in '' $ac_executable_extensions; do
7085  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7086    ac_cv_prog_ac_ct_STRIP="strip"
7087    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7088    break 2
7089  fi
7090done
7091  done
7092IFS=$as_save_IFS
7093
7094fi
7095fi
7096ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7097if test -n "$ac_ct_STRIP"; then
7098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7099$as_echo "$ac_ct_STRIP" >&6; }
7100else
7101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7102$as_echo "no" >&6; }
7103fi
7104
7105  if test "x$ac_ct_STRIP" = x; then
7106    STRIP=":"
7107  else
7108    case $cross_compiling:$ac_tool_warned in
7109yes:)
7110{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7111$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7112ac_tool_warned=yes ;;
7113esac
7114    STRIP=$ac_ct_STRIP
7115  fi
7116else
7117  STRIP="$ac_cv_prog_STRIP"
7118fi
7119
7120test -z "$STRIP" && STRIP=:
7121
7122
7123
7124
7125
7126
7127if test -n "$ac_tool_prefix"; then
7128  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7129set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131$as_echo_n "checking for $ac_word... " >&6; }
7132if ${ac_cv_prog_RANLIB+:} false; then :
7133  $as_echo_n "(cached) " >&6
7134else
7135  if test -n "$RANLIB"; then
7136  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7137else
7138as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139for as_dir in $PATH
7140do
7141  IFS=$as_save_IFS
7142  test -z "$as_dir" && as_dir=.
7143    for ac_exec_ext in '' $ac_executable_extensions; do
7144  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7145    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7146    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7147    break 2
7148  fi
7149done
7150  done
7151IFS=$as_save_IFS
7152
7153fi
7154fi
7155RANLIB=$ac_cv_prog_RANLIB
7156if test -n "$RANLIB"; then
7157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7158$as_echo "$RANLIB" >&6; }
7159else
7160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161$as_echo "no" >&6; }
7162fi
7163
7164
7165fi
7166if test -z "$ac_cv_prog_RANLIB"; then
7167  ac_ct_RANLIB=$RANLIB
7168  # Extract the first word of "ranlib", so it can be a program name with args.
7169set dummy ranlib; ac_word=$2
7170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171$as_echo_n "checking for $ac_word... " >&6; }
7172if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7173  $as_echo_n "(cached) " >&6
7174else
7175  if test -n "$ac_ct_RANLIB"; then
7176  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7177else
7178as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179for as_dir in $PATH
7180do
7181  IFS=$as_save_IFS
7182  test -z "$as_dir" && as_dir=.
7183    for ac_exec_ext in '' $ac_executable_extensions; do
7184  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7185    ac_cv_prog_ac_ct_RANLIB="ranlib"
7186    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7187    break 2
7188  fi
7189done
7190  done
7191IFS=$as_save_IFS
7192
7193fi
7194fi
7195ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7196if test -n "$ac_ct_RANLIB"; then
7197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7198$as_echo "$ac_ct_RANLIB" >&6; }
7199else
7200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201$as_echo "no" >&6; }
7202fi
7203
7204  if test "x$ac_ct_RANLIB" = x; then
7205    RANLIB=":"
7206  else
7207    case $cross_compiling:$ac_tool_warned in
7208yes:)
7209{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7210$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7211ac_tool_warned=yes ;;
7212esac
7213    RANLIB=$ac_ct_RANLIB
7214  fi
7215else
7216  RANLIB="$ac_cv_prog_RANLIB"
7217fi
7218
7219test -z "$RANLIB" && RANLIB=:
7220
7221
7222
7223
7224
7225
7226# Determine commands to create old-style static archives.
7227old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7228old_postinstall_cmds='chmod 644 $oldlib'
7229old_postuninstall_cmds=
7230
7231if test -n "$RANLIB"; then
7232  case $host_os in
7233  bitrig* | openbsd*)
7234    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7235    ;;
7236  *)
7237    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7238    ;;
7239  esac
7240  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7241fi
7242
7243case $host_os in
7244  darwin*)
7245    lock_old_archive_extraction=yes ;;
7246  *)
7247    lock_old_archive_extraction=no ;;
7248esac
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288# If no C compiler was specified, use CC.
7289LTCC=${LTCC-"$CC"}
7290
7291# If no C compiler flags were specified, use CFLAGS.
7292LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7293
7294# Allow CC to be a program name with arguments.
7295compiler=$CC
7296
7297
7298# Check for command to grab the raw symbol name followed by C symbol from nm.
7299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7300$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7301if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7302  $as_echo_n "(cached) " >&6
7303else
7304
7305# These are sane defaults that work on at least a few old systems.
7306# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7307
7308# Character class describing NM global symbol codes.
7309symcode='[BCDEGRST]'
7310
7311# Regexp to match symbols that can be accessed directly from C.
7312sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7313
7314# Define system-specific variables.
7315case $host_os in
7316aix*)
7317  symcode='[BCDT]'
7318  ;;
7319cygwin* | mingw* | pw32* | cegcc*)
7320  symcode='[ABCDGISTW]'
7321  ;;
7322hpux*)
7323  if test ia64 = "$host_cpu"; then
7324    symcode='[ABCDEGRST]'
7325  fi
7326  ;;
7327irix* | nonstopux*)
7328  symcode='[BCDEGRST]'
7329  ;;
7330osf*)
7331  symcode='[BCDEGQRST]'
7332  ;;
7333solaris*)
7334  symcode='[BDRT]'
7335  ;;
7336sco3.2v5*)
7337  symcode='[DT]'
7338  ;;
7339sysv4.2uw2*)
7340  symcode='[DT]'
7341  ;;
7342sysv5* | sco5v6* | unixware* | OpenUNIX*)
7343  symcode='[ABDT]'
7344  ;;
7345sysv4)
7346  symcode='[DFNSTU]'
7347  ;;
7348esac
7349
7350# If we're using GNU nm, then use its standard symbol codes.
7351case `$NM -V 2>&1` in
7352*GNU* | *'with BFD'*)
7353  symcode='[ABCDGIRSTW]' ;;
7354esac
7355
7356if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7357  # Gets list of data symbols to import.
7358  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7359  # Adjust the below global symbol transforms to fixup imported variables.
7360  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7361  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7362  lt_c_name_lib_hook="\
7363  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7364  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7365else
7366  # Disable hooks by default.
7367  lt_cv_sys_global_symbol_to_import=
7368  lt_cdecl_hook=
7369  lt_c_name_hook=
7370  lt_c_name_lib_hook=
7371fi
7372
7373# Transform an extracted symbol line into a proper C declaration.
7374# Some systems (esp. on ia64) link data and code symbols differently,
7375# so use this general approach.
7376lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7377$lt_cdecl_hook\
7378" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7379" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7380
7381# Transform an extracted symbol line into symbol name and symbol address
7382lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7383$lt_c_name_hook\
7384" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7385" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7386
7387# Transform an extracted symbol line into symbol name with lib prefix and
7388# symbol address.
7389lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7390$lt_c_name_lib_hook\
7391" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7392" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7393" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7394
7395# Handle CRLF in mingw tool chain
7396opt_cr=
7397case $build_os in
7398mingw*)
7399  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7400  ;;
7401esac
7402
7403# Try without a prefix underscore, then with it.
7404for ac_symprfx in "" "_"; do
7405
7406  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7407  symxfrm="\\1 $ac_symprfx\\2 \\2"
7408
7409  # Write the raw and C identifiers.
7410  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7411    # Fake it for dumpbin and say T for any non-static function,
7412    # D for any global variable and I for any imported variable.
7413    # Also find C++ and __fastcall symbols from MSVC++,
7414    # which start with @ or ?.
7415    lt_cv_sys_global_symbol_pipe="$AWK '"\
7416"     {last_section=section; section=\$ 3};"\
7417"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7418"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7419"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7420"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7421"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7422"     \$ 0!~/External *\|/{next};"\
7423"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7424"     {if(hide[section]) next};"\
7425"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7426"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7427"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7428"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7429"     ' prfx=^$ac_symprfx"
7430  else
7431    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7432  fi
7433  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7434
7435  # Check to see that the pipe works correctly.
7436  pipe_works=no
7437
7438  rm -f conftest*
7439  cat > conftest.$ac_ext <<_LT_EOF
7440#ifdef __cplusplus
7441extern "C" {
7442#endif
7443char nm_test_var;
7444void nm_test_func(void);
7445void nm_test_func(void){}
7446#ifdef __cplusplus
7447}
7448#endif
7449int main(){nm_test_var='a';nm_test_func();return(0);}
7450_LT_EOF
7451
7452  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7453  (eval $ac_compile) 2>&5
7454  ac_status=$?
7455  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7456  test $ac_status = 0; }; then
7457    # Now try to grab the symbols.
7458    nlist=conftest.nm
7459    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7460  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7461  ac_status=$?
7462  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7463  test $ac_status = 0; } && test -s "$nlist"; then
7464      # Try sorting and uniquifying the output.
7465      if sort "$nlist" | uniq > "$nlist"T; then
7466	mv -f "$nlist"T "$nlist"
7467      else
7468	rm -f "$nlist"T
7469      fi
7470
7471      # Make sure that we snagged all the symbols we need.
7472      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7473	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7474	  cat <<_LT_EOF > conftest.$ac_ext
7475/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7476#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7477/* DATA imports from DLLs on WIN32 can't be const, because runtime
7478   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7479# define LT_DLSYM_CONST
7480#elif defined __osf__
7481/* This system does not cope well with relocations in const data.  */
7482# define LT_DLSYM_CONST
7483#else
7484# define LT_DLSYM_CONST const
7485#endif
7486
7487#ifdef __cplusplus
7488extern "C" {
7489#endif
7490
7491_LT_EOF
7492	  # Now generate the symbol file.
7493	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7494
7495	  cat <<_LT_EOF >> conftest.$ac_ext
7496
7497/* The mapping between symbol names and symbols.  */
7498LT_DLSYM_CONST struct {
7499  const char *name;
7500  void       *address;
7501}
7502lt__PROGRAM__LTX_preloaded_symbols[] =
7503{
7504  { "@PROGRAM@", (void *) 0 },
7505_LT_EOF
7506	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7507	  cat <<\_LT_EOF >> conftest.$ac_ext
7508  {0, (void *) 0}
7509};
7510
7511/* This works around a problem in FreeBSD linker */
7512#ifdef FREEBSD_WORKAROUND
7513static const void *lt_preloaded_setup() {
7514  return lt__PROGRAM__LTX_preloaded_symbols;
7515}
7516#endif
7517
7518#ifdef __cplusplus
7519}
7520#endif
7521_LT_EOF
7522	  # Now try linking the two files.
7523	  mv conftest.$ac_objext conftstm.$ac_objext
7524	  lt_globsym_save_LIBS=$LIBS
7525	  lt_globsym_save_CFLAGS=$CFLAGS
7526	  LIBS=conftstm.$ac_objext
7527	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7528	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7529  (eval $ac_link) 2>&5
7530  ac_status=$?
7531  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7532  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7533	    pipe_works=yes
7534	  fi
7535	  LIBS=$lt_globsym_save_LIBS
7536	  CFLAGS=$lt_globsym_save_CFLAGS
7537	else
7538	  echo "cannot find nm_test_func in $nlist" >&5
7539	fi
7540      else
7541	echo "cannot find nm_test_var in $nlist" >&5
7542      fi
7543    else
7544      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7545    fi
7546  else
7547    echo "$progname: failed program was:" >&5
7548    cat conftest.$ac_ext >&5
7549  fi
7550  rm -rf conftest* conftst*
7551
7552  # Do not use the global_symbol_pipe unless it works.
7553  if test yes = "$pipe_works"; then
7554    break
7555  else
7556    lt_cv_sys_global_symbol_pipe=
7557  fi
7558done
7559
7560fi
7561
7562if test -z "$lt_cv_sys_global_symbol_pipe"; then
7563  lt_cv_sys_global_symbol_to_cdecl=
7564fi
7565if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7567$as_echo "failed" >&6; }
7568else
7569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7570$as_echo "ok" >&6; }
7571fi
7572
7573# Response file support.
7574if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7575  nm_file_list_spec='@'
7576elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7577  nm_file_list_spec='@'
7578fi
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7617$as_echo_n "checking for sysroot... " >&6; }
7618
7619# Check whether --with-sysroot was given.
7620if test "${with_sysroot+set}" = set; then :
7621  withval=$with_sysroot;
7622else
7623  with_sysroot=no
7624fi
7625
7626
7627lt_sysroot=
7628case $with_sysroot in #(
7629 yes)
7630   if test yes = "$GCC"; then
7631     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7632   fi
7633   ;; #(
7634 /*)
7635   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7636   ;; #(
7637 no|'')
7638   ;; #(
7639 *)
7640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7641$as_echo "$with_sysroot" >&6; }
7642   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7643   ;;
7644esac
7645
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7647$as_echo "${lt_sysroot:-no}" >&6; }
7648
7649
7650
7651
7652
7653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7654$as_echo_n "checking for a working dd... " >&6; }
7655if ${ac_cv_path_lt_DD+:} false; then :
7656  $as_echo_n "(cached) " >&6
7657else
7658  printf 0123456789abcdef0123456789abcdef >conftest.i
7659cat conftest.i conftest.i >conftest2.i
7660: ${lt_DD:=$DD}
7661if test -z "$lt_DD"; then
7662  ac_path_lt_DD_found=false
7663  # Loop through the user's path and test for each of PROGNAME-LIST
7664  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7665for as_dir in $PATH
7666do
7667  IFS=$as_save_IFS
7668  test -z "$as_dir" && as_dir=.
7669    for ac_prog in dd; do
7670    for ac_exec_ext in '' $ac_executable_extensions; do
7671      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7672      as_fn_executable_p "$ac_path_lt_DD" || continue
7673if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7674  cmp -s conftest.i conftest.out \
7675  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7676fi
7677      $ac_path_lt_DD_found && break 3
7678    done
7679  done
7680  done
7681IFS=$as_save_IFS
7682  if test -z "$ac_cv_path_lt_DD"; then
7683    :
7684  fi
7685else
7686  ac_cv_path_lt_DD=$lt_DD
7687fi
7688
7689rm -f conftest.i conftest2.i conftest.out
7690fi
7691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7692$as_echo "$ac_cv_path_lt_DD" >&6; }
7693
7694
7695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7696$as_echo_n "checking how to truncate binary pipes... " >&6; }
7697if ${lt_cv_truncate_bin+:} false; then :
7698  $as_echo_n "(cached) " >&6
7699else
7700  printf 0123456789abcdef0123456789abcdef >conftest.i
7701cat conftest.i conftest.i >conftest2.i
7702lt_cv_truncate_bin=
7703if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7704  cmp -s conftest.i conftest.out \
7705  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7706fi
7707rm -f conftest.i conftest2.i conftest.out
7708test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7709fi
7710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7711$as_echo "$lt_cv_truncate_bin" >&6; }
7712
7713
7714
7715
7716
7717
7718
7719# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7720func_cc_basename ()
7721{
7722    for cc_temp in $*""; do
7723      case $cc_temp in
7724        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7725        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7726        \-*) ;;
7727        *) break;;
7728      esac
7729    done
7730    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7731}
7732
7733# Check whether --enable-libtool-lock was given.
7734if test "${enable_libtool_lock+set}" = set; then :
7735  enableval=$enable_libtool_lock;
7736fi
7737
7738test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7739
7740# Some flags need to be propagated to the compiler or linker for good
7741# libtool support.
7742case $host in
7743ia64-*-hpux*)
7744  # Find out what ABI is being produced by ac_compile, and set mode
7745  # options accordingly.
7746  echo 'int i;' > conftest.$ac_ext
7747  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7748  (eval $ac_compile) 2>&5
7749  ac_status=$?
7750  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7751  test $ac_status = 0; }; then
7752    case `/usr/bin/file conftest.$ac_objext` in
7753      *ELF-32*)
7754	HPUX_IA64_MODE=32
7755	;;
7756      *ELF-64*)
7757	HPUX_IA64_MODE=64
7758	;;
7759    esac
7760  fi
7761  rm -rf conftest*
7762  ;;
7763*-*-irix6*)
7764  # Find out what ABI is being produced by ac_compile, and set linker
7765  # options accordingly.
7766  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7767  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7768  (eval $ac_compile) 2>&5
7769  ac_status=$?
7770  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7771  test $ac_status = 0; }; then
7772    if test yes = "$lt_cv_prog_gnu_ld"; then
7773      case `/usr/bin/file conftest.$ac_objext` in
7774	*32-bit*)
7775	  LD="${LD-ld} -melf32bsmip"
7776	  ;;
7777	*N32*)
7778	  LD="${LD-ld} -melf32bmipn32"
7779	  ;;
7780	*64-bit*)
7781	  LD="${LD-ld} -melf64bmip"
7782	;;
7783      esac
7784    else
7785      case `/usr/bin/file conftest.$ac_objext` in
7786	*32-bit*)
7787	  LD="${LD-ld} -32"
7788	  ;;
7789	*N32*)
7790	  LD="${LD-ld} -n32"
7791	  ;;
7792	*64-bit*)
7793	  LD="${LD-ld} -64"
7794	  ;;
7795      esac
7796    fi
7797  fi
7798  rm -rf conftest*
7799  ;;
7800
7801mips64*-*linux*)
7802  # Find out what ABI is being produced by ac_compile, and set linker
7803  # options accordingly.
7804  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7805  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7806  (eval $ac_compile) 2>&5
7807  ac_status=$?
7808  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7809  test $ac_status = 0; }; then
7810    emul=elf
7811    case `/usr/bin/file conftest.$ac_objext` in
7812      *32-bit*)
7813	emul="${emul}32"
7814	;;
7815      *64-bit*)
7816	emul="${emul}64"
7817	;;
7818    esac
7819    case `/usr/bin/file conftest.$ac_objext` in
7820      *MSB*)
7821	emul="${emul}btsmip"
7822	;;
7823      *LSB*)
7824	emul="${emul}ltsmip"
7825	;;
7826    esac
7827    case `/usr/bin/file conftest.$ac_objext` in
7828      *N32*)
7829	emul="${emul}n32"
7830	;;
7831    esac
7832    LD="${LD-ld} -m $emul"
7833  fi
7834  rm -rf conftest*
7835  ;;
7836
7837x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7838s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7839  # Find out what ABI is being produced by ac_compile, and set linker
7840  # options accordingly.  Note that the listed cases only cover the
7841  # situations where additional linker options are needed (such as when
7842  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7843  # vice versa); the common cases where no linker options are needed do
7844  # not appear in the list.
7845  echo 'int i;' > conftest.$ac_ext
7846  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7847  (eval $ac_compile) 2>&5
7848  ac_status=$?
7849  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7850  test $ac_status = 0; }; then
7851    case `/usr/bin/file conftest.o` in
7852      *32-bit*)
7853	case $host in
7854	  x86_64-*kfreebsd*-gnu)
7855	    LD="${LD-ld} -m elf_i386_fbsd"
7856	    ;;
7857	  x86_64-*linux*)
7858	    case `/usr/bin/file conftest.o` in
7859	      *x86-64*)
7860		LD="${LD-ld} -m elf32_x86_64"
7861		;;
7862	      *)
7863		LD="${LD-ld} -m elf_i386"
7864		;;
7865	    esac
7866	    ;;
7867	  powerpc64le-*linux*)
7868	    LD="${LD-ld} -m elf32lppclinux"
7869	    ;;
7870	  powerpc64-*linux*)
7871	    LD="${LD-ld} -m elf32ppclinux"
7872	    ;;
7873	  s390x-*linux*)
7874	    LD="${LD-ld} -m elf_s390"
7875	    ;;
7876	  sparc64-*linux*)
7877	    LD="${LD-ld} -m elf32_sparc"
7878	    ;;
7879	esac
7880	;;
7881      *64-bit*)
7882	case $host in
7883	  x86_64-*kfreebsd*-gnu)
7884	    LD="${LD-ld} -m elf_x86_64_fbsd"
7885	    ;;
7886	  x86_64-*linux*)
7887	    LD="${LD-ld} -m elf_x86_64"
7888	    ;;
7889	  powerpcle-*linux*)
7890	    LD="${LD-ld} -m elf64lppc"
7891	    ;;
7892	  powerpc-*linux*)
7893	    LD="${LD-ld} -m elf64ppc"
7894	    ;;
7895	  s390*-*linux*|s390*-*tpf*)
7896	    LD="${LD-ld} -m elf64_s390"
7897	    ;;
7898	  sparc*-*linux*)
7899	    LD="${LD-ld} -m elf64_sparc"
7900	    ;;
7901	esac
7902	;;
7903    esac
7904  fi
7905  rm -rf conftest*
7906  ;;
7907
7908*-*-sco3.2v5*)
7909  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7910  SAVE_CFLAGS=$CFLAGS
7911  CFLAGS="$CFLAGS -belf"
7912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7913$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7914if ${lt_cv_cc_needs_belf+:} false; then :
7915  $as_echo_n "(cached) " >&6
7916else
7917  ac_ext=c
7918ac_cpp='$CPP $CPPFLAGS'
7919ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7920ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7921ac_compiler_gnu=$ac_cv_c_compiler_gnu
7922
7923     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7924/* end confdefs.h.  */
7925
7926int
7927main ()
7928{
7929
7930  ;
7931  return 0;
7932}
7933_ACEOF
7934if ac_fn_c_try_link "$LINENO"; then :
7935  lt_cv_cc_needs_belf=yes
7936else
7937  lt_cv_cc_needs_belf=no
7938fi
7939rm -f core conftest.err conftest.$ac_objext \
7940    conftest$ac_exeext conftest.$ac_ext
7941     ac_ext=c
7942ac_cpp='$CPP $CPPFLAGS'
7943ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7944ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7945ac_compiler_gnu=$ac_cv_c_compiler_gnu
7946
7947fi
7948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7949$as_echo "$lt_cv_cc_needs_belf" >&6; }
7950  if test yes != "$lt_cv_cc_needs_belf"; then
7951    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7952    CFLAGS=$SAVE_CFLAGS
7953  fi
7954  ;;
7955*-*solaris*)
7956  # Find out what ABI is being produced by ac_compile, and set linker
7957  # options accordingly.
7958  echo 'int i;' > conftest.$ac_ext
7959  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7960  (eval $ac_compile) 2>&5
7961  ac_status=$?
7962  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7963  test $ac_status = 0; }; then
7964    case `/usr/bin/file conftest.o` in
7965    *64-bit*)
7966      case $lt_cv_prog_gnu_ld in
7967      yes*)
7968        case $host in
7969        i?86-*-solaris*|x86_64-*-solaris*)
7970          LD="${LD-ld} -m elf_x86_64"
7971          ;;
7972        sparc*-*-solaris*)
7973          LD="${LD-ld} -m elf64_sparc"
7974          ;;
7975        esac
7976        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7977        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7978          LD=${LD-ld}_sol2
7979        fi
7980        ;;
7981      *)
7982	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7983	  LD="${LD-ld} -64"
7984	fi
7985	;;
7986      esac
7987      ;;
7988    esac
7989  fi
7990  rm -rf conftest*
7991  ;;
7992esac
7993
7994need_locks=$enable_libtool_lock
7995
7996if test -n "$ac_tool_prefix"; then
7997  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7998set dummy ${ac_tool_prefix}mt; ac_word=$2
7999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8000$as_echo_n "checking for $ac_word... " >&6; }
8001if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8002  $as_echo_n "(cached) " >&6
8003else
8004  if test -n "$MANIFEST_TOOL"; then
8005  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8006else
8007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8008for as_dir in $PATH
8009do
8010  IFS=$as_save_IFS
8011  test -z "$as_dir" && as_dir=.
8012    for ac_exec_ext in '' $ac_executable_extensions; do
8013  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8014    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8015    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8016    break 2
8017  fi
8018done
8019  done
8020IFS=$as_save_IFS
8021
8022fi
8023fi
8024MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8025if test -n "$MANIFEST_TOOL"; then
8026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8027$as_echo "$MANIFEST_TOOL" >&6; }
8028else
8029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8030$as_echo "no" >&6; }
8031fi
8032
8033
8034fi
8035if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8036  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8037  # Extract the first word of "mt", so it can be a program name with args.
8038set dummy mt; ac_word=$2
8039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8040$as_echo_n "checking for $ac_word... " >&6; }
8041if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8042  $as_echo_n "(cached) " >&6
8043else
8044  if test -n "$ac_ct_MANIFEST_TOOL"; then
8045  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8046else
8047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8048for as_dir in $PATH
8049do
8050  IFS=$as_save_IFS
8051  test -z "$as_dir" && as_dir=.
8052    for ac_exec_ext in '' $ac_executable_extensions; do
8053  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8054    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8055    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8056    break 2
8057  fi
8058done
8059  done
8060IFS=$as_save_IFS
8061
8062fi
8063fi
8064ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8065if test -n "$ac_ct_MANIFEST_TOOL"; then
8066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8067$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8068else
8069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8070$as_echo "no" >&6; }
8071fi
8072
8073  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8074    MANIFEST_TOOL=":"
8075  else
8076    case $cross_compiling:$ac_tool_warned in
8077yes:)
8078{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8079$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8080ac_tool_warned=yes ;;
8081esac
8082    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8083  fi
8084else
8085  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8086fi
8087
8088test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8090$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8091if ${lt_cv_path_mainfest_tool+:} false; then :
8092  $as_echo_n "(cached) " >&6
8093else
8094  lt_cv_path_mainfest_tool=no
8095  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8096  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8097  cat conftest.err >&5
8098  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8099    lt_cv_path_mainfest_tool=yes
8100  fi
8101  rm -f conftest*
8102fi
8103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8104$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8105if test yes != "$lt_cv_path_mainfest_tool"; then
8106  MANIFEST_TOOL=:
8107fi
8108
8109
8110
8111
8112
8113
8114  case $host_os in
8115    rhapsody* | darwin*)
8116    if test -n "$ac_tool_prefix"; then
8117  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8118set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8120$as_echo_n "checking for $ac_word... " >&6; }
8121if ${ac_cv_prog_DSYMUTIL+:} false; then :
8122  $as_echo_n "(cached) " >&6
8123else
8124  if test -n "$DSYMUTIL"; then
8125  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8126else
8127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8128for as_dir in $PATH
8129do
8130  IFS=$as_save_IFS
8131  test -z "$as_dir" && as_dir=.
8132    for ac_exec_ext in '' $ac_executable_extensions; do
8133  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8134    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8135    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8136    break 2
8137  fi
8138done
8139  done
8140IFS=$as_save_IFS
8141
8142fi
8143fi
8144DSYMUTIL=$ac_cv_prog_DSYMUTIL
8145if test -n "$DSYMUTIL"; then
8146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8147$as_echo "$DSYMUTIL" >&6; }
8148else
8149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8150$as_echo "no" >&6; }
8151fi
8152
8153
8154fi
8155if test -z "$ac_cv_prog_DSYMUTIL"; then
8156  ac_ct_DSYMUTIL=$DSYMUTIL
8157  # Extract the first word of "dsymutil", so it can be a program name with args.
8158set dummy dsymutil; ac_word=$2
8159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8160$as_echo_n "checking for $ac_word... " >&6; }
8161if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8162  $as_echo_n "(cached) " >&6
8163else
8164  if test -n "$ac_ct_DSYMUTIL"; then
8165  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # 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  test -z "$as_dir" && as_dir=.
8172    for ac_exec_ext in '' $ac_executable_extensions; do
8173  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8174    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8175    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8176    break 2
8177  fi
8178done
8179  done
8180IFS=$as_save_IFS
8181
8182fi
8183fi
8184ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8185if test -n "$ac_ct_DSYMUTIL"; then
8186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8187$as_echo "$ac_ct_DSYMUTIL" >&6; }
8188else
8189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8190$as_echo "no" >&6; }
8191fi
8192
8193  if test "x$ac_ct_DSYMUTIL" = x; then
8194    DSYMUTIL=":"
8195  else
8196    case $cross_compiling:$ac_tool_warned in
8197yes:)
8198{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8199$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8200ac_tool_warned=yes ;;
8201esac
8202    DSYMUTIL=$ac_ct_DSYMUTIL
8203  fi
8204else
8205  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8206fi
8207
8208    if test -n "$ac_tool_prefix"; then
8209  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8210set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8212$as_echo_n "checking for $ac_word... " >&6; }
8213if ${ac_cv_prog_NMEDIT+:} false; then :
8214  $as_echo_n "(cached) " >&6
8215else
8216  if test -n "$NMEDIT"; then
8217  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8218else
8219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8220for as_dir in $PATH
8221do
8222  IFS=$as_save_IFS
8223  test -z "$as_dir" && as_dir=.
8224    for ac_exec_ext in '' $ac_executable_extensions; do
8225  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8226    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8227    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8228    break 2
8229  fi
8230done
8231  done
8232IFS=$as_save_IFS
8233
8234fi
8235fi
8236NMEDIT=$ac_cv_prog_NMEDIT
8237if test -n "$NMEDIT"; then
8238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8239$as_echo "$NMEDIT" >&6; }
8240else
8241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8242$as_echo "no" >&6; }
8243fi
8244
8245
8246fi
8247if test -z "$ac_cv_prog_NMEDIT"; then
8248  ac_ct_NMEDIT=$NMEDIT
8249  # Extract the first word of "nmedit", so it can be a program name with args.
8250set dummy nmedit; ac_word=$2
8251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8252$as_echo_n "checking for $ac_word... " >&6; }
8253if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8254  $as_echo_n "(cached) " >&6
8255else
8256  if test -n "$ac_ct_NMEDIT"; then
8257  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8258else
8259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8260for as_dir in $PATH
8261do
8262  IFS=$as_save_IFS
8263  test -z "$as_dir" && as_dir=.
8264    for ac_exec_ext in '' $ac_executable_extensions; do
8265  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8266    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8267    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8268    break 2
8269  fi
8270done
8271  done
8272IFS=$as_save_IFS
8273
8274fi
8275fi
8276ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8277if test -n "$ac_ct_NMEDIT"; then
8278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8279$as_echo "$ac_ct_NMEDIT" >&6; }
8280else
8281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8282$as_echo "no" >&6; }
8283fi
8284
8285  if test "x$ac_ct_NMEDIT" = x; then
8286    NMEDIT=":"
8287  else
8288    case $cross_compiling:$ac_tool_warned in
8289yes:)
8290{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8291$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8292ac_tool_warned=yes ;;
8293esac
8294    NMEDIT=$ac_ct_NMEDIT
8295  fi
8296else
8297  NMEDIT="$ac_cv_prog_NMEDIT"
8298fi
8299
8300    if test -n "$ac_tool_prefix"; then
8301  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8302set dummy ${ac_tool_prefix}lipo; ac_word=$2
8303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8304$as_echo_n "checking for $ac_word... " >&6; }
8305if ${ac_cv_prog_LIPO+:} false; then :
8306  $as_echo_n "(cached) " >&6
8307else
8308  if test -n "$LIPO"; then
8309  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8310else
8311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8312for as_dir in $PATH
8313do
8314  IFS=$as_save_IFS
8315  test -z "$as_dir" && as_dir=.
8316    for ac_exec_ext in '' $ac_executable_extensions; do
8317  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8318    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8319    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8320    break 2
8321  fi
8322done
8323  done
8324IFS=$as_save_IFS
8325
8326fi
8327fi
8328LIPO=$ac_cv_prog_LIPO
8329if test -n "$LIPO"; then
8330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8331$as_echo "$LIPO" >&6; }
8332else
8333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8334$as_echo "no" >&6; }
8335fi
8336
8337
8338fi
8339if test -z "$ac_cv_prog_LIPO"; then
8340  ac_ct_LIPO=$LIPO
8341  # Extract the first word of "lipo", so it can be a program name with args.
8342set dummy lipo; ac_word=$2
8343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8344$as_echo_n "checking for $ac_word... " >&6; }
8345if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8346  $as_echo_n "(cached) " >&6
8347else
8348  if test -n "$ac_ct_LIPO"; then
8349  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8350else
8351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8352for as_dir in $PATH
8353do
8354  IFS=$as_save_IFS
8355  test -z "$as_dir" && as_dir=.
8356    for ac_exec_ext in '' $ac_executable_extensions; do
8357  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8358    ac_cv_prog_ac_ct_LIPO="lipo"
8359    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8360    break 2
8361  fi
8362done
8363  done
8364IFS=$as_save_IFS
8365
8366fi
8367fi
8368ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8369if test -n "$ac_ct_LIPO"; then
8370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8371$as_echo "$ac_ct_LIPO" >&6; }
8372else
8373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8374$as_echo "no" >&6; }
8375fi
8376
8377  if test "x$ac_ct_LIPO" = x; then
8378    LIPO=":"
8379  else
8380    case $cross_compiling:$ac_tool_warned in
8381yes:)
8382{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8383$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8384ac_tool_warned=yes ;;
8385esac
8386    LIPO=$ac_ct_LIPO
8387  fi
8388else
8389  LIPO="$ac_cv_prog_LIPO"
8390fi
8391
8392    if test -n "$ac_tool_prefix"; then
8393  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8394set dummy ${ac_tool_prefix}otool; ac_word=$2
8395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8396$as_echo_n "checking for $ac_word... " >&6; }
8397if ${ac_cv_prog_OTOOL+:} false; then :
8398  $as_echo_n "(cached) " >&6
8399else
8400  if test -n "$OTOOL"; then
8401  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8402else
8403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8404for as_dir in $PATH
8405do
8406  IFS=$as_save_IFS
8407  test -z "$as_dir" && as_dir=.
8408    for ac_exec_ext in '' $ac_executable_extensions; do
8409  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8410    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8411    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8412    break 2
8413  fi
8414done
8415  done
8416IFS=$as_save_IFS
8417
8418fi
8419fi
8420OTOOL=$ac_cv_prog_OTOOL
8421if test -n "$OTOOL"; then
8422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8423$as_echo "$OTOOL" >&6; }
8424else
8425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8426$as_echo "no" >&6; }
8427fi
8428
8429
8430fi
8431if test -z "$ac_cv_prog_OTOOL"; then
8432  ac_ct_OTOOL=$OTOOL
8433  # Extract the first word of "otool", so it can be a program name with args.
8434set dummy otool; ac_word=$2
8435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8436$as_echo_n "checking for $ac_word... " >&6; }
8437if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8438  $as_echo_n "(cached) " >&6
8439else
8440  if test -n "$ac_ct_OTOOL"; then
8441  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8442else
8443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8444for as_dir in $PATH
8445do
8446  IFS=$as_save_IFS
8447  test -z "$as_dir" && as_dir=.
8448    for ac_exec_ext in '' $ac_executable_extensions; do
8449  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8450    ac_cv_prog_ac_ct_OTOOL="otool"
8451    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8452    break 2
8453  fi
8454done
8455  done
8456IFS=$as_save_IFS
8457
8458fi
8459fi
8460ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8461if test -n "$ac_ct_OTOOL"; then
8462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8463$as_echo "$ac_ct_OTOOL" >&6; }
8464else
8465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8466$as_echo "no" >&6; }
8467fi
8468
8469  if test "x$ac_ct_OTOOL" = x; then
8470    OTOOL=":"
8471  else
8472    case $cross_compiling:$ac_tool_warned in
8473yes:)
8474{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8475$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8476ac_tool_warned=yes ;;
8477esac
8478    OTOOL=$ac_ct_OTOOL
8479  fi
8480else
8481  OTOOL="$ac_cv_prog_OTOOL"
8482fi
8483
8484    if test -n "$ac_tool_prefix"; then
8485  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8486set dummy ${ac_tool_prefix}otool64; ac_word=$2
8487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8488$as_echo_n "checking for $ac_word... " >&6; }
8489if ${ac_cv_prog_OTOOL64+:} false; then :
8490  $as_echo_n "(cached) " >&6
8491else
8492  if test -n "$OTOOL64"; then
8493  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8494else
8495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8496for as_dir in $PATH
8497do
8498  IFS=$as_save_IFS
8499  test -z "$as_dir" && as_dir=.
8500    for ac_exec_ext in '' $ac_executable_extensions; do
8501  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8502    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8503    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8504    break 2
8505  fi
8506done
8507  done
8508IFS=$as_save_IFS
8509
8510fi
8511fi
8512OTOOL64=$ac_cv_prog_OTOOL64
8513if test -n "$OTOOL64"; then
8514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8515$as_echo "$OTOOL64" >&6; }
8516else
8517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8518$as_echo "no" >&6; }
8519fi
8520
8521
8522fi
8523if test -z "$ac_cv_prog_OTOOL64"; then
8524  ac_ct_OTOOL64=$OTOOL64
8525  # Extract the first word of "otool64", so it can be a program name with args.
8526set dummy otool64; ac_word=$2
8527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8528$as_echo_n "checking for $ac_word... " >&6; }
8529if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8530  $as_echo_n "(cached) " >&6
8531else
8532  if test -n "$ac_ct_OTOOL64"; then
8533  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8534else
8535as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8536for as_dir in $PATH
8537do
8538  IFS=$as_save_IFS
8539  test -z "$as_dir" && as_dir=.
8540    for ac_exec_ext in '' $ac_executable_extensions; do
8541  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8542    ac_cv_prog_ac_ct_OTOOL64="otool64"
8543    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8544    break 2
8545  fi
8546done
8547  done
8548IFS=$as_save_IFS
8549
8550fi
8551fi
8552ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8553if test -n "$ac_ct_OTOOL64"; then
8554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8555$as_echo "$ac_ct_OTOOL64" >&6; }
8556else
8557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8558$as_echo "no" >&6; }
8559fi
8560
8561  if test "x$ac_ct_OTOOL64" = x; then
8562    OTOOL64=":"
8563  else
8564    case $cross_compiling:$ac_tool_warned in
8565yes:)
8566{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8567$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8568ac_tool_warned=yes ;;
8569esac
8570    OTOOL64=$ac_ct_OTOOL64
8571  fi
8572else
8573  OTOOL64="$ac_cv_prog_OTOOL64"
8574fi
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8603$as_echo_n "checking for -single_module linker flag... " >&6; }
8604if ${lt_cv_apple_cc_single_mod+:} false; then :
8605  $as_echo_n "(cached) " >&6
8606else
8607  lt_cv_apple_cc_single_mod=no
8608      if test -z "$LT_MULTI_MODULE"; then
8609	# By default we will add the -single_module flag. You can override
8610	# by either setting the environment variable LT_MULTI_MODULE
8611	# non-empty at configure time, or by adding -multi_module to the
8612	# link flags.
8613	rm -rf libconftest.dylib*
8614	echo "int foo(void){return 1;}" > conftest.c
8615	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8616-dynamiclib -Wl,-single_module conftest.c" >&5
8617	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8618	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8619        _lt_result=$?
8620	# If there is a non-empty error log, and "single_module"
8621	# appears in it, assume the flag caused a linker warning
8622        if test -s conftest.err && $GREP single_module conftest.err; then
8623	  cat conftest.err >&5
8624	# Otherwise, if the output was created with a 0 exit code from
8625	# the compiler, it worked.
8626	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8627	  lt_cv_apple_cc_single_mod=yes
8628	else
8629	  cat conftest.err >&5
8630	fi
8631	rm -rf libconftest.dylib*
8632	rm -f conftest.*
8633      fi
8634fi
8635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8636$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8637
8638    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8639$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8640if ${lt_cv_ld_exported_symbols_list+:} false; then :
8641  $as_echo_n "(cached) " >&6
8642else
8643  lt_cv_ld_exported_symbols_list=no
8644      save_LDFLAGS=$LDFLAGS
8645      echo "_main" > conftest.sym
8646      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8647      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8648/* end confdefs.h.  */
8649
8650int
8651main ()
8652{
8653
8654  ;
8655  return 0;
8656}
8657_ACEOF
8658if ac_fn_c_try_link "$LINENO"; then :
8659  lt_cv_ld_exported_symbols_list=yes
8660else
8661  lt_cv_ld_exported_symbols_list=no
8662fi
8663rm -f core conftest.err conftest.$ac_objext \
8664    conftest$ac_exeext conftest.$ac_ext
8665	LDFLAGS=$save_LDFLAGS
8666
8667fi
8668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8669$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8670
8671    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8672$as_echo_n "checking for -force_load linker flag... " >&6; }
8673if ${lt_cv_ld_force_load+:} false; then :
8674  $as_echo_n "(cached) " >&6
8675else
8676  lt_cv_ld_force_load=no
8677      cat > conftest.c << _LT_EOF
8678int forced_loaded() { return 2;}
8679_LT_EOF
8680      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8681      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8682      echo "$AR cru libconftest.a conftest.o" >&5
8683      $AR cru libconftest.a conftest.o 2>&5
8684      echo "$RANLIB libconftest.a" >&5
8685      $RANLIB libconftest.a 2>&5
8686      cat > conftest.c << _LT_EOF
8687int main() { return 0;}
8688_LT_EOF
8689      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8690      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8691      _lt_result=$?
8692      if test -s conftest.err && $GREP force_load conftest.err; then
8693	cat conftest.err >&5
8694      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8695	lt_cv_ld_force_load=yes
8696      else
8697	cat conftest.err >&5
8698      fi
8699        rm -f conftest.err libconftest.a conftest conftest.c
8700        rm -rf conftest.dSYM
8701
8702fi
8703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8704$as_echo "$lt_cv_ld_force_load" >&6; }
8705    case $host_os in
8706    rhapsody* | darwin1.[012])
8707      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8708    darwin1.*)
8709      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8710    darwin*) # darwin 5.x on
8711      # if running on 10.5 or later, the deployment target defaults
8712      # to the OS version, if on x86, and 10.4, the deployment
8713      # target defaults to 10.4. Don't you love it?
8714      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8715	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8716	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8717	10.[012][,.]*)
8718	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8719	10.*)
8720	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8721      esac
8722    ;;
8723  esac
8724    if test yes = "$lt_cv_apple_cc_single_mod"; then
8725      _lt_dar_single_mod='$single_module'
8726    fi
8727    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8728      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8729    else
8730      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8731    fi
8732    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8733      _lt_dsymutil='~$DSYMUTIL $lib || :'
8734    else
8735      _lt_dsymutil=
8736    fi
8737    ;;
8738  esac
8739
8740# func_munge_path_list VARIABLE PATH
8741# -----------------------------------
8742# VARIABLE is name of variable containing _space_ separated list of
8743# directories to be munged by the contents of PATH, which is string
8744# having a format:
8745# "DIR[:DIR]:"
8746#       string "DIR[ DIR]" will be prepended to VARIABLE
8747# ":DIR[:DIR]"
8748#       string "DIR[ DIR]" will be appended to VARIABLE
8749# "DIRP[:DIRP]::[DIRA:]DIRA"
8750#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8751#       "DIRA[ DIRA]" will be appended to VARIABLE
8752# "DIR[:DIR]"
8753#       VARIABLE will be replaced by "DIR[ DIR]"
8754func_munge_path_list ()
8755{
8756    case x$2 in
8757    x)
8758        ;;
8759    *:)
8760        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8761        ;;
8762    x:*)
8763        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8764        ;;
8765    *::*)
8766        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8767        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8768        ;;
8769    *)
8770        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8771        ;;
8772    esac
8773}
8774
8775ac_ext=c
8776ac_cpp='$CPP $CPPFLAGS'
8777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8779ac_compiler_gnu=$ac_cv_c_compiler_gnu
8780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8781$as_echo_n "checking how to run the C preprocessor... " >&6; }
8782# On Suns, sometimes $CPP names a directory.
8783if test -n "$CPP" && test -d "$CPP"; then
8784  CPP=
8785fi
8786if test -z "$CPP"; then
8787  if ${ac_cv_prog_CPP+:} false; then :
8788  $as_echo_n "(cached) " >&6
8789else
8790      # Double quotes because CPP needs to be expanded
8791    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8792    do
8793      ac_preproc_ok=false
8794for ac_c_preproc_warn_flag in '' yes
8795do
8796  # Use a header file that comes with gcc, so configuring glibc
8797  # with a fresh cross-compiler works.
8798  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8799  # <limits.h> exists even on freestanding compilers.
8800  # On the NeXT, cc -E runs the code through the compiler's parser,
8801  # not just through cpp. "Syntax error" is here to catch this case.
8802  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8803/* end confdefs.h.  */
8804#ifdef __STDC__
8805# include <limits.h>
8806#else
8807# include <assert.h>
8808#endif
8809		     Syntax error
8810_ACEOF
8811if ac_fn_c_try_cpp "$LINENO"; then :
8812
8813else
8814  # Broken: fails on valid input.
8815continue
8816fi
8817rm -f conftest.err conftest.i conftest.$ac_ext
8818
8819  # OK, works on sane cases.  Now check whether nonexistent headers
8820  # can be detected and how.
8821  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822/* end confdefs.h.  */
8823#include <ac_nonexistent.h>
8824_ACEOF
8825if ac_fn_c_try_cpp "$LINENO"; then :
8826  # Broken: success on invalid input.
8827continue
8828else
8829  # Passes both tests.
8830ac_preproc_ok=:
8831break
8832fi
8833rm -f conftest.err conftest.i conftest.$ac_ext
8834
8835done
8836# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8837rm -f conftest.i conftest.err conftest.$ac_ext
8838if $ac_preproc_ok; then :
8839  break
8840fi
8841
8842    done
8843    ac_cv_prog_CPP=$CPP
8844
8845fi
8846  CPP=$ac_cv_prog_CPP
8847else
8848  ac_cv_prog_CPP=$CPP
8849fi
8850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8851$as_echo "$CPP" >&6; }
8852ac_preproc_ok=false
8853for ac_c_preproc_warn_flag in '' yes
8854do
8855  # Use a header file that comes with gcc, so configuring glibc
8856  # with a fresh cross-compiler works.
8857  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8858  # <limits.h> exists even on freestanding compilers.
8859  # On the NeXT, cc -E runs the code through the compiler's parser,
8860  # not just through cpp. "Syntax error" is here to catch this case.
8861  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8862/* end confdefs.h.  */
8863#ifdef __STDC__
8864# include <limits.h>
8865#else
8866# include <assert.h>
8867#endif
8868		     Syntax error
8869_ACEOF
8870if ac_fn_c_try_cpp "$LINENO"; then :
8871
8872else
8873  # Broken: fails on valid input.
8874continue
8875fi
8876rm -f conftest.err conftest.i conftest.$ac_ext
8877
8878  # OK, works on sane cases.  Now check whether nonexistent headers
8879  # can be detected and how.
8880  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881/* end confdefs.h.  */
8882#include <ac_nonexistent.h>
8883_ACEOF
8884if ac_fn_c_try_cpp "$LINENO"; then :
8885  # Broken: success on invalid input.
8886continue
8887else
8888  # Passes both tests.
8889ac_preproc_ok=:
8890break
8891fi
8892rm -f conftest.err conftest.i conftest.$ac_ext
8893
8894done
8895# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8896rm -f conftest.i conftest.err conftest.$ac_ext
8897if $ac_preproc_ok; then :
8898
8899else
8900  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8901$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8902as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8903See \`config.log' for more details" "$LINENO" 5; }
8904fi
8905
8906ac_ext=c
8907ac_cpp='$CPP $CPPFLAGS'
8908ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8909ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8910ac_compiler_gnu=$ac_cv_c_compiler_gnu
8911
8912
8913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8914$as_echo_n "checking for ANSI C header files... " >&6; }
8915if ${ac_cv_header_stdc+:} false; then :
8916  $as_echo_n "(cached) " >&6
8917else
8918  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8919/* end confdefs.h.  */
8920#include <stdlib.h>
8921#include <stdarg.h>
8922#include <string.h>
8923#include <float.h>
8924
8925int
8926main ()
8927{
8928
8929  ;
8930  return 0;
8931}
8932_ACEOF
8933if ac_fn_c_try_compile "$LINENO"; then :
8934  ac_cv_header_stdc=yes
8935else
8936  ac_cv_header_stdc=no
8937fi
8938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8939
8940if test $ac_cv_header_stdc = yes; then
8941  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8942  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8943/* end confdefs.h.  */
8944#include <string.h>
8945
8946_ACEOF
8947if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8948  $EGREP "memchr" >/dev/null 2>&1; then :
8949
8950else
8951  ac_cv_header_stdc=no
8952fi
8953rm -f conftest*
8954
8955fi
8956
8957if test $ac_cv_header_stdc = yes; then
8958  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8959  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8960/* end confdefs.h.  */
8961#include <stdlib.h>
8962
8963_ACEOF
8964if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8965  $EGREP "free" >/dev/null 2>&1; then :
8966
8967else
8968  ac_cv_header_stdc=no
8969fi
8970rm -f conftest*
8971
8972fi
8973
8974if test $ac_cv_header_stdc = yes; then
8975  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8976  if test "$cross_compiling" = yes; then :
8977  :
8978else
8979  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8980/* end confdefs.h.  */
8981#include <ctype.h>
8982#include <stdlib.h>
8983#if ((' ' & 0x0FF) == 0x020)
8984# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8985# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8986#else
8987# define ISLOWER(c) \
8988		   (('a' <= (c) && (c) <= 'i') \
8989		     || ('j' <= (c) && (c) <= 'r') \
8990		     || ('s' <= (c) && (c) <= 'z'))
8991# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8992#endif
8993
8994#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8995int
8996main ()
8997{
8998  int i;
8999  for (i = 0; i < 256; i++)
9000    if (XOR (islower (i), ISLOWER (i))
9001	|| toupper (i) != TOUPPER (i))
9002      return 2;
9003  return 0;
9004}
9005_ACEOF
9006if ac_fn_c_try_run "$LINENO"; then :
9007
9008else
9009  ac_cv_header_stdc=no
9010fi
9011rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9012  conftest.$ac_objext conftest.beam conftest.$ac_ext
9013fi
9014
9015fi
9016fi
9017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9018$as_echo "$ac_cv_header_stdc" >&6; }
9019if test $ac_cv_header_stdc = yes; then
9020
9021$as_echo "#define STDC_HEADERS 1" >>confdefs.h
9022
9023fi
9024
9025# On IRIX 5.3, sys/types and inttypes.h are conflicting.
9026for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9027		  inttypes.h stdint.h unistd.h
9028do :
9029  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9030ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9031"
9032if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9033  cat >>confdefs.h <<_ACEOF
9034#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9035_ACEOF
9036
9037fi
9038
9039done
9040
9041
9042for ac_header in dlfcn.h
9043do :
9044  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9045"
9046if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9047  cat >>confdefs.h <<_ACEOF
9048#define HAVE_DLFCN_H 1
9049_ACEOF
9050
9051fi
9052
9053done
9054
9055
9056
9057func_stripname_cnf ()
9058{
9059  case $2 in
9060  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9061  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9062  esac
9063} # func_stripname_cnf
9064
9065
9066
9067
9068
9069# Set options
9070enable_win32_dll=yes
9071
9072case $host in
9073*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
9074  if test -n "$ac_tool_prefix"; then
9075  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9076set dummy ${ac_tool_prefix}as; ac_word=$2
9077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9078$as_echo_n "checking for $ac_word... " >&6; }
9079if ${ac_cv_prog_AS+:} false; then :
9080  $as_echo_n "(cached) " >&6
9081else
9082  if test -n "$AS"; then
9083  ac_cv_prog_AS="$AS" # Let the user override the test.
9084else
9085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9086for as_dir in $PATH
9087do
9088  IFS=$as_save_IFS
9089  test -z "$as_dir" && as_dir=.
9090    for ac_exec_ext in '' $ac_executable_extensions; do
9091  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9092    ac_cv_prog_AS="${ac_tool_prefix}as"
9093    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9094    break 2
9095  fi
9096done
9097  done
9098IFS=$as_save_IFS
9099
9100fi
9101fi
9102AS=$ac_cv_prog_AS
9103if test -n "$AS"; then
9104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9105$as_echo "$AS" >&6; }
9106else
9107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9108$as_echo "no" >&6; }
9109fi
9110
9111
9112fi
9113if test -z "$ac_cv_prog_AS"; then
9114  ac_ct_AS=$AS
9115  # Extract the first word of "as", so it can be a program name with args.
9116set dummy as; ac_word=$2
9117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9118$as_echo_n "checking for $ac_word... " >&6; }
9119if ${ac_cv_prog_ac_ct_AS+:} false; then :
9120  $as_echo_n "(cached) " >&6
9121else
9122  if test -n "$ac_ct_AS"; then
9123  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9124else
9125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9126for as_dir in $PATH
9127do
9128  IFS=$as_save_IFS
9129  test -z "$as_dir" && as_dir=.
9130    for ac_exec_ext in '' $ac_executable_extensions; do
9131  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9132    ac_cv_prog_ac_ct_AS="as"
9133    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9134    break 2
9135  fi
9136done
9137  done
9138IFS=$as_save_IFS
9139
9140fi
9141fi
9142ac_ct_AS=$ac_cv_prog_ac_ct_AS
9143if test -n "$ac_ct_AS"; then
9144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9145$as_echo "$ac_ct_AS" >&6; }
9146else
9147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9148$as_echo "no" >&6; }
9149fi
9150
9151  if test "x$ac_ct_AS" = x; then
9152    AS="false"
9153  else
9154    case $cross_compiling:$ac_tool_warned in
9155yes:)
9156{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9157$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9158ac_tool_warned=yes ;;
9159esac
9160    AS=$ac_ct_AS
9161  fi
9162else
9163  AS="$ac_cv_prog_AS"
9164fi
9165
9166  if test -n "$ac_tool_prefix"; then
9167  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9168set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9170$as_echo_n "checking for $ac_word... " >&6; }
9171if ${ac_cv_prog_DLLTOOL+:} false; then :
9172  $as_echo_n "(cached) " >&6
9173else
9174  if test -n "$DLLTOOL"; then
9175  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9176else
9177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9178for as_dir in $PATH
9179do
9180  IFS=$as_save_IFS
9181  test -z "$as_dir" && as_dir=.
9182    for ac_exec_ext in '' $ac_executable_extensions; do
9183  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9184    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9185    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9186    break 2
9187  fi
9188done
9189  done
9190IFS=$as_save_IFS
9191
9192fi
9193fi
9194DLLTOOL=$ac_cv_prog_DLLTOOL
9195if test -n "$DLLTOOL"; then
9196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9197$as_echo "$DLLTOOL" >&6; }
9198else
9199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9200$as_echo "no" >&6; }
9201fi
9202
9203
9204fi
9205if test -z "$ac_cv_prog_DLLTOOL"; then
9206  ac_ct_DLLTOOL=$DLLTOOL
9207  # Extract the first word of "dlltool", so it can be a program name with args.
9208set dummy dlltool; ac_word=$2
9209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9210$as_echo_n "checking for $ac_word... " >&6; }
9211if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9212  $as_echo_n "(cached) " >&6
9213else
9214  if test -n "$ac_ct_DLLTOOL"; then
9215  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9216else
9217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9218for as_dir in $PATH
9219do
9220  IFS=$as_save_IFS
9221  test -z "$as_dir" && as_dir=.
9222    for ac_exec_ext in '' $ac_executable_extensions; do
9223  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9224    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9225    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9226    break 2
9227  fi
9228done
9229  done
9230IFS=$as_save_IFS
9231
9232fi
9233fi
9234ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9235if test -n "$ac_ct_DLLTOOL"; then
9236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9237$as_echo "$ac_ct_DLLTOOL" >&6; }
9238else
9239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9240$as_echo "no" >&6; }
9241fi
9242
9243  if test "x$ac_ct_DLLTOOL" = x; then
9244    DLLTOOL="false"
9245  else
9246    case $cross_compiling:$ac_tool_warned in
9247yes:)
9248{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9249$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9250ac_tool_warned=yes ;;
9251esac
9252    DLLTOOL=$ac_ct_DLLTOOL
9253  fi
9254else
9255  DLLTOOL="$ac_cv_prog_DLLTOOL"
9256fi
9257
9258  if test -n "$ac_tool_prefix"; then
9259  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9260set dummy ${ac_tool_prefix}objdump; ac_word=$2
9261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9262$as_echo_n "checking for $ac_word... " >&6; }
9263if ${ac_cv_prog_OBJDUMP+:} false; then :
9264  $as_echo_n "(cached) " >&6
9265else
9266  if test -n "$OBJDUMP"; then
9267  ac_cv_prog_OBJDUMP="$OBJDUMP" # 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  test -z "$as_dir" && as_dir=.
9274    for ac_exec_ext in '' $ac_executable_extensions; do
9275  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9276    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9277    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9278    break 2
9279  fi
9280done
9281  done
9282IFS=$as_save_IFS
9283
9284fi
9285fi
9286OBJDUMP=$ac_cv_prog_OBJDUMP
9287if test -n "$OBJDUMP"; then
9288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9289$as_echo "$OBJDUMP" >&6; }
9290else
9291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9292$as_echo "no" >&6; }
9293fi
9294
9295
9296fi
9297if test -z "$ac_cv_prog_OBJDUMP"; then
9298  ac_ct_OBJDUMP=$OBJDUMP
9299  # Extract the first word of "objdump", so it can be a program name with args.
9300set dummy objdump; ac_word=$2
9301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9302$as_echo_n "checking for $ac_word... " >&6; }
9303if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9304  $as_echo_n "(cached) " >&6
9305else
9306  if test -n "$ac_ct_OBJDUMP"; then
9307  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9308else
9309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9310for as_dir in $PATH
9311do
9312  IFS=$as_save_IFS
9313  test -z "$as_dir" && as_dir=.
9314    for ac_exec_ext in '' $ac_executable_extensions; do
9315  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9316    ac_cv_prog_ac_ct_OBJDUMP="objdump"
9317    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9318    break 2
9319  fi
9320done
9321  done
9322IFS=$as_save_IFS
9323
9324fi
9325fi
9326ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9327if test -n "$ac_ct_OBJDUMP"; then
9328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9329$as_echo "$ac_ct_OBJDUMP" >&6; }
9330else
9331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9332$as_echo "no" >&6; }
9333fi
9334
9335  if test "x$ac_ct_OBJDUMP" = x; then
9336    OBJDUMP="false"
9337  else
9338    case $cross_compiling:$ac_tool_warned in
9339yes:)
9340{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9341$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9342ac_tool_warned=yes ;;
9343esac
9344    OBJDUMP=$ac_ct_OBJDUMP
9345  fi
9346else
9347  OBJDUMP="$ac_cv_prog_OBJDUMP"
9348fi
9349
9350  ;;
9351esac
9352
9353test -z "$AS" && AS=as
9354
9355
9356
9357
9358
9359test -z "$DLLTOOL" && DLLTOOL=dlltool
9360
9361
9362
9363
9364
9365test -z "$OBJDUMP" && OBJDUMP=objdump
9366
9367
9368
9369
9370
9371
9372
9373        enable_dlopen=no
9374
9375
9376
9377            # Check whether --enable-shared was given.
9378if test "${enable_shared+set}" = set; then :
9379  enableval=$enable_shared; p=${PACKAGE-default}
9380    case $enableval in
9381    yes) enable_shared=yes ;;
9382    no) enable_shared=no ;;
9383    *)
9384      enable_shared=no
9385      # Look at the argument we got.  We use all the common list separators.
9386      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9387      for pkg in $enableval; do
9388	IFS=$lt_save_ifs
9389	if test "X$pkg" = "X$p"; then
9390	  enable_shared=yes
9391	fi
9392      done
9393      IFS=$lt_save_ifs
9394      ;;
9395    esac
9396else
9397  enable_shared=yes
9398fi
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410# Check whether --with-pic was given.
9411if test "${with_pic+set}" = set; then :
9412  withval=$with_pic; lt_p=${PACKAGE-default}
9413    case $withval in
9414    yes|no) pic_mode=$withval ;;
9415    *)
9416      pic_mode=default
9417      # Look at the argument we got.  We use all the common list separators.
9418      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9419      for lt_pkg in $withval; do
9420	IFS=$lt_save_ifs
9421	if test "X$lt_pkg" = "X$lt_p"; then
9422	  pic_mode=yes
9423	fi
9424      done
9425      IFS=$lt_save_ifs
9426      ;;
9427    esac
9428else
9429  pic_mode=default
9430fi
9431
9432
9433
9434
9435
9436
9437
9438
9439  # Check whether --enable-fast-install was given.
9440if test "${enable_fast_install+set}" = set; then :
9441  enableval=$enable_fast_install; p=${PACKAGE-default}
9442    case $enableval in
9443    yes) enable_fast_install=yes ;;
9444    no) enable_fast_install=no ;;
9445    *)
9446      enable_fast_install=no
9447      # Look at the argument we got.  We use all the common list separators.
9448      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9449      for pkg in $enableval; do
9450	IFS=$lt_save_ifs
9451	if test "X$pkg" = "X$p"; then
9452	  enable_fast_install=yes
9453	fi
9454      done
9455      IFS=$lt_save_ifs
9456      ;;
9457    esac
9458else
9459  enable_fast_install=yes
9460fi
9461
9462
9463
9464
9465
9466
9467
9468
9469  shared_archive_member_spec=
9470case $host,$enable_shared in
9471power*-*-aix[5-9]*,yes)
9472  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9473$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9474
9475# Check whether --with-aix-soname was given.
9476if test "${with_aix_soname+set}" = set; then :
9477  withval=$with_aix_soname; case $withval in
9478    aix|svr4|both)
9479      ;;
9480    *)
9481      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9482      ;;
9483    esac
9484    lt_cv_with_aix_soname=$with_aix_soname
9485else
9486  if ${lt_cv_with_aix_soname+:} false; then :
9487  $as_echo_n "(cached) " >&6
9488else
9489  lt_cv_with_aix_soname=aix
9490fi
9491
9492    with_aix_soname=$lt_cv_with_aix_soname
9493fi
9494
9495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9496$as_echo "$with_aix_soname" >&6; }
9497  if test aix != "$with_aix_soname"; then
9498    # For the AIX way of multilib, we name the shared archive member
9499    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9500    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9501    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9502    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9503    if test 64 = "${OBJECT_MODE-32}"; then
9504      shared_archive_member_spec=shr_64
9505    else
9506      shared_archive_member_spec=shr
9507    fi
9508  fi
9509  ;;
9510*)
9511  with_aix_soname=aix
9512  ;;
9513esac
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524# This can be used to rebuild libtool when needed
9525LIBTOOL_DEPS=$ltmain
9526
9527# Always use our own libtool.
9528LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559test -z "$LN_S" && LN_S="ln -s"
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574if test -n "${ZSH_VERSION+set}"; then
9575   setopt NO_GLOB_SUBST
9576fi
9577
9578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9579$as_echo_n "checking for objdir... " >&6; }
9580if ${lt_cv_objdir+:} false; then :
9581  $as_echo_n "(cached) " >&6
9582else
9583  rm -f .libs 2>/dev/null
9584mkdir .libs 2>/dev/null
9585if test -d .libs; then
9586  lt_cv_objdir=.libs
9587else
9588  # MS-DOS does not allow filenames that begin with a dot.
9589  lt_cv_objdir=_libs
9590fi
9591rmdir .libs 2>/dev/null
9592fi
9593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9594$as_echo "$lt_cv_objdir" >&6; }
9595objdir=$lt_cv_objdir
9596
9597
9598
9599
9600
9601cat >>confdefs.h <<_ACEOF
9602#define LT_OBJDIR "$lt_cv_objdir/"
9603_ACEOF
9604
9605
9606
9607
9608case $host_os in
9609aix3*)
9610  # AIX sometimes has problems with the GCC collect2 program.  For some
9611  # reason, if we set the COLLECT_NAMES environment variable, the problems
9612  # vanish in a puff of smoke.
9613  if test set != "${COLLECT_NAMES+set}"; then
9614    COLLECT_NAMES=
9615    export COLLECT_NAMES
9616  fi
9617  ;;
9618esac
9619
9620# Global variables:
9621ofile=libtool
9622can_build_shared=yes
9623
9624# All known linkers require a '.a' archive for static linking (except MSVC,
9625# which needs '.lib').
9626libext=a
9627
9628with_gnu_ld=$lt_cv_prog_gnu_ld
9629
9630old_CC=$CC
9631old_CFLAGS=$CFLAGS
9632
9633# Set sane defaults for various variables
9634test -z "$CC" && CC=cc
9635test -z "$LTCC" && LTCC=$CC
9636test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9637test -z "$LD" && LD=ld
9638test -z "$ac_objext" && ac_objext=o
9639
9640func_cc_basename $compiler
9641cc_basename=$func_cc_basename_result
9642
9643
9644# Only perform the check for file, if the check method requires it
9645test -z "$MAGIC_CMD" && MAGIC_CMD=file
9646case $deplibs_check_method in
9647file_magic*)
9648  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9649    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9650$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9651if ${lt_cv_path_MAGIC_CMD+:} false; then :
9652  $as_echo_n "(cached) " >&6
9653else
9654  case $MAGIC_CMD in
9655[\\/*] |  ?:[\\/]*)
9656  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9657  ;;
9658*)
9659  lt_save_MAGIC_CMD=$MAGIC_CMD
9660  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9661  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9662  for ac_dir in $ac_dummy; do
9663    IFS=$lt_save_ifs
9664    test -z "$ac_dir" && ac_dir=.
9665    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9666      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9667      if test -n "$file_magic_test_file"; then
9668	case $deplibs_check_method in
9669	"file_magic "*)
9670	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9671	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9672	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9673	    $EGREP "$file_magic_regex" > /dev/null; then
9674	    :
9675	  else
9676	    cat <<_LT_EOF 1>&2
9677
9678*** Warning: the command libtool uses to detect shared libraries,
9679*** $file_magic_cmd, produces output that libtool cannot recognize.
9680*** The result is that libtool may fail to recognize shared libraries
9681*** as such.  This will affect the creation of libtool libraries that
9682*** depend on shared libraries, but programs linked with such libtool
9683*** libraries will work regardless of this problem.  Nevertheless, you
9684*** may want to report the problem to your system manager and/or to
9685*** bug-libtool@gnu.org
9686
9687_LT_EOF
9688	  fi ;;
9689	esac
9690      fi
9691      break
9692    fi
9693  done
9694  IFS=$lt_save_ifs
9695  MAGIC_CMD=$lt_save_MAGIC_CMD
9696  ;;
9697esac
9698fi
9699
9700MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9701if test -n "$MAGIC_CMD"; then
9702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9703$as_echo "$MAGIC_CMD" >&6; }
9704else
9705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9706$as_echo "no" >&6; }
9707fi
9708
9709
9710
9711
9712
9713if test -z "$lt_cv_path_MAGIC_CMD"; then
9714  if test -n "$ac_tool_prefix"; then
9715    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9716$as_echo_n "checking for file... " >&6; }
9717if ${lt_cv_path_MAGIC_CMD+:} false; then :
9718  $as_echo_n "(cached) " >&6
9719else
9720  case $MAGIC_CMD in
9721[\\/*] |  ?:[\\/]*)
9722  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9723  ;;
9724*)
9725  lt_save_MAGIC_CMD=$MAGIC_CMD
9726  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9727  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9728  for ac_dir in $ac_dummy; do
9729    IFS=$lt_save_ifs
9730    test -z "$ac_dir" && ac_dir=.
9731    if test -f "$ac_dir/file"; then
9732      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9733      if test -n "$file_magic_test_file"; then
9734	case $deplibs_check_method in
9735	"file_magic "*)
9736	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9737	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9738	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9739	    $EGREP "$file_magic_regex" > /dev/null; then
9740	    :
9741	  else
9742	    cat <<_LT_EOF 1>&2
9743
9744*** Warning: the command libtool uses to detect shared libraries,
9745*** $file_magic_cmd, produces output that libtool cannot recognize.
9746*** The result is that libtool may fail to recognize shared libraries
9747*** as such.  This will affect the creation of libtool libraries that
9748*** depend on shared libraries, but programs linked with such libtool
9749*** libraries will work regardless of this problem.  Nevertheless, you
9750*** may want to report the problem to your system manager and/or to
9751*** bug-libtool@gnu.org
9752
9753_LT_EOF
9754	  fi ;;
9755	esac
9756      fi
9757      break
9758    fi
9759  done
9760  IFS=$lt_save_ifs
9761  MAGIC_CMD=$lt_save_MAGIC_CMD
9762  ;;
9763esac
9764fi
9765
9766MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9767if test -n "$MAGIC_CMD"; then
9768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9769$as_echo "$MAGIC_CMD" >&6; }
9770else
9771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9772$as_echo "no" >&6; }
9773fi
9774
9775
9776  else
9777    MAGIC_CMD=:
9778  fi
9779fi
9780
9781  fi
9782  ;;
9783esac
9784
9785# Use C for the default configuration in the libtool script
9786
9787lt_save_CC=$CC
9788ac_ext=c
9789ac_cpp='$CPP $CPPFLAGS'
9790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9792ac_compiler_gnu=$ac_cv_c_compiler_gnu
9793
9794
9795# Source file extension for C test sources.
9796ac_ext=c
9797
9798# Object file extension for compiled C test sources.
9799objext=o
9800objext=$objext
9801
9802# Code to be used in simple compile tests
9803lt_simple_compile_test_code="int some_variable = 0;"
9804
9805# Code to be used in simple link tests
9806lt_simple_link_test_code='int main(){return(0);}'
9807
9808
9809
9810
9811
9812
9813
9814# If no C compiler was specified, use CC.
9815LTCC=${LTCC-"$CC"}
9816
9817# If no C compiler flags were specified, use CFLAGS.
9818LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9819
9820# Allow CC to be a program name with arguments.
9821compiler=$CC
9822
9823# Save the default compiler, since it gets overwritten when the other
9824# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9825compiler_DEFAULT=$CC
9826
9827# save warnings/boilerplate of simple test code
9828ac_outfile=conftest.$ac_objext
9829echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9830eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9831_lt_compiler_boilerplate=`cat conftest.err`
9832$RM conftest*
9833
9834ac_outfile=conftest.$ac_objext
9835echo "$lt_simple_link_test_code" >conftest.$ac_ext
9836eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9837_lt_linker_boilerplate=`cat conftest.err`
9838$RM -r conftest*
9839
9840
9841## CAVEAT EMPTOR:
9842## There is no encapsulation within the following macros, do not change
9843## the running order or otherwise move them around unless you know exactly
9844## what you are doing...
9845if test -n "$compiler"; then
9846
9847lt_prog_compiler_no_builtin_flag=
9848
9849if test yes = "$GCC"; then
9850  case $cc_basename in
9851  nvcc*)
9852    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9853  *)
9854    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9855  esac
9856
9857  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9858$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9859if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9860  $as_echo_n "(cached) " >&6
9861else
9862  lt_cv_prog_compiler_rtti_exceptions=no
9863   ac_outfile=conftest.$ac_objext
9864   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9865   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9866   # Insert the option either (1) after the last *FLAGS variable, or
9867   # (2) before a word containing "conftest.", or (3) at the end.
9868   # Note that $ac_compile itself does not contain backslashes and begins
9869   # with a dollar sign (not a hyphen), so the echo should work correctly.
9870   # The option is referenced via a variable to avoid confusing sed.
9871   lt_compile=`echo "$ac_compile" | $SED \
9872   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9873   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9874   -e 's:$: $lt_compiler_flag:'`
9875   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9876   (eval "$lt_compile" 2>conftest.err)
9877   ac_status=$?
9878   cat conftest.err >&5
9879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880   if (exit $ac_status) && test -s "$ac_outfile"; then
9881     # The compiler can only warn and ignore the option if not recognized
9882     # So say no if there are warnings other than the usual output.
9883     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9884     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9885     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9886       lt_cv_prog_compiler_rtti_exceptions=yes
9887     fi
9888   fi
9889   $RM conftest*
9890
9891fi
9892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9893$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9894
9895if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9896    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9897else
9898    :
9899fi
9900
9901fi
9902
9903
9904
9905
9906
9907
9908  lt_prog_compiler_wl=
9909lt_prog_compiler_pic=
9910lt_prog_compiler_static=
9911
9912
9913  if test yes = "$GCC"; then
9914    lt_prog_compiler_wl='-Wl,'
9915    lt_prog_compiler_static='-static'
9916
9917    case $host_os in
9918      aix*)
9919      # All AIX code is PIC.
9920      if test ia64 = "$host_cpu"; then
9921	# AIX 5 now supports IA64 processor
9922	lt_prog_compiler_static='-Bstatic'
9923      fi
9924      lt_prog_compiler_pic='-fPIC'
9925      ;;
9926
9927    amigaos*)
9928      case $host_cpu in
9929      powerpc)
9930            # see comment about AmigaOS4 .so support
9931            lt_prog_compiler_pic='-fPIC'
9932        ;;
9933      m68k)
9934            # FIXME: we need at least 68020 code to build shared libraries, but
9935            # adding the '-m68020' flag to GCC prevents building anything better,
9936            # like '-m68040'.
9937            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9938        ;;
9939      esac
9940      ;;
9941
9942    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9943      # PIC is the default for these OSes.
9944      ;;
9945
9946    mingw* | cygwin* | pw32* | os2* | cegcc*)
9947      # This hack is so that the source file can tell whether it is being
9948      # built for inclusion in a dll (and should export symbols for example).
9949      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9950      # (--disable-auto-import) libraries
9951      lt_prog_compiler_pic='-DDLL_EXPORT'
9952      case $host_os in
9953      os2*)
9954	lt_prog_compiler_static='$wl-static'
9955	;;
9956      esac
9957      ;;
9958
9959    darwin* | rhapsody*)
9960      # PIC is the default on this platform
9961      # Common symbols not allowed in MH_DYLIB files
9962      lt_prog_compiler_pic='-fno-common'
9963      ;;
9964
9965    haiku*)
9966      # PIC is the default for Haiku.
9967      # The "-static" flag exists, but is broken.
9968      lt_prog_compiler_static=
9969      ;;
9970
9971    hpux*)
9972      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9973      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9974      # sets the default TLS model and affects inlining.
9975      case $host_cpu in
9976      hppa*64*)
9977	# +Z the default
9978	;;
9979      *)
9980	lt_prog_compiler_pic='-fPIC'
9981	;;
9982      esac
9983      ;;
9984
9985    interix[3-9]*)
9986      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9987      # Instead, we relocate shared libraries at runtime.
9988      ;;
9989
9990    msdosdjgpp*)
9991      # Just because we use GCC doesn't mean we suddenly get shared libraries
9992      # on systems that don't support them.
9993      lt_prog_compiler_can_build_shared=no
9994      enable_shared=no
9995      ;;
9996
9997    *nto* | *qnx*)
9998      # QNX uses GNU C++, but need to define -shared option too, otherwise
9999      # it will coredump.
10000      lt_prog_compiler_pic='-fPIC -shared'
10001      ;;
10002
10003    sysv4*MP*)
10004      if test -d /usr/nec; then
10005	lt_prog_compiler_pic=-Kconform_pic
10006      fi
10007      ;;
10008
10009    *)
10010      lt_prog_compiler_pic='-fPIC'
10011      ;;
10012    esac
10013
10014    case $cc_basename in
10015    nvcc*) # Cuda Compiler Driver 2.2
10016      lt_prog_compiler_wl='-Xlinker '
10017      if test -n "$lt_prog_compiler_pic"; then
10018        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10019      fi
10020      ;;
10021    esac
10022  else
10023    # PORTME Check for flag to pass linker flags through the system compiler.
10024    case $host_os in
10025    aix*)
10026      lt_prog_compiler_wl='-Wl,'
10027      if test ia64 = "$host_cpu"; then
10028	# AIX 5 now supports IA64 processor
10029	lt_prog_compiler_static='-Bstatic'
10030      else
10031	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10032      fi
10033      ;;
10034
10035    darwin* | rhapsody*)
10036      # PIC is the default on this platform
10037      # Common symbols not allowed in MH_DYLIB files
10038      lt_prog_compiler_pic='-fno-common'
10039      case $cc_basename in
10040      nagfor*)
10041        # NAG Fortran compiler
10042        lt_prog_compiler_wl='-Wl,-Wl,,'
10043        lt_prog_compiler_pic='-PIC'
10044        lt_prog_compiler_static='-Bstatic'
10045        ;;
10046      esac
10047      ;;
10048
10049    mingw* | cygwin* | pw32* | os2* | cegcc*)
10050      # This hack is so that the source file can tell whether it is being
10051      # built for inclusion in a dll (and should export symbols for example).
10052      lt_prog_compiler_pic='-DDLL_EXPORT'
10053      case $host_os in
10054      os2*)
10055	lt_prog_compiler_static='$wl-static'
10056	;;
10057      esac
10058      ;;
10059
10060    hpux9* | hpux10* | hpux11*)
10061      lt_prog_compiler_wl='-Wl,'
10062      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10063      # not for PA HP-UX.
10064      case $host_cpu in
10065      hppa*64*|ia64*)
10066	# +Z the default
10067	;;
10068      *)
10069	lt_prog_compiler_pic='+Z'
10070	;;
10071      esac
10072      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10073      lt_prog_compiler_static='$wl-a ${wl}archive'
10074      ;;
10075
10076    irix5* | irix6* | nonstopux*)
10077      lt_prog_compiler_wl='-Wl,'
10078      # PIC (with -KPIC) is the default.
10079      lt_prog_compiler_static='-non_shared'
10080      ;;
10081
10082    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10083      case $cc_basename in
10084      # old Intel for x86_64, which still supported -KPIC.
10085      ecc*)
10086	lt_prog_compiler_wl='-Wl,'
10087	lt_prog_compiler_pic='-KPIC'
10088	lt_prog_compiler_static='-static'
10089        ;;
10090      # icc used to be incompatible with GCC.
10091      # ICC 10 doesn't accept -KPIC any more.
10092      icc* | ifort*)
10093	lt_prog_compiler_wl='-Wl,'
10094	lt_prog_compiler_pic='-fPIC'
10095	lt_prog_compiler_static='-static'
10096        ;;
10097      # Lahey Fortran 8.1.
10098      lf95*)
10099	lt_prog_compiler_wl='-Wl,'
10100	lt_prog_compiler_pic='--shared'
10101	lt_prog_compiler_static='--static'
10102	;;
10103      nagfor*)
10104	# NAG Fortran compiler
10105	lt_prog_compiler_wl='-Wl,-Wl,,'
10106	lt_prog_compiler_pic='-PIC'
10107	lt_prog_compiler_static='-Bstatic'
10108	;;
10109      tcc*)
10110	# Fabrice Bellard et al's Tiny C Compiler
10111	lt_prog_compiler_wl='-Wl,'
10112	lt_prog_compiler_pic='-fPIC'
10113	lt_prog_compiler_static='-static'
10114	;;
10115      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10116        # Portland Group compilers (*not* the Pentium gcc compiler,
10117	# which looks to be a dead project)
10118	lt_prog_compiler_wl='-Wl,'
10119	lt_prog_compiler_pic='-fpic'
10120	lt_prog_compiler_static='-Bstatic'
10121        ;;
10122      ccc*)
10123        lt_prog_compiler_wl='-Wl,'
10124        # All Alpha code is PIC.
10125        lt_prog_compiler_static='-non_shared'
10126        ;;
10127      xl* | bgxl* | bgf* | mpixl*)
10128	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10129	lt_prog_compiler_wl='-Wl,'
10130	lt_prog_compiler_pic='-qpic'
10131	lt_prog_compiler_static='-qstaticlink'
10132	;;
10133      *)
10134	case `$CC -V 2>&1 | sed 5q` in
10135	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10136	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10137	  lt_prog_compiler_pic='-KPIC'
10138	  lt_prog_compiler_static='-Bstatic'
10139	  lt_prog_compiler_wl=''
10140	  ;;
10141	*Sun\ F* | *Sun*Fortran*)
10142	  lt_prog_compiler_pic='-KPIC'
10143	  lt_prog_compiler_static='-Bstatic'
10144	  lt_prog_compiler_wl='-Qoption ld '
10145	  ;;
10146	*Sun\ C*)
10147	  # Sun C 5.9
10148	  lt_prog_compiler_pic='-KPIC'
10149	  lt_prog_compiler_static='-Bstatic'
10150	  lt_prog_compiler_wl='-Wl,'
10151	  ;;
10152        *Intel*\ [CF]*Compiler*)
10153	  lt_prog_compiler_wl='-Wl,'
10154	  lt_prog_compiler_pic='-fPIC'
10155	  lt_prog_compiler_static='-static'
10156	  ;;
10157	*Portland\ Group*)
10158	  lt_prog_compiler_wl='-Wl,'
10159	  lt_prog_compiler_pic='-fpic'
10160	  lt_prog_compiler_static='-Bstatic'
10161	  ;;
10162	esac
10163	;;
10164      esac
10165      ;;
10166
10167    newsos6)
10168      lt_prog_compiler_pic='-KPIC'
10169      lt_prog_compiler_static='-Bstatic'
10170      ;;
10171
10172    *nto* | *qnx*)
10173      # QNX uses GNU C++, but need to define -shared option too, otherwise
10174      # it will coredump.
10175      lt_prog_compiler_pic='-fPIC -shared'
10176      ;;
10177
10178    osf3* | osf4* | osf5*)
10179      lt_prog_compiler_wl='-Wl,'
10180      # All OSF/1 code is PIC.
10181      lt_prog_compiler_static='-non_shared'
10182      ;;
10183
10184    rdos*)
10185      lt_prog_compiler_static='-non_shared'
10186      ;;
10187
10188    solaris*)
10189      lt_prog_compiler_pic='-KPIC'
10190      lt_prog_compiler_static='-Bstatic'
10191      case $cc_basename in
10192      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10193	lt_prog_compiler_wl='-Qoption ld ';;
10194      *)
10195	lt_prog_compiler_wl='-Wl,';;
10196      esac
10197      ;;
10198
10199    sunos4*)
10200      lt_prog_compiler_wl='-Qoption ld '
10201      lt_prog_compiler_pic='-PIC'
10202      lt_prog_compiler_static='-Bstatic'
10203      ;;
10204
10205    sysv4 | sysv4.2uw2* | sysv4.3*)
10206      lt_prog_compiler_wl='-Wl,'
10207      lt_prog_compiler_pic='-KPIC'
10208      lt_prog_compiler_static='-Bstatic'
10209      ;;
10210
10211    sysv4*MP*)
10212      if test -d /usr/nec; then
10213	lt_prog_compiler_pic='-Kconform_pic'
10214	lt_prog_compiler_static='-Bstatic'
10215      fi
10216      ;;
10217
10218    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10219      lt_prog_compiler_wl='-Wl,'
10220      lt_prog_compiler_pic='-KPIC'
10221      lt_prog_compiler_static='-Bstatic'
10222      ;;
10223
10224    unicos*)
10225      lt_prog_compiler_wl='-Wl,'
10226      lt_prog_compiler_can_build_shared=no
10227      ;;
10228
10229    uts4*)
10230      lt_prog_compiler_pic='-pic'
10231      lt_prog_compiler_static='-Bstatic'
10232      ;;
10233
10234    *)
10235      lt_prog_compiler_can_build_shared=no
10236      ;;
10237    esac
10238  fi
10239
10240case $host_os in
10241  # For platforms that do not support PIC, -DPIC is meaningless:
10242  *djgpp*)
10243    lt_prog_compiler_pic=
10244    ;;
10245  *)
10246    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10247    ;;
10248esac
10249
10250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10251$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10252if ${lt_cv_prog_compiler_pic+:} false; then :
10253  $as_echo_n "(cached) " >&6
10254else
10255  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10256fi
10257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10258$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10259lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10260
10261#
10262# Check to make sure the PIC flag actually works.
10263#
10264if test -n "$lt_prog_compiler_pic"; then
10265  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10266$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10267if ${lt_cv_prog_compiler_pic_works+:} false; then :
10268  $as_echo_n "(cached) " >&6
10269else
10270  lt_cv_prog_compiler_pic_works=no
10271   ac_outfile=conftest.$ac_objext
10272   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10273   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10274   # Insert the option either (1) after the last *FLAGS variable, or
10275   # (2) before a word containing "conftest.", or (3) at the end.
10276   # Note that $ac_compile itself does not contain backslashes and begins
10277   # with a dollar sign (not a hyphen), so the echo should work correctly.
10278   # The option is referenced via a variable to avoid confusing sed.
10279   lt_compile=`echo "$ac_compile" | $SED \
10280   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10281   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10282   -e 's:$: $lt_compiler_flag:'`
10283   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10284   (eval "$lt_compile" 2>conftest.err)
10285   ac_status=$?
10286   cat conftest.err >&5
10287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288   if (exit $ac_status) && test -s "$ac_outfile"; then
10289     # The compiler can only warn and ignore the option if not recognized
10290     # So say no if there are warnings other than the usual output.
10291     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10292     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10293     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10294       lt_cv_prog_compiler_pic_works=yes
10295     fi
10296   fi
10297   $RM conftest*
10298
10299fi
10300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10301$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10302
10303if test yes = "$lt_cv_prog_compiler_pic_works"; then
10304    case $lt_prog_compiler_pic in
10305     "" | " "*) ;;
10306     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10307     esac
10308else
10309    lt_prog_compiler_pic=
10310     lt_prog_compiler_can_build_shared=no
10311fi
10312
10313fi
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325#
10326# Check to make sure the static flag actually works.
10327#
10328wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10330$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10331if ${lt_cv_prog_compiler_static_works+:} false; then :
10332  $as_echo_n "(cached) " >&6
10333else
10334  lt_cv_prog_compiler_static_works=no
10335   save_LDFLAGS=$LDFLAGS
10336   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10337   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10338   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10339     # The linker can only warn and ignore the option if not recognized
10340     # So say no if there are warnings
10341     if test -s conftest.err; then
10342       # Append any errors to the config.log.
10343       cat conftest.err 1>&5
10344       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10345       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10346       if diff conftest.exp conftest.er2 >/dev/null; then
10347         lt_cv_prog_compiler_static_works=yes
10348       fi
10349     else
10350       lt_cv_prog_compiler_static_works=yes
10351     fi
10352   fi
10353   $RM -r conftest*
10354   LDFLAGS=$save_LDFLAGS
10355
10356fi
10357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10358$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10359
10360if test yes = "$lt_cv_prog_compiler_static_works"; then
10361    :
10362else
10363    lt_prog_compiler_static=
10364fi
10365
10366
10367
10368
10369
10370
10371
10372  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10373$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10374if ${lt_cv_prog_compiler_c_o+:} false; then :
10375  $as_echo_n "(cached) " >&6
10376else
10377  lt_cv_prog_compiler_c_o=no
10378   $RM -r conftest 2>/dev/null
10379   mkdir conftest
10380   cd conftest
10381   mkdir out
10382   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10383
10384   lt_compiler_flag="-o out/conftest2.$ac_objext"
10385   # Insert the option either (1) after the last *FLAGS variable, or
10386   # (2) before a word containing "conftest.", or (3) at the end.
10387   # Note that $ac_compile itself does not contain backslashes and begins
10388   # with a dollar sign (not a hyphen), so the echo should work correctly.
10389   lt_compile=`echo "$ac_compile" | $SED \
10390   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10391   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10392   -e 's:$: $lt_compiler_flag:'`
10393   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10394   (eval "$lt_compile" 2>out/conftest.err)
10395   ac_status=$?
10396   cat out/conftest.err >&5
10397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10399   then
10400     # The compiler can only warn and ignore the option if not recognized
10401     # So say no if there are warnings
10402     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10403     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10404     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10405       lt_cv_prog_compiler_c_o=yes
10406     fi
10407   fi
10408   chmod u+w . 2>&5
10409   $RM conftest*
10410   # SGI C++ compiler will create directory out/ii_files/ for
10411   # template instantiation
10412   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10413   $RM out/* && rmdir out
10414   cd ..
10415   $RM -r conftest
10416   $RM conftest*
10417
10418fi
10419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10420$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10421
10422
10423
10424
10425
10426
10427  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10428$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10429if ${lt_cv_prog_compiler_c_o+:} false; then :
10430  $as_echo_n "(cached) " >&6
10431else
10432  lt_cv_prog_compiler_c_o=no
10433   $RM -r conftest 2>/dev/null
10434   mkdir conftest
10435   cd conftest
10436   mkdir out
10437   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10438
10439   lt_compiler_flag="-o out/conftest2.$ac_objext"
10440   # Insert the option either (1) after the last *FLAGS variable, or
10441   # (2) before a word containing "conftest.", or (3) at the end.
10442   # Note that $ac_compile itself does not contain backslashes and begins
10443   # with a dollar sign (not a hyphen), so the echo should work correctly.
10444   lt_compile=`echo "$ac_compile" | $SED \
10445   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10446   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10447   -e 's:$: $lt_compiler_flag:'`
10448   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10449   (eval "$lt_compile" 2>out/conftest.err)
10450   ac_status=$?
10451   cat out/conftest.err >&5
10452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10454   then
10455     # The compiler can only warn and ignore the option if not recognized
10456     # So say no if there are warnings
10457     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10458     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10459     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10460       lt_cv_prog_compiler_c_o=yes
10461     fi
10462   fi
10463   chmod u+w . 2>&5
10464   $RM conftest*
10465   # SGI C++ compiler will create directory out/ii_files/ for
10466   # template instantiation
10467   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10468   $RM out/* && rmdir out
10469   cd ..
10470   $RM -r conftest
10471   $RM conftest*
10472
10473fi
10474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10475$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10476
10477
10478
10479
10480hard_links=nottested
10481if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10482  # do not overwrite the value of need_locks provided by the user
10483  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10484$as_echo_n "checking if we can lock with hard links... " >&6; }
10485  hard_links=yes
10486  $RM conftest*
10487  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10488  touch conftest.a
10489  ln conftest.a conftest.b 2>&5 || hard_links=no
10490  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10492$as_echo "$hard_links" >&6; }
10493  if test no = "$hard_links"; then
10494    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10495$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10496    need_locks=warn
10497  fi
10498else
10499  need_locks=no
10500fi
10501
10502
10503
10504
10505
10506
10507  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10508$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10509
10510  runpath_var=
10511  allow_undefined_flag=
10512  always_export_symbols=no
10513  archive_cmds=
10514  archive_expsym_cmds=
10515  compiler_needs_object=no
10516  enable_shared_with_static_runtimes=no
10517  export_dynamic_flag_spec=
10518  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10519  hardcode_automatic=no
10520  hardcode_direct=no
10521  hardcode_direct_absolute=no
10522  hardcode_libdir_flag_spec=
10523  hardcode_libdir_separator=
10524  hardcode_minus_L=no
10525  hardcode_shlibpath_var=unsupported
10526  inherit_rpath=no
10527  link_all_deplibs=unknown
10528  module_cmds=
10529  module_expsym_cmds=
10530  old_archive_from_new_cmds=
10531  old_archive_from_expsyms_cmds=
10532  thread_safe_flag_spec=
10533  whole_archive_flag_spec=
10534  # include_expsyms should be a list of space-separated symbols to be *always*
10535  # included in the symbol list
10536  include_expsyms=
10537  # exclude_expsyms can be an extended regexp of symbols to exclude
10538  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10539  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10540  # as well as any symbol that contains 'd'.
10541  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10542  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10543  # platforms (ab)use it in PIC code, but their linkers get confused if
10544  # the symbol is explicitly referenced.  Since portable code cannot
10545  # rely on this symbol name, it's probably fine to never include it in
10546  # preloaded symbol tables.
10547  # Exclude shared library initialization/finalization symbols.
10548  extract_expsyms_cmds=
10549
10550  case $host_os in
10551  cygwin* | mingw* | pw32* | cegcc*)
10552    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10553    # When not using gcc, we currently assume that we are using
10554    # Microsoft Visual C++.
10555    if test yes != "$GCC"; then
10556      with_gnu_ld=no
10557    fi
10558    ;;
10559  interix*)
10560    # we just hope/assume this is gcc and not c89 (= MSVC++)
10561    with_gnu_ld=yes
10562    ;;
10563  openbsd* | bitrig*)
10564    with_gnu_ld=no
10565    ;;
10566  linux* | k*bsd*-gnu | gnu*)
10567    link_all_deplibs=no
10568    ;;
10569  esac
10570
10571  ld_shlibs=yes
10572
10573  # On some targets, GNU ld is compatible enough with the native linker
10574  # that we're better off using the native interface for both.
10575  lt_use_gnu_ld_interface=no
10576  if test yes = "$with_gnu_ld"; then
10577    case $host_os in
10578      aix*)
10579	# The AIX port of GNU ld has always aspired to compatibility
10580	# with the native linker.  However, as the warning in the GNU ld
10581	# block says, versions before 2.19.5* couldn't really create working
10582	# shared libraries, regardless of the interface used.
10583	case `$LD -v 2>&1` in
10584	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10585	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10586	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10587	  *)
10588	    lt_use_gnu_ld_interface=yes
10589	    ;;
10590	esac
10591	;;
10592      *)
10593	lt_use_gnu_ld_interface=yes
10594	;;
10595    esac
10596  fi
10597
10598  if test yes = "$lt_use_gnu_ld_interface"; then
10599    # If archive_cmds runs LD, not CC, wlarc should be empty
10600    wlarc='$wl'
10601
10602    # Set some defaults for GNU ld with shared library support. These
10603    # are reset later if shared libraries are not supported. Putting them
10604    # here allows them to be overridden if necessary.
10605    runpath_var=LD_RUN_PATH
10606    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10607    export_dynamic_flag_spec='$wl--export-dynamic'
10608    # ancient GNU ld didn't support --whole-archive et. al.
10609    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10610      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10611    else
10612      whole_archive_flag_spec=
10613    fi
10614    supports_anon_versioning=no
10615    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10616      *GNU\ gold*) supports_anon_versioning=yes ;;
10617      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10618      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10619      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10620      *\ 2.11.*) ;; # other 2.11 versions
10621      *) supports_anon_versioning=yes ;;
10622    esac
10623
10624    # See if GNU ld supports shared libraries.
10625    case $host_os in
10626    aix[3-9]*)
10627      # On AIX/PPC, the GNU linker is very broken
10628      if test ia64 != "$host_cpu"; then
10629	ld_shlibs=no
10630	cat <<_LT_EOF 1>&2
10631
10632*** Warning: the GNU linker, at least up to release 2.19, is reported
10633*** to be unable to reliably create shared libraries on AIX.
10634*** Therefore, libtool is disabling shared libraries support.  If you
10635*** really care for shared libraries, you may want to install binutils
10636*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10637*** You will then need to restart the configuration process.
10638
10639_LT_EOF
10640      fi
10641      ;;
10642
10643    amigaos*)
10644      case $host_cpu in
10645      powerpc)
10646            # see comment about AmigaOS4 .so support
10647            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10648            archive_expsym_cmds=''
10649        ;;
10650      m68k)
10651            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)'
10652            hardcode_libdir_flag_spec='-L$libdir'
10653            hardcode_minus_L=yes
10654        ;;
10655      esac
10656      ;;
10657
10658    beos*)
10659      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10660	allow_undefined_flag=unsupported
10661	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10662	# support --undefined.  This deserves some investigation.  FIXME
10663	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10664      else
10665	ld_shlibs=no
10666      fi
10667      ;;
10668
10669    cygwin* | mingw* | pw32* | cegcc*)
10670      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10671      # as there is no search path for DLLs.
10672      hardcode_libdir_flag_spec='-L$libdir'
10673      export_dynamic_flag_spec='$wl--export-all-symbols'
10674      allow_undefined_flag=unsupported
10675      always_export_symbols=no
10676      enable_shared_with_static_runtimes=yes
10677      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'
10678      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10679
10680      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10681        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10682	# If the export-symbols file already is a .def file, use it as
10683	# is; otherwise, prepend EXPORTS...
10684	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10685          cp $export_symbols $output_objdir/$soname.def;
10686        else
10687          echo EXPORTS > $output_objdir/$soname.def;
10688          cat $export_symbols >> $output_objdir/$soname.def;
10689        fi~
10690        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10691      else
10692	ld_shlibs=no
10693      fi
10694      ;;
10695
10696    haiku*)
10697      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10698      link_all_deplibs=yes
10699      ;;
10700
10701    os2*)
10702      hardcode_libdir_flag_spec='-L$libdir'
10703      hardcode_minus_L=yes
10704      allow_undefined_flag=unsupported
10705      shrext_cmds=.dll
10706      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10707	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10708	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10709	$ECHO EXPORTS >> $output_objdir/$libname.def~
10710	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10711	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10712	emximp -o $lib $output_objdir/$libname.def'
10713      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10714	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10715	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10716	$ECHO EXPORTS >> $output_objdir/$libname.def~
10717	prefix_cmds="$SED"~
10718	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10719	  prefix_cmds="$prefix_cmds -e 1d";
10720	fi~
10721	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10722	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10723	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10724	emximp -o $lib $output_objdir/$libname.def'
10725      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10726      enable_shared_with_static_runtimes=yes
10727      ;;
10728
10729    interix[3-9]*)
10730      hardcode_direct=no
10731      hardcode_shlibpath_var=no
10732      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10733      export_dynamic_flag_spec='$wl-E'
10734      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10735      # Instead, shared libraries are loaded at an image base (0x10000000 by
10736      # default) and relocated if they conflict, which is a slow very memory
10737      # consuming and fragmenting process.  To avoid this, we pick a random,
10738      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10739      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10740      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10741      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'
10742      ;;
10743
10744    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10745      tmp_diet=no
10746      if test linux-dietlibc = "$host_os"; then
10747	case $cc_basename in
10748	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10749	esac
10750      fi
10751      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10752	 && test no = "$tmp_diet"
10753      then
10754	tmp_addflag=' $pic_flag'
10755	tmp_sharedflag='-shared'
10756	case $cc_basename,$host_cpu in
10757        pgcc*)				# Portland Group C compiler
10758	  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'
10759	  tmp_addflag=' $pic_flag'
10760	  ;;
10761	pgf77* | pgf90* | pgf95* | pgfortran*)
10762					# Portland Group f77 and f90 compilers
10763	  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'
10764	  tmp_addflag=' $pic_flag -Mnomain' ;;
10765	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10766	  tmp_addflag=' -i_dynamic' ;;
10767	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10768	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10769	ifc* | ifort*)			# Intel Fortran compiler
10770	  tmp_addflag=' -nofor_main' ;;
10771	lf95*)				# Lahey Fortran 8.1
10772	  whole_archive_flag_spec=
10773	  tmp_sharedflag='--shared' ;;
10774        nagfor*)                        # NAGFOR 5.3
10775          tmp_sharedflag='-Wl,-shared' ;;
10776	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10777	  tmp_sharedflag='-qmkshrobj'
10778	  tmp_addflag= ;;
10779	nvcc*)	# Cuda Compiler Driver 2.2
10780	  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'
10781	  compiler_needs_object=yes
10782	  ;;
10783	esac
10784	case `$CC -V 2>&1 | sed 5q` in
10785	*Sun\ C*)			# Sun C 5.9
10786	  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'
10787	  compiler_needs_object=yes
10788	  tmp_sharedflag='-G' ;;
10789	*Sun\ F*)			# Sun Fortran 8.3
10790	  tmp_sharedflag='-G' ;;
10791	esac
10792	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10793
10794        if test yes = "$supports_anon_versioning"; then
10795          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10796            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10797            echo "local: *; };" >> $output_objdir/$libname.ver~
10798            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10799        fi
10800
10801	case $cc_basename in
10802	tcc*)
10803	  export_dynamic_flag_spec='-rdynamic'
10804	  ;;
10805	xlf* | bgf* | bgxlf* | mpixlf*)
10806	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10807	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10808	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10809	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10810	  if test yes = "$supports_anon_versioning"; then
10811	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10812              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10813              echo "local: *; };" >> $output_objdir/$libname.ver~
10814              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10815	  fi
10816	  ;;
10817	esac
10818      else
10819        ld_shlibs=no
10820      fi
10821      ;;
10822
10823    netbsd* | netbsdelf*-gnu)
10824      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10825	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10826	wlarc=
10827      else
10828	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10829	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10830      fi
10831      ;;
10832
10833    solaris*)
10834      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10835	ld_shlibs=no
10836	cat <<_LT_EOF 1>&2
10837
10838*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10839*** create shared libraries on Solaris systems.  Therefore, libtool
10840*** is disabling shared libraries support.  We urge you to upgrade GNU
10841*** binutils to release 2.9.1 or newer.  Another option is to modify
10842*** your PATH or compiler configuration so that the native linker is
10843*** used, and then restart.
10844
10845_LT_EOF
10846      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10847	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10848	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10849      else
10850	ld_shlibs=no
10851      fi
10852      ;;
10853
10854    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10855      case `$LD -v 2>&1` in
10856        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10857	ld_shlibs=no
10858	cat <<_LT_EOF 1>&2
10859
10860*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10861*** reliably create shared libraries on SCO systems.  Therefore, libtool
10862*** is disabling shared libraries support.  We urge you to upgrade GNU
10863*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10864*** your PATH or compiler configuration so that the native linker is
10865*** used, and then restart.
10866
10867_LT_EOF
10868	;;
10869	*)
10870	  # For security reasons, it is highly recommended that you always
10871	  # use absolute paths for naming shared libraries, and exclude the
10872	  # DT_RUNPATH tag from executables and libraries.  But doing so
10873	  # requires that you compile everything twice, which is a pain.
10874	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10875	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10876	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10877	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10878	  else
10879	    ld_shlibs=no
10880	  fi
10881	;;
10882      esac
10883      ;;
10884
10885    sunos4*)
10886      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10887      wlarc=
10888      hardcode_direct=yes
10889      hardcode_shlibpath_var=no
10890      ;;
10891
10892    *)
10893      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10894	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10895	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10896      else
10897	ld_shlibs=no
10898      fi
10899      ;;
10900    esac
10901
10902    if test no = "$ld_shlibs"; then
10903      runpath_var=
10904      hardcode_libdir_flag_spec=
10905      export_dynamic_flag_spec=
10906      whole_archive_flag_spec=
10907    fi
10908  else
10909    # PORTME fill in a description of your system's linker (not GNU ld)
10910    case $host_os in
10911    aix3*)
10912      allow_undefined_flag=unsupported
10913      always_export_symbols=yes
10914      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'
10915      # Note: this linker hardcodes the directories in LIBPATH if there
10916      # are no directories specified by -L.
10917      hardcode_minus_L=yes
10918      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10919	# Neither direct hardcoding nor static linking is supported with a
10920	# broken collect2.
10921	hardcode_direct=unsupported
10922      fi
10923      ;;
10924
10925    aix[4-9]*)
10926      if test ia64 = "$host_cpu"; then
10927	# On IA64, the linker does run time linking by default, so we don't
10928	# have to do anything special.
10929	aix_use_runtimelinking=no
10930	exp_sym_flag='-Bexport'
10931	no_entry_flag=
10932      else
10933	# If we're using GNU nm, then we don't want the "-C" option.
10934	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10935	# Without the "-l" option, or with the "-B" option, AIX nm treats
10936	# weak defined symbols like other global defined symbols, whereas
10937	# GNU nm marks them as "W".
10938	# While the 'weak' keyword is ignored in the Export File, we need
10939	# it in the Import File for the 'aix-soname' feature, so we have
10940	# to replace the "-B" option with "-P" for AIX nm.
10941	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10942	  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'
10943	else
10944	  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'
10945	fi
10946	aix_use_runtimelinking=no
10947
10948	# Test if we are trying to use run time linking or normal
10949	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10950	# have runtime linking enabled, and use it for executables.
10951	# For shared libraries, we enable/disable runtime linking
10952	# depending on the kind of the shared library created -
10953	# when "with_aix_soname,aix_use_runtimelinking" is:
10954	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10955	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10956	#            lib.a           static archive
10957	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10958	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10959	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10960	#            lib.a(lib.so.V) shared, rtl:no
10961	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10962	#            lib.a           static archive
10963	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10964	  for ld_flag in $LDFLAGS; do
10965	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10966	    aix_use_runtimelinking=yes
10967	    break
10968	  fi
10969	  done
10970	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10971	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10972	    # so we don't have lib.a shared libs to link our executables.
10973	    # We have to force runtime linking in this case.
10974	    aix_use_runtimelinking=yes
10975	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10976	  fi
10977	  ;;
10978	esac
10979
10980	exp_sym_flag='-bexport'
10981	no_entry_flag='-bnoentry'
10982      fi
10983
10984      # When large executables or shared objects are built, AIX ld can
10985      # have problems creating the table of contents.  If linking a library
10986      # or program results in "error TOC overflow" add -mminimal-toc to
10987      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10988      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10989
10990      archive_cmds=''
10991      hardcode_direct=yes
10992      hardcode_direct_absolute=yes
10993      hardcode_libdir_separator=':'
10994      link_all_deplibs=yes
10995      file_list_spec='$wl-f,'
10996      case $with_aix_soname,$aix_use_runtimelinking in
10997      aix,*) ;; # traditional, no import file
10998      svr4,* | *,yes) # use import file
10999	# The Import File defines what to hardcode.
11000	hardcode_direct=no
11001	hardcode_direct_absolute=no
11002	;;
11003      esac
11004
11005      if test yes = "$GCC"; then
11006	case $host_os in aix4.[012]|aix4.[012].*)
11007	# We only want to do this on AIX 4.2 and lower, the check
11008	# below for broken collect2 doesn't work under 4.3+
11009	  collect2name=`$CC -print-prog-name=collect2`
11010	  if test -f "$collect2name" &&
11011	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11012	  then
11013	  # We have reworked collect2
11014	  :
11015	  else
11016	  # We have old collect2
11017	  hardcode_direct=unsupported
11018	  # It fails to find uninstalled libraries when the uninstalled
11019	  # path is not listed in the libpath.  Setting hardcode_minus_L
11020	  # to unsupported forces relinking
11021	  hardcode_minus_L=yes
11022	  hardcode_libdir_flag_spec='-L$libdir'
11023	  hardcode_libdir_separator=
11024	  fi
11025	  ;;
11026	esac
11027	shared_flag='-shared'
11028	if test yes = "$aix_use_runtimelinking"; then
11029	  shared_flag="$shared_flag "'$wl-G'
11030	fi
11031	# Need to ensure runtime linking is disabled for the traditional
11032	# shared library, or the linker may eventually find shared libraries
11033	# /with/ Import File - we do not want to mix them.
11034	shared_flag_aix='-shared'
11035	shared_flag_svr4='-shared $wl-G'
11036      else
11037	# not using gcc
11038	if test ia64 = "$host_cpu"; then
11039	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11040	# chokes on -Wl,-G. The following line is correct:
11041	  shared_flag='-G'
11042	else
11043	  if test yes = "$aix_use_runtimelinking"; then
11044	    shared_flag='$wl-G'
11045	  else
11046	    shared_flag='$wl-bM:SRE'
11047	  fi
11048	  shared_flag_aix='$wl-bM:SRE'
11049	  shared_flag_svr4='$wl-G'
11050	fi
11051      fi
11052
11053      export_dynamic_flag_spec='$wl-bexpall'
11054      # It seems that -bexpall does not export symbols beginning with
11055      # underscore (_), so it is better to generate a list of symbols to export.
11056      always_export_symbols=yes
11057      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11058	# Warning - without using the other runtime loading flags (-brtl),
11059	# -berok will link without error, but may produce a broken library.
11060	allow_undefined_flag='-berok'
11061        # Determine the default libpath from the value encoded in an
11062        # empty executable.
11063        if test set = "${lt_cv_aix_libpath+set}"; then
11064  aix_libpath=$lt_cv_aix_libpath
11065else
11066  if ${lt_cv_aix_libpath_+:} false; then :
11067  $as_echo_n "(cached) " >&6
11068else
11069  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070/* end confdefs.h.  */
11071
11072int
11073main ()
11074{
11075
11076  ;
11077  return 0;
11078}
11079_ACEOF
11080if ac_fn_c_try_link "$LINENO"; then :
11081
11082  lt_aix_libpath_sed='
11083      /Import File Strings/,/^$/ {
11084	  /^0/ {
11085	      s/^0  *\([^ ]*\) *$/\1/
11086	      p
11087	  }
11088      }'
11089  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11090  # Check for a 64-bit object if we didn't find anything.
11091  if test -z "$lt_cv_aix_libpath_"; then
11092    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11093  fi
11094fi
11095rm -f core conftest.err conftest.$ac_objext \
11096    conftest$ac_exeext conftest.$ac_ext
11097  if test -z "$lt_cv_aix_libpath_"; then
11098    lt_cv_aix_libpath_=/usr/lib:/lib
11099  fi
11100
11101fi
11102
11103  aix_libpath=$lt_cv_aix_libpath_
11104fi
11105
11106        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11107        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
11108      else
11109	if test ia64 = "$host_cpu"; then
11110	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11111	  allow_undefined_flag="-z nodefs"
11112	  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"
11113	else
11114	 # Determine the default libpath from the value encoded in an
11115	 # empty executable.
11116	 if test set = "${lt_cv_aix_libpath+set}"; then
11117  aix_libpath=$lt_cv_aix_libpath
11118else
11119  if ${lt_cv_aix_libpath_+:} false; then :
11120  $as_echo_n "(cached) " >&6
11121else
11122  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123/* end confdefs.h.  */
11124
11125int
11126main ()
11127{
11128
11129  ;
11130  return 0;
11131}
11132_ACEOF
11133if ac_fn_c_try_link "$LINENO"; then :
11134
11135  lt_aix_libpath_sed='
11136      /Import File Strings/,/^$/ {
11137	  /^0/ {
11138	      s/^0  *\([^ ]*\) *$/\1/
11139	      p
11140	  }
11141      }'
11142  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11143  # Check for a 64-bit object if we didn't find anything.
11144  if test -z "$lt_cv_aix_libpath_"; then
11145    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11146  fi
11147fi
11148rm -f core conftest.err conftest.$ac_objext \
11149    conftest$ac_exeext conftest.$ac_ext
11150  if test -z "$lt_cv_aix_libpath_"; then
11151    lt_cv_aix_libpath_=/usr/lib:/lib
11152  fi
11153
11154fi
11155
11156  aix_libpath=$lt_cv_aix_libpath_
11157fi
11158
11159	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11160	  # Warning - without using the other run time loading flags,
11161	  # -berok will link without error, but may produce a broken library.
11162	  no_undefined_flag=' $wl-bernotok'
11163	  allow_undefined_flag=' $wl-berok'
11164	  if test yes = "$with_gnu_ld"; then
11165	    # We only use this code for GNU lds that support --whole-archive.
11166	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11167	  else
11168	    # Exported symbols can be pulled into shared objects from archives
11169	    whole_archive_flag_spec='$convenience'
11170	  fi
11171	  archive_cmds_need_lc=yes
11172	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11173	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11174	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11175	  if test svr4 != "$with_aix_soname"; then
11176	    # This is similar to how AIX traditionally builds its shared libraries.
11177	    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'
11178	  fi
11179	  if test aix != "$with_aix_soname"; then
11180	    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'
11181	  else
11182	    # used by -dlpreopen to get the symbols
11183	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11184	  fi
11185	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11186	fi
11187      fi
11188      ;;
11189
11190    amigaos*)
11191      case $host_cpu in
11192      powerpc)
11193            # see comment about AmigaOS4 .so support
11194            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11195            archive_expsym_cmds=''
11196        ;;
11197      m68k)
11198            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)'
11199            hardcode_libdir_flag_spec='-L$libdir'
11200            hardcode_minus_L=yes
11201        ;;
11202      esac
11203      ;;
11204
11205    bsdi[45]*)
11206      export_dynamic_flag_spec=-rdynamic
11207      ;;
11208
11209    cygwin* | mingw* | pw32* | cegcc*)
11210      # When not using gcc, we currently assume that we are using
11211      # Microsoft Visual C++.
11212      # hardcode_libdir_flag_spec is actually meaningless, as there is
11213      # no search path for DLLs.
11214      case $cc_basename in
11215      cl*)
11216	# Native MSVC
11217	hardcode_libdir_flag_spec=' '
11218	allow_undefined_flag=unsupported
11219	always_export_symbols=yes
11220	file_list_spec='@'
11221	# Tell ltmain to make .lib files, not .a files.
11222	libext=lib
11223	# Tell ltmain to make .dll files, not .so files.
11224	shrext_cmds=.dll
11225	# FIXME: Setting linknames here is a bad hack.
11226	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11227	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11228            cp "$export_symbols" "$output_objdir/$soname.def";
11229            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11230          else
11231            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11232          fi~
11233          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11234          linknames='
11235	# The linker will not automatically build a static lib if we build a DLL.
11236	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11237	enable_shared_with_static_runtimes=yes
11238	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11239	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11240	# Don't use ranlib
11241	old_postinstall_cmds='chmod 644 $oldlib'
11242	postlink_cmds='lt_outputfile="@OUTPUT@"~
11243          lt_tool_outputfile="@TOOL_OUTPUT@"~
11244          case $lt_outputfile in
11245            *.exe|*.EXE) ;;
11246            *)
11247              lt_outputfile=$lt_outputfile.exe
11248              lt_tool_outputfile=$lt_tool_outputfile.exe
11249              ;;
11250          esac~
11251          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11252            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11253            $RM "$lt_outputfile.manifest";
11254          fi'
11255	;;
11256      *)
11257	# Assume MSVC wrapper
11258	hardcode_libdir_flag_spec=' '
11259	allow_undefined_flag=unsupported
11260	# Tell ltmain to make .lib files, not .a files.
11261	libext=lib
11262	# Tell ltmain to make .dll files, not .so files.
11263	shrext_cmds=.dll
11264	# FIXME: Setting linknames here is a bad hack.
11265	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11266	# The linker will automatically build a .lib file if we build a DLL.
11267	old_archive_from_new_cmds='true'
11268	# FIXME: Should let the user specify the lib program.
11269	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11270	enable_shared_with_static_runtimes=yes
11271	;;
11272      esac
11273      ;;
11274
11275    darwin* | rhapsody*)
11276
11277
11278  archive_cmds_need_lc=no
11279  hardcode_direct=no
11280  hardcode_automatic=yes
11281  hardcode_shlibpath_var=unsupported
11282  if test yes = "$lt_cv_ld_force_load"; then
11283    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\"`'
11284
11285  else
11286    whole_archive_flag_spec=''
11287  fi
11288  link_all_deplibs=yes
11289  allow_undefined_flag=$_lt_dar_allow_undefined
11290  case $cc_basename in
11291     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11292     *) _lt_dar_can_shared=$GCC ;;
11293  esac
11294  if test yes = "$_lt_dar_can_shared"; then
11295    output_verbose_link_cmd=func_echo_all
11296    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11297    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11298    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"
11299    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"
11300
11301  else
11302  ld_shlibs=no
11303  fi
11304
11305      ;;
11306
11307    dgux*)
11308      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11309      hardcode_libdir_flag_spec='-L$libdir'
11310      hardcode_shlibpath_var=no
11311      ;;
11312
11313    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11314    # support.  Future versions do this automatically, but an explicit c++rt0.o
11315    # does not break anything, and helps significantly (at the cost of a little
11316    # extra space).
11317    freebsd2.2*)
11318      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11319      hardcode_libdir_flag_spec='-R$libdir'
11320      hardcode_direct=yes
11321      hardcode_shlibpath_var=no
11322      ;;
11323
11324    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11325    freebsd2.*)
11326      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11327      hardcode_direct=yes
11328      hardcode_minus_L=yes
11329      hardcode_shlibpath_var=no
11330      ;;
11331
11332    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11333    freebsd* | dragonfly*)
11334      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11335      hardcode_libdir_flag_spec='-R$libdir'
11336      hardcode_direct=yes
11337      hardcode_shlibpath_var=no
11338      ;;
11339
11340    hpux9*)
11341      if test yes = "$GCC"; then
11342	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'
11343      else
11344	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'
11345      fi
11346      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11347      hardcode_libdir_separator=:
11348      hardcode_direct=yes
11349
11350      # hardcode_minus_L: Not really in the search PATH,
11351      # but as the default location of the library.
11352      hardcode_minus_L=yes
11353      export_dynamic_flag_spec='$wl-E'
11354      ;;
11355
11356    hpux10*)
11357      if test yes,no = "$GCC,$with_gnu_ld"; then
11358	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11359      else
11360	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11361      fi
11362      if test no = "$with_gnu_ld"; then
11363	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11364	hardcode_libdir_separator=:
11365	hardcode_direct=yes
11366	hardcode_direct_absolute=yes
11367	export_dynamic_flag_spec='$wl-E'
11368	# hardcode_minus_L: Not really in the search PATH,
11369	# but as the default location of the library.
11370	hardcode_minus_L=yes
11371      fi
11372      ;;
11373
11374    hpux11*)
11375      if test yes,no = "$GCC,$with_gnu_ld"; then
11376	case $host_cpu in
11377	hppa*64*)
11378	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11379	  ;;
11380	ia64*)
11381	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11382	  ;;
11383	*)
11384	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11385	  ;;
11386	esac
11387      else
11388	case $host_cpu in
11389	hppa*64*)
11390	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11391	  ;;
11392	ia64*)
11393	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11394	  ;;
11395	*)
11396
11397	  # Older versions of the 11.00 compiler do not understand -b yet
11398	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11399	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11400$as_echo_n "checking if $CC understands -b... " >&6; }
11401if ${lt_cv_prog_compiler__b+:} false; then :
11402  $as_echo_n "(cached) " >&6
11403else
11404  lt_cv_prog_compiler__b=no
11405   save_LDFLAGS=$LDFLAGS
11406   LDFLAGS="$LDFLAGS -b"
11407   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11408   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11409     # The linker can only warn and ignore the option if not recognized
11410     # So say no if there are warnings
11411     if test -s conftest.err; then
11412       # Append any errors to the config.log.
11413       cat conftest.err 1>&5
11414       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11415       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11416       if diff conftest.exp conftest.er2 >/dev/null; then
11417         lt_cv_prog_compiler__b=yes
11418       fi
11419     else
11420       lt_cv_prog_compiler__b=yes
11421     fi
11422   fi
11423   $RM -r conftest*
11424   LDFLAGS=$save_LDFLAGS
11425
11426fi
11427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11428$as_echo "$lt_cv_prog_compiler__b" >&6; }
11429
11430if test yes = "$lt_cv_prog_compiler__b"; then
11431    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11432else
11433    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11434fi
11435
11436	  ;;
11437	esac
11438      fi
11439      if test no = "$with_gnu_ld"; then
11440	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11441	hardcode_libdir_separator=:
11442
11443	case $host_cpu in
11444	hppa*64*|ia64*)
11445	  hardcode_direct=no
11446	  hardcode_shlibpath_var=no
11447	  ;;
11448	*)
11449	  hardcode_direct=yes
11450	  hardcode_direct_absolute=yes
11451	  export_dynamic_flag_spec='$wl-E'
11452
11453	  # hardcode_minus_L: Not really in the search PATH,
11454	  # but as the default location of the library.
11455	  hardcode_minus_L=yes
11456	  ;;
11457	esac
11458      fi
11459      ;;
11460
11461    irix5* | irix6* | nonstopux*)
11462      if test yes = "$GCC"; then
11463	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'
11464	# Try to use the -exported_symbol ld option, if it does not
11465	# work, assume that -exports_file does not work either and
11466	# implicitly export all symbols.
11467	# This should be the same for all languages, so no per-tag cache variable.
11468	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11469$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11470if ${lt_cv_irix_exported_symbol+:} false; then :
11471  $as_echo_n "(cached) " >&6
11472else
11473  save_LDFLAGS=$LDFLAGS
11474	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11475	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476/* end confdefs.h.  */
11477int foo (void) { return 0; }
11478_ACEOF
11479if ac_fn_c_try_link "$LINENO"; then :
11480  lt_cv_irix_exported_symbol=yes
11481else
11482  lt_cv_irix_exported_symbol=no
11483fi
11484rm -f core conftest.err conftest.$ac_objext \
11485    conftest$ac_exeext conftest.$ac_ext
11486           LDFLAGS=$save_LDFLAGS
11487fi
11488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11489$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11490	if test yes = "$lt_cv_irix_exported_symbol"; then
11491          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'
11492	fi
11493	link_all_deplibs=no
11494      else
11495	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'
11496	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'
11497      fi
11498      archive_cmds_need_lc='no'
11499      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11500      hardcode_libdir_separator=:
11501      inherit_rpath=yes
11502      link_all_deplibs=yes
11503      ;;
11504
11505    linux*)
11506      case $cc_basename in
11507      tcc*)
11508	# Fabrice Bellard et al's Tiny C Compiler
11509	ld_shlibs=yes
11510	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11511	;;
11512      esac
11513      ;;
11514
11515    netbsd* | netbsdelf*-gnu)
11516      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11517	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11518      else
11519	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11520      fi
11521      hardcode_libdir_flag_spec='-R$libdir'
11522      hardcode_direct=yes
11523      hardcode_shlibpath_var=no
11524      ;;
11525
11526    newsos6)
11527      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11528      hardcode_direct=yes
11529      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11530      hardcode_libdir_separator=:
11531      hardcode_shlibpath_var=no
11532      ;;
11533
11534    *nto* | *qnx*)
11535      ;;
11536
11537    openbsd* | bitrig*)
11538      if test -f /usr/libexec/ld.so; then
11539	hardcode_direct=yes
11540	hardcode_shlibpath_var=no
11541	hardcode_direct_absolute=yes
11542	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11543	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11544	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11545	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11546	  export_dynamic_flag_spec='$wl-E'
11547	else
11548	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11549	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11550	fi
11551      else
11552	ld_shlibs=no
11553      fi
11554      ;;
11555
11556    os2*)
11557      hardcode_libdir_flag_spec='-L$libdir'
11558      hardcode_minus_L=yes
11559      allow_undefined_flag=unsupported
11560      shrext_cmds=.dll
11561      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11562	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11563	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11564	$ECHO EXPORTS >> $output_objdir/$libname.def~
11565	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11566	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11567	emximp -o $lib $output_objdir/$libname.def'
11568      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11569	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11570	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11571	$ECHO EXPORTS >> $output_objdir/$libname.def~
11572	prefix_cmds="$SED"~
11573	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11574	  prefix_cmds="$prefix_cmds -e 1d";
11575	fi~
11576	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11577	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11578	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11579	emximp -o $lib $output_objdir/$libname.def'
11580      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11581      enable_shared_with_static_runtimes=yes
11582      ;;
11583
11584    osf3*)
11585      if test yes = "$GCC"; then
11586	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11587	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'
11588      else
11589	allow_undefined_flag=' -expect_unresolved \*'
11590	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'
11591      fi
11592      archive_cmds_need_lc='no'
11593      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11594      hardcode_libdir_separator=:
11595      ;;
11596
11597    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11598      if test yes = "$GCC"; then
11599	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11600	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'
11601	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11602      else
11603	allow_undefined_flag=' -expect_unresolved \*'
11604	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'
11605	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~
11606          $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'
11607
11608	# Both c and cxx compiler support -rpath directly
11609	hardcode_libdir_flag_spec='-rpath $libdir'
11610      fi
11611      archive_cmds_need_lc='no'
11612      hardcode_libdir_separator=:
11613      ;;
11614
11615    solaris*)
11616      no_undefined_flag=' -z defs'
11617      if test yes = "$GCC"; then
11618	wlarc='$wl'
11619	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11620	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11621          $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'
11622      else
11623	case `$CC -V 2>&1` in
11624	*"Compilers 5.0"*)
11625	  wlarc=''
11626	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11627	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11628            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11629	  ;;
11630	*)
11631	  wlarc='$wl'
11632	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11633	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11634            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11635	  ;;
11636	esac
11637      fi
11638      hardcode_libdir_flag_spec='-R$libdir'
11639      hardcode_shlibpath_var=no
11640      case $host_os in
11641      solaris2.[0-5] | solaris2.[0-5].*) ;;
11642      *)
11643	# The compiler driver will combine and reorder linker options,
11644	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11645	# but is careful enough not to reorder.
11646	# Supported since Solaris 2.6 (maybe 2.5.1?)
11647	if test yes = "$GCC"; then
11648	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11649	else
11650	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11651	fi
11652	;;
11653      esac
11654      link_all_deplibs=yes
11655      ;;
11656
11657    sunos4*)
11658      if test sequent = "$host_vendor"; then
11659	# Use $CC to link under sequent, because it throws in some extra .o
11660	# files that make .init and .fini sections work.
11661	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11662      else
11663	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11664      fi
11665      hardcode_libdir_flag_spec='-L$libdir'
11666      hardcode_direct=yes
11667      hardcode_minus_L=yes
11668      hardcode_shlibpath_var=no
11669      ;;
11670
11671    sysv4)
11672      case $host_vendor in
11673	sni)
11674	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11675	  hardcode_direct=yes # is this really true???
11676	;;
11677	siemens)
11678	  ## LD is ld it makes a PLAMLIB
11679	  ## CC just makes a GrossModule.
11680	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11681	  reload_cmds='$CC -r -o $output$reload_objs'
11682	  hardcode_direct=no
11683        ;;
11684	motorola)
11685	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11686	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11687	;;
11688      esac
11689      runpath_var='LD_RUN_PATH'
11690      hardcode_shlibpath_var=no
11691      ;;
11692
11693    sysv4.3*)
11694      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11695      hardcode_shlibpath_var=no
11696      export_dynamic_flag_spec='-Bexport'
11697      ;;
11698
11699    sysv4*MP*)
11700      if test -d /usr/nec; then
11701	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11702	hardcode_shlibpath_var=no
11703	runpath_var=LD_RUN_PATH
11704	hardcode_runpath_var=yes
11705	ld_shlibs=yes
11706      fi
11707      ;;
11708
11709    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11710      no_undefined_flag='$wl-z,text'
11711      archive_cmds_need_lc=no
11712      hardcode_shlibpath_var=no
11713      runpath_var='LD_RUN_PATH'
11714
11715      if test yes = "$GCC"; then
11716	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11717	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11718      else
11719	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11720	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11721      fi
11722      ;;
11723
11724    sysv5* | sco3.2v5* | sco5v6*)
11725      # Note: We CANNOT use -z defs as we might desire, because we do not
11726      # link with -lc, and that would cause any symbols used from libc to
11727      # always be unresolved, which means just about no library would
11728      # ever link correctly.  If we're not using GNU ld we use -z text
11729      # though, which does catch some bad symbols but isn't as heavy-handed
11730      # as -z defs.
11731      no_undefined_flag='$wl-z,text'
11732      allow_undefined_flag='$wl-z,nodefs'
11733      archive_cmds_need_lc=no
11734      hardcode_shlibpath_var=no
11735      hardcode_libdir_flag_spec='$wl-R,$libdir'
11736      hardcode_libdir_separator=':'
11737      link_all_deplibs=yes
11738      export_dynamic_flag_spec='$wl-Bexport'
11739      runpath_var='LD_RUN_PATH'
11740
11741      if test yes = "$GCC"; then
11742	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11743	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11744      else
11745	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11746	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11747      fi
11748      ;;
11749
11750    uts4*)
11751      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11752      hardcode_libdir_flag_spec='-L$libdir'
11753      hardcode_shlibpath_var=no
11754      ;;
11755
11756    *)
11757      ld_shlibs=no
11758      ;;
11759    esac
11760
11761    if test sni = "$host_vendor"; then
11762      case $host in
11763      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11764	export_dynamic_flag_spec='$wl-Blargedynsym'
11765	;;
11766      esac
11767    fi
11768  fi
11769
11770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11771$as_echo "$ld_shlibs" >&6; }
11772test no = "$ld_shlibs" && can_build_shared=no
11773
11774with_gnu_ld=$with_gnu_ld
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790#
11791# Do we need to explicitly link libc?
11792#
11793case "x$archive_cmds_need_lc" in
11794x|xyes)
11795  # Assume -lc should be added
11796  archive_cmds_need_lc=yes
11797
11798  if test yes,yes = "$GCC,$enable_shared"; then
11799    case $archive_cmds in
11800    *'~'*)
11801      # FIXME: we may have to deal with multi-command sequences.
11802      ;;
11803    '$CC '*)
11804      # Test whether the compiler implicitly links with -lc since on some
11805      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11806      # to ld, don't add -lc before -lgcc.
11807      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11808$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11809if ${lt_cv_archive_cmds_need_lc+:} false; then :
11810  $as_echo_n "(cached) " >&6
11811else
11812  $RM conftest*
11813	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11814
11815	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11816  (eval $ac_compile) 2>&5
11817  ac_status=$?
11818  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11819  test $ac_status = 0; } 2>conftest.err; then
11820	  soname=conftest
11821	  lib=conftest
11822	  libobjs=conftest.$ac_objext
11823	  deplibs=
11824	  wl=$lt_prog_compiler_wl
11825	  pic_flag=$lt_prog_compiler_pic
11826	  compiler_flags=-v
11827	  linker_flags=-v
11828	  verstring=
11829	  output_objdir=.
11830	  libname=conftest
11831	  lt_save_allow_undefined_flag=$allow_undefined_flag
11832	  allow_undefined_flag=
11833	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11834  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11835  ac_status=$?
11836  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11837  test $ac_status = 0; }
11838	  then
11839	    lt_cv_archive_cmds_need_lc=no
11840	  else
11841	    lt_cv_archive_cmds_need_lc=yes
11842	  fi
11843	  allow_undefined_flag=$lt_save_allow_undefined_flag
11844	else
11845	  cat conftest.err 1>&5
11846	fi
11847	$RM conftest*
11848
11849fi
11850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11851$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11852      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11853      ;;
11854    esac
11855  fi
11856  ;;
11857esac
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12011$as_echo_n "checking dynamic linker characteristics... " >&6; }
12012
12013if test yes = "$GCC"; then
12014  case $host_os in
12015    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12016    *) lt_awk_arg='/^libraries:/' ;;
12017  esac
12018  case $host_os in
12019    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12020    *) lt_sed_strip_eq='s|=/|/|g' ;;
12021  esac
12022  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12023  case $lt_search_path_spec in
12024  *\;*)
12025    # if the path contains ";" then we assume it to be the separator
12026    # otherwise default to the standard path separator (i.e. ":") - it is
12027    # assumed that no part of a normal pathname contains ";" but that should
12028    # okay in the real world where ";" in dirpaths is itself problematic.
12029    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12030    ;;
12031  *)
12032    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12033    ;;
12034  esac
12035  # Ok, now we have the path, separated by spaces, we can step through it
12036  # and add multilib dir if necessary...
12037  lt_tmp_lt_search_path_spec=
12038  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12039  # ...but if some path component already ends with the multilib dir we assume
12040  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12041  case "$lt_multi_os_dir; $lt_search_path_spec " in
12042  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12043    lt_multi_os_dir=
12044    ;;
12045  esac
12046  for lt_sys_path in $lt_search_path_spec; do
12047    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12048      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12049    elif test -n "$lt_multi_os_dir"; then
12050      test -d "$lt_sys_path" && \
12051	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12052    fi
12053  done
12054  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12055BEGIN {RS = " "; FS = "/|\n";} {
12056  lt_foo = "";
12057  lt_count = 0;
12058  for (lt_i = NF; lt_i > 0; lt_i--) {
12059    if ($lt_i != "" && $lt_i != ".") {
12060      if ($lt_i == "..") {
12061        lt_count++;
12062      } else {
12063        if (lt_count == 0) {
12064          lt_foo = "/" $lt_i lt_foo;
12065        } else {
12066          lt_count--;
12067        }
12068      }
12069    }
12070  }
12071  if (lt_foo != "") { lt_freq[lt_foo]++; }
12072  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12073}'`
12074  # AWK program above erroneously prepends '/' to C:/dos/paths
12075  # for these hosts.
12076  case $host_os in
12077    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12078      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12079  esac
12080  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12081else
12082  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12083fi
12084library_names_spec=
12085libname_spec='lib$name'
12086soname_spec=
12087shrext_cmds=.so
12088postinstall_cmds=
12089postuninstall_cmds=
12090finish_cmds=
12091finish_eval=
12092shlibpath_var=
12093shlibpath_overrides_runpath=unknown
12094version_type=none
12095dynamic_linker="$host_os ld.so"
12096sys_lib_dlsearch_path_spec="/lib /usr/lib"
12097need_lib_prefix=unknown
12098hardcode_into_libs=no
12099
12100# when you set need_version to no, make sure it does not cause -set_version
12101# flags to be left without arguments
12102need_version=unknown
12103
12104
12105
12106case $host_os in
12107aix3*)
12108  version_type=linux # correct to gnu/linux during the next big refactor
12109  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12110  shlibpath_var=LIBPATH
12111
12112  # AIX 3 has no versioning support, so we append a major version to the name.
12113  soname_spec='$libname$release$shared_ext$major'
12114  ;;
12115
12116aix[4-9]*)
12117  version_type=linux # correct to gnu/linux during the next big refactor
12118  need_lib_prefix=no
12119  need_version=no
12120  hardcode_into_libs=yes
12121  if test ia64 = "$host_cpu"; then
12122    # AIX 5 supports IA64
12123    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12124    shlibpath_var=LD_LIBRARY_PATH
12125  else
12126    # With GCC up to 2.95.x, collect2 would create an import file
12127    # for dependence libraries.  The import file would start with
12128    # the line '#! .'.  This would cause the generated library to
12129    # depend on '.', always an invalid library.  This was fixed in
12130    # development snapshots of GCC prior to 3.0.
12131    case $host_os in
12132      aix4 | aix4.[01] | aix4.[01].*)
12133      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12134	   echo ' yes '
12135	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12136	:
12137      else
12138	can_build_shared=no
12139      fi
12140      ;;
12141    esac
12142    # Using Import Files as archive members, it is possible to support
12143    # filename-based versioning of shared library archives on AIX. While
12144    # this would work for both with and without runtime linking, it will
12145    # prevent static linking of such archives. So we do filename-based
12146    # shared library versioning with .so extension only, which is used
12147    # when both runtime linking and shared linking is enabled.
12148    # Unfortunately, runtime linking may impact performance, so we do
12149    # not want this to be the default eventually. Also, we use the
12150    # versioned .so libs for executables only if there is the -brtl
12151    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12152    # To allow for filename-based versioning support, we need to create
12153    # libNAME.so.V as an archive file, containing:
12154    # *) an Import File, referring to the versioned filename of the
12155    #    archive as well as the shared archive member, telling the
12156    #    bitwidth (32 or 64) of that shared object, and providing the
12157    #    list of exported symbols of that shared object, eventually
12158    #    decorated with the 'weak' keyword
12159    # *) the shared object with the F_LOADONLY flag set, to really avoid
12160    #    it being seen by the linker.
12161    # At run time we better use the real file rather than another symlink,
12162    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12163
12164    case $with_aix_soname,$aix_use_runtimelinking in
12165    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12166    # soname into executable. Probably we can add versioning support to
12167    # collect2, so additional links can be useful in future.
12168    aix,yes) # traditional libtool
12169      dynamic_linker='AIX unversionable lib.so'
12170      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12171      # instead of lib<name>.a to let people know that these are not
12172      # typical AIX shared libraries.
12173      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12174      ;;
12175    aix,no) # traditional AIX only
12176      dynamic_linker='AIX lib.a(lib.so.V)'
12177      # We preserve .a as extension for shared libraries through AIX4.2
12178      # and later when we are not doing run time linking.
12179      library_names_spec='$libname$release.a $libname.a'
12180      soname_spec='$libname$release$shared_ext$major'
12181      ;;
12182    svr4,*) # full svr4 only
12183      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12184      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12185      # We do not specify a path in Import Files, so LIBPATH fires.
12186      shlibpath_overrides_runpath=yes
12187      ;;
12188    *,yes) # both, prefer svr4
12189      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12190      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12191      # unpreferred sharedlib libNAME.a needs extra handling
12192      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"'
12193      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"'
12194      # We do not specify a path in Import Files, so LIBPATH fires.
12195      shlibpath_overrides_runpath=yes
12196      ;;
12197    *,no) # both, prefer aix
12198      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12199      library_names_spec='$libname$release.a $libname.a'
12200      soname_spec='$libname$release$shared_ext$major'
12201      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12202      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)'
12203      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"'
12204      ;;
12205    esac
12206    shlibpath_var=LIBPATH
12207  fi
12208  ;;
12209
12210amigaos*)
12211  case $host_cpu in
12212  powerpc)
12213    # Since July 2007 AmigaOS4 officially supports .so libraries.
12214    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12215    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12216    ;;
12217  m68k)
12218    library_names_spec='$libname.ixlibrary $libname.a'
12219    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12220    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'
12221    ;;
12222  esac
12223  ;;
12224
12225beos*)
12226  library_names_spec='$libname$shared_ext'
12227  dynamic_linker="$host_os ld.so"
12228  shlibpath_var=LIBRARY_PATH
12229  ;;
12230
12231bsdi[45]*)
12232  version_type=linux # correct to gnu/linux during the next big refactor
12233  need_version=no
12234  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12235  soname_spec='$libname$release$shared_ext$major'
12236  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12237  shlibpath_var=LD_LIBRARY_PATH
12238  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12239  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12240  # the default ld.so.conf also contains /usr/contrib/lib and
12241  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12242  # libtool to hard-code these into programs
12243  ;;
12244
12245cygwin* | mingw* | pw32* | cegcc*)
12246  version_type=windows
12247  shrext_cmds=.dll
12248  need_version=no
12249  need_lib_prefix=no
12250
12251  case $GCC,$cc_basename in
12252  yes,*)
12253    # gcc
12254    library_names_spec='$libname.dll.a'
12255    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12256    postinstall_cmds='base_file=`basename \$file`~
12257      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12258      dldir=$destdir/`dirname \$dlpath`~
12259      test -d \$dldir || mkdir -p \$dldir~
12260      $install_prog $dir/$dlname \$dldir/$dlname~
12261      chmod a+x \$dldir/$dlname~
12262      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12263        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12264      fi'
12265    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12266      dlpath=$dir/\$dldll~
12267       $RM \$dlpath'
12268    shlibpath_overrides_runpath=yes
12269
12270    case $host_os in
12271    cygwin*)
12272      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12273      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12274
12275      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12276      ;;
12277    mingw* | cegcc*)
12278      # MinGW DLLs use traditional 'lib' prefix
12279      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12280      ;;
12281    pw32*)
12282      # pw32 DLLs use 'pw' prefix rather than 'lib'
12283      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12284      ;;
12285    esac
12286    dynamic_linker='Win32 ld.exe'
12287    ;;
12288
12289  *,cl*)
12290    # Native MSVC
12291    libname_spec='$name'
12292    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12293    library_names_spec='$libname.dll.lib'
12294
12295    case $build_os in
12296    mingw*)
12297      sys_lib_search_path_spec=
12298      lt_save_ifs=$IFS
12299      IFS=';'
12300      for lt_path in $LIB
12301      do
12302        IFS=$lt_save_ifs
12303        # Let DOS variable expansion print the short 8.3 style file name.
12304        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12305        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12306      done
12307      IFS=$lt_save_ifs
12308      # Convert to MSYS style.
12309      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12310      ;;
12311    cygwin*)
12312      # Convert to unix form, then to dos form, then back to unix form
12313      # but this time dos style (no spaces!) so that the unix form looks
12314      # like /cygdrive/c/PROGRA~1:/cygdr...
12315      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12316      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12317      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12318      ;;
12319    *)
12320      sys_lib_search_path_spec=$LIB
12321      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12322        # It is most probably a Windows format PATH.
12323        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12324      else
12325        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12326      fi
12327      # FIXME: find the short name or the path components, as spaces are
12328      # common. (e.g. "Program Files" -> "PROGRA~1")
12329      ;;
12330    esac
12331
12332    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12333    postinstall_cmds='base_file=`basename \$file`~
12334      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12335      dldir=$destdir/`dirname \$dlpath`~
12336      test -d \$dldir || mkdir -p \$dldir~
12337      $install_prog $dir/$dlname \$dldir/$dlname'
12338    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12339      dlpath=$dir/\$dldll~
12340       $RM \$dlpath'
12341    shlibpath_overrides_runpath=yes
12342    dynamic_linker='Win32 link.exe'
12343    ;;
12344
12345  *)
12346    # Assume MSVC wrapper
12347    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12348    dynamic_linker='Win32 ld.exe'
12349    ;;
12350  esac
12351  # FIXME: first we should search . and the directory the executable is in
12352  shlibpath_var=PATH
12353  ;;
12354
12355darwin* | rhapsody*)
12356  dynamic_linker="$host_os dyld"
12357  version_type=darwin
12358  need_lib_prefix=no
12359  need_version=no
12360  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12361  soname_spec='$libname$release$major$shared_ext'
12362  shlibpath_overrides_runpath=yes
12363  shlibpath_var=DYLD_LIBRARY_PATH
12364  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12365
12366  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12367  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12368  ;;
12369
12370dgux*)
12371  version_type=linux # correct to gnu/linux during the next big refactor
12372  need_lib_prefix=no
12373  need_version=no
12374  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12375  soname_spec='$libname$release$shared_ext$major'
12376  shlibpath_var=LD_LIBRARY_PATH
12377  ;;
12378
12379freebsd* | dragonfly*)
12380  # DragonFly does not have aout.  When/if they implement a new
12381  # versioning mechanism, adjust this.
12382  if test -x /usr/bin/objformat; then
12383    objformat=`/usr/bin/objformat`
12384  else
12385    case $host_os in
12386    freebsd[23].*) objformat=aout ;;
12387    *) objformat=elf ;;
12388    esac
12389  fi
12390  version_type=freebsd-$objformat
12391  case $version_type in
12392    freebsd-elf*)
12393      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12394      soname_spec='$libname$release$shared_ext$major'
12395      need_version=no
12396      need_lib_prefix=no
12397      ;;
12398    freebsd-*)
12399      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12400      need_version=yes
12401      ;;
12402  esac
12403  shlibpath_var=LD_LIBRARY_PATH
12404  case $host_os in
12405  freebsd2.*)
12406    shlibpath_overrides_runpath=yes
12407    ;;
12408  freebsd3.[01]* | freebsdelf3.[01]*)
12409    shlibpath_overrides_runpath=yes
12410    hardcode_into_libs=yes
12411    ;;
12412  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12413  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12414    shlibpath_overrides_runpath=no
12415    hardcode_into_libs=yes
12416    ;;
12417  *) # from 4.6 on, and DragonFly
12418    shlibpath_overrides_runpath=yes
12419    hardcode_into_libs=yes
12420    ;;
12421  esac
12422  ;;
12423
12424haiku*)
12425  version_type=linux # correct to gnu/linux during the next big refactor
12426  need_lib_prefix=no
12427  need_version=no
12428  dynamic_linker="$host_os runtime_loader"
12429  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12430  soname_spec='$libname$release$shared_ext$major'
12431  shlibpath_var=LIBRARY_PATH
12432  shlibpath_overrides_runpath=no
12433  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12434  hardcode_into_libs=yes
12435  ;;
12436
12437hpux9* | hpux10* | hpux11*)
12438  # Give a soname corresponding to the major version so that dld.sl refuses to
12439  # link against other versions.
12440  version_type=sunos
12441  need_lib_prefix=no
12442  need_version=no
12443  case $host_cpu in
12444  ia64*)
12445    shrext_cmds='.so'
12446    hardcode_into_libs=yes
12447    dynamic_linker="$host_os dld.so"
12448    shlibpath_var=LD_LIBRARY_PATH
12449    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12450    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12451    soname_spec='$libname$release$shared_ext$major'
12452    if test 32 = "$HPUX_IA64_MODE"; then
12453      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12454      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12455    else
12456      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12457      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12458    fi
12459    ;;
12460  hppa*64*)
12461    shrext_cmds='.sl'
12462    hardcode_into_libs=yes
12463    dynamic_linker="$host_os dld.sl"
12464    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12465    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12466    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12467    soname_spec='$libname$release$shared_ext$major'
12468    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12469    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12470    ;;
12471  *)
12472    shrext_cmds='.sl'
12473    dynamic_linker="$host_os dld.sl"
12474    shlibpath_var=SHLIB_PATH
12475    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12476    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12477    soname_spec='$libname$release$shared_ext$major'
12478    ;;
12479  esac
12480  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12481  postinstall_cmds='chmod 555 $lib'
12482  # or fails outright, so override atomically:
12483  install_override_mode=555
12484  ;;
12485
12486interix[3-9]*)
12487  version_type=linux # correct to gnu/linux during the next big refactor
12488  need_lib_prefix=no
12489  need_version=no
12490  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12491  soname_spec='$libname$release$shared_ext$major'
12492  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12493  shlibpath_var=LD_LIBRARY_PATH
12494  shlibpath_overrides_runpath=no
12495  hardcode_into_libs=yes
12496  ;;
12497
12498irix5* | irix6* | nonstopux*)
12499  case $host_os in
12500    nonstopux*) version_type=nonstopux ;;
12501    *)
12502	if test yes = "$lt_cv_prog_gnu_ld"; then
12503		version_type=linux # correct to gnu/linux during the next big refactor
12504	else
12505		version_type=irix
12506	fi ;;
12507  esac
12508  need_lib_prefix=no
12509  need_version=no
12510  soname_spec='$libname$release$shared_ext$major'
12511  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12512  case $host_os in
12513  irix5* | nonstopux*)
12514    libsuff= shlibsuff=
12515    ;;
12516  *)
12517    case $LD in # libtool.m4 will add one of these switches to LD
12518    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12519      libsuff= shlibsuff= libmagic=32-bit;;
12520    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12521      libsuff=32 shlibsuff=N32 libmagic=N32;;
12522    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12523      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12524    *) libsuff= shlibsuff= libmagic=never-match;;
12525    esac
12526    ;;
12527  esac
12528  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12529  shlibpath_overrides_runpath=no
12530  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12531  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12532  hardcode_into_libs=yes
12533  ;;
12534
12535# No shared lib support for Linux oldld, aout, or coff.
12536linux*oldld* | linux*aout* | linux*coff*)
12537  dynamic_linker=no
12538  ;;
12539
12540linux*android*)
12541  version_type=none # Android doesn't support versioned libraries.
12542  need_lib_prefix=no
12543  need_version=no
12544  library_names_spec='$libname$release$shared_ext'
12545  soname_spec='$libname$release$shared_ext'
12546  finish_cmds=
12547  shlibpath_var=LD_LIBRARY_PATH
12548  shlibpath_overrides_runpath=yes
12549
12550  # This implies no fast_install, which is unacceptable.
12551  # Some rework will be needed to allow for fast_install
12552  # before this can be enabled.
12553  hardcode_into_libs=yes
12554
12555  dynamic_linker='Android linker'
12556  # Don't embed -rpath directories since the linker doesn't support them.
12557  hardcode_libdir_flag_spec='-L$libdir'
12558  ;;
12559
12560# This must be glibc/ELF.
12561linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12562  version_type=linux # correct to gnu/linux during the next big refactor
12563  need_lib_prefix=no
12564  need_version=no
12565  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12566  soname_spec='$libname$release$shared_ext$major'
12567  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12568  shlibpath_var=LD_LIBRARY_PATH
12569  shlibpath_overrides_runpath=no
12570
12571  # Some binutils ld are patched to set DT_RUNPATH
12572  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12573  $as_echo_n "(cached) " >&6
12574else
12575  lt_cv_shlibpath_overrides_runpath=no
12576    save_LDFLAGS=$LDFLAGS
12577    save_libdir=$libdir
12578    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12579	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12580    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12581/* end confdefs.h.  */
12582
12583int
12584main ()
12585{
12586
12587  ;
12588  return 0;
12589}
12590_ACEOF
12591if ac_fn_c_try_link "$LINENO"; then :
12592  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12593  lt_cv_shlibpath_overrides_runpath=yes
12594fi
12595fi
12596rm -f core conftest.err conftest.$ac_objext \
12597    conftest$ac_exeext conftest.$ac_ext
12598    LDFLAGS=$save_LDFLAGS
12599    libdir=$save_libdir
12600
12601fi
12602
12603  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12604
12605  # This implies no fast_install, which is unacceptable.
12606  # Some rework will be needed to allow for fast_install
12607  # before this can be enabled.
12608  hardcode_into_libs=yes
12609
12610  # Ideally, we could use ldconfig to report *all* directores which are
12611  # searched for libraries, however this is still not possible.  Aside from not
12612  # being certain /sbin/ldconfig is available, command
12613  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12614  # even though it is searched at run-time.  Try to do the best guess by
12615  # appending ld.so.conf contents (and includes) to the search path.
12616  if test -f /etc/ld.so.conf; then
12617    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' ' '`
12618    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12619  fi
12620
12621  # We used to test for /lib/ld.so.1 and disable shared libraries on
12622  # powerpc, because MkLinux only supported shared libraries with the
12623  # GNU dynamic linker.  Since this was broken with cross compilers,
12624  # most powerpc-linux boxes support dynamic linking these days and
12625  # people can always --disable-shared, the test was removed, and we
12626  # assume the GNU/Linux dynamic linker is in use.
12627  dynamic_linker='GNU/Linux ld.so'
12628  ;;
12629
12630netbsdelf*-gnu)
12631  version_type=linux
12632  need_lib_prefix=no
12633  need_version=no
12634  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12635  soname_spec='${libname}${release}${shared_ext}$major'
12636  shlibpath_var=LD_LIBRARY_PATH
12637  shlibpath_overrides_runpath=no
12638  hardcode_into_libs=yes
12639  dynamic_linker='NetBSD ld.elf_so'
12640  ;;
12641
12642netbsd*)
12643  version_type=sunos
12644  need_lib_prefix=no
12645  need_version=no
12646  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12647    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12648    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12649    dynamic_linker='NetBSD (a.out) ld.so'
12650  else
12651    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12652    soname_spec='$libname$release$shared_ext$major'
12653    dynamic_linker='NetBSD ld.elf_so'
12654  fi
12655  shlibpath_var=LD_LIBRARY_PATH
12656  shlibpath_overrides_runpath=yes
12657  hardcode_into_libs=yes
12658  ;;
12659
12660newsos6)
12661  version_type=linux # correct to gnu/linux during the next big refactor
12662  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12663  shlibpath_var=LD_LIBRARY_PATH
12664  shlibpath_overrides_runpath=yes
12665  ;;
12666
12667*nto* | *qnx*)
12668  version_type=qnx
12669  need_lib_prefix=no
12670  need_version=no
12671  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12672  soname_spec='$libname$release$shared_ext$major'
12673  shlibpath_var=LD_LIBRARY_PATH
12674  shlibpath_overrides_runpath=no
12675  hardcode_into_libs=yes
12676  dynamic_linker='ldqnx.so'
12677  ;;
12678
12679openbsd* | bitrig*)
12680  version_type=sunos
12681  sys_lib_dlsearch_path_spec=/usr/lib
12682  need_lib_prefix=no
12683  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12684    need_version=no
12685  else
12686    need_version=yes
12687  fi
12688  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12689  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12690  shlibpath_var=LD_LIBRARY_PATH
12691  shlibpath_overrides_runpath=yes
12692  ;;
12693
12694os2*)
12695  libname_spec='$name'
12696  version_type=windows
12697  shrext_cmds=.dll
12698  need_version=no
12699  need_lib_prefix=no
12700  # OS/2 can only load a DLL with a base name of 8 characters or less.
12701  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12702    v=$($ECHO $release$versuffix | tr -d .-);
12703    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12704    $ECHO $n$v`$shared_ext'
12705  library_names_spec='${libname}_dll.$libext'
12706  dynamic_linker='OS/2 ld.exe'
12707  shlibpath_var=BEGINLIBPATH
12708  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12709  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12710  postinstall_cmds='base_file=`basename \$file`~
12711    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12712    dldir=$destdir/`dirname \$dlpath`~
12713    test -d \$dldir || mkdir -p \$dldir~
12714    $install_prog $dir/$dlname \$dldir/$dlname~
12715    chmod a+x \$dldir/$dlname~
12716    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12717      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12718    fi'
12719  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12720    dlpath=$dir/\$dldll~
12721    $RM \$dlpath'
12722  ;;
12723
12724osf3* | osf4* | osf5*)
12725  version_type=osf
12726  need_lib_prefix=no
12727  need_version=no
12728  soname_spec='$libname$release$shared_ext$major'
12729  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12730  shlibpath_var=LD_LIBRARY_PATH
12731  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12732  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12733  ;;
12734
12735rdos*)
12736  dynamic_linker=no
12737  ;;
12738
12739solaris*)
12740  version_type=linux # correct to gnu/linux during the next big refactor
12741  need_lib_prefix=no
12742  need_version=no
12743  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12744  soname_spec='$libname$release$shared_ext$major'
12745  shlibpath_var=LD_LIBRARY_PATH
12746  shlibpath_overrides_runpath=yes
12747  hardcode_into_libs=yes
12748  # ldd complains unless libraries are executable
12749  postinstall_cmds='chmod +x $lib'
12750  ;;
12751
12752sunos4*)
12753  version_type=sunos
12754  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12755  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12756  shlibpath_var=LD_LIBRARY_PATH
12757  shlibpath_overrides_runpath=yes
12758  if test yes = "$with_gnu_ld"; then
12759    need_lib_prefix=no
12760  fi
12761  need_version=yes
12762  ;;
12763
12764sysv4 | sysv4.3*)
12765  version_type=linux # correct to gnu/linux during the next big refactor
12766  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12767  soname_spec='$libname$release$shared_ext$major'
12768  shlibpath_var=LD_LIBRARY_PATH
12769  case $host_vendor in
12770    sni)
12771      shlibpath_overrides_runpath=no
12772      need_lib_prefix=no
12773      runpath_var=LD_RUN_PATH
12774      ;;
12775    siemens)
12776      need_lib_prefix=no
12777      ;;
12778    motorola)
12779      need_lib_prefix=no
12780      need_version=no
12781      shlibpath_overrides_runpath=no
12782      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12783      ;;
12784  esac
12785  ;;
12786
12787sysv4*MP*)
12788  if test -d /usr/nec; then
12789    version_type=linux # correct to gnu/linux during the next big refactor
12790    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12791    soname_spec='$libname$shared_ext.$major'
12792    shlibpath_var=LD_LIBRARY_PATH
12793  fi
12794  ;;
12795
12796sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12797  version_type=sco
12798  need_lib_prefix=no
12799  need_version=no
12800  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12801  soname_spec='$libname$release$shared_ext$major'
12802  shlibpath_var=LD_LIBRARY_PATH
12803  shlibpath_overrides_runpath=yes
12804  hardcode_into_libs=yes
12805  if test yes = "$with_gnu_ld"; then
12806    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12807  else
12808    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12809    case $host_os in
12810      sco3.2v5*)
12811        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12812	;;
12813    esac
12814  fi
12815  sys_lib_dlsearch_path_spec='/usr/lib'
12816  ;;
12817
12818tpf*)
12819  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12820  version_type=linux # correct to gnu/linux during the next big refactor
12821  need_lib_prefix=no
12822  need_version=no
12823  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12824  shlibpath_var=LD_LIBRARY_PATH
12825  shlibpath_overrides_runpath=no
12826  hardcode_into_libs=yes
12827  ;;
12828
12829uts4*)
12830  version_type=linux # correct to gnu/linux during the next big refactor
12831  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12832  soname_spec='$libname$release$shared_ext$major'
12833  shlibpath_var=LD_LIBRARY_PATH
12834  ;;
12835
12836*)
12837  dynamic_linker=no
12838  ;;
12839esac
12840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12841$as_echo "$dynamic_linker" >&6; }
12842test no = "$dynamic_linker" && can_build_shared=no
12843
12844variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12845if test yes = "$GCC"; then
12846  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12847fi
12848
12849if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12850  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12851fi
12852
12853if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12854  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12855fi
12856
12857# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12858configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12859
12860# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12861func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12862
12863# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12864configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12963$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12964hardcode_action=
12965if test -n "$hardcode_libdir_flag_spec" ||
12966   test -n "$runpath_var" ||
12967   test yes = "$hardcode_automatic"; then
12968
12969  # We can hardcode non-existent directories.
12970  if test no != "$hardcode_direct" &&
12971     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12972     # have to relink, otherwise we might link with an installed library
12973     # when we should be linking with a yet-to-be-installed one
12974     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12975     test no != "$hardcode_minus_L"; then
12976    # Linking always hardcodes the temporary library directory.
12977    hardcode_action=relink
12978  else
12979    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12980    hardcode_action=immediate
12981  fi
12982else
12983  # We cannot hardcode anything, or else we can only hardcode existing
12984  # directories.
12985  hardcode_action=unsupported
12986fi
12987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12988$as_echo "$hardcode_action" >&6; }
12989
12990if test relink = "$hardcode_action" ||
12991   test yes = "$inherit_rpath"; then
12992  # Fast installation is not supported
12993  enable_fast_install=no
12994elif test yes = "$shlibpath_overrides_runpath" ||
12995     test no = "$enable_shared"; then
12996  # Fast installation is not necessary
12997  enable_fast_install=needless
12998fi
12999
13000
13001
13002
13003
13004
13005  if test yes != "$enable_dlopen"; then
13006  enable_dlopen=unknown
13007  enable_dlopen_self=unknown
13008  enable_dlopen_self_static=unknown
13009else
13010  lt_cv_dlopen=no
13011  lt_cv_dlopen_libs=
13012
13013  case $host_os in
13014  beos*)
13015    lt_cv_dlopen=load_add_on
13016    lt_cv_dlopen_libs=
13017    lt_cv_dlopen_self=yes
13018    ;;
13019
13020  mingw* | pw32* | cegcc*)
13021    lt_cv_dlopen=LoadLibrary
13022    lt_cv_dlopen_libs=
13023    ;;
13024
13025  cygwin*)
13026    lt_cv_dlopen=dlopen
13027    lt_cv_dlopen_libs=
13028    ;;
13029
13030  darwin*)
13031    # if libdl is installed we need to link against it
13032    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13033$as_echo_n "checking for dlopen in -ldl... " >&6; }
13034if ${ac_cv_lib_dl_dlopen+:} false; then :
13035  $as_echo_n "(cached) " >&6
13036else
13037  ac_check_lib_save_LIBS=$LIBS
13038LIBS="-ldl  $LIBS"
13039cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13040/* end confdefs.h.  */
13041
13042/* Override any GCC internal prototype to avoid an error.
13043   Use char because int might match the return type of a GCC
13044   builtin and then its argument prototype would still apply.  */
13045#ifdef __cplusplus
13046extern "C"
13047#endif
13048char dlopen ();
13049int
13050main ()
13051{
13052return dlopen ();
13053  ;
13054  return 0;
13055}
13056_ACEOF
13057if ac_fn_c_try_link "$LINENO"; then :
13058  ac_cv_lib_dl_dlopen=yes
13059else
13060  ac_cv_lib_dl_dlopen=no
13061fi
13062rm -f core conftest.err conftest.$ac_objext \
13063    conftest$ac_exeext conftest.$ac_ext
13064LIBS=$ac_check_lib_save_LIBS
13065fi
13066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13067$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13068if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13069  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13070else
13071
13072    lt_cv_dlopen=dyld
13073    lt_cv_dlopen_libs=
13074    lt_cv_dlopen_self=yes
13075
13076fi
13077
13078    ;;
13079
13080  tpf*)
13081    # Don't try to run any link tests for TPF.  We know it's impossible
13082    # because TPF is a cross-compiler, and we know how we open DSOs.
13083    lt_cv_dlopen=dlopen
13084    lt_cv_dlopen_libs=
13085    lt_cv_dlopen_self=no
13086    ;;
13087
13088  *)
13089    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13090if test "x$ac_cv_func_shl_load" = xyes; then :
13091  lt_cv_dlopen=shl_load
13092else
13093  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13094$as_echo_n "checking for shl_load in -ldld... " >&6; }
13095if ${ac_cv_lib_dld_shl_load+:} false; then :
13096  $as_echo_n "(cached) " >&6
13097else
13098  ac_check_lib_save_LIBS=$LIBS
13099LIBS="-ldld  $LIBS"
13100cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13101/* end confdefs.h.  */
13102
13103/* Override any GCC internal prototype to avoid an error.
13104   Use char because int might match the return type of a GCC
13105   builtin and then its argument prototype would still apply.  */
13106#ifdef __cplusplus
13107extern "C"
13108#endif
13109char shl_load ();
13110int
13111main ()
13112{
13113return shl_load ();
13114  ;
13115  return 0;
13116}
13117_ACEOF
13118if ac_fn_c_try_link "$LINENO"; then :
13119  ac_cv_lib_dld_shl_load=yes
13120else
13121  ac_cv_lib_dld_shl_load=no
13122fi
13123rm -f core conftest.err conftest.$ac_objext \
13124    conftest$ac_exeext conftest.$ac_ext
13125LIBS=$ac_check_lib_save_LIBS
13126fi
13127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13128$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13129if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13130  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13131else
13132  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13133if test "x$ac_cv_func_dlopen" = xyes; then :
13134  lt_cv_dlopen=dlopen
13135else
13136  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13137$as_echo_n "checking for dlopen in -ldl... " >&6; }
13138if ${ac_cv_lib_dl_dlopen+:} false; then :
13139  $as_echo_n "(cached) " >&6
13140else
13141  ac_check_lib_save_LIBS=$LIBS
13142LIBS="-ldl  $LIBS"
13143cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13144/* end confdefs.h.  */
13145
13146/* Override any GCC internal prototype to avoid an error.
13147   Use char because int might match the return type of a GCC
13148   builtin and then its argument prototype would still apply.  */
13149#ifdef __cplusplus
13150extern "C"
13151#endif
13152char dlopen ();
13153int
13154main ()
13155{
13156return dlopen ();
13157  ;
13158  return 0;
13159}
13160_ACEOF
13161if ac_fn_c_try_link "$LINENO"; then :
13162  ac_cv_lib_dl_dlopen=yes
13163else
13164  ac_cv_lib_dl_dlopen=no
13165fi
13166rm -f core conftest.err conftest.$ac_objext \
13167    conftest$ac_exeext conftest.$ac_ext
13168LIBS=$ac_check_lib_save_LIBS
13169fi
13170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13171$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13172if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13173  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13174else
13175  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13176$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13177if ${ac_cv_lib_svld_dlopen+:} false; then :
13178  $as_echo_n "(cached) " >&6
13179else
13180  ac_check_lib_save_LIBS=$LIBS
13181LIBS="-lsvld  $LIBS"
13182cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13183/* end confdefs.h.  */
13184
13185/* Override any GCC internal prototype to avoid an error.
13186   Use char because int might match the return type of a GCC
13187   builtin and then its argument prototype would still apply.  */
13188#ifdef __cplusplus
13189extern "C"
13190#endif
13191char dlopen ();
13192int
13193main ()
13194{
13195return dlopen ();
13196  ;
13197  return 0;
13198}
13199_ACEOF
13200if ac_fn_c_try_link "$LINENO"; then :
13201  ac_cv_lib_svld_dlopen=yes
13202else
13203  ac_cv_lib_svld_dlopen=no
13204fi
13205rm -f core conftest.err conftest.$ac_objext \
13206    conftest$ac_exeext conftest.$ac_ext
13207LIBS=$ac_check_lib_save_LIBS
13208fi
13209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13210$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13211if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13212  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13213else
13214  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13215$as_echo_n "checking for dld_link in -ldld... " >&6; }
13216if ${ac_cv_lib_dld_dld_link+:} false; then :
13217  $as_echo_n "(cached) " >&6
13218else
13219  ac_check_lib_save_LIBS=$LIBS
13220LIBS="-ldld  $LIBS"
13221cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13222/* end confdefs.h.  */
13223
13224/* Override any GCC internal prototype to avoid an error.
13225   Use char because int might match the return type of a GCC
13226   builtin and then its argument prototype would still apply.  */
13227#ifdef __cplusplus
13228extern "C"
13229#endif
13230char dld_link ();
13231int
13232main ()
13233{
13234return dld_link ();
13235  ;
13236  return 0;
13237}
13238_ACEOF
13239if ac_fn_c_try_link "$LINENO"; then :
13240  ac_cv_lib_dld_dld_link=yes
13241else
13242  ac_cv_lib_dld_dld_link=no
13243fi
13244rm -f core conftest.err conftest.$ac_objext \
13245    conftest$ac_exeext conftest.$ac_ext
13246LIBS=$ac_check_lib_save_LIBS
13247fi
13248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13249$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13250if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13251  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13252fi
13253
13254
13255fi
13256
13257
13258fi
13259
13260
13261fi
13262
13263
13264fi
13265
13266
13267fi
13268
13269    ;;
13270  esac
13271
13272  if test no = "$lt_cv_dlopen"; then
13273    enable_dlopen=no
13274  else
13275    enable_dlopen=yes
13276  fi
13277
13278  case $lt_cv_dlopen in
13279  dlopen)
13280    save_CPPFLAGS=$CPPFLAGS
13281    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13282
13283    save_LDFLAGS=$LDFLAGS
13284    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13285
13286    save_LIBS=$LIBS
13287    LIBS="$lt_cv_dlopen_libs $LIBS"
13288
13289    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13290$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13291if ${lt_cv_dlopen_self+:} false; then :
13292  $as_echo_n "(cached) " >&6
13293else
13294  	  if test yes = "$cross_compiling"; then :
13295  lt_cv_dlopen_self=cross
13296else
13297  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13298  lt_status=$lt_dlunknown
13299  cat > conftest.$ac_ext <<_LT_EOF
13300#line $LINENO "configure"
13301#include "confdefs.h"
13302
13303#if HAVE_DLFCN_H
13304#include <dlfcn.h>
13305#endif
13306
13307#include <stdio.h>
13308
13309#ifdef RTLD_GLOBAL
13310#  define LT_DLGLOBAL		RTLD_GLOBAL
13311#else
13312#  ifdef DL_GLOBAL
13313#    define LT_DLGLOBAL		DL_GLOBAL
13314#  else
13315#    define LT_DLGLOBAL		0
13316#  endif
13317#endif
13318
13319/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13320   find out it does not work in some platform. */
13321#ifndef LT_DLLAZY_OR_NOW
13322#  ifdef RTLD_LAZY
13323#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13324#  else
13325#    ifdef DL_LAZY
13326#      define LT_DLLAZY_OR_NOW		DL_LAZY
13327#    else
13328#      ifdef RTLD_NOW
13329#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13330#      else
13331#        ifdef DL_NOW
13332#          define LT_DLLAZY_OR_NOW	DL_NOW
13333#        else
13334#          define LT_DLLAZY_OR_NOW	0
13335#        endif
13336#      endif
13337#    endif
13338#  endif
13339#endif
13340
13341/* When -fvisibility=hidden is used, assume the code has been annotated
13342   correspondingly for the symbols needed.  */
13343#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13344int fnord () __attribute__((visibility("default")));
13345#endif
13346
13347int fnord () { return 42; }
13348int main ()
13349{
13350  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13351  int status = $lt_dlunknown;
13352
13353  if (self)
13354    {
13355      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13356      else
13357        {
13358	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13359          else puts (dlerror ());
13360	}
13361      /* dlclose (self); */
13362    }
13363  else
13364    puts (dlerror ());
13365
13366  return status;
13367}
13368_LT_EOF
13369  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13370  (eval $ac_link) 2>&5
13371  ac_status=$?
13372  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13373  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13374    (./conftest; exit; ) >&5 2>/dev/null
13375    lt_status=$?
13376    case x$lt_status in
13377      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13378      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13379      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13380    esac
13381  else :
13382    # compilation failed
13383    lt_cv_dlopen_self=no
13384  fi
13385fi
13386rm -fr conftest*
13387
13388
13389fi
13390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13391$as_echo "$lt_cv_dlopen_self" >&6; }
13392
13393    if test yes = "$lt_cv_dlopen_self"; then
13394      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13395      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13396$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13397if ${lt_cv_dlopen_self_static+:} false; then :
13398  $as_echo_n "(cached) " >&6
13399else
13400  	  if test yes = "$cross_compiling"; then :
13401  lt_cv_dlopen_self_static=cross
13402else
13403  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13404  lt_status=$lt_dlunknown
13405  cat > conftest.$ac_ext <<_LT_EOF
13406#line $LINENO "configure"
13407#include "confdefs.h"
13408
13409#if HAVE_DLFCN_H
13410#include <dlfcn.h>
13411#endif
13412
13413#include <stdio.h>
13414
13415#ifdef RTLD_GLOBAL
13416#  define LT_DLGLOBAL		RTLD_GLOBAL
13417#else
13418#  ifdef DL_GLOBAL
13419#    define LT_DLGLOBAL		DL_GLOBAL
13420#  else
13421#    define LT_DLGLOBAL		0
13422#  endif
13423#endif
13424
13425/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13426   find out it does not work in some platform. */
13427#ifndef LT_DLLAZY_OR_NOW
13428#  ifdef RTLD_LAZY
13429#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13430#  else
13431#    ifdef DL_LAZY
13432#      define LT_DLLAZY_OR_NOW		DL_LAZY
13433#    else
13434#      ifdef RTLD_NOW
13435#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13436#      else
13437#        ifdef DL_NOW
13438#          define LT_DLLAZY_OR_NOW	DL_NOW
13439#        else
13440#          define LT_DLLAZY_OR_NOW	0
13441#        endif
13442#      endif
13443#    endif
13444#  endif
13445#endif
13446
13447/* When -fvisibility=hidden is used, assume the code has been annotated
13448   correspondingly for the symbols needed.  */
13449#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13450int fnord () __attribute__((visibility("default")));
13451#endif
13452
13453int fnord () { return 42; }
13454int main ()
13455{
13456  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13457  int status = $lt_dlunknown;
13458
13459  if (self)
13460    {
13461      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13462      else
13463        {
13464	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13465          else puts (dlerror ());
13466	}
13467      /* dlclose (self); */
13468    }
13469  else
13470    puts (dlerror ());
13471
13472  return status;
13473}
13474_LT_EOF
13475  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13476  (eval $ac_link) 2>&5
13477  ac_status=$?
13478  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13479  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13480    (./conftest; exit; ) >&5 2>/dev/null
13481    lt_status=$?
13482    case x$lt_status in
13483      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13484      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13485      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13486    esac
13487  else :
13488    # compilation failed
13489    lt_cv_dlopen_self_static=no
13490  fi
13491fi
13492rm -fr conftest*
13493
13494
13495fi
13496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13497$as_echo "$lt_cv_dlopen_self_static" >&6; }
13498    fi
13499
13500    CPPFLAGS=$save_CPPFLAGS
13501    LDFLAGS=$save_LDFLAGS
13502    LIBS=$save_LIBS
13503    ;;
13504  esac
13505
13506  case $lt_cv_dlopen_self in
13507  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13508  *) enable_dlopen_self=unknown ;;
13509  esac
13510
13511  case $lt_cv_dlopen_self_static in
13512  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13513  *) enable_dlopen_self_static=unknown ;;
13514  esac
13515fi
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533striplib=
13534old_striplib=
13535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13536$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13537if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13538  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13539  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13540  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13541$as_echo "yes" >&6; }
13542else
13543# FIXME - insert some real tests, host_os isn't really good enough
13544  case $host_os in
13545  darwin*)
13546    if test -n "$STRIP"; then
13547      striplib="$STRIP -x"
13548      old_striplib="$STRIP -S"
13549      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13550$as_echo "yes" >&6; }
13551    else
13552      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13553$as_echo "no" >&6; }
13554    fi
13555    ;;
13556  *)
13557    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13558$as_echo "no" >&6; }
13559    ;;
13560  esac
13561fi
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574  # Report what library types will actually be built
13575  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13576$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13578$as_echo "$can_build_shared" >&6; }
13579
13580  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13581$as_echo_n "checking whether to build shared libraries... " >&6; }
13582  test no = "$can_build_shared" && enable_shared=no
13583
13584  # On AIX, shared libraries and static libraries use the same namespace, and
13585  # are all built from PIC.
13586  case $host_os in
13587  aix3*)
13588    test yes = "$enable_shared" && enable_static=no
13589    if test -n "$RANLIB"; then
13590      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13591      postinstall_cmds='$RANLIB $lib'
13592    fi
13593    ;;
13594
13595  aix[4-9]*)
13596    if test ia64 != "$host_cpu"; then
13597      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13598      yes,aix,yes) ;;			# shared object as lib.so file only
13599      yes,svr4,*) ;;			# shared object as lib.so archive member only
13600      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13601      esac
13602    fi
13603    ;;
13604  esac
13605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13606$as_echo "$enable_shared" >&6; }
13607
13608  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13609$as_echo_n "checking whether to build static libraries... " >&6; }
13610  # Make sure either enable_shared or enable_static is yes.
13611  test yes = "$enable_shared" || enable_static=yes
13612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13613$as_echo "$enable_static" >&6; }
13614
13615
13616
13617
13618fi
13619ac_ext=c
13620ac_cpp='$CPP $CPPFLAGS'
13621ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13622ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13623ac_compiler_gnu=$ac_cv_c_compiler_gnu
13624
13625CC=$lt_save_CC
13626
13627      if test -n "$CXX" && ( test no != "$CXX" &&
13628    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13629    (test g++ != "$CXX"))); then
13630  ac_ext=cpp
13631ac_cpp='$CXXCPP $CPPFLAGS'
13632ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13633ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13634ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13636$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13637if test -z "$CXXCPP"; then
13638  if ${ac_cv_prog_CXXCPP+:} false; then :
13639  $as_echo_n "(cached) " >&6
13640else
13641      # Double quotes because CXXCPP needs to be expanded
13642    for CXXCPP in "$CXX -E" "/lib/cpp"
13643    do
13644      ac_preproc_ok=false
13645for ac_cxx_preproc_warn_flag in '' yes
13646do
13647  # Use a header file that comes with gcc, so configuring glibc
13648  # with a fresh cross-compiler works.
13649  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13650  # <limits.h> exists even on freestanding compilers.
13651  # On the NeXT, cc -E runs the code through the compiler's parser,
13652  # not just through cpp. "Syntax error" is here to catch this case.
13653  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13654/* end confdefs.h.  */
13655#ifdef __STDC__
13656# include <limits.h>
13657#else
13658# include <assert.h>
13659#endif
13660		     Syntax error
13661_ACEOF
13662if ac_fn_cxx_try_cpp "$LINENO"; then :
13663
13664else
13665  # Broken: fails on valid input.
13666continue
13667fi
13668rm -f conftest.err conftest.i conftest.$ac_ext
13669
13670  # OK, works on sane cases.  Now check whether nonexistent headers
13671  # can be detected and how.
13672  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673/* end confdefs.h.  */
13674#include <ac_nonexistent.h>
13675_ACEOF
13676if ac_fn_cxx_try_cpp "$LINENO"; then :
13677  # Broken: success on invalid input.
13678continue
13679else
13680  # Passes both tests.
13681ac_preproc_ok=:
13682break
13683fi
13684rm -f conftest.err conftest.i conftest.$ac_ext
13685
13686done
13687# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13688rm -f conftest.i conftest.err conftest.$ac_ext
13689if $ac_preproc_ok; then :
13690  break
13691fi
13692
13693    done
13694    ac_cv_prog_CXXCPP=$CXXCPP
13695
13696fi
13697  CXXCPP=$ac_cv_prog_CXXCPP
13698else
13699  ac_cv_prog_CXXCPP=$CXXCPP
13700fi
13701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13702$as_echo "$CXXCPP" >&6; }
13703ac_preproc_ok=false
13704for ac_cxx_preproc_warn_flag in '' yes
13705do
13706  # Use a header file that comes with gcc, so configuring glibc
13707  # with a fresh cross-compiler works.
13708  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13709  # <limits.h> exists even on freestanding compilers.
13710  # On the NeXT, cc -E runs the code through the compiler's parser,
13711  # not just through cpp. "Syntax error" is here to catch this case.
13712  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13713/* end confdefs.h.  */
13714#ifdef __STDC__
13715# include <limits.h>
13716#else
13717# include <assert.h>
13718#endif
13719		     Syntax error
13720_ACEOF
13721if ac_fn_cxx_try_cpp "$LINENO"; then :
13722
13723else
13724  # Broken: fails on valid input.
13725continue
13726fi
13727rm -f conftest.err conftest.i conftest.$ac_ext
13728
13729  # OK, works on sane cases.  Now check whether nonexistent headers
13730  # can be detected and how.
13731  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732/* end confdefs.h.  */
13733#include <ac_nonexistent.h>
13734_ACEOF
13735if ac_fn_cxx_try_cpp "$LINENO"; then :
13736  # Broken: success on invalid input.
13737continue
13738else
13739  # Passes both tests.
13740ac_preproc_ok=:
13741break
13742fi
13743rm -f conftest.err conftest.i conftest.$ac_ext
13744
13745done
13746# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13747rm -f conftest.i conftest.err conftest.$ac_ext
13748if $ac_preproc_ok; then :
13749
13750else
13751  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13752$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13753as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13754See \`config.log' for more details" "$LINENO" 5; }
13755fi
13756
13757ac_ext=c
13758ac_cpp='$CPP $CPPFLAGS'
13759ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13760ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13761ac_compiler_gnu=$ac_cv_c_compiler_gnu
13762
13763else
13764  _lt_caught_CXX_error=yes
13765fi
13766
13767ac_ext=cpp
13768ac_cpp='$CXXCPP $CPPFLAGS'
13769ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13770ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13771ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13772
13773archive_cmds_need_lc_CXX=no
13774allow_undefined_flag_CXX=
13775always_export_symbols_CXX=no
13776archive_expsym_cmds_CXX=
13777compiler_needs_object_CXX=no
13778export_dynamic_flag_spec_CXX=
13779hardcode_direct_CXX=no
13780hardcode_direct_absolute_CXX=no
13781hardcode_libdir_flag_spec_CXX=
13782hardcode_libdir_separator_CXX=
13783hardcode_minus_L_CXX=no
13784hardcode_shlibpath_var_CXX=unsupported
13785hardcode_automatic_CXX=no
13786inherit_rpath_CXX=no
13787module_cmds_CXX=
13788module_expsym_cmds_CXX=
13789link_all_deplibs_CXX=unknown
13790old_archive_cmds_CXX=$old_archive_cmds
13791reload_flag_CXX=$reload_flag
13792reload_cmds_CXX=$reload_cmds
13793no_undefined_flag_CXX=
13794whole_archive_flag_spec_CXX=
13795enable_shared_with_static_runtimes_CXX=no
13796
13797# Source file extension for C++ test sources.
13798ac_ext=cpp
13799
13800# Object file extension for compiled C++ test sources.
13801objext=o
13802objext_CXX=$objext
13803
13804# No sense in running all these tests if we already determined that
13805# the CXX compiler isn't working.  Some variables (like enable_shared)
13806# are currently assumed to apply to all compilers on this platform,
13807# and will be corrupted by setting them based on a non-working compiler.
13808if test yes != "$_lt_caught_CXX_error"; then
13809  # Code to be used in simple compile tests
13810  lt_simple_compile_test_code="int some_variable = 0;"
13811
13812  # Code to be used in simple link tests
13813  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13814
13815  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13816
13817
13818
13819
13820
13821
13822# If no C compiler was specified, use CC.
13823LTCC=${LTCC-"$CC"}
13824
13825# If no C compiler flags were specified, use CFLAGS.
13826LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13827
13828# Allow CC to be a program name with arguments.
13829compiler=$CC
13830
13831
13832  # save warnings/boilerplate of simple test code
13833  ac_outfile=conftest.$ac_objext
13834echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13835eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13836_lt_compiler_boilerplate=`cat conftest.err`
13837$RM conftest*
13838
13839  ac_outfile=conftest.$ac_objext
13840echo "$lt_simple_link_test_code" >conftest.$ac_ext
13841eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13842_lt_linker_boilerplate=`cat conftest.err`
13843$RM -r conftest*
13844
13845
13846  # Allow CC to be a program name with arguments.
13847  lt_save_CC=$CC
13848  lt_save_CFLAGS=$CFLAGS
13849  lt_save_LD=$LD
13850  lt_save_GCC=$GCC
13851  GCC=$GXX
13852  lt_save_with_gnu_ld=$with_gnu_ld
13853  lt_save_path_LD=$lt_cv_path_LD
13854  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13855    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13856  else
13857    $as_unset lt_cv_prog_gnu_ld
13858  fi
13859  if test -n "${lt_cv_path_LDCXX+set}"; then
13860    lt_cv_path_LD=$lt_cv_path_LDCXX
13861  else
13862    $as_unset lt_cv_path_LD
13863  fi
13864  test -z "${LDCXX+set}" || LD=$LDCXX
13865  CC=${CXX-"c++"}
13866  CFLAGS=$CXXFLAGS
13867  compiler=$CC
13868  compiler_CXX=$CC
13869  func_cc_basename $compiler
13870cc_basename=$func_cc_basename_result
13871
13872
13873  if test -n "$compiler"; then
13874    # We don't want -fno-exception when compiling C++ code, so set the
13875    # no_builtin_flag separately
13876    if test yes = "$GXX"; then
13877      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13878    else
13879      lt_prog_compiler_no_builtin_flag_CXX=
13880    fi
13881
13882    if test yes = "$GXX"; then
13883      # Set up default GNU C++ configuration
13884
13885
13886
13887# Check whether --with-gnu-ld was given.
13888if test "${with_gnu_ld+set}" = set; then :
13889  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13890else
13891  with_gnu_ld=no
13892fi
13893
13894ac_prog=ld
13895if test yes = "$GCC"; then
13896  # Check if gcc -print-prog-name=ld gives a path.
13897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13898$as_echo_n "checking for ld used by $CC... " >&6; }
13899  case $host in
13900  *-*-mingw*)
13901    # gcc leaves a trailing carriage return, which upsets mingw
13902    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13903  *)
13904    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13905  esac
13906  case $ac_prog in
13907    # Accept absolute paths.
13908    [\\/]* | ?:[\\/]*)
13909      re_direlt='/[^/][^/]*/\.\./'
13910      # Canonicalize the pathname of ld
13911      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13912      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13913	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13914      done
13915      test -z "$LD" && LD=$ac_prog
13916      ;;
13917  "")
13918    # If it fails, then pretend we aren't using GCC.
13919    ac_prog=ld
13920    ;;
13921  *)
13922    # If it is relative, then search for the first ld in PATH.
13923    with_gnu_ld=unknown
13924    ;;
13925  esac
13926elif test yes = "$with_gnu_ld"; then
13927  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13928$as_echo_n "checking for GNU ld... " >&6; }
13929else
13930  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13931$as_echo_n "checking for non-GNU ld... " >&6; }
13932fi
13933if ${lt_cv_path_LD+:} false; then :
13934  $as_echo_n "(cached) " >&6
13935else
13936  if test -z "$LD"; then
13937  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13938  for ac_dir in $PATH; do
13939    IFS=$lt_save_ifs
13940    test -z "$ac_dir" && ac_dir=.
13941    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13942      lt_cv_path_LD=$ac_dir/$ac_prog
13943      # Check to see if the program is GNU ld.  I'd rather use --version,
13944      # but apparently some variants of GNU ld only accept -v.
13945      # Break only if it was the GNU/non-GNU ld that we prefer.
13946      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13947      *GNU* | *'with BFD'*)
13948	test no != "$with_gnu_ld" && break
13949	;;
13950      *)
13951	test yes != "$with_gnu_ld" && break
13952	;;
13953      esac
13954    fi
13955  done
13956  IFS=$lt_save_ifs
13957else
13958  lt_cv_path_LD=$LD # Let the user override the test with a path.
13959fi
13960fi
13961
13962LD=$lt_cv_path_LD
13963if test -n "$LD"; then
13964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13965$as_echo "$LD" >&6; }
13966else
13967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13968$as_echo "no" >&6; }
13969fi
13970test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13972$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13973if ${lt_cv_prog_gnu_ld+:} false; then :
13974  $as_echo_n "(cached) " >&6
13975else
13976  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13977case `$LD -v 2>&1 </dev/null` in
13978*GNU* | *'with BFD'*)
13979  lt_cv_prog_gnu_ld=yes
13980  ;;
13981*)
13982  lt_cv_prog_gnu_ld=no
13983  ;;
13984esac
13985fi
13986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13987$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13988with_gnu_ld=$lt_cv_prog_gnu_ld
13989
13990
13991
13992
13993
13994
13995
13996      # Check if GNU C++ uses GNU ld as the underlying linker, since the
13997      # archiving commands below assume that GNU ld is being used.
13998      if test yes = "$with_gnu_ld"; then
13999        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14000        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'
14001
14002        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14003        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14004
14005        # If archive_cmds runs LD, not CC, wlarc should be empty
14006        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14007        #     investigate it a little bit more. (MM)
14008        wlarc='$wl'
14009
14010        # ancient GNU ld didn't support --whole-archive et. al.
14011        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14012	  $GREP 'no-whole-archive' > /dev/null; then
14013          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14014        else
14015          whole_archive_flag_spec_CXX=
14016        fi
14017      else
14018        with_gnu_ld=no
14019        wlarc=
14020
14021        # A generic and very simple default shared library creation
14022        # command for GNU C++ for the case where it uses the native
14023        # linker, instead of GNU ld.  If possible, this setting should
14024        # overridden to take advantage of the native linker features on
14025        # the platform it is being used on.
14026        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14027      fi
14028
14029      # Commands to make compiler produce verbose output that lists
14030      # what "hidden" libraries, object files and flags are used when
14031      # linking a shared library.
14032      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
14033
14034    else
14035      GXX=no
14036      with_gnu_ld=no
14037      wlarc=
14038    fi
14039
14040    # PORTME: fill in a description of your system's C++ link characteristics
14041    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14042$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14043    ld_shlibs_CXX=yes
14044    case $host_os in
14045      aix3*)
14046        # FIXME: insert proper C++ library support
14047        ld_shlibs_CXX=no
14048        ;;
14049      aix[4-9]*)
14050        if test ia64 = "$host_cpu"; then
14051          # On IA64, the linker does run time linking by default, so we don't
14052          # have to do anything special.
14053          aix_use_runtimelinking=no
14054          exp_sym_flag='-Bexport'
14055          no_entry_flag=
14056        else
14057          aix_use_runtimelinking=no
14058
14059          # Test if we are trying to use run time linking or normal
14060          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14061          # have runtime linking enabled, and use it for executables.
14062          # For shared libraries, we enable/disable runtime linking
14063          # depending on the kind of the shared library created -
14064          # when "with_aix_soname,aix_use_runtimelinking" is:
14065          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
14066          # "aix,yes"  lib.so          shared, rtl:yes, for executables
14067          #            lib.a           static archive
14068          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
14069          #            lib.a(lib.so.V) shared, rtl:no,  for executables
14070          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14071          #            lib.a(lib.so.V) shared, rtl:no
14072          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
14073          #            lib.a           static archive
14074          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14075	    for ld_flag in $LDFLAGS; do
14076	      case $ld_flag in
14077	      *-brtl*)
14078	        aix_use_runtimelinking=yes
14079	        break
14080	        ;;
14081	      esac
14082	    done
14083	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14084	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
14085	      # so we don't have lib.a shared libs to link our executables.
14086	      # We have to force runtime linking in this case.
14087	      aix_use_runtimelinking=yes
14088	      LDFLAGS="$LDFLAGS -Wl,-brtl"
14089	    fi
14090	    ;;
14091          esac
14092
14093          exp_sym_flag='-bexport'
14094          no_entry_flag='-bnoentry'
14095        fi
14096
14097        # When large executables or shared objects are built, AIX ld can
14098        # have problems creating the table of contents.  If linking a library
14099        # or program results in "error TOC overflow" add -mminimal-toc to
14100        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14101        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14102
14103        archive_cmds_CXX=''
14104        hardcode_direct_CXX=yes
14105        hardcode_direct_absolute_CXX=yes
14106        hardcode_libdir_separator_CXX=':'
14107        link_all_deplibs_CXX=yes
14108        file_list_spec_CXX='$wl-f,'
14109        case $with_aix_soname,$aix_use_runtimelinking in
14110        aix,*) ;;	# no import file
14111        svr4,* | *,yes) # use import file
14112          # The Import File defines what to hardcode.
14113          hardcode_direct_CXX=no
14114          hardcode_direct_absolute_CXX=no
14115          ;;
14116        esac
14117
14118        if test yes = "$GXX"; then
14119          case $host_os in aix4.[012]|aix4.[012].*)
14120          # We only want to do this on AIX 4.2 and lower, the check
14121          # below for broken collect2 doesn't work under 4.3+
14122	  collect2name=`$CC -print-prog-name=collect2`
14123	  if test -f "$collect2name" &&
14124	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14125	  then
14126	    # We have reworked collect2
14127	    :
14128	  else
14129	    # We have old collect2
14130	    hardcode_direct_CXX=unsupported
14131	    # It fails to find uninstalled libraries when the uninstalled
14132	    # path is not listed in the libpath.  Setting hardcode_minus_L
14133	    # to unsupported forces relinking
14134	    hardcode_minus_L_CXX=yes
14135	    hardcode_libdir_flag_spec_CXX='-L$libdir'
14136	    hardcode_libdir_separator_CXX=
14137	  fi
14138          esac
14139          shared_flag='-shared'
14140	  if test yes = "$aix_use_runtimelinking"; then
14141	    shared_flag=$shared_flag' $wl-G'
14142	  fi
14143	  # Need to ensure runtime linking is disabled for the traditional
14144	  # shared library, or the linker may eventually find shared libraries
14145	  # /with/ Import File - we do not want to mix them.
14146	  shared_flag_aix='-shared'
14147	  shared_flag_svr4='-shared $wl-G'
14148        else
14149          # not using gcc
14150          if test ia64 = "$host_cpu"; then
14151	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14152	  # chokes on -Wl,-G. The following line is correct:
14153	  shared_flag='-G'
14154          else
14155	    if test yes = "$aix_use_runtimelinking"; then
14156	      shared_flag='$wl-G'
14157	    else
14158	      shared_flag='$wl-bM:SRE'
14159	    fi
14160	    shared_flag_aix='$wl-bM:SRE'
14161	    shared_flag_svr4='$wl-G'
14162          fi
14163        fi
14164
14165        export_dynamic_flag_spec_CXX='$wl-bexpall'
14166        # It seems that -bexpall does not export symbols beginning with
14167        # underscore (_), so it is better to generate a list of symbols to
14168	# export.
14169        always_export_symbols_CXX=yes
14170	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14171          # Warning - without using the other runtime loading flags (-brtl),
14172          # -berok will link without error, but may produce a broken library.
14173          # The "-G" linker flag allows undefined symbols.
14174          no_undefined_flag_CXX='-bernotok'
14175          # Determine the default libpath from the value encoded in an empty
14176          # executable.
14177          if test set = "${lt_cv_aix_libpath+set}"; then
14178  aix_libpath=$lt_cv_aix_libpath
14179else
14180  if ${lt_cv_aix_libpath__CXX+:} false; then :
14181  $as_echo_n "(cached) " >&6
14182else
14183  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14184/* end confdefs.h.  */
14185
14186int
14187main ()
14188{
14189
14190  ;
14191  return 0;
14192}
14193_ACEOF
14194if ac_fn_cxx_try_link "$LINENO"; then :
14195
14196  lt_aix_libpath_sed='
14197      /Import File Strings/,/^$/ {
14198	  /^0/ {
14199	      s/^0  *\([^ ]*\) *$/\1/
14200	      p
14201	  }
14202      }'
14203  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14204  # Check for a 64-bit object if we didn't find anything.
14205  if test -z "$lt_cv_aix_libpath__CXX"; then
14206    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14207  fi
14208fi
14209rm -f core conftest.err conftest.$ac_objext \
14210    conftest$ac_exeext conftest.$ac_ext
14211  if test -z "$lt_cv_aix_libpath__CXX"; then
14212    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14213  fi
14214
14215fi
14216
14217  aix_libpath=$lt_cv_aix_libpath__CXX
14218fi
14219
14220          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14221
14222          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
14223        else
14224          if test ia64 = "$host_cpu"; then
14225	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14226	    allow_undefined_flag_CXX="-z nodefs"
14227	    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"
14228          else
14229	    # Determine the default libpath from the value encoded in an
14230	    # empty executable.
14231	    if test set = "${lt_cv_aix_libpath+set}"; then
14232  aix_libpath=$lt_cv_aix_libpath
14233else
14234  if ${lt_cv_aix_libpath__CXX+:} false; then :
14235  $as_echo_n "(cached) " >&6
14236else
14237  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14238/* end confdefs.h.  */
14239
14240int
14241main ()
14242{
14243
14244  ;
14245  return 0;
14246}
14247_ACEOF
14248if ac_fn_cxx_try_link "$LINENO"; then :
14249
14250  lt_aix_libpath_sed='
14251      /Import File Strings/,/^$/ {
14252	  /^0/ {
14253	      s/^0  *\([^ ]*\) *$/\1/
14254	      p
14255	  }
14256      }'
14257  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14258  # Check for a 64-bit object if we didn't find anything.
14259  if test -z "$lt_cv_aix_libpath__CXX"; then
14260    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14261  fi
14262fi
14263rm -f core conftest.err conftest.$ac_objext \
14264    conftest$ac_exeext conftest.$ac_ext
14265  if test -z "$lt_cv_aix_libpath__CXX"; then
14266    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14267  fi
14268
14269fi
14270
14271  aix_libpath=$lt_cv_aix_libpath__CXX
14272fi
14273
14274	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14275	    # Warning - without using the other run time loading flags,
14276	    # -berok will link without error, but may produce a broken library.
14277	    no_undefined_flag_CXX=' $wl-bernotok'
14278	    allow_undefined_flag_CXX=' $wl-berok'
14279	    if test yes = "$with_gnu_ld"; then
14280	      # We only use this code for GNU lds that support --whole-archive.
14281	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14282	    else
14283	      # Exported symbols can be pulled into shared objects from archives
14284	      whole_archive_flag_spec_CXX='$convenience'
14285	    fi
14286	    archive_cmds_need_lc_CXX=yes
14287	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14288	    # -brtl affects multiple linker settings, -berok does not and is overridden later
14289	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14290	    if test svr4 != "$with_aix_soname"; then
14291	      # This is similar to how AIX traditionally builds its shared
14292	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14293	      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'
14294	    fi
14295	    if test aix != "$with_aix_soname"; then
14296	      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'
14297	    else
14298	      # used by -dlpreopen to get the symbols
14299	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14300	    fi
14301	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14302          fi
14303        fi
14304        ;;
14305
14306      beos*)
14307	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14308	  allow_undefined_flag_CXX=unsupported
14309	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14310	  # support --undefined.  This deserves some investigation.  FIXME
14311	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14312	else
14313	  ld_shlibs_CXX=no
14314	fi
14315	;;
14316
14317      chorus*)
14318        case $cc_basename in
14319          *)
14320	  # FIXME: insert proper C++ library support
14321	  ld_shlibs_CXX=no
14322	  ;;
14323        esac
14324        ;;
14325
14326      cygwin* | mingw* | pw32* | cegcc*)
14327	case $GXX,$cc_basename in
14328	,cl* | no,cl*)
14329	  # Native MSVC
14330	  # hardcode_libdir_flag_spec is actually meaningless, as there is
14331	  # no search path for DLLs.
14332	  hardcode_libdir_flag_spec_CXX=' '
14333	  allow_undefined_flag_CXX=unsupported
14334	  always_export_symbols_CXX=yes
14335	  file_list_spec_CXX='@'
14336	  # Tell ltmain to make .lib files, not .a files.
14337	  libext=lib
14338	  # Tell ltmain to make .dll files, not .so files.
14339	  shrext_cmds=.dll
14340	  # FIXME: Setting linknames here is a bad hack.
14341	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14342	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14343              cp "$export_symbols" "$output_objdir/$soname.def";
14344              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14345            else
14346              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14347            fi~
14348            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14349            linknames='
14350	  # The linker will not automatically build a static lib if we build a DLL.
14351	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14352	  enable_shared_with_static_runtimes_CXX=yes
14353	  # Don't use ranlib
14354	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
14355	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14356            lt_tool_outputfile="@TOOL_OUTPUT@"~
14357            case $lt_outputfile in
14358              *.exe|*.EXE) ;;
14359              *)
14360                lt_outputfile=$lt_outputfile.exe
14361                lt_tool_outputfile=$lt_tool_outputfile.exe
14362                ;;
14363            esac~
14364            func_to_tool_file "$lt_outputfile"~
14365            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14366              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14367              $RM "$lt_outputfile.manifest";
14368            fi'
14369	  ;;
14370	*)
14371	  # g++
14372	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14373	  # as there is no search path for DLLs.
14374	  hardcode_libdir_flag_spec_CXX='-L$libdir'
14375	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14376	  allow_undefined_flag_CXX=unsupported
14377	  always_export_symbols_CXX=no
14378	  enable_shared_with_static_runtimes_CXX=yes
14379
14380	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14381	    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'
14382	    # If the export-symbols file already is a .def file, use it as
14383	    # is; otherwise, prepend EXPORTS...
14384	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14385              cp $export_symbols $output_objdir/$soname.def;
14386            else
14387              echo EXPORTS > $output_objdir/$soname.def;
14388              cat $export_symbols >> $output_objdir/$soname.def;
14389            fi~
14390            $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'
14391	  else
14392	    ld_shlibs_CXX=no
14393	  fi
14394	  ;;
14395	esac
14396	;;
14397      darwin* | rhapsody*)
14398
14399
14400  archive_cmds_need_lc_CXX=no
14401  hardcode_direct_CXX=no
14402  hardcode_automatic_CXX=yes
14403  hardcode_shlibpath_var_CXX=unsupported
14404  if test yes = "$lt_cv_ld_force_load"; then
14405    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\"`'
14406
14407  else
14408    whole_archive_flag_spec_CXX=''
14409  fi
14410  link_all_deplibs_CXX=yes
14411  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14412  case $cc_basename in
14413     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14414     *) _lt_dar_can_shared=$GCC ;;
14415  esac
14416  if test yes = "$_lt_dar_can_shared"; then
14417    output_verbose_link_cmd=func_echo_all
14418    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"
14419    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14420    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"
14421    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"
14422       if test yes != "$lt_cv_apple_cc_single_mod"; then
14423      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"
14424      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"
14425    fi
14426
14427  else
14428  ld_shlibs_CXX=no
14429  fi
14430
14431	;;
14432
14433      os2*)
14434	hardcode_libdir_flag_spec_CXX='-L$libdir'
14435	hardcode_minus_L_CXX=yes
14436	allow_undefined_flag_CXX=unsupported
14437	shrext_cmds=.dll
14438	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14439	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14440	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14441	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14442	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14443	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14444	  emximp -o $lib $output_objdir/$libname.def'
14445	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14446	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14447	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14448	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14449	  prefix_cmds="$SED"~
14450	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14451	    prefix_cmds="$prefix_cmds -e 1d";
14452	  fi~
14453	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14454	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14455	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14456	  emximp -o $lib $output_objdir/$libname.def'
14457	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14458	enable_shared_with_static_runtimes_CXX=yes
14459	;;
14460
14461      dgux*)
14462        case $cc_basename in
14463          ec++*)
14464	    # FIXME: insert proper C++ library support
14465	    ld_shlibs_CXX=no
14466	    ;;
14467          ghcx*)
14468	    # Green Hills C++ Compiler
14469	    # FIXME: insert proper C++ library support
14470	    ld_shlibs_CXX=no
14471	    ;;
14472          *)
14473	    # FIXME: insert proper C++ library support
14474	    ld_shlibs_CXX=no
14475	    ;;
14476        esac
14477        ;;
14478
14479      freebsd2.*)
14480        # C++ shared libraries reported to be fairly broken before
14481	# switch to ELF
14482        ld_shlibs_CXX=no
14483        ;;
14484
14485      freebsd-elf*)
14486        archive_cmds_need_lc_CXX=no
14487        ;;
14488
14489      freebsd* | dragonfly*)
14490        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14491        # conventions
14492        ld_shlibs_CXX=yes
14493        ;;
14494
14495      haiku*)
14496        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14497        link_all_deplibs_CXX=yes
14498        ;;
14499
14500      hpux9*)
14501        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14502        hardcode_libdir_separator_CXX=:
14503        export_dynamic_flag_spec_CXX='$wl-E'
14504        hardcode_direct_CXX=yes
14505        hardcode_minus_L_CXX=yes # Not in the search PATH,
14506				             # but as the default
14507				             # location of the library.
14508
14509        case $cc_basename in
14510          CC*)
14511            # FIXME: insert proper C++ library support
14512            ld_shlibs_CXX=no
14513            ;;
14514          aCC*)
14515            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'
14516            # Commands to make compiler produce verbose output that lists
14517            # what "hidden" libraries, object files and flags are used when
14518            # linking a shared library.
14519            #
14520            # There doesn't appear to be a way to prevent this compiler from
14521            # explicitly linking system object files so we need to strip them
14522            # from the output so that they don't get included in the library
14523            # dependencies.
14524            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"'
14525            ;;
14526          *)
14527            if test yes = "$GXX"; then
14528              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'
14529            else
14530              # FIXME: insert proper C++ library support
14531              ld_shlibs_CXX=no
14532            fi
14533            ;;
14534        esac
14535        ;;
14536
14537      hpux10*|hpux11*)
14538        if test no = "$with_gnu_ld"; then
14539	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14540	  hardcode_libdir_separator_CXX=:
14541
14542          case $host_cpu in
14543            hppa*64*|ia64*)
14544              ;;
14545            *)
14546	      export_dynamic_flag_spec_CXX='$wl-E'
14547              ;;
14548          esac
14549        fi
14550        case $host_cpu in
14551          hppa*64*|ia64*)
14552            hardcode_direct_CXX=no
14553            hardcode_shlibpath_var_CXX=no
14554            ;;
14555          *)
14556            hardcode_direct_CXX=yes
14557            hardcode_direct_absolute_CXX=yes
14558            hardcode_minus_L_CXX=yes # Not in the search PATH,
14559					         # but as the default
14560					         # location of the library.
14561            ;;
14562        esac
14563
14564        case $cc_basename in
14565          CC*)
14566	    # FIXME: insert proper C++ library support
14567	    ld_shlibs_CXX=no
14568	    ;;
14569          aCC*)
14570	    case $host_cpu in
14571	      hppa*64*)
14572	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14573	        ;;
14574	      ia64*)
14575	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14576	        ;;
14577	      *)
14578	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14579	        ;;
14580	    esac
14581	    # Commands to make compiler produce verbose output that lists
14582	    # what "hidden" libraries, object files and flags are used when
14583	    # linking a shared library.
14584	    #
14585	    # There doesn't appear to be a way to prevent this compiler from
14586	    # explicitly linking system object files so we need to strip them
14587	    # from the output so that they don't get included in the library
14588	    # dependencies.
14589	    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"'
14590	    ;;
14591          *)
14592	    if test yes = "$GXX"; then
14593	      if test no = "$with_gnu_ld"; then
14594	        case $host_cpu in
14595	          hppa*64*)
14596	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14597	            ;;
14598	          ia64*)
14599	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14600	            ;;
14601	          *)
14602	            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'
14603	            ;;
14604	        esac
14605	      fi
14606	    else
14607	      # FIXME: insert proper C++ library support
14608	      ld_shlibs_CXX=no
14609	    fi
14610	    ;;
14611        esac
14612        ;;
14613
14614      interix[3-9]*)
14615	hardcode_direct_CXX=no
14616	hardcode_shlibpath_var_CXX=no
14617	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14618	export_dynamic_flag_spec_CXX='$wl-E'
14619	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14620	# Instead, shared libraries are loaded at an image base (0x10000000 by
14621	# default) and relocated if they conflict, which is a slow very memory
14622	# consuming and fragmenting process.  To avoid this, we pick a random,
14623	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14624	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14625	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'
14626	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'
14627	;;
14628      irix5* | irix6*)
14629        case $cc_basename in
14630          CC*)
14631	    # SGI C++
14632	    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'
14633
14634	    # Archives containing C++ object files must be created using
14635	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14636	    # necessary to make sure instantiated templates are included
14637	    # in the archive.
14638	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14639	    ;;
14640          *)
14641	    if test yes = "$GXX"; then
14642	      if test no = "$with_gnu_ld"; then
14643	        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'
14644	      else
14645	        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'
14646	      fi
14647	    fi
14648	    link_all_deplibs_CXX=yes
14649	    ;;
14650        esac
14651        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14652        hardcode_libdir_separator_CXX=:
14653        inherit_rpath_CXX=yes
14654        ;;
14655
14656      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14657        case $cc_basename in
14658          KCC*)
14659	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14660
14661	    # KCC will only create a shared library if the output file
14662	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14663	    # to its proper name (with version) after linking.
14664	    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'
14665	    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'
14666	    # Commands to make compiler produce verbose output that lists
14667	    # what "hidden" libraries, object files and flags are used when
14668	    # linking a shared library.
14669	    #
14670	    # There doesn't appear to be a way to prevent this compiler from
14671	    # explicitly linking system object files so we need to strip them
14672	    # from the output so that they don't get included in the library
14673	    # dependencies.
14674	    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"'
14675
14676	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14677	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14678
14679	    # Archives containing C++ object files must be created using
14680	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14681	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14682	    ;;
14683	  icpc* | ecpc* )
14684	    # Intel C++
14685	    with_gnu_ld=yes
14686	    # version 8.0 and above of icpc choke on multiply defined symbols
14687	    # if we add $predep_objects and $postdep_objects, however 7.1 and
14688	    # earlier do not add the objects themselves.
14689	    case `$CC -V 2>&1` in
14690	      *"Version 7."*)
14691	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14692		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'
14693		;;
14694	      *)  # Version 8.0 or newer
14695	        tmp_idyn=
14696	        case $host_cpu in
14697		  ia64*) tmp_idyn=' -i_dynamic';;
14698		esac
14699	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14700		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'
14701		;;
14702	    esac
14703	    archive_cmds_need_lc_CXX=no
14704	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14705	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14706	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14707	    ;;
14708          pgCC* | pgcpp*)
14709            # Portland Group C++ compiler
14710	    case `$CC -V` in
14711	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14712	      prelink_cmds_CXX='tpldir=Template.dir~
14713               rm -rf $tpldir~
14714               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14715               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14716	      old_archive_cmds_CXX='tpldir=Template.dir~
14717                rm -rf $tpldir~
14718                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14719                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14720                $RANLIB $oldlib'
14721	      archive_cmds_CXX='tpldir=Template.dir~
14722                rm -rf $tpldir~
14723                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14724                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14725	      archive_expsym_cmds_CXX='tpldir=Template.dir~
14726                rm -rf $tpldir~
14727                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14728                $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'
14729	      ;;
14730	    *) # Version 6 and above use weak symbols
14731	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14732	      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'
14733	      ;;
14734	    esac
14735
14736	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14737	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14738	    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'
14739            ;;
14740	  cxx*)
14741	    # Compaq C++
14742	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14743	    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'
14744
14745	    runpath_var=LD_RUN_PATH
14746	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14747	    hardcode_libdir_separator_CXX=:
14748
14749	    # Commands to make compiler produce verbose output that lists
14750	    # what "hidden" libraries, object files and flags are used when
14751	    # linking a shared library.
14752	    #
14753	    # There doesn't appear to be a way to prevent this compiler from
14754	    # explicitly linking system object files so we need to strip them
14755	    # from the output so that they don't get included in the library
14756	    # dependencies.
14757	    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'
14758	    ;;
14759	  xl* | mpixl* | bgxl*)
14760	    # IBM XL 8.0 on PPC, with GNU ld
14761	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14762	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14763	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14764	    if test yes = "$supports_anon_versioning"; then
14765	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14766                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14767                echo "local: *; };" >> $output_objdir/$libname.ver~
14768                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14769	    fi
14770	    ;;
14771	  *)
14772	    case `$CC -V 2>&1 | sed 5q` in
14773	    *Sun\ C*)
14774	      # Sun C++ 5.9
14775	      no_undefined_flag_CXX=' -zdefs'
14776	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14777	      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'
14778	      hardcode_libdir_flag_spec_CXX='-R$libdir'
14779	      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'
14780	      compiler_needs_object_CXX=yes
14781
14782	      # Not sure whether something based on
14783	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14784	      # would be better.
14785	      output_verbose_link_cmd='func_echo_all'
14786
14787	      # Archives containing C++ object files must be created using
14788	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14789	      # necessary to make sure instantiated templates are included
14790	      # in the archive.
14791	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14792	      ;;
14793	    esac
14794	    ;;
14795	esac
14796	;;
14797
14798      lynxos*)
14799        # FIXME: insert proper C++ library support
14800	ld_shlibs_CXX=no
14801	;;
14802
14803      m88k*)
14804        # FIXME: insert proper C++ library support
14805        ld_shlibs_CXX=no
14806	;;
14807
14808      mvs*)
14809        case $cc_basename in
14810          cxx*)
14811	    # FIXME: insert proper C++ library support
14812	    ld_shlibs_CXX=no
14813	    ;;
14814	  *)
14815	    # FIXME: insert proper C++ library support
14816	    ld_shlibs_CXX=no
14817	    ;;
14818	esac
14819	;;
14820
14821      netbsd*)
14822        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14823	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14824	  wlarc=
14825	  hardcode_libdir_flag_spec_CXX='-R$libdir'
14826	  hardcode_direct_CXX=yes
14827	  hardcode_shlibpath_var_CXX=no
14828	fi
14829	# Workaround some broken pre-1.5 toolchains
14830	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14831	;;
14832
14833      *nto* | *qnx*)
14834        ld_shlibs_CXX=yes
14835	;;
14836
14837      openbsd* | bitrig*)
14838	if test -f /usr/libexec/ld.so; then
14839	  hardcode_direct_CXX=yes
14840	  hardcode_shlibpath_var_CXX=no
14841	  hardcode_direct_absolute_CXX=yes
14842	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14843	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14844	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14845	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14846	    export_dynamic_flag_spec_CXX='$wl-E'
14847	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14848	  fi
14849	  output_verbose_link_cmd=func_echo_all
14850	else
14851	  ld_shlibs_CXX=no
14852	fi
14853	;;
14854
14855      osf3* | osf4* | osf5*)
14856        case $cc_basename in
14857          KCC*)
14858	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14859
14860	    # KCC will only create a shared library if the output file
14861	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14862	    # to its proper name (with version) after linking.
14863	    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'
14864
14865	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14866	    hardcode_libdir_separator_CXX=:
14867
14868	    # Archives containing C++ object files must be created using
14869	    # the KAI C++ compiler.
14870	    case $host in
14871	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14872	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14873	    esac
14874	    ;;
14875          RCC*)
14876	    # Rational C++ 2.4.1
14877	    # FIXME: insert proper C++ library support
14878	    ld_shlibs_CXX=no
14879	    ;;
14880          cxx*)
14881	    case $host in
14882	      osf3*)
14883	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14884	        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'
14885	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14886		;;
14887	      *)
14888	        allow_undefined_flag_CXX=' -expect_unresolved \*'
14889	        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'
14890	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14891                  echo "-hidden">> $lib.exp~
14892                  $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~
14893                  $RM $lib.exp'
14894	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14895		;;
14896	    esac
14897
14898	    hardcode_libdir_separator_CXX=:
14899
14900	    # Commands to make compiler produce verbose output that lists
14901	    # what "hidden" libraries, object files and flags are used when
14902	    # linking a shared library.
14903	    #
14904	    # There doesn't appear to be a way to prevent this compiler from
14905	    # explicitly linking system object files so we need to strip them
14906	    # from the output so that they don't get included in the library
14907	    # dependencies.
14908	    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"'
14909	    ;;
14910	  *)
14911	    if test yes,no = "$GXX,$with_gnu_ld"; then
14912	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14913	      case $host in
14914	        osf3*)
14915	          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'
14916		  ;;
14917	        *)
14918	          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'
14919		  ;;
14920	      esac
14921
14922	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14923	      hardcode_libdir_separator_CXX=:
14924
14925	      # Commands to make compiler produce verbose output that lists
14926	      # what "hidden" libraries, object files and flags are used when
14927	      # linking a shared library.
14928	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
14929
14930	    else
14931	      # FIXME: insert proper C++ library support
14932	      ld_shlibs_CXX=no
14933	    fi
14934	    ;;
14935        esac
14936        ;;
14937
14938      psos*)
14939        # FIXME: insert proper C++ library support
14940        ld_shlibs_CXX=no
14941        ;;
14942
14943      sunos4*)
14944        case $cc_basename in
14945          CC*)
14946	    # Sun C++ 4.x
14947	    # FIXME: insert proper C++ library support
14948	    ld_shlibs_CXX=no
14949	    ;;
14950          lcc*)
14951	    # Lucid
14952	    # FIXME: insert proper C++ library support
14953	    ld_shlibs_CXX=no
14954	    ;;
14955          *)
14956	    # FIXME: insert proper C++ library support
14957	    ld_shlibs_CXX=no
14958	    ;;
14959        esac
14960        ;;
14961
14962      solaris*)
14963        case $cc_basename in
14964          CC* | sunCC*)
14965	    # Sun C++ 4.2, 5.x and Centerline C++
14966            archive_cmds_need_lc_CXX=yes
14967	    no_undefined_flag_CXX=' -zdefs'
14968	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14969	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14970              $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'
14971
14972	    hardcode_libdir_flag_spec_CXX='-R$libdir'
14973	    hardcode_shlibpath_var_CXX=no
14974	    case $host_os in
14975	      solaris2.[0-5] | solaris2.[0-5].*) ;;
14976	      *)
14977		# The compiler driver will combine and reorder linker options,
14978		# but understands '-z linker_flag'.
14979	        # Supported since Solaris 2.6 (maybe 2.5.1?)
14980		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14981	        ;;
14982	    esac
14983	    link_all_deplibs_CXX=yes
14984
14985	    output_verbose_link_cmd='func_echo_all'
14986
14987	    # Archives containing C++ object files must be created using
14988	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14989	    # necessary to make sure instantiated templates are included
14990	    # in the archive.
14991	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14992	    ;;
14993          gcx*)
14994	    # Green Hills C++ Compiler
14995	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14996
14997	    # The C++ compiler must be used to create the archive.
14998	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14999	    ;;
15000          *)
15001	    # GNU C++ compiler with Solaris linker
15002	    if test yes,no = "$GXX,$with_gnu_ld"; then
15003	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
15004	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15005	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15006	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15007                  $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'
15008
15009	        # Commands to make compiler produce verbose output that lists
15010	        # what "hidden" libraries, object files and flags are used when
15011	        # linking a shared library.
15012	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
15013	      else
15014	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
15015	        # platform.
15016	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15017	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15018                  $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'
15019
15020	        # Commands to make compiler produce verbose output that lists
15021	        # what "hidden" libraries, object files and flags are used when
15022	        # linking a shared library.
15023	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
15024	      fi
15025
15026	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15027	      case $host_os in
15028		solaris2.[0-5] | solaris2.[0-5].*) ;;
15029		*)
15030		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15031		  ;;
15032	      esac
15033	    fi
15034	    ;;
15035        esac
15036        ;;
15037
15038    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15039      no_undefined_flag_CXX='$wl-z,text'
15040      archive_cmds_need_lc_CXX=no
15041      hardcode_shlibpath_var_CXX=no
15042      runpath_var='LD_RUN_PATH'
15043
15044      case $cc_basename in
15045        CC*)
15046	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15047	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15048	  ;;
15049	*)
15050	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15051	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15052	  ;;
15053      esac
15054      ;;
15055
15056      sysv5* | sco3.2v5* | sco5v6*)
15057	# Note: We CANNOT use -z defs as we might desire, because we do not
15058	# link with -lc, and that would cause any symbols used from libc to
15059	# always be unresolved, which means just about no library would
15060	# ever link correctly.  If we're not using GNU ld we use -z text
15061	# though, which does catch some bad symbols but isn't as heavy-handed
15062	# as -z defs.
15063	no_undefined_flag_CXX='$wl-z,text'
15064	allow_undefined_flag_CXX='$wl-z,nodefs'
15065	archive_cmds_need_lc_CXX=no
15066	hardcode_shlibpath_var_CXX=no
15067	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15068	hardcode_libdir_separator_CXX=':'
15069	link_all_deplibs_CXX=yes
15070	export_dynamic_flag_spec_CXX='$wl-Bexport'
15071	runpath_var='LD_RUN_PATH'
15072
15073	case $cc_basename in
15074          CC*)
15075	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15076	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15077	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15078              '"$old_archive_cmds_CXX"
15079	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15080              '"$reload_cmds_CXX"
15081	    ;;
15082	  *)
15083	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15084	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15085	    ;;
15086	esac
15087      ;;
15088
15089      tandem*)
15090        case $cc_basename in
15091          NCC*)
15092	    # NonStop-UX NCC 3.20
15093	    # FIXME: insert proper C++ library support
15094	    ld_shlibs_CXX=no
15095	    ;;
15096          *)
15097	    # FIXME: insert proper C++ library support
15098	    ld_shlibs_CXX=no
15099	    ;;
15100        esac
15101        ;;
15102
15103      vxworks*)
15104        # FIXME: insert proper C++ library support
15105        ld_shlibs_CXX=no
15106        ;;
15107
15108      *)
15109        # FIXME: insert proper C++ library support
15110        ld_shlibs_CXX=no
15111        ;;
15112    esac
15113
15114    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15115$as_echo "$ld_shlibs_CXX" >&6; }
15116    test no = "$ld_shlibs_CXX" && can_build_shared=no
15117
15118    GCC_CXX=$GXX
15119    LD_CXX=$LD
15120
15121    ## CAVEAT EMPTOR:
15122    ## There is no encapsulation within the following macros, do not change
15123    ## the running order or otherwise move them around unless you know exactly
15124    ## what you are doing...
15125    # Dependencies to place before and after the object being linked:
15126predep_objects_CXX=
15127postdep_objects_CXX=
15128predeps_CXX=
15129postdeps_CXX=
15130compiler_lib_search_path_CXX=
15131
15132cat > conftest.$ac_ext <<_LT_EOF
15133class Foo
15134{
15135public:
15136  Foo (void) { a = 0; }
15137private:
15138  int a;
15139};
15140_LT_EOF
15141
15142
15143_lt_libdeps_save_CFLAGS=$CFLAGS
15144case "$CC $CFLAGS " in #(
15145*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15146*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15147*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15148esac
15149
15150if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15151  (eval $ac_compile) 2>&5
15152  ac_status=$?
15153  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15154  test $ac_status = 0; }; then
15155  # Parse the compiler output and extract the necessary
15156  # objects, libraries and library flags.
15157
15158  # Sentinel used to keep track of whether or not we are before
15159  # the conftest object file.
15160  pre_test_object_deps_done=no
15161
15162  for p in `eval "$output_verbose_link_cmd"`; do
15163    case $prev$p in
15164
15165    -L* | -R* | -l*)
15166       # Some compilers place space between "-{L,R}" and the path.
15167       # Remove the space.
15168       if test x-L = "$p" ||
15169          test x-R = "$p"; then
15170	 prev=$p
15171	 continue
15172       fi
15173
15174       # Expand the sysroot to ease extracting the directories later.
15175       if test -z "$prev"; then
15176         case $p in
15177         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15178         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15179         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15180         esac
15181       fi
15182       case $p in
15183       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15184       esac
15185       if test no = "$pre_test_object_deps_done"; then
15186	 case $prev in
15187	 -L | -R)
15188	   # Internal compiler library paths should come after those
15189	   # provided the user.  The postdeps already come after the
15190	   # user supplied libs so there is no need to process them.
15191	   if test -z "$compiler_lib_search_path_CXX"; then
15192	     compiler_lib_search_path_CXX=$prev$p
15193	   else
15194	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15195	   fi
15196	   ;;
15197	 # The "-l" case would never come before the object being
15198	 # linked, so don't bother handling this case.
15199	 esac
15200       else
15201	 if test -z "$postdeps_CXX"; then
15202	   postdeps_CXX=$prev$p
15203	 else
15204	   postdeps_CXX="${postdeps_CXX} $prev$p"
15205	 fi
15206       fi
15207       prev=
15208       ;;
15209
15210    *.lto.$objext) ;; # Ignore GCC LTO objects
15211    *.$objext)
15212       # This assumes that the test object file only shows up
15213       # once in the compiler output.
15214       if test "$p" = "conftest.$objext"; then
15215	 pre_test_object_deps_done=yes
15216	 continue
15217       fi
15218
15219       if test no = "$pre_test_object_deps_done"; then
15220	 if test -z "$predep_objects_CXX"; then
15221	   predep_objects_CXX=$p
15222	 else
15223	   predep_objects_CXX="$predep_objects_CXX $p"
15224	 fi
15225       else
15226	 if test -z "$postdep_objects_CXX"; then
15227	   postdep_objects_CXX=$p
15228	 else
15229	   postdep_objects_CXX="$postdep_objects_CXX $p"
15230	 fi
15231       fi
15232       ;;
15233
15234    *) ;; # Ignore the rest.
15235
15236    esac
15237  done
15238
15239  # Clean up.
15240  rm -f a.out a.exe
15241else
15242  echo "libtool.m4: error: problem compiling CXX test program"
15243fi
15244
15245$RM -f confest.$objext
15246CFLAGS=$_lt_libdeps_save_CFLAGS
15247
15248# PORTME: override above test on systems where it is broken
15249case $host_os in
15250interix[3-9]*)
15251  # Interix 3.5 installs completely hosed .la files for C++, so rather than
15252  # hack all around it, let's just trust "g++" to DTRT.
15253  predep_objects_CXX=
15254  postdep_objects_CXX=
15255  postdeps_CXX=
15256  ;;
15257esac
15258
15259
15260case " $postdeps_CXX " in
15261*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15262esac
15263 compiler_lib_search_dirs_CXX=
15264if test -n "${compiler_lib_search_path_CXX}"; then
15265 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15266fi
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298    lt_prog_compiler_wl_CXX=
15299lt_prog_compiler_pic_CXX=
15300lt_prog_compiler_static_CXX=
15301
15302
15303  # C++ specific cases for pic, static, wl, etc.
15304  if test yes = "$GXX"; then
15305    lt_prog_compiler_wl_CXX='-Wl,'
15306    lt_prog_compiler_static_CXX='-static'
15307
15308    case $host_os in
15309    aix*)
15310      # All AIX code is PIC.
15311      if test ia64 = "$host_cpu"; then
15312	# AIX 5 now supports IA64 processor
15313	lt_prog_compiler_static_CXX='-Bstatic'
15314      fi
15315      lt_prog_compiler_pic_CXX='-fPIC'
15316      ;;
15317
15318    amigaos*)
15319      case $host_cpu in
15320      powerpc)
15321            # see comment about AmigaOS4 .so support
15322            lt_prog_compiler_pic_CXX='-fPIC'
15323        ;;
15324      m68k)
15325            # FIXME: we need at least 68020 code to build shared libraries, but
15326            # adding the '-m68020' flag to GCC prevents building anything better,
15327            # like '-m68040'.
15328            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15329        ;;
15330      esac
15331      ;;
15332
15333    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15334      # PIC is the default for these OSes.
15335      ;;
15336    mingw* | cygwin* | os2* | pw32* | cegcc*)
15337      # This hack is so that the source file can tell whether it is being
15338      # built for inclusion in a dll (and should export symbols for example).
15339      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15340      # (--disable-auto-import) libraries
15341      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15342      case $host_os in
15343      os2*)
15344	lt_prog_compiler_static_CXX='$wl-static'
15345	;;
15346      esac
15347      ;;
15348    darwin* | rhapsody*)
15349      # PIC is the default on this platform
15350      # Common symbols not allowed in MH_DYLIB files
15351      lt_prog_compiler_pic_CXX='-fno-common'
15352      ;;
15353    *djgpp*)
15354      # DJGPP does not support shared libraries at all
15355      lt_prog_compiler_pic_CXX=
15356      ;;
15357    haiku*)
15358      # PIC is the default for Haiku.
15359      # The "-static" flag exists, but is broken.
15360      lt_prog_compiler_static_CXX=
15361      ;;
15362    interix[3-9]*)
15363      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15364      # Instead, we relocate shared libraries at runtime.
15365      ;;
15366    sysv4*MP*)
15367      if test -d /usr/nec; then
15368	lt_prog_compiler_pic_CXX=-Kconform_pic
15369      fi
15370      ;;
15371    hpux*)
15372      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15373      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15374      # sets the default TLS model and affects inlining.
15375      case $host_cpu in
15376      hppa*64*)
15377	;;
15378      *)
15379	lt_prog_compiler_pic_CXX='-fPIC'
15380	;;
15381      esac
15382      ;;
15383    *qnx* | *nto*)
15384      # QNX uses GNU C++, but need to define -shared option too, otherwise
15385      # it will coredump.
15386      lt_prog_compiler_pic_CXX='-fPIC -shared'
15387      ;;
15388    *)
15389      lt_prog_compiler_pic_CXX='-fPIC'
15390      ;;
15391    esac
15392  else
15393    case $host_os in
15394      aix[4-9]*)
15395	# All AIX code is PIC.
15396	if test ia64 = "$host_cpu"; then
15397	  # AIX 5 now supports IA64 processor
15398	  lt_prog_compiler_static_CXX='-Bstatic'
15399	else
15400	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15401	fi
15402	;;
15403      chorus*)
15404	case $cc_basename in
15405	cxch68*)
15406	  # Green Hills C++ Compiler
15407	  # _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"
15408	  ;;
15409	esac
15410	;;
15411      mingw* | cygwin* | os2* | pw32* | cegcc*)
15412	# This hack is so that the source file can tell whether it is being
15413	# built for inclusion in a dll (and should export symbols for example).
15414	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15415	;;
15416      dgux*)
15417	case $cc_basename in
15418	  ec++*)
15419	    lt_prog_compiler_pic_CXX='-KPIC'
15420	    ;;
15421	  ghcx*)
15422	    # Green Hills C++ Compiler
15423	    lt_prog_compiler_pic_CXX='-pic'
15424	    ;;
15425	  *)
15426	    ;;
15427	esac
15428	;;
15429      freebsd* | dragonfly*)
15430	# FreeBSD uses GNU C++
15431	;;
15432      hpux9* | hpux10* | hpux11*)
15433	case $cc_basename in
15434	  CC*)
15435	    lt_prog_compiler_wl_CXX='-Wl,'
15436	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15437	    if test ia64 != "$host_cpu"; then
15438	      lt_prog_compiler_pic_CXX='+Z'
15439	    fi
15440	    ;;
15441	  aCC*)
15442	    lt_prog_compiler_wl_CXX='-Wl,'
15443	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15444	    case $host_cpu in
15445	    hppa*64*|ia64*)
15446	      # +Z the default
15447	      ;;
15448	    *)
15449	      lt_prog_compiler_pic_CXX='+Z'
15450	      ;;
15451	    esac
15452	    ;;
15453	  *)
15454	    ;;
15455	esac
15456	;;
15457      interix*)
15458	# This is c89, which is MS Visual C++ (no shared libs)
15459	# Anyone wants to do a port?
15460	;;
15461      irix5* | irix6* | nonstopux*)
15462	case $cc_basename in
15463	  CC*)
15464	    lt_prog_compiler_wl_CXX='-Wl,'
15465	    lt_prog_compiler_static_CXX='-non_shared'
15466	    # CC pic flag -KPIC is the default.
15467	    ;;
15468	  *)
15469	    ;;
15470	esac
15471	;;
15472      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15473	case $cc_basename in
15474	  KCC*)
15475	    # KAI C++ Compiler
15476	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15477	    lt_prog_compiler_pic_CXX='-fPIC'
15478	    ;;
15479	  ecpc* )
15480	    # old Intel C++ for x86_64, which still supported -KPIC.
15481	    lt_prog_compiler_wl_CXX='-Wl,'
15482	    lt_prog_compiler_pic_CXX='-KPIC'
15483	    lt_prog_compiler_static_CXX='-static'
15484	    ;;
15485	  icpc* )
15486	    # Intel C++, used to be incompatible with GCC.
15487	    # ICC 10 doesn't accept -KPIC any more.
15488	    lt_prog_compiler_wl_CXX='-Wl,'
15489	    lt_prog_compiler_pic_CXX='-fPIC'
15490	    lt_prog_compiler_static_CXX='-static'
15491	    ;;
15492	  pgCC* | pgcpp*)
15493	    # Portland Group C++ compiler
15494	    lt_prog_compiler_wl_CXX='-Wl,'
15495	    lt_prog_compiler_pic_CXX='-fpic'
15496	    lt_prog_compiler_static_CXX='-Bstatic'
15497	    ;;
15498	  cxx*)
15499	    # Compaq C++
15500	    # Make sure the PIC flag is empty.  It appears that all Alpha
15501	    # Linux and Compaq Tru64 Unix objects are PIC.
15502	    lt_prog_compiler_pic_CXX=
15503	    lt_prog_compiler_static_CXX='-non_shared'
15504	    ;;
15505	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15506	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15507	    lt_prog_compiler_wl_CXX='-Wl,'
15508	    lt_prog_compiler_pic_CXX='-qpic'
15509	    lt_prog_compiler_static_CXX='-qstaticlink'
15510	    ;;
15511	  *)
15512	    case `$CC -V 2>&1 | sed 5q` in
15513	    *Sun\ C*)
15514	      # Sun C++ 5.9
15515	      lt_prog_compiler_pic_CXX='-KPIC'
15516	      lt_prog_compiler_static_CXX='-Bstatic'
15517	      lt_prog_compiler_wl_CXX='-Qoption ld '
15518	      ;;
15519	    esac
15520	    ;;
15521	esac
15522	;;
15523      lynxos*)
15524	;;
15525      m88k*)
15526	;;
15527      mvs*)
15528	case $cc_basename in
15529	  cxx*)
15530	    lt_prog_compiler_pic_CXX='-W c,exportall'
15531	    ;;
15532	  *)
15533	    ;;
15534	esac
15535	;;
15536      netbsd* | netbsdelf*-gnu)
15537	;;
15538      *qnx* | *nto*)
15539        # QNX uses GNU C++, but need to define -shared option too, otherwise
15540        # it will coredump.
15541        lt_prog_compiler_pic_CXX='-fPIC -shared'
15542        ;;
15543      osf3* | osf4* | osf5*)
15544	case $cc_basename in
15545	  KCC*)
15546	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15547	    ;;
15548	  RCC*)
15549	    # Rational C++ 2.4.1
15550	    lt_prog_compiler_pic_CXX='-pic'
15551	    ;;
15552	  cxx*)
15553	    # Digital/Compaq C++
15554	    lt_prog_compiler_wl_CXX='-Wl,'
15555	    # Make sure the PIC flag is empty.  It appears that all Alpha
15556	    # Linux and Compaq Tru64 Unix objects are PIC.
15557	    lt_prog_compiler_pic_CXX=
15558	    lt_prog_compiler_static_CXX='-non_shared'
15559	    ;;
15560	  *)
15561	    ;;
15562	esac
15563	;;
15564      psos*)
15565	;;
15566      solaris*)
15567	case $cc_basename in
15568	  CC* | sunCC*)
15569	    # Sun C++ 4.2, 5.x and Centerline C++
15570	    lt_prog_compiler_pic_CXX='-KPIC'
15571	    lt_prog_compiler_static_CXX='-Bstatic'
15572	    lt_prog_compiler_wl_CXX='-Qoption ld '
15573	    ;;
15574	  gcx*)
15575	    # Green Hills C++ Compiler
15576	    lt_prog_compiler_pic_CXX='-PIC'
15577	    ;;
15578	  *)
15579	    ;;
15580	esac
15581	;;
15582      sunos4*)
15583	case $cc_basename in
15584	  CC*)
15585	    # Sun C++ 4.x
15586	    lt_prog_compiler_pic_CXX='-pic'
15587	    lt_prog_compiler_static_CXX='-Bstatic'
15588	    ;;
15589	  lcc*)
15590	    # Lucid
15591	    lt_prog_compiler_pic_CXX='-pic'
15592	    ;;
15593	  *)
15594	    ;;
15595	esac
15596	;;
15597      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15598	case $cc_basename in
15599	  CC*)
15600	    lt_prog_compiler_wl_CXX='-Wl,'
15601	    lt_prog_compiler_pic_CXX='-KPIC'
15602	    lt_prog_compiler_static_CXX='-Bstatic'
15603	    ;;
15604	esac
15605	;;
15606      tandem*)
15607	case $cc_basename in
15608	  NCC*)
15609	    # NonStop-UX NCC 3.20
15610	    lt_prog_compiler_pic_CXX='-KPIC'
15611	    ;;
15612	  *)
15613	    ;;
15614	esac
15615	;;
15616      vxworks*)
15617	;;
15618      *)
15619	lt_prog_compiler_can_build_shared_CXX=no
15620	;;
15621    esac
15622  fi
15623
15624case $host_os in
15625  # For platforms that do not support PIC, -DPIC is meaningless:
15626  *djgpp*)
15627    lt_prog_compiler_pic_CXX=
15628    ;;
15629  *)
15630    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15631    ;;
15632esac
15633
15634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15635$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15636if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15637  $as_echo_n "(cached) " >&6
15638else
15639  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15640fi
15641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15642$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15643lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15644
15645#
15646# Check to make sure the PIC flag actually works.
15647#
15648if test -n "$lt_prog_compiler_pic_CXX"; then
15649  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15650$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15651if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15652  $as_echo_n "(cached) " >&6
15653else
15654  lt_cv_prog_compiler_pic_works_CXX=no
15655   ac_outfile=conftest.$ac_objext
15656   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15657   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
15658   # Insert the option either (1) after the last *FLAGS variable, or
15659   # (2) before a word containing "conftest.", or (3) at the end.
15660   # Note that $ac_compile itself does not contain backslashes and begins
15661   # with a dollar sign (not a hyphen), so the echo should work correctly.
15662   # The option is referenced via a variable to avoid confusing sed.
15663   lt_compile=`echo "$ac_compile" | $SED \
15664   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15665   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15666   -e 's:$: $lt_compiler_flag:'`
15667   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15668   (eval "$lt_compile" 2>conftest.err)
15669   ac_status=$?
15670   cat conftest.err >&5
15671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672   if (exit $ac_status) && test -s "$ac_outfile"; then
15673     # The compiler can only warn and ignore the option if not recognized
15674     # So say no if there are warnings other than the usual output.
15675     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15676     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15677     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15678       lt_cv_prog_compiler_pic_works_CXX=yes
15679     fi
15680   fi
15681   $RM conftest*
15682
15683fi
15684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15685$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15686
15687if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15688    case $lt_prog_compiler_pic_CXX in
15689     "" | " "*) ;;
15690     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15691     esac
15692else
15693    lt_prog_compiler_pic_CXX=
15694     lt_prog_compiler_can_build_shared_CXX=no
15695fi
15696
15697fi
15698
15699
15700
15701
15702
15703#
15704# Check to make sure the static flag actually works.
15705#
15706wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15708$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15709if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15710  $as_echo_n "(cached) " >&6
15711else
15712  lt_cv_prog_compiler_static_works_CXX=no
15713   save_LDFLAGS=$LDFLAGS
15714   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15715   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15716   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15717     # The linker can only warn and ignore the option if not recognized
15718     # So say no if there are warnings
15719     if test -s conftest.err; then
15720       # Append any errors to the config.log.
15721       cat conftest.err 1>&5
15722       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15723       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15724       if diff conftest.exp conftest.er2 >/dev/null; then
15725         lt_cv_prog_compiler_static_works_CXX=yes
15726       fi
15727     else
15728       lt_cv_prog_compiler_static_works_CXX=yes
15729     fi
15730   fi
15731   $RM -r conftest*
15732   LDFLAGS=$save_LDFLAGS
15733
15734fi
15735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15736$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15737
15738if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15739    :
15740else
15741    lt_prog_compiler_static_CXX=
15742fi
15743
15744
15745
15746
15747    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15748$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15749if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15750  $as_echo_n "(cached) " >&6
15751else
15752  lt_cv_prog_compiler_c_o_CXX=no
15753   $RM -r conftest 2>/dev/null
15754   mkdir conftest
15755   cd conftest
15756   mkdir out
15757   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15758
15759   lt_compiler_flag="-o out/conftest2.$ac_objext"
15760   # Insert the option either (1) after the last *FLAGS variable, or
15761   # (2) before a word containing "conftest.", or (3) at the end.
15762   # Note that $ac_compile itself does not contain backslashes and begins
15763   # with a dollar sign (not a hyphen), so the echo should work correctly.
15764   lt_compile=`echo "$ac_compile" | $SED \
15765   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15766   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15767   -e 's:$: $lt_compiler_flag:'`
15768   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15769   (eval "$lt_compile" 2>out/conftest.err)
15770   ac_status=$?
15771   cat out/conftest.err >&5
15772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15774   then
15775     # The compiler can only warn and ignore the option if not recognized
15776     # So say no if there are warnings
15777     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15778     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15779     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15780       lt_cv_prog_compiler_c_o_CXX=yes
15781     fi
15782   fi
15783   chmod u+w . 2>&5
15784   $RM conftest*
15785   # SGI C++ compiler will create directory out/ii_files/ for
15786   # template instantiation
15787   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15788   $RM out/* && rmdir out
15789   cd ..
15790   $RM -r conftest
15791   $RM conftest*
15792
15793fi
15794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15795$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15796
15797
15798
15799    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15800$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15801if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15802  $as_echo_n "(cached) " >&6
15803else
15804  lt_cv_prog_compiler_c_o_CXX=no
15805   $RM -r conftest 2>/dev/null
15806   mkdir conftest
15807   cd conftest
15808   mkdir out
15809   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15810
15811   lt_compiler_flag="-o out/conftest2.$ac_objext"
15812   # Insert the option either (1) after the last *FLAGS variable, or
15813   # (2) before a word containing "conftest.", or (3) at the end.
15814   # Note that $ac_compile itself does not contain backslashes and begins
15815   # with a dollar sign (not a hyphen), so the echo should work correctly.
15816   lt_compile=`echo "$ac_compile" | $SED \
15817   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15818   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15819   -e 's:$: $lt_compiler_flag:'`
15820   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15821   (eval "$lt_compile" 2>out/conftest.err)
15822   ac_status=$?
15823   cat out/conftest.err >&5
15824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15826   then
15827     # The compiler can only warn and ignore the option if not recognized
15828     # So say no if there are warnings
15829     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15830     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15831     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15832       lt_cv_prog_compiler_c_o_CXX=yes
15833     fi
15834   fi
15835   chmod u+w . 2>&5
15836   $RM conftest*
15837   # SGI C++ compiler will create directory out/ii_files/ for
15838   # template instantiation
15839   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15840   $RM out/* && rmdir out
15841   cd ..
15842   $RM -r conftest
15843   $RM conftest*
15844
15845fi
15846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15847$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15848
15849
15850
15851
15852hard_links=nottested
15853if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15854  # do not overwrite the value of need_locks provided by the user
15855  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15856$as_echo_n "checking if we can lock with hard links... " >&6; }
15857  hard_links=yes
15858  $RM conftest*
15859  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15860  touch conftest.a
15861  ln conftest.a conftest.b 2>&5 || hard_links=no
15862  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15864$as_echo "$hard_links" >&6; }
15865  if test no = "$hard_links"; then
15866    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15867$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15868    need_locks=warn
15869  fi
15870else
15871  need_locks=no
15872fi
15873
15874
15875
15876    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15877$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15878
15879  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15880  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15881  case $host_os in
15882  aix[4-9]*)
15883    # If we're using GNU nm, then we don't want the "-C" option.
15884    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15885    # Without the "-l" option, or with the "-B" option, AIX nm treats
15886    # weak defined symbols like other global defined symbols, whereas
15887    # GNU nm marks them as "W".
15888    # While the 'weak' keyword is ignored in the Export File, we need
15889    # it in the Import File for the 'aix-soname' feature, so we have
15890    # to replace the "-B" option with "-P" for AIX nm.
15891    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15892      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'
15893    else
15894      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'
15895    fi
15896    ;;
15897  pw32*)
15898    export_symbols_cmds_CXX=$ltdll_cmds
15899    ;;
15900  cygwin* | mingw* | cegcc*)
15901    case $cc_basename in
15902    cl*)
15903      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15904      ;;
15905    *)
15906      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'
15907      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15908      ;;
15909    esac
15910    ;;
15911  linux* | k*bsd*-gnu | gnu*)
15912    link_all_deplibs_CXX=no
15913    ;;
15914  *)
15915    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15916    ;;
15917  esac
15918
15919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15920$as_echo "$ld_shlibs_CXX" >&6; }
15921test no = "$ld_shlibs_CXX" && can_build_shared=no
15922
15923with_gnu_ld_CXX=$with_gnu_ld
15924
15925
15926
15927
15928
15929
15930#
15931# Do we need to explicitly link libc?
15932#
15933case "x$archive_cmds_need_lc_CXX" in
15934x|xyes)
15935  # Assume -lc should be added
15936  archive_cmds_need_lc_CXX=yes
15937
15938  if test yes,yes = "$GCC,$enable_shared"; then
15939    case $archive_cmds_CXX in
15940    *'~'*)
15941      # FIXME: we may have to deal with multi-command sequences.
15942      ;;
15943    '$CC '*)
15944      # Test whether the compiler implicitly links with -lc since on some
15945      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15946      # to ld, don't add -lc before -lgcc.
15947      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15948$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15949if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15950  $as_echo_n "(cached) " >&6
15951else
15952  $RM conftest*
15953	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15954
15955	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15956  (eval $ac_compile) 2>&5
15957  ac_status=$?
15958  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15959  test $ac_status = 0; } 2>conftest.err; then
15960	  soname=conftest
15961	  lib=conftest
15962	  libobjs=conftest.$ac_objext
15963	  deplibs=
15964	  wl=$lt_prog_compiler_wl_CXX
15965	  pic_flag=$lt_prog_compiler_pic_CXX
15966	  compiler_flags=-v
15967	  linker_flags=-v
15968	  verstring=
15969	  output_objdir=.
15970	  libname=conftest
15971	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15972	  allow_undefined_flag_CXX=
15973	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15974  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15975  ac_status=$?
15976  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15977  test $ac_status = 0; }
15978	  then
15979	    lt_cv_archive_cmds_need_lc_CXX=no
15980	  else
15981	    lt_cv_archive_cmds_need_lc_CXX=yes
15982	  fi
15983	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15984	else
15985	  cat conftest.err 1>&5
15986	fi
15987	$RM conftest*
15988
15989fi
15990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15991$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15992      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15993      ;;
15994    esac
15995  fi
15996  ;;
15997esac
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16061$as_echo_n "checking dynamic linker characteristics... " >&6; }
16062
16063library_names_spec=
16064libname_spec='lib$name'
16065soname_spec=
16066shrext_cmds=.so
16067postinstall_cmds=
16068postuninstall_cmds=
16069finish_cmds=
16070finish_eval=
16071shlibpath_var=
16072shlibpath_overrides_runpath=unknown
16073version_type=none
16074dynamic_linker="$host_os ld.so"
16075sys_lib_dlsearch_path_spec="/lib /usr/lib"
16076need_lib_prefix=unknown
16077hardcode_into_libs=no
16078
16079# when you set need_version to no, make sure it does not cause -set_version
16080# flags to be left without arguments
16081need_version=unknown
16082
16083
16084
16085case $host_os in
16086aix3*)
16087  version_type=linux # correct to gnu/linux during the next big refactor
16088  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16089  shlibpath_var=LIBPATH
16090
16091  # AIX 3 has no versioning support, so we append a major version to the name.
16092  soname_spec='$libname$release$shared_ext$major'
16093  ;;
16094
16095aix[4-9]*)
16096  version_type=linux # correct to gnu/linux during the next big refactor
16097  need_lib_prefix=no
16098  need_version=no
16099  hardcode_into_libs=yes
16100  if test ia64 = "$host_cpu"; then
16101    # AIX 5 supports IA64
16102    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16103    shlibpath_var=LD_LIBRARY_PATH
16104  else
16105    # With GCC up to 2.95.x, collect2 would create an import file
16106    # for dependence libraries.  The import file would start with
16107    # the line '#! .'.  This would cause the generated library to
16108    # depend on '.', always an invalid library.  This was fixed in
16109    # development snapshots of GCC prior to 3.0.
16110    case $host_os in
16111      aix4 | aix4.[01] | aix4.[01].*)
16112      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16113	   echo ' yes '
16114	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16115	:
16116      else
16117	can_build_shared=no
16118      fi
16119      ;;
16120    esac
16121    # Using Import Files as archive members, it is possible to support
16122    # filename-based versioning of shared library archives on AIX. While
16123    # this would work for both with and without runtime linking, it will
16124    # prevent static linking of such archives. So we do filename-based
16125    # shared library versioning with .so extension only, which is used
16126    # when both runtime linking and shared linking is enabled.
16127    # Unfortunately, runtime linking may impact performance, so we do
16128    # not want this to be the default eventually. Also, we use the
16129    # versioned .so libs for executables only if there is the -brtl
16130    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16131    # To allow for filename-based versioning support, we need to create
16132    # libNAME.so.V as an archive file, containing:
16133    # *) an Import File, referring to the versioned filename of the
16134    #    archive as well as the shared archive member, telling the
16135    #    bitwidth (32 or 64) of that shared object, and providing the
16136    #    list of exported symbols of that shared object, eventually
16137    #    decorated with the 'weak' keyword
16138    # *) the shared object with the F_LOADONLY flag set, to really avoid
16139    #    it being seen by the linker.
16140    # At run time we better use the real file rather than another symlink,
16141    # but for link time we create the symlink libNAME.so -> libNAME.so.V
16142
16143    case $with_aix_soname,$aix_use_runtimelinking in
16144    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16145    # soname into executable. Probably we can add versioning support to
16146    # collect2, so additional links can be useful in future.
16147    aix,yes) # traditional libtool
16148      dynamic_linker='AIX unversionable lib.so'
16149      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16150      # instead of lib<name>.a to let people know that these are not
16151      # typical AIX shared libraries.
16152      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16153      ;;
16154    aix,no) # traditional AIX only
16155      dynamic_linker='AIX lib.a(lib.so.V)'
16156      # We preserve .a as extension for shared libraries through AIX4.2
16157      # and later when we are not doing run time linking.
16158      library_names_spec='$libname$release.a $libname.a'
16159      soname_spec='$libname$release$shared_ext$major'
16160      ;;
16161    svr4,*) # full svr4 only
16162      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16163      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16164      # We do not specify a path in Import Files, so LIBPATH fires.
16165      shlibpath_overrides_runpath=yes
16166      ;;
16167    *,yes) # both, prefer svr4
16168      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16169      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16170      # unpreferred sharedlib libNAME.a needs extra handling
16171      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"'
16172      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"'
16173      # We do not specify a path in Import Files, so LIBPATH fires.
16174      shlibpath_overrides_runpath=yes
16175      ;;
16176    *,no) # both, prefer aix
16177      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16178      library_names_spec='$libname$release.a $libname.a'
16179      soname_spec='$libname$release$shared_ext$major'
16180      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16181      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)'
16182      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"'
16183      ;;
16184    esac
16185    shlibpath_var=LIBPATH
16186  fi
16187  ;;
16188
16189amigaos*)
16190  case $host_cpu in
16191  powerpc)
16192    # Since July 2007 AmigaOS4 officially supports .so libraries.
16193    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16194    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16195    ;;
16196  m68k)
16197    library_names_spec='$libname.ixlibrary $libname.a'
16198    # Create ${libname}_ixlibrary.a entries in /sys/libs.
16199    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'
16200    ;;
16201  esac
16202  ;;
16203
16204beos*)
16205  library_names_spec='$libname$shared_ext'
16206  dynamic_linker="$host_os ld.so"
16207  shlibpath_var=LIBRARY_PATH
16208  ;;
16209
16210bsdi[45]*)
16211  version_type=linux # correct to gnu/linux during the next big refactor
16212  need_version=no
16213  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16214  soname_spec='$libname$release$shared_ext$major'
16215  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16216  shlibpath_var=LD_LIBRARY_PATH
16217  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16218  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16219  # the default ld.so.conf also contains /usr/contrib/lib and
16220  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16221  # libtool to hard-code these into programs
16222  ;;
16223
16224cygwin* | mingw* | pw32* | cegcc*)
16225  version_type=windows
16226  shrext_cmds=.dll
16227  need_version=no
16228  need_lib_prefix=no
16229
16230  case $GCC,$cc_basename in
16231  yes,*)
16232    # gcc
16233    library_names_spec='$libname.dll.a'
16234    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16235    postinstall_cmds='base_file=`basename \$file`~
16236      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16237      dldir=$destdir/`dirname \$dlpath`~
16238      test -d \$dldir || mkdir -p \$dldir~
16239      $install_prog $dir/$dlname \$dldir/$dlname~
16240      chmod a+x \$dldir/$dlname~
16241      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16242        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16243      fi'
16244    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16245      dlpath=$dir/\$dldll~
16246       $RM \$dlpath'
16247    shlibpath_overrides_runpath=yes
16248
16249    case $host_os in
16250    cygwin*)
16251      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16252      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16253
16254      ;;
16255    mingw* | cegcc*)
16256      # MinGW DLLs use traditional 'lib' prefix
16257      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16258      ;;
16259    pw32*)
16260      # pw32 DLLs use 'pw' prefix rather than 'lib'
16261      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16262      ;;
16263    esac
16264    dynamic_linker='Win32 ld.exe'
16265    ;;
16266
16267  *,cl*)
16268    # Native MSVC
16269    libname_spec='$name'
16270    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16271    library_names_spec='$libname.dll.lib'
16272
16273    case $build_os in
16274    mingw*)
16275      sys_lib_search_path_spec=
16276      lt_save_ifs=$IFS
16277      IFS=';'
16278      for lt_path in $LIB
16279      do
16280        IFS=$lt_save_ifs
16281        # Let DOS variable expansion print the short 8.3 style file name.
16282        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16283        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16284      done
16285      IFS=$lt_save_ifs
16286      # Convert to MSYS style.
16287      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16288      ;;
16289    cygwin*)
16290      # Convert to unix form, then to dos form, then back to unix form
16291      # but this time dos style (no spaces!) so that the unix form looks
16292      # like /cygdrive/c/PROGRA~1:/cygdr...
16293      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16294      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16295      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16296      ;;
16297    *)
16298      sys_lib_search_path_spec=$LIB
16299      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16300        # It is most probably a Windows format PATH.
16301        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16302      else
16303        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16304      fi
16305      # FIXME: find the short name or the path components, as spaces are
16306      # common. (e.g. "Program Files" -> "PROGRA~1")
16307      ;;
16308    esac
16309
16310    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16311    postinstall_cmds='base_file=`basename \$file`~
16312      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16313      dldir=$destdir/`dirname \$dlpath`~
16314      test -d \$dldir || mkdir -p \$dldir~
16315      $install_prog $dir/$dlname \$dldir/$dlname'
16316    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16317      dlpath=$dir/\$dldll~
16318       $RM \$dlpath'
16319    shlibpath_overrides_runpath=yes
16320    dynamic_linker='Win32 link.exe'
16321    ;;
16322
16323  *)
16324    # Assume MSVC wrapper
16325    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16326    dynamic_linker='Win32 ld.exe'
16327    ;;
16328  esac
16329  # FIXME: first we should search . and the directory the executable is in
16330  shlibpath_var=PATH
16331  ;;
16332
16333darwin* | rhapsody*)
16334  dynamic_linker="$host_os dyld"
16335  version_type=darwin
16336  need_lib_prefix=no
16337  need_version=no
16338  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16339  soname_spec='$libname$release$major$shared_ext'
16340  shlibpath_overrides_runpath=yes
16341  shlibpath_var=DYLD_LIBRARY_PATH
16342  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16343
16344  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16345  ;;
16346
16347dgux*)
16348  version_type=linux # correct to gnu/linux during the next big refactor
16349  need_lib_prefix=no
16350  need_version=no
16351  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16352  soname_spec='$libname$release$shared_ext$major'
16353  shlibpath_var=LD_LIBRARY_PATH
16354  ;;
16355
16356freebsd* | dragonfly*)
16357  # DragonFly does not have aout.  When/if they implement a new
16358  # versioning mechanism, adjust this.
16359  if test -x /usr/bin/objformat; then
16360    objformat=`/usr/bin/objformat`
16361  else
16362    case $host_os in
16363    freebsd[23].*) objformat=aout ;;
16364    *) objformat=elf ;;
16365    esac
16366  fi
16367  version_type=freebsd-$objformat
16368  case $version_type in
16369    freebsd-elf*)
16370      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16371      soname_spec='$libname$release$shared_ext$major'
16372      need_version=no
16373      need_lib_prefix=no
16374      ;;
16375    freebsd-*)
16376      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16377      need_version=yes
16378      ;;
16379  esac
16380  shlibpath_var=LD_LIBRARY_PATH
16381  case $host_os in
16382  freebsd2.*)
16383    shlibpath_overrides_runpath=yes
16384    ;;
16385  freebsd3.[01]* | freebsdelf3.[01]*)
16386    shlibpath_overrides_runpath=yes
16387    hardcode_into_libs=yes
16388    ;;
16389  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16390  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16391    shlibpath_overrides_runpath=no
16392    hardcode_into_libs=yes
16393    ;;
16394  *) # from 4.6 on, and DragonFly
16395    shlibpath_overrides_runpath=yes
16396    hardcode_into_libs=yes
16397    ;;
16398  esac
16399  ;;
16400
16401haiku*)
16402  version_type=linux # correct to gnu/linux during the next big refactor
16403  need_lib_prefix=no
16404  need_version=no
16405  dynamic_linker="$host_os runtime_loader"
16406  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16407  soname_spec='$libname$release$shared_ext$major'
16408  shlibpath_var=LIBRARY_PATH
16409  shlibpath_overrides_runpath=no
16410  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16411  hardcode_into_libs=yes
16412  ;;
16413
16414hpux9* | hpux10* | hpux11*)
16415  # Give a soname corresponding to the major version so that dld.sl refuses to
16416  # link against other versions.
16417  version_type=sunos
16418  need_lib_prefix=no
16419  need_version=no
16420  case $host_cpu in
16421  ia64*)
16422    shrext_cmds='.so'
16423    hardcode_into_libs=yes
16424    dynamic_linker="$host_os dld.so"
16425    shlibpath_var=LD_LIBRARY_PATH
16426    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16427    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16428    soname_spec='$libname$release$shared_ext$major'
16429    if test 32 = "$HPUX_IA64_MODE"; then
16430      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16431      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16432    else
16433      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16434      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16435    fi
16436    ;;
16437  hppa*64*)
16438    shrext_cmds='.sl'
16439    hardcode_into_libs=yes
16440    dynamic_linker="$host_os dld.sl"
16441    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16442    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16443    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16444    soname_spec='$libname$release$shared_ext$major'
16445    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16446    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16447    ;;
16448  *)
16449    shrext_cmds='.sl'
16450    dynamic_linker="$host_os dld.sl"
16451    shlibpath_var=SHLIB_PATH
16452    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16453    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16454    soname_spec='$libname$release$shared_ext$major'
16455    ;;
16456  esac
16457  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16458  postinstall_cmds='chmod 555 $lib'
16459  # or fails outright, so override atomically:
16460  install_override_mode=555
16461  ;;
16462
16463interix[3-9]*)
16464  version_type=linux # correct to gnu/linux during the next big refactor
16465  need_lib_prefix=no
16466  need_version=no
16467  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16468  soname_spec='$libname$release$shared_ext$major'
16469  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16470  shlibpath_var=LD_LIBRARY_PATH
16471  shlibpath_overrides_runpath=no
16472  hardcode_into_libs=yes
16473  ;;
16474
16475irix5* | irix6* | nonstopux*)
16476  case $host_os in
16477    nonstopux*) version_type=nonstopux ;;
16478    *)
16479	if test yes = "$lt_cv_prog_gnu_ld"; then
16480		version_type=linux # correct to gnu/linux during the next big refactor
16481	else
16482		version_type=irix
16483	fi ;;
16484  esac
16485  need_lib_prefix=no
16486  need_version=no
16487  soname_spec='$libname$release$shared_ext$major'
16488  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16489  case $host_os in
16490  irix5* | nonstopux*)
16491    libsuff= shlibsuff=
16492    ;;
16493  *)
16494    case $LD in # libtool.m4 will add one of these switches to LD
16495    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16496      libsuff= shlibsuff= libmagic=32-bit;;
16497    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16498      libsuff=32 shlibsuff=N32 libmagic=N32;;
16499    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16500      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16501    *) libsuff= shlibsuff= libmagic=never-match;;
16502    esac
16503    ;;
16504  esac
16505  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16506  shlibpath_overrides_runpath=no
16507  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16508  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16509  hardcode_into_libs=yes
16510  ;;
16511
16512# No shared lib support for Linux oldld, aout, or coff.
16513linux*oldld* | linux*aout* | linux*coff*)
16514  dynamic_linker=no
16515  ;;
16516
16517linux*android*)
16518  version_type=none # Android doesn't support versioned libraries.
16519  need_lib_prefix=no
16520  need_version=no
16521  library_names_spec='$libname$release$shared_ext'
16522  soname_spec='$libname$release$shared_ext'
16523  finish_cmds=
16524  shlibpath_var=LD_LIBRARY_PATH
16525  shlibpath_overrides_runpath=yes
16526
16527  # This implies no fast_install, which is unacceptable.
16528  # Some rework will be needed to allow for fast_install
16529  # before this can be enabled.
16530  hardcode_into_libs=yes
16531
16532  dynamic_linker='Android linker'
16533  # Don't embed -rpath directories since the linker doesn't support them.
16534  hardcode_libdir_flag_spec_CXX='-L$libdir'
16535  ;;
16536
16537# This must be glibc/ELF.
16538linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16539  version_type=linux # correct to gnu/linux during the next big refactor
16540  need_lib_prefix=no
16541  need_version=no
16542  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16543  soname_spec='$libname$release$shared_ext$major'
16544  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16545  shlibpath_var=LD_LIBRARY_PATH
16546  shlibpath_overrides_runpath=no
16547
16548  # Some binutils ld are patched to set DT_RUNPATH
16549  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16550  $as_echo_n "(cached) " >&6
16551else
16552  lt_cv_shlibpath_overrides_runpath=no
16553    save_LDFLAGS=$LDFLAGS
16554    save_libdir=$libdir
16555    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16556	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16557    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16558/* end confdefs.h.  */
16559
16560int
16561main ()
16562{
16563
16564  ;
16565  return 0;
16566}
16567_ACEOF
16568if ac_fn_cxx_try_link "$LINENO"; then :
16569  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16570  lt_cv_shlibpath_overrides_runpath=yes
16571fi
16572fi
16573rm -f core conftest.err conftest.$ac_objext \
16574    conftest$ac_exeext conftest.$ac_ext
16575    LDFLAGS=$save_LDFLAGS
16576    libdir=$save_libdir
16577
16578fi
16579
16580  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16581
16582  # This implies no fast_install, which is unacceptable.
16583  # Some rework will be needed to allow for fast_install
16584  # before this can be enabled.
16585  hardcode_into_libs=yes
16586
16587  # Ideally, we could use ldconfig to report *all* directores which are
16588  # searched for libraries, however this is still not possible.  Aside from not
16589  # being certain /sbin/ldconfig is available, command
16590  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16591  # even though it is searched at run-time.  Try to do the best guess by
16592  # appending ld.so.conf contents (and includes) to the search path.
16593  if test -f /etc/ld.so.conf; then
16594    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' ' '`
16595    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16596  fi
16597
16598  # We used to test for /lib/ld.so.1 and disable shared libraries on
16599  # powerpc, because MkLinux only supported shared libraries with the
16600  # GNU dynamic linker.  Since this was broken with cross compilers,
16601  # most powerpc-linux boxes support dynamic linking these days and
16602  # people can always --disable-shared, the test was removed, and we
16603  # assume the GNU/Linux dynamic linker is in use.
16604  dynamic_linker='GNU/Linux ld.so'
16605  ;;
16606
16607netbsdelf*-gnu)
16608  version_type=linux
16609  need_lib_prefix=no
16610  need_version=no
16611  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16612  soname_spec='${libname}${release}${shared_ext}$major'
16613  shlibpath_var=LD_LIBRARY_PATH
16614  shlibpath_overrides_runpath=no
16615  hardcode_into_libs=yes
16616  dynamic_linker='NetBSD ld.elf_so'
16617  ;;
16618
16619netbsd*)
16620  version_type=sunos
16621  need_lib_prefix=no
16622  need_version=no
16623  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16624    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16625    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16626    dynamic_linker='NetBSD (a.out) ld.so'
16627  else
16628    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16629    soname_spec='$libname$release$shared_ext$major'
16630    dynamic_linker='NetBSD ld.elf_so'
16631  fi
16632  shlibpath_var=LD_LIBRARY_PATH
16633  shlibpath_overrides_runpath=yes
16634  hardcode_into_libs=yes
16635  ;;
16636
16637newsos6)
16638  version_type=linux # correct to gnu/linux during the next big refactor
16639  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16640  shlibpath_var=LD_LIBRARY_PATH
16641  shlibpath_overrides_runpath=yes
16642  ;;
16643
16644*nto* | *qnx*)
16645  version_type=qnx
16646  need_lib_prefix=no
16647  need_version=no
16648  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16649  soname_spec='$libname$release$shared_ext$major'
16650  shlibpath_var=LD_LIBRARY_PATH
16651  shlibpath_overrides_runpath=no
16652  hardcode_into_libs=yes
16653  dynamic_linker='ldqnx.so'
16654  ;;
16655
16656openbsd* | bitrig*)
16657  version_type=sunos
16658  sys_lib_dlsearch_path_spec=/usr/lib
16659  need_lib_prefix=no
16660  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16661    need_version=no
16662  else
16663    need_version=yes
16664  fi
16665  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16666  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16667  shlibpath_var=LD_LIBRARY_PATH
16668  shlibpath_overrides_runpath=yes
16669  ;;
16670
16671os2*)
16672  libname_spec='$name'
16673  version_type=windows
16674  shrext_cmds=.dll
16675  need_version=no
16676  need_lib_prefix=no
16677  # OS/2 can only load a DLL with a base name of 8 characters or less.
16678  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16679    v=$($ECHO $release$versuffix | tr -d .-);
16680    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16681    $ECHO $n$v`$shared_ext'
16682  library_names_spec='${libname}_dll.$libext'
16683  dynamic_linker='OS/2 ld.exe'
16684  shlibpath_var=BEGINLIBPATH
16685  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16686  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16687  postinstall_cmds='base_file=`basename \$file`~
16688    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16689    dldir=$destdir/`dirname \$dlpath`~
16690    test -d \$dldir || mkdir -p \$dldir~
16691    $install_prog $dir/$dlname \$dldir/$dlname~
16692    chmod a+x \$dldir/$dlname~
16693    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16694      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16695    fi'
16696  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16697    dlpath=$dir/\$dldll~
16698    $RM \$dlpath'
16699  ;;
16700
16701osf3* | osf4* | osf5*)
16702  version_type=osf
16703  need_lib_prefix=no
16704  need_version=no
16705  soname_spec='$libname$release$shared_ext$major'
16706  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16707  shlibpath_var=LD_LIBRARY_PATH
16708  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16709  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16710  ;;
16711
16712rdos*)
16713  dynamic_linker=no
16714  ;;
16715
16716solaris*)
16717  version_type=linux # correct to gnu/linux during the next big refactor
16718  need_lib_prefix=no
16719  need_version=no
16720  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16721  soname_spec='$libname$release$shared_ext$major'
16722  shlibpath_var=LD_LIBRARY_PATH
16723  shlibpath_overrides_runpath=yes
16724  hardcode_into_libs=yes
16725  # ldd complains unless libraries are executable
16726  postinstall_cmds='chmod +x $lib'
16727  ;;
16728
16729sunos4*)
16730  version_type=sunos
16731  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16732  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16733  shlibpath_var=LD_LIBRARY_PATH
16734  shlibpath_overrides_runpath=yes
16735  if test yes = "$with_gnu_ld"; then
16736    need_lib_prefix=no
16737  fi
16738  need_version=yes
16739  ;;
16740
16741sysv4 | sysv4.3*)
16742  version_type=linux # correct to gnu/linux during the next big refactor
16743  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16744  soname_spec='$libname$release$shared_ext$major'
16745  shlibpath_var=LD_LIBRARY_PATH
16746  case $host_vendor in
16747    sni)
16748      shlibpath_overrides_runpath=no
16749      need_lib_prefix=no
16750      runpath_var=LD_RUN_PATH
16751      ;;
16752    siemens)
16753      need_lib_prefix=no
16754      ;;
16755    motorola)
16756      need_lib_prefix=no
16757      need_version=no
16758      shlibpath_overrides_runpath=no
16759      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16760      ;;
16761  esac
16762  ;;
16763
16764sysv4*MP*)
16765  if test -d /usr/nec; then
16766    version_type=linux # correct to gnu/linux during the next big refactor
16767    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16768    soname_spec='$libname$shared_ext.$major'
16769    shlibpath_var=LD_LIBRARY_PATH
16770  fi
16771  ;;
16772
16773sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16774  version_type=sco
16775  need_lib_prefix=no
16776  need_version=no
16777  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16778  soname_spec='$libname$release$shared_ext$major'
16779  shlibpath_var=LD_LIBRARY_PATH
16780  shlibpath_overrides_runpath=yes
16781  hardcode_into_libs=yes
16782  if test yes = "$with_gnu_ld"; then
16783    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16784  else
16785    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16786    case $host_os in
16787      sco3.2v5*)
16788        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16789	;;
16790    esac
16791  fi
16792  sys_lib_dlsearch_path_spec='/usr/lib'
16793  ;;
16794
16795tpf*)
16796  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16797  version_type=linux # correct to gnu/linux during the next big refactor
16798  need_lib_prefix=no
16799  need_version=no
16800  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16801  shlibpath_var=LD_LIBRARY_PATH
16802  shlibpath_overrides_runpath=no
16803  hardcode_into_libs=yes
16804  ;;
16805
16806uts4*)
16807  version_type=linux # correct to gnu/linux during the next big refactor
16808  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16809  soname_spec='$libname$release$shared_ext$major'
16810  shlibpath_var=LD_LIBRARY_PATH
16811  ;;
16812
16813*)
16814  dynamic_linker=no
16815  ;;
16816esac
16817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16818$as_echo "$dynamic_linker" >&6; }
16819test no = "$dynamic_linker" && can_build_shared=no
16820
16821variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16822if test yes = "$GCC"; then
16823  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16824fi
16825
16826if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16827  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16828fi
16829
16830if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16831  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16832fi
16833
16834# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16835configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16836
16837# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16838func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16839
16840# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16841configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16883$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16884hardcode_action_CXX=
16885if test -n "$hardcode_libdir_flag_spec_CXX" ||
16886   test -n "$runpath_var_CXX" ||
16887   test yes = "$hardcode_automatic_CXX"; then
16888
16889  # We can hardcode non-existent directories.
16890  if test no != "$hardcode_direct_CXX" &&
16891     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16892     # have to relink, otherwise we might link with an installed library
16893     # when we should be linking with a yet-to-be-installed one
16894     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16895     test no != "$hardcode_minus_L_CXX"; then
16896    # Linking always hardcodes the temporary library directory.
16897    hardcode_action_CXX=relink
16898  else
16899    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16900    hardcode_action_CXX=immediate
16901  fi
16902else
16903  # We cannot hardcode anything, or else we can only hardcode existing
16904  # directories.
16905  hardcode_action_CXX=unsupported
16906fi
16907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16908$as_echo "$hardcode_action_CXX" >&6; }
16909
16910if test relink = "$hardcode_action_CXX" ||
16911   test yes = "$inherit_rpath_CXX"; then
16912  # Fast installation is not supported
16913  enable_fast_install=no
16914elif test yes = "$shlibpath_overrides_runpath" ||
16915     test no = "$enable_shared"; then
16916  # Fast installation is not necessary
16917  enable_fast_install=needless
16918fi
16919
16920
16921
16922
16923
16924
16925
16926  fi # test -n "$compiler"
16927
16928  CC=$lt_save_CC
16929  CFLAGS=$lt_save_CFLAGS
16930  LDCXX=$LD
16931  LD=$lt_save_LD
16932  GCC=$lt_save_GCC
16933  with_gnu_ld=$lt_save_with_gnu_ld
16934  lt_cv_path_LDCXX=$lt_cv_path_LD
16935  lt_cv_path_LD=$lt_save_path_LD
16936  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16937  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16938fi # test yes != "$_lt_caught_CXX_error"
16939
16940ac_ext=c
16941ac_cpp='$CPP $CPPFLAGS'
16942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16944ac_compiler_gnu=$ac_cv_c_compiler_gnu
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960        ac_config_commands="$ac_config_commands libtool"
16961
16962
16963
16964
16965# Only expand once:
16966
16967
16968
16969ATKMM_MODULES='atk >= 1.18 glibmm-2.4 >= 2.46.2'
16970
16971
16972
16973
16974
16975
16976
16977
16978if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16979	if test -n "$ac_tool_prefix"; then
16980  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16981set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16983$as_echo_n "checking for $ac_word... " >&6; }
16984if ${ac_cv_path_PKG_CONFIG+:} false; then :
16985  $as_echo_n "(cached) " >&6
16986else
16987  case $PKG_CONFIG in
16988  [\\/]* | ?:[\\/]*)
16989  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16990  ;;
16991  *)
16992  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16993for as_dir in $PATH
16994do
16995  IFS=$as_save_IFS
16996  test -z "$as_dir" && as_dir=.
16997    for ac_exec_ext in '' $ac_executable_extensions; do
16998  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16999    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17000    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17001    break 2
17002  fi
17003done
17004  done
17005IFS=$as_save_IFS
17006
17007  ;;
17008esac
17009fi
17010PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17011if test -n "$PKG_CONFIG"; then
17012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17013$as_echo "$PKG_CONFIG" >&6; }
17014else
17015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17016$as_echo "no" >&6; }
17017fi
17018
17019
17020fi
17021if test -z "$ac_cv_path_PKG_CONFIG"; then
17022  ac_pt_PKG_CONFIG=$PKG_CONFIG
17023  # Extract the first word of "pkg-config", so it can be a program name with args.
17024set dummy pkg-config; ac_word=$2
17025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17026$as_echo_n "checking for $ac_word... " >&6; }
17027if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17028  $as_echo_n "(cached) " >&6
17029else
17030  case $ac_pt_PKG_CONFIG in
17031  [\\/]* | ?:[\\/]*)
17032  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17033  ;;
17034  *)
17035  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17036for as_dir in $PATH
17037do
17038  IFS=$as_save_IFS
17039  test -z "$as_dir" && as_dir=.
17040    for ac_exec_ext in '' $ac_executable_extensions; do
17041  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17042    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17043    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17044    break 2
17045  fi
17046done
17047  done
17048IFS=$as_save_IFS
17049
17050  ;;
17051esac
17052fi
17053ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17054if test -n "$ac_pt_PKG_CONFIG"; then
17055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17056$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17057else
17058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17059$as_echo "no" >&6; }
17060fi
17061
17062  if test "x$ac_pt_PKG_CONFIG" = x; then
17063    PKG_CONFIG=""
17064  else
17065    case $cross_compiling:$ac_tool_warned in
17066yes:)
17067{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17068$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17069ac_tool_warned=yes ;;
17070esac
17071    PKG_CONFIG=$ac_pt_PKG_CONFIG
17072  fi
17073else
17074  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17075fi
17076
17077fi
17078if test -n "$PKG_CONFIG"; then
17079	_pkg_min_version=0.9.0
17080	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17081$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17082	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17083		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17084$as_echo "yes" >&6; }
17085	else
17086		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17087$as_echo "no" >&6; }
17088		PKG_CONFIG=""
17089	fi
17090fi
17091
17092pkg_failed=no
17093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATKMM" >&5
17094$as_echo_n "checking for ATKMM... " >&6; }
17095
17096if test -n "$ATKMM_CFLAGS"; then
17097    pkg_cv_ATKMM_CFLAGS="$ATKMM_CFLAGS"
17098 elif test -n "$PKG_CONFIG"; then
17099    if test -n "$PKG_CONFIG" && \
17100    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$ATKMM_MODULES\""; } >&5
17101  ($PKG_CONFIG --exists --print-errors "$ATKMM_MODULES") 2>&5
17102  ac_status=$?
17103  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17104  test $ac_status = 0; }; then
17105  pkg_cv_ATKMM_CFLAGS=`$PKG_CONFIG --cflags "$ATKMM_MODULES" 2>/dev/null`
17106		      test "x$?" != "x0" && pkg_failed=yes
17107else
17108  pkg_failed=yes
17109fi
17110 else
17111    pkg_failed=untried
17112fi
17113if test -n "$ATKMM_LIBS"; then
17114    pkg_cv_ATKMM_LIBS="$ATKMM_LIBS"
17115 elif test -n "$PKG_CONFIG"; then
17116    if test -n "$PKG_CONFIG" && \
17117    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$ATKMM_MODULES\""; } >&5
17118  ($PKG_CONFIG --exists --print-errors "$ATKMM_MODULES") 2>&5
17119  ac_status=$?
17120  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17121  test $ac_status = 0; }; then
17122  pkg_cv_ATKMM_LIBS=`$PKG_CONFIG --libs "$ATKMM_MODULES" 2>/dev/null`
17123		      test "x$?" != "x0" && pkg_failed=yes
17124else
17125  pkg_failed=yes
17126fi
17127 else
17128    pkg_failed=untried
17129fi
17130
17131
17132
17133if test $pkg_failed = yes; then
17134   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17135$as_echo "no" >&6; }
17136
17137if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17138        _pkg_short_errors_supported=yes
17139else
17140        _pkg_short_errors_supported=no
17141fi
17142        if test $_pkg_short_errors_supported = yes; then
17143	        ATKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$ATKMM_MODULES" 2>&1`
17144        else
17145	        ATKMM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$ATKMM_MODULES" 2>&1`
17146        fi
17147	# Put the nasty error message in config.log where it belongs
17148	echo "$ATKMM_PKG_ERRORS" >&5
17149
17150	as_fn_error $? "Package requirements ($ATKMM_MODULES) were not met:
17151
17152$ATKMM_PKG_ERRORS
17153
17154Consider adjusting the PKG_CONFIG_PATH environment variable if you
17155installed software in a non-standard prefix.
17156
17157Alternatively, you may set the environment variables ATKMM_CFLAGS
17158and ATKMM_LIBS to avoid the need to call pkg-config.
17159See the pkg-config man page for more details." "$LINENO" 5
17160elif test $pkg_failed = untried; then
17161     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17162$as_echo "no" >&6; }
17163	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17164$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17165as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17166is in your PATH or set the PKG_CONFIG environment variable to the full
17167path to pkg-config.
17168
17169Alternatively, you may set the environment variables ATKMM_CFLAGS
17170and ATKMM_LIBS to avoid the need to call pkg-config.
17171See the pkg-config man page for more details.
17172
17173To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17174See \`config.log' for more details" "$LINENO" 5; }
17175else
17176	ATKMM_CFLAGS=$pkg_cv_ATKMM_CFLAGS
17177	ATKMM_LIBS=$pkg_cv_ATKMM_LIBS
17178        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17179$as_echo "yes" >&6; }
17180
17181fi
17182
17183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD_CFLAGS" >&5
17184$as_echo_n "checking for GTHREAD_CFLAGS... " >&6; }
17185if test -z "${GTHREAD_CFLAGS+set}"; then :
17186  GTHREAD_CFLAGS=`$PKG_CONFIG --cflags-only-other gthread-2.0 2>&5`
17187       if test "$?" -eq 0; then :
17188
17189fi
17190fi
17191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_CFLAGS" >&5
17192$as_echo "$GTHREAD_CFLAGS" >&6; }
17193
17194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMMPROC_DIR" >&5
17195$as_echo_n "checking for GMMPROC_DIR... " >&6; }
17196if test -z "${GMMPROC_DIR+set}"; then :
17197  GMMPROC_DIR=`$PKG_CONFIG --variable=gmmprocdir glibmm-2.4 2>&5`
17198       if test "$?" -eq 0; then :
17199
17200fi
17201fi
17202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMMPROC_DIR" >&5
17203$as_echo "$GMMPROC_DIR" >&6; }
17204
17205
17206# Check whether --enable-deprecated-api was given.
17207if test "${enable_deprecated_api+set}" = set; then :
17208  enableval=$enable_deprecated_api; mm_enable_deprecated_api=$enableval
17209else
17210  mm_enable_deprecated_api=yes
17211fi
17212if test "x$mm_enable_deprecated_api" = xno; then :
17213  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated API will not be built, breaking compatibility.
17214Do not use this option for distribution packages." >&5
17215$as_echo "$as_me: WARNING: Deprecated API will not be built, breaking compatibility.
17216Do not use this option for distribution packages." >&2;}
17217else
17218  { $as_echo "$as_me:${as_lineno-$LINENO}: Deprecated API will be built, for backwards-compatibility." >&5
17219$as_echo "$as_me: Deprecated API will be built, for backwards-compatibility." >&6;}
17220fi
17221 if test "x$mm_enable_deprecated_api" = xno; then
17222  DISABLE_DEPRECATED_API_TRUE=
17223  DISABLE_DEPRECATED_API_FALSE='#'
17224else
17225  DISABLE_DEPRECATED_API_TRUE='#'
17226  DISABLE_DEPRECATED_API_FALSE=
17227fi
17228
17229if test "x$mm_enable_deprecated_api" = xno; then :
17230
17231$as_echo "#define ATKMM_DISABLE_DEPRECATED 1" >>confdefs.h
17232
17233
17234fi
17235
17236# Extract the first word of "perl", so it can be a program name with args.
17237set dummy perl; ac_word=$2
17238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17239$as_echo_n "checking for $ac_word... " >&6; }
17240if ${ac_cv_path_PERL+:} false; then :
17241  $as_echo_n "(cached) " >&6
17242else
17243  case $PERL in
17244  [\\/]* | ?:[\\/]*)
17245  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
17246  ;;
17247  *)
17248  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17249for as_dir in $PATH
17250do
17251  IFS=$as_save_IFS
17252  test -z "$as_dir" && as_dir=.
17253    for ac_exec_ext in '' $ac_executable_extensions; do
17254  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17255    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
17256    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17257    break 2
17258  fi
17259done
17260  done
17261IFS=$as_save_IFS
17262
17263  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
17264  ;;
17265esac
17266fi
17267PERL=$ac_cv_path_PERL
17268if test -n "$PERL"; then
17269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
17270$as_echo "$PERL" >&6; }
17271else
17272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17273$as_echo "no" >&6; }
17274fi
17275
17276
17277
17278# Extract the first word of "dot", so it can be a program name with args.
17279set dummy dot; ac_word=$2
17280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17281$as_echo_n "checking for $ac_word... " >&6; }
17282if ${ac_cv_path_DOT+:} false; then :
17283  $as_echo_n "(cached) " >&6
17284else
17285  case $DOT in
17286  [\\/]* | ?:[\\/]*)
17287  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
17288  ;;
17289  *)
17290  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17291for as_dir in $PATH
17292do
17293  IFS=$as_save_IFS
17294  test -z "$as_dir" && as_dir=.
17295    for ac_exec_ext in '' $ac_executable_extensions; do
17296  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17297    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
17298    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17299    break 2
17300  fi
17301done
17302  done
17303IFS=$as_save_IFS
17304
17305  test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot"
17306  ;;
17307esac
17308fi
17309DOT=$ac_cv_path_DOT
17310if test -n "$DOT"; then
17311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
17312$as_echo "$DOT" >&6; }
17313else
17314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17315$as_echo "no" >&6; }
17316fi
17317
17318
17319# Extract the first word of "doxygen", so it can be a program name with args.
17320set dummy doxygen; ac_word=$2
17321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17322$as_echo_n "checking for $ac_word... " >&6; }
17323if ${ac_cv_path_DOXYGEN+:} false; then :
17324  $as_echo_n "(cached) " >&6
17325else
17326  case $DOXYGEN in
17327  [\\/]* | ?:[\\/]*)
17328  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
17329  ;;
17330  *)
17331  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17332for as_dir in $PATH
17333do
17334  IFS=$as_save_IFS
17335  test -z "$as_dir" && as_dir=.
17336    for ac_exec_ext in '' $ac_executable_extensions; do
17337  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17338    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
17339    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17340    break 2
17341  fi
17342done
17343  done
17344IFS=$as_save_IFS
17345
17346  test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen"
17347  ;;
17348esac
17349fi
17350DOXYGEN=$ac_cv_path_DOXYGEN
17351if test -n "$DOXYGEN"; then
17352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
17353$as_echo "$DOXYGEN" >&6; }
17354else
17355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17356$as_echo "no" >&6; }
17357fi
17358
17359
17360# Extract the first word of "xsltproc", so it can be a program name with args.
17361set dummy xsltproc; ac_word=$2
17362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17363$as_echo_n "checking for $ac_word... " >&6; }
17364if ${ac_cv_path_XSLTPROC+:} false; then :
17365  $as_echo_n "(cached) " >&6
17366else
17367  case $XSLTPROC in
17368  [\\/]* | ?:[\\/]*)
17369  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
17370  ;;
17371  *)
17372  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17373for as_dir in $PATH
17374do
17375  IFS=$as_save_IFS
17376  test -z "$as_dir" && as_dir=.
17377    for ac_exec_ext in '' $ac_executable_extensions; do
17378  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17379    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
17380    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17381    break 2
17382  fi
17383done
17384  done
17385IFS=$as_save_IFS
17386
17387  test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc"
17388  ;;
17389esac
17390fi
17391XSLTPROC=$ac_cv_path_XSLTPROC
17392if test -n "$XSLTPROC"; then
17393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
17394$as_echo "$XSLTPROC" >&6; }
17395else
17396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17397$as_echo "no" >&6; }
17398fi
17399
17400
17401# Check whether --enable-documentation was given.
17402if test "${enable_documentation+set}" = set; then :
17403  enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval
17404else
17405  ENABLE_DOCUMENTATION=auto
17406fi
17407
17408if test "x$ENABLE_DOCUMENTATION" != xno; then :
17409
17410  mm_err=
17411  if test "x$MMDOCTOOLDIR" = x; then :
17412  mm_err='The mm-common-util module is available, but the installation of mm-common on this
17413machine is missing the shared documentation utilities of the GNOME C++
17414bindings.  It may be necessary to upgrade to a more recent release of
17415mm-common in order to build '$PACKAGE_NAME' and install the documentation.'
17416elif test "x$PERL" = xperl; then :
17417  mm_err='Perl is required for installing the documentation.'
17418elif test "x$USE_MAINTAINER_MODE" != xno; then :
17419
17420    test "x$DOT" != xdot || mm_err=' dot'
17421    test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen"
17422    test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc"
17423    test -z "$mm_err" || mm_err='The documentation cannot be generated because
17424not all of the required tools are available:'$mm_err
17425
17426fi
17427  if test -z "$mm_err"; then :
17428  ENABLE_DOCUMENTATION=yes
17429elif test "x$ENABLE_DOCUMENTATION" = xyes; then :
17430  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17431$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17432as_fn_error $? "$mm_err
17433See \`config.log' for more details" "$LINENO" 5; }
17434else
17435  ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5
17436$as_echo "$as_me: WARNING: $mm_err" >&2;}
17437fi
17438
17439fi
17440 if test "x$ENABLE_DOCUMENTATION" = xyes; then
17441  ENABLE_DOCUMENTATION_TRUE=
17442  ENABLE_DOCUMENTATION_FALSE='#'
17443else
17444  ENABLE_DOCUMENTATION_TRUE='#'
17445  ENABLE_DOCUMENTATION_FALSE=
17446fi
17447
17448DOXYGEN_TAGFILES=
17449
17450DOCINSTALL_FLAGS=
17451
17452
17453if test "x$ENABLE_DOCUMENTATION" != xno; then :
17454    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5
17455$as_echo_n "checking for libstdc documentation... " >&6; }
17456
17457# Check whether --with-libstdc-doc was given.
17458if test "${with_libstdc_doc+set}" = set; then :
17459  withval=$with_libstdc_doc;
17460    mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
17461    mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
17462    mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
17463    test "x$mm_tagname" != x || mm_tagname="libstdc++.tag"
17464    test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
17465else
17466
17467    mm_htmlrefdir=
17468    mm_tagname="libstdc++.tag"
17469    mm_tagpath=$mm_tagname
17470fi
17471
17472  # Prepend working direcory if the tag file path starts with ./ or ../
17473  case $mm_tagpath in #(
17474  .[\\/]*|..[\\/]*) :
17475    mm_tagpath=`pwd`/$mm_tagpath ;; #(
17476  *) :
17477     ;;
17478esac
17479
17480  # If no local directory was specified, get the default from the .pc file
17481  if test "x$mm_htmlrefdir" = x; then :
17482
17483    mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5`
17484fi
17485  # If the user specified a Web URL, allow it to override the public location
17486  case $mm_htmlrefdir in #(
17487  http://*|https://*) :
17488    mm_htmlrefpub=$mm_htmlrefdir ;; #(
17489  *) :
17490
17491    mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5`
17492    test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
17493    test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
17494   ;;
17495esac
17496  # The user-supplied tag-file name takes precedence if it includes the path
17497  case $mm_tagpath in #(
17498  *[\\/]*) :
17499     ;; #(
17500  *) :
17501
17502    mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5`
17503    test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
17504   ;;
17505esac
17506  # Remove trailing slashes and translate to URI
17507  mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17508  mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17509
17510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
17511$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
17512
17513  if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
17514  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5
17515$as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;}
17516fi
17517  if test "x$mm_htmlrefdir" = x; then :
17518  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5
17519$as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;}
17520else
17521  if test "x$DOCINSTALL_FLAGS" = x; then :
17522  DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
17523else
17524  DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
17525fi
17526fi
17527
17528  if test "x$mm_htmlrefpub" = x; then :
17529  mm_val=$mm_tagpath
17530else
17531  mm_val="$mm_tagpath=$mm_htmlrefpub"
17532fi
17533  if test "x$DOXYGEN_TAGFILES" = x; then :
17534  DOXYGEN_TAGFILES=\"$mm_val\"
17535else
17536  DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
17537fi
17538fi
17539if test "x$ENABLE_DOCUMENTATION" != xno; then :
17540    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigc documentation" >&5
17541$as_echo_n "checking for libsigc documentation... " >&6; }
17542
17543# Check whether --with-libsigc-doc was given.
17544if test "${with_libsigc_doc+set}" = set; then :
17545  withval=$with_libsigc_doc;
17546    mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
17547    mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
17548    mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
17549    test "x$mm_tagname" != x || mm_tagname="libsigc++-2.0.tag"
17550    test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
17551else
17552
17553    mm_htmlrefdir=
17554    mm_tagname="libsigc++-2.0.tag"
17555    mm_tagpath=$mm_tagname
17556fi
17557
17558  # Prepend working direcory if the tag file path starts with ./ or ../
17559  case $mm_tagpath in #(
17560  .[\\/]*|..[\\/]*) :
17561    mm_tagpath=`pwd`/$mm_tagpath ;; #(
17562  *) :
17563     ;;
17564esac
17565
17566  # If no local directory was specified, get the default from the .pc file
17567  if test "x$mm_htmlrefdir" = x; then :
17568
17569    mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "sigc++-2.0" 2>&5`
17570fi
17571  # If the user specified a Web URL, allow it to override the public location
17572  case $mm_htmlrefdir in #(
17573  http://*|https://*) :
17574    mm_htmlrefpub=$mm_htmlrefdir ;; #(
17575  *) :
17576
17577    mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "sigc++-2.0" 2>&5`
17578    test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
17579    test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
17580   ;;
17581esac
17582  # The user-supplied tag-file name takes precedence if it includes the path
17583  case $mm_tagpath in #(
17584  *[\\/]*) :
17585     ;; #(
17586  *) :
17587
17588    mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "sigc++-2.0" 2>&5`
17589    test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
17590   ;;
17591esac
17592  # Remove trailing slashes and translate to URI
17593  mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17594  mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17595
17596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
17597$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
17598
17599  if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
17600  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&5
17601$as_echo "$as_me: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&2;}
17602fi
17603  if test "x$mm_htmlrefdir" = x; then :
17604  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libsigc documentation not set" >&5
17605$as_echo "$as_me: WARNING: Location of external libsigc documentation not set" >&2;}
17606else
17607  if test "x$DOCINSTALL_FLAGS" = x; then :
17608  DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
17609else
17610  DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
17611fi
17612fi
17613
17614  if test "x$mm_htmlrefpub" = x; then :
17615  mm_val=$mm_tagpath
17616else
17617  mm_val="$mm_tagpath=$mm_htmlrefpub"
17618fi
17619  if test "x$DOXYGEN_TAGFILES" = x; then :
17620  DOXYGEN_TAGFILES=\"$mm_val\"
17621else
17622  DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
17623fi
17624fi
17625if test "x$ENABLE_DOCUMENTATION" != xno; then :
17626    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibmm documentation" >&5
17627$as_echo_n "checking for glibmm documentation... " >&6; }
17628
17629# Check whether --with-glibmm-doc was given.
17630if test "${with_glibmm_doc+set}" = set; then :
17631  withval=$with_glibmm_doc;
17632    mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
17633    mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
17634    mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
17635    test "x$mm_tagname" != x || mm_tagname="glibmm-2.4.tag"
17636    test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
17637else
17638
17639    mm_htmlrefdir=
17640    mm_tagname="glibmm-2.4.tag"
17641    mm_tagpath=$mm_tagname
17642fi
17643
17644  # Prepend working direcory if the tag file path starts with ./ or ../
17645  case $mm_tagpath in #(
17646  .[\\/]*|..[\\/]*) :
17647    mm_tagpath=`pwd`/$mm_tagpath ;; #(
17648  *) :
17649     ;;
17650esac
17651
17652  # If no local directory was specified, get the default from the .pc file
17653  if test "x$mm_htmlrefdir" = x; then :
17654
17655    mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "glibmm-2.4" 2>&5`
17656fi
17657  # If the user specified a Web URL, allow it to override the public location
17658  case $mm_htmlrefdir in #(
17659  http://*|https://*) :
17660    mm_htmlrefpub=$mm_htmlrefdir ;; #(
17661  *) :
17662
17663    mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "glibmm-2.4" 2>&5`
17664    test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
17665    test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
17666   ;;
17667esac
17668  # The user-supplied tag-file name takes precedence if it includes the path
17669  case $mm_tagpath in #(
17670  *[\\/]*) :
17671     ;; #(
17672  *) :
17673
17674    mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "glibmm-2.4" 2>&5`
17675    test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
17676   ;;
17677esac
17678  # Remove trailing slashes and translate to URI
17679  mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17680  mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17681
17682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
17683$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
17684
17685  if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
17686  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&5
17687$as_echo "$as_me: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&2;}
17688fi
17689  if test "x$mm_htmlrefdir" = x; then :
17690  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external glibmm documentation not set" >&5
17691$as_echo "$as_me: WARNING: Location of external glibmm documentation not set" >&2;}
17692else
17693  if test "x$DOCINSTALL_FLAGS" = x; then :
17694  DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
17695else
17696  DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
17697fi
17698fi
17699
17700  if test "x$mm_htmlrefpub" = x; then :
17701  mm_val=$mm_tagpath
17702else
17703  mm_val="$mm_tagpath=$mm_htmlrefpub"
17704fi
17705  if test "x$DOXYGEN_TAGFILES" = x; then :
17706  DOXYGEN_TAGFILES=\"$mm_val\"
17707else
17708  DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
17709fi
17710fi
17711
17712ac_ext=cpp
17713ac_cpp='$CXXCPP $CPPFLAGS'
17714ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17715ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17716ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17717
17718# Check whether --enable-warnings was given.
17719if test "${enable_warnings+set}" = set; then :
17720  enableval=$enable_warnings; mm_enable_warnings=$enableval
17721else
17722  mm_enable_warnings=min
17723fi
17724
17725case $ac_compile in #(
17726  *'$CXXFLAGS '*) :
17727    mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #(
17728  *'$CFLAGS '*) :
17729    mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #(
17730  *) :
17731    as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;;
17732esac
17733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5
17734$as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; }
17735mm_deprecation_flags=
17736mm_tested_flags=
17737case $mm_enable_warnings in #(
17738  no) :
17739    mm_warning_flags= ;; #(
17740  max) :
17741    mm_warning_flags="-pedantic -Wall -Wextra -Wformat-security -Wsuggest-override -Wshadow -Wno-long-long" ;; #(
17742  fatal) :
17743    mm_warning_flags="-pedantic -Wall -Wextra -Wformat-security -Wsuggest-override -Wshadow -Wno-long-long -Werror"
17744         for mm_prefix in G ATK GLIBMM
17745         do
17746           mm_deprecation_flags="$mm_deprecation_flags-D${mm_prefix}_DISABLE_DEPRECATED "
17747         done ;; #(
17748  *) :
17749    mm_warning_flags="-Wall" ;;
17750esac
17751if test "x$mm_warning_flags" != x; then :
17752
17753  # Keep in mind that the dummy source must be devoid of any
17754  # problems that might cause diagnostics.
17755  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756/* end confdefs.h.  */
17757
17758int main(int argc, char** argv) { return !argv ? 0 : argc; }
17759
17760_ACEOF
17761  for mm_flag in $mm_warning_flags
17762  do
17763    # Test whether the compiler accepts the flag.  Look at standard output,
17764    # since GCC only shows a warning message if an option is not supported.
17765    mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed`
17766    rm -f "conftest.${OBJEXT-o}"
17767
17768    if test "x$mm_cc_out" = x; then :
17769  if test "x$mm_tested_flags" = x; then :
17770  mm_tested_flags=$mm_flag
17771else
17772  mm_tested_flags="$mm_tested_flags $mm_flag"
17773fi
17774else
17775  cat <<_MMEOF >&5
17776$mm_cc: $mm_cc_out
17777_MMEOF
17778
17779fi
17780  done
17781  rm -f "$mm_conftest"
17782
17783fi
17784mm_all_flags=$mm_deprecation_flags$mm_tested_flags
17785ATKMM_WXXFLAGS=$mm_all_flags
17786
17787test "x$mm_all_flags" != x || mm_all_flags=none
17788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5
17789$as_echo "$mm_all_flags" >&6; }
17790
17791ac_config_files="$ac_config_files Makefile codegen/Makefile atk/${ATKMM_MODULE_NAME}.pc:atk/atkmm.pc.in atk/${ATKMM_MODULE_NAME}-uninstalled.pc:atk/atkmm-uninstalled.pc.in atk/src/Makefile atk/atkmm/Makefile doc/Makefile doc/reference/Doxyfile MSVC_NMake/atkmm/atkmm.rc"
17792
17793
17794# Copy the generated configuration headers into the MSVC project directories.
17795ac_config_commands="$ac_config_commands MSVC_NMake/atkmm/atkmmconfig.h"
17796
17797cat >confcache <<\_ACEOF
17798# This file is a shell script that caches the results of configure
17799# tests run on this system so they can be shared between configure
17800# scripts and configure runs, see configure's option --config-cache.
17801# It is not useful on other systems.  If it contains results you don't
17802# want to keep, you may remove or edit it.
17803#
17804# config.status only pays attention to the cache file if you give it
17805# the --recheck option to rerun configure.
17806#
17807# `ac_cv_env_foo' variables (set or unset) will be overridden when
17808# loading this file, other *unset* `ac_cv_foo' will be assigned the
17809# following values.
17810
17811_ACEOF
17812
17813# The following way of writing the cache mishandles newlines in values,
17814# but we know of no workaround that is simple, portable, and efficient.
17815# So, we kill variables containing newlines.
17816# Ultrix sh set writes to stderr and can't be redirected directly,
17817# and sets the high bit in the cache file unless we assign to the vars.
17818(
17819  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17820    eval ac_val=\$$ac_var
17821    case $ac_val in #(
17822    *${as_nl}*)
17823      case $ac_var in #(
17824      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17825$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17826      esac
17827      case $ac_var in #(
17828      _ | IFS | as_nl) ;; #(
17829      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17830      *) { eval $ac_var=; unset $ac_var;} ;;
17831      esac ;;
17832    esac
17833  done
17834
17835  (set) 2>&1 |
17836    case $as_nl`(ac_space=' '; set) 2>&1` in #(
17837    *${as_nl}ac_space=\ *)
17838      # `set' does not quote correctly, so add quotes: double-quote
17839      # substitution turns \\\\ into \\, and sed turns \\ into \.
17840      sed -n \
17841	"s/'/'\\\\''/g;
17842	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17843      ;; #(
17844    *)
17845      # `set' quotes correctly as required by POSIX, so do not add quotes.
17846      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17847      ;;
17848    esac |
17849    sort
17850) |
17851  sed '
17852     /^ac_cv_env_/b end
17853     t clear
17854     :clear
17855     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17856     t end
17857     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17858     :end' >>confcache
17859if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17860  if test -w "$cache_file"; then
17861    if test "x$cache_file" != "x/dev/null"; then
17862      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17863$as_echo "$as_me: updating cache $cache_file" >&6;}
17864      if test ! -f "$cache_file" || test -h "$cache_file"; then
17865	cat confcache >"$cache_file"
17866      else
17867        case $cache_file in #(
17868        */* | ?:*)
17869	  mv -f confcache "$cache_file"$$ &&
17870	  mv -f "$cache_file"$$ "$cache_file" ;; #(
17871        *)
17872	  mv -f confcache "$cache_file" ;;
17873	esac
17874      fi
17875    fi
17876  else
17877    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17878$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17879  fi
17880fi
17881rm -f confcache
17882
17883test "x$prefix" = xNONE && prefix=$ac_default_prefix
17884# Let make expand exec_prefix.
17885test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17886
17887DEFS=-DHAVE_CONFIG_H
17888
17889ac_libobjs=
17890ac_ltlibobjs=
17891U=
17892for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17893  # 1. Remove the extension, and $U if already installed.
17894  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17895  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17896  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17897  #    will be set to the directory where LIBOBJS objects are built.
17898  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17899  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17900done
17901LIBOBJS=$ac_libobjs
17902
17903LTLIBOBJS=$ac_ltlibobjs
17904
17905
17906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17907$as_echo_n "checking that generated files are newer than configure... " >&6; }
17908   if test -n "$am_sleep_pid"; then
17909     # Hide warnings about reused PIDs.
17910     wait $am_sleep_pid 2>/dev/null
17911   fi
17912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17913$as_echo "done" >&6; }
17914 if test -n "$EXEEXT"; then
17915  am__EXEEXT_TRUE=
17916  am__EXEEXT_FALSE='#'
17917else
17918  am__EXEEXT_TRUE='#'
17919  am__EXEEXT_FALSE=
17920fi
17921
17922if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17923  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17924Usually this means the macro was only invoked conditionally." "$LINENO" 5
17925fi
17926if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then
17927  as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined.
17928Usually this means the macro was only invoked conditionally." "$LINENO" 5
17929fi
17930if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17931  as_fn_error $? "conditional \"AMDEP\" was never defined.
17932Usually this means the macro was only invoked conditionally." "$LINENO" 5
17933fi
17934if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17935  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17936Usually this means the macro was only invoked conditionally." "$LINENO" 5
17937fi
17938if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17939  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17940Usually this means the macro was only invoked conditionally." "$LINENO" 5
17941fi
17942if test -z "${DISABLE_DEPRECATED_API_TRUE}" && test -z "${DISABLE_DEPRECATED_API_FALSE}"; then
17943  as_fn_error $? "conditional \"DISABLE_DEPRECATED_API\" was never defined.
17944Usually this means the macro was only invoked conditionally." "$LINENO" 5
17945fi
17946if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then
17947  as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined.
17948Usually this means the macro was only invoked conditionally." "$LINENO" 5
17949fi
17950
17951: "${CONFIG_STATUS=./config.status}"
17952ac_write_fail=0
17953ac_clean_files_save=$ac_clean_files
17954ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17955{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17956$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17957as_write_fail=0
17958cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17959#! $SHELL
17960# Generated by $as_me.
17961# Run this file to recreate the current configuration.
17962# Compiler output produced by configure, useful for debugging
17963# configure, is in config.log if it exists.
17964
17965debug=false
17966ac_cs_recheck=false
17967ac_cs_silent=false
17968
17969SHELL=\${CONFIG_SHELL-$SHELL}
17970export SHELL
17971_ASEOF
17972cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17973## -------------------- ##
17974## M4sh Initialization. ##
17975## -------------------- ##
17976
17977# Be more Bourne compatible
17978DUALCASE=1; export DUALCASE # for MKS sh
17979if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17980  emulate sh
17981  NULLCMD=:
17982  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17983  # is contrary to our usage.  Disable this feature.
17984  alias -g '${1+"$@"}'='"$@"'
17985  setopt NO_GLOB_SUBST
17986else
17987  case `(set -o) 2>/dev/null` in #(
17988  *posix*) :
17989    set -o posix ;; #(
17990  *) :
17991     ;;
17992esac
17993fi
17994
17995
17996as_nl='
17997'
17998export as_nl
17999# Printing a long string crashes Solaris 7 /usr/bin/printf.
18000as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18001as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18002as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18003# Prefer a ksh shell builtin over an external printf program on Solaris,
18004# but without wasting forks for bash or zsh.
18005if test -z "$BASH_VERSION$ZSH_VERSION" \
18006    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18007  as_echo='print -r --'
18008  as_echo_n='print -rn --'
18009elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18010  as_echo='printf %s\n'
18011  as_echo_n='printf %s'
18012else
18013  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18014    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18015    as_echo_n='/usr/ucb/echo -n'
18016  else
18017    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18018    as_echo_n_body='eval
18019      arg=$1;
18020      case $arg in #(
18021      *"$as_nl"*)
18022	expr "X$arg" : "X\\(.*\\)$as_nl";
18023	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18024      esac;
18025      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18026    '
18027    export as_echo_n_body
18028    as_echo_n='sh -c $as_echo_n_body as_echo'
18029  fi
18030  export as_echo_body
18031  as_echo='sh -c $as_echo_body as_echo'
18032fi
18033
18034# The user is always right.
18035if test "${PATH_SEPARATOR+set}" != set; then
18036  PATH_SEPARATOR=:
18037  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18038    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18039      PATH_SEPARATOR=';'
18040  }
18041fi
18042
18043
18044# IFS
18045# We need space, tab and new line, in precisely that order.  Quoting is
18046# there to prevent editors from complaining about space-tab.
18047# (If _AS_PATH_WALK were called with IFS unset, it would disable word
18048# splitting by setting IFS to empty value.)
18049IFS=" ""	$as_nl"
18050
18051# Find who we are.  Look in the path if we contain no directory separator.
18052as_myself=
18053case $0 in #((
18054  *[\\/]* ) as_myself=$0 ;;
18055  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18056for as_dir in $PATH
18057do
18058  IFS=$as_save_IFS
18059  test -z "$as_dir" && as_dir=.
18060    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18061  done
18062IFS=$as_save_IFS
18063
18064     ;;
18065esac
18066# We did not find ourselves, most probably we were run as `sh COMMAND'
18067# in which case we are not to be found in the path.
18068if test "x$as_myself" = x; then
18069  as_myself=$0
18070fi
18071if test ! -f "$as_myself"; then
18072  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18073  exit 1
18074fi
18075
18076# Unset variables that we do not need and which cause bugs (e.g. in
18077# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18078# suppresses any "Segmentation fault" message there.  '((' could
18079# trigger a bug in pdksh 5.2.14.
18080for as_var in BASH_ENV ENV MAIL MAILPATH
18081do eval test x\${$as_var+set} = xset \
18082  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18083done
18084PS1='$ '
18085PS2='> '
18086PS4='+ '
18087
18088# NLS nuisances.
18089LC_ALL=C
18090export LC_ALL
18091LANGUAGE=C
18092export LANGUAGE
18093
18094# CDPATH.
18095(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18096
18097
18098# as_fn_error STATUS ERROR [LINENO LOG_FD]
18099# ----------------------------------------
18100# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18101# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18102# script with STATUS, using 1 if that was 0.
18103as_fn_error ()
18104{
18105  as_status=$1; test $as_status -eq 0 && as_status=1
18106  if test "$4"; then
18107    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18108    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18109  fi
18110  $as_echo "$as_me: error: $2" >&2
18111  as_fn_exit $as_status
18112} # as_fn_error
18113
18114
18115# as_fn_set_status STATUS
18116# -----------------------
18117# Set $? to STATUS, without forking.
18118as_fn_set_status ()
18119{
18120  return $1
18121} # as_fn_set_status
18122
18123# as_fn_exit STATUS
18124# -----------------
18125# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18126as_fn_exit ()
18127{
18128  set +e
18129  as_fn_set_status $1
18130  exit $1
18131} # as_fn_exit
18132
18133# as_fn_unset VAR
18134# ---------------
18135# Portably unset VAR.
18136as_fn_unset ()
18137{
18138  { eval $1=; unset $1;}
18139}
18140as_unset=as_fn_unset
18141# as_fn_append VAR VALUE
18142# ----------------------
18143# Append the text in VALUE to the end of the definition contained in VAR. Take
18144# advantage of any shell optimizations that allow amortized linear growth over
18145# repeated appends, instead of the typical quadratic growth present in naive
18146# implementations.
18147if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18148  eval 'as_fn_append ()
18149  {
18150    eval $1+=\$2
18151  }'
18152else
18153  as_fn_append ()
18154  {
18155    eval $1=\$$1\$2
18156  }
18157fi # as_fn_append
18158
18159# as_fn_arith ARG...
18160# ------------------
18161# Perform arithmetic evaluation on the ARGs, and store the result in the
18162# global $as_val. Take advantage of shells that can avoid forks. The arguments
18163# must be portable across $(()) and expr.
18164if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18165  eval 'as_fn_arith ()
18166  {
18167    as_val=$(( $* ))
18168  }'
18169else
18170  as_fn_arith ()
18171  {
18172    as_val=`expr "$@" || test $? -eq 1`
18173  }
18174fi # as_fn_arith
18175
18176
18177if expr a : '\(a\)' >/dev/null 2>&1 &&
18178   test "X`expr 00001 : '.*\(...\)'`" = X001; then
18179  as_expr=expr
18180else
18181  as_expr=false
18182fi
18183
18184if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18185  as_basename=basename
18186else
18187  as_basename=false
18188fi
18189
18190if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18191  as_dirname=dirname
18192else
18193  as_dirname=false
18194fi
18195
18196as_me=`$as_basename -- "$0" ||
18197$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18198	 X"$0" : 'X\(//\)$' \| \
18199	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18200$as_echo X/"$0" |
18201    sed '/^.*\/\([^/][^/]*\)\/*$/{
18202	    s//\1/
18203	    q
18204	  }
18205	  /^X\/\(\/\/\)$/{
18206	    s//\1/
18207	    q
18208	  }
18209	  /^X\/\(\/\).*/{
18210	    s//\1/
18211	    q
18212	  }
18213	  s/.*/./; q'`
18214
18215# Avoid depending upon Character Ranges.
18216as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18217as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18218as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18219as_cr_digits='0123456789'
18220as_cr_alnum=$as_cr_Letters$as_cr_digits
18221
18222ECHO_C= ECHO_N= ECHO_T=
18223case `echo -n x` in #(((((
18224-n*)
18225  case `echo 'xy\c'` in
18226  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
18227  xy)  ECHO_C='\c';;
18228  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
18229       ECHO_T='	';;
18230  esac;;
18231*)
18232  ECHO_N='-n';;
18233esac
18234
18235rm -f conf$$ conf$$.exe conf$$.file
18236if test -d conf$$.dir; then
18237  rm -f conf$$.dir/conf$$.file
18238else
18239  rm -f conf$$.dir
18240  mkdir conf$$.dir 2>/dev/null
18241fi
18242if (echo >conf$$.file) 2>/dev/null; then
18243  if ln -s conf$$.file conf$$ 2>/dev/null; then
18244    as_ln_s='ln -s'
18245    # ... but there are two gotchas:
18246    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18247    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18248    # In both cases, we have to default to `cp -pR'.
18249    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18250      as_ln_s='cp -pR'
18251  elif ln conf$$.file conf$$ 2>/dev/null; then
18252    as_ln_s=ln
18253  else
18254    as_ln_s='cp -pR'
18255  fi
18256else
18257  as_ln_s='cp -pR'
18258fi
18259rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18260rmdir conf$$.dir 2>/dev/null
18261
18262
18263# as_fn_mkdir_p
18264# -------------
18265# Create "$as_dir" as a directory, including parents if necessary.
18266as_fn_mkdir_p ()
18267{
18268
18269  case $as_dir in #(
18270  -*) as_dir=./$as_dir;;
18271  esac
18272  test -d "$as_dir" || eval $as_mkdir_p || {
18273    as_dirs=
18274    while :; do
18275      case $as_dir in #(
18276      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18277      *) as_qdir=$as_dir;;
18278      esac
18279      as_dirs="'$as_qdir' $as_dirs"
18280      as_dir=`$as_dirname -- "$as_dir" ||
18281$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18282	 X"$as_dir" : 'X\(//\)[^/]' \| \
18283	 X"$as_dir" : 'X\(//\)$' \| \
18284	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18285$as_echo X"$as_dir" |
18286    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18287	    s//\1/
18288	    q
18289	  }
18290	  /^X\(\/\/\)[^/].*/{
18291	    s//\1/
18292	    q
18293	  }
18294	  /^X\(\/\/\)$/{
18295	    s//\1/
18296	    q
18297	  }
18298	  /^X\(\/\).*/{
18299	    s//\1/
18300	    q
18301	  }
18302	  s/.*/./; q'`
18303      test -d "$as_dir" && break
18304    done
18305    test -z "$as_dirs" || eval "mkdir $as_dirs"
18306  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18307
18308
18309} # as_fn_mkdir_p
18310if mkdir -p . 2>/dev/null; then
18311  as_mkdir_p='mkdir -p "$as_dir"'
18312else
18313  test -d ./-p && rmdir ./-p
18314  as_mkdir_p=false
18315fi
18316
18317
18318# as_fn_executable_p FILE
18319# -----------------------
18320# Test if FILE is an executable regular file.
18321as_fn_executable_p ()
18322{
18323  test -f "$1" && test -x "$1"
18324} # as_fn_executable_p
18325as_test_x='test -x'
18326as_executable_p=as_fn_executable_p
18327
18328# Sed expression to map a string onto a valid CPP name.
18329as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18330
18331# Sed expression to map a string onto a valid variable name.
18332as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18333
18334
18335exec 6>&1
18336## ----------------------------------- ##
18337## Main body of $CONFIG_STATUS script. ##
18338## ----------------------------------- ##
18339_ASEOF
18340test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18341
18342cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18343# Save the log message, to keep $0 and so on meaningful, and to
18344# report actual input values of CONFIG_FILES etc. instead of their
18345# values after options handling.
18346ac_log="
18347This file was extended by atkmm $as_me 2.28.0, which was
18348generated by GNU Autoconf 2.69.  Invocation command line was
18349
18350  CONFIG_FILES    = $CONFIG_FILES
18351  CONFIG_HEADERS  = $CONFIG_HEADERS
18352  CONFIG_LINKS    = $CONFIG_LINKS
18353  CONFIG_COMMANDS = $CONFIG_COMMANDS
18354  $ $0 $@
18355
18356on `(hostname || uname -n) 2>/dev/null | sed 1q`
18357"
18358
18359_ACEOF
18360
18361case $ac_config_files in *"
18362"*) set x $ac_config_files; shift; ac_config_files=$*;;
18363esac
18364
18365case $ac_config_headers in *"
18366"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18367esac
18368
18369
18370cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18371# Files that config.status was made for.
18372config_files="$ac_config_files"
18373config_headers="$ac_config_headers"
18374config_commands="$ac_config_commands"
18375
18376_ACEOF
18377
18378cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18379ac_cs_usage="\
18380\`$as_me' instantiates files and other configuration actions
18381from templates according to the current configuration.  Unless the files
18382and actions are specified as TAGs, all are instantiated by default.
18383
18384Usage: $0 [OPTION]... [TAG]...
18385
18386  -h, --help       print this help, then exit
18387  -V, --version    print version number and configuration settings, then exit
18388      --config     print configuration, then exit
18389  -q, --quiet, --silent
18390                   do not print progress messages
18391  -d, --debug      don't remove temporary files
18392      --recheck    update $as_me by reconfiguring in the same conditions
18393      --file=FILE[:TEMPLATE]
18394                   instantiate the configuration file FILE
18395      --header=FILE[:TEMPLATE]
18396                   instantiate the configuration header FILE
18397
18398Configuration files:
18399$config_files
18400
18401Configuration headers:
18402$config_headers
18403
18404Configuration commands:
18405$config_commands
18406
18407Report bugs to <https://gitlab.gnome.org/GNOME/atkmm/issues/>.
18408atkmm home page: <http://www.gtkmm.org/>."
18409
18410_ACEOF
18411cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18412ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18413ac_cs_version="\\
18414atkmm config.status 2.28.0
18415configured by $0, generated by GNU Autoconf 2.69,
18416  with options \\"\$ac_cs_config\\"
18417
18418Copyright (C) 2012 Free Software Foundation, Inc.
18419This config.status script is free software; the Free Software Foundation
18420gives unlimited permission to copy, distribute and modify it."
18421
18422ac_pwd='$ac_pwd'
18423srcdir='$srcdir'
18424INSTALL='$INSTALL'
18425MKDIR_P='$MKDIR_P'
18426AWK='$AWK'
18427test -n "\$AWK" || AWK=awk
18428_ACEOF
18429
18430cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18431# The default lists apply if the user does not specify any file.
18432ac_need_defaults=:
18433while test $# != 0
18434do
18435  case $1 in
18436  --*=?*)
18437    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18438    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18439    ac_shift=:
18440    ;;
18441  --*=)
18442    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18443    ac_optarg=
18444    ac_shift=:
18445    ;;
18446  *)
18447    ac_option=$1
18448    ac_optarg=$2
18449    ac_shift=shift
18450    ;;
18451  esac
18452
18453  case $ac_option in
18454  # Handling of the options.
18455  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18456    ac_cs_recheck=: ;;
18457  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18458    $as_echo "$ac_cs_version"; exit ;;
18459  --config | --confi | --conf | --con | --co | --c )
18460    $as_echo "$ac_cs_config"; exit ;;
18461  --debug | --debu | --deb | --de | --d | -d )
18462    debug=: ;;
18463  --file | --fil | --fi | --f )
18464    $ac_shift
18465    case $ac_optarg in
18466    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18467    '') as_fn_error $? "missing file argument" ;;
18468    esac
18469    as_fn_append CONFIG_FILES " '$ac_optarg'"
18470    ac_need_defaults=false;;
18471  --header | --heade | --head | --hea )
18472    $ac_shift
18473    case $ac_optarg in
18474    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18475    esac
18476    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18477    ac_need_defaults=false;;
18478  --he | --h)
18479    # Conflict between --help and --header
18480    as_fn_error $? "ambiguous option: \`$1'
18481Try \`$0 --help' for more information.";;
18482  --help | --hel | -h )
18483    $as_echo "$ac_cs_usage"; exit ;;
18484  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18485  | -silent | --silent | --silen | --sile | --sil | --si | --s)
18486    ac_cs_silent=: ;;
18487
18488  # This is an error.
18489  -*) as_fn_error $? "unrecognized option: \`$1'
18490Try \`$0 --help' for more information." ;;
18491
18492  *) as_fn_append ac_config_targets " $1"
18493     ac_need_defaults=false ;;
18494
18495  esac
18496  shift
18497done
18498
18499ac_configure_extra_args=
18500
18501if $ac_cs_silent; then
18502  exec 6>/dev/null
18503  ac_configure_extra_args="$ac_configure_extra_args --silent"
18504fi
18505
18506_ACEOF
18507cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18508if \$ac_cs_recheck; then
18509  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18510  shift
18511  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18512  CONFIG_SHELL='$SHELL'
18513  export CONFIG_SHELL
18514  exec "\$@"
18515fi
18516
18517_ACEOF
18518cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18519exec 5>>config.log
18520{
18521  echo
18522  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18523## Running $as_me. ##
18524_ASBOX
18525  $as_echo "$ac_log"
18526} >&5
18527
18528_ACEOF
18529cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18530#
18531# INIT-COMMANDS
18532#
18533AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
18534
18535
18536# The HP-UX ksh and POSIX shell print the target directory to stdout
18537# if CDPATH is set.
18538(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18539
18540sed_quote_subst='$sed_quote_subst'
18541double_quote_subst='$double_quote_subst'
18542delay_variable_subst='$delay_variable_subst'
18543enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18544macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18545macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18546AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18547DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18548OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18549enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18550pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18551enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18552shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18553SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18554ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18555PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18556host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18557host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18558host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18559build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18560build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18561build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18562SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18563Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18564GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18565EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18566FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18567LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18568NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18569LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18570max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18571ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18572exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18573lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18574lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18575lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18576lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18577lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18578reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18579reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18580deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18581file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18582file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18583want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18584sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18585AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18586AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18587archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18588STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18589RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18590old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18591old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18592old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18593lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18594CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18595CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18596compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18597GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18598lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18599lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18600lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18601lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18602lt_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"`'
18603lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18604nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18605lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18606lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18607objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18608MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18609lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18610lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18611lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18612lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18613lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18614need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18615MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18616DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18617NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18618LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18619OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18620OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18621libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18622shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18623extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18624archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18625enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18626export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18627whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18628compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18629old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18630old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18631archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18632archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18633module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18634module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18635with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18636allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18637no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18638hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18639hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18640hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18641hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18642hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18643hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18644hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18645inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18646link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18647always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18648export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18649exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18650include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18651prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18652postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18653file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18654variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18655need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18656need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18657version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18658runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18659shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18660shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18661libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18662library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18663soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18664install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18665postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18666postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18667finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18668finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18669hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18670sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18671configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18672configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18673hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18674enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18675enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18676enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18677old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18678striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18679compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18680predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18681postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18682predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18683postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18684compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18685LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18686reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18687reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18688old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18689compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18690GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18691lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18692lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18693lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18694lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18695lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18696archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18697enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18698export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18699whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18700compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18701old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18702old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18703archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18704archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18705module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18706module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18707with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18708allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18709no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18710hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18711hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18712hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18713hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18714hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18715hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18716hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18717inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18718link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18719always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18720export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18721exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18722include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18723prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18724postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18725file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18726hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18727compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18728predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18729postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18730predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18731postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18732compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18733
18734LTCC='$LTCC'
18735LTCFLAGS='$LTCFLAGS'
18736compiler='$compiler_DEFAULT'
18737
18738# A function that is used when there is no print builtin or printf.
18739func_fallback_echo ()
18740{
18741  eval 'cat <<_LTECHO_EOF
18742\$1
18743_LTECHO_EOF'
18744}
18745
18746# Quote evaled strings.
18747for var in AS \
18748DLLTOOL \
18749OBJDUMP \
18750SHELL \
18751ECHO \
18752PATH_SEPARATOR \
18753SED \
18754GREP \
18755EGREP \
18756FGREP \
18757LD \
18758NM \
18759LN_S \
18760lt_SP2NL \
18761lt_NL2SP \
18762reload_flag \
18763deplibs_check_method \
18764file_magic_cmd \
18765file_magic_glob \
18766want_nocaseglob \
18767sharedlib_from_linklib_cmd \
18768AR \
18769AR_FLAGS \
18770archiver_list_spec \
18771STRIP \
18772RANLIB \
18773CC \
18774CFLAGS \
18775compiler \
18776lt_cv_sys_global_symbol_pipe \
18777lt_cv_sys_global_symbol_to_cdecl \
18778lt_cv_sys_global_symbol_to_import \
18779lt_cv_sys_global_symbol_to_c_name_address \
18780lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18781lt_cv_nm_interface \
18782nm_file_list_spec \
18783lt_cv_truncate_bin \
18784lt_prog_compiler_no_builtin_flag \
18785lt_prog_compiler_pic \
18786lt_prog_compiler_wl \
18787lt_prog_compiler_static \
18788lt_cv_prog_compiler_c_o \
18789need_locks \
18790MANIFEST_TOOL \
18791DSYMUTIL \
18792NMEDIT \
18793LIPO \
18794OTOOL \
18795OTOOL64 \
18796shrext_cmds \
18797export_dynamic_flag_spec \
18798whole_archive_flag_spec \
18799compiler_needs_object \
18800with_gnu_ld \
18801allow_undefined_flag \
18802no_undefined_flag \
18803hardcode_libdir_flag_spec \
18804hardcode_libdir_separator \
18805exclude_expsyms \
18806include_expsyms \
18807file_list_spec \
18808variables_saved_for_relink \
18809libname_spec \
18810library_names_spec \
18811soname_spec \
18812install_override_mode \
18813finish_eval \
18814old_striplib \
18815striplib \
18816compiler_lib_search_dirs \
18817predep_objects \
18818postdep_objects \
18819predeps \
18820postdeps \
18821compiler_lib_search_path \
18822LD_CXX \
18823reload_flag_CXX \
18824compiler_CXX \
18825lt_prog_compiler_no_builtin_flag_CXX \
18826lt_prog_compiler_pic_CXX \
18827lt_prog_compiler_wl_CXX \
18828lt_prog_compiler_static_CXX \
18829lt_cv_prog_compiler_c_o_CXX \
18830export_dynamic_flag_spec_CXX \
18831whole_archive_flag_spec_CXX \
18832compiler_needs_object_CXX \
18833with_gnu_ld_CXX \
18834allow_undefined_flag_CXX \
18835no_undefined_flag_CXX \
18836hardcode_libdir_flag_spec_CXX \
18837hardcode_libdir_separator_CXX \
18838exclude_expsyms_CXX \
18839include_expsyms_CXX \
18840file_list_spec_CXX \
18841compiler_lib_search_dirs_CXX \
18842predep_objects_CXX \
18843postdep_objects_CXX \
18844predeps_CXX \
18845postdeps_CXX \
18846compiler_lib_search_path_CXX; do
18847    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18848    *[\\\\\\\`\\"\\\$]*)
18849      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18850      ;;
18851    *)
18852      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18853      ;;
18854    esac
18855done
18856
18857# Double-quote double-evaled strings.
18858for var in reload_cmds \
18859old_postinstall_cmds \
18860old_postuninstall_cmds \
18861old_archive_cmds \
18862extract_expsyms_cmds \
18863old_archive_from_new_cmds \
18864old_archive_from_expsyms_cmds \
18865archive_cmds \
18866archive_expsym_cmds \
18867module_cmds \
18868module_expsym_cmds \
18869export_symbols_cmds \
18870prelink_cmds \
18871postlink_cmds \
18872postinstall_cmds \
18873postuninstall_cmds \
18874finish_cmds \
18875sys_lib_search_path_spec \
18876configure_time_dlsearch_path \
18877configure_time_lt_sys_library_path \
18878reload_cmds_CXX \
18879old_archive_cmds_CXX \
18880old_archive_from_new_cmds_CXX \
18881old_archive_from_expsyms_cmds_CXX \
18882archive_cmds_CXX \
18883archive_expsym_cmds_CXX \
18884module_cmds_CXX \
18885module_expsym_cmds_CXX \
18886export_symbols_cmds_CXX \
18887prelink_cmds_CXX \
18888postlink_cmds_CXX; do
18889    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18890    *[\\\\\\\`\\"\\\$]*)
18891      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18892      ;;
18893    *)
18894      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18895      ;;
18896    esac
18897done
18898
18899ac_aux_dir='$ac_aux_dir'
18900
18901# See if we are running on zsh, and set the options that allow our
18902# commands through without removal of \ escapes INIT.
18903if test -n "\${ZSH_VERSION+set}"; then
18904   setopt NO_GLOB_SUBST
18905fi
18906
18907
18908    PACKAGE='$PACKAGE'
18909    VERSION='$VERSION'
18910    RM='$RM'
18911    ofile='$ofile'
18912
18913
18914
18915
18916
18917
18918_ACEOF
18919
18920cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18921
18922# Handling of arguments.
18923for ac_config_target in $ac_config_targets
18924do
18925  case $ac_config_target in
18926    "build/config.h") CONFIG_HEADERS="$CONFIG_HEADERS build/config.h" ;;
18927    "atk/atkmmconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS atk/atkmmconfig.h" ;;
18928    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18929    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18930    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18931    "codegen/Makefile") CONFIG_FILES="$CONFIG_FILES codegen/Makefile" ;;
18932    "atk/${ATKMM_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES atk/${ATKMM_MODULE_NAME}.pc:atk/atkmm.pc.in" ;;
18933    "atk/${ATKMM_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES atk/${ATKMM_MODULE_NAME}-uninstalled.pc:atk/atkmm-uninstalled.pc.in" ;;
18934    "atk/src/Makefile") CONFIG_FILES="$CONFIG_FILES atk/src/Makefile" ;;
18935    "atk/atkmm/Makefile") CONFIG_FILES="$CONFIG_FILES atk/atkmm/Makefile" ;;
18936    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18937    "doc/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/reference/Doxyfile" ;;
18938    "MSVC_NMake/atkmm/atkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_NMake/atkmm/atkmm.rc" ;;
18939    "MSVC_NMake/atkmm/atkmmconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_NMake/atkmm/atkmmconfig.h" ;;
18940
18941  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18942  esac
18943done
18944
18945
18946# If the user did not use the arguments to specify the items to instantiate,
18947# then the envvar interface is used.  Set only those that are not.
18948# We use the long form for the default assignment because of an extremely
18949# bizarre bug on SunOS 4.1.3.
18950if $ac_need_defaults; then
18951  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18952  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18953  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18954fi
18955
18956# Have a temporary directory for convenience.  Make it in the build tree
18957# simply because there is no reason against having it here, and in addition,
18958# creating and moving files from /tmp can sometimes cause problems.
18959# Hook for its removal unless debugging.
18960# Note that there is a small window in which the directory will not be cleaned:
18961# after its creation but before its name has been assigned to `$tmp'.
18962$debug ||
18963{
18964  tmp= ac_tmp=
18965  trap 'exit_status=$?
18966  : "${ac_tmp:=$tmp}"
18967  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18968' 0
18969  trap 'as_fn_exit 1' 1 2 13 15
18970}
18971# Create a (secure) tmp directory for tmp files.
18972
18973{
18974  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18975  test -d "$tmp"
18976}  ||
18977{
18978  tmp=./conf$$-$RANDOM
18979  (umask 077 && mkdir "$tmp")
18980} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18981ac_tmp=$tmp
18982
18983# Set up the scripts for CONFIG_FILES section.
18984# No need to generate them if there are no CONFIG_FILES.
18985# This happens for instance with `./config.status config.h'.
18986if test -n "$CONFIG_FILES"; then
18987
18988
18989ac_cr=`echo X | tr X '\015'`
18990# On cygwin, bash can eat \r inside `` if the user requested igncr.
18991# But we know of no other shell where ac_cr would be empty at this
18992# point, so we can use a bashism as a fallback.
18993if test "x$ac_cr" = x; then
18994  eval ac_cr=\$\'\\r\'
18995fi
18996ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18997if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18998  ac_cs_awk_cr='\\r'
18999else
19000  ac_cs_awk_cr=$ac_cr
19001fi
19002
19003echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19004_ACEOF
19005
19006
19007{
19008  echo "cat >conf$$subs.awk <<_ACEOF" &&
19009  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19010  echo "_ACEOF"
19011} >conf$$subs.sh ||
19012  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19013ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19014ac_delim='%!_!# '
19015for ac_last_try in false false false false false :; do
19016  . ./conf$$subs.sh ||
19017    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19018
19019  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19020  if test $ac_delim_n = $ac_delim_num; then
19021    break
19022  elif $ac_last_try; then
19023    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19024  else
19025    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19026  fi
19027done
19028rm -f conf$$subs.sh
19029
19030cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19031cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19032_ACEOF
19033sed -n '
19034h
19035s/^/S["/; s/!.*/"]=/
19036p
19037g
19038s/^[^!]*!//
19039:repl
19040t repl
19041s/'"$ac_delim"'$//
19042t delim
19043:nl
19044h
19045s/\(.\{148\}\)..*/\1/
19046t more1
19047s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19048p
19049n
19050b repl
19051:more1
19052s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19053p
19054g
19055s/.\{148\}//
19056t nl
19057:delim
19058h
19059s/\(.\{148\}\)..*/\1/
19060t more2
19061s/["\\]/\\&/g; s/^/"/; s/$/"/
19062p
19063b
19064:more2
19065s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19066p
19067g
19068s/.\{148\}//
19069t delim
19070' <conf$$subs.awk | sed '
19071/^[^""]/{
19072  N
19073  s/\n//
19074}
19075' >>$CONFIG_STATUS || ac_write_fail=1
19076rm -f conf$$subs.awk
19077cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19078_ACAWK
19079cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19080  for (key in S) S_is_set[key] = 1
19081  FS = ""
19082
19083}
19084{
19085  line = $ 0
19086  nfields = split(line, field, "@")
19087  substed = 0
19088  len = length(field[1])
19089  for (i = 2; i < nfields; i++) {
19090    key = field[i]
19091    keylen = length(key)
19092    if (S_is_set[key]) {
19093      value = S[key]
19094      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19095      len += length(value) + length(field[++i])
19096      substed = 1
19097    } else
19098      len += 1 + keylen
19099  }
19100
19101  print line
19102}
19103
19104_ACAWK
19105_ACEOF
19106cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19107if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19108  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19109else
19110  cat
19111fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19112  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19113_ACEOF
19114
19115# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19116# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19117# trailing colons and then remove the whole line if VPATH becomes empty
19118# (actually we leave an empty line to preserve line numbers).
19119if test "x$srcdir" = x.; then
19120  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
19121h
19122s///
19123s/^/:/
19124s/[	 ]*$/:/
19125s/:\$(srcdir):/:/g
19126s/:\${srcdir}:/:/g
19127s/:@srcdir@:/:/g
19128s/^:*//
19129s/:*$//
19130x
19131s/\(=[	 ]*\).*/\1/
19132G
19133s/\n//
19134s/^[^=]*=[	 ]*$//
19135}'
19136fi
19137
19138cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19139fi # test -n "$CONFIG_FILES"
19140
19141# Set up the scripts for CONFIG_HEADERS section.
19142# No need to generate them if there are no CONFIG_HEADERS.
19143# This happens for instance with `./config.status Makefile'.
19144if test -n "$CONFIG_HEADERS"; then
19145cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19146BEGIN {
19147_ACEOF
19148
19149# Transform confdefs.h into an awk script `defines.awk', embedded as
19150# here-document in config.status, that substitutes the proper values into
19151# config.h.in to produce config.h.
19152
19153# Create a delimiter string that does not exist in confdefs.h, to ease
19154# handling of long lines.
19155ac_delim='%!_!# '
19156for ac_last_try in false false :; do
19157  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19158  if test -z "$ac_tt"; then
19159    break
19160  elif $ac_last_try; then
19161    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19162  else
19163    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19164  fi
19165done
19166
19167# For the awk script, D is an array of macro values keyed by name,
19168# likewise P contains macro parameters if any.  Preserve backslash
19169# newline sequences.
19170
19171ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19172sed -n '
19173s/.\{148\}/&'"$ac_delim"'/g
19174t rset
19175:rset
19176s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
19177t def
19178d
19179:def
19180s/\\$//
19181t bsnl
19182s/["\\]/\\&/g
19183s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19184D["\1"]=" \3"/p
19185s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
19186d
19187:bsnl
19188s/["\\]/\\&/g
19189s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19190D["\1"]=" \3\\\\\\n"\\/p
19191t cont
19192s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19193t cont
19194d
19195:cont
19196n
19197s/.\{148\}/&'"$ac_delim"'/g
19198t clear
19199:clear
19200s/\\$//
19201t bsnlc
19202s/["\\]/\\&/g; s/^/"/; s/$/"/p
19203d
19204:bsnlc
19205s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19206b cont
19207' <confdefs.h | sed '
19208s/'"$ac_delim"'/"\\\
19209"/g' >>$CONFIG_STATUS || ac_write_fail=1
19210
19211cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19212  for (key in D) D_is_set[key] = 1
19213  FS = ""
19214}
19215/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19216  line = \$ 0
19217  split(line, arg, " ")
19218  if (arg[1] == "#") {
19219    defundef = arg[2]
19220    mac1 = arg[3]
19221  } else {
19222    defundef = substr(arg[1], 2)
19223    mac1 = arg[2]
19224  }
19225  split(mac1, mac2, "(") #)
19226  macro = mac2[1]
19227  prefix = substr(line, 1, index(line, defundef) - 1)
19228  if (D_is_set[macro]) {
19229    # Preserve the white space surrounding the "#".
19230    print prefix "define", macro P[macro] D[macro]
19231    next
19232  } else {
19233    # Replace #undef with comments.  This is necessary, for example,
19234    # in the case of _POSIX_SOURCE, which is predefined and required
19235    # on some systems where configure will not decide to define it.
19236    if (defundef == "undef") {
19237      print "/*", prefix defundef, macro, "*/"
19238      next
19239    }
19240  }
19241}
19242{ print }
19243_ACAWK
19244_ACEOF
19245cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19246  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19247fi # test -n "$CONFIG_HEADERS"
19248
19249
19250eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19251shift
19252for ac_tag
19253do
19254  case $ac_tag in
19255  :[FHLC]) ac_mode=$ac_tag; continue;;
19256  esac
19257  case $ac_mode$ac_tag in
19258  :[FHL]*:*);;
19259  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19260  :[FH]-) ac_tag=-:-;;
19261  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19262  esac
19263  ac_save_IFS=$IFS
19264  IFS=:
19265  set x $ac_tag
19266  IFS=$ac_save_IFS
19267  shift
19268  ac_file=$1
19269  shift
19270
19271  case $ac_mode in
19272  :L) ac_source=$1;;
19273  :[FH])
19274    ac_file_inputs=
19275    for ac_f
19276    do
19277      case $ac_f in
19278      -) ac_f="$ac_tmp/stdin";;
19279      *) # Look for the file first in the build tree, then in the source tree
19280	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
19281	 # because $ac_f cannot contain `:'.
19282	 test -f "$ac_f" ||
19283	   case $ac_f in
19284	   [\\/$]*) false;;
19285	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19286	   esac ||
19287	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19288      esac
19289      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19290      as_fn_append ac_file_inputs " '$ac_f'"
19291    done
19292
19293    # Let's still pretend it is `configure' which instantiates (i.e., don't
19294    # use $as_me), people would be surprised to read:
19295    #    /* config.h.  Generated by config.status.  */
19296    configure_input='Generated from '`
19297	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19298	`' by configure.'
19299    if test x"$ac_file" != x-; then
19300      configure_input="$ac_file.  $configure_input"
19301      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19302$as_echo "$as_me: creating $ac_file" >&6;}
19303    fi
19304    # Neutralize special characters interpreted by sed in replacement strings.
19305    case $configure_input in #(
19306    *\&* | *\|* | *\\* )
19307       ac_sed_conf_input=`$as_echo "$configure_input" |
19308       sed 's/[\\\\&|]/\\\\&/g'`;; #(
19309    *) ac_sed_conf_input=$configure_input;;
19310    esac
19311
19312    case $ac_tag in
19313    *:-:* | *:-) cat >"$ac_tmp/stdin" \
19314      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19315    esac
19316    ;;
19317  esac
19318
19319  ac_dir=`$as_dirname -- "$ac_file" ||
19320$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19321	 X"$ac_file" : 'X\(//\)[^/]' \| \
19322	 X"$ac_file" : 'X\(//\)$' \| \
19323	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19324$as_echo X"$ac_file" |
19325    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19326	    s//\1/
19327	    q
19328	  }
19329	  /^X\(\/\/\)[^/].*/{
19330	    s//\1/
19331	    q
19332	  }
19333	  /^X\(\/\/\)$/{
19334	    s//\1/
19335	    q
19336	  }
19337	  /^X\(\/\).*/{
19338	    s//\1/
19339	    q
19340	  }
19341	  s/.*/./; q'`
19342  as_dir="$ac_dir"; as_fn_mkdir_p
19343  ac_builddir=.
19344
19345case "$ac_dir" in
19346.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19347*)
19348  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19349  # A ".." for each directory in $ac_dir_suffix.
19350  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19351  case $ac_top_builddir_sub in
19352  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19353  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19354  esac ;;
19355esac
19356ac_abs_top_builddir=$ac_pwd
19357ac_abs_builddir=$ac_pwd$ac_dir_suffix
19358# for backward compatibility:
19359ac_top_builddir=$ac_top_build_prefix
19360
19361case $srcdir in
19362  .)  # We are building in place.
19363    ac_srcdir=.
19364    ac_top_srcdir=$ac_top_builddir_sub
19365    ac_abs_top_srcdir=$ac_pwd ;;
19366  [\\/]* | ?:[\\/]* )  # Absolute name.
19367    ac_srcdir=$srcdir$ac_dir_suffix;
19368    ac_top_srcdir=$srcdir
19369    ac_abs_top_srcdir=$srcdir ;;
19370  *) # Relative name.
19371    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19372    ac_top_srcdir=$ac_top_build_prefix$srcdir
19373    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19374esac
19375ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19376
19377
19378  case $ac_mode in
19379  :F)
19380  #
19381  # CONFIG_FILE
19382  #
19383
19384  case $INSTALL in
19385  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19386  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19387  esac
19388  ac_MKDIR_P=$MKDIR_P
19389  case $MKDIR_P in
19390  [\\/$]* | ?:[\\/]* ) ;;
19391  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19392  esac
19393_ACEOF
19394
19395cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19396# If the template does not know about datarootdir, expand it.
19397# FIXME: This hack should be removed a few years after 2.60.
19398ac_datarootdir_hack=; ac_datarootdir_seen=
19399ac_sed_dataroot='
19400/datarootdir/ {
19401  p
19402  q
19403}
19404/@datadir@/p
19405/@docdir@/p
19406/@infodir@/p
19407/@localedir@/p
19408/@mandir@/p'
19409case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19410*datarootdir*) ac_datarootdir_seen=yes;;
19411*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19412  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19413$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19414_ACEOF
19415cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19416  ac_datarootdir_hack='
19417  s&@datadir@&$datadir&g
19418  s&@docdir@&$docdir&g
19419  s&@infodir@&$infodir&g
19420  s&@localedir@&$localedir&g
19421  s&@mandir@&$mandir&g
19422  s&\\\${datarootdir}&$datarootdir&g' ;;
19423esac
19424_ACEOF
19425
19426# Neutralize VPATH when `$srcdir' = `.'.
19427# Shell code in configure.ac might set extrasub.
19428# FIXME: do we really want to maintain this feature?
19429cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19430ac_sed_extra="$ac_vpsub
19431$extrasub
19432_ACEOF
19433cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19434:t
19435/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19436s|@configure_input@|$ac_sed_conf_input|;t t
19437s&@top_builddir@&$ac_top_builddir_sub&;t t
19438s&@top_build_prefix@&$ac_top_build_prefix&;t t
19439s&@srcdir@&$ac_srcdir&;t t
19440s&@abs_srcdir@&$ac_abs_srcdir&;t t
19441s&@top_srcdir@&$ac_top_srcdir&;t t
19442s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19443s&@builddir@&$ac_builddir&;t t
19444s&@abs_builddir@&$ac_abs_builddir&;t t
19445s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19446s&@INSTALL@&$ac_INSTALL&;t t
19447s&@MKDIR_P@&$ac_MKDIR_P&;t t
19448$ac_datarootdir_hack
19449"
19450eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19451  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19452
19453test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19454  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19455  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
19456      "$ac_tmp/out"`; test -z "$ac_out"; } &&
19457  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19458which seems to be undefined.  Please make sure it is defined" >&5
19459$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19460which seems to be undefined.  Please make sure it is defined" >&2;}
19461
19462  rm -f "$ac_tmp/stdin"
19463  case $ac_file in
19464  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19465  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19466  esac \
19467  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19468 ;;
19469  :H)
19470  #
19471  # CONFIG_HEADER
19472  #
19473  if test x"$ac_file" != x-; then
19474    {
19475      $as_echo "/* $configure_input  */" \
19476      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19477    } >"$ac_tmp/config.h" \
19478      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19479    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19480      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19481$as_echo "$as_me: $ac_file is unchanged" >&6;}
19482    else
19483      rm -f "$ac_file"
19484      mv "$ac_tmp/config.h" "$ac_file" \
19485	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
19486    fi
19487  else
19488    $as_echo "/* $configure_input  */" \
19489      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19490      || as_fn_error $? "could not create -" "$LINENO" 5
19491  fi
19492# Compute "$ac_file"'s index in $config_headers.
19493_am_arg="$ac_file"
19494_am_stamp_count=1
19495for _am_header in $config_headers :; do
19496  case $_am_header in
19497    $_am_arg | $_am_arg:* )
19498      break ;;
19499    * )
19500      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19501  esac
19502done
19503echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19504$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19505	 X"$_am_arg" : 'X\(//\)[^/]' \| \
19506	 X"$_am_arg" : 'X\(//\)$' \| \
19507	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19508$as_echo X"$_am_arg" |
19509    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19510	    s//\1/
19511	    q
19512	  }
19513	  /^X\(\/\/\)[^/].*/{
19514	    s//\1/
19515	    q
19516	  }
19517	  /^X\(\/\/\)$/{
19518	    s//\1/
19519	    q
19520	  }
19521	  /^X\(\/\).*/{
19522	    s//\1/
19523	    q
19524	  }
19525	  s/.*/./; q'`/stamp-h$_am_stamp_count
19526 ;;
19527
19528  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19529$as_echo "$as_me: executing $ac_file commands" >&6;}
19530 ;;
19531  esac
19532
19533
19534  case $ac_file$ac_mode in
19535    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19536  # Older Autoconf quotes --file arguments for eval, but not when files
19537  # are listed without --file.  Let's play safe and only enable the eval
19538  # if we detect the quoting.
19539  # TODO: see whether this extra hack can be removed once we start
19540  # requiring Autoconf 2.70 or later.
19541  case $CONFIG_FILES in #(
19542  *\'*) :
19543    eval set x "$CONFIG_FILES" ;; #(
19544  *) :
19545    set x $CONFIG_FILES ;; #(
19546  *) :
19547     ;;
19548esac
19549  shift
19550  # Used to flag and report bootstrapping failures.
19551  am_rc=0
19552  for am_mf
19553  do
19554    # Strip MF so we end up with the name of the file.
19555    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
19556    # Check whether this is an Automake generated Makefile which includes
19557    # dependency-tracking related rules and includes.
19558    # Grep'ing the whole file directly is not great: AIX grep has a line
19559    # limit of 2048, but all sed's we know have understand at least 4000.
19560    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
19561      || continue
19562    am_dirpart=`$as_dirname -- "$am_mf" ||
19563$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19564	 X"$am_mf" : 'X\(//\)[^/]' \| \
19565	 X"$am_mf" : 'X\(//\)$' \| \
19566	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19567$as_echo X"$am_mf" |
19568    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19569	    s//\1/
19570	    q
19571	  }
19572	  /^X\(\/\/\)[^/].*/{
19573	    s//\1/
19574	    q
19575	  }
19576	  /^X\(\/\/\)$/{
19577	    s//\1/
19578	    q
19579	  }
19580	  /^X\(\/\).*/{
19581	    s//\1/
19582	    q
19583	  }
19584	  s/.*/./; q'`
19585    am_filepart=`$as_basename -- "$am_mf" ||
19586$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
19587	 X"$am_mf" : 'X\(//\)$' \| \
19588	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19589$as_echo X/"$am_mf" |
19590    sed '/^.*\/\([^/][^/]*\)\/*$/{
19591	    s//\1/
19592	    q
19593	  }
19594	  /^X\/\(\/\/\)$/{
19595	    s//\1/
19596	    q
19597	  }
19598	  /^X\/\(\/\).*/{
19599	    s//\1/
19600	    q
19601	  }
19602	  s/.*/./; q'`
19603    { echo "$as_me:$LINENO: cd "$am_dirpart" \
19604      && sed -e '/# am--include-marker/d' "$am_filepart" \
19605        | $MAKE -f - am--depfiles" >&5
19606   (cd "$am_dirpart" \
19607      && sed -e '/# am--include-marker/d' "$am_filepart" \
19608        | $MAKE -f - am--depfiles) >&5 2>&5
19609   ac_status=$?
19610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611   (exit $ac_status); } || am_rc=$?
19612  done
19613  if test $am_rc -ne 0; then
19614    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19615$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19616as_fn_error $? "Something went wrong bootstrapping makefile fragments
19617    for automatic dependency tracking.  Try re-running configure with the
19618    '--disable-dependency-tracking' option to at least be able to build
19619    the package (albeit without support for automatic dependency tracking).
19620See \`config.log' for more details" "$LINENO" 5; }
19621  fi
19622  { am_dirpart=; unset am_dirpart;}
19623  { am_filepart=; unset am_filepart;}
19624  { am_mf=; unset am_mf;}
19625  { am_rc=; unset am_rc;}
19626  rm -f conftest-deps.mk
19627}
19628 ;;
19629    "libtool":C)
19630
19631    # See if we are running on zsh, and set the options that allow our
19632    # commands through without removal of \ escapes.
19633    if test -n "${ZSH_VERSION+set}"; then
19634      setopt NO_GLOB_SUBST
19635    fi
19636
19637    cfgfile=${ofile}T
19638    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19639    $RM "$cfgfile"
19640
19641    cat <<_LT_EOF >> "$cfgfile"
19642#! $SHELL
19643# Generated automatically by $as_me ($PACKAGE) $VERSION
19644# NOTE: Changes made to this file will be lost: look at ltmain.sh.
19645
19646# Provide generalized library-building support services.
19647# Written by Gordon Matzigkeit, 1996
19648
19649# Copyright (C) 2014 Free Software Foundation, Inc.
19650# This is free software; see the source for copying conditions.  There is NO
19651# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19652
19653# GNU Libtool is free software; you can redistribute it and/or modify
19654# it under the terms of the GNU General Public License as published by
19655# the Free Software Foundation; either version 2 of of the License, or
19656# (at your option) any later version.
19657#
19658# As a special exception to the GNU General Public License, if you
19659# distribute this file as part of a program or library that is built
19660# using GNU Libtool, you may include this file under the  same
19661# distribution terms that you use for the rest of that program.
19662#
19663# GNU Libtool is distributed in the hope that it will be useful, but
19664# WITHOUT ANY WARRANTY; without even the implied warranty of
19665# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19666# GNU General Public License for more details.
19667#
19668# You should have received a copy of the GNU General Public License
19669# along with this program.  If not, see <http://www.gnu.org/licenses/>.
19670
19671
19672# The names of the tagged configurations supported by this script.
19673available_tags='CXX '
19674
19675# Configured defaults for sys_lib_dlsearch_path munging.
19676: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19677
19678# ### BEGIN LIBTOOL CONFIG
19679
19680# Whether or not to build static libraries.
19681build_old_libs=$enable_static
19682
19683# Which release of libtool.m4 was used?
19684macro_version=$macro_version
19685macro_revision=$macro_revision
19686
19687# Assembler program.
19688AS=$lt_AS
19689
19690# DLL creation program.
19691DLLTOOL=$lt_DLLTOOL
19692
19693# Object dumper program.
19694OBJDUMP=$lt_OBJDUMP
19695
19696# Whether or not to build shared libraries.
19697build_libtool_libs=$enable_shared
19698
19699# What type of objects to build.
19700pic_mode=$pic_mode
19701
19702# Whether or not to optimize for fast installation.
19703fast_install=$enable_fast_install
19704
19705# Shared archive member basename,for filename based shared library versioning on AIX.
19706shared_archive_member_spec=$shared_archive_member_spec
19707
19708# Shell to use when invoking shell scripts.
19709SHELL=$lt_SHELL
19710
19711# An echo program that protects backslashes.
19712ECHO=$lt_ECHO
19713
19714# The PATH separator for the build system.
19715PATH_SEPARATOR=$lt_PATH_SEPARATOR
19716
19717# The host system.
19718host_alias=$host_alias
19719host=$host
19720host_os=$host_os
19721
19722# The build system.
19723build_alias=$build_alias
19724build=$build
19725build_os=$build_os
19726
19727# A sed program that does not truncate output.
19728SED=$lt_SED
19729
19730# Sed that helps us avoid accidentally triggering echo(1) options like -n.
19731Xsed="\$SED -e 1s/^X//"
19732
19733# A grep program that handles long lines.
19734GREP=$lt_GREP
19735
19736# An ERE matcher.
19737EGREP=$lt_EGREP
19738
19739# A literal string matcher.
19740FGREP=$lt_FGREP
19741
19742# A BSD- or MS-compatible name lister.
19743NM=$lt_NM
19744
19745# Whether we need soft or hard links.
19746LN_S=$lt_LN_S
19747
19748# What is the maximum length of a command?
19749max_cmd_len=$max_cmd_len
19750
19751# Object file suffix (normally "o").
19752objext=$ac_objext
19753
19754# Executable file suffix (normally "").
19755exeext=$exeext
19756
19757# whether the shell understands "unset".
19758lt_unset=$lt_unset
19759
19760# turn spaces into newlines.
19761SP2NL=$lt_lt_SP2NL
19762
19763# turn newlines into spaces.
19764NL2SP=$lt_lt_NL2SP
19765
19766# convert \$build file names to \$host format.
19767to_host_file_cmd=$lt_cv_to_host_file_cmd
19768
19769# convert \$build files to toolchain format.
19770to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19771
19772# Method to check whether dependent libraries are shared objects.
19773deplibs_check_method=$lt_deplibs_check_method
19774
19775# Command to use when deplibs_check_method = "file_magic".
19776file_magic_cmd=$lt_file_magic_cmd
19777
19778# How to find potential files when deplibs_check_method = "file_magic".
19779file_magic_glob=$lt_file_magic_glob
19780
19781# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19782want_nocaseglob=$lt_want_nocaseglob
19783
19784# Command to associate shared and link libraries.
19785sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19786
19787# The archiver.
19788AR=$lt_AR
19789
19790# Flags to create an archive.
19791AR_FLAGS=$lt_AR_FLAGS
19792
19793# How to feed a file listing to the archiver.
19794archiver_list_spec=$lt_archiver_list_spec
19795
19796# A symbol stripping program.
19797STRIP=$lt_STRIP
19798
19799# Commands used to install an old-style archive.
19800RANLIB=$lt_RANLIB
19801old_postinstall_cmds=$lt_old_postinstall_cmds
19802old_postuninstall_cmds=$lt_old_postuninstall_cmds
19803
19804# Whether to use a lock for old archive extraction.
19805lock_old_archive_extraction=$lock_old_archive_extraction
19806
19807# A C compiler.
19808LTCC=$lt_CC
19809
19810# LTCC compiler flags.
19811LTCFLAGS=$lt_CFLAGS
19812
19813# Take the output of nm and produce a listing of raw symbols and C names.
19814global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19815
19816# Transform the output of nm in a proper C declaration.
19817global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19818
19819# Transform the output of nm into a list of symbols to manually relocate.
19820global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19821
19822# Transform the output of nm in a C name address pair.
19823global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19824
19825# Transform the output of nm in a C name address pair when lib prefix is needed.
19826global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19827
19828# The name lister interface.
19829nm_interface=$lt_lt_cv_nm_interface
19830
19831# Specify filename containing input files for \$NM.
19832nm_file_list_spec=$lt_nm_file_list_spec
19833
19834# The root where to search for dependent libraries,and where our libraries should be installed.
19835lt_sysroot=$lt_sysroot
19836
19837# Command to truncate a binary pipe.
19838lt_truncate_bin=$lt_lt_cv_truncate_bin
19839
19840# The name of the directory that contains temporary libtool files.
19841objdir=$objdir
19842
19843# Used to examine libraries when file_magic_cmd begins with "file".
19844MAGIC_CMD=$MAGIC_CMD
19845
19846# Must we lock files when doing compilation?
19847need_locks=$lt_need_locks
19848
19849# Manifest tool.
19850MANIFEST_TOOL=$lt_MANIFEST_TOOL
19851
19852# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19853DSYMUTIL=$lt_DSYMUTIL
19854
19855# Tool to change global to local symbols on Mac OS X.
19856NMEDIT=$lt_NMEDIT
19857
19858# Tool to manipulate fat objects and archives on Mac OS X.
19859LIPO=$lt_LIPO
19860
19861# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19862OTOOL=$lt_OTOOL
19863
19864# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19865OTOOL64=$lt_OTOOL64
19866
19867# Old archive suffix (normally "a").
19868libext=$libext
19869
19870# Shared library suffix (normally ".so").
19871shrext_cmds=$lt_shrext_cmds
19872
19873# The commands to extract the exported symbol list from a shared archive.
19874extract_expsyms_cmds=$lt_extract_expsyms_cmds
19875
19876# Variables whose values should be saved in libtool wrapper scripts and
19877# restored at link time.
19878variables_saved_for_relink=$lt_variables_saved_for_relink
19879
19880# Do we need the "lib" prefix for modules?
19881need_lib_prefix=$need_lib_prefix
19882
19883# Do we need a version for libraries?
19884need_version=$need_version
19885
19886# Library versioning type.
19887version_type=$version_type
19888
19889# Shared library runtime path variable.
19890runpath_var=$runpath_var
19891
19892# Shared library path variable.
19893shlibpath_var=$shlibpath_var
19894
19895# Is shlibpath searched before the hard-coded library search path?
19896shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19897
19898# Format of library name prefix.
19899libname_spec=$lt_libname_spec
19900
19901# List of archive names.  First name is the real one, the rest are links.
19902# The last name is the one that the linker finds with -lNAME
19903library_names_spec=$lt_library_names_spec
19904
19905# The coded name of the library, if different from the real name.
19906soname_spec=$lt_soname_spec
19907
19908# Permission mode override for installation of shared libraries.
19909install_override_mode=$lt_install_override_mode
19910
19911# Command to use after installation of a shared archive.
19912postinstall_cmds=$lt_postinstall_cmds
19913
19914# Command to use after uninstallation of a shared archive.
19915postuninstall_cmds=$lt_postuninstall_cmds
19916
19917# Commands used to finish a libtool library installation in a directory.
19918finish_cmds=$lt_finish_cmds
19919
19920# As "finish_cmds", except a single script fragment to be evaled but
19921# not shown.
19922finish_eval=$lt_finish_eval
19923
19924# Whether we should hardcode library paths into libraries.
19925hardcode_into_libs=$hardcode_into_libs
19926
19927# Compile-time system search path for libraries.
19928sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19929
19930# Detected run-time system search path for libraries.
19931sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19932
19933# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19934configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19935
19936# Whether dlopen is supported.
19937dlopen_support=$enable_dlopen
19938
19939# Whether dlopen of programs is supported.
19940dlopen_self=$enable_dlopen_self
19941
19942# Whether dlopen of statically linked programs is supported.
19943dlopen_self_static=$enable_dlopen_self_static
19944
19945# Commands to strip libraries.
19946old_striplib=$lt_old_striplib
19947striplib=$lt_striplib
19948
19949
19950# The linker used to build libraries.
19951LD=$lt_LD
19952
19953# How to create reloadable object files.
19954reload_flag=$lt_reload_flag
19955reload_cmds=$lt_reload_cmds
19956
19957# Commands used to build an old-style archive.
19958old_archive_cmds=$lt_old_archive_cmds
19959
19960# A language specific compiler.
19961CC=$lt_compiler
19962
19963# Is the compiler the GNU compiler?
19964with_gcc=$GCC
19965
19966# Compiler flag to turn off builtin functions.
19967no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19968
19969# Additional compiler flags for building library objects.
19970pic_flag=$lt_lt_prog_compiler_pic
19971
19972# How to pass a linker flag through the compiler.
19973wl=$lt_lt_prog_compiler_wl
19974
19975# Compiler flag to prevent dynamic linking.
19976link_static_flag=$lt_lt_prog_compiler_static
19977
19978# Does compiler simultaneously support -c and -o options?
19979compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19980
19981# Whether or not to add -lc for building shared libraries.
19982build_libtool_need_lc=$archive_cmds_need_lc
19983
19984# Whether or not to disallow shared libs when runtime libs are static.
19985allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19986
19987# Compiler flag to allow reflexive dlopens.
19988export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19989
19990# Compiler flag to generate shared objects directly from archives.
19991whole_archive_flag_spec=$lt_whole_archive_flag_spec
19992
19993# Whether the compiler copes with passing no objects directly.
19994compiler_needs_object=$lt_compiler_needs_object
19995
19996# Create an old-style archive from a shared archive.
19997old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19998
19999# Create a temporary old-style archive to link instead of a shared archive.
20000old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20001
20002# Commands used to build a shared archive.
20003archive_cmds=$lt_archive_cmds
20004archive_expsym_cmds=$lt_archive_expsym_cmds
20005
20006# Commands used to build a loadable module if different from building
20007# a shared archive.
20008module_cmds=$lt_module_cmds
20009module_expsym_cmds=$lt_module_expsym_cmds
20010
20011# Whether we are building with GNU ld or not.
20012with_gnu_ld=$lt_with_gnu_ld
20013
20014# Flag that allows shared libraries with undefined symbols to be built.
20015allow_undefined_flag=$lt_allow_undefined_flag
20016
20017# Flag that enforces no undefined symbols.
20018no_undefined_flag=$lt_no_undefined_flag
20019
20020# Flag to hardcode \$libdir into a binary during linking.
20021# This must work even if \$libdir does not exist
20022hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20023
20024# Whether we need a single "-rpath" flag with a separated argument.
20025hardcode_libdir_separator=$lt_hardcode_libdir_separator
20026
20027# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20028# DIR into the resulting binary.
20029hardcode_direct=$hardcode_direct
20030
20031# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20032# DIR into the resulting binary and the resulting library dependency is
20033# "absolute",i.e impossible to change by setting \$shlibpath_var if the
20034# library is relocated.
20035hardcode_direct_absolute=$hardcode_direct_absolute
20036
20037# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20038# into the resulting binary.
20039hardcode_minus_L=$hardcode_minus_L
20040
20041# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20042# into the resulting binary.
20043hardcode_shlibpath_var=$hardcode_shlibpath_var
20044
20045# Set to "yes" if building a shared library automatically hardcodes DIR
20046# into the library and all subsequent libraries and executables linked
20047# against it.
20048hardcode_automatic=$hardcode_automatic
20049
20050# Set to yes if linker adds runtime paths of dependent libraries
20051# to runtime path list.
20052inherit_rpath=$inherit_rpath
20053
20054# Whether libtool must link a program against all its dependency libraries.
20055link_all_deplibs=$link_all_deplibs
20056
20057# Set to "yes" if exported symbols are required.
20058always_export_symbols=$always_export_symbols
20059
20060# The commands to list exported symbols.
20061export_symbols_cmds=$lt_export_symbols_cmds
20062
20063# Symbols that should not be listed in the preloaded symbols.
20064exclude_expsyms=$lt_exclude_expsyms
20065
20066# Symbols that must always be exported.
20067include_expsyms=$lt_include_expsyms
20068
20069# Commands necessary for linking programs (against libraries) with templates.
20070prelink_cmds=$lt_prelink_cmds
20071
20072# Commands necessary for finishing linking programs.
20073postlink_cmds=$lt_postlink_cmds
20074
20075# Specify filename containing input files.
20076file_list_spec=$lt_file_list_spec
20077
20078# How to hardcode a shared library path into an executable.
20079hardcode_action=$hardcode_action
20080
20081# The directories searched by this compiler when creating a shared library.
20082compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20083
20084# Dependencies to place before and after the objects being linked to
20085# create a shared library.
20086predep_objects=$lt_predep_objects
20087postdep_objects=$lt_postdep_objects
20088predeps=$lt_predeps
20089postdeps=$lt_postdeps
20090
20091# The library search path used internally by the compiler when linking
20092# a shared library.
20093compiler_lib_search_path=$lt_compiler_lib_search_path
20094
20095# ### END LIBTOOL CONFIG
20096
20097_LT_EOF
20098
20099    cat <<'_LT_EOF' >> "$cfgfile"
20100
20101# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
20102
20103# func_munge_path_list VARIABLE PATH
20104# -----------------------------------
20105# VARIABLE is name of variable containing _space_ separated list of
20106# directories to be munged by the contents of PATH, which is string
20107# having a format:
20108# "DIR[:DIR]:"
20109#       string "DIR[ DIR]" will be prepended to VARIABLE
20110# ":DIR[:DIR]"
20111#       string "DIR[ DIR]" will be appended to VARIABLE
20112# "DIRP[:DIRP]::[DIRA:]DIRA"
20113#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
20114#       "DIRA[ DIRA]" will be appended to VARIABLE
20115# "DIR[:DIR]"
20116#       VARIABLE will be replaced by "DIR[ DIR]"
20117func_munge_path_list ()
20118{
20119    case x$2 in
20120    x)
20121        ;;
20122    *:)
20123        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
20124        ;;
20125    x:*)
20126        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
20127        ;;
20128    *::*)
20129        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
20130        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
20131        ;;
20132    *)
20133        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
20134        ;;
20135    esac
20136}
20137
20138
20139# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
20140func_cc_basename ()
20141{
20142    for cc_temp in $*""; do
20143      case $cc_temp in
20144        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20145        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20146        \-*) ;;
20147        *) break;;
20148      esac
20149    done
20150    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
20151}
20152
20153
20154# ### END FUNCTIONS SHARED WITH CONFIGURE
20155
20156_LT_EOF
20157
20158  case $host_os in
20159  aix3*)
20160    cat <<\_LT_EOF >> "$cfgfile"
20161# AIX sometimes has problems with the GCC collect2 program.  For some
20162# reason, if we set the COLLECT_NAMES environment variable, the problems
20163# vanish in a puff of smoke.
20164if test set != "${COLLECT_NAMES+set}"; then
20165  COLLECT_NAMES=
20166  export COLLECT_NAMES
20167fi
20168_LT_EOF
20169    ;;
20170  esac
20171
20172
20173ltmain=$ac_aux_dir/ltmain.sh
20174
20175
20176  # We use sed instead of cat because bash on DJGPP gets confused if
20177  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20178  # text mode, it properly converts lines to CR/LF.  This bash problem
20179  # is reportedly fixed, but why not run on old versions too?
20180  sed '$q' "$ltmain" >> "$cfgfile" \
20181     || (rm -f "$cfgfile"; exit 1)
20182
20183   mv -f "$cfgfile" "$ofile" ||
20184    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20185  chmod +x "$ofile"
20186
20187
20188    cat <<_LT_EOF >> "$ofile"
20189
20190# ### BEGIN LIBTOOL TAG CONFIG: CXX
20191
20192# The linker used to build libraries.
20193LD=$lt_LD_CXX
20194
20195# How to create reloadable object files.
20196reload_flag=$lt_reload_flag_CXX
20197reload_cmds=$lt_reload_cmds_CXX
20198
20199# Commands used to build an old-style archive.
20200old_archive_cmds=$lt_old_archive_cmds_CXX
20201
20202# A language specific compiler.
20203CC=$lt_compiler_CXX
20204
20205# Is the compiler the GNU compiler?
20206with_gcc=$GCC_CXX
20207
20208# Compiler flag to turn off builtin functions.
20209no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20210
20211# Additional compiler flags for building library objects.
20212pic_flag=$lt_lt_prog_compiler_pic_CXX
20213
20214# How to pass a linker flag through the compiler.
20215wl=$lt_lt_prog_compiler_wl_CXX
20216
20217# Compiler flag to prevent dynamic linking.
20218link_static_flag=$lt_lt_prog_compiler_static_CXX
20219
20220# Does compiler simultaneously support -c and -o options?
20221compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20222
20223# Whether or not to add -lc for building shared libraries.
20224build_libtool_need_lc=$archive_cmds_need_lc_CXX
20225
20226# Whether or not to disallow shared libs when runtime libs are static.
20227allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20228
20229# Compiler flag to allow reflexive dlopens.
20230export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20231
20232# Compiler flag to generate shared objects directly from archives.
20233whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20234
20235# Whether the compiler copes with passing no objects directly.
20236compiler_needs_object=$lt_compiler_needs_object_CXX
20237
20238# Create an old-style archive from a shared archive.
20239old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20240
20241# Create a temporary old-style archive to link instead of a shared archive.
20242old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20243
20244# Commands used to build a shared archive.
20245archive_cmds=$lt_archive_cmds_CXX
20246archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20247
20248# Commands used to build a loadable module if different from building
20249# a shared archive.
20250module_cmds=$lt_module_cmds_CXX
20251module_expsym_cmds=$lt_module_expsym_cmds_CXX
20252
20253# Whether we are building with GNU ld or not.
20254with_gnu_ld=$lt_with_gnu_ld_CXX
20255
20256# Flag that allows shared libraries with undefined symbols to be built.
20257allow_undefined_flag=$lt_allow_undefined_flag_CXX
20258
20259# Flag that enforces no undefined symbols.
20260no_undefined_flag=$lt_no_undefined_flag_CXX
20261
20262# Flag to hardcode \$libdir into a binary during linking.
20263# This must work even if \$libdir does not exist
20264hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20265
20266# Whether we need a single "-rpath" flag with a separated argument.
20267hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20268
20269# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20270# DIR into the resulting binary.
20271hardcode_direct=$hardcode_direct_CXX
20272
20273# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20274# DIR into the resulting binary and the resulting library dependency is
20275# "absolute",i.e impossible to change by setting \$shlibpath_var if the
20276# library is relocated.
20277hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20278
20279# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20280# into the resulting binary.
20281hardcode_minus_L=$hardcode_minus_L_CXX
20282
20283# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20284# into the resulting binary.
20285hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20286
20287# Set to "yes" if building a shared library automatically hardcodes DIR
20288# into the library and all subsequent libraries and executables linked
20289# against it.
20290hardcode_automatic=$hardcode_automatic_CXX
20291
20292# Set to yes if linker adds runtime paths of dependent libraries
20293# to runtime path list.
20294inherit_rpath=$inherit_rpath_CXX
20295
20296# Whether libtool must link a program against all its dependency libraries.
20297link_all_deplibs=$link_all_deplibs_CXX
20298
20299# Set to "yes" if exported symbols are required.
20300always_export_symbols=$always_export_symbols_CXX
20301
20302# The commands to list exported symbols.
20303export_symbols_cmds=$lt_export_symbols_cmds_CXX
20304
20305# Symbols that should not be listed in the preloaded symbols.
20306exclude_expsyms=$lt_exclude_expsyms_CXX
20307
20308# Symbols that must always be exported.
20309include_expsyms=$lt_include_expsyms_CXX
20310
20311# Commands necessary for linking programs (against libraries) with templates.
20312prelink_cmds=$lt_prelink_cmds_CXX
20313
20314# Commands necessary for finishing linking programs.
20315postlink_cmds=$lt_postlink_cmds_CXX
20316
20317# Specify filename containing input files.
20318file_list_spec=$lt_file_list_spec_CXX
20319
20320# How to hardcode a shared library path into an executable.
20321hardcode_action=$hardcode_action_CXX
20322
20323# The directories searched by this compiler when creating a shared library.
20324compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20325
20326# Dependencies to place before and after the objects being linked to
20327# create a shared library.
20328predep_objects=$lt_predep_objects_CXX
20329postdep_objects=$lt_postdep_objects_CXX
20330predeps=$lt_predeps_CXX
20331postdeps=$lt_postdeps_CXX
20332
20333# The library search path used internally by the compiler when linking
20334# a shared library.
20335compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20336
20337# ### END LIBTOOL TAG CONFIG: CXX
20338_LT_EOF
20339
20340 ;;
20341    "MSVC_NMake/atkmm/atkmmconfig.h":C) cp -f atk/atkmmconfig.h MSVC_NMake/atkmm/atkmmconfig.h ;;
20342
20343  esac
20344done # for ac_tag
20345
20346
20347as_fn_exit 0
20348_ACEOF
20349ac_clean_files=$ac_clean_files_save
20350
20351test $ac_write_fail = 0 ||
20352  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20353
20354
20355# configure is writing to config.log, and then calls config.status.
20356# config.status does its own redirection, appending to config.log.
20357# Unfortunately, on DOS this fails, as config.log is still kept open
20358# by configure, so config.status won't be able to write to it; its
20359# output is simply discarded.  So we exec the FD to /dev/null,
20360# effectively closing config.log, so it can be properly (re)opened and
20361# appended to by config.status.  When coming back to configure, we
20362# need to make the FD available again.
20363if test "$no_create" != yes; then
20364  ac_cs_success=:
20365  ac_config_status_args=
20366  test "$silent" = yes &&
20367    ac_config_status_args="$ac_config_status_args --quiet"
20368  exec 5>/dev/null
20369  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20370  exec 5>>config.log
20371  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20372  # would make configure fail if this is the last instruction.
20373  $ac_cs_success || as_fn_exit 1
20374fi
20375if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20376  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20377$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20378fi
20379
20380