1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for lordsawar 0.3.2.
4#
5# Report bugs to <https://savannah.nongnu.org/bugs/?group=lordsawar>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1
202
203  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207    PATH=/empty FPATH=/empty; export PATH FPATH
208    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: https://savannah.nongnu.org/bugs/?group=lordsawar about
279$0: your system, including any error possibly output before
280$0: this message. Then install a modern shell, or manually
281$0: run 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='lordsawar'
592PACKAGE_TARNAME='lordsawar'
593PACKAGE_VERSION='0.3.2'
594PACKAGE_STRING='lordsawar 0.3.2'
595PACKAGE_BUGREPORT='https://savannah.nongnu.org/bugs/?group=lordsawar'
596PACKAGE_URL=''
597
598ac_unique_file="config.h.in"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639WINDOWS_OS_FALSE
640WINDOWS_OS_TRUE
641DATADIR
642LORDSAWAR_DATADIR
643SCREEN_RESOLUTION
644GSTREAMER_LIBS
645GSTREAMER_CFLAGS
646WANT_GHS_FALSE
647WANT_GHS_TRUE
648WANT_GLS_FALSE
649WANT_GLS_TRUE
650HOME
651LIBSIGC_LIBS
652LIBSIGC_CFLAGS
653ARCHIVE_LIBS
654ARCHIVE_CFLAGS
655XMLPP_LIBS
656XMLPP_CFLAGS
657GTKMM_LIBS
658GTKMM_CFLAGS
659GLIBMM_LIBS
660GLIBMM_CFLAGS
661XSLT_LIBS
662XSLT_CFLAGS
663PKG_CONFIG_LIBDIR
664PKG_CONFIG_PATH
665PKG_CONFIG
666CXXCPP
667LT_SYS_LIBRARY_PATH
668OTOOL64
669OTOOL
670LIPO
671NMEDIT
672DSYMUTIL
673MANIFEST_TOOL
674RANLIB
675ac_ct_AR
676AR
677DLLTOOL
678OBJDUMP
679LN_S
680NM
681ac_ct_DUMPBIN
682DUMPBIN
683LD
684FGREP
685SED
686LIBTOOL
687gppver
688am__fastdepCXX_FALSE
689am__fastdepCXX_TRUE
690CXXDEPMODE
691ac_ct_CXX
692CXXFLAGS
693CXX
694PROGRAMNAME_LOCALEDIR
695MKINSTALLDIRS
696POSUB
697POFILES
698PO_IN_DATADIR_FALSE
699PO_IN_DATADIR_TRUE
700INTLLIBS
701INSTOBJEXT
702GMOFILES
703DATADIRNAME
704CATOBJEXT
705CATALOGS
706MSGFMT_OPTS
707INTL_MACOSX_LIBS
708EGREP
709GREP
710CPP
711am__fastdepCC_FALSE
712am__fastdepCC_TRUE
713CCDEPMODE
714am__nodep
715AMDEPBACKSLASH
716AMDEP_FALSE
717AMDEP_TRUE
718am__include
719DEPDIR
720OBJEXT
721EXEEXT
722ac_ct_CC
723CPPFLAGS
724LDFLAGS
725CFLAGS
726CC
727GETTEXT_PACKAGE
728ALL_LINGUAS
729INTLTOOL_PERL
730GMSGFMT
731MSGFMT
732MSGMERGE
733XGETTEXT
734INTLTOOL_POLICY_RULE
735INTLTOOL_SERVICE_RULE
736INTLTOOL_THEME_RULE
737INTLTOOL_SCHEMAS_RULE
738INTLTOOL_CAVES_RULE
739INTLTOOL_XML_NOMERGE_RULE
740INTLTOOL_XML_RULE
741INTLTOOL_KBD_RULE
742INTLTOOL_XAM_RULE
743INTLTOOL_UI_RULE
744INTLTOOL_SOUNDLIST_RULE
745INTLTOOL_SHEET_RULE
746INTLTOOL_SERVER_RULE
747INTLTOOL_PONG_RULE
748INTLTOOL_OAF_RULE
749INTLTOOL_PROP_RULE
750INTLTOOL_KEYS_RULE
751INTLTOOL_DIRECTORY_RULE
752INTLTOOL_DESKTOP_RULE
753intltool__v_merge_options_0
754intltool__v_merge_options_
755INTLTOOL_V_MERGE_OPTIONS
756INTLTOOL__v_MERGE_0
757INTLTOOL__v_MERGE_
758INTLTOOL_V_MERGE
759INTLTOOL_EXTRACT
760INTLTOOL_MERGE
761INTLTOOL_UPDATE
762USE_NLS
763AM_BACKSLASH
764AM_DEFAULT_VERBOSITY
765AM_DEFAULT_V
766AM_V
767am__untar
768am__tar
769AMTAR
770am__leading_dot
771SET_MAKE
772AWK
773mkdir_p
774MKDIR_P
775INSTALL_STRIP_PROGRAM
776STRIP
777install_sh
778MAKEINFO
779AUTOHEADER
780AUTOMAKE
781AUTOCONF
782ACLOCAL
783VERSION
784PACKAGE
785CYGPATH_W
786am__isrc
787INSTALL_DATA
788INSTALL_SCRIPT
789INSTALL_PROGRAM
790target_os
791target_vendor
792target_cpu
793target
794host_os
795host_vendor
796host_cpu
797host
798build_os
799build_vendor
800build_cpu
801build
802target_alias
803host_alias
804build_alias
805LIBS
806ECHO_T
807ECHO_N
808ECHO_C
809DEFS
810mandir
811localedir
812libdir
813psdir
814pdfdir
815dvidir
816htmldir
817infodir
818docdir
819oldincludedir
820includedir
821localstatedir
822sharedstatedir
823sysconfdir
824datadir
825datarootdir
826libexecdir
827sbindir
828bindir
829program_transform_name
830prefix
831exec_prefix
832PACKAGE_URL
833PACKAGE_BUGREPORT
834PACKAGE_STRING
835PACKAGE_VERSION
836PACKAGE_TARNAME
837PACKAGE_NAME
838PATH_SEPARATOR
839SHELL
840am__quote'
841ac_subst_files=''
842ac_user_opts='
843enable_option_checking
844enable_silent_rules
845enable_nls
846enable_dependency_tracking
847enable_shared
848enable_static
849with_pic
850enable_fast_install
851with_aix_soname
852with_gnu_ld
853with_sysroot
854enable_libtool_lock
855enable_gls
856enable_ghs
857enable_sound
858with_resolution
859enable_optimizations
860'
861      ac_precious_vars='build_alias
862host_alias
863target_alias
864CC
865CFLAGS
866LDFLAGS
867LIBS
868CPPFLAGS
869CPP
870CXX
871CXXFLAGS
872CCC
873LT_SYS_LIBRARY_PATH
874CXXCPP
875PKG_CONFIG
876PKG_CONFIG_PATH
877PKG_CONFIG_LIBDIR
878XSLT_CFLAGS
879XSLT_LIBS
880GLIBMM_CFLAGS
881GLIBMM_LIBS
882GTKMM_CFLAGS
883GTKMM_LIBS
884XMLPP_CFLAGS
885XMLPP_LIBS
886ARCHIVE_CFLAGS
887ARCHIVE_LIBS
888LIBSIGC_CFLAGS
889LIBSIGC_LIBS
890GSTREAMER_CFLAGS
891GSTREAMER_LIBS'
892
893
894# Initialize some variables set by options.
895ac_init_help=
896ac_init_version=false
897ac_unrecognized_opts=
898ac_unrecognized_sep=
899# The variables have the same names as the options, with
900# dashes changed to underlines.
901cache_file=/dev/null
902exec_prefix=NONE
903no_create=
904no_recursion=
905prefix=NONE
906program_prefix=NONE
907program_suffix=NONE
908program_transform_name=s,x,x,
909silent=
910site=
911srcdir=
912verbose=
913x_includes=NONE
914x_libraries=NONE
915
916# Installation directory options.
917# These are left unexpanded so users can "make install exec_prefix=/foo"
918# and all the variables that are supposed to be based on exec_prefix
919# by default will actually change.
920# Use braces instead of parens because sh, perl, etc. also accept them.
921# (The list follows the same order as the GNU Coding Standards.)
922bindir='${exec_prefix}/bin'
923sbindir='${exec_prefix}/sbin'
924libexecdir='${exec_prefix}/libexec'
925datarootdir='${prefix}/share'
926datadir='${datarootdir}'
927sysconfdir='${prefix}/etc'
928sharedstatedir='${prefix}/com'
929localstatedir='${prefix}/var'
930includedir='${prefix}/include'
931oldincludedir='/usr/include'
932docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
933infodir='${datarootdir}/info'
934htmldir='${docdir}'
935dvidir='${docdir}'
936pdfdir='${docdir}'
937psdir='${docdir}'
938libdir='${exec_prefix}/lib'
939localedir='${datarootdir}/locale'
940mandir='${datarootdir}/man'
941
942ac_prev=
943ac_dashdash=
944for ac_option
945do
946  # If the previous option needs an argument, assign it.
947  if test -n "$ac_prev"; then
948    eval $ac_prev=\$ac_option
949    ac_prev=
950    continue
951  fi
952
953  case $ac_option in
954  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
955  *=)   ac_optarg= ;;
956  *)    ac_optarg=yes ;;
957  esac
958
959  # Accept the important Cygnus configure options, so we can diagnose typos.
960
961  case $ac_dashdash$ac_option in
962  --)
963    ac_dashdash=yes ;;
964
965  -bindir | --bindir | --bindi | --bind | --bin | --bi)
966    ac_prev=bindir ;;
967  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
968    bindir=$ac_optarg ;;
969
970  -build | --build | --buil | --bui | --bu)
971    ac_prev=build_alias ;;
972  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
973    build_alias=$ac_optarg ;;
974
975  -cache-file | --cache-file | --cache-fil | --cache-fi \
976  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
977    ac_prev=cache_file ;;
978  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
979  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
980    cache_file=$ac_optarg ;;
981
982  --config-cache | -C)
983    cache_file=config.cache ;;
984
985  -datadir | --datadir | --datadi | --datad)
986    ac_prev=datadir ;;
987  -datadir=* | --datadir=* | --datadi=* | --datad=*)
988    datadir=$ac_optarg ;;
989
990  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
991  | --dataroo | --dataro | --datar)
992    ac_prev=datarootdir ;;
993  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
994  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
995    datarootdir=$ac_optarg ;;
996
997  -disable-* | --disable-*)
998    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
999    # Reject names that are not valid shell variable names.
1000    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1001      as_fn_error $? "invalid feature name: $ac_useropt"
1002    ac_useropt_orig=$ac_useropt
1003    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004    case $ac_user_opts in
1005      *"
1006"enable_$ac_useropt"
1007"*) ;;
1008      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1009	 ac_unrecognized_sep=', ';;
1010    esac
1011    eval enable_$ac_useropt=no ;;
1012
1013  -docdir | --docdir | --docdi | --doc | --do)
1014    ac_prev=docdir ;;
1015  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1016    docdir=$ac_optarg ;;
1017
1018  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1019    ac_prev=dvidir ;;
1020  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1021    dvidir=$ac_optarg ;;
1022
1023  -enable-* | --enable-*)
1024    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1025    # Reject names that are not valid shell variable names.
1026    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027      as_fn_error $? "invalid feature name: $ac_useropt"
1028    ac_useropt_orig=$ac_useropt
1029    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030    case $ac_user_opts in
1031      *"
1032"enable_$ac_useropt"
1033"*) ;;
1034      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1035	 ac_unrecognized_sep=', ';;
1036    esac
1037    eval enable_$ac_useropt=\$ac_optarg ;;
1038
1039  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1040  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1041  | --exec | --exe | --ex)
1042    ac_prev=exec_prefix ;;
1043  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1044  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1045  | --exec=* | --exe=* | --ex=*)
1046    exec_prefix=$ac_optarg ;;
1047
1048  -gas | --gas | --ga | --g)
1049    # Obsolete; use --with-gas.
1050    with_gas=yes ;;
1051
1052  -help | --help | --hel | --he | -h)
1053    ac_init_help=long ;;
1054  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1055    ac_init_help=recursive ;;
1056  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1057    ac_init_help=short ;;
1058
1059  -host | --host | --hos | --ho)
1060    ac_prev=host_alias ;;
1061  -host=* | --host=* | --hos=* | --ho=*)
1062    host_alias=$ac_optarg ;;
1063
1064  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1065    ac_prev=htmldir ;;
1066  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1067  | --ht=*)
1068    htmldir=$ac_optarg ;;
1069
1070  -includedir | --includedir | --includedi | --included | --include \
1071  | --includ | --inclu | --incl | --inc)
1072    ac_prev=includedir ;;
1073  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1074  | --includ=* | --inclu=* | --incl=* | --inc=*)
1075    includedir=$ac_optarg ;;
1076
1077  -infodir | --infodir | --infodi | --infod | --info | --inf)
1078    ac_prev=infodir ;;
1079  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1080    infodir=$ac_optarg ;;
1081
1082  -libdir | --libdir | --libdi | --libd)
1083    ac_prev=libdir ;;
1084  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1085    libdir=$ac_optarg ;;
1086
1087  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1088  | --libexe | --libex | --libe)
1089    ac_prev=libexecdir ;;
1090  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1091  | --libexe=* | --libex=* | --libe=*)
1092    libexecdir=$ac_optarg ;;
1093
1094  -localedir | --localedir | --localedi | --localed | --locale)
1095    ac_prev=localedir ;;
1096  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1097    localedir=$ac_optarg ;;
1098
1099  -localstatedir | --localstatedir | --localstatedi | --localstated \
1100  | --localstate | --localstat | --localsta | --localst | --locals)
1101    ac_prev=localstatedir ;;
1102  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1103  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1104    localstatedir=$ac_optarg ;;
1105
1106  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1107    ac_prev=mandir ;;
1108  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1109    mandir=$ac_optarg ;;
1110
1111  -nfp | --nfp | --nf)
1112    # Obsolete; use --without-fp.
1113    with_fp=no ;;
1114
1115  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1116  | --no-cr | --no-c | -n)
1117    no_create=yes ;;
1118
1119  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1120  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1121    no_recursion=yes ;;
1122
1123  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1124  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1125  | --oldin | --oldi | --old | --ol | --o)
1126    ac_prev=oldincludedir ;;
1127  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1128  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1129  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1130    oldincludedir=$ac_optarg ;;
1131
1132  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1133    ac_prev=prefix ;;
1134  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1135    prefix=$ac_optarg ;;
1136
1137  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1138  | --program-pre | --program-pr | --program-p)
1139    ac_prev=program_prefix ;;
1140  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1141  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1142    program_prefix=$ac_optarg ;;
1143
1144  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1145  | --program-suf | --program-su | --program-s)
1146    ac_prev=program_suffix ;;
1147  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1148  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1149    program_suffix=$ac_optarg ;;
1150
1151  -program-transform-name | --program-transform-name \
1152  | --program-transform-nam | --program-transform-na \
1153  | --program-transform-n | --program-transform- \
1154  | --program-transform | --program-transfor \
1155  | --program-transfo | --program-transf \
1156  | --program-trans | --program-tran \
1157  | --progr-tra | --program-tr | --program-t)
1158    ac_prev=program_transform_name ;;
1159  -program-transform-name=* | --program-transform-name=* \
1160  | --program-transform-nam=* | --program-transform-na=* \
1161  | --program-transform-n=* | --program-transform-=* \
1162  | --program-transform=* | --program-transfor=* \
1163  | --program-transfo=* | --program-transf=* \
1164  | --program-trans=* | --program-tran=* \
1165  | --progr-tra=* | --program-tr=* | --program-t=*)
1166    program_transform_name=$ac_optarg ;;
1167
1168  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1169    ac_prev=pdfdir ;;
1170  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1171    pdfdir=$ac_optarg ;;
1172
1173  -psdir | --psdir | --psdi | --psd | --ps)
1174    ac_prev=psdir ;;
1175  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1176    psdir=$ac_optarg ;;
1177
1178  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1179  | -silent | --silent | --silen | --sile | --sil)
1180    silent=yes ;;
1181
1182  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1183    ac_prev=sbindir ;;
1184  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1185  | --sbi=* | --sb=*)
1186    sbindir=$ac_optarg ;;
1187
1188  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1189  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1190  | --sharedst | --shareds | --shared | --share | --shar \
1191  | --sha | --sh)
1192    ac_prev=sharedstatedir ;;
1193  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1194  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1195  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1196  | --sha=* | --sh=*)
1197    sharedstatedir=$ac_optarg ;;
1198
1199  -site | --site | --sit)
1200    ac_prev=site ;;
1201  -site=* | --site=* | --sit=*)
1202    site=$ac_optarg ;;
1203
1204  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1205    ac_prev=srcdir ;;
1206  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1207    srcdir=$ac_optarg ;;
1208
1209  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1210  | --syscon | --sysco | --sysc | --sys | --sy)
1211    ac_prev=sysconfdir ;;
1212  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1213  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1214    sysconfdir=$ac_optarg ;;
1215
1216  -target | --target | --targe | --targ | --tar | --ta | --t)
1217    ac_prev=target_alias ;;
1218  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1219    target_alias=$ac_optarg ;;
1220
1221  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1222    verbose=yes ;;
1223
1224  -version | --version | --versio | --versi | --vers | -V)
1225    ac_init_version=: ;;
1226
1227  -with-* | --with-*)
1228    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1229    # Reject names that are not valid shell variable names.
1230    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1231      as_fn_error $? "invalid package name: $ac_useropt"
1232    ac_useropt_orig=$ac_useropt
1233    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1234    case $ac_user_opts in
1235      *"
1236"with_$ac_useropt"
1237"*) ;;
1238      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1239	 ac_unrecognized_sep=', ';;
1240    esac
1241    eval with_$ac_useropt=\$ac_optarg ;;
1242
1243  -without-* | --without-*)
1244    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1245    # Reject names that are not valid shell variable names.
1246    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1247      as_fn_error $? "invalid package name: $ac_useropt"
1248    ac_useropt_orig=$ac_useropt
1249    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1250    case $ac_user_opts in
1251      *"
1252"with_$ac_useropt"
1253"*) ;;
1254      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1255	 ac_unrecognized_sep=', ';;
1256    esac
1257    eval with_$ac_useropt=no ;;
1258
1259  --x)
1260    # Obsolete; use --with-x.
1261    with_x=yes ;;
1262
1263  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1264  | --x-incl | --x-inc | --x-in | --x-i)
1265    ac_prev=x_includes ;;
1266  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1267  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1268    x_includes=$ac_optarg ;;
1269
1270  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1271  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1272    ac_prev=x_libraries ;;
1273  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1274  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1275    x_libraries=$ac_optarg ;;
1276
1277  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1278Try \`$0 --help' for more information"
1279    ;;
1280
1281  *=*)
1282    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1283    # Reject names that are not valid shell variable names.
1284    case $ac_envvar in #(
1285      '' | [0-9]* | *[!_$as_cr_alnum]* )
1286      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1287    esac
1288    eval $ac_envvar=\$ac_optarg
1289    export $ac_envvar ;;
1290
1291  *)
1292    # FIXME: should be removed in autoconf 3.0.
1293    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1294    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1295      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1296    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1297    ;;
1298
1299  esac
1300done
1301
1302if test -n "$ac_prev"; then
1303  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1304  as_fn_error $? "missing argument to $ac_option"
1305fi
1306
1307if test -n "$ac_unrecognized_opts"; then
1308  case $enable_option_checking in
1309    no) ;;
1310    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1311    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1312  esac
1313fi
1314
1315# Check all directory arguments for consistency.
1316for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1317		datadir sysconfdir sharedstatedir localstatedir includedir \
1318		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1319		libdir localedir mandir
1320do
1321  eval ac_val=\$$ac_var
1322  # Remove trailing slashes.
1323  case $ac_val in
1324    */ )
1325      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1326      eval $ac_var=\$ac_val;;
1327  esac
1328  # Be sure to have absolute directory names.
1329  case $ac_val in
1330    [\\/$]* | ?:[\\/]* )  continue;;
1331    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1332  esac
1333  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1334done
1335
1336# There might be people who depend on the old broken behavior: `$host'
1337# used to hold the argument of --host etc.
1338# FIXME: To remove some day.
1339build=$build_alias
1340host=$host_alias
1341target=$target_alias
1342
1343# FIXME: To remove some day.
1344if test "x$host_alias" != x; then
1345  if test "x$build_alias" = x; then
1346    cross_compiling=maybe
1347  elif test "x$build_alias" != "x$host_alias"; then
1348    cross_compiling=yes
1349  fi
1350fi
1351
1352ac_tool_prefix=
1353test -n "$host_alias" && ac_tool_prefix=$host_alias-
1354
1355test "$silent" = yes && exec 6>/dev/null
1356
1357
1358ac_pwd=`pwd` && test -n "$ac_pwd" &&
1359ac_ls_di=`ls -di .` &&
1360ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1361  as_fn_error $? "working directory cannot be determined"
1362test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1363  as_fn_error $? "pwd does not report name of working directory"
1364
1365
1366# Find the source files, if location was not specified.
1367if test -z "$srcdir"; then
1368  ac_srcdir_defaulted=yes
1369  # Try the directory containing this script, then the parent directory.
1370  ac_confdir=`$as_dirname -- "$as_myself" ||
1371$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1372	 X"$as_myself" : 'X\(//\)[^/]' \| \
1373	 X"$as_myself" : 'X\(//\)$' \| \
1374	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1375$as_echo X"$as_myself" |
1376    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1377	    s//\1/
1378	    q
1379	  }
1380	  /^X\(\/\/\)[^/].*/{
1381	    s//\1/
1382	    q
1383	  }
1384	  /^X\(\/\/\)$/{
1385	    s//\1/
1386	    q
1387	  }
1388	  /^X\(\/\).*/{
1389	    s//\1/
1390	    q
1391	  }
1392	  s/.*/./; q'`
1393  srcdir=$ac_confdir
1394  if test ! -r "$srcdir/$ac_unique_file"; then
1395    srcdir=..
1396  fi
1397else
1398  ac_srcdir_defaulted=no
1399fi
1400if test ! -r "$srcdir/$ac_unique_file"; then
1401  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1402  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1403fi
1404ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1405ac_abs_confdir=`(
1406	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1407	pwd)`
1408# When building in place, set srcdir=.
1409if test "$ac_abs_confdir" = "$ac_pwd"; then
1410  srcdir=.
1411fi
1412# Remove unnecessary trailing slashes from srcdir.
1413# Double slashes in file names in object file debugging info
1414# mess up M-x gdb in Emacs.
1415case $srcdir in
1416*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1417esac
1418for ac_var in $ac_precious_vars; do
1419  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1420  eval ac_env_${ac_var}_value=\$${ac_var}
1421  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1422  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1423done
1424
1425#
1426# Report the --help message.
1427#
1428if test "$ac_init_help" = "long"; then
1429  # Omit some internal or obsolete options to make the list less imposing.
1430  # This message is too long to be a string in the A/UX 3.1 sh.
1431  cat <<_ACEOF
1432\`configure' configures lordsawar 0.3.2 to adapt to many kinds of systems.
1433
1434Usage: $0 [OPTION]... [VAR=VALUE]...
1435
1436To assign environment variables (e.g., CC, CFLAGS...), specify them as
1437VAR=VALUE.  See below for descriptions of some of the useful variables.
1438
1439Defaults for the options are specified in brackets.
1440
1441Configuration:
1442  -h, --help              display this help and exit
1443      --help=short        display options specific to this package
1444      --help=recursive    display the short help of all the included packages
1445  -V, --version           display version information and exit
1446  -q, --quiet, --silent   do not print \`checking ...' messages
1447      --cache-file=FILE   cache test results in FILE [disabled]
1448  -C, --config-cache      alias for \`--cache-file=config.cache'
1449  -n, --no-create         do not create output files
1450      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1451
1452Installation directories:
1453  --prefix=PREFIX         install architecture-independent files in PREFIX
1454                          [$ac_default_prefix]
1455  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1456                          [PREFIX]
1457
1458By default, \`make install' will install all the files in
1459\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1460an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1461for instance \`--prefix=\$HOME'.
1462
1463For better control, use the options below.
1464
1465Fine tuning of the installation directories:
1466  --bindir=DIR            user executables [EPREFIX/bin]
1467  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1468  --libexecdir=DIR        program executables [EPREFIX/libexec]
1469  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1470  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1471  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1472  --libdir=DIR            object code libraries [EPREFIX/lib]
1473  --includedir=DIR        C header files [PREFIX/include]
1474  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1475  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1476  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1477  --infodir=DIR           info documentation [DATAROOTDIR/info]
1478  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1479  --mandir=DIR            man documentation [DATAROOTDIR/man]
1480  --docdir=DIR            documentation root [DATAROOTDIR/doc/lordsawar]
1481  --htmldir=DIR           html documentation [DOCDIR]
1482  --dvidir=DIR            dvi documentation [DOCDIR]
1483  --pdfdir=DIR            pdf documentation [DOCDIR]
1484  --psdir=DIR             ps documentation [DOCDIR]
1485_ACEOF
1486
1487  cat <<\_ACEOF
1488
1489Program names:
1490  --program-prefix=PREFIX            prepend PREFIX to installed program names
1491  --program-suffix=SUFFIX            append SUFFIX to installed program names
1492  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1493
1494System types:
1495  --build=BUILD     configure for building on BUILD [guessed]
1496  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1497  --target=TARGET   configure for building compilers for TARGET [HOST]
1498_ACEOF
1499fi
1500
1501if test -n "$ac_init_help"; then
1502  case $ac_init_help in
1503     short | recursive ) echo "Configuration of lordsawar 0.3.2:";;
1504   esac
1505  cat <<\_ACEOF
1506
1507Optional Features:
1508  --disable-option-checking  ignore unrecognized --enable/--with options
1509  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1510  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1511  --enable-silent-rules   less verbose build output (undo: "make V=1")
1512  --disable-silent-rules  verbose build output (undo: "make V=0")
1513  --disable-nls           do not use Native Language Support
1514  --enable-dependency-tracking
1515                          do not reject slow dependency extractors
1516  --disable-dependency-tracking
1517                          speeds up one-time build
1518  --enable-shared[=PKGS]  build shared libraries [default=yes]
1519  --enable-static[=PKGS]  build static libraries [default=yes]
1520  --enable-fast-install[=PKGS]
1521                          optimize for fast installation [default=yes]
1522  --disable-libtool-lock  avoid locking (might break parallel builds)
1523  --enable-gls     compile game list server (default=yes)
1524  --enable-ghs     compile game host server (default=yes)
1525  --enable-sound         Enable or disable sound usage (default on)
1526  --enable-optimizations    enable compiler optimizations (disable for debugging) default=yes
1527
1528Optional Packages:
1529  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1530  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1531  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1532                          both]
1533  --with-aix-soname=aix|svr4|both
1534                          shared library versioning (aka "SONAME") variant to
1535                          provide on AIX, [default=aix].
1536  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1537  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1538                          compiler's sysroot if not specified).
1539  --with-resolution=RES standard resolution for lordsawar default=800x600
1540
1541Some influential environment variables:
1542  CC          C compiler command
1543  CFLAGS      C compiler flags
1544  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1545              nonstandard directory <lib dir>
1546  LIBS        libraries to pass to the linker, e.g. -l<library>
1547  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1548              you have headers in a nonstandard directory <include dir>
1549  CPP         C preprocessor
1550  CXX         C++ compiler command
1551  CXXFLAGS    C++ compiler flags
1552  LT_SYS_LIBRARY_PATH
1553              User-defined run-time library search path.
1554  CXXCPP      C++ preprocessor
1555  PKG_CONFIG  path to pkg-config utility
1556  PKG_CONFIG_PATH
1557              directories to add to pkg-config's search path
1558  PKG_CONFIG_LIBDIR
1559              path overriding pkg-config's built-in search path
1560  XSLT_CFLAGS C compiler flags for XSLT, overriding pkg-config
1561  XSLT_LIBS   linker flags for XSLT, overriding pkg-config
1562  GLIBMM_CFLAGS
1563              C compiler flags for GLIBMM, overriding pkg-config
1564  GLIBMM_LIBS linker flags for GLIBMM, overriding pkg-config
1565  GTKMM_CFLAGS
1566              C compiler flags for GTKMM, overriding pkg-config
1567  GTKMM_LIBS  linker flags for GTKMM, overriding pkg-config
1568  XMLPP_CFLAGS
1569              C compiler flags for XMLPP, overriding pkg-config
1570  XMLPP_LIBS  linker flags for XMLPP, overriding pkg-config
1571  ARCHIVE_CFLAGS
1572              C compiler flags for ARCHIVE, overriding pkg-config
1573  ARCHIVE_LIBS
1574              linker flags for ARCHIVE, overriding pkg-config
1575  LIBSIGC_CFLAGS
1576              C compiler flags for LIBSIGC, overriding pkg-config
1577  LIBSIGC_LIBS
1578              linker flags for LIBSIGC, overriding pkg-config
1579  GSTREAMER_CFLAGS
1580              C compiler flags for GSTREAMER, overriding pkg-config
1581  GSTREAMER_LIBS
1582              linker flags for GSTREAMER, overriding pkg-config
1583
1584Use these variables to override the choices made by `configure' or to help
1585it to find libraries and programs with nonstandard names/locations.
1586
1587Report bugs to <https://savannah.nongnu.org/bugs/?group=lordsawar>.
1588_ACEOF
1589ac_status=$?
1590fi
1591
1592if test "$ac_init_help" = "recursive"; then
1593  # If there are subdirs, report their specific --help.
1594  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1595    test -d "$ac_dir" ||
1596      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1597      continue
1598    ac_builddir=.
1599
1600case "$ac_dir" in
1601.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1602*)
1603  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1604  # A ".." for each directory in $ac_dir_suffix.
1605  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1606  case $ac_top_builddir_sub in
1607  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1609  esac ;;
1610esac
1611ac_abs_top_builddir=$ac_pwd
1612ac_abs_builddir=$ac_pwd$ac_dir_suffix
1613# for backward compatibility:
1614ac_top_builddir=$ac_top_build_prefix
1615
1616case $srcdir in
1617  .)  # We are building in place.
1618    ac_srcdir=.
1619    ac_top_srcdir=$ac_top_builddir_sub
1620    ac_abs_top_srcdir=$ac_pwd ;;
1621  [\\/]* | ?:[\\/]* )  # Absolute name.
1622    ac_srcdir=$srcdir$ac_dir_suffix;
1623    ac_top_srcdir=$srcdir
1624    ac_abs_top_srcdir=$srcdir ;;
1625  *) # Relative name.
1626    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1627    ac_top_srcdir=$ac_top_build_prefix$srcdir
1628    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1629esac
1630ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1631
1632    cd "$ac_dir" || { ac_status=$?; continue; }
1633    # Check for guested configure.
1634    if test -f "$ac_srcdir/configure.gnu"; then
1635      echo &&
1636      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1637    elif test -f "$ac_srcdir/configure"; then
1638      echo &&
1639      $SHELL "$ac_srcdir/configure" --help=recursive
1640    else
1641      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1642    fi || ac_status=$?
1643    cd "$ac_pwd" || { ac_status=$?; break; }
1644  done
1645fi
1646
1647test -n "$ac_init_help" && exit $ac_status
1648if $ac_init_version; then
1649  cat <<\_ACEOF
1650lordsawar configure 0.3.2
1651generated by GNU Autoconf 2.69
1652
1653Copyright (C) 2012 Free Software Foundation, Inc.
1654This configure script is free software; the Free Software Foundation
1655gives unlimited permission to copy, distribute and modify it.
1656_ACEOF
1657  exit
1658fi
1659
1660## ------------------------ ##
1661## Autoconf initialization. ##
1662## ------------------------ ##
1663
1664# ac_fn_c_try_compile LINENO
1665# --------------------------
1666# Try to compile conftest.$ac_ext, and return whether this succeeded.
1667ac_fn_c_try_compile ()
1668{
1669  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670  rm -f conftest.$ac_objext
1671  if { { ac_try="$ac_compile"
1672case "(($ac_try" in
1673  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674  *) ac_try_echo=$ac_try;;
1675esac
1676eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677$as_echo "$ac_try_echo"; } >&5
1678  (eval "$ac_compile") 2>conftest.err
1679  ac_status=$?
1680  if test -s conftest.err; then
1681    grep -v '^ *+' conftest.err >conftest.er1
1682    cat conftest.er1 >&5
1683    mv -f conftest.er1 conftest.err
1684  fi
1685  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686  test $ac_status = 0; } && {
1687	 test -z "$ac_c_werror_flag" ||
1688	 test ! -s conftest.err
1689       } && test -s conftest.$ac_objext; then :
1690  ac_retval=0
1691else
1692  $as_echo "$as_me: failed program was:" >&5
1693sed 's/^/| /' conftest.$ac_ext >&5
1694
1695	ac_retval=1
1696fi
1697  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698  as_fn_set_status $ac_retval
1699
1700} # ac_fn_c_try_compile
1701
1702# ac_fn_c_try_cpp LINENO
1703# ----------------------
1704# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1705ac_fn_c_try_cpp ()
1706{
1707  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708  if { { ac_try="$ac_cpp conftest.$ac_ext"
1709case "(($ac_try" in
1710  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711  *) ac_try_echo=$ac_try;;
1712esac
1713eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714$as_echo "$ac_try_echo"; } >&5
1715  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1716  ac_status=$?
1717  if test -s conftest.err; then
1718    grep -v '^ *+' conftest.err >conftest.er1
1719    cat conftest.er1 >&5
1720    mv -f conftest.er1 conftest.err
1721  fi
1722  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723  test $ac_status = 0; } > conftest.i && {
1724	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1725	 test ! -s conftest.err
1726       }; then :
1727  ac_retval=0
1728else
1729  $as_echo "$as_me: failed program was:" >&5
1730sed 's/^/| /' conftest.$ac_ext >&5
1731
1732    ac_retval=1
1733fi
1734  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735  as_fn_set_status $ac_retval
1736
1737} # ac_fn_c_try_cpp
1738
1739# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1740# -------------------------------------------------------
1741# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1742# the include files in INCLUDES and setting the cache variable VAR
1743# accordingly.
1744ac_fn_c_check_header_mongrel ()
1745{
1746  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747  if eval \${$3+:} false; then :
1748  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1749$as_echo_n "checking for $2... " >&6; }
1750if eval \${$3+:} false; then :
1751  $as_echo_n "(cached) " >&6
1752fi
1753eval ac_res=\$$3
1754	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1755$as_echo "$ac_res" >&6; }
1756else
1757  # Is the header compilable?
1758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1759$as_echo_n "checking $2 usability... " >&6; }
1760cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761/* end confdefs.h.  */
1762$4
1763#include <$2>
1764_ACEOF
1765if ac_fn_c_try_compile "$LINENO"; then :
1766  ac_header_compiler=yes
1767else
1768  ac_header_compiler=no
1769fi
1770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1772$as_echo "$ac_header_compiler" >&6; }
1773
1774# Is the header present?
1775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1776$as_echo_n "checking $2 presence... " >&6; }
1777cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1778/* end confdefs.h.  */
1779#include <$2>
1780_ACEOF
1781if ac_fn_c_try_cpp "$LINENO"; then :
1782  ac_header_preproc=yes
1783else
1784  ac_header_preproc=no
1785fi
1786rm -f conftest.err conftest.i conftest.$ac_ext
1787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1788$as_echo "$ac_header_preproc" >&6; }
1789
1790# So?  What about this header?
1791case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1792  yes:no: )
1793    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1794$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1795    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1796$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1797    ;;
1798  no:yes:* )
1799    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1800$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1801    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1802$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1803    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1804$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1805    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1806$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1807    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1808$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1809( $as_echo "## ---------------------------------------------------------------- ##
1810## Report this to https://savannah.nongnu.org/bugs/?group=lordsawar ##
1811## ---------------------------------------------------------------- ##"
1812     ) | sed "s/^/$as_me: WARNING:     /" >&2
1813    ;;
1814esac
1815  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816$as_echo_n "checking for $2... " >&6; }
1817if eval \${$3+:} false; then :
1818  $as_echo_n "(cached) " >&6
1819else
1820  eval "$3=\$ac_header_compiler"
1821fi
1822eval ac_res=\$$3
1823	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1824$as_echo "$ac_res" >&6; }
1825fi
1826  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1827
1828} # ac_fn_c_check_header_mongrel
1829
1830# ac_fn_c_try_run LINENO
1831# ----------------------
1832# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1833# that executables *can* be run.
1834ac_fn_c_try_run ()
1835{
1836  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837  if { { ac_try="$ac_link"
1838case "(($ac_try" in
1839  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840  *) ac_try_echo=$ac_try;;
1841esac
1842eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843$as_echo "$ac_try_echo"; } >&5
1844  (eval "$ac_link") 2>&5
1845  ac_status=$?
1846  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1848  { { case "(($ac_try" in
1849  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1850  *) ac_try_echo=$ac_try;;
1851esac
1852eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853$as_echo "$ac_try_echo"; } >&5
1854  (eval "$ac_try") 2>&5
1855  ac_status=$?
1856  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857  test $ac_status = 0; }; }; then :
1858  ac_retval=0
1859else
1860  $as_echo "$as_me: program exited with status $ac_status" >&5
1861       $as_echo "$as_me: failed program was:" >&5
1862sed 's/^/| /' conftest.$ac_ext >&5
1863
1864       ac_retval=$ac_status
1865fi
1866  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1867  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868  as_fn_set_status $ac_retval
1869
1870} # ac_fn_c_try_run
1871
1872# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1873# -------------------------------------------------------
1874# Tests whether HEADER exists and can be compiled using the include files in
1875# INCLUDES, setting the cache variable VAR accordingly.
1876ac_fn_c_check_header_compile ()
1877{
1878  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1880$as_echo_n "checking for $2... " >&6; }
1881if eval \${$3+:} false; then :
1882  $as_echo_n "(cached) " >&6
1883else
1884  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1885/* end confdefs.h.  */
1886$4
1887#include <$2>
1888_ACEOF
1889if ac_fn_c_try_compile "$LINENO"; then :
1890  eval "$3=yes"
1891else
1892  eval "$3=no"
1893fi
1894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1895fi
1896eval ac_res=\$$3
1897	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898$as_echo "$ac_res" >&6; }
1899  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900
1901} # ac_fn_c_check_header_compile
1902
1903# ac_fn_c_try_link LINENO
1904# -----------------------
1905# Try to link conftest.$ac_ext, and return whether this succeeded.
1906ac_fn_c_try_link ()
1907{
1908  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909  rm -f conftest.$ac_objext conftest$ac_exeext
1910  if { { ac_try="$ac_link"
1911case "(($ac_try" in
1912  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1913  *) ac_try_echo=$ac_try;;
1914esac
1915eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1916$as_echo "$ac_try_echo"; } >&5
1917  (eval "$ac_link") 2>conftest.err
1918  ac_status=$?
1919  if test -s conftest.err; then
1920    grep -v '^ *+' conftest.err >conftest.er1
1921    cat conftest.er1 >&5
1922    mv -f conftest.er1 conftest.err
1923  fi
1924  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1925  test $ac_status = 0; } && {
1926	 test -z "$ac_c_werror_flag" ||
1927	 test ! -s conftest.err
1928       } && test -s conftest$ac_exeext && {
1929	 test "$cross_compiling" = yes ||
1930	 test -x conftest$ac_exeext
1931       }; then :
1932  ac_retval=0
1933else
1934  $as_echo "$as_me: failed program was:" >&5
1935sed 's/^/| /' conftest.$ac_ext >&5
1936
1937	ac_retval=1
1938fi
1939  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1940  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1941  # interfere with the next link command; also delete a directory that is
1942  # left behind by Apple's compiler.  We do this before executing the actions.
1943  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1944  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1945  as_fn_set_status $ac_retval
1946
1947} # ac_fn_c_try_link
1948
1949# ac_fn_c_check_func LINENO FUNC VAR
1950# ----------------------------------
1951# Tests whether FUNC exists, setting the cache variable VAR accordingly
1952ac_fn_c_check_func ()
1953{
1954  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1955  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1956$as_echo_n "checking for $2... " >&6; }
1957if eval \${$3+:} false; then :
1958  $as_echo_n "(cached) " >&6
1959else
1960  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1961/* end confdefs.h.  */
1962/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1963   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1964#define $2 innocuous_$2
1965
1966/* System header to define __stub macros and hopefully few prototypes,
1967    which can conflict with char $2 (); below.
1968    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1969    <limits.h> exists even on freestanding compilers.  */
1970
1971#ifdef __STDC__
1972# include <limits.h>
1973#else
1974# include <assert.h>
1975#endif
1976
1977#undef $2
1978
1979/* Override any GCC internal prototype to avoid an error.
1980   Use char because int might match the return type of a GCC
1981   builtin and then its argument prototype would still apply.  */
1982#ifdef __cplusplus
1983extern "C"
1984#endif
1985char $2 ();
1986/* The GNU C library defines this for functions which it implements
1987    to always fail with ENOSYS.  Some functions are actually named
1988    something starting with __ and the normal name is an alias.  */
1989#if defined __stub_$2 || defined __stub___$2
1990choke me
1991#endif
1992
1993int
1994main ()
1995{
1996return $2 ();
1997  ;
1998  return 0;
1999}
2000_ACEOF
2001if ac_fn_c_try_link "$LINENO"; then :
2002  eval "$3=yes"
2003else
2004  eval "$3=no"
2005fi
2006rm -f core conftest.err conftest.$ac_objext \
2007    conftest$ac_exeext conftest.$ac_ext
2008fi
2009eval ac_res=\$$3
2010	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011$as_echo "$ac_res" >&6; }
2012  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013
2014} # ac_fn_c_check_func
2015
2016# ac_fn_cxx_try_compile LINENO
2017# ----------------------------
2018# Try to compile conftest.$ac_ext, and return whether this succeeded.
2019ac_fn_cxx_try_compile ()
2020{
2021  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022  rm -f conftest.$ac_objext
2023  if { { ac_try="$ac_compile"
2024case "(($ac_try" in
2025  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2026  *) ac_try_echo=$ac_try;;
2027esac
2028eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2029$as_echo "$ac_try_echo"; } >&5
2030  (eval "$ac_compile") 2>conftest.err
2031  ac_status=$?
2032  if test -s conftest.err; then
2033    grep -v '^ *+' conftest.err >conftest.er1
2034    cat conftest.er1 >&5
2035    mv -f conftest.er1 conftest.err
2036  fi
2037  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2038  test $ac_status = 0; } && {
2039	 test -z "$ac_cxx_werror_flag" ||
2040	 test ! -s conftest.err
2041       } && test -s conftest.$ac_objext; then :
2042  ac_retval=0
2043else
2044  $as_echo "$as_me: failed program was:" >&5
2045sed 's/^/| /' conftest.$ac_ext >&5
2046
2047	ac_retval=1
2048fi
2049  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2050  as_fn_set_status $ac_retval
2051
2052} # ac_fn_cxx_try_compile
2053
2054# ac_fn_cxx_try_cpp LINENO
2055# ------------------------
2056# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2057ac_fn_cxx_try_cpp ()
2058{
2059  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060  if { { ac_try="$ac_cpp conftest.$ac_ext"
2061case "(($ac_try" in
2062  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2063  *) ac_try_echo=$ac_try;;
2064esac
2065eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2066$as_echo "$ac_try_echo"; } >&5
2067  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2068  ac_status=$?
2069  if test -s conftest.err; then
2070    grep -v '^ *+' conftest.err >conftest.er1
2071    cat conftest.er1 >&5
2072    mv -f conftest.er1 conftest.err
2073  fi
2074  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2075  test $ac_status = 0; } > conftest.i && {
2076	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2077	 test ! -s conftest.err
2078       }; then :
2079  ac_retval=0
2080else
2081  $as_echo "$as_me: failed program was:" >&5
2082sed 's/^/| /' conftest.$ac_ext >&5
2083
2084    ac_retval=1
2085fi
2086  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2087  as_fn_set_status $ac_retval
2088
2089} # ac_fn_cxx_try_cpp
2090
2091# ac_fn_cxx_try_link LINENO
2092# -------------------------
2093# Try to link conftest.$ac_ext, and return whether this succeeded.
2094ac_fn_cxx_try_link ()
2095{
2096  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2097  rm -f conftest.$ac_objext conftest$ac_exeext
2098  if { { ac_try="$ac_link"
2099case "(($ac_try" in
2100  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2101  *) ac_try_echo=$ac_try;;
2102esac
2103eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2104$as_echo "$ac_try_echo"; } >&5
2105  (eval "$ac_link") 2>conftest.err
2106  ac_status=$?
2107  if test -s conftest.err; then
2108    grep -v '^ *+' conftest.err >conftest.er1
2109    cat conftest.er1 >&5
2110    mv -f conftest.er1 conftest.err
2111  fi
2112  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2113  test $ac_status = 0; } && {
2114	 test -z "$ac_cxx_werror_flag" ||
2115	 test ! -s conftest.err
2116       } && test -s conftest$ac_exeext && {
2117	 test "$cross_compiling" = yes ||
2118	 test -x conftest$ac_exeext
2119       }; then :
2120  ac_retval=0
2121else
2122  $as_echo "$as_me: failed program was:" >&5
2123sed 's/^/| /' conftest.$ac_ext >&5
2124
2125	ac_retval=1
2126fi
2127  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2128  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2129  # interfere with the next link command; also delete a directory that is
2130  # left behind by Apple's compiler.  We do this before executing the actions.
2131  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2132  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133  as_fn_set_status $ac_retval
2134
2135} # ac_fn_cxx_try_link
2136cat >config.log <<_ACEOF
2137This file contains any messages produced by compilers while
2138running configure, to aid debugging if configure makes a mistake.
2139
2140It was created by lordsawar $as_me 0.3.2, which was
2141generated by GNU Autoconf 2.69.  Invocation command line was
2142
2143  $ $0 $@
2144
2145_ACEOF
2146exec 5>>config.log
2147{
2148cat <<_ASUNAME
2149## --------- ##
2150## Platform. ##
2151## --------- ##
2152
2153hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2154uname -m = `(uname -m) 2>/dev/null || echo unknown`
2155uname -r = `(uname -r) 2>/dev/null || echo unknown`
2156uname -s = `(uname -s) 2>/dev/null || echo unknown`
2157uname -v = `(uname -v) 2>/dev/null || echo unknown`
2158
2159/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2160/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2161
2162/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2163/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2164/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2165/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2166/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2167/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2168/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2169
2170_ASUNAME
2171
2172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173for as_dir in $PATH
2174do
2175  IFS=$as_save_IFS
2176  test -z "$as_dir" && as_dir=.
2177    $as_echo "PATH: $as_dir"
2178  done
2179IFS=$as_save_IFS
2180
2181} >&5
2182
2183cat >&5 <<_ACEOF
2184
2185
2186## ----------- ##
2187## Core tests. ##
2188## ----------- ##
2189
2190_ACEOF
2191
2192
2193# Keep a trace of the command line.
2194# Strip out --no-create and --no-recursion so they do not pile up.
2195# Strip out --silent because we don't want to record it for future runs.
2196# Also quote any args containing shell meta-characters.
2197# Make two passes to allow for proper duplicate-argument suppression.
2198ac_configure_args=
2199ac_configure_args0=
2200ac_configure_args1=
2201ac_must_keep_next=false
2202for ac_pass in 1 2
2203do
2204  for ac_arg
2205  do
2206    case $ac_arg in
2207    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2208    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2209    | -silent | --silent | --silen | --sile | --sil)
2210      continue ;;
2211    *\'*)
2212      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2213    esac
2214    case $ac_pass in
2215    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2216    2)
2217      as_fn_append ac_configure_args1 " '$ac_arg'"
2218      if test $ac_must_keep_next = true; then
2219	ac_must_keep_next=false # Got value, back to normal.
2220      else
2221	case $ac_arg in
2222	  *=* | --config-cache | -C | -disable-* | --disable-* \
2223	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2224	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2225	  | -with-* | --with-* | -without-* | --without-* | --x)
2226	    case "$ac_configure_args0 " in
2227	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2228	    esac
2229	    ;;
2230	  -* ) ac_must_keep_next=true ;;
2231	esac
2232      fi
2233      as_fn_append ac_configure_args " '$ac_arg'"
2234      ;;
2235    esac
2236  done
2237done
2238{ ac_configure_args0=; unset ac_configure_args0;}
2239{ ac_configure_args1=; unset ac_configure_args1;}
2240
2241# When interrupted or exit'd, cleanup temporary files, and complete
2242# config.log.  We remove comments because anyway the quotes in there
2243# would cause problems or look ugly.
2244# WARNING: Use '\'' to represent an apostrophe within the trap.
2245# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2246trap 'exit_status=$?
2247  # Save into config.log some information that might help in debugging.
2248  {
2249    echo
2250
2251    $as_echo "## ---------------- ##
2252## Cache variables. ##
2253## ---------------- ##"
2254    echo
2255    # The following way of writing the cache mishandles newlines in values,
2256(
2257  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2258    eval ac_val=\$$ac_var
2259    case $ac_val in #(
2260    *${as_nl}*)
2261      case $ac_var in #(
2262      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2263$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2264      esac
2265      case $ac_var in #(
2266      _ | IFS | as_nl) ;; #(
2267      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2268      *) { eval $ac_var=; unset $ac_var;} ;;
2269      esac ;;
2270    esac
2271  done
2272  (set) 2>&1 |
2273    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2274    *${as_nl}ac_space=\ *)
2275      sed -n \
2276	"s/'\''/'\''\\\\'\'''\''/g;
2277	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2278      ;; #(
2279    *)
2280      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2281      ;;
2282    esac |
2283    sort
2284)
2285    echo
2286
2287    $as_echo "## ----------------- ##
2288## Output variables. ##
2289## ----------------- ##"
2290    echo
2291    for ac_var in $ac_subst_vars
2292    do
2293      eval ac_val=\$$ac_var
2294      case $ac_val in
2295      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2296      esac
2297      $as_echo "$ac_var='\''$ac_val'\''"
2298    done | sort
2299    echo
2300
2301    if test -n "$ac_subst_files"; then
2302      $as_echo "## ------------------- ##
2303## File substitutions. ##
2304## ------------------- ##"
2305      echo
2306      for ac_var in $ac_subst_files
2307      do
2308	eval ac_val=\$$ac_var
2309	case $ac_val in
2310	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2311	esac
2312	$as_echo "$ac_var='\''$ac_val'\''"
2313      done | sort
2314      echo
2315    fi
2316
2317    if test -s confdefs.h; then
2318      $as_echo "## ----------- ##
2319## confdefs.h. ##
2320## ----------- ##"
2321      echo
2322      cat confdefs.h
2323      echo
2324    fi
2325    test "$ac_signal" != 0 &&
2326      $as_echo "$as_me: caught signal $ac_signal"
2327    $as_echo "$as_me: exit $exit_status"
2328  } >&5
2329  rm -f core *.core core.conftest.* &&
2330    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2331    exit $exit_status
2332' 0
2333for ac_signal in 1 2 13 15; do
2334  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2335done
2336ac_signal=0
2337
2338# confdefs.h avoids OS command line length limits that DEFS can exceed.
2339rm -f -r conftest* confdefs.h
2340
2341$as_echo "/* confdefs.h */" > confdefs.h
2342
2343# Predefined preprocessor variables.
2344
2345cat >>confdefs.h <<_ACEOF
2346#define PACKAGE_NAME "$PACKAGE_NAME"
2347_ACEOF
2348
2349cat >>confdefs.h <<_ACEOF
2350#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2351_ACEOF
2352
2353cat >>confdefs.h <<_ACEOF
2354#define PACKAGE_VERSION "$PACKAGE_VERSION"
2355_ACEOF
2356
2357cat >>confdefs.h <<_ACEOF
2358#define PACKAGE_STRING "$PACKAGE_STRING"
2359_ACEOF
2360
2361cat >>confdefs.h <<_ACEOF
2362#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2363_ACEOF
2364
2365cat >>confdefs.h <<_ACEOF
2366#define PACKAGE_URL "$PACKAGE_URL"
2367_ACEOF
2368
2369
2370# Let the site file select an alternate cache file if it wants to.
2371# Prefer an explicitly selected file to automatically selected ones.
2372ac_site_file1=NONE
2373ac_site_file2=NONE
2374if test -n "$CONFIG_SITE"; then
2375  # We do not want a PATH search for config.site.
2376  case $CONFIG_SITE in #((
2377    -*)  ac_site_file1=./$CONFIG_SITE;;
2378    */*) ac_site_file1=$CONFIG_SITE;;
2379    *)   ac_site_file1=./$CONFIG_SITE;;
2380  esac
2381elif test "x$prefix" != xNONE; then
2382  ac_site_file1=$prefix/share/config.site
2383  ac_site_file2=$prefix/etc/config.site
2384else
2385  ac_site_file1=$ac_default_prefix/share/config.site
2386  ac_site_file2=$ac_default_prefix/etc/config.site
2387fi
2388for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2389do
2390  test "x$ac_site_file" = xNONE && continue
2391  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2392    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2393$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2394    sed 's/^/| /' "$ac_site_file" >&5
2395    . "$ac_site_file" \
2396      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2397$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2398as_fn_error $? "failed to load site script $ac_site_file
2399See \`config.log' for more details" "$LINENO" 5; }
2400  fi
2401done
2402
2403if test -r "$cache_file"; then
2404  # Some versions of bash will fail to source /dev/null (special files
2405  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2406  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2407    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2408$as_echo "$as_me: loading cache $cache_file" >&6;}
2409    case $cache_file in
2410      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2411      *)                      . "./$cache_file";;
2412    esac
2413  fi
2414else
2415  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2416$as_echo "$as_me: creating cache $cache_file" >&6;}
2417  >$cache_file
2418fi
2419
2420# Check that the precious variables saved in the cache have kept the same
2421# value.
2422ac_cache_corrupted=false
2423for ac_var in $ac_precious_vars; do
2424  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2425  eval ac_new_set=\$ac_env_${ac_var}_set
2426  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2427  eval ac_new_val=\$ac_env_${ac_var}_value
2428  case $ac_old_set,$ac_new_set in
2429    set,)
2430      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2431$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2432      ac_cache_corrupted=: ;;
2433    ,set)
2434      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2435$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2436      ac_cache_corrupted=: ;;
2437    ,);;
2438    *)
2439      if test "x$ac_old_val" != "x$ac_new_val"; then
2440	# differences in whitespace do not lead to failure.
2441	ac_old_val_w=`echo x $ac_old_val`
2442	ac_new_val_w=`echo x $ac_new_val`
2443	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2444	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2445$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2446	  ac_cache_corrupted=:
2447	else
2448	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2449$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2450	  eval $ac_var=\$ac_old_val
2451	fi
2452	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2453$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2454	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2455$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2456      fi;;
2457  esac
2458  # Pass precious variables to config.status.
2459  if test "$ac_new_set" = set; then
2460    case $ac_new_val in
2461    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2462    *) ac_arg=$ac_var=$ac_new_val ;;
2463    esac
2464    case " $ac_configure_args " in
2465      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2466      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2467    esac
2468  fi
2469done
2470if $ac_cache_corrupted; then
2471  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2472$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2473  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2474$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2475  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2476fi
2477## -------------------- ##
2478## Main body of script. ##
2479## -------------------- ##
2480
2481ac_ext=c
2482ac_cpp='$CPP $CPPFLAGS'
2483ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2484ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2485ac_compiler_gnu=$ac_cv_c_compiler_gnu
2486
2487
2488
2489ac_config_headers="$ac_config_headers config.h"
2490
2491
2492
2493ac_aux_dir=
2494for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2495  if test -f "$ac_dir/install-sh"; then
2496    ac_aux_dir=$ac_dir
2497    ac_install_sh="$ac_aux_dir/install-sh -c"
2498    break
2499  elif test -f "$ac_dir/install.sh"; then
2500    ac_aux_dir=$ac_dir
2501    ac_install_sh="$ac_aux_dir/install.sh -c"
2502    break
2503  elif test -f "$ac_dir/shtool"; then
2504    ac_aux_dir=$ac_dir
2505    ac_install_sh="$ac_aux_dir/shtool install -c"
2506    break
2507  fi
2508done
2509if test -z "$ac_aux_dir"; then
2510  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2511fi
2512
2513# These three variables are undocumented and unsupported,
2514# and are intended to be withdrawn in a future Autoconf release.
2515# They can cause serious problems if a builder's source tree is in a directory
2516# whose full name contains unusual characters.
2517ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2518ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2519ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2520
2521
2522# Make sure we can run config.sub.
2523$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2524  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2525
2526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2527$as_echo_n "checking build system type... " >&6; }
2528if ${ac_cv_build+:} false; then :
2529  $as_echo_n "(cached) " >&6
2530else
2531  ac_build_alias=$build_alias
2532test "x$ac_build_alias" = x &&
2533  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2534test "x$ac_build_alias" = x &&
2535  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2536ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2537  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2538
2539fi
2540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2541$as_echo "$ac_cv_build" >&6; }
2542case $ac_cv_build in
2543*-*-*) ;;
2544*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2545esac
2546build=$ac_cv_build
2547ac_save_IFS=$IFS; IFS='-'
2548set x $ac_cv_build
2549shift
2550build_cpu=$1
2551build_vendor=$2
2552shift; shift
2553# Remember, the first character of IFS is used to create $*,
2554# except with old shells:
2555build_os=$*
2556IFS=$ac_save_IFS
2557case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2558
2559
2560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2561$as_echo_n "checking host system type... " >&6; }
2562if ${ac_cv_host+:} false; then :
2563  $as_echo_n "(cached) " >&6
2564else
2565  if test "x$host_alias" = x; then
2566  ac_cv_host=$ac_cv_build
2567else
2568  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2569    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2570fi
2571
2572fi
2573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2574$as_echo "$ac_cv_host" >&6; }
2575case $ac_cv_host in
2576*-*-*) ;;
2577*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2578esac
2579host=$ac_cv_host
2580ac_save_IFS=$IFS; IFS='-'
2581set x $ac_cv_host
2582shift
2583host_cpu=$1
2584host_vendor=$2
2585shift; shift
2586# Remember, the first character of IFS is used to create $*,
2587# except with old shells:
2588host_os=$*
2589IFS=$ac_save_IFS
2590case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2591
2592
2593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2594$as_echo_n "checking target system type... " >&6; }
2595if ${ac_cv_target+:} false; then :
2596  $as_echo_n "(cached) " >&6
2597else
2598  if test "x$target_alias" = x; then
2599  ac_cv_target=$ac_cv_host
2600else
2601  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2602    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2603fi
2604
2605fi
2606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2607$as_echo "$ac_cv_target" >&6; }
2608case $ac_cv_target in
2609*-*-*) ;;
2610*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2611esac
2612target=$ac_cv_target
2613ac_save_IFS=$IFS; IFS='-'
2614set x $ac_cv_target
2615shift
2616target_cpu=$1
2617target_vendor=$2
2618shift; shift
2619# Remember, the first character of IFS is used to create $*,
2620# except with old shells:
2621target_os=$*
2622IFS=$ac_save_IFS
2623case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2624
2625
2626# The aliases save the names the user supplied, while $host etc.
2627# will get canonicalized.
2628test -n "$target_alias" &&
2629  test "$program_prefix$program_suffix$program_transform_name" = \
2630    NONENONEs,x,x, &&
2631  program_prefix=${target_alias}-
2632
2633am__api_version='1.16'
2634
2635# Find a good install program.  We prefer a C program (faster),
2636# so one script is as good as another.  But avoid the broken or
2637# incompatible versions:
2638# SysV /etc/install, /usr/sbin/install
2639# SunOS /usr/etc/install
2640# IRIX /sbin/install
2641# AIX /bin/install
2642# AmigaOS /C/install, which installs bootblocks on floppy discs
2643# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2644# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2645# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2646# OS/2's system install, which has a completely different semantic
2647# ./install, which can be erroneously created by make from ./install.sh.
2648# Reject install programs that cannot install multiple files.
2649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2650$as_echo_n "checking for a BSD-compatible install... " >&6; }
2651if test -z "$INSTALL"; then
2652if ${ac_cv_path_install+:} false; then :
2653  $as_echo_n "(cached) " >&6
2654else
2655  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656for as_dir in $PATH
2657do
2658  IFS=$as_save_IFS
2659  test -z "$as_dir" && as_dir=.
2660    # Account for people who put trailing slashes in PATH elements.
2661case $as_dir/ in #((
2662  ./ | .// | /[cC]/* | \
2663  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2664  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2665  /usr/ucb/* ) ;;
2666  *)
2667    # OSF1 and SCO ODT 3.0 have their own names for install.
2668    # Don't use installbsd from OSF since it installs stuff as root
2669    # by default.
2670    for ac_prog in ginstall scoinst install; do
2671      for ac_exec_ext in '' $ac_executable_extensions; do
2672	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2673	  if test $ac_prog = install &&
2674	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2675	    # AIX install.  It has an incompatible calling convention.
2676	    :
2677	  elif test $ac_prog = install &&
2678	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2679	    # program-specific install script used by HP pwplus--don't use.
2680	    :
2681	  else
2682	    rm -rf conftest.one conftest.two conftest.dir
2683	    echo one > conftest.one
2684	    echo two > conftest.two
2685	    mkdir conftest.dir
2686	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2687	      test -s conftest.one && test -s conftest.two &&
2688	      test -s conftest.dir/conftest.one &&
2689	      test -s conftest.dir/conftest.two
2690	    then
2691	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2692	      break 3
2693	    fi
2694	  fi
2695	fi
2696      done
2697    done
2698    ;;
2699esac
2700
2701  done
2702IFS=$as_save_IFS
2703
2704rm -rf conftest.one conftest.two conftest.dir
2705
2706fi
2707  if test "${ac_cv_path_install+set}" = set; then
2708    INSTALL=$ac_cv_path_install
2709  else
2710    # As a last resort, use the slow shell script.  Don't cache a
2711    # value for INSTALL within a source directory, because that will
2712    # break other packages using the cache if that directory is
2713    # removed, or if the value is a relative name.
2714    INSTALL=$ac_install_sh
2715  fi
2716fi
2717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2718$as_echo "$INSTALL" >&6; }
2719
2720# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2721# It thinks the first close brace ends the variable substitution.
2722test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2723
2724test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2725
2726test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2727
2728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2729$as_echo_n "checking whether build environment is sane... " >&6; }
2730# Reject unsafe characters in $srcdir or the absolute working directory
2731# name.  Accept space and tab only in the latter.
2732am_lf='
2733'
2734case `pwd` in
2735  *[\\\"\#\$\&\'\`$am_lf]*)
2736    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2737esac
2738case $srcdir in
2739  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2740    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2741esac
2742
2743# Do 'set' in a subshell so we don't clobber the current shell's
2744# arguments.  Must try -L first in case configure is actually a
2745# symlink; some systems play weird games with the mod time of symlinks
2746# (eg FreeBSD returns the mod time of the symlink's containing
2747# directory).
2748if (
2749   am_has_slept=no
2750   for am_try in 1 2; do
2751     echo "timestamp, slept: $am_has_slept" > conftest.file
2752     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2753     if test "$*" = "X"; then
2754	# -L didn't work.
2755	set X `ls -t "$srcdir/configure" conftest.file`
2756     fi
2757     if test "$*" != "X $srcdir/configure conftest.file" \
2758	&& test "$*" != "X conftest.file $srcdir/configure"; then
2759
2760	# If neither matched, then we have a broken ls.  This can happen
2761	# if, for instance, CONFIG_SHELL is bash and it inherits a
2762	# broken ls alias from the environment.  This has actually
2763	# happened.  Such a system could not be considered "sane".
2764	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2765  alias in your environment" "$LINENO" 5
2766     fi
2767     if test "$2" = conftest.file || test $am_try -eq 2; then
2768       break
2769     fi
2770     # Just in case.
2771     sleep 1
2772     am_has_slept=yes
2773   done
2774   test "$2" = conftest.file
2775   )
2776then
2777   # Ok.
2778   :
2779else
2780   as_fn_error $? "newly created file is older than distributed files!
2781Check your system clock" "$LINENO" 5
2782fi
2783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2784$as_echo "yes" >&6; }
2785# If we didn't sleep, we still need to ensure time stamps of config.status and
2786# generated files are strictly newer.
2787am_sleep_pid=
2788if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2789  ( sleep 1 ) &
2790  am_sleep_pid=$!
2791fi
2792
2793rm -f conftest.file
2794
2795test "$program_prefix" != NONE &&
2796  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2797# Use a double $ so make ignores it.
2798test "$program_suffix" != NONE &&
2799  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2800# Double any \ or $.
2801# By default was `s,x,x', remove it if useless.
2802ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2803program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2804
2805# Expand $ac_aux_dir to an absolute path.
2806am_aux_dir=`cd "$ac_aux_dir" && pwd`
2807
2808if test x"${MISSING+set}" != xset; then
2809  case $am_aux_dir in
2810  *\ * | *\	*)
2811    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2812  *)
2813    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2814  esac
2815fi
2816# Use eval to expand $SHELL
2817if eval "$MISSING --is-lightweight"; then
2818  am_missing_run="$MISSING "
2819else
2820  am_missing_run=
2821  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2822$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2823fi
2824
2825if test x"${install_sh+set}" != xset; then
2826  case $am_aux_dir in
2827  *\ * | *\	*)
2828    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2829  *)
2830    install_sh="\${SHELL} $am_aux_dir/install-sh"
2831  esac
2832fi
2833
2834# Installed binaries are usually stripped using 'strip' when the user
2835# run "make install-strip".  However 'strip' might not be the right
2836# tool to use in cross-compilation environments, therefore Automake
2837# will honor the 'STRIP' environment variable to overrule this program.
2838if test "$cross_compiling" != no; then
2839  if test -n "$ac_tool_prefix"; then
2840  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2841set dummy ${ac_tool_prefix}strip; ac_word=$2
2842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2843$as_echo_n "checking for $ac_word... " >&6; }
2844if ${ac_cv_prog_STRIP+:} false; then :
2845  $as_echo_n "(cached) " >&6
2846else
2847  if test -n "$STRIP"; then
2848  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2849else
2850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851for as_dir in $PATH
2852do
2853  IFS=$as_save_IFS
2854  test -z "$as_dir" && as_dir=.
2855    for ac_exec_ext in '' $ac_executable_extensions; do
2856  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2857    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2858    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2859    break 2
2860  fi
2861done
2862  done
2863IFS=$as_save_IFS
2864
2865fi
2866fi
2867STRIP=$ac_cv_prog_STRIP
2868if test -n "$STRIP"; then
2869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2870$as_echo "$STRIP" >&6; }
2871else
2872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2873$as_echo "no" >&6; }
2874fi
2875
2876
2877fi
2878if test -z "$ac_cv_prog_STRIP"; then
2879  ac_ct_STRIP=$STRIP
2880  # Extract the first word of "strip", so it can be a program name with args.
2881set dummy strip; ac_word=$2
2882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883$as_echo_n "checking for $ac_word... " >&6; }
2884if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2885  $as_echo_n "(cached) " >&6
2886else
2887  if test -n "$ac_ct_STRIP"; then
2888  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2889else
2890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891for as_dir in $PATH
2892do
2893  IFS=$as_save_IFS
2894  test -z "$as_dir" && as_dir=.
2895    for ac_exec_ext in '' $ac_executable_extensions; do
2896  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2897    ac_cv_prog_ac_ct_STRIP="strip"
2898    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2899    break 2
2900  fi
2901done
2902  done
2903IFS=$as_save_IFS
2904
2905fi
2906fi
2907ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2908if test -n "$ac_ct_STRIP"; then
2909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2910$as_echo "$ac_ct_STRIP" >&6; }
2911else
2912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913$as_echo "no" >&6; }
2914fi
2915
2916  if test "x$ac_ct_STRIP" = x; then
2917    STRIP=":"
2918  else
2919    case $cross_compiling:$ac_tool_warned in
2920yes:)
2921{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2922$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2923ac_tool_warned=yes ;;
2924esac
2925    STRIP=$ac_ct_STRIP
2926  fi
2927else
2928  STRIP="$ac_cv_prog_STRIP"
2929fi
2930
2931fi
2932INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2933
2934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2935$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2936if test -z "$MKDIR_P"; then
2937  if ${ac_cv_path_mkdir+:} false; then :
2938  $as_echo_n "(cached) " >&6
2939else
2940  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2941for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2942do
2943  IFS=$as_save_IFS
2944  test -z "$as_dir" && as_dir=.
2945    for ac_prog in mkdir gmkdir; do
2946	 for ac_exec_ext in '' $ac_executable_extensions; do
2947	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2948	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2949	     'mkdir (GNU coreutils) '* | \
2950	     'mkdir (coreutils) '* | \
2951	     'mkdir (fileutils) '4.1*)
2952	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2953	       break 3;;
2954	   esac
2955	 done
2956       done
2957  done
2958IFS=$as_save_IFS
2959
2960fi
2961
2962  test -d ./--version && rmdir ./--version
2963  if test "${ac_cv_path_mkdir+set}" = set; then
2964    MKDIR_P="$ac_cv_path_mkdir -p"
2965  else
2966    # As a last resort, use the slow shell script.  Don't cache a
2967    # value for MKDIR_P within a source directory, because that will
2968    # break other packages using the cache if that directory is
2969    # removed, or if the value is a relative name.
2970    MKDIR_P="$ac_install_sh -d"
2971  fi
2972fi
2973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2974$as_echo "$MKDIR_P" >&6; }
2975
2976for ac_prog in gawk mawk nawk awk
2977do
2978  # Extract the first word of "$ac_prog", so it can be a program name with args.
2979set dummy $ac_prog; ac_word=$2
2980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2981$as_echo_n "checking for $ac_word... " >&6; }
2982if ${ac_cv_prog_AWK+:} false; then :
2983  $as_echo_n "(cached) " >&6
2984else
2985  if test -n "$AWK"; then
2986  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2987else
2988as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989for as_dir in $PATH
2990do
2991  IFS=$as_save_IFS
2992  test -z "$as_dir" && as_dir=.
2993    for ac_exec_ext in '' $ac_executable_extensions; do
2994  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2995    ac_cv_prog_AWK="$ac_prog"
2996    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2997    break 2
2998  fi
2999done
3000  done
3001IFS=$as_save_IFS
3002
3003fi
3004fi
3005AWK=$ac_cv_prog_AWK
3006if test -n "$AWK"; then
3007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3008$as_echo "$AWK" >&6; }
3009else
3010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011$as_echo "no" >&6; }
3012fi
3013
3014
3015  test -n "$AWK" && break
3016done
3017
3018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3019$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3020set x ${MAKE-make}
3021ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3022if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3023  $as_echo_n "(cached) " >&6
3024else
3025  cat >conftest.make <<\_ACEOF
3026SHELL = /bin/sh
3027all:
3028	@echo '@@@%%%=$(MAKE)=@@@%%%'
3029_ACEOF
3030# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3031case `${MAKE-make} -f conftest.make 2>/dev/null` in
3032  *@@@%%%=?*=@@@%%%*)
3033    eval ac_cv_prog_make_${ac_make}_set=yes;;
3034  *)
3035    eval ac_cv_prog_make_${ac_make}_set=no;;
3036esac
3037rm -f conftest.make
3038fi
3039if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3041$as_echo "yes" >&6; }
3042  SET_MAKE=
3043else
3044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3045$as_echo "no" >&6; }
3046  SET_MAKE="MAKE=${MAKE-make}"
3047fi
3048
3049rm -rf .tst 2>/dev/null
3050mkdir .tst 2>/dev/null
3051if test -d .tst; then
3052  am__leading_dot=.
3053else
3054  am__leading_dot=_
3055fi
3056rmdir .tst 2>/dev/null
3057
3058# Check whether --enable-silent-rules was given.
3059if test "${enable_silent_rules+set}" = set; then :
3060  enableval=$enable_silent_rules;
3061fi
3062
3063case $enable_silent_rules in # (((
3064  yes) AM_DEFAULT_VERBOSITY=0;;
3065   no) AM_DEFAULT_VERBOSITY=1;;
3066    *) AM_DEFAULT_VERBOSITY=1;;
3067esac
3068am_make=${MAKE-make}
3069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3070$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3071if ${am_cv_make_support_nested_variables+:} false; then :
3072  $as_echo_n "(cached) " >&6
3073else
3074  if $as_echo 'TRUE=$(BAR$(V))
3075BAR0=false
3076BAR1=true
3077V=1
3078am__doit:
3079	@$(TRUE)
3080.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3081  am_cv_make_support_nested_variables=yes
3082else
3083  am_cv_make_support_nested_variables=no
3084fi
3085fi
3086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3087$as_echo "$am_cv_make_support_nested_variables" >&6; }
3088if test $am_cv_make_support_nested_variables = yes; then
3089    AM_V='$(V)'
3090  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3091else
3092  AM_V=$AM_DEFAULT_VERBOSITY
3093  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3094fi
3095AM_BACKSLASH='\'
3096
3097if test "`cd $srcdir && pwd`" != "`pwd`"; then
3098  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3099  # is not polluted with repeated "-I."
3100  am__isrc=' -I$(srcdir)'
3101  # test to see if srcdir already configured
3102  if test -f $srcdir/config.status; then
3103    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3104  fi
3105fi
3106
3107# test whether we have cygpath
3108if test -z "$CYGPATH_W"; then
3109  if (cygpath --version) >/dev/null 2>/dev/null; then
3110    CYGPATH_W='cygpath -w'
3111  else
3112    CYGPATH_W=echo
3113  fi
3114fi
3115
3116
3117# Define the identity of the package.
3118 PACKAGE='lordsawar'
3119 VERSION='0.3.2'
3120
3121
3122cat >>confdefs.h <<_ACEOF
3123#define PACKAGE "$PACKAGE"
3124_ACEOF
3125
3126
3127cat >>confdefs.h <<_ACEOF
3128#define VERSION "$VERSION"
3129_ACEOF
3130
3131# Some tools Automake needs.
3132
3133ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3134
3135
3136AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3137
3138
3139AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3140
3141
3142AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3143
3144
3145MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3146
3147# For better backward compatibility.  To be removed once Automake 1.9.x
3148# dies out for good.  For more background, see:
3149# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3150# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3151mkdir_p='$(MKDIR_P)'
3152
3153# We need awk for the "check" target (and possibly the TAP driver).  The
3154# system "awk" is bad on some platforms.
3155# Always define AMTAR for backward compatibility.  Yes, it's still used
3156# in the wild :-(  We should find a proper way to deprecate it ...
3157AMTAR='$${TAR-tar}'
3158
3159
3160# We'll loop over all known methods to create a tar archive until one works.
3161_am_tools='gnutar  pax cpio none'
3162
3163am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3164
3165
3166
3167
3168
3169
3170# POSIX will say in a future version that running "rm -f" with no argument
3171# is OK; and we want to be able to make that assumption in our Makefile
3172# recipes.  So use an aggressive probe to check that the usage we want is
3173# actually supported "in the wild" to an acceptable degree.
3174# See automake bug#10828.
3175# To make any issue more visible, cause the running configure to be aborted
3176# by default if the 'rm' program in use doesn't match our expectations; the
3177# user can still override this though.
3178if rm -f && rm -fr && rm -rf; then : OK; else
3179  cat >&2 <<'END'
3180Oops!
3181
3182Your 'rm' program seems unable to run without file operands specified
3183on the command line, even when the '-f' option is present.  This is contrary
3184to the behaviour of most rm programs out there, and not conforming with
3185the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3186
3187Please tell bug-automake@gnu.org about your system, including the value
3188of your $PATH and any error possibly output before this message.  This
3189can help us improve future automake versions.
3190
3191END
3192  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3193    echo 'Configuration will proceed anyway, since you have set the' >&2
3194    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3195    echo >&2
3196  else
3197    cat >&2 <<'END'
3198Aborting the configuration process, to ensure you take notice of the issue.
3199
3200You can download and install GNU coreutils to get an 'rm' implementation
3201that behaves properly: <https://www.gnu.org/software/coreutils/>.
3202
3203If you want to complete the configuration process using your problematic
3204'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3205to "yes", and re-run configure.
3206
3207END
3208    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3209  fi
3210fi
3211
3212
3213
3214  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3215$as_echo_n "checking whether NLS is requested... " >&6; }
3216    # Check whether --enable-nls was given.
3217if test "${enable_nls+set}" = set; then :
3218  enableval=$enable_nls; USE_NLS=$enableval
3219else
3220  USE_NLS=yes
3221fi
3222
3223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3224$as_echo "$USE_NLS" >&6; }
3225
3226
3227
3228
3229case "$am__api_version" in
3230    1.01234)
3231	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3232    ;;
3233    *)
3234    ;;
3235esac
3236
3237INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3238INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3239INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3240if test -n ""; then
3241    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
3242$as_echo_n "checking for intltool >= ... " >&6; }
3243    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3244$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3245    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3246	as_fn_error $? "Your intltool is too old.  You need intltool  or later." "$LINENO" 5
3247fi
3248
3249# Extract the first word of "intltool-update", so it can be a program name with args.
3250set dummy intltool-update; ac_word=$2
3251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252$as_echo_n "checking for $ac_word... " >&6; }
3253if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
3254  $as_echo_n "(cached) " >&6
3255else
3256  case $INTLTOOL_UPDATE in
3257  [\\/]* | ?:[\\/]*)
3258  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3259  ;;
3260  *)
3261  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262for as_dir in $PATH
3263do
3264  IFS=$as_save_IFS
3265  test -z "$as_dir" && as_dir=.
3266    for ac_exec_ext in '' $ac_executable_extensions; do
3267  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3268    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3269    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3270    break 2
3271  fi
3272done
3273  done
3274IFS=$as_save_IFS
3275
3276  ;;
3277esac
3278fi
3279INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3280if test -n "$INTLTOOL_UPDATE"; then
3281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3282$as_echo "$INTLTOOL_UPDATE" >&6; }
3283else
3284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285$as_echo "no" >&6; }
3286fi
3287
3288
3289# Extract the first word of "intltool-merge", so it can be a program name with args.
3290set dummy intltool-merge; ac_word=$2
3291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3292$as_echo_n "checking for $ac_word... " >&6; }
3293if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
3294  $as_echo_n "(cached) " >&6
3295else
3296  case $INTLTOOL_MERGE in
3297  [\\/]* | ?:[\\/]*)
3298  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3299  ;;
3300  *)
3301  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3302for as_dir in $PATH
3303do
3304  IFS=$as_save_IFS
3305  test -z "$as_dir" && as_dir=.
3306    for ac_exec_ext in '' $ac_executable_extensions; do
3307  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3308    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3309    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3310    break 2
3311  fi
3312done
3313  done
3314IFS=$as_save_IFS
3315
3316  ;;
3317esac
3318fi
3319INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3320if test -n "$INTLTOOL_MERGE"; then
3321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3322$as_echo "$INTLTOOL_MERGE" >&6; }
3323else
3324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325$as_echo "no" >&6; }
3326fi
3327
3328
3329# Extract the first word of "intltool-extract", so it can be a program name with args.
3330set dummy intltool-extract; ac_word=$2
3331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332$as_echo_n "checking for $ac_word... " >&6; }
3333if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
3334  $as_echo_n "(cached) " >&6
3335else
3336  case $INTLTOOL_EXTRACT in
3337  [\\/]* | ?:[\\/]*)
3338  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
3339  ;;
3340  *)
3341  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3342for as_dir in $PATH
3343do
3344  IFS=$as_save_IFS
3345  test -z "$as_dir" && as_dir=.
3346    for ac_exec_ext in '' $ac_executable_extensions; do
3347  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3348    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3349    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3350    break 2
3351  fi
3352done
3353  done
3354IFS=$as_save_IFS
3355
3356  ;;
3357esac
3358fi
3359INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
3360if test -n "$INTLTOOL_EXTRACT"; then
3361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
3362$as_echo "$INTLTOOL_EXTRACT" >&6; }
3363else
3364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365$as_echo "no" >&6; }
3366fi
3367
3368
3369if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
3370    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
3371fi
3372
3373if test -z "$AM_DEFAULT_VERBOSITY"; then
3374  AM_DEFAULT_VERBOSITY=1
3375fi
3376
3377
3378INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
3379INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
3380INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
3381
3382
3383
3384
3385INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
3386intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
3387intltool__v_merge_options_0='-q'
3388
3389
3390
3391
3392  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3393INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3394     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3395     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3396      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
3397     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3398   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3399    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3400INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3401       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3402      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3403if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
3404      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
3405else
3406      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
3407fi
3408      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3409      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3410    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3411  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3412    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3413    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3414   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512# Check the gettext tools to make sure they are GNU
3513# Extract the first word of "xgettext", so it can be a program name with args.
3514set dummy xgettext; ac_word=$2
3515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3516$as_echo_n "checking for $ac_word... " >&6; }
3517if ${ac_cv_path_XGETTEXT+:} false; then :
3518  $as_echo_n "(cached) " >&6
3519else
3520  case $XGETTEXT in
3521  [\\/]* | ?:[\\/]*)
3522  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3523  ;;
3524  *)
3525  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3526for as_dir in $PATH
3527do
3528  IFS=$as_save_IFS
3529  test -z "$as_dir" && as_dir=.
3530    for ac_exec_ext in '' $ac_executable_extensions; do
3531  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3532    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3533    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3534    break 2
3535  fi
3536done
3537  done
3538IFS=$as_save_IFS
3539
3540  ;;
3541esac
3542fi
3543XGETTEXT=$ac_cv_path_XGETTEXT
3544if test -n "$XGETTEXT"; then
3545  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3546$as_echo "$XGETTEXT" >&6; }
3547else
3548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3549$as_echo "no" >&6; }
3550fi
3551
3552
3553# Extract the first word of "msgmerge", so it can be a program name with args.
3554set dummy msgmerge; ac_word=$2
3555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556$as_echo_n "checking for $ac_word... " >&6; }
3557if ${ac_cv_path_MSGMERGE+:} false; then :
3558  $as_echo_n "(cached) " >&6
3559else
3560  case $MSGMERGE in
3561  [\\/]* | ?:[\\/]*)
3562  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3563  ;;
3564  *)
3565  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566for as_dir in $PATH
3567do
3568  IFS=$as_save_IFS
3569  test -z "$as_dir" && as_dir=.
3570    for ac_exec_ext in '' $ac_executable_extensions; do
3571  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3572    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3573    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3574    break 2
3575  fi
3576done
3577  done
3578IFS=$as_save_IFS
3579
3580  ;;
3581esac
3582fi
3583MSGMERGE=$ac_cv_path_MSGMERGE
3584if test -n "$MSGMERGE"; then
3585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3586$as_echo "$MSGMERGE" >&6; }
3587else
3588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589$as_echo "no" >&6; }
3590fi
3591
3592
3593# Extract the first word of "msgfmt", so it can be a program name with args.
3594set dummy msgfmt; ac_word=$2
3595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3596$as_echo_n "checking for $ac_word... " >&6; }
3597if ${ac_cv_path_MSGFMT+:} false; then :
3598  $as_echo_n "(cached) " >&6
3599else
3600  case $MSGFMT in
3601  [\\/]* | ?:[\\/]*)
3602  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3603  ;;
3604  *)
3605  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3606for as_dir in $PATH
3607do
3608  IFS=$as_save_IFS
3609  test -z "$as_dir" && as_dir=.
3610    for ac_exec_ext in '' $ac_executable_extensions; do
3611  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3612    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3613    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3614    break 2
3615  fi
3616done
3617  done
3618IFS=$as_save_IFS
3619
3620  ;;
3621esac
3622fi
3623MSGFMT=$ac_cv_path_MSGFMT
3624if test -n "$MSGFMT"; then
3625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3626$as_echo "$MSGFMT" >&6; }
3627else
3628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629$as_echo "no" >&6; }
3630fi
3631
3632
3633# Extract the first word of "gmsgfmt", so it can be a program name with args.
3634set dummy gmsgfmt; ac_word=$2
3635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636$as_echo_n "checking for $ac_word... " >&6; }
3637if ${ac_cv_path_GMSGFMT+:} false; then :
3638  $as_echo_n "(cached) " >&6
3639else
3640  case $GMSGFMT in
3641  [\\/]* | ?:[\\/]*)
3642  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3643  ;;
3644  *)
3645  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646for as_dir in $PATH
3647do
3648  IFS=$as_save_IFS
3649  test -z "$as_dir" && as_dir=.
3650    for ac_exec_ext in '' $ac_executable_extensions; do
3651  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3652    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3653    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654    break 2
3655  fi
3656done
3657  done
3658IFS=$as_save_IFS
3659
3660  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3661  ;;
3662esac
3663fi
3664GMSGFMT=$ac_cv_path_GMSGFMT
3665if test -n "$GMSGFMT"; then
3666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3667$as_echo "$GMSGFMT" >&6; }
3668else
3669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670$as_echo "no" >&6; }
3671fi
3672
3673
3674if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
3675    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3676fi
3677xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
3678mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
3679mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
3680if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
3681    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3682fi
3683
3684# Extract the first word of "perl", so it can be a program name with args.
3685set dummy perl; ac_word=$2
3686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3687$as_echo_n "checking for $ac_word... " >&6; }
3688if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
3689  $as_echo_n "(cached) " >&6
3690else
3691  case $INTLTOOL_PERL in
3692  [\\/]* | ?:[\\/]*)
3693  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
3694  ;;
3695  *)
3696  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697for as_dir in $PATH
3698do
3699  IFS=$as_save_IFS
3700  test -z "$as_dir" && as_dir=.
3701    for ac_exec_ext in '' $ac_executable_extensions; do
3702  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3703    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3704    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3705    break 2
3706  fi
3707done
3708  done
3709IFS=$as_save_IFS
3710
3711  ;;
3712esac
3713fi
3714INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3715if test -n "$INTLTOOL_PERL"; then
3716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
3717$as_echo "$INTLTOOL_PERL" >&6; }
3718else
3719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3720$as_echo "no" >&6; }
3721fi
3722
3723
3724if test -z "$INTLTOOL_PERL"; then
3725   as_fn_error $? "perl not found" "$LINENO" 5
3726fi
3727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
3728$as_echo_n "checking for perl >= 5.8.1... " >&6; }
3729$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
3730if test $? -ne 0; then
3731   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
3732else
3733   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
3734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
3735$as_echo "$IT_PERL_VERSION" >&6; }
3736fi
3737if test "x" != "xno-xml"; then
3738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
3739$as_echo_n "checking for XML::Parser... " >&6; }
3740   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3741       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
3742$as_echo "ok" >&6; }
3743   else
3744       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
3745   fi
3746fi
3747
3748# Substitute ALL_LINGUAS so we can use it in po/Makefile
3749
3750
3751
3752
3753
3754
3755GETTEXT_PACKAGE=lordsawar
3756
3757
3758cat >>confdefs.h <<_ACEOF
3759#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
3760_ACEOF
3761
3762DEPDIR="${am__leading_dot}deps"
3763
3764ac_config_commands="$ac_config_commands depfiles"
3765
3766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3767$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3768cat > confinc.mk << 'END'
3769am__doit:
3770	@echo this is the am__doit target >confinc.out
3771.PHONY: am__doit
3772END
3773am__include="#"
3774am__quote=
3775# BSD make does it like this.
3776echo '.include "confinc.mk" # ignored' > confmf.BSD
3777# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3778echo 'include confinc.mk # ignored' > confmf.GNU
3779_am_result=no
3780for s in GNU BSD; do
3781  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3782   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3783   ac_status=$?
3784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785   (exit $ac_status); }
3786  case $?:`cat confinc.out 2>/dev/null` in #(
3787  '0:this is the am__doit target') :
3788    case $s in #(
3789  BSD) :
3790    am__include='.include' am__quote='"' ;; #(
3791  *) :
3792    am__include='include' am__quote='' ;;
3793esac ;; #(
3794  *) :
3795     ;;
3796esac
3797  if test "$am__include" != "#"; then
3798    _am_result="yes ($s style)"
3799    break
3800  fi
3801done
3802rm -f confinc.* confmf.*
3803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3804$as_echo "${_am_result}" >&6; }
3805
3806# Check whether --enable-dependency-tracking was given.
3807if test "${enable_dependency_tracking+set}" = set; then :
3808  enableval=$enable_dependency_tracking;
3809fi
3810
3811if test "x$enable_dependency_tracking" != xno; then
3812  am_depcomp="$ac_aux_dir/depcomp"
3813  AMDEPBACKSLASH='\'
3814  am__nodep='_no'
3815fi
3816 if test "x$enable_dependency_tracking" != xno; then
3817  AMDEP_TRUE=
3818  AMDEP_FALSE='#'
3819else
3820  AMDEP_TRUE='#'
3821  AMDEP_FALSE=
3822fi
3823
3824
3825ac_ext=c
3826ac_cpp='$CPP $CPPFLAGS'
3827ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3828ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3829ac_compiler_gnu=$ac_cv_c_compiler_gnu
3830if test -n "$ac_tool_prefix"; then
3831  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3832set dummy ${ac_tool_prefix}gcc; ac_word=$2
3833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834$as_echo_n "checking for $ac_word... " >&6; }
3835if ${ac_cv_prog_CC+:} false; then :
3836  $as_echo_n "(cached) " >&6
3837else
3838  if test -n "$CC"; then
3839  ac_cv_prog_CC="$CC" # Let the user override the test.
3840else
3841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3842for as_dir in $PATH
3843do
3844  IFS=$as_save_IFS
3845  test -z "$as_dir" && as_dir=.
3846    for ac_exec_ext in '' $ac_executable_extensions; do
3847  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3848    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3849    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850    break 2
3851  fi
3852done
3853  done
3854IFS=$as_save_IFS
3855
3856fi
3857fi
3858CC=$ac_cv_prog_CC
3859if test -n "$CC"; then
3860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3861$as_echo "$CC" >&6; }
3862else
3863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864$as_echo "no" >&6; }
3865fi
3866
3867
3868fi
3869if test -z "$ac_cv_prog_CC"; then
3870  ac_ct_CC=$CC
3871  # Extract the first word of "gcc", so it can be a program name with args.
3872set dummy gcc; ac_word=$2
3873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874$as_echo_n "checking for $ac_word... " >&6; }
3875if ${ac_cv_prog_ac_ct_CC+:} false; then :
3876  $as_echo_n "(cached) " >&6
3877else
3878  if test -n "$ac_ct_CC"; then
3879  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3880else
3881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882for as_dir in $PATH
3883do
3884  IFS=$as_save_IFS
3885  test -z "$as_dir" && as_dir=.
3886    for ac_exec_ext in '' $ac_executable_extensions; do
3887  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3888    ac_cv_prog_ac_ct_CC="gcc"
3889    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3890    break 2
3891  fi
3892done
3893  done
3894IFS=$as_save_IFS
3895
3896fi
3897fi
3898ac_ct_CC=$ac_cv_prog_ac_ct_CC
3899if test -n "$ac_ct_CC"; then
3900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3901$as_echo "$ac_ct_CC" >&6; }
3902else
3903  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904$as_echo "no" >&6; }
3905fi
3906
3907  if test "x$ac_ct_CC" = x; then
3908    CC=""
3909  else
3910    case $cross_compiling:$ac_tool_warned in
3911yes:)
3912{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3913$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3914ac_tool_warned=yes ;;
3915esac
3916    CC=$ac_ct_CC
3917  fi
3918else
3919  CC="$ac_cv_prog_CC"
3920fi
3921
3922if test -z "$CC"; then
3923          if test -n "$ac_tool_prefix"; then
3924    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3925set dummy ${ac_tool_prefix}cc; ac_word=$2
3926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3927$as_echo_n "checking for $ac_word... " >&6; }
3928if ${ac_cv_prog_CC+:} false; then :
3929  $as_echo_n "(cached) " >&6
3930else
3931  if test -n "$CC"; then
3932  ac_cv_prog_CC="$CC" # Let the user override the test.
3933else
3934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935for as_dir in $PATH
3936do
3937  IFS=$as_save_IFS
3938  test -z "$as_dir" && as_dir=.
3939    for ac_exec_ext in '' $ac_executable_extensions; do
3940  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3941    ac_cv_prog_CC="${ac_tool_prefix}cc"
3942    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3943    break 2
3944  fi
3945done
3946  done
3947IFS=$as_save_IFS
3948
3949fi
3950fi
3951CC=$ac_cv_prog_CC
3952if test -n "$CC"; then
3953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3954$as_echo "$CC" >&6; }
3955else
3956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957$as_echo "no" >&6; }
3958fi
3959
3960
3961  fi
3962fi
3963if test -z "$CC"; then
3964  # Extract the first word of "cc", so it can be a program name with args.
3965set dummy cc; ac_word=$2
3966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967$as_echo_n "checking for $ac_word... " >&6; }
3968if ${ac_cv_prog_CC+:} false; then :
3969  $as_echo_n "(cached) " >&6
3970else
3971  if test -n "$CC"; then
3972  ac_cv_prog_CC="$CC" # Let the user override the test.
3973else
3974  ac_prog_rejected=no
3975as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976for as_dir in $PATH
3977do
3978  IFS=$as_save_IFS
3979  test -z "$as_dir" && as_dir=.
3980    for ac_exec_ext in '' $ac_executable_extensions; do
3981  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3982    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3983       ac_prog_rejected=yes
3984       continue
3985     fi
3986    ac_cv_prog_CC="cc"
3987    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3988    break 2
3989  fi
3990done
3991  done
3992IFS=$as_save_IFS
3993
3994if test $ac_prog_rejected = yes; then
3995  # We found a bogon in the path, so make sure we never use it.
3996  set dummy $ac_cv_prog_CC
3997  shift
3998  if test $# != 0; then
3999    # We chose a different compiler from the bogus one.
4000    # However, it has the same basename, so the bogon will be chosen
4001    # first if we set CC to just the basename; use the full file name.
4002    shift
4003    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4004  fi
4005fi
4006fi
4007fi
4008CC=$ac_cv_prog_CC
4009if test -n "$CC"; then
4010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4011$as_echo "$CC" >&6; }
4012else
4013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014$as_echo "no" >&6; }
4015fi
4016
4017
4018fi
4019if test -z "$CC"; then
4020  if test -n "$ac_tool_prefix"; then
4021  for ac_prog in cl.exe
4022  do
4023    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4024set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4026$as_echo_n "checking for $ac_word... " >&6; }
4027if ${ac_cv_prog_CC+:} false; then :
4028  $as_echo_n "(cached) " >&6
4029else
4030  if test -n "$CC"; then
4031  ac_cv_prog_CC="$CC" # Let the user override the test.
4032else
4033as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4034for as_dir in $PATH
4035do
4036  IFS=$as_save_IFS
4037  test -z "$as_dir" && as_dir=.
4038    for ac_exec_ext in '' $ac_executable_extensions; do
4039  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4040    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4041    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4042    break 2
4043  fi
4044done
4045  done
4046IFS=$as_save_IFS
4047
4048fi
4049fi
4050CC=$ac_cv_prog_CC
4051if test -n "$CC"; then
4052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4053$as_echo "$CC" >&6; }
4054else
4055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056$as_echo "no" >&6; }
4057fi
4058
4059
4060    test -n "$CC" && break
4061  done
4062fi
4063if test -z "$CC"; then
4064  ac_ct_CC=$CC
4065  for ac_prog in cl.exe
4066do
4067  # Extract the first word of "$ac_prog", so it can be a program name with args.
4068set dummy $ac_prog; ac_word=$2
4069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070$as_echo_n "checking for $ac_word... " >&6; }
4071if ${ac_cv_prog_ac_ct_CC+:} false; then :
4072  $as_echo_n "(cached) " >&6
4073else
4074  if test -n "$ac_ct_CC"; then
4075  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4076else
4077as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4078for as_dir in $PATH
4079do
4080  IFS=$as_save_IFS
4081  test -z "$as_dir" && as_dir=.
4082    for ac_exec_ext in '' $ac_executable_extensions; do
4083  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4084    ac_cv_prog_ac_ct_CC="$ac_prog"
4085    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4086    break 2
4087  fi
4088done
4089  done
4090IFS=$as_save_IFS
4091
4092fi
4093fi
4094ac_ct_CC=$ac_cv_prog_ac_ct_CC
4095if test -n "$ac_ct_CC"; then
4096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4097$as_echo "$ac_ct_CC" >&6; }
4098else
4099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100$as_echo "no" >&6; }
4101fi
4102
4103
4104  test -n "$ac_ct_CC" && break
4105done
4106
4107  if test "x$ac_ct_CC" = x; then
4108    CC=""
4109  else
4110    case $cross_compiling:$ac_tool_warned in
4111yes:)
4112{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4113$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4114ac_tool_warned=yes ;;
4115esac
4116    CC=$ac_ct_CC
4117  fi
4118fi
4119
4120fi
4121
4122
4123test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4124$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4125as_fn_error $? "no acceptable C compiler found in \$PATH
4126See \`config.log' for more details" "$LINENO" 5; }
4127
4128# Provide some information about the compiler.
4129$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4130set X $ac_compile
4131ac_compiler=$2
4132for ac_option in --version -v -V -qversion; do
4133  { { ac_try="$ac_compiler $ac_option >&5"
4134case "(($ac_try" in
4135  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4136  *) ac_try_echo=$ac_try;;
4137esac
4138eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4139$as_echo "$ac_try_echo"; } >&5
4140  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4141  ac_status=$?
4142  if test -s conftest.err; then
4143    sed '10a\
4144... rest of stderr output deleted ...
4145         10q' conftest.err >conftest.er1
4146    cat conftest.er1 >&5
4147  fi
4148  rm -f conftest.er1 conftest.err
4149  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4150  test $ac_status = 0; }
4151done
4152
4153cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154/* end confdefs.h.  */
4155
4156int
4157main ()
4158{
4159
4160  ;
4161  return 0;
4162}
4163_ACEOF
4164ac_clean_files_save=$ac_clean_files
4165ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4166# Try to create an executable without -o first, disregard a.out.
4167# It will help us diagnose broken compilers, and finding out an intuition
4168# of exeext.
4169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4170$as_echo_n "checking whether the C compiler works... " >&6; }
4171ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4172
4173# The possible output files:
4174ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4175
4176ac_rmfiles=
4177for ac_file in $ac_files
4178do
4179  case $ac_file in
4180    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4181    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4182  esac
4183done
4184rm -f $ac_rmfiles
4185
4186if { { ac_try="$ac_link_default"
4187case "(($ac_try" in
4188  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4189  *) ac_try_echo=$ac_try;;
4190esac
4191eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4192$as_echo "$ac_try_echo"; } >&5
4193  (eval "$ac_link_default") 2>&5
4194  ac_status=$?
4195  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4196  test $ac_status = 0; }; then :
4197  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4198# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4199# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4200# so that the user can short-circuit this test for compilers unknown to
4201# Autoconf.
4202for ac_file in $ac_files ''
4203do
4204  test -f "$ac_file" || continue
4205  case $ac_file in
4206    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4207	;;
4208    [ab].out )
4209	# We found the default executable, but exeext='' is most
4210	# certainly right.
4211	break;;
4212    *.* )
4213	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4214	then :; else
4215	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4216	fi
4217	# We set ac_cv_exeext here because the later test for it is not
4218	# safe: cross compilers may not add the suffix if given an `-o'
4219	# argument, so we may need to know it at that point already.
4220	# Even if this section looks crufty: it has the advantage of
4221	# actually working.
4222	break;;
4223    * )
4224	break;;
4225  esac
4226done
4227test "$ac_cv_exeext" = no && ac_cv_exeext=
4228
4229else
4230  ac_file=''
4231fi
4232if test -z "$ac_file"; then :
4233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234$as_echo "no" >&6; }
4235$as_echo "$as_me: failed program was:" >&5
4236sed 's/^/| /' conftest.$ac_ext >&5
4237
4238{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4239$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4240as_fn_error 77 "C compiler cannot create executables
4241See \`config.log' for more details" "$LINENO" 5; }
4242else
4243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4244$as_echo "yes" >&6; }
4245fi
4246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4247$as_echo_n "checking for C compiler default output file name... " >&6; }
4248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4249$as_echo "$ac_file" >&6; }
4250ac_exeext=$ac_cv_exeext
4251
4252rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4253ac_clean_files=$ac_clean_files_save
4254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4255$as_echo_n "checking for suffix of executables... " >&6; }
4256if { { ac_try="$ac_link"
4257case "(($ac_try" in
4258  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4259  *) ac_try_echo=$ac_try;;
4260esac
4261eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4262$as_echo "$ac_try_echo"; } >&5
4263  (eval "$ac_link") 2>&5
4264  ac_status=$?
4265  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4266  test $ac_status = 0; }; then :
4267  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4268# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4269# work properly (i.e., refer to `conftest.exe'), while it won't with
4270# `rm'.
4271for ac_file in conftest.exe conftest conftest.*; do
4272  test -f "$ac_file" || continue
4273  case $ac_file in
4274    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4275    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4276	  break;;
4277    * ) break;;
4278  esac
4279done
4280else
4281  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4282$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4283as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4284See \`config.log' for more details" "$LINENO" 5; }
4285fi
4286rm -f conftest conftest$ac_cv_exeext
4287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4288$as_echo "$ac_cv_exeext" >&6; }
4289
4290rm -f conftest.$ac_ext
4291EXEEXT=$ac_cv_exeext
4292ac_exeext=$EXEEXT
4293cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294/* end confdefs.h.  */
4295#include <stdio.h>
4296int
4297main ()
4298{
4299FILE *f = fopen ("conftest.out", "w");
4300 return ferror (f) || fclose (f) != 0;
4301
4302  ;
4303  return 0;
4304}
4305_ACEOF
4306ac_clean_files="$ac_clean_files conftest.out"
4307# Check that the compiler produces executables we can run.  If not, either
4308# the compiler is broken, or we cross compile.
4309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4310$as_echo_n "checking whether we are cross compiling... " >&6; }
4311if test "$cross_compiling" != yes; then
4312  { { ac_try="$ac_link"
4313case "(($ac_try" in
4314  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4315  *) ac_try_echo=$ac_try;;
4316esac
4317eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4318$as_echo "$ac_try_echo"; } >&5
4319  (eval "$ac_link") 2>&5
4320  ac_status=$?
4321  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4322  test $ac_status = 0; }
4323  if { ac_try='./conftest$ac_cv_exeext'
4324  { { case "(($ac_try" in
4325  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4326  *) ac_try_echo=$ac_try;;
4327esac
4328eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4329$as_echo "$ac_try_echo"; } >&5
4330  (eval "$ac_try") 2>&5
4331  ac_status=$?
4332  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4333  test $ac_status = 0; }; }; then
4334    cross_compiling=no
4335  else
4336    if test "$cross_compiling" = maybe; then
4337	cross_compiling=yes
4338    else
4339	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4340$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4341as_fn_error $? "cannot run C compiled programs.
4342If you meant to cross compile, use \`--host'.
4343See \`config.log' for more details" "$LINENO" 5; }
4344    fi
4345  fi
4346fi
4347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4348$as_echo "$cross_compiling" >&6; }
4349
4350rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4351ac_clean_files=$ac_clean_files_save
4352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4353$as_echo_n "checking for suffix of object files... " >&6; }
4354if ${ac_cv_objext+:} false; then :
4355  $as_echo_n "(cached) " >&6
4356else
4357  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358/* end confdefs.h.  */
4359
4360int
4361main ()
4362{
4363
4364  ;
4365  return 0;
4366}
4367_ACEOF
4368rm -f conftest.o conftest.obj
4369if { { ac_try="$ac_compile"
4370case "(($ac_try" in
4371  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4372  *) ac_try_echo=$ac_try;;
4373esac
4374eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4375$as_echo "$ac_try_echo"; } >&5
4376  (eval "$ac_compile") 2>&5
4377  ac_status=$?
4378  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4379  test $ac_status = 0; }; then :
4380  for ac_file in conftest.o conftest.obj conftest.*; do
4381  test -f "$ac_file" || continue;
4382  case $ac_file in
4383    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4384    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4385       break;;
4386  esac
4387done
4388else
4389  $as_echo "$as_me: failed program was:" >&5
4390sed 's/^/| /' conftest.$ac_ext >&5
4391
4392{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4393$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4394as_fn_error $? "cannot compute suffix of object files: cannot compile
4395See \`config.log' for more details" "$LINENO" 5; }
4396fi
4397rm -f conftest.$ac_cv_objext conftest.$ac_ext
4398fi
4399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4400$as_echo "$ac_cv_objext" >&6; }
4401OBJEXT=$ac_cv_objext
4402ac_objext=$OBJEXT
4403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4404$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4405if ${ac_cv_c_compiler_gnu+:} false; then :
4406  $as_echo_n "(cached) " >&6
4407else
4408  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4409/* end confdefs.h.  */
4410
4411int
4412main ()
4413{
4414#ifndef __GNUC__
4415       choke me
4416#endif
4417
4418  ;
4419  return 0;
4420}
4421_ACEOF
4422if ac_fn_c_try_compile "$LINENO"; then :
4423  ac_compiler_gnu=yes
4424else
4425  ac_compiler_gnu=no
4426fi
4427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4428ac_cv_c_compiler_gnu=$ac_compiler_gnu
4429
4430fi
4431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4432$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4433if test $ac_compiler_gnu = yes; then
4434  GCC=yes
4435else
4436  GCC=
4437fi
4438ac_test_CFLAGS=${CFLAGS+set}
4439ac_save_CFLAGS=$CFLAGS
4440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4441$as_echo_n "checking whether $CC accepts -g... " >&6; }
4442if ${ac_cv_prog_cc_g+:} false; then :
4443  $as_echo_n "(cached) " >&6
4444else
4445  ac_save_c_werror_flag=$ac_c_werror_flag
4446   ac_c_werror_flag=yes
4447   ac_cv_prog_cc_g=no
4448   CFLAGS="-g"
4449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4450/* end confdefs.h.  */
4451
4452int
4453main ()
4454{
4455
4456  ;
4457  return 0;
4458}
4459_ACEOF
4460if ac_fn_c_try_compile "$LINENO"; then :
4461  ac_cv_prog_cc_g=yes
4462else
4463  CFLAGS=""
4464      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465/* end confdefs.h.  */
4466
4467int
4468main ()
4469{
4470
4471  ;
4472  return 0;
4473}
4474_ACEOF
4475if ac_fn_c_try_compile "$LINENO"; then :
4476
4477else
4478  ac_c_werror_flag=$ac_save_c_werror_flag
4479	 CFLAGS="-g"
4480	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481/* end confdefs.h.  */
4482
4483int
4484main ()
4485{
4486
4487  ;
4488  return 0;
4489}
4490_ACEOF
4491if ac_fn_c_try_compile "$LINENO"; then :
4492  ac_cv_prog_cc_g=yes
4493fi
4494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4495fi
4496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4497fi
4498rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4499   ac_c_werror_flag=$ac_save_c_werror_flag
4500fi
4501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4502$as_echo "$ac_cv_prog_cc_g" >&6; }
4503if test "$ac_test_CFLAGS" = set; then
4504  CFLAGS=$ac_save_CFLAGS
4505elif test $ac_cv_prog_cc_g = yes; then
4506  if test "$GCC" = yes; then
4507    CFLAGS="-g -O2"
4508  else
4509    CFLAGS="-g"
4510  fi
4511else
4512  if test "$GCC" = yes; then
4513    CFLAGS="-O2"
4514  else
4515    CFLAGS=
4516  fi
4517fi
4518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4519$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4520if ${ac_cv_prog_cc_c89+:} false; then :
4521  $as_echo_n "(cached) " >&6
4522else
4523  ac_cv_prog_cc_c89=no
4524ac_save_CC=$CC
4525cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526/* end confdefs.h.  */
4527#include <stdarg.h>
4528#include <stdio.h>
4529struct stat;
4530/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4531struct buf { int x; };
4532FILE * (*rcsopen) (struct buf *, struct stat *, int);
4533static char *e (p, i)
4534     char **p;
4535     int i;
4536{
4537  return p[i];
4538}
4539static char *f (char * (*g) (char **, int), char **p, ...)
4540{
4541  char *s;
4542  va_list v;
4543  va_start (v,p);
4544  s = g (p, va_arg (v,int));
4545  va_end (v);
4546  return s;
4547}
4548
4549/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4550   function prototypes and stuff, but not '\xHH' hex character constants.
4551   These don't provoke an error unfortunately, instead are silently treated
4552   as 'x'.  The following induces an error, until -std is added to get
4553   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4554   array size at least.  It's necessary to write '\x00'==0 to get something
4555   that's true only with -std.  */
4556int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4557
4558/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4559   inside strings and character constants.  */
4560#define FOO(x) 'x'
4561int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4562
4563int test (int i, double x);
4564struct s1 {int (*f) (int a);};
4565struct s2 {int (*f) (double a);};
4566int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4567int argc;
4568char **argv;
4569int
4570main ()
4571{
4572return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4573  ;
4574  return 0;
4575}
4576_ACEOF
4577for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4578	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4579do
4580  CC="$ac_save_CC $ac_arg"
4581  if ac_fn_c_try_compile "$LINENO"; then :
4582  ac_cv_prog_cc_c89=$ac_arg
4583fi
4584rm -f core conftest.err conftest.$ac_objext
4585  test "x$ac_cv_prog_cc_c89" != "xno" && break
4586done
4587rm -f conftest.$ac_ext
4588CC=$ac_save_CC
4589
4590fi
4591# AC_CACHE_VAL
4592case "x$ac_cv_prog_cc_c89" in
4593  x)
4594    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4595$as_echo "none needed" >&6; } ;;
4596  xno)
4597    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4598$as_echo "unsupported" >&6; } ;;
4599  *)
4600    CC="$CC $ac_cv_prog_cc_c89"
4601    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4602$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4603esac
4604if test "x$ac_cv_prog_cc_c89" != xno; then :
4605
4606fi
4607
4608ac_ext=c
4609ac_cpp='$CPP $CPPFLAGS'
4610ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613
4614ac_ext=c
4615ac_cpp='$CPP $CPPFLAGS'
4616ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4617ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4618ac_compiler_gnu=$ac_cv_c_compiler_gnu
4619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4620$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4621if ${am_cv_prog_cc_c_o+:} false; then :
4622  $as_echo_n "(cached) " >&6
4623else
4624  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625/* end confdefs.h.  */
4626
4627int
4628main ()
4629{
4630
4631  ;
4632  return 0;
4633}
4634_ACEOF
4635  # Make sure it works both with $CC and with simple cc.
4636  # Following AC_PROG_CC_C_O, we do the test twice because some
4637  # compilers refuse to overwrite an existing .o file with -o,
4638  # though they will create one.
4639  am_cv_prog_cc_c_o=yes
4640  for am_i in 1 2; do
4641    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4642   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4643   ac_status=$?
4644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645   (exit $ac_status); } \
4646         && test -f conftest2.$ac_objext; then
4647      : OK
4648    else
4649      am_cv_prog_cc_c_o=no
4650      break
4651    fi
4652  done
4653  rm -f core conftest*
4654  unset am_i
4655fi
4656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4657$as_echo "$am_cv_prog_cc_c_o" >&6; }
4658if test "$am_cv_prog_cc_c_o" != yes; then
4659   # Losing compiler, so override with the script.
4660   # FIXME: It is wrong to rewrite CC.
4661   # But if we don't then we get into trouble of one sort or another.
4662   # A longer-term fix would be to have automake use am__CC in this case,
4663   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4664   CC="$am_aux_dir/compile $CC"
4665fi
4666ac_ext=c
4667ac_cpp='$CPP $CPPFLAGS'
4668ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4669ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4670ac_compiler_gnu=$ac_cv_c_compiler_gnu
4671
4672
4673depcc="$CC"   am_compiler_list=
4674
4675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4676$as_echo_n "checking dependency style of $depcc... " >&6; }
4677if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4678  $as_echo_n "(cached) " >&6
4679else
4680  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4681  # We make a subdir and do the tests there.  Otherwise we can end up
4682  # making bogus files that we don't know about and never remove.  For
4683  # instance it was reported that on HP-UX the gcc test will end up
4684  # making a dummy file named 'D' -- because '-MD' means "put the output
4685  # in D".
4686  rm -rf conftest.dir
4687  mkdir conftest.dir
4688  # Copy depcomp to subdir because otherwise we won't find it if we're
4689  # using a relative directory.
4690  cp "$am_depcomp" conftest.dir
4691  cd conftest.dir
4692  # We will build objects and dependencies in a subdirectory because
4693  # it helps to detect inapplicable dependency modes.  For instance
4694  # both Tru64's cc and ICC support -MD to output dependencies as a
4695  # side effect of compilation, but ICC will put the dependencies in
4696  # the current directory while Tru64 will put them in the object
4697  # directory.
4698  mkdir sub
4699
4700  am_cv_CC_dependencies_compiler_type=none
4701  if test "$am_compiler_list" = ""; then
4702     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4703  fi
4704  am__universal=false
4705  case " $depcc " in #(
4706     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4707     esac
4708
4709  for depmode in $am_compiler_list; do
4710    # Setup a source with many dependencies, because some compilers
4711    # like to wrap large dependency lists on column 80 (with \), and
4712    # we should not choose a depcomp mode which is confused by this.
4713    #
4714    # We need to recreate these files for each test, as the compiler may
4715    # overwrite some of them when testing with obscure command lines.
4716    # This happens at least with the AIX C compiler.
4717    : > sub/conftest.c
4718    for i in 1 2 3 4 5 6; do
4719      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4720      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4721      # Solaris 10 /bin/sh.
4722      echo '/* dummy */' > sub/conftst$i.h
4723    done
4724    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4725
4726    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4727    # mode.  It turns out that the SunPro C++ compiler does not properly
4728    # handle '-M -o', and we need to detect this.  Also, some Intel
4729    # versions had trouble with output in subdirs.
4730    am__obj=sub/conftest.${OBJEXT-o}
4731    am__minus_obj="-o $am__obj"
4732    case $depmode in
4733    gcc)
4734      # This depmode causes a compiler race in universal mode.
4735      test "$am__universal" = false || continue
4736      ;;
4737    nosideeffect)
4738      # After this tag, mechanisms are not by side-effect, so they'll
4739      # only be used when explicitly requested.
4740      if test "x$enable_dependency_tracking" = xyes; then
4741	continue
4742      else
4743	break
4744      fi
4745      ;;
4746    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4747      # This compiler won't grok '-c -o', but also, the minuso test has
4748      # not run yet.  These depmodes are late enough in the game, and
4749      # so weak that their functioning should not be impacted.
4750      am__obj=conftest.${OBJEXT-o}
4751      am__minus_obj=
4752      ;;
4753    none) break ;;
4754    esac
4755    if depmode=$depmode \
4756       source=sub/conftest.c object=$am__obj \
4757       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4758       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4759         >/dev/null 2>conftest.err &&
4760       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4761       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4762       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4763       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4764      # icc doesn't choke on unknown options, it will just issue warnings
4765      # or remarks (even with -Werror).  So we grep stderr for any message
4766      # that says an option was ignored or not supported.
4767      # When given -MP, icc 7.0 and 7.1 complain thusly:
4768      #   icc: Command line warning: ignoring option '-M'; no argument required
4769      # The diagnosis changed in icc 8.0:
4770      #   icc: Command line remark: option '-MP' not supported
4771      if (grep 'ignoring option' conftest.err ||
4772          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4773        am_cv_CC_dependencies_compiler_type=$depmode
4774        break
4775      fi
4776    fi
4777  done
4778
4779  cd ..
4780  rm -rf conftest.dir
4781else
4782  am_cv_CC_dependencies_compiler_type=none
4783fi
4784
4785fi
4786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4787$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4788CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4789
4790 if
4791  test "x$enable_dependency_tracking" != xno \
4792  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4793  am__fastdepCC_TRUE=
4794  am__fastdepCC_FALSE='#'
4795else
4796  am__fastdepCC_TRUE='#'
4797  am__fastdepCC_FALSE=
4798fi
4799
4800
4801
4802ac_ext=c
4803ac_cpp='$CPP $CPPFLAGS'
4804ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4805ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4806ac_compiler_gnu=$ac_cv_c_compiler_gnu
4807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4808$as_echo_n "checking how to run the C preprocessor... " >&6; }
4809# On Suns, sometimes $CPP names a directory.
4810if test -n "$CPP" && test -d "$CPP"; then
4811  CPP=
4812fi
4813if test -z "$CPP"; then
4814  if ${ac_cv_prog_CPP+:} false; then :
4815  $as_echo_n "(cached) " >&6
4816else
4817      # Double quotes because CPP needs to be expanded
4818    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4819    do
4820      ac_preproc_ok=false
4821for ac_c_preproc_warn_flag in '' yes
4822do
4823  # Use a header file that comes with gcc, so configuring glibc
4824  # with a fresh cross-compiler works.
4825  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4826  # <limits.h> exists even on freestanding compilers.
4827  # On the NeXT, cc -E runs the code through the compiler's parser,
4828  # not just through cpp. "Syntax error" is here to catch this case.
4829  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830/* end confdefs.h.  */
4831#ifdef __STDC__
4832# include <limits.h>
4833#else
4834# include <assert.h>
4835#endif
4836		     Syntax error
4837_ACEOF
4838if ac_fn_c_try_cpp "$LINENO"; then :
4839
4840else
4841  # Broken: fails on valid input.
4842continue
4843fi
4844rm -f conftest.err conftest.i conftest.$ac_ext
4845
4846  # OK, works on sane cases.  Now check whether nonexistent headers
4847  # can be detected and how.
4848  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4849/* end confdefs.h.  */
4850#include <ac_nonexistent.h>
4851_ACEOF
4852if ac_fn_c_try_cpp "$LINENO"; then :
4853  # Broken: success on invalid input.
4854continue
4855else
4856  # Passes both tests.
4857ac_preproc_ok=:
4858break
4859fi
4860rm -f conftest.err conftest.i conftest.$ac_ext
4861
4862done
4863# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4864rm -f conftest.i conftest.err conftest.$ac_ext
4865if $ac_preproc_ok; then :
4866  break
4867fi
4868
4869    done
4870    ac_cv_prog_CPP=$CPP
4871
4872fi
4873  CPP=$ac_cv_prog_CPP
4874else
4875  ac_cv_prog_CPP=$CPP
4876fi
4877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4878$as_echo "$CPP" >&6; }
4879ac_preproc_ok=false
4880for ac_c_preproc_warn_flag in '' yes
4881do
4882  # Use a header file that comes with gcc, so configuring glibc
4883  # with a fresh cross-compiler works.
4884  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4885  # <limits.h> exists even on freestanding compilers.
4886  # On the NeXT, cc -E runs the code through the compiler's parser,
4887  # not just through cpp. "Syntax error" is here to catch this case.
4888  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4889/* end confdefs.h.  */
4890#ifdef __STDC__
4891# include <limits.h>
4892#else
4893# include <assert.h>
4894#endif
4895		     Syntax error
4896_ACEOF
4897if ac_fn_c_try_cpp "$LINENO"; then :
4898
4899else
4900  # Broken: fails on valid input.
4901continue
4902fi
4903rm -f conftest.err conftest.i conftest.$ac_ext
4904
4905  # OK, works on sane cases.  Now check whether nonexistent headers
4906  # can be detected and how.
4907  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4908/* end confdefs.h.  */
4909#include <ac_nonexistent.h>
4910_ACEOF
4911if ac_fn_c_try_cpp "$LINENO"; then :
4912  # Broken: success on invalid input.
4913continue
4914else
4915  # Passes both tests.
4916ac_preproc_ok=:
4917break
4918fi
4919rm -f conftest.err conftest.i conftest.$ac_ext
4920
4921done
4922# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4923rm -f conftest.i conftest.err conftest.$ac_ext
4924if $ac_preproc_ok; then :
4925
4926else
4927  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4928$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4929as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4930See \`config.log' for more details" "$LINENO" 5; }
4931fi
4932
4933ac_ext=c
4934ac_cpp='$CPP $CPPFLAGS'
4935ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4936ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4937ac_compiler_gnu=$ac_cv_c_compiler_gnu
4938
4939
4940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4941$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4942if ${ac_cv_path_GREP+:} false; then :
4943  $as_echo_n "(cached) " >&6
4944else
4945  if test -z "$GREP"; then
4946  ac_path_GREP_found=false
4947  # Loop through the user's path and test for each of PROGNAME-LIST
4948  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4949for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4950do
4951  IFS=$as_save_IFS
4952  test -z "$as_dir" && as_dir=.
4953    for ac_prog in grep ggrep; do
4954    for ac_exec_ext in '' $ac_executable_extensions; do
4955      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4956      as_fn_executable_p "$ac_path_GREP" || continue
4957# Check for GNU ac_path_GREP and select it if it is found.
4958  # Check for GNU $ac_path_GREP
4959case `"$ac_path_GREP" --version 2>&1` in
4960*GNU*)
4961  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4962*)
4963  ac_count=0
4964  $as_echo_n 0123456789 >"conftest.in"
4965  while :
4966  do
4967    cat "conftest.in" "conftest.in" >"conftest.tmp"
4968    mv "conftest.tmp" "conftest.in"
4969    cp "conftest.in" "conftest.nl"
4970    $as_echo 'GREP' >> "conftest.nl"
4971    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4972    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4973    as_fn_arith $ac_count + 1 && ac_count=$as_val
4974    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4975      # Best one so far, save it but keep looking for a better one
4976      ac_cv_path_GREP="$ac_path_GREP"
4977      ac_path_GREP_max=$ac_count
4978    fi
4979    # 10*(2^10) chars as input seems more than enough
4980    test $ac_count -gt 10 && break
4981  done
4982  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4983esac
4984
4985      $ac_path_GREP_found && break 3
4986    done
4987  done
4988  done
4989IFS=$as_save_IFS
4990  if test -z "$ac_cv_path_GREP"; then
4991    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4992  fi
4993else
4994  ac_cv_path_GREP=$GREP
4995fi
4996
4997fi
4998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4999$as_echo "$ac_cv_path_GREP" >&6; }
5000 GREP="$ac_cv_path_GREP"
5001
5002
5003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5004$as_echo_n "checking for egrep... " >&6; }
5005if ${ac_cv_path_EGREP+:} false; then :
5006  $as_echo_n "(cached) " >&6
5007else
5008  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5009   then ac_cv_path_EGREP="$GREP -E"
5010   else
5011     if test -z "$EGREP"; then
5012  ac_path_EGREP_found=false
5013  # Loop through the user's path and test for each of PROGNAME-LIST
5014  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5015for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5016do
5017  IFS=$as_save_IFS
5018  test -z "$as_dir" && as_dir=.
5019    for ac_prog in egrep; do
5020    for ac_exec_ext in '' $ac_executable_extensions; do
5021      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5022      as_fn_executable_p "$ac_path_EGREP" || continue
5023# Check for GNU ac_path_EGREP and select it if it is found.
5024  # Check for GNU $ac_path_EGREP
5025case `"$ac_path_EGREP" --version 2>&1` in
5026*GNU*)
5027  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5028*)
5029  ac_count=0
5030  $as_echo_n 0123456789 >"conftest.in"
5031  while :
5032  do
5033    cat "conftest.in" "conftest.in" >"conftest.tmp"
5034    mv "conftest.tmp" "conftest.in"
5035    cp "conftest.in" "conftest.nl"
5036    $as_echo 'EGREP' >> "conftest.nl"
5037    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5038    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5039    as_fn_arith $ac_count + 1 && ac_count=$as_val
5040    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5041      # Best one so far, save it but keep looking for a better one
5042      ac_cv_path_EGREP="$ac_path_EGREP"
5043      ac_path_EGREP_max=$ac_count
5044    fi
5045    # 10*(2^10) chars as input seems more than enough
5046    test $ac_count -gt 10 && break
5047  done
5048  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5049esac
5050
5051      $ac_path_EGREP_found && break 3
5052    done
5053  done
5054  done
5055IFS=$as_save_IFS
5056  if test -z "$ac_cv_path_EGREP"; then
5057    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5058  fi
5059else
5060  ac_cv_path_EGREP=$EGREP
5061fi
5062
5063   fi
5064fi
5065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5066$as_echo "$ac_cv_path_EGREP" >&6; }
5067 EGREP="$ac_cv_path_EGREP"
5068
5069
5070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5071$as_echo_n "checking for ANSI C header files... " >&6; }
5072if ${ac_cv_header_stdc+:} false; then :
5073  $as_echo_n "(cached) " >&6
5074else
5075  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5076/* end confdefs.h.  */
5077#include <stdlib.h>
5078#include <stdarg.h>
5079#include <string.h>
5080#include <float.h>
5081
5082int
5083main ()
5084{
5085
5086  ;
5087  return 0;
5088}
5089_ACEOF
5090if ac_fn_c_try_compile "$LINENO"; then :
5091  ac_cv_header_stdc=yes
5092else
5093  ac_cv_header_stdc=no
5094fi
5095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5096
5097if test $ac_cv_header_stdc = yes; then
5098  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5099  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5100/* end confdefs.h.  */
5101#include <string.h>
5102
5103_ACEOF
5104if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5105  $EGREP "memchr" >/dev/null 2>&1; then :
5106
5107else
5108  ac_cv_header_stdc=no
5109fi
5110rm -f conftest*
5111
5112fi
5113
5114if test $ac_cv_header_stdc = yes; then
5115  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5116  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117/* end confdefs.h.  */
5118#include <stdlib.h>
5119
5120_ACEOF
5121if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5122  $EGREP "free" >/dev/null 2>&1; then :
5123
5124else
5125  ac_cv_header_stdc=no
5126fi
5127rm -f conftest*
5128
5129fi
5130
5131if test $ac_cv_header_stdc = yes; then
5132  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5133  if test "$cross_compiling" = yes; then :
5134  :
5135else
5136  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5137/* end confdefs.h.  */
5138#include <ctype.h>
5139#include <stdlib.h>
5140#if ((' ' & 0x0FF) == 0x020)
5141# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5142# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5143#else
5144# define ISLOWER(c) \
5145		   (('a' <= (c) && (c) <= 'i') \
5146		     || ('j' <= (c) && (c) <= 'r') \
5147		     || ('s' <= (c) && (c) <= 'z'))
5148# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5149#endif
5150
5151#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5152int
5153main ()
5154{
5155  int i;
5156  for (i = 0; i < 256; i++)
5157    if (XOR (islower (i), ISLOWER (i))
5158	|| toupper (i) != TOUPPER (i))
5159      return 2;
5160  return 0;
5161}
5162_ACEOF
5163if ac_fn_c_try_run "$LINENO"; then :
5164
5165else
5166  ac_cv_header_stdc=no
5167fi
5168rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5169  conftest.$ac_objext conftest.beam conftest.$ac_ext
5170fi
5171
5172fi
5173fi
5174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5175$as_echo "$ac_cv_header_stdc" >&6; }
5176if test $ac_cv_header_stdc = yes; then
5177
5178$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5179
5180fi
5181
5182# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5183for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5184		  inttypes.h stdint.h unistd.h
5185do :
5186  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5187ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5188"
5189if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5190  cat >>confdefs.h <<_ACEOF
5191#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5192_ACEOF
5193
5194fi
5195
5196done
5197
5198
5199
5200   for ac_header in locale.h
5201do :
5202  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5203if test "x$ac_cv_header_locale_h" = xyes; then :
5204  cat >>confdefs.h <<_ACEOF
5205#define HAVE_LOCALE_H 1
5206_ACEOF
5207
5208fi
5209
5210done
5211
5212    if test $ac_cv_header_locale_h = yes; then
5213    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5214$as_echo_n "checking for LC_MESSAGES... " >&6; }
5215if ${am_cv_val_LC_MESSAGES+:} false; then :
5216  $as_echo_n "(cached) " >&6
5217else
5218  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5219/* end confdefs.h.  */
5220#include <locale.h>
5221int
5222main ()
5223{
5224return LC_MESSAGES
5225  ;
5226  return 0;
5227}
5228_ACEOF
5229if ac_fn_c_try_link "$LINENO"; then :
5230  am_cv_val_LC_MESSAGES=yes
5231else
5232  am_cv_val_LC_MESSAGES=no
5233fi
5234rm -f core conftest.err conftest.$ac_objext \
5235    conftest$ac_exeext conftest.$ac_ext
5236fi
5237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5238$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5239    if test $am_cv_val_LC_MESSAGES = yes; then
5240
5241$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5242
5243    fi
5244  fi
5245     USE_NLS=yes
5246
5247
5248    gt_cv_have_gettext=no
5249
5250    CATOBJEXT=NONE
5251    XGETTEXT=:
5252    INTLLIBS=
5253
5254
5255    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5256$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5257if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5258  $as_echo_n "(cached) " >&6
5259else
5260  gt_save_LIBS="$LIBS"
5261     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5262     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5263/* end confdefs.h.  */
5264#include <CoreFoundation/CFPreferences.h>
5265int
5266main ()
5267{
5268CFPreferencesCopyAppValue(NULL, NULL)
5269  ;
5270  return 0;
5271}
5272_ACEOF
5273if ac_fn_c_try_link "$LINENO"; then :
5274  gt_cv_func_CFPreferencesCopyAppValue=yes
5275else
5276  gt_cv_func_CFPreferencesCopyAppValue=no
5277fi
5278rm -f core conftest.err conftest.$ac_objext \
5279    conftest$ac_exeext conftest.$ac_ext
5280     LIBS="$gt_save_LIBS"
5281fi
5282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5283$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5284  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5285
5286$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5287
5288  fi
5289    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5290$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5291if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
5292  $as_echo_n "(cached) " >&6
5293else
5294  gt_save_LIBS="$LIBS"
5295     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5296     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5297/* end confdefs.h.  */
5298#include <CoreFoundation/CFLocale.h>
5299int
5300main ()
5301{
5302CFLocaleCopyCurrent();
5303  ;
5304  return 0;
5305}
5306_ACEOF
5307if ac_fn_c_try_link "$LINENO"; then :
5308  gt_cv_func_CFLocaleCopyCurrent=yes
5309else
5310  gt_cv_func_CFLocaleCopyCurrent=no
5311fi
5312rm -f core conftest.err conftest.$ac_objext \
5313    conftest$ac_exeext conftest.$ac_ext
5314     LIBS="$gt_save_LIBS"
5315fi
5316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5317$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5318  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5319
5320$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5321
5322  fi
5323  INTL_MACOSX_LIBS=
5324  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5325    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5326  fi
5327
5328
5329
5330    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5331if test "x$ac_cv_header_libintl_h" = xyes; then :
5332  gt_cv_func_dgettext_libintl="no"
5333      libintl_extra_libs=""
5334
5335      #
5336      # First check in libc
5337      #
5338      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5339$as_echo_n "checking for ngettext in libc... " >&6; }
5340if ${gt_cv_func_ngettext_libc+:} false; then :
5341  $as_echo_n "(cached) " >&6
5342else
5343  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5344/* end confdefs.h.  */
5345
5346#include <libintl.h>
5347
5348int
5349main ()
5350{
5351return !ngettext ("","", 1)
5352  ;
5353  return 0;
5354}
5355_ACEOF
5356if ac_fn_c_try_link "$LINENO"; then :
5357  gt_cv_func_ngettext_libc=yes
5358else
5359  gt_cv_func_ngettext_libc=no
5360fi
5361rm -f core conftest.err conftest.$ac_objext \
5362    conftest$ac_exeext conftest.$ac_ext
5363
5364fi
5365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
5366$as_echo "$gt_cv_func_ngettext_libc" >&6; }
5367
5368      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5369	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
5370$as_echo_n "checking for dgettext in libc... " >&6; }
5371if ${gt_cv_func_dgettext_libc+:} false; then :
5372  $as_echo_n "(cached) " >&6
5373else
5374  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375/* end confdefs.h.  */
5376
5377#include <libintl.h>
5378
5379int
5380main ()
5381{
5382return !dgettext ("","")
5383  ;
5384  return 0;
5385}
5386_ACEOF
5387if ac_fn_c_try_link "$LINENO"; then :
5388  gt_cv_func_dgettext_libc=yes
5389else
5390  gt_cv_func_dgettext_libc=no
5391fi
5392rm -f core conftest.err conftest.$ac_objext \
5393    conftest$ac_exeext conftest.$ac_ext
5394
5395fi
5396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5397$as_echo "$gt_cv_func_dgettext_libc" >&6; }
5398      fi
5399
5400      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5401        for ac_func in bind_textdomain_codeset
5402do :
5403  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5404if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5405  cat >>confdefs.h <<_ACEOF
5406#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5407_ACEOF
5408
5409fi
5410done
5411
5412      fi
5413
5414      #
5415      # If we don't have everything we want, check in libintl
5416      #
5417      if test "$gt_cv_func_dgettext_libc" != "yes" \
5418	 || test "$gt_cv_func_ngettext_libc" != "yes" \
5419         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5420
5421        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
5422$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5423if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
5424  $as_echo_n "(cached) " >&6
5425else
5426  ac_check_lib_save_LIBS=$LIBS
5427LIBS="-lintl  $LIBS"
5428cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5429/* end confdefs.h.  */
5430
5431/* Override any GCC internal prototype to avoid an error.
5432   Use char because int might match the return type of a GCC
5433   builtin and then its argument prototype would still apply.  */
5434#ifdef __cplusplus
5435extern "C"
5436#endif
5437char bindtextdomain ();
5438int
5439main ()
5440{
5441return bindtextdomain ();
5442  ;
5443  return 0;
5444}
5445_ACEOF
5446if ac_fn_c_try_link "$LINENO"; then :
5447  ac_cv_lib_intl_bindtextdomain=yes
5448else
5449  ac_cv_lib_intl_bindtextdomain=no
5450fi
5451rm -f core conftest.err conftest.$ac_objext \
5452    conftest$ac_exeext conftest.$ac_ext
5453LIBS=$ac_check_lib_save_LIBS
5454fi
5455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
5456$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5457if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
5458  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5459$as_echo_n "checking for ngettext in -lintl... " >&6; }
5460if ${ac_cv_lib_intl_ngettext+:} false; then :
5461  $as_echo_n "(cached) " >&6
5462else
5463  ac_check_lib_save_LIBS=$LIBS
5464LIBS="-lintl  $LIBS"
5465cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5466/* end confdefs.h.  */
5467
5468/* Override any GCC internal prototype to avoid an error.
5469   Use char because int might match the return type of a GCC
5470   builtin and then its argument prototype would still apply.  */
5471#ifdef __cplusplus
5472extern "C"
5473#endif
5474char ngettext ();
5475int
5476main ()
5477{
5478return ngettext ();
5479  ;
5480  return 0;
5481}
5482_ACEOF
5483if ac_fn_c_try_link "$LINENO"; then :
5484  ac_cv_lib_intl_ngettext=yes
5485else
5486  ac_cv_lib_intl_ngettext=no
5487fi
5488rm -f core conftest.err conftest.$ac_objext \
5489    conftest$ac_exeext conftest.$ac_ext
5490LIBS=$ac_check_lib_save_LIBS
5491fi
5492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5493$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5494if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
5495  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5496$as_echo_n "checking for dgettext in -lintl... " >&6; }
5497if ${ac_cv_lib_intl_dgettext+:} false; then :
5498  $as_echo_n "(cached) " >&6
5499else
5500  ac_check_lib_save_LIBS=$LIBS
5501LIBS="-lintl  $LIBS"
5502cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5503/* end confdefs.h.  */
5504
5505/* Override any GCC internal prototype to avoid an error.
5506   Use char because int might match the return type of a GCC
5507   builtin and then its argument prototype would still apply.  */
5508#ifdef __cplusplus
5509extern "C"
5510#endif
5511char dgettext ();
5512int
5513main ()
5514{
5515return dgettext ();
5516  ;
5517  return 0;
5518}
5519_ACEOF
5520if ac_fn_c_try_link "$LINENO"; then :
5521  ac_cv_lib_intl_dgettext=yes
5522else
5523  ac_cv_lib_intl_dgettext=no
5524fi
5525rm -f core conftest.err conftest.$ac_objext \
5526    conftest$ac_exeext conftest.$ac_ext
5527LIBS=$ac_check_lib_save_LIBS
5528fi
5529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5530$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5531if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
5532  gt_cv_func_dgettext_libintl=yes
5533fi
5534
5535fi
5536
5537fi
5538
5539
5540	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5541	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5542$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5543	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5544$as_echo "" >&6; }
5545  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5546$as_echo_n "checking for ngettext in -lintl... " >&6; }
5547if ${ac_cv_lib_intl_ngettext+:} false; then :
5548  $as_echo_n "(cached) " >&6
5549else
5550  ac_check_lib_save_LIBS=$LIBS
5551LIBS="-lintl -liconv $LIBS"
5552cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5553/* end confdefs.h.  */
5554
5555/* Override any GCC internal prototype to avoid an error.
5556   Use char because int might match the return type of a GCC
5557   builtin and then its argument prototype would still apply.  */
5558#ifdef __cplusplus
5559extern "C"
5560#endif
5561char ngettext ();
5562int
5563main ()
5564{
5565return ngettext ();
5566  ;
5567  return 0;
5568}
5569_ACEOF
5570if ac_fn_c_try_link "$LINENO"; then :
5571  ac_cv_lib_intl_ngettext=yes
5572else
5573  ac_cv_lib_intl_ngettext=no
5574fi
5575rm -f core conftest.err conftest.$ac_objext \
5576    conftest$ac_exeext conftest.$ac_ext
5577LIBS=$ac_check_lib_save_LIBS
5578fi
5579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5580$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5581if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
5582  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5583$as_echo_n "checking for dcgettext in -lintl... " >&6; }
5584if ${ac_cv_lib_intl_dcgettext+:} false; then :
5585  $as_echo_n "(cached) " >&6
5586else
5587  ac_check_lib_save_LIBS=$LIBS
5588LIBS="-lintl -liconv $LIBS"
5589cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5590/* end confdefs.h.  */
5591
5592/* Override any GCC internal prototype to avoid an error.
5593   Use char because int might match the return type of a GCC
5594   builtin and then its argument prototype would still apply.  */
5595#ifdef __cplusplus
5596extern "C"
5597#endif
5598char dcgettext ();
5599int
5600main ()
5601{
5602return dcgettext ();
5603  ;
5604  return 0;
5605}
5606_ACEOF
5607if ac_fn_c_try_link "$LINENO"; then :
5608  ac_cv_lib_intl_dcgettext=yes
5609else
5610  ac_cv_lib_intl_dcgettext=no
5611fi
5612rm -f core conftest.err conftest.$ac_objext \
5613    conftest$ac_exeext conftest.$ac_ext
5614LIBS=$ac_check_lib_save_LIBS
5615fi
5616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
5617$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5618if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
5619  gt_cv_func_dgettext_libintl=yes
5620			libintl_extra_libs=-liconv
5621else
5622  :
5623fi
5624
5625else
5626  :
5627fi
5628
5629        fi
5630
5631        #
5632        # If we found libintl, then check in it for bind_textdomain_codeset();
5633        # we'll prefer libc if neither have bind_textdomain_codeset(),
5634        # and both have dgettext and ngettext
5635        #
5636        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5637          glib_save_LIBS="$LIBS"
5638          LIBS="$LIBS -lintl $libintl_extra_libs"
5639          unset ac_cv_func_bind_textdomain_codeset
5640          for ac_func in bind_textdomain_codeset
5641do :
5642  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5643if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5644  cat >>confdefs.h <<_ACEOF
5645#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5646_ACEOF
5647
5648fi
5649done
5650
5651          LIBS="$glib_save_LIBS"
5652
5653          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5654            gt_cv_func_dgettext_libc=no
5655          else
5656            if test "$gt_cv_func_dgettext_libc" = "yes" \
5657		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
5658              gt_cv_func_dgettext_libintl=no
5659            fi
5660          fi
5661        fi
5662      fi
5663
5664      if test "$gt_cv_func_dgettext_libc" = "yes" \
5665	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
5666        gt_cv_have_gettext=yes
5667      fi
5668
5669      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5670        INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
5671      fi
5672
5673      if test "$gt_cv_have_gettext" = "yes"; then
5674
5675$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5676
5677	# Extract the first word of "msgfmt", so it can be a program name with args.
5678set dummy msgfmt; ac_word=$2
5679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5680$as_echo_n "checking for $ac_word... " >&6; }
5681if ${ac_cv_path_MSGFMT+:} false; then :
5682  $as_echo_n "(cached) " >&6
5683else
5684  case "$MSGFMT" in
5685  /*)
5686  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5687  ;;
5688  *)
5689  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5690  for ac_dir in $PATH; do
5691    test -z "$ac_dir" && ac_dir=.
5692    if test -f $ac_dir/$ac_word; then
5693      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5694	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5695	break
5696      fi
5697    fi
5698  done
5699  IFS="$ac_save_ifs"
5700  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5701  ;;
5702esac
5703fi
5704MSGFMT="$ac_cv_path_MSGFMT"
5705if test "$MSGFMT" != "no"; then
5706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5707$as_echo "$MSGFMT" >&6; }
5708else
5709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710$as_echo "no" >&6; }
5711fi
5712	if test "$MSGFMT" != "no"; then
5713          glib_save_LIBS="$LIBS"
5714          LIBS="$LIBS $INTLLIBS"
5715	  for ac_func in dcgettext
5716do :
5717  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
5718if test "x$ac_cv_func_dcgettext" = xyes; then :
5719  cat >>confdefs.h <<_ACEOF
5720#define HAVE_DCGETTEXT 1
5721_ACEOF
5722
5723fi
5724done
5725
5726	  MSGFMT_OPTS=
5727	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
5728$as_echo_n "checking if msgfmt accepts -c... " >&6; }
5729	  cat >conftest.foo <<_ACEOF
5730
5731msgid ""
5732msgstr ""
5733"Content-Type: text/plain; charset=UTF-8\n"
5734"Project-Id-Version: test 1.0\n"
5735"PO-Revision-Date: 2007-02-15 12:01+0100\n"
5736"Last-Translator: test <foo@bar.xx>\n"
5737"Language-Team: C <LL@li.org>\n"
5738"MIME-Version: 1.0\n"
5739"Content-Transfer-Encoding: 8bit\n"
5740
5741_ACEOF
5742if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
5743  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
5744  ac_status=$?
5745  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5746  test $ac_status = 0; }; then
5747  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5748$as_echo "yes" >&6; }
5749else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750$as_echo "no" >&6; }
5751echo "$as_me: failed input was:" >&5
5752sed 's/^/| /' conftest.foo >&5
5753fi
5754
5755	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
5756set dummy gmsgfmt; ac_word=$2
5757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5758$as_echo_n "checking for $ac_word... " >&6; }
5759if ${ac_cv_path_GMSGFMT+:} false; then :
5760  $as_echo_n "(cached) " >&6
5761else
5762  case $GMSGFMT in
5763  [\\/]* | ?:[\\/]*)
5764  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5765  ;;
5766  *)
5767  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768for as_dir in $PATH
5769do
5770  IFS=$as_save_IFS
5771  test -z "$as_dir" && as_dir=.
5772    for ac_exec_ext in '' $ac_executable_extensions; do
5773  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5774    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5775    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776    break 2
5777  fi
5778done
5779  done
5780IFS=$as_save_IFS
5781
5782  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5783  ;;
5784esac
5785fi
5786GMSGFMT=$ac_cv_path_GMSGFMT
5787if test -n "$GMSGFMT"; then
5788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5789$as_echo "$GMSGFMT" >&6; }
5790else
5791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792$as_echo "no" >&6; }
5793fi
5794
5795
5796	  # Extract the first word of "xgettext", so it can be a program name with args.
5797set dummy xgettext; ac_word=$2
5798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5799$as_echo_n "checking for $ac_word... " >&6; }
5800if ${ac_cv_path_XGETTEXT+:} false; then :
5801  $as_echo_n "(cached) " >&6
5802else
5803  case "$XGETTEXT" in
5804  /*)
5805  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5806  ;;
5807  *)
5808  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5809  for ac_dir in $PATH; do
5810    test -z "$ac_dir" && ac_dir=.
5811    if test -f $ac_dir/$ac_word; then
5812      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5813	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5814	break
5815      fi
5816    fi
5817  done
5818  IFS="$ac_save_ifs"
5819  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5820  ;;
5821esac
5822fi
5823XGETTEXT="$ac_cv_path_XGETTEXT"
5824if test "$XGETTEXT" != ":"; then
5825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5826$as_echo "$XGETTEXT" >&6; }
5827else
5828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5829$as_echo "no" >&6; }
5830fi
5831
5832	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5833/* end confdefs.h.  */
5834
5835int
5836main ()
5837{
5838extern int _nl_msg_cat_cntr;
5839			 return _nl_msg_cat_cntr
5840  ;
5841  return 0;
5842}
5843_ACEOF
5844if ac_fn_c_try_link "$LINENO"; then :
5845  CATOBJEXT=.gmo
5846             DATADIRNAME=share
5847else
5848  case $host in
5849	    *-*-solaris*)
5850	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5851if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5852  CATOBJEXT=.gmo
5853               DATADIRNAME=share
5854else
5855  CATOBJEXT=.mo
5856               DATADIRNAME=lib
5857fi
5858
5859	    ;;
5860	    *-*-openbsd*)
5861	    CATOBJEXT=.mo
5862            DATADIRNAME=share
5863	    ;;
5864	    *)
5865	    CATOBJEXT=.mo
5866            DATADIRNAME=lib
5867	    ;;
5868	    esac
5869fi
5870rm -f core conftest.err conftest.$ac_objext \
5871    conftest$ac_exeext conftest.$ac_ext
5872          LIBS="$glib_save_LIBS"
5873	  INSTOBJEXT=.mo
5874	else
5875	  gt_cv_have_gettext=no
5876	fi
5877      fi
5878
5879fi
5880
5881
5882
5883    if test "$gt_cv_have_gettext" = "yes" ; then
5884
5885$as_echo "#define ENABLE_NLS 1" >>confdefs.h
5886
5887    fi
5888
5889        if test "$XGETTEXT" != ":"; then
5890                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5891        : ;
5892      else
5893        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5894$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5895        XGETTEXT=":"
5896      fi
5897    fi
5898
5899    # We need to process the po/ directory.
5900    POSUB=po
5901
5902    ac_config_commands="$ac_config_commands default-1"
5903
5904
5905                for lang in $ALL_LINGUAS; do
5906      GMOFILES="$GMOFILES $lang.gmo"
5907      POFILES="$POFILES $lang.po"
5908    done
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922   if test "$gt_cv_have_gettext" = "yes"; then
5923     if test "x$ALL_LINGUAS" = "x"; then
5924       LINGUAS=
5925     else
5926       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5927$as_echo_n "checking for catalogs to be installed... " >&6; }
5928       NEW_LINGUAS=
5929       for presentlang in $ALL_LINGUAS; do
5930         useit=no
5931         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
5932           desiredlanguages="$LINGUAS"
5933         else
5934           desiredlanguages="$ALL_LINGUAS"
5935         fi
5936         for desiredlang in $desiredlanguages; do
5937 	   # Use the presentlang catalog if desiredlang is
5938           #   a. equal to presentlang, or
5939           #   b. a variant of presentlang (because in this case,
5940           #      presentlang can be used as a fallback for messages
5941           #      which are not translated in the desiredlang catalog).
5942           case "$desiredlang" in
5943             "$presentlang"*) useit=yes;;
5944           esac
5945         done
5946         if test $useit = yes; then
5947           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5948         fi
5949       done
5950       LINGUAS=$NEW_LINGUAS
5951       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5952$as_echo "$LINGUAS" >&6; }
5953     fi
5954
5955          if test -n "$LINGUAS"; then
5956       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5957     fi
5958   fi
5959
5960            MKINSTALLDIRS=
5961   if test -n "$ac_aux_dir"; then
5962     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5963   fi
5964   if test -z "$MKINSTALLDIRS"; then
5965     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5966   fi
5967
5968
5969         test -d po || mkdir po
5970   if test "x$srcdir" != "x."; then
5971     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5972       posrcprefix="$srcdir/"
5973     else
5974       posrcprefix="../$srcdir/"
5975     fi
5976   else
5977     posrcprefix="../"
5978   fi
5979   rm -f po/POTFILES
5980   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5981	< $srcdir/po/POTFILES.in > po/POTFILES
5982
5983
5984PROGRAMNAME_LOCALEDIR=${datadir}/locale
5985
5986
5987ac_ext=cpp
5988ac_cpp='$CXXCPP $CPPFLAGS'
5989ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5990ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5991ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5992if test -z "$CXX"; then
5993  if test -n "$CCC"; then
5994    CXX=$CCC
5995  else
5996    if test -n "$ac_tool_prefix"; then
5997  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5998  do
5999    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6000set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002$as_echo_n "checking for $ac_word... " >&6; }
6003if ${ac_cv_prog_CXX+:} false; then :
6004  $as_echo_n "(cached) " >&6
6005else
6006  if test -n "$CXX"; then
6007  ac_cv_prog_CXX="$CXX" # Let the user override the test.
6008else
6009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010for as_dir in $PATH
6011do
6012  IFS=$as_save_IFS
6013  test -z "$as_dir" && as_dir=.
6014    for ac_exec_ext in '' $ac_executable_extensions; do
6015  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6016    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6017    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018    break 2
6019  fi
6020done
6021  done
6022IFS=$as_save_IFS
6023
6024fi
6025fi
6026CXX=$ac_cv_prog_CXX
6027if test -n "$CXX"; then
6028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6029$as_echo "$CXX" >&6; }
6030else
6031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6032$as_echo "no" >&6; }
6033fi
6034
6035
6036    test -n "$CXX" && break
6037  done
6038fi
6039if test -z "$CXX"; then
6040  ac_ct_CXX=$CXX
6041  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6042do
6043  # Extract the first word of "$ac_prog", so it can be a program name with args.
6044set dummy $ac_prog; ac_word=$2
6045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046$as_echo_n "checking for $ac_word... " >&6; }
6047if ${ac_cv_prog_ac_ct_CXX+:} false; then :
6048  $as_echo_n "(cached) " >&6
6049else
6050  if test -n "$ac_ct_CXX"; then
6051  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6052else
6053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054for as_dir in $PATH
6055do
6056  IFS=$as_save_IFS
6057  test -z "$as_dir" && as_dir=.
6058    for ac_exec_ext in '' $ac_executable_extensions; do
6059  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6060    ac_cv_prog_ac_ct_CXX="$ac_prog"
6061    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062    break 2
6063  fi
6064done
6065  done
6066IFS=$as_save_IFS
6067
6068fi
6069fi
6070ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6071if test -n "$ac_ct_CXX"; then
6072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6073$as_echo "$ac_ct_CXX" >&6; }
6074else
6075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076$as_echo "no" >&6; }
6077fi
6078
6079
6080  test -n "$ac_ct_CXX" && break
6081done
6082
6083  if test "x$ac_ct_CXX" = x; then
6084    CXX="g++"
6085  else
6086    case $cross_compiling:$ac_tool_warned in
6087yes:)
6088{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6089$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6090ac_tool_warned=yes ;;
6091esac
6092    CXX=$ac_ct_CXX
6093  fi
6094fi
6095
6096  fi
6097fi
6098# Provide some information about the compiler.
6099$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6100set X $ac_compile
6101ac_compiler=$2
6102for ac_option in --version -v -V -qversion; do
6103  { { ac_try="$ac_compiler $ac_option >&5"
6104case "(($ac_try" in
6105  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6106  *) ac_try_echo=$ac_try;;
6107esac
6108eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6109$as_echo "$ac_try_echo"; } >&5
6110  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6111  ac_status=$?
6112  if test -s conftest.err; then
6113    sed '10a\
6114... rest of stderr output deleted ...
6115         10q' conftest.err >conftest.er1
6116    cat conftest.er1 >&5
6117  fi
6118  rm -f conftest.er1 conftest.err
6119  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6120  test $ac_status = 0; }
6121done
6122
6123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6124$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6125if ${ac_cv_cxx_compiler_gnu+:} false; then :
6126  $as_echo_n "(cached) " >&6
6127else
6128  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6129/* end confdefs.h.  */
6130
6131int
6132main ()
6133{
6134#ifndef __GNUC__
6135       choke me
6136#endif
6137
6138  ;
6139  return 0;
6140}
6141_ACEOF
6142if ac_fn_cxx_try_compile "$LINENO"; then :
6143  ac_compiler_gnu=yes
6144else
6145  ac_compiler_gnu=no
6146fi
6147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6148ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6149
6150fi
6151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6152$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6153if test $ac_compiler_gnu = yes; then
6154  GXX=yes
6155else
6156  GXX=
6157fi
6158ac_test_CXXFLAGS=${CXXFLAGS+set}
6159ac_save_CXXFLAGS=$CXXFLAGS
6160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6161$as_echo_n "checking whether $CXX accepts -g... " >&6; }
6162if ${ac_cv_prog_cxx_g+:} false; then :
6163  $as_echo_n "(cached) " >&6
6164else
6165  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6166   ac_cxx_werror_flag=yes
6167   ac_cv_prog_cxx_g=no
6168   CXXFLAGS="-g"
6169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6170/* end confdefs.h.  */
6171
6172int
6173main ()
6174{
6175
6176  ;
6177  return 0;
6178}
6179_ACEOF
6180if ac_fn_cxx_try_compile "$LINENO"; then :
6181  ac_cv_prog_cxx_g=yes
6182else
6183  CXXFLAGS=""
6184      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6185/* end confdefs.h.  */
6186
6187int
6188main ()
6189{
6190
6191  ;
6192  return 0;
6193}
6194_ACEOF
6195if ac_fn_cxx_try_compile "$LINENO"; then :
6196
6197else
6198  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6199	 CXXFLAGS="-g"
6200	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6201/* end confdefs.h.  */
6202
6203int
6204main ()
6205{
6206
6207  ;
6208  return 0;
6209}
6210_ACEOF
6211if ac_fn_cxx_try_compile "$LINENO"; then :
6212  ac_cv_prog_cxx_g=yes
6213fi
6214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6215fi
6216rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6217fi
6218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6219   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6220fi
6221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6222$as_echo "$ac_cv_prog_cxx_g" >&6; }
6223if test "$ac_test_CXXFLAGS" = set; then
6224  CXXFLAGS=$ac_save_CXXFLAGS
6225elif test $ac_cv_prog_cxx_g = yes; then
6226  if test "$GXX" = yes; then
6227    CXXFLAGS="-g -O2"
6228  else
6229    CXXFLAGS="-g"
6230  fi
6231else
6232  if test "$GXX" = yes; then
6233    CXXFLAGS="-O2"
6234  else
6235    CXXFLAGS=
6236  fi
6237fi
6238ac_ext=c
6239ac_cpp='$CPP $CPPFLAGS'
6240ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6241ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6242ac_compiler_gnu=$ac_cv_c_compiler_gnu
6243
6244depcc="$CXX"  am_compiler_list=
6245
6246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6247$as_echo_n "checking dependency style of $depcc... " >&6; }
6248if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6249  $as_echo_n "(cached) " >&6
6250else
6251  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6252  # We make a subdir and do the tests there.  Otherwise we can end up
6253  # making bogus files that we don't know about and never remove.  For
6254  # instance it was reported that on HP-UX the gcc test will end up
6255  # making a dummy file named 'D' -- because '-MD' means "put the output
6256  # in D".
6257  rm -rf conftest.dir
6258  mkdir conftest.dir
6259  # Copy depcomp to subdir because otherwise we won't find it if we're
6260  # using a relative directory.
6261  cp "$am_depcomp" conftest.dir
6262  cd conftest.dir
6263  # We will build objects and dependencies in a subdirectory because
6264  # it helps to detect inapplicable dependency modes.  For instance
6265  # both Tru64's cc and ICC support -MD to output dependencies as a
6266  # side effect of compilation, but ICC will put the dependencies in
6267  # the current directory while Tru64 will put them in the object
6268  # directory.
6269  mkdir sub
6270
6271  am_cv_CXX_dependencies_compiler_type=none
6272  if test "$am_compiler_list" = ""; then
6273     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6274  fi
6275  am__universal=false
6276  case " $depcc " in #(
6277     *\ -arch\ *\ -arch\ *) am__universal=true ;;
6278     esac
6279
6280  for depmode in $am_compiler_list; do
6281    # Setup a source with many dependencies, because some compilers
6282    # like to wrap large dependency lists on column 80 (with \), and
6283    # we should not choose a depcomp mode which is confused by this.
6284    #
6285    # We need to recreate these files for each test, as the compiler may
6286    # overwrite some of them when testing with obscure command lines.
6287    # This happens at least with the AIX C compiler.
6288    : > sub/conftest.c
6289    for i in 1 2 3 4 5 6; do
6290      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6291      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6292      # Solaris 10 /bin/sh.
6293      echo '/* dummy */' > sub/conftst$i.h
6294    done
6295    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6296
6297    # We check with '-c' and '-o' for the sake of the "dashmstdout"
6298    # mode.  It turns out that the SunPro C++ compiler does not properly
6299    # handle '-M -o', and we need to detect this.  Also, some Intel
6300    # versions had trouble with output in subdirs.
6301    am__obj=sub/conftest.${OBJEXT-o}
6302    am__minus_obj="-o $am__obj"
6303    case $depmode in
6304    gcc)
6305      # This depmode causes a compiler race in universal mode.
6306      test "$am__universal" = false || continue
6307      ;;
6308    nosideeffect)
6309      # After this tag, mechanisms are not by side-effect, so they'll
6310      # only be used when explicitly requested.
6311      if test "x$enable_dependency_tracking" = xyes; then
6312	continue
6313      else
6314	break
6315      fi
6316      ;;
6317    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6318      # This compiler won't grok '-c -o', but also, the minuso test has
6319      # not run yet.  These depmodes are late enough in the game, and
6320      # so weak that their functioning should not be impacted.
6321      am__obj=conftest.${OBJEXT-o}
6322      am__minus_obj=
6323      ;;
6324    none) break ;;
6325    esac
6326    if depmode=$depmode \
6327       source=sub/conftest.c object=$am__obj \
6328       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6329       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6330         >/dev/null 2>conftest.err &&
6331       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6332       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6333       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6334       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6335      # icc doesn't choke on unknown options, it will just issue warnings
6336      # or remarks (even with -Werror).  So we grep stderr for any message
6337      # that says an option was ignored or not supported.
6338      # When given -MP, icc 7.0 and 7.1 complain thusly:
6339      #   icc: Command line warning: ignoring option '-M'; no argument required
6340      # The diagnosis changed in icc 8.0:
6341      #   icc: Command line remark: option '-MP' not supported
6342      if (grep 'ignoring option' conftest.err ||
6343          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6344        am_cv_CXX_dependencies_compiler_type=$depmode
6345        break
6346      fi
6347    fi
6348  done
6349
6350  cd ..
6351  rm -rf conftest.dir
6352else
6353  am_cv_CXX_dependencies_compiler_type=none
6354fi
6355
6356fi
6357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6358$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6359CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6360
6361 if
6362  test "x$enable_dependency_tracking" != xno \
6363  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6364  am__fastdepCXX_TRUE=
6365  am__fastdepCXX_FALSE='#'
6366else
6367  am__fastdepCXX_TRUE='#'
6368  am__fastdepCXX_FALSE=
6369fi
6370
6371
6372if test -n "$CXX"; then
6373  gppver=`$CXX --version 2>/dev/null | sed -e '2,$d' -e 's@^\([^0-9.]*\) \([0-9.]*\)\(.*\)@\2@'`
6374else
6375  as_fn_error $? "*** C++ compiler not found." "$LINENO" 5
6376fi
6377
6378
6379case `pwd` in
6380  *\ * | *\	*)
6381    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6382$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6383esac
6384
6385
6386
6387macro_version='2.4.6'
6388macro_revision='2.4.6'
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402ltmain=$ac_aux_dir/ltmain.sh
6403
6404# Backslashify metacharacters that are still active within
6405# double-quoted strings.
6406sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6407
6408# Same as above, but do not quote variable references.
6409double_quote_subst='s/\(["`\\]\)/\\\1/g'
6410
6411# Sed substitution to delay expansion of an escaped shell variable in a
6412# double_quote_subst'ed string.
6413delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6414
6415# Sed substitution to delay expansion of an escaped single quote.
6416delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6417
6418# Sed substitution to avoid accidental globbing in evaled expressions
6419no_glob_subst='s/\*/\\\*/g'
6420
6421ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6422ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6423ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6424
6425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6426$as_echo_n "checking how to print strings... " >&6; }
6427# Test print first, because it will be a builtin if present.
6428if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6429   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6430  ECHO='print -r --'
6431elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6432  ECHO='printf %s\n'
6433else
6434  # Use this function as a fallback that always works.
6435  func_fallback_echo ()
6436  {
6437    eval 'cat <<_LTECHO_EOF
6438$1
6439_LTECHO_EOF'
6440  }
6441  ECHO='func_fallback_echo'
6442fi
6443
6444# func_echo_all arg...
6445# Invoke $ECHO with all args, space-separated.
6446func_echo_all ()
6447{
6448    $ECHO ""
6449}
6450
6451case $ECHO in
6452  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6453$as_echo "printf" >&6; } ;;
6454  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6455$as_echo "print -r" >&6; } ;;
6456  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6457$as_echo "cat" >&6; } ;;
6458esac
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6474$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6475if ${ac_cv_path_SED+:} false; then :
6476  $as_echo_n "(cached) " >&6
6477else
6478            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6479     for ac_i in 1 2 3 4 5 6 7; do
6480       ac_script="$ac_script$as_nl$ac_script"
6481     done
6482     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6483     { ac_script=; unset ac_script;}
6484     if test -z "$SED"; then
6485  ac_path_SED_found=false
6486  # Loop through the user's path and test for each of PROGNAME-LIST
6487  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6488for as_dir in $PATH
6489do
6490  IFS=$as_save_IFS
6491  test -z "$as_dir" && as_dir=.
6492    for ac_prog in sed gsed; do
6493    for ac_exec_ext in '' $ac_executable_extensions; do
6494      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6495      as_fn_executable_p "$ac_path_SED" || continue
6496# Check for GNU ac_path_SED and select it if it is found.
6497  # Check for GNU $ac_path_SED
6498case `"$ac_path_SED" --version 2>&1` in
6499*GNU*)
6500  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6501*)
6502  ac_count=0
6503  $as_echo_n 0123456789 >"conftest.in"
6504  while :
6505  do
6506    cat "conftest.in" "conftest.in" >"conftest.tmp"
6507    mv "conftest.tmp" "conftest.in"
6508    cp "conftest.in" "conftest.nl"
6509    $as_echo '' >> "conftest.nl"
6510    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6511    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6512    as_fn_arith $ac_count + 1 && ac_count=$as_val
6513    if test $ac_count -gt ${ac_path_SED_max-0}; then
6514      # Best one so far, save it but keep looking for a better one
6515      ac_cv_path_SED="$ac_path_SED"
6516      ac_path_SED_max=$ac_count
6517    fi
6518    # 10*(2^10) chars as input seems more than enough
6519    test $ac_count -gt 10 && break
6520  done
6521  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6522esac
6523
6524      $ac_path_SED_found && break 3
6525    done
6526  done
6527  done
6528IFS=$as_save_IFS
6529  if test -z "$ac_cv_path_SED"; then
6530    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6531  fi
6532else
6533  ac_cv_path_SED=$SED
6534fi
6535
6536fi
6537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6538$as_echo "$ac_cv_path_SED" >&6; }
6539 SED="$ac_cv_path_SED"
6540  rm -f conftest.sed
6541
6542test -z "$SED" && SED=sed
6543Xsed="$SED -e 1s/^X//"
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6556$as_echo_n "checking for fgrep... " >&6; }
6557if ${ac_cv_path_FGREP+:} false; then :
6558  $as_echo_n "(cached) " >&6
6559else
6560  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6561   then ac_cv_path_FGREP="$GREP -F"
6562   else
6563     if test -z "$FGREP"; then
6564  ac_path_FGREP_found=false
6565  # Loop through the user's path and test for each of PROGNAME-LIST
6566  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6568do
6569  IFS=$as_save_IFS
6570  test -z "$as_dir" && as_dir=.
6571    for ac_prog in fgrep; do
6572    for ac_exec_ext in '' $ac_executable_extensions; do
6573      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6574      as_fn_executable_p "$ac_path_FGREP" || continue
6575# Check for GNU ac_path_FGREP and select it if it is found.
6576  # Check for GNU $ac_path_FGREP
6577case `"$ac_path_FGREP" --version 2>&1` in
6578*GNU*)
6579  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6580*)
6581  ac_count=0
6582  $as_echo_n 0123456789 >"conftest.in"
6583  while :
6584  do
6585    cat "conftest.in" "conftest.in" >"conftest.tmp"
6586    mv "conftest.tmp" "conftest.in"
6587    cp "conftest.in" "conftest.nl"
6588    $as_echo 'FGREP' >> "conftest.nl"
6589    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6590    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6591    as_fn_arith $ac_count + 1 && ac_count=$as_val
6592    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6593      # Best one so far, save it but keep looking for a better one
6594      ac_cv_path_FGREP="$ac_path_FGREP"
6595      ac_path_FGREP_max=$ac_count
6596    fi
6597    # 10*(2^10) chars as input seems more than enough
6598    test $ac_count -gt 10 && break
6599  done
6600  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6601esac
6602
6603      $ac_path_FGREP_found && break 3
6604    done
6605  done
6606  done
6607IFS=$as_save_IFS
6608  if test -z "$ac_cv_path_FGREP"; then
6609    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6610  fi
6611else
6612  ac_cv_path_FGREP=$FGREP
6613fi
6614
6615   fi
6616fi
6617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6618$as_echo "$ac_cv_path_FGREP" >&6; }
6619 FGREP="$ac_cv_path_FGREP"
6620
6621
6622test -z "$GREP" && GREP=grep
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642# Check whether --with-gnu-ld was given.
6643if test "${with_gnu_ld+set}" = set; then :
6644  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6645else
6646  with_gnu_ld=no
6647fi
6648
6649ac_prog=ld
6650if test yes = "$GCC"; then
6651  # Check if gcc -print-prog-name=ld gives a path.
6652  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6653$as_echo_n "checking for ld used by $CC... " >&6; }
6654  case $host in
6655  *-*-mingw*)
6656    # gcc leaves a trailing carriage return, which upsets mingw
6657    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6658  *)
6659    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6660  esac
6661  case $ac_prog in
6662    # Accept absolute paths.
6663    [\\/]* | ?:[\\/]*)
6664      re_direlt='/[^/][^/]*/\.\./'
6665      # Canonicalize the pathname of ld
6666      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6667      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6668	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6669      done
6670      test -z "$LD" && LD=$ac_prog
6671      ;;
6672  "")
6673    # If it fails, then pretend we aren't using GCC.
6674    ac_prog=ld
6675    ;;
6676  *)
6677    # If it is relative, then search for the first ld in PATH.
6678    with_gnu_ld=unknown
6679    ;;
6680  esac
6681elif test yes = "$with_gnu_ld"; then
6682  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6683$as_echo_n "checking for GNU ld... " >&6; }
6684else
6685  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6686$as_echo_n "checking for non-GNU ld... " >&6; }
6687fi
6688if ${lt_cv_path_LD+:} false; then :
6689  $as_echo_n "(cached) " >&6
6690else
6691  if test -z "$LD"; then
6692  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6693  for ac_dir in $PATH; do
6694    IFS=$lt_save_ifs
6695    test -z "$ac_dir" && ac_dir=.
6696    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6697      lt_cv_path_LD=$ac_dir/$ac_prog
6698      # Check to see if the program is GNU ld.  I'd rather use --version,
6699      # but apparently some variants of GNU ld only accept -v.
6700      # Break only if it was the GNU/non-GNU ld that we prefer.
6701      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6702      *GNU* | *'with BFD'*)
6703	test no != "$with_gnu_ld" && break
6704	;;
6705      *)
6706	test yes != "$with_gnu_ld" && break
6707	;;
6708      esac
6709    fi
6710  done
6711  IFS=$lt_save_ifs
6712else
6713  lt_cv_path_LD=$LD # Let the user override the test with a path.
6714fi
6715fi
6716
6717LD=$lt_cv_path_LD
6718if test -n "$LD"; then
6719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6720$as_echo "$LD" >&6; }
6721else
6722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6723$as_echo "no" >&6; }
6724fi
6725test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6727$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6728if ${lt_cv_prog_gnu_ld+:} false; then :
6729  $as_echo_n "(cached) " >&6
6730else
6731  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6732case `$LD -v 2>&1 </dev/null` in
6733*GNU* | *'with BFD'*)
6734  lt_cv_prog_gnu_ld=yes
6735  ;;
6736*)
6737  lt_cv_prog_gnu_ld=no
6738  ;;
6739esac
6740fi
6741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6742$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6743with_gnu_ld=$lt_cv_prog_gnu_ld
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6754$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6755if ${lt_cv_path_NM+:} false; then :
6756  $as_echo_n "(cached) " >&6
6757else
6758  if test -n "$NM"; then
6759  # Let the user override the test.
6760  lt_cv_path_NM=$NM
6761else
6762  lt_nm_to_check=${ac_tool_prefix}nm
6763  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6764    lt_nm_to_check="$lt_nm_to_check nm"
6765  fi
6766  for lt_tmp_nm in $lt_nm_to_check; do
6767    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6768    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6769      IFS=$lt_save_ifs
6770      test -z "$ac_dir" && ac_dir=.
6771      tmp_nm=$ac_dir/$lt_tmp_nm
6772      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6773	# Check to see if the nm accepts a BSD-compat flag.
6774	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6775	#   nm: unknown option "B" ignored
6776	# Tru64's nm complains that /dev/null is an invalid object file
6777	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6778	case $build_os in
6779	mingw*) lt_bad_file=conftest.nm/nofile ;;
6780	*) lt_bad_file=/dev/null ;;
6781	esac
6782	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6783	*$lt_bad_file* | *'Invalid file or object type'*)
6784	  lt_cv_path_NM="$tmp_nm -B"
6785	  break 2
6786	  ;;
6787	*)
6788	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6789	  */dev/null*)
6790	    lt_cv_path_NM="$tmp_nm -p"
6791	    break 2
6792	    ;;
6793	  *)
6794	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6795	    continue # so that we can try to find one that supports BSD flags
6796	    ;;
6797	  esac
6798	  ;;
6799	esac
6800      fi
6801    done
6802    IFS=$lt_save_ifs
6803  done
6804  : ${lt_cv_path_NM=no}
6805fi
6806fi
6807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6808$as_echo "$lt_cv_path_NM" >&6; }
6809if test no != "$lt_cv_path_NM"; then
6810  NM=$lt_cv_path_NM
6811else
6812  # Didn't find any BSD compatible name lister, look for dumpbin.
6813  if test -n "$DUMPBIN"; then :
6814    # Let the user override the test.
6815  else
6816    if test -n "$ac_tool_prefix"; then
6817  for ac_prog in dumpbin "link -dump"
6818  do
6819    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6820set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6822$as_echo_n "checking for $ac_word... " >&6; }
6823if ${ac_cv_prog_DUMPBIN+:} false; then :
6824  $as_echo_n "(cached) " >&6
6825else
6826  if test -n "$DUMPBIN"; then
6827  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6828else
6829as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6830for as_dir in $PATH
6831do
6832  IFS=$as_save_IFS
6833  test -z "$as_dir" && as_dir=.
6834    for ac_exec_ext in '' $ac_executable_extensions; do
6835  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6836    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6837    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6838    break 2
6839  fi
6840done
6841  done
6842IFS=$as_save_IFS
6843
6844fi
6845fi
6846DUMPBIN=$ac_cv_prog_DUMPBIN
6847if test -n "$DUMPBIN"; then
6848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6849$as_echo "$DUMPBIN" >&6; }
6850else
6851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6852$as_echo "no" >&6; }
6853fi
6854
6855
6856    test -n "$DUMPBIN" && break
6857  done
6858fi
6859if test -z "$DUMPBIN"; then
6860  ac_ct_DUMPBIN=$DUMPBIN
6861  for ac_prog in dumpbin "link -dump"
6862do
6863  # Extract the first word of "$ac_prog", so it can be a program name with args.
6864set dummy $ac_prog; ac_word=$2
6865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6866$as_echo_n "checking for $ac_word... " >&6; }
6867if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6868  $as_echo_n "(cached) " >&6
6869else
6870  if test -n "$ac_ct_DUMPBIN"; then
6871  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6872else
6873as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6874for as_dir in $PATH
6875do
6876  IFS=$as_save_IFS
6877  test -z "$as_dir" && as_dir=.
6878    for ac_exec_ext in '' $ac_executable_extensions; do
6879  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6880    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6881    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6882    break 2
6883  fi
6884done
6885  done
6886IFS=$as_save_IFS
6887
6888fi
6889fi
6890ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6891if test -n "$ac_ct_DUMPBIN"; then
6892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6893$as_echo "$ac_ct_DUMPBIN" >&6; }
6894else
6895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6896$as_echo "no" >&6; }
6897fi
6898
6899
6900  test -n "$ac_ct_DUMPBIN" && break
6901done
6902
6903  if test "x$ac_ct_DUMPBIN" = x; then
6904    DUMPBIN=":"
6905  else
6906    case $cross_compiling:$ac_tool_warned in
6907yes:)
6908{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6909$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6910ac_tool_warned=yes ;;
6911esac
6912    DUMPBIN=$ac_ct_DUMPBIN
6913  fi
6914fi
6915
6916    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6917    *COFF*)
6918      DUMPBIN="$DUMPBIN -symbols -headers"
6919      ;;
6920    *)
6921      DUMPBIN=:
6922      ;;
6923    esac
6924  fi
6925
6926  if test : != "$DUMPBIN"; then
6927    NM=$DUMPBIN
6928  fi
6929fi
6930test -z "$NM" && NM=nm
6931
6932
6933
6934
6935
6936
6937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6938$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6939if ${lt_cv_nm_interface+:} false; then :
6940  $as_echo_n "(cached) " >&6
6941else
6942  lt_cv_nm_interface="BSD nm"
6943  echo "int some_variable = 0;" > conftest.$ac_ext
6944  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6945  (eval "$ac_compile" 2>conftest.err)
6946  cat conftest.err >&5
6947  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6948  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6949  cat conftest.err >&5
6950  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6951  cat conftest.out >&5
6952  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6953    lt_cv_nm_interface="MS dumpbin"
6954  fi
6955  rm -f conftest*
6956fi
6957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6958$as_echo "$lt_cv_nm_interface" >&6; }
6959
6960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6961$as_echo_n "checking whether ln -s works... " >&6; }
6962LN_S=$as_ln_s
6963if test "$LN_S" = "ln -s"; then
6964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6965$as_echo "yes" >&6; }
6966else
6967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6968$as_echo "no, using $LN_S" >&6; }
6969fi
6970
6971# find the maximum length of command line arguments
6972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6973$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6974if ${lt_cv_sys_max_cmd_len+:} false; then :
6975  $as_echo_n "(cached) " >&6
6976else
6977    i=0
6978  teststring=ABCD
6979
6980  case $build_os in
6981  msdosdjgpp*)
6982    # On DJGPP, this test can blow up pretty badly due to problems in libc
6983    # (any single argument exceeding 2000 bytes causes a buffer overrun
6984    # during glob expansion).  Even if it were fixed, the result of this
6985    # check would be larger than it should be.
6986    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6987    ;;
6988
6989  gnu*)
6990    # Under GNU Hurd, this test is not required because there is
6991    # no limit to the length of command line arguments.
6992    # Libtool will interpret -1 as no limit whatsoever
6993    lt_cv_sys_max_cmd_len=-1;
6994    ;;
6995
6996  cygwin* | mingw* | cegcc*)
6997    # On Win9x/ME, this test blows up -- it succeeds, but takes
6998    # about 5 minutes as the teststring grows exponentially.
6999    # Worse, since 9x/ME are not pre-emptively multitasking,
7000    # you end up with a "frozen" computer, even though with patience
7001    # the test eventually succeeds (with a max line length of 256k).
7002    # Instead, let's just punt: use the minimum linelength reported by
7003    # all of the supported platforms: 8192 (on NT/2K/XP).
7004    lt_cv_sys_max_cmd_len=8192;
7005    ;;
7006
7007  mint*)
7008    # On MiNT this can take a long time and run out of memory.
7009    lt_cv_sys_max_cmd_len=8192;
7010    ;;
7011
7012  amigaos*)
7013    # On AmigaOS with pdksh, this test takes hours, literally.
7014    # So we just punt and use a minimum line length of 8192.
7015    lt_cv_sys_max_cmd_len=8192;
7016    ;;
7017
7018  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
7019    # This has been around since 386BSD, at least.  Likely further.
7020    if test -x /sbin/sysctl; then
7021      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7022    elif test -x /usr/sbin/sysctl; then
7023      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7024    else
7025      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
7026    fi
7027    # And add a safety zone
7028    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7029    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7030    ;;
7031
7032  interix*)
7033    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7034    lt_cv_sys_max_cmd_len=196608
7035    ;;
7036
7037  os2*)
7038    # The test takes a long time on OS/2.
7039    lt_cv_sys_max_cmd_len=8192
7040    ;;
7041
7042  osf*)
7043    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7044    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7045    # nice to cause kernel panics so lets avoid the loop below.
7046    # First set a reasonable default.
7047    lt_cv_sys_max_cmd_len=16384
7048    #
7049    if test -x /sbin/sysconfig; then
7050      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7051        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7052      esac
7053    fi
7054    ;;
7055  sco3.2v5*)
7056    lt_cv_sys_max_cmd_len=102400
7057    ;;
7058  sysv5* | sco5v6* | sysv4.2uw2*)
7059    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7060    if test -n "$kargmax"; then
7061      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
7062    else
7063      lt_cv_sys_max_cmd_len=32768
7064    fi
7065    ;;
7066  *)
7067    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7068    if test -n "$lt_cv_sys_max_cmd_len" && \
7069       test undefined != "$lt_cv_sys_max_cmd_len"; then
7070      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7071      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7072    else
7073      # Make teststring a little bigger before we do anything with it.
7074      # a 1K string should be a reasonable start.
7075      for i in 1 2 3 4 5 6 7 8; do
7076        teststring=$teststring$teststring
7077      done
7078      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7079      # If test is not a shell built-in, we'll probably end up computing a
7080      # maximum length that is only half of the actual maximum length, but
7081      # we can't tell.
7082      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
7083	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7084	      test 17 != "$i" # 1/2 MB should be enough
7085      do
7086        i=`expr $i + 1`
7087        teststring=$teststring$teststring
7088      done
7089      # Only check the string length outside the loop.
7090      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7091      teststring=
7092      # Add a significant safety factor because C++ compilers can tack on
7093      # massive amounts of additional arguments before passing them to the
7094      # linker.  It appears as though 1/2 is a usable value.
7095      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7096    fi
7097    ;;
7098  esac
7099
7100fi
7101
7102if test -n "$lt_cv_sys_max_cmd_len"; then
7103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7104$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7105else
7106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7107$as_echo "none" >&6; }
7108fi
7109max_cmd_len=$lt_cv_sys_max_cmd_len
7110
7111
7112
7113
7114
7115
7116: ${CP="cp -f"}
7117: ${MV="mv -f"}
7118: ${RM="rm -f"}
7119
7120if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7121  lt_unset=unset
7122else
7123  lt_unset=false
7124fi
7125
7126
7127
7128
7129
7130# test EBCDIC or ASCII
7131case `echo X|tr X '\101'` in
7132 A) # ASCII based system
7133    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7134  lt_SP2NL='tr \040 \012'
7135  lt_NL2SP='tr \015\012 \040\040'
7136  ;;
7137 *) # EBCDIC based system
7138  lt_SP2NL='tr \100 \n'
7139  lt_NL2SP='tr \r\n \100\100'
7140  ;;
7141esac
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7152$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7153if ${lt_cv_to_host_file_cmd+:} false; then :
7154  $as_echo_n "(cached) " >&6
7155else
7156  case $host in
7157  *-*-mingw* )
7158    case $build in
7159      *-*-mingw* ) # actually msys
7160        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7161        ;;
7162      *-*-cygwin* )
7163        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7164        ;;
7165      * ) # otherwise, assume *nix
7166        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7167        ;;
7168    esac
7169    ;;
7170  *-*-cygwin* )
7171    case $build in
7172      *-*-mingw* ) # actually msys
7173        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7174        ;;
7175      *-*-cygwin* )
7176        lt_cv_to_host_file_cmd=func_convert_file_noop
7177        ;;
7178      * ) # otherwise, assume *nix
7179        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7180        ;;
7181    esac
7182    ;;
7183  * ) # unhandled hosts (and "normal" native builds)
7184    lt_cv_to_host_file_cmd=func_convert_file_noop
7185    ;;
7186esac
7187
7188fi
7189
7190to_host_file_cmd=$lt_cv_to_host_file_cmd
7191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7192$as_echo "$lt_cv_to_host_file_cmd" >&6; }
7193
7194
7195
7196
7197
7198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7199$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7200if ${lt_cv_to_tool_file_cmd+:} false; then :
7201  $as_echo_n "(cached) " >&6
7202else
7203  #assume ordinary cross tools, or native build.
7204lt_cv_to_tool_file_cmd=func_convert_file_noop
7205case $host in
7206  *-*-mingw* )
7207    case $build in
7208      *-*-mingw* ) # actually msys
7209        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7210        ;;
7211    esac
7212    ;;
7213esac
7214
7215fi
7216
7217to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7219$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7220
7221
7222
7223
7224
7225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7226$as_echo_n "checking for $LD option to reload object files... " >&6; }
7227if ${lt_cv_ld_reload_flag+:} false; then :
7228  $as_echo_n "(cached) " >&6
7229else
7230  lt_cv_ld_reload_flag='-r'
7231fi
7232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7233$as_echo "$lt_cv_ld_reload_flag" >&6; }
7234reload_flag=$lt_cv_ld_reload_flag
7235case $reload_flag in
7236"" | " "*) ;;
7237*) reload_flag=" $reload_flag" ;;
7238esac
7239reload_cmds='$LD$reload_flag -o $output$reload_objs'
7240case $host_os in
7241  cygwin* | mingw* | pw32* | cegcc*)
7242    if test yes != "$GCC"; then
7243      reload_cmds=false
7244    fi
7245    ;;
7246  darwin*)
7247    if test yes = "$GCC"; then
7248      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7249    else
7250      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7251    fi
7252    ;;
7253esac
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263if test -n "$ac_tool_prefix"; then
7264  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7265set dummy ${ac_tool_prefix}objdump; ac_word=$2
7266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7267$as_echo_n "checking for $ac_word... " >&6; }
7268if ${ac_cv_prog_OBJDUMP+:} false; then :
7269  $as_echo_n "(cached) " >&6
7270else
7271  if test -n "$OBJDUMP"; then
7272  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7273else
7274as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7275for as_dir in $PATH
7276do
7277  IFS=$as_save_IFS
7278  test -z "$as_dir" && as_dir=.
7279    for ac_exec_ext in '' $ac_executable_extensions; do
7280  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7281    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7282    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7283    break 2
7284  fi
7285done
7286  done
7287IFS=$as_save_IFS
7288
7289fi
7290fi
7291OBJDUMP=$ac_cv_prog_OBJDUMP
7292if test -n "$OBJDUMP"; then
7293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7294$as_echo "$OBJDUMP" >&6; }
7295else
7296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7297$as_echo "no" >&6; }
7298fi
7299
7300
7301fi
7302if test -z "$ac_cv_prog_OBJDUMP"; then
7303  ac_ct_OBJDUMP=$OBJDUMP
7304  # Extract the first word of "objdump", so it can be a program name with args.
7305set dummy objdump; ac_word=$2
7306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7307$as_echo_n "checking for $ac_word... " >&6; }
7308if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7309  $as_echo_n "(cached) " >&6
7310else
7311  if test -n "$ac_ct_OBJDUMP"; then
7312  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7313else
7314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7315for as_dir in $PATH
7316do
7317  IFS=$as_save_IFS
7318  test -z "$as_dir" && as_dir=.
7319    for ac_exec_ext in '' $ac_executable_extensions; do
7320  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7321    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7322    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7323    break 2
7324  fi
7325done
7326  done
7327IFS=$as_save_IFS
7328
7329fi
7330fi
7331ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7332if test -n "$ac_ct_OBJDUMP"; then
7333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7334$as_echo "$ac_ct_OBJDUMP" >&6; }
7335else
7336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7337$as_echo "no" >&6; }
7338fi
7339
7340  if test "x$ac_ct_OBJDUMP" = x; then
7341    OBJDUMP="false"
7342  else
7343    case $cross_compiling:$ac_tool_warned in
7344yes:)
7345{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7346$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7347ac_tool_warned=yes ;;
7348esac
7349    OBJDUMP=$ac_ct_OBJDUMP
7350  fi
7351else
7352  OBJDUMP="$ac_cv_prog_OBJDUMP"
7353fi
7354
7355test -z "$OBJDUMP" && OBJDUMP=objdump
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7366$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7367if ${lt_cv_deplibs_check_method+:} false; then :
7368  $as_echo_n "(cached) " >&6
7369else
7370  lt_cv_file_magic_cmd='$MAGIC_CMD'
7371lt_cv_file_magic_test_file=
7372lt_cv_deplibs_check_method='unknown'
7373# Need to set the preceding variable on all platforms that support
7374# interlibrary dependencies.
7375# 'none' -- dependencies not supported.
7376# 'unknown' -- same as none, but documents that we really don't know.
7377# 'pass_all' -- all dependencies passed with no checks.
7378# 'test_compile' -- check by making test program.
7379# 'file_magic [[regex]]' -- check by looking for files in library path
7380# that responds to the $file_magic_cmd with a given extended regex.
7381# If you have 'file' or equivalent on your system and you're not sure
7382# whether 'pass_all' will *always* work, you probably want this one.
7383
7384case $host_os in
7385aix[4-9]*)
7386  lt_cv_deplibs_check_method=pass_all
7387  ;;
7388
7389beos*)
7390  lt_cv_deplibs_check_method=pass_all
7391  ;;
7392
7393bsdi[45]*)
7394  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7395  lt_cv_file_magic_cmd='/usr/bin/file -L'
7396  lt_cv_file_magic_test_file=/shlib/libc.so
7397  ;;
7398
7399cygwin*)
7400  # func_win32_libid is a shell function defined in ltmain.sh
7401  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7402  lt_cv_file_magic_cmd='func_win32_libid'
7403  ;;
7404
7405mingw* | pw32*)
7406  # Base MSYS/MinGW do not provide the 'file' command needed by
7407  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7408  # unless we find 'file', for example because we are cross-compiling.
7409  if ( file / ) >/dev/null 2>&1; then
7410    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7411    lt_cv_file_magic_cmd='func_win32_libid'
7412  else
7413    # Keep this pattern in sync with the one in func_win32_libid.
7414    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7415    lt_cv_file_magic_cmd='$OBJDUMP -f'
7416  fi
7417  ;;
7418
7419cegcc*)
7420  # use the weaker test based on 'objdump'. See mingw*.
7421  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7422  lt_cv_file_magic_cmd='$OBJDUMP -f'
7423  ;;
7424
7425darwin* | rhapsody*)
7426  lt_cv_deplibs_check_method=pass_all
7427  ;;
7428
7429freebsd* | dragonfly*)
7430  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7431    case $host_cpu in
7432    i*86 )
7433      # Not sure whether the presence of OpenBSD here was a mistake.
7434      # Let's accept both of them until this is cleared up.
7435      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7436      lt_cv_file_magic_cmd=/usr/bin/file
7437      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7438      ;;
7439    esac
7440  else
7441    lt_cv_deplibs_check_method=pass_all
7442  fi
7443  ;;
7444
7445haiku*)
7446  lt_cv_deplibs_check_method=pass_all
7447  ;;
7448
7449hpux10.20* | hpux11*)
7450  lt_cv_file_magic_cmd=/usr/bin/file
7451  case $host_cpu in
7452  ia64*)
7453    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7454    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7455    ;;
7456  hppa*64*)
7457    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]'
7458    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7459    ;;
7460  *)
7461    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7462    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7463    ;;
7464  esac
7465  ;;
7466
7467interix[3-9]*)
7468  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7469  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7470  ;;
7471
7472irix5* | irix6* | nonstopux*)
7473  case $LD in
7474  *-32|*"-32 ") libmagic=32-bit;;
7475  *-n32|*"-n32 ") libmagic=N32;;
7476  *-64|*"-64 ") libmagic=64-bit;;
7477  *) libmagic=never-match;;
7478  esac
7479  lt_cv_deplibs_check_method=pass_all
7480  ;;
7481
7482# This must be glibc/ELF.
7483linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7484  lt_cv_deplibs_check_method=pass_all
7485  ;;
7486
7487netbsd*)
7488  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7489    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7490  else
7491    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7492  fi
7493  ;;
7494
7495newos6*)
7496  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7497  lt_cv_file_magic_cmd=/usr/bin/file
7498  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7499  ;;
7500
7501*nto* | *qnx*)
7502  lt_cv_deplibs_check_method=pass_all
7503  ;;
7504
7505openbsd* | bitrig*)
7506  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7507    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7508  else
7509    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7510  fi
7511  ;;
7512
7513osf3* | osf4* | osf5*)
7514  lt_cv_deplibs_check_method=pass_all
7515  ;;
7516
7517rdos*)
7518  lt_cv_deplibs_check_method=pass_all
7519  ;;
7520
7521solaris*)
7522  lt_cv_deplibs_check_method=pass_all
7523  ;;
7524
7525sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7526  lt_cv_deplibs_check_method=pass_all
7527  ;;
7528
7529sysv4 | sysv4.3*)
7530  case $host_vendor in
7531  motorola)
7532    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]'
7533    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7534    ;;
7535  ncr)
7536    lt_cv_deplibs_check_method=pass_all
7537    ;;
7538  sequent)
7539    lt_cv_file_magic_cmd='/bin/file'
7540    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7541    ;;
7542  sni)
7543    lt_cv_file_magic_cmd='/bin/file'
7544    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7545    lt_cv_file_magic_test_file=/lib/libc.so
7546    ;;
7547  siemens)
7548    lt_cv_deplibs_check_method=pass_all
7549    ;;
7550  pc)
7551    lt_cv_deplibs_check_method=pass_all
7552    ;;
7553  esac
7554  ;;
7555
7556tpf*)
7557  lt_cv_deplibs_check_method=pass_all
7558  ;;
7559os2*)
7560  lt_cv_deplibs_check_method=pass_all
7561  ;;
7562esac
7563
7564fi
7565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7566$as_echo "$lt_cv_deplibs_check_method" >&6; }
7567
7568file_magic_glob=
7569want_nocaseglob=no
7570if test "$build" = "$host"; then
7571  case $host_os in
7572  mingw* | pw32*)
7573    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7574      want_nocaseglob=yes
7575    else
7576      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7577    fi
7578    ;;
7579  esac
7580fi
7581
7582file_magic_cmd=$lt_cv_file_magic_cmd
7583deplibs_check_method=$lt_cv_deplibs_check_method
7584test -z "$deplibs_check_method" && deplibs_check_method=unknown
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607if test -n "$ac_tool_prefix"; then
7608  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7609set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611$as_echo_n "checking for $ac_word... " >&6; }
7612if ${ac_cv_prog_DLLTOOL+:} false; then :
7613  $as_echo_n "(cached) " >&6
7614else
7615  if test -n "$DLLTOOL"; then
7616  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7617else
7618as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619for as_dir in $PATH
7620do
7621  IFS=$as_save_IFS
7622  test -z "$as_dir" && as_dir=.
7623    for ac_exec_ext in '' $ac_executable_extensions; do
7624  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7625    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7626    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7627    break 2
7628  fi
7629done
7630  done
7631IFS=$as_save_IFS
7632
7633fi
7634fi
7635DLLTOOL=$ac_cv_prog_DLLTOOL
7636if test -n "$DLLTOOL"; then
7637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7638$as_echo "$DLLTOOL" >&6; }
7639else
7640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641$as_echo "no" >&6; }
7642fi
7643
7644
7645fi
7646if test -z "$ac_cv_prog_DLLTOOL"; then
7647  ac_ct_DLLTOOL=$DLLTOOL
7648  # Extract the first word of "dlltool", so it can be a program name with args.
7649set dummy dlltool; ac_word=$2
7650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651$as_echo_n "checking for $ac_word... " >&6; }
7652if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7653  $as_echo_n "(cached) " >&6
7654else
7655  if test -n "$ac_ct_DLLTOOL"; then
7656  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7657else
7658as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659for as_dir in $PATH
7660do
7661  IFS=$as_save_IFS
7662  test -z "$as_dir" && as_dir=.
7663    for ac_exec_ext in '' $ac_executable_extensions; do
7664  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7665    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7666    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667    break 2
7668  fi
7669done
7670  done
7671IFS=$as_save_IFS
7672
7673fi
7674fi
7675ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7676if test -n "$ac_ct_DLLTOOL"; then
7677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7678$as_echo "$ac_ct_DLLTOOL" >&6; }
7679else
7680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681$as_echo "no" >&6; }
7682fi
7683
7684  if test "x$ac_ct_DLLTOOL" = x; then
7685    DLLTOOL="false"
7686  else
7687    case $cross_compiling:$ac_tool_warned in
7688yes:)
7689{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7690$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7691ac_tool_warned=yes ;;
7692esac
7693    DLLTOOL=$ac_ct_DLLTOOL
7694  fi
7695else
7696  DLLTOOL="$ac_cv_prog_DLLTOOL"
7697fi
7698
7699test -z "$DLLTOOL" && DLLTOOL=dlltool
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7711$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7712if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7713  $as_echo_n "(cached) " >&6
7714else
7715  lt_cv_sharedlib_from_linklib_cmd='unknown'
7716
7717case $host_os in
7718cygwin* | mingw* | pw32* | cegcc*)
7719  # two different shell functions defined in ltmain.sh;
7720  # decide which one to use based on capabilities of $DLLTOOL
7721  case `$DLLTOOL --help 2>&1` in
7722  *--identify-strict*)
7723    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7724    ;;
7725  *)
7726    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7727    ;;
7728  esac
7729  ;;
7730*)
7731  # fallback: assume linklib IS sharedlib
7732  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7733  ;;
7734esac
7735
7736fi
7737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7738$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7739sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7740test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7741
7742
7743
7744
7745
7746
7747
7748if test -n "$ac_tool_prefix"; then
7749  for ac_prog in ar
7750  do
7751    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7752set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7754$as_echo_n "checking for $ac_word... " >&6; }
7755if ${ac_cv_prog_AR+:} false; then :
7756  $as_echo_n "(cached) " >&6
7757else
7758  if test -n "$AR"; then
7759  ac_cv_prog_AR="$AR" # Let the user override the test.
7760else
7761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7762for as_dir in $PATH
7763do
7764  IFS=$as_save_IFS
7765  test -z "$as_dir" && as_dir=.
7766    for ac_exec_ext in '' $ac_executable_extensions; do
7767  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7768    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7769    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7770    break 2
7771  fi
7772done
7773  done
7774IFS=$as_save_IFS
7775
7776fi
7777fi
7778AR=$ac_cv_prog_AR
7779if test -n "$AR"; then
7780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7781$as_echo "$AR" >&6; }
7782else
7783  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7784$as_echo "no" >&6; }
7785fi
7786
7787
7788    test -n "$AR" && break
7789  done
7790fi
7791if test -z "$AR"; then
7792  ac_ct_AR=$AR
7793  for ac_prog in ar
7794do
7795  # Extract the first word of "$ac_prog", so it can be a program name with args.
7796set dummy $ac_prog; ac_word=$2
7797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7798$as_echo_n "checking for $ac_word... " >&6; }
7799if ${ac_cv_prog_ac_ct_AR+:} false; then :
7800  $as_echo_n "(cached) " >&6
7801else
7802  if test -n "$ac_ct_AR"; then
7803  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7804else
7805as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7806for as_dir in $PATH
7807do
7808  IFS=$as_save_IFS
7809  test -z "$as_dir" && as_dir=.
7810    for ac_exec_ext in '' $ac_executable_extensions; do
7811  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7812    ac_cv_prog_ac_ct_AR="$ac_prog"
7813    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7814    break 2
7815  fi
7816done
7817  done
7818IFS=$as_save_IFS
7819
7820fi
7821fi
7822ac_ct_AR=$ac_cv_prog_ac_ct_AR
7823if test -n "$ac_ct_AR"; then
7824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7825$as_echo "$ac_ct_AR" >&6; }
7826else
7827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7828$as_echo "no" >&6; }
7829fi
7830
7831
7832  test -n "$ac_ct_AR" && break
7833done
7834
7835  if test "x$ac_ct_AR" = x; then
7836    AR="false"
7837  else
7838    case $cross_compiling:$ac_tool_warned in
7839yes:)
7840{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7841$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7842ac_tool_warned=yes ;;
7843esac
7844    AR=$ac_ct_AR
7845  fi
7846fi
7847
7848: ${AR=ar}
7849: ${AR_FLAGS=cru}
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7862$as_echo_n "checking for archiver @FILE support... " >&6; }
7863if ${lt_cv_ar_at_file+:} false; then :
7864  $as_echo_n "(cached) " >&6
7865else
7866  lt_cv_ar_at_file=no
7867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7868/* end confdefs.h.  */
7869
7870int
7871main ()
7872{
7873
7874  ;
7875  return 0;
7876}
7877_ACEOF
7878if ac_fn_c_try_compile "$LINENO"; then :
7879  echo conftest.$ac_objext > conftest.lst
7880      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7881      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7882  (eval $lt_ar_try) 2>&5
7883  ac_status=$?
7884  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7885  test $ac_status = 0; }
7886      if test 0 -eq "$ac_status"; then
7887	# Ensure the archiver fails upon bogus file names.
7888	rm -f conftest.$ac_objext libconftest.a
7889	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7890  (eval $lt_ar_try) 2>&5
7891  ac_status=$?
7892  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7893  test $ac_status = 0; }
7894	if test 0 -ne "$ac_status"; then
7895          lt_cv_ar_at_file=@
7896        fi
7897      fi
7898      rm -f conftest.* libconftest.a
7899
7900fi
7901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7902
7903fi
7904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7905$as_echo "$lt_cv_ar_at_file" >&6; }
7906
7907if test no = "$lt_cv_ar_at_file"; then
7908  archiver_list_spec=
7909else
7910  archiver_list_spec=$lt_cv_ar_at_file
7911fi
7912
7913
7914
7915
7916
7917
7918
7919if test -n "$ac_tool_prefix"; then
7920  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7921set dummy ${ac_tool_prefix}strip; ac_word=$2
7922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7923$as_echo_n "checking for $ac_word... " >&6; }
7924if ${ac_cv_prog_STRIP+:} false; then :
7925  $as_echo_n "(cached) " >&6
7926else
7927  if test -n "$STRIP"; then
7928  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7929else
7930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7931for as_dir in $PATH
7932do
7933  IFS=$as_save_IFS
7934  test -z "$as_dir" && as_dir=.
7935    for ac_exec_ext in '' $ac_executable_extensions; do
7936  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7937    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7938    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7939    break 2
7940  fi
7941done
7942  done
7943IFS=$as_save_IFS
7944
7945fi
7946fi
7947STRIP=$ac_cv_prog_STRIP
7948if test -n "$STRIP"; then
7949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7950$as_echo "$STRIP" >&6; }
7951else
7952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7953$as_echo "no" >&6; }
7954fi
7955
7956
7957fi
7958if test -z "$ac_cv_prog_STRIP"; then
7959  ac_ct_STRIP=$STRIP
7960  # Extract the first word of "strip", so it can be a program name with args.
7961set dummy strip; ac_word=$2
7962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7963$as_echo_n "checking for $ac_word... " >&6; }
7964if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7965  $as_echo_n "(cached) " >&6
7966else
7967  if test -n "$ac_ct_STRIP"; then
7968  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7969else
7970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7971for as_dir in $PATH
7972do
7973  IFS=$as_save_IFS
7974  test -z "$as_dir" && as_dir=.
7975    for ac_exec_ext in '' $ac_executable_extensions; do
7976  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7977    ac_cv_prog_ac_ct_STRIP="strip"
7978    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7979    break 2
7980  fi
7981done
7982  done
7983IFS=$as_save_IFS
7984
7985fi
7986fi
7987ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7988if test -n "$ac_ct_STRIP"; then
7989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7990$as_echo "$ac_ct_STRIP" >&6; }
7991else
7992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993$as_echo "no" >&6; }
7994fi
7995
7996  if test "x$ac_ct_STRIP" = x; then
7997    STRIP=":"
7998  else
7999    case $cross_compiling:$ac_tool_warned in
8000yes:)
8001{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8002$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8003ac_tool_warned=yes ;;
8004esac
8005    STRIP=$ac_ct_STRIP
8006  fi
8007else
8008  STRIP="$ac_cv_prog_STRIP"
8009fi
8010
8011test -z "$STRIP" && STRIP=:
8012
8013
8014
8015
8016
8017
8018if test -n "$ac_tool_prefix"; then
8019  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8020set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8022$as_echo_n "checking for $ac_word... " >&6; }
8023if ${ac_cv_prog_RANLIB+:} false; then :
8024  $as_echo_n "(cached) " >&6
8025else
8026  if test -n "$RANLIB"; then
8027  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8028else
8029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030for as_dir in $PATH
8031do
8032  IFS=$as_save_IFS
8033  test -z "$as_dir" && as_dir=.
8034    for ac_exec_ext in '' $ac_executable_extensions; do
8035  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8036    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8037    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8038    break 2
8039  fi
8040done
8041  done
8042IFS=$as_save_IFS
8043
8044fi
8045fi
8046RANLIB=$ac_cv_prog_RANLIB
8047if test -n "$RANLIB"; then
8048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8049$as_echo "$RANLIB" >&6; }
8050else
8051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8052$as_echo "no" >&6; }
8053fi
8054
8055
8056fi
8057if test -z "$ac_cv_prog_RANLIB"; then
8058  ac_ct_RANLIB=$RANLIB
8059  # Extract the first word of "ranlib", so it can be a program name with args.
8060set dummy ranlib; ac_word=$2
8061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8062$as_echo_n "checking for $ac_word... " >&6; }
8063if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8064  $as_echo_n "(cached) " >&6
8065else
8066  if test -n "$ac_ct_RANLIB"; then
8067  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8068else
8069as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8070for as_dir in $PATH
8071do
8072  IFS=$as_save_IFS
8073  test -z "$as_dir" && as_dir=.
8074    for ac_exec_ext in '' $ac_executable_extensions; do
8075  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8076    ac_cv_prog_ac_ct_RANLIB="ranlib"
8077    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8078    break 2
8079  fi
8080done
8081  done
8082IFS=$as_save_IFS
8083
8084fi
8085fi
8086ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8087if test -n "$ac_ct_RANLIB"; then
8088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8089$as_echo "$ac_ct_RANLIB" >&6; }
8090else
8091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8092$as_echo "no" >&6; }
8093fi
8094
8095  if test "x$ac_ct_RANLIB" = x; then
8096    RANLIB=":"
8097  else
8098    case $cross_compiling:$ac_tool_warned in
8099yes:)
8100{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8101$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8102ac_tool_warned=yes ;;
8103esac
8104    RANLIB=$ac_ct_RANLIB
8105  fi
8106else
8107  RANLIB="$ac_cv_prog_RANLIB"
8108fi
8109
8110test -z "$RANLIB" && RANLIB=:
8111
8112
8113
8114
8115
8116
8117# Determine commands to create old-style static archives.
8118old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8119old_postinstall_cmds='chmod 644 $oldlib'
8120old_postuninstall_cmds=
8121
8122if test -n "$RANLIB"; then
8123  case $host_os in
8124  bitrig* | openbsd*)
8125    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8126    ;;
8127  *)
8128    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8129    ;;
8130  esac
8131  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8132fi
8133
8134case $host_os in
8135  darwin*)
8136    lock_old_archive_extraction=yes ;;
8137  *)
8138    lock_old_archive_extraction=no ;;
8139esac
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179# If no C compiler was specified, use CC.
8180LTCC=${LTCC-"$CC"}
8181
8182# If no C compiler flags were specified, use CFLAGS.
8183LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8184
8185# Allow CC to be a program name with arguments.
8186compiler=$CC
8187
8188
8189# Check for command to grab the raw symbol name followed by C symbol from nm.
8190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8191$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8192if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8193  $as_echo_n "(cached) " >&6
8194else
8195
8196# These are sane defaults that work on at least a few old systems.
8197# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8198
8199# Character class describing NM global symbol codes.
8200symcode='[BCDEGRST]'
8201
8202# Regexp to match symbols that can be accessed directly from C.
8203sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8204
8205# Define system-specific variables.
8206case $host_os in
8207aix*)
8208  symcode='[BCDT]'
8209  ;;
8210cygwin* | mingw* | pw32* | cegcc*)
8211  symcode='[ABCDGISTW]'
8212  ;;
8213hpux*)
8214  if test ia64 = "$host_cpu"; then
8215    symcode='[ABCDEGRST]'
8216  fi
8217  ;;
8218irix* | nonstopux*)
8219  symcode='[BCDEGRST]'
8220  ;;
8221osf*)
8222  symcode='[BCDEGQRST]'
8223  ;;
8224solaris*)
8225  symcode='[BDRT]'
8226  ;;
8227sco3.2v5*)
8228  symcode='[DT]'
8229  ;;
8230sysv4.2uw2*)
8231  symcode='[DT]'
8232  ;;
8233sysv5* | sco5v6* | unixware* | OpenUNIX*)
8234  symcode='[ABDT]'
8235  ;;
8236sysv4)
8237  symcode='[DFNSTU]'
8238  ;;
8239esac
8240
8241# If we're using GNU nm, then use its standard symbol codes.
8242case `$NM -V 2>&1` in
8243*GNU* | *'with BFD'*)
8244  symcode='[ABCDGIRSTW]' ;;
8245esac
8246
8247if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8248  # Gets list of data symbols to import.
8249  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8250  # Adjust the below global symbol transforms to fixup imported variables.
8251  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8252  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
8253  lt_c_name_lib_hook="\
8254  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
8255  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
8256else
8257  # Disable hooks by default.
8258  lt_cv_sys_global_symbol_to_import=
8259  lt_cdecl_hook=
8260  lt_c_name_hook=
8261  lt_c_name_lib_hook=
8262fi
8263
8264# Transform an extracted symbol line into a proper C declaration.
8265# Some systems (esp. on ia64) link data and code symbols differently,
8266# so use this general approach.
8267lt_cv_sys_global_symbol_to_cdecl="sed -n"\
8268$lt_cdecl_hook\
8269" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
8270" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8271
8272# Transform an extracted symbol line into symbol name and symbol address
8273lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
8274$lt_c_name_hook\
8275" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8276" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
8277
8278# Transform an extracted symbol line into symbol name with lib prefix and
8279# symbol address.
8280lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
8281$lt_c_name_lib_hook\
8282" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8283" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
8284" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
8285
8286# Handle CRLF in mingw tool chain
8287opt_cr=
8288case $build_os in
8289mingw*)
8290  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8291  ;;
8292esac
8293
8294# Try without a prefix underscore, then with it.
8295for ac_symprfx in "" "_"; do
8296
8297  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8298  symxfrm="\\1 $ac_symprfx\\2 \\2"
8299
8300  # Write the raw and C identifiers.
8301  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8302    # Fake it for dumpbin and say T for any non-static function,
8303    # D for any global variable and I for any imported variable.
8304    # Also find C++ and __fastcall symbols from MSVC++,
8305    # which start with @ or ?.
8306    lt_cv_sys_global_symbol_pipe="$AWK '"\
8307"     {last_section=section; section=\$ 3};"\
8308"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8309"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8310"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8311"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8312"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8313"     \$ 0!~/External *\|/{next};"\
8314"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8315"     {if(hide[section]) next};"\
8316"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8317"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8318"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8319"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8320"     ' prfx=^$ac_symprfx"
8321  else
8322    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8323  fi
8324  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8325
8326  # Check to see that the pipe works correctly.
8327  pipe_works=no
8328
8329  rm -f conftest*
8330  cat > conftest.$ac_ext <<_LT_EOF
8331#ifdef __cplusplus
8332extern "C" {
8333#endif
8334char nm_test_var;
8335void nm_test_func(void);
8336void nm_test_func(void){}
8337#ifdef __cplusplus
8338}
8339#endif
8340int main(){nm_test_var='a';nm_test_func();return(0);}
8341_LT_EOF
8342
8343  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8344  (eval $ac_compile) 2>&5
8345  ac_status=$?
8346  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8347  test $ac_status = 0; }; then
8348    # Now try to grab the symbols.
8349    nlist=conftest.nm
8350    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8351  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8352  ac_status=$?
8353  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8354  test $ac_status = 0; } && test -s "$nlist"; then
8355      # Try sorting and uniquifying the output.
8356      if sort "$nlist" | uniq > "$nlist"T; then
8357	mv -f "$nlist"T "$nlist"
8358      else
8359	rm -f "$nlist"T
8360      fi
8361
8362      # Make sure that we snagged all the symbols we need.
8363      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8364	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8365	  cat <<_LT_EOF > conftest.$ac_ext
8366/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8367#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8368/* DATA imports from DLLs on WIN32 can't be const, because runtime
8369   relocations are performed -- see ld's documentation on pseudo-relocs.  */
8370# define LT_DLSYM_CONST
8371#elif defined __osf__
8372/* This system does not cope well with relocations in const data.  */
8373# define LT_DLSYM_CONST
8374#else
8375# define LT_DLSYM_CONST const
8376#endif
8377
8378#ifdef __cplusplus
8379extern "C" {
8380#endif
8381
8382_LT_EOF
8383	  # Now generate the symbol file.
8384	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8385
8386	  cat <<_LT_EOF >> conftest.$ac_ext
8387
8388/* The mapping between symbol names and symbols.  */
8389LT_DLSYM_CONST struct {
8390  const char *name;
8391  void       *address;
8392}
8393lt__PROGRAM__LTX_preloaded_symbols[] =
8394{
8395  { "@PROGRAM@", (void *) 0 },
8396_LT_EOF
8397	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8398	  cat <<\_LT_EOF >> conftest.$ac_ext
8399  {0, (void *) 0}
8400};
8401
8402/* This works around a problem in FreeBSD linker */
8403#ifdef FREEBSD_WORKAROUND
8404static const void *lt_preloaded_setup() {
8405  return lt__PROGRAM__LTX_preloaded_symbols;
8406}
8407#endif
8408
8409#ifdef __cplusplus
8410}
8411#endif
8412_LT_EOF
8413	  # Now try linking the two files.
8414	  mv conftest.$ac_objext conftstm.$ac_objext
8415	  lt_globsym_save_LIBS=$LIBS
8416	  lt_globsym_save_CFLAGS=$CFLAGS
8417	  LIBS=conftstm.$ac_objext
8418	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8419	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8420  (eval $ac_link) 2>&5
8421  ac_status=$?
8422  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8423  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8424	    pipe_works=yes
8425	  fi
8426	  LIBS=$lt_globsym_save_LIBS
8427	  CFLAGS=$lt_globsym_save_CFLAGS
8428	else
8429	  echo "cannot find nm_test_func in $nlist" >&5
8430	fi
8431      else
8432	echo "cannot find nm_test_var in $nlist" >&5
8433      fi
8434    else
8435      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8436    fi
8437  else
8438    echo "$progname: failed program was:" >&5
8439    cat conftest.$ac_ext >&5
8440  fi
8441  rm -rf conftest* conftst*
8442
8443  # Do not use the global_symbol_pipe unless it works.
8444  if test yes = "$pipe_works"; then
8445    break
8446  else
8447    lt_cv_sys_global_symbol_pipe=
8448  fi
8449done
8450
8451fi
8452
8453if test -z "$lt_cv_sys_global_symbol_pipe"; then
8454  lt_cv_sys_global_symbol_to_cdecl=
8455fi
8456if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8458$as_echo "failed" >&6; }
8459else
8460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8461$as_echo "ok" >&6; }
8462fi
8463
8464# Response file support.
8465if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8466  nm_file_list_spec='@'
8467elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8468  nm_file_list_spec='@'
8469fi
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8508$as_echo_n "checking for sysroot... " >&6; }
8509
8510# Check whether --with-sysroot was given.
8511if test "${with_sysroot+set}" = set; then :
8512  withval=$with_sysroot;
8513else
8514  with_sysroot=no
8515fi
8516
8517
8518lt_sysroot=
8519case $with_sysroot in #(
8520 yes)
8521   if test yes = "$GCC"; then
8522     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8523   fi
8524   ;; #(
8525 /*)
8526   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8527   ;; #(
8528 no|'')
8529   ;; #(
8530 *)
8531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8532$as_echo "$with_sysroot" >&6; }
8533   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8534   ;;
8535esac
8536
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8538$as_echo "${lt_sysroot:-no}" >&6; }
8539
8540
8541
8542
8543
8544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8545$as_echo_n "checking for a working dd... " >&6; }
8546if ${ac_cv_path_lt_DD+:} false; then :
8547  $as_echo_n "(cached) " >&6
8548else
8549  printf 0123456789abcdef0123456789abcdef >conftest.i
8550cat conftest.i conftest.i >conftest2.i
8551: ${lt_DD:=$DD}
8552if test -z "$lt_DD"; then
8553  ac_path_lt_DD_found=false
8554  # Loop through the user's path and test for each of PROGNAME-LIST
8555  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8556for as_dir in $PATH
8557do
8558  IFS=$as_save_IFS
8559  test -z "$as_dir" && as_dir=.
8560    for ac_prog in dd; do
8561    for ac_exec_ext in '' $ac_executable_extensions; do
8562      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8563      as_fn_executable_p "$ac_path_lt_DD" || continue
8564if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8565  cmp -s conftest.i conftest.out \
8566  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8567fi
8568      $ac_path_lt_DD_found && break 3
8569    done
8570  done
8571  done
8572IFS=$as_save_IFS
8573  if test -z "$ac_cv_path_lt_DD"; then
8574    :
8575  fi
8576else
8577  ac_cv_path_lt_DD=$lt_DD
8578fi
8579
8580rm -f conftest.i conftest2.i conftest.out
8581fi
8582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8583$as_echo "$ac_cv_path_lt_DD" >&6; }
8584
8585
8586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8587$as_echo_n "checking how to truncate binary pipes... " >&6; }
8588if ${lt_cv_truncate_bin+:} false; then :
8589  $as_echo_n "(cached) " >&6
8590else
8591  printf 0123456789abcdef0123456789abcdef >conftest.i
8592cat conftest.i conftest.i >conftest2.i
8593lt_cv_truncate_bin=
8594if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8595  cmp -s conftest.i conftest.out \
8596  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8597fi
8598rm -f conftest.i conftest2.i conftest.out
8599test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8600fi
8601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8602$as_echo "$lt_cv_truncate_bin" >&6; }
8603
8604
8605
8606
8607
8608
8609
8610# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8611func_cc_basename ()
8612{
8613    for cc_temp in $*""; do
8614      case $cc_temp in
8615        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8616        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8617        \-*) ;;
8618        *) break;;
8619      esac
8620    done
8621    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8622}
8623
8624# Check whether --enable-libtool-lock was given.
8625if test "${enable_libtool_lock+set}" = set; then :
8626  enableval=$enable_libtool_lock;
8627fi
8628
8629test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8630
8631# Some flags need to be propagated to the compiler or linker for good
8632# libtool support.
8633case $host in
8634ia64-*-hpux*)
8635  # Find out what ABI is being produced by ac_compile, and set mode
8636  # options accordingly.
8637  echo 'int i;' > conftest.$ac_ext
8638  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8639  (eval $ac_compile) 2>&5
8640  ac_status=$?
8641  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8642  test $ac_status = 0; }; then
8643    case `/usr/bin/file conftest.$ac_objext` in
8644      *ELF-32*)
8645	HPUX_IA64_MODE=32
8646	;;
8647      *ELF-64*)
8648	HPUX_IA64_MODE=64
8649	;;
8650    esac
8651  fi
8652  rm -rf conftest*
8653  ;;
8654*-*-irix6*)
8655  # Find out what ABI is being produced by ac_compile, and set linker
8656  # options accordingly.
8657  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8658  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8659  (eval $ac_compile) 2>&5
8660  ac_status=$?
8661  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8662  test $ac_status = 0; }; then
8663    if test yes = "$lt_cv_prog_gnu_ld"; then
8664      case `/usr/bin/file conftest.$ac_objext` in
8665	*32-bit*)
8666	  LD="${LD-ld} -melf32bsmip"
8667	  ;;
8668	*N32*)
8669	  LD="${LD-ld} -melf32bmipn32"
8670	  ;;
8671	*64-bit*)
8672	  LD="${LD-ld} -melf64bmip"
8673	;;
8674      esac
8675    else
8676      case `/usr/bin/file conftest.$ac_objext` in
8677	*32-bit*)
8678	  LD="${LD-ld} -32"
8679	  ;;
8680	*N32*)
8681	  LD="${LD-ld} -n32"
8682	  ;;
8683	*64-bit*)
8684	  LD="${LD-ld} -64"
8685	  ;;
8686      esac
8687    fi
8688  fi
8689  rm -rf conftest*
8690  ;;
8691
8692mips64*-*linux*)
8693  # Find out what ABI is being produced by ac_compile, and set linker
8694  # options accordingly.
8695  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8696  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8697  (eval $ac_compile) 2>&5
8698  ac_status=$?
8699  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8700  test $ac_status = 0; }; then
8701    emul=elf
8702    case `/usr/bin/file conftest.$ac_objext` in
8703      *32-bit*)
8704	emul="${emul}32"
8705	;;
8706      *64-bit*)
8707	emul="${emul}64"
8708	;;
8709    esac
8710    case `/usr/bin/file conftest.$ac_objext` in
8711      *MSB*)
8712	emul="${emul}btsmip"
8713	;;
8714      *LSB*)
8715	emul="${emul}ltsmip"
8716	;;
8717    esac
8718    case `/usr/bin/file conftest.$ac_objext` in
8719      *N32*)
8720	emul="${emul}n32"
8721	;;
8722    esac
8723    LD="${LD-ld} -m $emul"
8724  fi
8725  rm -rf conftest*
8726  ;;
8727
8728x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8729s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8730  # Find out what ABI is being produced by ac_compile, and set linker
8731  # options accordingly.  Note that the listed cases only cover the
8732  # situations where additional linker options are needed (such as when
8733  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8734  # vice versa); the common cases where no linker options are needed do
8735  # not appear in the list.
8736  echo 'int i;' > conftest.$ac_ext
8737  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8738  (eval $ac_compile) 2>&5
8739  ac_status=$?
8740  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8741  test $ac_status = 0; }; then
8742    case `/usr/bin/file conftest.o` in
8743      *32-bit*)
8744	case $host in
8745	  x86_64-*kfreebsd*-gnu)
8746	    LD="${LD-ld} -m elf_i386_fbsd"
8747	    ;;
8748	  x86_64-*linux*)
8749	    case `/usr/bin/file conftest.o` in
8750	      *x86-64*)
8751		LD="${LD-ld} -m elf32_x86_64"
8752		;;
8753	      *)
8754		LD="${LD-ld} -m elf_i386"
8755		;;
8756	    esac
8757	    ;;
8758	  powerpc64le-*linux*)
8759	    LD="${LD-ld} -m elf32lppclinux"
8760	    ;;
8761	  powerpc64-*linux*)
8762	    LD="${LD-ld} -m elf32ppclinux"
8763	    ;;
8764	  s390x-*linux*)
8765	    LD="${LD-ld} -m elf_s390"
8766	    ;;
8767	  sparc64-*linux*)
8768	    LD="${LD-ld} -m elf32_sparc"
8769	    ;;
8770	esac
8771	;;
8772      *64-bit*)
8773	case $host in
8774	  x86_64-*kfreebsd*-gnu)
8775	    LD="${LD-ld} -m elf_x86_64_fbsd"
8776	    ;;
8777	  x86_64-*linux*)
8778	    LD="${LD-ld} -m elf_x86_64"
8779	    ;;
8780	  powerpcle-*linux*)
8781	    LD="${LD-ld} -m elf64lppc"
8782	    ;;
8783	  powerpc-*linux*)
8784	    LD="${LD-ld} -m elf64ppc"
8785	    ;;
8786	  s390*-*linux*|s390*-*tpf*)
8787	    LD="${LD-ld} -m elf64_s390"
8788	    ;;
8789	  sparc*-*linux*)
8790	    LD="${LD-ld} -m elf64_sparc"
8791	    ;;
8792	esac
8793	;;
8794    esac
8795  fi
8796  rm -rf conftest*
8797  ;;
8798
8799*-*-sco3.2v5*)
8800  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8801  SAVE_CFLAGS=$CFLAGS
8802  CFLAGS="$CFLAGS -belf"
8803  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8804$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8805if ${lt_cv_cc_needs_belf+:} false; then :
8806  $as_echo_n "(cached) " >&6
8807else
8808  ac_ext=c
8809ac_cpp='$CPP $CPPFLAGS'
8810ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8811ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8812ac_compiler_gnu=$ac_cv_c_compiler_gnu
8813
8814     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8815/* end confdefs.h.  */
8816
8817int
8818main ()
8819{
8820
8821  ;
8822  return 0;
8823}
8824_ACEOF
8825if ac_fn_c_try_link "$LINENO"; then :
8826  lt_cv_cc_needs_belf=yes
8827else
8828  lt_cv_cc_needs_belf=no
8829fi
8830rm -f core conftest.err conftest.$ac_objext \
8831    conftest$ac_exeext conftest.$ac_ext
8832     ac_ext=c
8833ac_cpp='$CPP $CPPFLAGS'
8834ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8835ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8836ac_compiler_gnu=$ac_cv_c_compiler_gnu
8837
8838fi
8839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8840$as_echo "$lt_cv_cc_needs_belf" >&6; }
8841  if test yes != "$lt_cv_cc_needs_belf"; then
8842    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8843    CFLAGS=$SAVE_CFLAGS
8844  fi
8845  ;;
8846*-*solaris*)
8847  # Find out what ABI is being produced by ac_compile, and set linker
8848  # options accordingly.
8849  echo 'int i;' > conftest.$ac_ext
8850  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8851  (eval $ac_compile) 2>&5
8852  ac_status=$?
8853  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8854  test $ac_status = 0; }; then
8855    case `/usr/bin/file conftest.o` in
8856    *64-bit*)
8857      case $lt_cv_prog_gnu_ld in
8858      yes*)
8859        case $host in
8860        i?86-*-solaris*|x86_64-*-solaris*)
8861          LD="${LD-ld} -m elf_x86_64"
8862          ;;
8863        sparc*-*-solaris*)
8864          LD="${LD-ld} -m elf64_sparc"
8865          ;;
8866        esac
8867        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8868        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8869          LD=${LD-ld}_sol2
8870        fi
8871        ;;
8872      *)
8873	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8874	  LD="${LD-ld} -64"
8875	fi
8876	;;
8877      esac
8878      ;;
8879    esac
8880  fi
8881  rm -rf conftest*
8882  ;;
8883esac
8884
8885need_locks=$enable_libtool_lock
8886
8887if test -n "$ac_tool_prefix"; then
8888  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8889set dummy ${ac_tool_prefix}mt; ac_word=$2
8890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8891$as_echo_n "checking for $ac_word... " >&6; }
8892if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8893  $as_echo_n "(cached) " >&6
8894else
8895  if test -n "$MANIFEST_TOOL"; then
8896  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8897else
8898as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8899for as_dir in $PATH
8900do
8901  IFS=$as_save_IFS
8902  test -z "$as_dir" && as_dir=.
8903    for ac_exec_ext in '' $ac_executable_extensions; do
8904  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8905    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8906    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8907    break 2
8908  fi
8909done
8910  done
8911IFS=$as_save_IFS
8912
8913fi
8914fi
8915MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8916if test -n "$MANIFEST_TOOL"; then
8917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8918$as_echo "$MANIFEST_TOOL" >&6; }
8919else
8920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8921$as_echo "no" >&6; }
8922fi
8923
8924
8925fi
8926if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8927  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8928  # Extract the first word of "mt", so it can be a program name with args.
8929set dummy mt; ac_word=$2
8930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8931$as_echo_n "checking for $ac_word... " >&6; }
8932if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8933  $as_echo_n "(cached) " >&6
8934else
8935  if test -n "$ac_ct_MANIFEST_TOOL"; then
8936  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8937else
8938as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8939for as_dir in $PATH
8940do
8941  IFS=$as_save_IFS
8942  test -z "$as_dir" && as_dir=.
8943    for ac_exec_ext in '' $ac_executable_extensions; do
8944  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8945    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8946    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8947    break 2
8948  fi
8949done
8950  done
8951IFS=$as_save_IFS
8952
8953fi
8954fi
8955ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8956if test -n "$ac_ct_MANIFEST_TOOL"; then
8957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8958$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8959else
8960  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8961$as_echo "no" >&6; }
8962fi
8963
8964  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8965    MANIFEST_TOOL=":"
8966  else
8967    case $cross_compiling:$ac_tool_warned in
8968yes:)
8969{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8970$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8971ac_tool_warned=yes ;;
8972esac
8973    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8974  fi
8975else
8976  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8977fi
8978
8979test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8981$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8982if ${lt_cv_path_mainfest_tool+:} false; then :
8983  $as_echo_n "(cached) " >&6
8984else
8985  lt_cv_path_mainfest_tool=no
8986  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8987  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8988  cat conftest.err >&5
8989  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8990    lt_cv_path_mainfest_tool=yes
8991  fi
8992  rm -f conftest*
8993fi
8994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8995$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8996if test yes != "$lt_cv_path_mainfest_tool"; then
8997  MANIFEST_TOOL=:
8998fi
8999
9000
9001
9002
9003
9004
9005  case $host_os in
9006    rhapsody* | darwin*)
9007    if test -n "$ac_tool_prefix"; then
9008  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9009set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9011$as_echo_n "checking for $ac_word... " >&6; }
9012if ${ac_cv_prog_DSYMUTIL+:} false; then :
9013  $as_echo_n "(cached) " >&6
9014else
9015  if test -n "$DSYMUTIL"; then
9016  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9017else
9018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9019for as_dir in $PATH
9020do
9021  IFS=$as_save_IFS
9022  test -z "$as_dir" && as_dir=.
9023    for ac_exec_ext in '' $ac_executable_extensions; do
9024  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9025    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9026    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9027    break 2
9028  fi
9029done
9030  done
9031IFS=$as_save_IFS
9032
9033fi
9034fi
9035DSYMUTIL=$ac_cv_prog_DSYMUTIL
9036if test -n "$DSYMUTIL"; then
9037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9038$as_echo "$DSYMUTIL" >&6; }
9039else
9040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9041$as_echo "no" >&6; }
9042fi
9043
9044
9045fi
9046if test -z "$ac_cv_prog_DSYMUTIL"; then
9047  ac_ct_DSYMUTIL=$DSYMUTIL
9048  # Extract the first word of "dsymutil", so it can be a program name with args.
9049set dummy dsymutil; ac_word=$2
9050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9051$as_echo_n "checking for $ac_word... " >&6; }
9052if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9053  $as_echo_n "(cached) " >&6
9054else
9055  if test -n "$ac_ct_DSYMUTIL"; then
9056  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9057else
9058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9059for as_dir in $PATH
9060do
9061  IFS=$as_save_IFS
9062  test -z "$as_dir" && as_dir=.
9063    for ac_exec_ext in '' $ac_executable_extensions; do
9064  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9065    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9066    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9067    break 2
9068  fi
9069done
9070  done
9071IFS=$as_save_IFS
9072
9073fi
9074fi
9075ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9076if test -n "$ac_ct_DSYMUTIL"; then
9077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9078$as_echo "$ac_ct_DSYMUTIL" >&6; }
9079else
9080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9081$as_echo "no" >&6; }
9082fi
9083
9084  if test "x$ac_ct_DSYMUTIL" = x; then
9085    DSYMUTIL=":"
9086  else
9087    case $cross_compiling:$ac_tool_warned in
9088yes:)
9089{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9090$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9091ac_tool_warned=yes ;;
9092esac
9093    DSYMUTIL=$ac_ct_DSYMUTIL
9094  fi
9095else
9096  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9097fi
9098
9099    if test -n "$ac_tool_prefix"; then
9100  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9101set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9103$as_echo_n "checking for $ac_word... " >&6; }
9104if ${ac_cv_prog_NMEDIT+:} false; then :
9105  $as_echo_n "(cached) " >&6
9106else
9107  if test -n "$NMEDIT"; then
9108  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9109else
9110as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9111for as_dir in $PATH
9112do
9113  IFS=$as_save_IFS
9114  test -z "$as_dir" && as_dir=.
9115    for ac_exec_ext in '' $ac_executable_extensions; do
9116  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9117    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9118    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9119    break 2
9120  fi
9121done
9122  done
9123IFS=$as_save_IFS
9124
9125fi
9126fi
9127NMEDIT=$ac_cv_prog_NMEDIT
9128if test -n "$NMEDIT"; then
9129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9130$as_echo "$NMEDIT" >&6; }
9131else
9132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9133$as_echo "no" >&6; }
9134fi
9135
9136
9137fi
9138if test -z "$ac_cv_prog_NMEDIT"; then
9139  ac_ct_NMEDIT=$NMEDIT
9140  # Extract the first word of "nmedit", so it can be a program name with args.
9141set dummy nmedit; ac_word=$2
9142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9143$as_echo_n "checking for $ac_word... " >&6; }
9144if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9145  $as_echo_n "(cached) " >&6
9146else
9147  if test -n "$ac_ct_NMEDIT"; then
9148  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9149else
9150as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9151for as_dir in $PATH
9152do
9153  IFS=$as_save_IFS
9154  test -z "$as_dir" && as_dir=.
9155    for ac_exec_ext in '' $ac_executable_extensions; do
9156  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9157    ac_cv_prog_ac_ct_NMEDIT="nmedit"
9158    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9159    break 2
9160  fi
9161done
9162  done
9163IFS=$as_save_IFS
9164
9165fi
9166fi
9167ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9168if test -n "$ac_ct_NMEDIT"; then
9169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9170$as_echo "$ac_ct_NMEDIT" >&6; }
9171else
9172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9173$as_echo "no" >&6; }
9174fi
9175
9176  if test "x$ac_ct_NMEDIT" = x; then
9177    NMEDIT=":"
9178  else
9179    case $cross_compiling:$ac_tool_warned in
9180yes:)
9181{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9182$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9183ac_tool_warned=yes ;;
9184esac
9185    NMEDIT=$ac_ct_NMEDIT
9186  fi
9187else
9188  NMEDIT="$ac_cv_prog_NMEDIT"
9189fi
9190
9191    if test -n "$ac_tool_prefix"; then
9192  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9193set dummy ${ac_tool_prefix}lipo; ac_word=$2
9194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9195$as_echo_n "checking for $ac_word... " >&6; }
9196if ${ac_cv_prog_LIPO+:} false; then :
9197  $as_echo_n "(cached) " >&6
9198else
9199  if test -n "$LIPO"; then
9200  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9201else
9202as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9203for as_dir in $PATH
9204do
9205  IFS=$as_save_IFS
9206  test -z "$as_dir" && as_dir=.
9207    for ac_exec_ext in '' $ac_executable_extensions; do
9208  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9209    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9210    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9211    break 2
9212  fi
9213done
9214  done
9215IFS=$as_save_IFS
9216
9217fi
9218fi
9219LIPO=$ac_cv_prog_LIPO
9220if test -n "$LIPO"; then
9221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9222$as_echo "$LIPO" >&6; }
9223else
9224  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9225$as_echo "no" >&6; }
9226fi
9227
9228
9229fi
9230if test -z "$ac_cv_prog_LIPO"; then
9231  ac_ct_LIPO=$LIPO
9232  # Extract the first word of "lipo", so it can be a program name with args.
9233set dummy lipo; ac_word=$2
9234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9235$as_echo_n "checking for $ac_word... " >&6; }
9236if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9237  $as_echo_n "(cached) " >&6
9238else
9239  if test -n "$ac_ct_LIPO"; then
9240  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9241else
9242as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9243for as_dir in $PATH
9244do
9245  IFS=$as_save_IFS
9246  test -z "$as_dir" && as_dir=.
9247    for ac_exec_ext in '' $ac_executable_extensions; do
9248  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9249    ac_cv_prog_ac_ct_LIPO="lipo"
9250    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9251    break 2
9252  fi
9253done
9254  done
9255IFS=$as_save_IFS
9256
9257fi
9258fi
9259ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9260if test -n "$ac_ct_LIPO"; then
9261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9262$as_echo "$ac_ct_LIPO" >&6; }
9263else
9264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9265$as_echo "no" >&6; }
9266fi
9267
9268  if test "x$ac_ct_LIPO" = x; then
9269    LIPO=":"
9270  else
9271    case $cross_compiling:$ac_tool_warned in
9272yes:)
9273{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9274$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9275ac_tool_warned=yes ;;
9276esac
9277    LIPO=$ac_ct_LIPO
9278  fi
9279else
9280  LIPO="$ac_cv_prog_LIPO"
9281fi
9282
9283    if test -n "$ac_tool_prefix"; then
9284  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9285set dummy ${ac_tool_prefix}otool; ac_word=$2
9286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9287$as_echo_n "checking for $ac_word... " >&6; }
9288if ${ac_cv_prog_OTOOL+:} false; then :
9289  $as_echo_n "(cached) " >&6
9290else
9291  if test -n "$OTOOL"; then
9292  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9293else
9294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9295for as_dir in $PATH
9296do
9297  IFS=$as_save_IFS
9298  test -z "$as_dir" && as_dir=.
9299    for ac_exec_ext in '' $ac_executable_extensions; do
9300  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9301    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9302    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9303    break 2
9304  fi
9305done
9306  done
9307IFS=$as_save_IFS
9308
9309fi
9310fi
9311OTOOL=$ac_cv_prog_OTOOL
9312if test -n "$OTOOL"; then
9313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9314$as_echo "$OTOOL" >&6; }
9315else
9316  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9317$as_echo "no" >&6; }
9318fi
9319
9320
9321fi
9322if test -z "$ac_cv_prog_OTOOL"; then
9323  ac_ct_OTOOL=$OTOOL
9324  # Extract the first word of "otool", so it can be a program name with args.
9325set dummy otool; ac_word=$2
9326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9327$as_echo_n "checking for $ac_word... " >&6; }
9328if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9329  $as_echo_n "(cached) " >&6
9330else
9331  if test -n "$ac_ct_OTOOL"; then
9332  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9333else
9334as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9335for as_dir in $PATH
9336do
9337  IFS=$as_save_IFS
9338  test -z "$as_dir" && as_dir=.
9339    for ac_exec_ext in '' $ac_executable_extensions; do
9340  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9341    ac_cv_prog_ac_ct_OTOOL="otool"
9342    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9343    break 2
9344  fi
9345done
9346  done
9347IFS=$as_save_IFS
9348
9349fi
9350fi
9351ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9352if test -n "$ac_ct_OTOOL"; then
9353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9354$as_echo "$ac_ct_OTOOL" >&6; }
9355else
9356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9357$as_echo "no" >&6; }
9358fi
9359
9360  if test "x$ac_ct_OTOOL" = x; then
9361    OTOOL=":"
9362  else
9363    case $cross_compiling:$ac_tool_warned in
9364yes:)
9365{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9366$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9367ac_tool_warned=yes ;;
9368esac
9369    OTOOL=$ac_ct_OTOOL
9370  fi
9371else
9372  OTOOL="$ac_cv_prog_OTOOL"
9373fi
9374
9375    if test -n "$ac_tool_prefix"; then
9376  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9377set dummy ${ac_tool_prefix}otool64; ac_word=$2
9378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9379$as_echo_n "checking for $ac_word... " >&6; }
9380if ${ac_cv_prog_OTOOL64+:} false; then :
9381  $as_echo_n "(cached) " >&6
9382else
9383  if test -n "$OTOOL64"; then
9384  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9385else
9386as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9387for as_dir in $PATH
9388do
9389  IFS=$as_save_IFS
9390  test -z "$as_dir" && as_dir=.
9391    for ac_exec_ext in '' $ac_executable_extensions; do
9392  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9393    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9394    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9395    break 2
9396  fi
9397done
9398  done
9399IFS=$as_save_IFS
9400
9401fi
9402fi
9403OTOOL64=$ac_cv_prog_OTOOL64
9404if test -n "$OTOOL64"; then
9405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9406$as_echo "$OTOOL64" >&6; }
9407else
9408  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9409$as_echo "no" >&6; }
9410fi
9411
9412
9413fi
9414if test -z "$ac_cv_prog_OTOOL64"; then
9415  ac_ct_OTOOL64=$OTOOL64
9416  # Extract the first word of "otool64", so it can be a program name with args.
9417set dummy otool64; ac_word=$2
9418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9419$as_echo_n "checking for $ac_word... " >&6; }
9420if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9421  $as_echo_n "(cached) " >&6
9422else
9423  if test -n "$ac_ct_OTOOL64"; then
9424  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9425else
9426as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9427for as_dir in $PATH
9428do
9429  IFS=$as_save_IFS
9430  test -z "$as_dir" && as_dir=.
9431    for ac_exec_ext in '' $ac_executable_extensions; do
9432  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9433    ac_cv_prog_ac_ct_OTOOL64="otool64"
9434    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9435    break 2
9436  fi
9437done
9438  done
9439IFS=$as_save_IFS
9440
9441fi
9442fi
9443ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9444if test -n "$ac_ct_OTOOL64"; then
9445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9446$as_echo "$ac_ct_OTOOL64" >&6; }
9447else
9448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9449$as_echo "no" >&6; }
9450fi
9451
9452  if test "x$ac_ct_OTOOL64" = x; then
9453    OTOOL64=":"
9454  else
9455    case $cross_compiling:$ac_tool_warned in
9456yes:)
9457{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9458$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9459ac_tool_warned=yes ;;
9460esac
9461    OTOOL64=$ac_ct_OTOOL64
9462  fi
9463else
9464  OTOOL64="$ac_cv_prog_OTOOL64"
9465fi
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9494$as_echo_n "checking for -single_module linker flag... " >&6; }
9495if ${lt_cv_apple_cc_single_mod+:} false; then :
9496  $as_echo_n "(cached) " >&6
9497else
9498  lt_cv_apple_cc_single_mod=no
9499      if test -z "$LT_MULTI_MODULE"; then
9500	# By default we will add the -single_module flag. You can override
9501	# by either setting the environment variable LT_MULTI_MODULE
9502	# non-empty at configure time, or by adding -multi_module to the
9503	# link flags.
9504	rm -rf libconftest.dylib*
9505	echo "int foo(void){return 1;}" > conftest.c
9506	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9507-dynamiclib -Wl,-single_module conftest.c" >&5
9508	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9509	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9510        _lt_result=$?
9511	# If there is a non-empty error log, and "single_module"
9512	# appears in it, assume the flag caused a linker warning
9513        if test -s conftest.err && $GREP single_module conftest.err; then
9514	  cat conftest.err >&5
9515	# Otherwise, if the output was created with a 0 exit code from
9516	# the compiler, it worked.
9517	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9518	  lt_cv_apple_cc_single_mod=yes
9519	else
9520	  cat conftest.err >&5
9521	fi
9522	rm -rf libconftest.dylib*
9523	rm -f conftest.*
9524      fi
9525fi
9526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9527$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9528
9529    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9530$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9531if ${lt_cv_ld_exported_symbols_list+:} false; then :
9532  $as_echo_n "(cached) " >&6
9533else
9534  lt_cv_ld_exported_symbols_list=no
9535      save_LDFLAGS=$LDFLAGS
9536      echo "_main" > conftest.sym
9537      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9538      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9539/* end confdefs.h.  */
9540
9541int
9542main ()
9543{
9544
9545  ;
9546  return 0;
9547}
9548_ACEOF
9549if ac_fn_c_try_link "$LINENO"; then :
9550  lt_cv_ld_exported_symbols_list=yes
9551else
9552  lt_cv_ld_exported_symbols_list=no
9553fi
9554rm -f core conftest.err conftest.$ac_objext \
9555    conftest$ac_exeext conftest.$ac_ext
9556	LDFLAGS=$save_LDFLAGS
9557
9558fi
9559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9560$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9561
9562    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9563$as_echo_n "checking for -force_load linker flag... " >&6; }
9564if ${lt_cv_ld_force_load+:} false; then :
9565  $as_echo_n "(cached) " >&6
9566else
9567  lt_cv_ld_force_load=no
9568      cat > conftest.c << _LT_EOF
9569int forced_loaded() { return 2;}
9570_LT_EOF
9571      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9572      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9573      echo "$AR cru libconftest.a conftest.o" >&5
9574      $AR cru libconftest.a conftest.o 2>&5
9575      echo "$RANLIB libconftest.a" >&5
9576      $RANLIB libconftest.a 2>&5
9577      cat > conftest.c << _LT_EOF
9578int main() { return 0;}
9579_LT_EOF
9580      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9581      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9582      _lt_result=$?
9583      if test -s conftest.err && $GREP force_load conftest.err; then
9584	cat conftest.err >&5
9585      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9586	lt_cv_ld_force_load=yes
9587      else
9588	cat conftest.err >&5
9589      fi
9590        rm -f conftest.err libconftest.a conftest conftest.c
9591        rm -rf conftest.dSYM
9592
9593fi
9594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9595$as_echo "$lt_cv_ld_force_load" >&6; }
9596    case $host_os in
9597    rhapsody* | darwin1.[012])
9598      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9599    darwin1.*)
9600      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9601    darwin*) # darwin 5.x on
9602      # if running on 10.5 or later, the deployment target defaults
9603      # to the OS version, if on x86, and 10.4, the deployment
9604      # target defaults to 10.4. Don't you love it?
9605      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9606	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9607	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9608	10.[012][,.]*)
9609	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9610	10.*)
9611	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9612      esac
9613    ;;
9614  esac
9615    if test yes = "$lt_cv_apple_cc_single_mod"; then
9616      _lt_dar_single_mod='$single_module'
9617    fi
9618    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9619      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9620    else
9621      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9622    fi
9623    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9624      _lt_dsymutil='~$DSYMUTIL $lib || :'
9625    else
9626      _lt_dsymutil=
9627    fi
9628    ;;
9629  esac
9630
9631# func_munge_path_list VARIABLE PATH
9632# -----------------------------------
9633# VARIABLE is name of variable containing _space_ separated list of
9634# directories to be munged by the contents of PATH, which is string
9635# having a format:
9636# "DIR[:DIR]:"
9637#       string "DIR[ DIR]" will be prepended to VARIABLE
9638# ":DIR[:DIR]"
9639#       string "DIR[ DIR]" will be appended to VARIABLE
9640# "DIRP[:DIRP]::[DIRA:]DIRA"
9641#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9642#       "DIRA[ DIRA]" will be appended to VARIABLE
9643# "DIR[:DIR]"
9644#       VARIABLE will be replaced by "DIR[ DIR]"
9645func_munge_path_list ()
9646{
9647    case x$2 in
9648    x)
9649        ;;
9650    *:)
9651        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9652        ;;
9653    x:*)
9654        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9655        ;;
9656    *::*)
9657        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9658        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9659        ;;
9660    *)
9661        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9662        ;;
9663    esac
9664}
9665
9666for ac_header in dlfcn.h
9667do :
9668  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9669"
9670if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9671  cat >>confdefs.h <<_ACEOF
9672#define HAVE_DLFCN_H 1
9673_ACEOF
9674
9675fi
9676
9677done
9678
9679
9680
9681
9682func_stripname_cnf ()
9683{
9684  case $2 in
9685  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9686  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9687  esac
9688} # func_stripname_cnf
9689
9690
9691
9692
9693
9694# Set options
9695
9696
9697
9698        enable_dlopen=no
9699
9700
9701  enable_win32_dll=no
9702
9703
9704            # Check whether --enable-shared was given.
9705if test "${enable_shared+set}" = set; then :
9706  enableval=$enable_shared; p=${PACKAGE-default}
9707    case $enableval in
9708    yes) enable_shared=yes ;;
9709    no) enable_shared=no ;;
9710    *)
9711      enable_shared=no
9712      # Look at the argument we got.  We use all the common list separators.
9713      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9714      for pkg in $enableval; do
9715	IFS=$lt_save_ifs
9716	if test "X$pkg" = "X$p"; then
9717	  enable_shared=yes
9718	fi
9719      done
9720      IFS=$lt_save_ifs
9721      ;;
9722    esac
9723else
9724  enable_shared=yes
9725fi
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735  # Check whether --enable-static was given.
9736if test "${enable_static+set}" = set; then :
9737  enableval=$enable_static; p=${PACKAGE-default}
9738    case $enableval in
9739    yes) enable_static=yes ;;
9740    no) enable_static=no ;;
9741    *)
9742     enable_static=no
9743      # Look at the argument we got.  We use all the common list separators.
9744      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9745      for pkg in $enableval; do
9746	IFS=$lt_save_ifs
9747	if test "X$pkg" = "X$p"; then
9748	  enable_static=yes
9749	fi
9750      done
9751      IFS=$lt_save_ifs
9752      ;;
9753    esac
9754else
9755  enable_static=yes
9756fi
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767# Check whether --with-pic was given.
9768if test "${with_pic+set}" = set; then :
9769  withval=$with_pic; lt_p=${PACKAGE-default}
9770    case $withval in
9771    yes|no) pic_mode=$withval ;;
9772    *)
9773      pic_mode=default
9774      # Look at the argument we got.  We use all the common list separators.
9775      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9776      for lt_pkg in $withval; do
9777	IFS=$lt_save_ifs
9778	if test "X$lt_pkg" = "X$lt_p"; then
9779	  pic_mode=yes
9780	fi
9781      done
9782      IFS=$lt_save_ifs
9783      ;;
9784    esac
9785else
9786  pic_mode=default
9787fi
9788
9789
9790
9791
9792
9793
9794
9795
9796  # Check whether --enable-fast-install was given.
9797if test "${enable_fast_install+set}" = set; then :
9798  enableval=$enable_fast_install; p=${PACKAGE-default}
9799    case $enableval in
9800    yes) enable_fast_install=yes ;;
9801    no) enable_fast_install=no ;;
9802    *)
9803      enable_fast_install=no
9804      # Look at the argument we got.  We use all the common list separators.
9805      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9806      for pkg in $enableval; do
9807	IFS=$lt_save_ifs
9808	if test "X$pkg" = "X$p"; then
9809	  enable_fast_install=yes
9810	fi
9811      done
9812      IFS=$lt_save_ifs
9813      ;;
9814    esac
9815else
9816  enable_fast_install=yes
9817fi
9818
9819
9820
9821
9822
9823
9824
9825
9826  shared_archive_member_spec=
9827case $host,$enable_shared in
9828power*-*-aix[5-9]*,yes)
9829  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9830$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9831
9832# Check whether --with-aix-soname was given.
9833if test "${with_aix_soname+set}" = set; then :
9834  withval=$with_aix_soname; case $withval in
9835    aix|svr4|both)
9836      ;;
9837    *)
9838      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9839      ;;
9840    esac
9841    lt_cv_with_aix_soname=$with_aix_soname
9842else
9843  if ${lt_cv_with_aix_soname+:} false; then :
9844  $as_echo_n "(cached) " >&6
9845else
9846  lt_cv_with_aix_soname=aix
9847fi
9848
9849    with_aix_soname=$lt_cv_with_aix_soname
9850fi
9851
9852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9853$as_echo "$with_aix_soname" >&6; }
9854  if test aix != "$with_aix_soname"; then
9855    # For the AIX way of multilib, we name the shared archive member
9856    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9857    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9858    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9859    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9860    if test 64 = "${OBJECT_MODE-32}"; then
9861      shared_archive_member_spec=shr_64
9862    else
9863      shared_archive_member_spec=shr
9864    fi
9865  fi
9866  ;;
9867*)
9868  with_aix_soname=aix
9869  ;;
9870esac
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881# This can be used to rebuild libtool when needed
9882LIBTOOL_DEPS=$ltmain
9883
9884# Always use our own libtool.
9885LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916test -z "$LN_S" && LN_S="ln -s"
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931if test -n "${ZSH_VERSION+set}"; then
9932   setopt NO_GLOB_SUBST
9933fi
9934
9935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9936$as_echo_n "checking for objdir... " >&6; }
9937if ${lt_cv_objdir+:} false; then :
9938  $as_echo_n "(cached) " >&6
9939else
9940  rm -f .libs 2>/dev/null
9941mkdir .libs 2>/dev/null
9942if test -d .libs; then
9943  lt_cv_objdir=.libs
9944else
9945  # MS-DOS does not allow filenames that begin with a dot.
9946  lt_cv_objdir=_libs
9947fi
9948rmdir .libs 2>/dev/null
9949fi
9950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9951$as_echo "$lt_cv_objdir" >&6; }
9952objdir=$lt_cv_objdir
9953
9954
9955
9956
9957
9958cat >>confdefs.h <<_ACEOF
9959#define LT_OBJDIR "$lt_cv_objdir/"
9960_ACEOF
9961
9962
9963
9964
9965case $host_os in
9966aix3*)
9967  # AIX sometimes has problems with the GCC collect2 program.  For some
9968  # reason, if we set the COLLECT_NAMES environment variable, the problems
9969  # vanish in a puff of smoke.
9970  if test set != "${COLLECT_NAMES+set}"; then
9971    COLLECT_NAMES=
9972    export COLLECT_NAMES
9973  fi
9974  ;;
9975esac
9976
9977# Global variables:
9978ofile=libtool
9979can_build_shared=yes
9980
9981# All known linkers require a '.a' archive for static linking (except MSVC,
9982# which needs '.lib').
9983libext=a
9984
9985with_gnu_ld=$lt_cv_prog_gnu_ld
9986
9987old_CC=$CC
9988old_CFLAGS=$CFLAGS
9989
9990# Set sane defaults for various variables
9991test -z "$CC" && CC=cc
9992test -z "$LTCC" && LTCC=$CC
9993test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9994test -z "$LD" && LD=ld
9995test -z "$ac_objext" && ac_objext=o
9996
9997func_cc_basename $compiler
9998cc_basename=$func_cc_basename_result
9999
10000
10001# Only perform the check for file, if the check method requires it
10002test -z "$MAGIC_CMD" && MAGIC_CMD=file
10003case $deplibs_check_method in
10004file_magic*)
10005  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10006    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10007$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10008if ${lt_cv_path_MAGIC_CMD+:} false; then :
10009  $as_echo_n "(cached) " >&6
10010else
10011  case $MAGIC_CMD in
10012[\\/*] |  ?:[\\/]*)
10013  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10014  ;;
10015*)
10016  lt_save_MAGIC_CMD=$MAGIC_CMD
10017  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10018  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10019  for ac_dir in $ac_dummy; do
10020    IFS=$lt_save_ifs
10021    test -z "$ac_dir" && ac_dir=.
10022    if test -f "$ac_dir/${ac_tool_prefix}file"; then
10023      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10024      if test -n "$file_magic_test_file"; then
10025	case $deplibs_check_method in
10026	"file_magic "*)
10027	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10028	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10029	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10030	    $EGREP "$file_magic_regex" > /dev/null; then
10031	    :
10032	  else
10033	    cat <<_LT_EOF 1>&2
10034
10035*** Warning: the command libtool uses to detect shared libraries,
10036*** $file_magic_cmd, produces output that libtool cannot recognize.
10037*** The result is that libtool may fail to recognize shared libraries
10038*** as such.  This will affect the creation of libtool libraries that
10039*** depend on shared libraries, but programs linked with such libtool
10040*** libraries will work regardless of this problem.  Nevertheless, you
10041*** may want to report the problem to your system manager and/or to
10042*** bug-libtool@gnu.org
10043
10044_LT_EOF
10045	  fi ;;
10046	esac
10047      fi
10048      break
10049    fi
10050  done
10051  IFS=$lt_save_ifs
10052  MAGIC_CMD=$lt_save_MAGIC_CMD
10053  ;;
10054esac
10055fi
10056
10057MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10058if test -n "$MAGIC_CMD"; then
10059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10060$as_echo "$MAGIC_CMD" >&6; }
10061else
10062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10063$as_echo "no" >&6; }
10064fi
10065
10066
10067
10068
10069
10070if test -z "$lt_cv_path_MAGIC_CMD"; then
10071  if test -n "$ac_tool_prefix"; then
10072    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10073$as_echo_n "checking for file... " >&6; }
10074if ${lt_cv_path_MAGIC_CMD+:} false; then :
10075  $as_echo_n "(cached) " >&6
10076else
10077  case $MAGIC_CMD in
10078[\\/*] |  ?:[\\/]*)
10079  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10080  ;;
10081*)
10082  lt_save_MAGIC_CMD=$MAGIC_CMD
10083  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10084  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10085  for ac_dir in $ac_dummy; do
10086    IFS=$lt_save_ifs
10087    test -z "$ac_dir" && ac_dir=.
10088    if test -f "$ac_dir/file"; then
10089      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10090      if test -n "$file_magic_test_file"; then
10091	case $deplibs_check_method in
10092	"file_magic "*)
10093	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10094	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10095	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10096	    $EGREP "$file_magic_regex" > /dev/null; then
10097	    :
10098	  else
10099	    cat <<_LT_EOF 1>&2
10100
10101*** Warning: the command libtool uses to detect shared libraries,
10102*** $file_magic_cmd, produces output that libtool cannot recognize.
10103*** The result is that libtool may fail to recognize shared libraries
10104*** as such.  This will affect the creation of libtool libraries that
10105*** depend on shared libraries, but programs linked with such libtool
10106*** libraries will work regardless of this problem.  Nevertheless, you
10107*** may want to report the problem to your system manager and/or to
10108*** bug-libtool@gnu.org
10109
10110_LT_EOF
10111	  fi ;;
10112	esac
10113      fi
10114      break
10115    fi
10116  done
10117  IFS=$lt_save_ifs
10118  MAGIC_CMD=$lt_save_MAGIC_CMD
10119  ;;
10120esac
10121fi
10122
10123MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10124if test -n "$MAGIC_CMD"; then
10125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10126$as_echo "$MAGIC_CMD" >&6; }
10127else
10128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10129$as_echo "no" >&6; }
10130fi
10131
10132
10133  else
10134    MAGIC_CMD=:
10135  fi
10136fi
10137
10138  fi
10139  ;;
10140esac
10141
10142# Use C for the default configuration in the libtool script
10143
10144lt_save_CC=$CC
10145ac_ext=c
10146ac_cpp='$CPP $CPPFLAGS'
10147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10149ac_compiler_gnu=$ac_cv_c_compiler_gnu
10150
10151
10152# Source file extension for C test sources.
10153ac_ext=c
10154
10155# Object file extension for compiled C test sources.
10156objext=o
10157objext=$objext
10158
10159# Code to be used in simple compile tests
10160lt_simple_compile_test_code="int some_variable = 0;"
10161
10162# Code to be used in simple link tests
10163lt_simple_link_test_code='int main(){return(0);}'
10164
10165
10166
10167
10168
10169
10170
10171# If no C compiler was specified, use CC.
10172LTCC=${LTCC-"$CC"}
10173
10174# If no C compiler flags were specified, use CFLAGS.
10175LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10176
10177# Allow CC to be a program name with arguments.
10178compiler=$CC
10179
10180# Save the default compiler, since it gets overwritten when the other
10181# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10182compiler_DEFAULT=$CC
10183
10184# save warnings/boilerplate of simple test code
10185ac_outfile=conftest.$ac_objext
10186echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10187eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10188_lt_compiler_boilerplate=`cat conftest.err`
10189$RM conftest*
10190
10191ac_outfile=conftest.$ac_objext
10192echo "$lt_simple_link_test_code" >conftest.$ac_ext
10193eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10194_lt_linker_boilerplate=`cat conftest.err`
10195$RM -r conftest*
10196
10197
10198## CAVEAT EMPTOR:
10199## There is no encapsulation within the following macros, do not change
10200## the running order or otherwise move them around unless you know exactly
10201## what you are doing...
10202if test -n "$compiler"; then
10203
10204lt_prog_compiler_no_builtin_flag=
10205
10206if test yes = "$GCC"; then
10207  case $cc_basename in
10208  nvcc*)
10209    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10210  *)
10211    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10212  esac
10213
10214  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10215$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10216if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10217  $as_echo_n "(cached) " >&6
10218else
10219  lt_cv_prog_compiler_rtti_exceptions=no
10220   ac_outfile=conftest.$ac_objext
10221   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10222   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
10223   # Insert the option either (1) after the last *FLAGS variable, or
10224   # (2) before a word containing "conftest.", or (3) at the end.
10225   # Note that $ac_compile itself does not contain backslashes and begins
10226   # with a dollar sign (not a hyphen), so the echo should work correctly.
10227   # The option is referenced via a variable to avoid confusing sed.
10228   lt_compile=`echo "$ac_compile" | $SED \
10229   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10230   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10231   -e 's:$: $lt_compiler_flag:'`
10232   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10233   (eval "$lt_compile" 2>conftest.err)
10234   ac_status=$?
10235   cat conftest.err >&5
10236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10237   if (exit $ac_status) && test -s "$ac_outfile"; then
10238     # The compiler can only warn and ignore the option if not recognized
10239     # So say no if there are warnings other than the usual output.
10240     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10241     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10242     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10243       lt_cv_prog_compiler_rtti_exceptions=yes
10244     fi
10245   fi
10246   $RM conftest*
10247
10248fi
10249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10250$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10251
10252if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10253    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10254else
10255    :
10256fi
10257
10258fi
10259
10260
10261
10262
10263
10264
10265  lt_prog_compiler_wl=
10266lt_prog_compiler_pic=
10267lt_prog_compiler_static=
10268
10269
10270  if test yes = "$GCC"; then
10271    lt_prog_compiler_wl='-Wl,'
10272    lt_prog_compiler_static='-static'
10273
10274    case $host_os in
10275      aix*)
10276      # All AIX code is PIC.
10277      if test ia64 = "$host_cpu"; then
10278	# AIX 5 now supports IA64 processor
10279	lt_prog_compiler_static='-Bstatic'
10280      fi
10281      lt_prog_compiler_pic='-fPIC'
10282      ;;
10283
10284    amigaos*)
10285      case $host_cpu in
10286      powerpc)
10287            # see comment about AmigaOS4 .so support
10288            lt_prog_compiler_pic='-fPIC'
10289        ;;
10290      m68k)
10291            # FIXME: we need at least 68020 code to build shared libraries, but
10292            # adding the '-m68020' flag to GCC prevents building anything better,
10293            # like '-m68040'.
10294            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10295        ;;
10296      esac
10297      ;;
10298
10299    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10300      # PIC is the default for these OSes.
10301      ;;
10302
10303    mingw* | cygwin* | pw32* | os2* | cegcc*)
10304      # This hack is so that the source file can tell whether it is being
10305      # built for inclusion in a dll (and should export symbols for example).
10306      # Although the cygwin gcc ignores -fPIC, still need this for old-style
10307      # (--disable-auto-import) libraries
10308      lt_prog_compiler_pic='-DDLL_EXPORT'
10309      case $host_os in
10310      os2*)
10311	lt_prog_compiler_static='$wl-static'
10312	;;
10313      esac
10314      ;;
10315
10316    darwin* | rhapsody*)
10317      # PIC is the default on this platform
10318      # Common symbols not allowed in MH_DYLIB files
10319      lt_prog_compiler_pic='-fno-common'
10320      ;;
10321
10322    haiku*)
10323      # PIC is the default for Haiku.
10324      # The "-static" flag exists, but is broken.
10325      lt_prog_compiler_static=
10326      ;;
10327
10328    hpux*)
10329      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10330      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10331      # sets the default TLS model and affects inlining.
10332      case $host_cpu in
10333      hppa*64*)
10334	# +Z the default
10335	;;
10336      *)
10337	lt_prog_compiler_pic='-fPIC'
10338	;;
10339      esac
10340      ;;
10341
10342    interix[3-9]*)
10343      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10344      # Instead, we relocate shared libraries at runtime.
10345      ;;
10346
10347    msdosdjgpp*)
10348      # Just because we use GCC doesn't mean we suddenly get shared libraries
10349      # on systems that don't support them.
10350      lt_prog_compiler_can_build_shared=no
10351      enable_shared=no
10352      ;;
10353
10354    *nto* | *qnx*)
10355      # QNX uses GNU C++, but need to define -shared option too, otherwise
10356      # it will coredump.
10357      lt_prog_compiler_pic='-fPIC -shared'
10358      ;;
10359
10360    sysv4*MP*)
10361      if test -d /usr/nec; then
10362	lt_prog_compiler_pic=-Kconform_pic
10363      fi
10364      ;;
10365
10366    *)
10367      lt_prog_compiler_pic='-fPIC'
10368      ;;
10369    esac
10370
10371    case $cc_basename in
10372    nvcc*) # Cuda Compiler Driver 2.2
10373      lt_prog_compiler_wl='-Xlinker '
10374      if test -n "$lt_prog_compiler_pic"; then
10375        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10376      fi
10377      ;;
10378    esac
10379  else
10380    # PORTME Check for flag to pass linker flags through the system compiler.
10381    case $host_os in
10382    aix*)
10383      lt_prog_compiler_wl='-Wl,'
10384      if test ia64 = "$host_cpu"; then
10385	# AIX 5 now supports IA64 processor
10386	lt_prog_compiler_static='-Bstatic'
10387      else
10388	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10389      fi
10390      ;;
10391
10392    darwin* | rhapsody*)
10393      # PIC is the default on this platform
10394      # Common symbols not allowed in MH_DYLIB files
10395      lt_prog_compiler_pic='-fno-common'
10396      case $cc_basename in
10397      nagfor*)
10398        # NAG Fortran compiler
10399        lt_prog_compiler_wl='-Wl,-Wl,,'
10400        lt_prog_compiler_pic='-PIC'
10401        lt_prog_compiler_static='-Bstatic'
10402        ;;
10403      esac
10404      ;;
10405
10406    mingw* | cygwin* | pw32* | os2* | cegcc*)
10407      # This hack is so that the source file can tell whether it is being
10408      # built for inclusion in a dll (and should export symbols for example).
10409      lt_prog_compiler_pic='-DDLL_EXPORT'
10410      case $host_os in
10411      os2*)
10412	lt_prog_compiler_static='$wl-static'
10413	;;
10414      esac
10415      ;;
10416
10417    hpux9* | hpux10* | hpux11*)
10418      lt_prog_compiler_wl='-Wl,'
10419      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10420      # not for PA HP-UX.
10421      case $host_cpu in
10422      hppa*64*|ia64*)
10423	# +Z the default
10424	;;
10425      *)
10426	lt_prog_compiler_pic='+Z'
10427	;;
10428      esac
10429      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10430      lt_prog_compiler_static='$wl-a ${wl}archive'
10431      ;;
10432
10433    irix5* | irix6* | nonstopux*)
10434      lt_prog_compiler_wl='-Wl,'
10435      # PIC (with -KPIC) is the default.
10436      lt_prog_compiler_static='-non_shared'
10437      ;;
10438
10439    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10440      case $cc_basename in
10441      # old Intel for x86_64, which still supported -KPIC.
10442      ecc*)
10443	lt_prog_compiler_wl='-Wl,'
10444	lt_prog_compiler_pic='-KPIC'
10445	lt_prog_compiler_static='-static'
10446        ;;
10447      # icc used to be incompatible with GCC.
10448      # ICC 10 doesn't accept -KPIC any more.
10449      icc* | ifort*)
10450	lt_prog_compiler_wl='-Wl,'
10451	lt_prog_compiler_pic='-fPIC'
10452	lt_prog_compiler_static='-static'
10453        ;;
10454      # Lahey Fortran 8.1.
10455      lf95*)
10456	lt_prog_compiler_wl='-Wl,'
10457	lt_prog_compiler_pic='--shared'
10458	lt_prog_compiler_static='--static'
10459	;;
10460      nagfor*)
10461	# NAG Fortran compiler
10462	lt_prog_compiler_wl='-Wl,-Wl,,'
10463	lt_prog_compiler_pic='-PIC'
10464	lt_prog_compiler_static='-Bstatic'
10465	;;
10466      tcc*)
10467	# Fabrice Bellard et al's Tiny C Compiler
10468	lt_prog_compiler_wl='-Wl,'
10469	lt_prog_compiler_pic='-fPIC'
10470	lt_prog_compiler_static='-static'
10471	;;
10472      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10473        # Portland Group compilers (*not* the Pentium gcc compiler,
10474	# which looks to be a dead project)
10475	lt_prog_compiler_wl='-Wl,'
10476	lt_prog_compiler_pic='-fpic'
10477	lt_prog_compiler_static='-Bstatic'
10478        ;;
10479      ccc*)
10480        lt_prog_compiler_wl='-Wl,'
10481        # All Alpha code is PIC.
10482        lt_prog_compiler_static='-non_shared'
10483        ;;
10484      xl* | bgxl* | bgf* | mpixl*)
10485	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10486	lt_prog_compiler_wl='-Wl,'
10487	lt_prog_compiler_pic='-qpic'
10488	lt_prog_compiler_static='-qstaticlink'
10489	;;
10490      *)
10491	case `$CC -V 2>&1 | sed 5q` in
10492	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10493	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10494	  lt_prog_compiler_pic='-KPIC'
10495	  lt_prog_compiler_static='-Bstatic'
10496	  lt_prog_compiler_wl=''
10497	  ;;
10498	*Sun\ F* | *Sun*Fortran*)
10499	  lt_prog_compiler_pic='-KPIC'
10500	  lt_prog_compiler_static='-Bstatic'
10501	  lt_prog_compiler_wl='-Qoption ld '
10502	  ;;
10503	*Sun\ C*)
10504	  # Sun C 5.9
10505	  lt_prog_compiler_pic='-KPIC'
10506	  lt_prog_compiler_static='-Bstatic'
10507	  lt_prog_compiler_wl='-Wl,'
10508	  ;;
10509        *Intel*\ [CF]*Compiler*)
10510	  lt_prog_compiler_wl='-Wl,'
10511	  lt_prog_compiler_pic='-fPIC'
10512	  lt_prog_compiler_static='-static'
10513	  ;;
10514	*Portland\ Group*)
10515	  lt_prog_compiler_wl='-Wl,'
10516	  lt_prog_compiler_pic='-fpic'
10517	  lt_prog_compiler_static='-Bstatic'
10518	  ;;
10519	esac
10520	;;
10521      esac
10522      ;;
10523
10524    newsos6)
10525      lt_prog_compiler_pic='-KPIC'
10526      lt_prog_compiler_static='-Bstatic'
10527      ;;
10528
10529    *nto* | *qnx*)
10530      # QNX uses GNU C++, but need to define -shared option too, otherwise
10531      # it will coredump.
10532      lt_prog_compiler_pic='-fPIC -shared'
10533      ;;
10534
10535    osf3* | osf4* | osf5*)
10536      lt_prog_compiler_wl='-Wl,'
10537      # All OSF/1 code is PIC.
10538      lt_prog_compiler_static='-non_shared'
10539      ;;
10540
10541    rdos*)
10542      lt_prog_compiler_static='-non_shared'
10543      ;;
10544
10545    solaris*)
10546      lt_prog_compiler_pic='-KPIC'
10547      lt_prog_compiler_static='-Bstatic'
10548      case $cc_basename in
10549      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10550	lt_prog_compiler_wl='-Qoption ld ';;
10551      *)
10552	lt_prog_compiler_wl='-Wl,';;
10553      esac
10554      ;;
10555
10556    sunos4*)
10557      lt_prog_compiler_wl='-Qoption ld '
10558      lt_prog_compiler_pic='-PIC'
10559      lt_prog_compiler_static='-Bstatic'
10560      ;;
10561
10562    sysv4 | sysv4.2uw2* | sysv4.3*)
10563      lt_prog_compiler_wl='-Wl,'
10564      lt_prog_compiler_pic='-KPIC'
10565      lt_prog_compiler_static='-Bstatic'
10566      ;;
10567
10568    sysv4*MP*)
10569      if test -d /usr/nec; then
10570	lt_prog_compiler_pic='-Kconform_pic'
10571	lt_prog_compiler_static='-Bstatic'
10572      fi
10573      ;;
10574
10575    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10576      lt_prog_compiler_wl='-Wl,'
10577      lt_prog_compiler_pic='-KPIC'
10578      lt_prog_compiler_static='-Bstatic'
10579      ;;
10580
10581    unicos*)
10582      lt_prog_compiler_wl='-Wl,'
10583      lt_prog_compiler_can_build_shared=no
10584      ;;
10585
10586    uts4*)
10587      lt_prog_compiler_pic='-pic'
10588      lt_prog_compiler_static='-Bstatic'
10589      ;;
10590
10591    *)
10592      lt_prog_compiler_can_build_shared=no
10593      ;;
10594    esac
10595  fi
10596
10597case $host_os in
10598  # For platforms that do not support PIC, -DPIC is meaningless:
10599  *djgpp*)
10600    lt_prog_compiler_pic=
10601    ;;
10602  *)
10603    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10604    ;;
10605esac
10606
10607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10608$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10609if ${lt_cv_prog_compiler_pic+:} false; then :
10610  $as_echo_n "(cached) " >&6
10611else
10612  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10613fi
10614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10615$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10616lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10617
10618#
10619# Check to make sure the PIC flag actually works.
10620#
10621if test -n "$lt_prog_compiler_pic"; then
10622  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10623$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10624if ${lt_cv_prog_compiler_pic_works+:} false; then :
10625  $as_echo_n "(cached) " >&6
10626else
10627  lt_cv_prog_compiler_pic_works=no
10628   ac_outfile=conftest.$ac_objext
10629   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10630   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10631   # Insert the option either (1) after the last *FLAGS variable, or
10632   # (2) before a word containing "conftest.", or (3) at the end.
10633   # Note that $ac_compile itself does not contain backslashes and begins
10634   # with a dollar sign (not a hyphen), so the echo should work correctly.
10635   # The option is referenced via a variable to avoid confusing sed.
10636   lt_compile=`echo "$ac_compile" | $SED \
10637   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10638   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10639   -e 's:$: $lt_compiler_flag:'`
10640   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10641   (eval "$lt_compile" 2>conftest.err)
10642   ac_status=$?
10643   cat conftest.err >&5
10644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645   if (exit $ac_status) && test -s "$ac_outfile"; then
10646     # The compiler can only warn and ignore the option if not recognized
10647     # So say no if there are warnings other than the usual output.
10648     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10649     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10650     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10651       lt_cv_prog_compiler_pic_works=yes
10652     fi
10653   fi
10654   $RM conftest*
10655
10656fi
10657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10658$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10659
10660if test yes = "$lt_cv_prog_compiler_pic_works"; then
10661    case $lt_prog_compiler_pic in
10662     "" | " "*) ;;
10663     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10664     esac
10665else
10666    lt_prog_compiler_pic=
10667     lt_prog_compiler_can_build_shared=no
10668fi
10669
10670fi
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682#
10683# Check to make sure the static flag actually works.
10684#
10685wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10687$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10688if ${lt_cv_prog_compiler_static_works+:} false; then :
10689  $as_echo_n "(cached) " >&6
10690else
10691  lt_cv_prog_compiler_static_works=no
10692   save_LDFLAGS=$LDFLAGS
10693   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10694   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10695   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10696     # The linker can only warn and ignore the option if not recognized
10697     # So say no if there are warnings
10698     if test -s conftest.err; then
10699       # Append any errors to the config.log.
10700       cat conftest.err 1>&5
10701       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10702       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10703       if diff conftest.exp conftest.er2 >/dev/null; then
10704         lt_cv_prog_compiler_static_works=yes
10705       fi
10706     else
10707       lt_cv_prog_compiler_static_works=yes
10708     fi
10709   fi
10710   $RM -r conftest*
10711   LDFLAGS=$save_LDFLAGS
10712
10713fi
10714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10715$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10716
10717if test yes = "$lt_cv_prog_compiler_static_works"; then
10718    :
10719else
10720    lt_prog_compiler_static=
10721fi
10722
10723
10724
10725
10726
10727
10728
10729  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10730$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10731if ${lt_cv_prog_compiler_c_o+:} false; then :
10732  $as_echo_n "(cached) " >&6
10733else
10734  lt_cv_prog_compiler_c_o=no
10735   $RM -r conftest 2>/dev/null
10736   mkdir conftest
10737   cd conftest
10738   mkdir out
10739   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10740
10741   lt_compiler_flag="-o out/conftest2.$ac_objext"
10742   # Insert the option either (1) after the last *FLAGS variable, or
10743   # (2) before a word containing "conftest.", or (3) at the end.
10744   # Note that $ac_compile itself does not contain backslashes and begins
10745   # with a dollar sign (not a hyphen), so the echo should work correctly.
10746   lt_compile=`echo "$ac_compile" | $SED \
10747   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10748   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10749   -e 's:$: $lt_compiler_flag:'`
10750   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10751   (eval "$lt_compile" 2>out/conftest.err)
10752   ac_status=$?
10753   cat out/conftest.err >&5
10754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10756   then
10757     # The compiler can only warn and ignore the option if not recognized
10758     # So say no if there are warnings
10759     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10760     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10761     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10762       lt_cv_prog_compiler_c_o=yes
10763     fi
10764   fi
10765   chmod u+w . 2>&5
10766   $RM conftest*
10767   # SGI C++ compiler will create directory out/ii_files/ for
10768   # template instantiation
10769   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10770   $RM out/* && rmdir out
10771   cd ..
10772   $RM -r conftest
10773   $RM conftest*
10774
10775fi
10776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10777$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10778
10779
10780
10781
10782
10783
10784  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10785$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10786if ${lt_cv_prog_compiler_c_o+:} false; then :
10787  $as_echo_n "(cached) " >&6
10788else
10789  lt_cv_prog_compiler_c_o=no
10790   $RM -r conftest 2>/dev/null
10791   mkdir conftest
10792   cd conftest
10793   mkdir out
10794   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10795
10796   lt_compiler_flag="-o out/conftest2.$ac_objext"
10797   # Insert the option either (1) after the last *FLAGS variable, or
10798   # (2) before a word containing "conftest.", or (3) at the end.
10799   # Note that $ac_compile itself does not contain backslashes and begins
10800   # with a dollar sign (not a hyphen), so the echo should work correctly.
10801   lt_compile=`echo "$ac_compile" | $SED \
10802   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10803   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10804   -e 's:$: $lt_compiler_flag:'`
10805   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10806   (eval "$lt_compile" 2>out/conftest.err)
10807   ac_status=$?
10808   cat out/conftest.err >&5
10809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10811   then
10812     # The compiler can only warn and ignore the option if not recognized
10813     # So say no if there are warnings
10814     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10815     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10816     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10817       lt_cv_prog_compiler_c_o=yes
10818     fi
10819   fi
10820   chmod u+w . 2>&5
10821   $RM conftest*
10822   # SGI C++ compiler will create directory out/ii_files/ for
10823   # template instantiation
10824   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10825   $RM out/* && rmdir out
10826   cd ..
10827   $RM -r conftest
10828   $RM conftest*
10829
10830fi
10831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10832$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10833
10834
10835
10836
10837hard_links=nottested
10838if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10839  # do not overwrite the value of need_locks provided by the user
10840  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10841$as_echo_n "checking if we can lock with hard links... " >&6; }
10842  hard_links=yes
10843  $RM conftest*
10844  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10845  touch conftest.a
10846  ln conftest.a conftest.b 2>&5 || hard_links=no
10847  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10849$as_echo "$hard_links" >&6; }
10850  if test no = "$hard_links"; then
10851    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10852$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10853    need_locks=warn
10854  fi
10855else
10856  need_locks=no
10857fi
10858
10859
10860
10861
10862
10863
10864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10865$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10866
10867  runpath_var=
10868  allow_undefined_flag=
10869  always_export_symbols=no
10870  archive_cmds=
10871  archive_expsym_cmds=
10872  compiler_needs_object=no
10873  enable_shared_with_static_runtimes=no
10874  export_dynamic_flag_spec=
10875  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10876  hardcode_automatic=no
10877  hardcode_direct=no
10878  hardcode_direct_absolute=no
10879  hardcode_libdir_flag_spec=
10880  hardcode_libdir_separator=
10881  hardcode_minus_L=no
10882  hardcode_shlibpath_var=unsupported
10883  inherit_rpath=no
10884  link_all_deplibs=unknown
10885  module_cmds=
10886  module_expsym_cmds=
10887  old_archive_from_new_cmds=
10888  old_archive_from_expsyms_cmds=
10889  thread_safe_flag_spec=
10890  whole_archive_flag_spec=
10891  # include_expsyms should be a list of space-separated symbols to be *always*
10892  # included in the symbol list
10893  include_expsyms=
10894  # exclude_expsyms can be an extended regexp of symbols to exclude
10895  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10896  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10897  # as well as any symbol that contains 'd'.
10898  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10899  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10900  # platforms (ab)use it in PIC code, but their linkers get confused if
10901  # the symbol is explicitly referenced.  Since portable code cannot
10902  # rely on this symbol name, it's probably fine to never include it in
10903  # preloaded symbol tables.
10904  # Exclude shared library initialization/finalization symbols.
10905  extract_expsyms_cmds=
10906
10907  case $host_os in
10908  cygwin* | mingw* | pw32* | cegcc*)
10909    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10910    # When not using gcc, we currently assume that we are using
10911    # Microsoft Visual C++.
10912    if test yes != "$GCC"; then
10913      with_gnu_ld=no
10914    fi
10915    ;;
10916  interix*)
10917    # we just hope/assume this is gcc and not c89 (= MSVC++)
10918    with_gnu_ld=yes
10919    ;;
10920  openbsd* | bitrig*)
10921    with_gnu_ld=no
10922    ;;
10923  esac
10924
10925  ld_shlibs=yes
10926
10927  # On some targets, GNU ld is compatible enough with the native linker
10928  # that we're better off using the native interface for both.
10929  lt_use_gnu_ld_interface=no
10930  if test yes = "$with_gnu_ld"; then
10931    case $host_os in
10932      aix*)
10933	# The AIX port of GNU ld has always aspired to compatibility
10934	# with the native linker.  However, as the warning in the GNU ld
10935	# block says, versions before 2.19.5* couldn't really create working
10936	# shared libraries, regardless of the interface used.
10937	case `$LD -v 2>&1` in
10938	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10939	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10940	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10941	  *)
10942	    lt_use_gnu_ld_interface=yes
10943	    ;;
10944	esac
10945	;;
10946      *)
10947	lt_use_gnu_ld_interface=yes
10948	;;
10949    esac
10950  fi
10951
10952  if test yes = "$lt_use_gnu_ld_interface"; then
10953    # If archive_cmds runs LD, not CC, wlarc should be empty
10954    wlarc='$wl'
10955
10956    # Set some defaults for GNU ld with shared library support. These
10957    # are reset later if shared libraries are not supported. Putting them
10958    # here allows them to be overridden if necessary.
10959    runpath_var=LD_RUN_PATH
10960    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10961    export_dynamic_flag_spec='$wl--export-dynamic'
10962    # ancient GNU ld didn't support --whole-archive et. al.
10963    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10964      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10965    else
10966      whole_archive_flag_spec=
10967    fi
10968    supports_anon_versioning=no
10969    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10970      *GNU\ gold*) supports_anon_versioning=yes ;;
10971      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10972      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10973      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10974      *\ 2.11.*) ;; # other 2.11 versions
10975      *) supports_anon_versioning=yes ;;
10976    esac
10977
10978    # See if GNU ld supports shared libraries.
10979    case $host_os in
10980    aix[3-9]*)
10981      # On AIX/PPC, the GNU linker is very broken
10982      if test ia64 != "$host_cpu"; then
10983	ld_shlibs=no
10984	cat <<_LT_EOF 1>&2
10985
10986*** Warning: the GNU linker, at least up to release 2.19, is reported
10987*** to be unable to reliably create shared libraries on AIX.
10988*** Therefore, libtool is disabling shared libraries support.  If you
10989*** really care for shared libraries, you may want to install binutils
10990*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10991*** You will then need to restart the configuration process.
10992
10993_LT_EOF
10994      fi
10995      ;;
10996
10997    amigaos*)
10998      case $host_cpu in
10999      powerpc)
11000            # see comment about AmigaOS4 .so support
11001            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11002            archive_expsym_cmds=''
11003        ;;
11004      m68k)
11005            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)'
11006            hardcode_libdir_flag_spec='-L$libdir'
11007            hardcode_minus_L=yes
11008        ;;
11009      esac
11010      ;;
11011
11012    beos*)
11013      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11014	allow_undefined_flag=unsupported
11015	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11016	# support --undefined.  This deserves some investigation.  FIXME
11017	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11018      else
11019	ld_shlibs=no
11020      fi
11021      ;;
11022
11023    cygwin* | mingw* | pw32* | cegcc*)
11024      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11025      # as there is no search path for DLLs.
11026      hardcode_libdir_flag_spec='-L$libdir'
11027      export_dynamic_flag_spec='$wl--export-all-symbols'
11028      allow_undefined_flag=unsupported
11029      always_export_symbols=no
11030      enable_shared_with_static_runtimes=yes
11031      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'
11032      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11033
11034      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11035        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11036	# If the export-symbols file already is a .def file, use it as
11037	# is; otherwise, prepend EXPORTS...
11038	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11039          cp $export_symbols $output_objdir/$soname.def;
11040        else
11041          echo EXPORTS > $output_objdir/$soname.def;
11042          cat $export_symbols >> $output_objdir/$soname.def;
11043        fi~
11044        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11045      else
11046	ld_shlibs=no
11047      fi
11048      ;;
11049
11050    haiku*)
11051      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11052      link_all_deplibs=yes
11053      ;;
11054
11055    os2*)
11056      hardcode_libdir_flag_spec='-L$libdir'
11057      hardcode_minus_L=yes
11058      allow_undefined_flag=unsupported
11059      shrext_cmds=.dll
11060      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11061	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11062	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11063	$ECHO EXPORTS >> $output_objdir/$libname.def~
11064	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11065	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11066	emximp -o $lib $output_objdir/$libname.def'
11067      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11068	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11069	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11070	$ECHO EXPORTS >> $output_objdir/$libname.def~
11071	prefix_cmds="$SED"~
11072	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11073	  prefix_cmds="$prefix_cmds -e 1d";
11074	fi~
11075	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11076	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11077	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11078	emximp -o $lib $output_objdir/$libname.def'
11079      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11080      enable_shared_with_static_runtimes=yes
11081      ;;
11082
11083    interix[3-9]*)
11084      hardcode_direct=no
11085      hardcode_shlibpath_var=no
11086      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11087      export_dynamic_flag_spec='$wl-E'
11088      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11089      # Instead, shared libraries are loaded at an image base (0x10000000 by
11090      # default) and relocated if they conflict, which is a slow very memory
11091      # consuming and fragmenting process.  To avoid this, we pick a random,
11092      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11093      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11094      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11095      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'
11096      ;;
11097
11098    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11099      tmp_diet=no
11100      if test linux-dietlibc = "$host_os"; then
11101	case $cc_basename in
11102	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
11103	esac
11104      fi
11105      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11106	 && test no = "$tmp_diet"
11107      then
11108	tmp_addflag=' $pic_flag'
11109	tmp_sharedflag='-shared'
11110	case $cc_basename,$host_cpu in
11111        pgcc*)				# Portland Group C compiler
11112	  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'
11113	  tmp_addflag=' $pic_flag'
11114	  ;;
11115	pgf77* | pgf90* | pgf95* | pgfortran*)
11116					# Portland Group f77 and f90 compilers
11117	  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'
11118	  tmp_addflag=' $pic_flag -Mnomain' ;;
11119	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
11120	  tmp_addflag=' -i_dynamic' ;;
11121	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
11122	  tmp_addflag=' -i_dynamic -nofor_main' ;;
11123	ifc* | ifort*)			# Intel Fortran compiler
11124	  tmp_addflag=' -nofor_main' ;;
11125	lf95*)				# Lahey Fortran 8.1
11126	  whole_archive_flag_spec=
11127	  tmp_sharedflag='--shared' ;;
11128        nagfor*)                        # NAGFOR 5.3
11129          tmp_sharedflag='-Wl,-shared' ;;
11130	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11131	  tmp_sharedflag='-qmkshrobj'
11132	  tmp_addflag= ;;
11133	nvcc*)	# Cuda Compiler Driver 2.2
11134	  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'
11135	  compiler_needs_object=yes
11136	  ;;
11137	esac
11138	case `$CC -V 2>&1 | sed 5q` in
11139	*Sun\ C*)			# Sun C 5.9
11140	  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'
11141	  compiler_needs_object=yes
11142	  tmp_sharedflag='-G' ;;
11143	*Sun\ F*)			# Sun Fortran 8.3
11144	  tmp_sharedflag='-G' ;;
11145	esac
11146	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11147
11148        if test yes = "$supports_anon_versioning"; then
11149          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11150            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11151            echo "local: *; };" >> $output_objdir/$libname.ver~
11152            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11153        fi
11154
11155	case $cc_basename in
11156	tcc*)
11157	  export_dynamic_flag_spec='-rdynamic'
11158	  ;;
11159	xlf* | bgf* | bgxlf* | mpixlf*)
11160	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11161	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11162	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11163	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11164	  if test yes = "$supports_anon_versioning"; then
11165	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11166              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11167              echo "local: *; };" >> $output_objdir/$libname.ver~
11168              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11169	  fi
11170	  ;;
11171	esac
11172      else
11173        ld_shlibs=no
11174      fi
11175      ;;
11176
11177    netbsd*)
11178      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11179	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11180	wlarc=
11181      else
11182	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11183	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11184      fi
11185      ;;
11186
11187    solaris*)
11188      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11189	ld_shlibs=no
11190	cat <<_LT_EOF 1>&2
11191
11192*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11193*** create shared libraries on Solaris systems.  Therefore, libtool
11194*** is disabling shared libraries support.  We urge you to upgrade GNU
11195*** binutils to release 2.9.1 or newer.  Another option is to modify
11196*** your PATH or compiler configuration so that the native linker is
11197*** used, and then restart.
11198
11199_LT_EOF
11200      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11201	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11202	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11203      else
11204	ld_shlibs=no
11205      fi
11206      ;;
11207
11208    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11209      case `$LD -v 2>&1` in
11210        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11211	ld_shlibs=no
11212	cat <<_LT_EOF 1>&2
11213
11214*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11215*** reliably create shared libraries on SCO systems.  Therefore, libtool
11216*** is disabling shared libraries support.  We urge you to upgrade GNU
11217*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11218*** your PATH or compiler configuration so that the native linker is
11219*** used, and then restart.
11220
11221_LT_EOF
11222	;;
11223	*)
11224	  # For security reasons, it is highly recommended that you always
11225	  # use absolute paths for naming shared libraries, and exclude the
11226	  # DT_RUNPATH tag from executables and libraries.  But doing so
11227	  # requires that you compile everything twice, which is a pain.
11228	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11229	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11230	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11231	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11232	  else
11233	    ld_shlibs=no
11234	  fi
11235	;;
11236      esac
11237      ;;
11238
11239    sunos4*)
11240      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11241      wlarc=
11242      hardcode_direct=yes
11243      hardcode_shlibpath_var=no
11244      ;;
11245
11246    *)
11247      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11248	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11249	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11250      else
11251	ld_shlibs=no
11252      fi
11253      ;;
11254    esac
11255
11256    if test no = "$ld_shlibs"; then
11257      runpath_var=
11258      hardcode_libdir_flag_spec=
11259      export_dynamic_flag_spec=
11260      whole_archive_flag_spec=
11261    fi
11262  else
11263    # PORTME fill in a description of your system's linker (not GNU ld)
11264    case $host_os in
11265    aix3*)
11266      allow_undefined_flag=unsupported
11267      always_export_symbols=yes
11268      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'
11269      # Note: this linker hardcodes the directories in LIBPATH if there
11270      # are no directories specified by -L.
11271      hardcode_minus_L=yes
11272      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11273	# Neither direct hardcoding nor static linking is supported with a
11274	# broken collect2.
11275	hardcode_direct=unsupported
11276      fi
11277      ;;
11278
11279    aix[4-9]*)
11280      if test ia64 = "$host_cpu"; then
11281	# On IA64, the linker does run time linking by default, so we don't
11282	# have to do anything special.
11283	aix_use_runtimelinking=no
11284	exp_sym_flag='-Bexport'
11285	no_entry_flag=
11286      else
11287	# If we're using GNU nm, then we don't want the "-C" option.
11288	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
11289	# Without the "-l" option, or with the "-B" option, AIX nm treats
11290	# weak defined symbols like other global defined symbols, whereas
11291	# GNU nm marks them as "W".
11292	# While the 'weak' keyword is ignored in the Export File, we need
11293	# it in the Import File for the 'aix-soname' feature, so we have
11294	# to replace the "-B" option with "-P" for AIX nm.
11295	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11296	  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'
11297	else
11298	  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'
11299	fi
11300	aix_use_runtimelinking=no
11301
11302	# Test if we are trying to use run time linking or normal
11303	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11304	# have runtime linking enabled, and use it for executables.
11305	# For shared libraries, we enable/disable runtime linking
11306	# depending on the kind of the shared library created -
11307	# when "with_aix_soname,aix_use_runtimelinking" is:
11308	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
11309	# "aix,yes"  lib.so          shared, rtl:yes, for executables
11310	#            lib.a           static archive
11311	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
11312	#            lib.a(lib.so.V) shared, rtl:no,  for executables
11313	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11314	#            lib.a(lib.so.V) shared, rtl:no
11315	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
11316	#            lib.a           static archive
11317	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11318	  for ld_flag in $LDFLAGS; do
11319	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11320	    aix_use_runtimelinking=yes
11321	    break
11322	  fi
11323	  done
11324	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11325	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
11326	    # so we don't have lib.a shared libs to link our executables.
11327	    # We have to force runtime linking in this case.
11328	    aix_use_runtimelinking=yes
11329	    LDFLAGS="$LDFLAGS -Wl,-brtl"
11330	  fi
11331	  ;;
11332	esac
11333
11334	exp_sym_flag='-bexport'
11335	no_entry_flag='-bnoentry'
11336      fi
11337
11338      # When large executables or shared objects are built, AIX ld can
11339      # have problems creating the table of contents.  If linking a library
11340      # or program results in "error TOC overflow" add -mminimal-toc to
11341      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11342      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11343
11344      archive_cmds=''
11345      hardcode_direct=yes
11346      hardcode_direct_absolute=yes
11347      hardcode_libdir_separator=':'
11348      link_all_deplibs=yes
11349      file_list_spec='$wl-f,'
11350      case $with_aix_soname,$aix_use_runtimelinking in
11351      aix,*) ;; # traditional, no import file
11352      svr4,* | *,yes) # use import file
11353	# The Import File defines what to hardcode.
11354	hardcode_direct=no
11355	hardcode_direct_absolute=no
11356	;;
11357      esac
11358
11359      if test yes = "$GCC"; then
11360	case $host_os in aix4.[012]|aix4.[012].*)
11361	# We only want to do this on AIX 4.2 and lower, the check
11362	# below for broken collect2 doesn't work under 4.3+
11363	  collect2name=`$CC -print-prog-name=collect2`
11364	  if test -f "$collect2name" &&
11365	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11366	  then
11367	  # We have reworked collect2
11368	  :
11369	  else
11370	  # We have old collect2
11371	  hardcode_direct=unsupported
11372	  # It fails to find uninstalled libraries when the uninstalled
11373	  # path is not listed in the libpath.  Setting hardcode_minus_L
11374	  # to unsupported forces relinking
11375	  hardcode_minus_L=yes
11376	  hardcode_libdir_flag_spec='-L$libdir'
11377	  hardcode_libdir_separator=
11378	  fi
11379	  ;;
11380	esac
11381	shared_flag='-shared'
11382	if test yes = "$aix_use_runtimelinking"; then
11383	  shared_flag="$shared_flag "'$wl-G'
11384	fi
11385	# Need to ensure runtime linking is disabled for the traditional
11386	# shared library, or the linker may eventually find shared libraries
11387	# /with/ Import File - we do not want to mix them.
11388	shared_flag_aix='-shared'
11389	shared_flag_svr4='-shared $wl-G'
11390      else
11391	# not using gcc
11392	if test ia64 = "$host_cpu"; then
11393	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11394	# chokes on -Wl,-G. The following line is correct:
11395	  shared_flag='-G'
11396	else
11397	  if test yes = "$aix_use_runtimelinking"; then
11398	    shared_flag='$wl-G'
11399	  else
11400	    shared_flag='$wl-bM:SRE'
11401	  fi
11402	  shared_flag_aix='$wl-bM:SRE'
11403	  shared_flag_svr4='$wl-G'
11404	fi
11405      fi
11406
11407      export_dynamic_flag_spec='$wl-bexpall'
11408      # It seems that -bexpall does not export symbols beginning with
11409      # underscore (_), so it is better to generate a list of symbols to export.
11410      always_export_symbols=yes
11411      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11412	# Warning - without using the other runtime loading flags (-brtl),
11413	# -berok will link without error, but may produce a broken library.
11414	allow_undefined_flag='-berok'
11415        # Determine the default libpath from the value encoded in an
11416        # empty executable.
11417        if test set = "${lt_cv_aix_libpath+set}"; then
11418  aix_libpath=$lt_cv_aix_libpath
11419else
11420  if ${lt_cv_aix_libpath_+:} false; then :
11421  $as_echo_n "(cached) " >&6
11422else
11423  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11424/* end confdefs.h.  */
11425
11426int
11427main ()
11428{
11429
11430  ;
11431  return 0;
11432}
11433_ACEOF
11434if ac_fn_c_try_link "$LINENO"; then :
11435
11436  lt_aix_libpath_sed='
11437      /Import File Strings/,/^$/ {
11438	  /^0/ {
11439	      s/^0  *\([^ ]*\) *$/\1/
11440	      p
11441	  }
11442      }'
11443  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11444  # Check for a 64-bit object if we didn't find anything.
11445  if test -z "$lt_cv_aix_libpath_"; then
11446    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11447  fi
11448fi
11449rm -f core conftest.err conftest.$ac_objext \
11450    conftest$ac_exeext conftest.$ac_ext
11451  if test -z "$lt_cv_aix_libpath_"; then
11452    lt_cv_aix_libpath_=/usr/lib:/lib
11453  fi
11454
11455fi
11456
11457  aix_libpath=$lt_cv_aix_libpath_
11458fi
11459
11460        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11461        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
11462      else
11463	if test ia64 = "$host_cpu"; then
11464	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11465	  allow_undefined_flag="-z nodefs"
11466	  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"
11467	else
11468	 # Determine the default libpath from the value encoded in an
11469	 # empty executable.
11470	 if test set = "${lt_cv_aix_libpath+set}"; then
11471  aix_libpath=$lt_cv_aix_libpath
11472else
11473  if ${lt_cv_aix_libpath_+:} false; then :
11474  $as_echo_n "(cached) " >&6
11475else
11476  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477/* end confdefs.h.  */
11478
11479int
11480main ()
11481{
11482
11483  ;
11484  return 0;
11485}
11486_ACEOF
11487if ac_fn_c_try_link "$LINENO"; then :
11488
11489  lt_aix_libpath_sed='
11490      /Import File Strings/,/^$/ {
11491	  /^0/ {
11492	      s/^0  *\([^ ]*\) *$/\1/
11493	      p
11494	  }
11495      }'
11496  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11497  # Check for a 64-bit object if we didn't find anything.
11498  if test -z "$lt_cv_aix_libpath_"; then
11499    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11500  fi
11501fi
11502rm -f core conftest.err conftest.$ac_objext \
11503    conftest$ac_exeext conftest.$ac_ext
11504  if test -z "$lt_cv_aix_libpath_"; then
11505    lt_cv_aix_libpath_=/usr/lib:/lib
11506  fi
11507
11508fi
11509
11510  aix_libpath=$lt_cv_aix_libpath_
11511fi
11512
11513	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11514	  # Warning - without using the other run time loading flags,
11515	  # -berok will link without error, but may produce a broken library.
11516	  no_undefined_flag=' $wl-bernotok'
11517	  allow_undefined_flag=' $wl-berok'
11518	  if test yes = "$with_gnu_ld"; then
11519	    # We only use this code for GNU lds that support --whole-archive.
11520	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11521	  else
11522	    # Exported symbols can be pulled into shared objects from archives
11523	    whole_archive_flag_spec='$convenience'
11524	  fi
11525	  archive_cmds_need_lc=yes
11526	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11527	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11528	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11529	  if test svr4 != "$with_aix_soname"; then
11530	    # This is similar to how AIX traditionally builds its shared libraries.
11531	    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'
11532	  fi
11533	  if test aix != "$with_aix_soname"; then
11534	    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'
11535	  else
11536	    # used by -dlpreopen to get the symbols
11537	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11538	  fi
11539	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11540	fi
11541      fi
11542      ;;
11543
11544    amigaos*)
11545      case $host_cpu in
11546      powerpc)
11547            # see comment about AmigaOS4 .so support
11548            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11549            archive_expsym_cmds=''
11550        ;;
11551      m68k)
11552            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)'
11553            hardcode_libdir_flag_spec='-L$libdir'
11554            hardcode_minus_L=yes
11555        ;;
11556      esac
11557      ;;
11558
11559    bsdi[45]*)
11560      export_dynamic_flag_spec=-rdynamic
11561      ;;
11562
11563    cygwin* | mingw* | pw32* | cegcc*)
11564      # When not using gcc, we currently assume that we are using
11565      # Microsoft Visual C++.
11566      # hardcode_libdir_flag_spec is actually meaningless, as there is
11567      # no search path for DLLs.
11568      case $cc_basename in
11569      cl*)
11570	# Native MSVC
11571	hardcode_libdir_flag_spec=' '
11572	allow_undefined_flag=unsupported
11573	always_export_symbols=yes
11574	file_list_spec='@'
11575	# Tell ltmain to make .lib files, not .a files.
11576	libext=lib
11577	# Tell ltmain to make .dll files, not .so files.
11578	shrext_cmds=.dll
11579	# FIXME: Setting linknames here is a bad hack.
11580	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11581	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11582            cp "$export_symbols" "$output_objdir/$soname.def";
11583            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11584          else
11585            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11586          fi~
11587          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11588          linknames='
11589	# The linker will not automatically build a static lib if we build a DLL.
11590	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11591	enable_shared_with_static_runtimes=yes
11592	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11593	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11594	# Don't use ranlib
11595	old_postinstall_cmds='chmod 644 $oldlib'
11596	postlink_cmds='lt_outputfile="@OUTPUT@"~
11597          lt_tool_outputfile="@TOOL_OUTPUT@"~
11598          case $lt_outputfile in
11599            *.exe|*.EXE) ;;
11600            *)
11601              lt_outputfile=$lt_outputfile.exe
11602              lt_tool_outputfile=$lt_tool_outputfile.exe
11603              ;;
11604          esac~
11605          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11606            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11607            $RM "$lt_outputfile.manifest";
11608          fi'
11609	;;
11610      *)
11611	# Assume MSVC wrapper
11612	hardcode_libdir_flag_spec=' '
11613	allow_undefined_flag=unsupported
11614	# Tell ltmain to make .lib files, not .a files.
11615	libext=lib
11616	# Tell ltmain to make .dll files, not .so files.
11617	shrext_cmds=.dll
11618	# FIXME: Setting linknames here is a bad hack.
11619	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11620	# The linker will automatically build a .lib file if we build a DLL.
11621	old_archive_from_new_cmds='true'
11622	# FIXME: Should let the user specify the lib program.
11623	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11624	enable_shared_with_static_runtimes=yes
11625	;;
11626      esac
11627      ;;
11628
11629    darwin* | rhapsody*)
11630
11631
11632  archive_cmds_need_lc=no
11633  hardcode_direct=no
11634  hardcode_automatic=yes
11635  hardcode_shlibpath_var=unsupported
11636  if test yes = "$lt_cv_ld_force_load"; then
11637    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\"`'
11638
11639  else
11640    whole_archive_flag_spec=''
11641  fi
11642  link_all_deplibs=yes
11643  allow_undefined_flag=$_lt_dar_allow_undefined
11644  case $cc_basename in
11645     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11646     *) _lt_dar_can_shared=$GCC ;;
11647  esac
11648  if test yes = "$_lt_dar_can_shared"; then
11649    output_verbose_link_cmd=func_echo_all
11650    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11651    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11652    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"
11653    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"
11654
11655  else
11656  ld_shlibs=no
11657  fi
11658
11659      ;;
11660
11661    dgux*)
11662      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11663      hardcode_libdir_flag_spec='-L$libdir'
11664      hardcode_shlibpath_var=no
11665      ;;
11666
11667    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11668    # support.  Future versions do this automatically, but an explicit c++rt0.o
11669    # does not break anything, and helps significantly (at the cost of a little
11670    # extra space).
11671    freebsd2.2*)
11672      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11673      hardcode_libdir_flag_spec='-R$libdir'
11674      hardcode_direct=yes
11675      hardcode_shlibpath_var=no
11676      ;;
11677
11678    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11679    freebsd2.*)
11680      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11681      hardcode_direct=yes
11682      hardcode_minus_L=yes
11683      hardcode_shlibpath_var=no
11684      ;;
11685
11686    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11687    freebsd* | dragonfly*)
11688      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11689      hardcode_libdir_flag_spec='-R$libdir'
11690      hardcode_direct=yes
11691      hardcode_shlibpath_var=no
11692      ;;
11693
11694    hpux9*)
11695      if test yes = "$GCC"; then
11696	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'
11697      else
11698	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'
11699      fi
11700      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11701      hardcode_libdir_separator=:
11702      hardcode_direct=yes
11703
11704      # hardcode_minus_L: Not really in the search PATH,
11705      # but as the default location of the library.
11706      hardcode_minus_L=yes
11707      export_dynamic_flag_spec='$wl-E'
11708      ;;
11709
11710    hpux10*)
11711      if test yes,no = "$GCC,$with_gnu_ld"; then
11712	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11713      else
11714	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11715      fi
11716      if test no = "$with_gnu_ld"; then
11717	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11718	hardcode_libdir_separator=:
11719	hardcode_direct=yes
11720	hardcode_direct_absolute=yes
11721	export_dynamic_flag_spec='$wl-E'
11722	# hardcode_minus_L: Not really in the search PATH,
11723	# but as the default location of the library.
11724	hardcode_minus_L=yes
11725      fi
11726      ;;
11727
11728    hpux11*)
11729      if test yes,no = "$GCC,$with_gnu_ld"; then
11730	case $host_cpu in
11731	hppa*64*)
11732	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11733	  ;;
11734	ia64*)
11735	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11736	  ;;
11737	*)
11738	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11739	  ;;
11740	esac
11741      else
11742	case $host_cpu in
11743	hppa*64*)
11744	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11745	  ;;
11746	ia64*)
11747	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11748	  ;;
11749	*)
11750
11751	  # Older versions of the 11.00 compiler do not understand -b yet
11752	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11753	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11754$as_echo_n "checking if $CC understands -b... " >&6; }
11755if ${lt_cv_prog_compiler__b+:} false; then :
11756  $as_echo_n "(cached) " >&6
11757else
11758  lt_cv_prog_compiler__b=no
11759   save_LDFLAGS=$LDFLAGS
11760   LDFLAGS="$LDFLAGS -b"
11761   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11762   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11763     # The linker can only warn and ignore the option if not recognized
11764     # So say no if there are warnings
11765     if test -s conftest.err; then
11766       # Append any errors to the config.log.
11767       cat conftest.err 1>&5
11768       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11769       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11770       if diff conftest.exp conftest.er2 >/dev/null; then
11771         lt_cv_prog_compiler__b=yes
11772       fi
11773     else
11774       lt_cv_prog_compiler__b=yes
11775     fi
11776   fi
11777   $RM -r conftest*
11778   LDFLAGS=$save_LDFLAGS
11779
11780fi
11781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11782$as_echo "$lt_cv_prog_compiler__b" >&6; }
11783
11784if test yes = "$lt_cv_prog_compiler__b"; then
11785    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11786else
11787    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11788fi
11789
11790	  ;;
11791	esac
11792      fi
11793      if test no = "$with_gnu_ld"; then
11794	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11795	hardcode_libdir_separator=:
11796
11797	case $host_cpu in
11798	hppa*64*|ia64*)
11799	  hardcode_direct=no
11800	  hardcode_shlibpath_var=no
11801	  ;;
11802	*)
11803	  hardcode_direct=yes
11804	  hardcode_direct_absolute=yes
11805	  export_dynamic_flag_spec='$wl-E'
11806
11807	  # hardcode_minus_L: Not really in the search PATH,
11808	  # but as the default location of the library.
11809	  hardcode_minus_L=yes
11810	  ;;
11811	esac
11812      fi
11813      ;;
11814
11815    irix5* | irix6* | nonstopux*)
11816      if test yes = "$GCC"; then
11817	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'
11818	# Try to use the -exported_symbol ld option, if it does not
11819	# work, assume that -exports_file does not work either and
11820	# implicitly export all symbols.
11821	# This should be the same for all languages, so no per-tag cache variable.
11822	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11823$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11824if ${lt_cv_irix_exported_symbol+:} false; then :
11825  $as_echo_n "(cached) " >&6
11826else
11827  save_LDFLAGS=$LDFLAGS
11828	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11829	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11830/* end confdefs.h.  */
11831int foo (void) { return 0; }
11832_ACEOF
11833if ac_fn_c_try_link "$LINENO"; then :
11834  lt_cv_irix_exported_symbol=yes
11835else
11836  lt_cv_irix_exported_symbol=no
11837fi
11838rm -f core conftest.err conftest.$ac_objext \
11839    conftest$ac_exeext conftest.$ac_ext
11840           LDFLAGS=$save_LDFLAGS
11841fi
11842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11843$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11844	if test yes = "$lt_cv_irix_exported_symbol"; then
11845          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'
11846	fi
11847      else
11848	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'
11849	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'
11850      fi
11851      archive_cmds_need_lc='no'
11852      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11853      hardcode_libdir_separator=:
11854      inherit_rpath=yes
11855      link_all_deplibs=yes
11856      ;;
11857
11858    linux*)
11859      case $cc_basename in
11860      tcc*)
11861	# Fabrice Bellard et al's Tiny C Compiler
11862	ld_shlibs=yes
11863	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11864	;;
11865      esac
11866      ;;
11867
11868    netbsd*)
11869      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11870	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11871      else
11872	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11873      fi
11874      hardcode_libdir_flag_spec='-R$libdir'
11875      hardcode_direct=yes
11876      hardcode_shlibpath_var=no
11877      ;;
11878
11879    newsos6)
11880      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11881      hardcode_direct=yes
11882      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11883      hardcode_libdir_separator=:
11884      hardcode_shlibpath_var=no
11885      ;;
11886
11887    *nto* | *qnx*)
11888      ;;
11889
11890    openbsd* | bitrig*)
11891      if test -f /usr/libexec/ld.so; then
11892	hardcode_direct=yes
11893	hardcode_shlibpath_var=no
11894	hardcode_direct_absolute=yes
11895	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11896	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11897	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11898	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11899	  export_dynamic_flag_spec='$wl-E'
11900	else
11901	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11902	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11903	fi
11904      else
11905	ld_shlibs=no
11906      fi
11907      ;;
11908
11909    os2*)
11910      hardcode_libdir_flag_spec='-L$libdir'
11911      hardcode_minus_L=yes
11912      allow_undefined_flag=unsupported
11913      shrext_cmds=.dll
11914      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11915	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11916	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11917	$ECHO EXPORTS >> $output_objdir/$libname.def~
11918	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11919	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11920	emximp -o $lib $output_objdir/$libname.def'
11921      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11922	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11923	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11924	$ECHO EXPORTS >> $output_objdir/$libname.def~
11925	prefix_cmds="$SED"~
11926	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11927	  prefix_cmds="$prefix_cmds -e 1d";
11928	fi~
11929	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11930	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11931	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11932	emximp -o $lib $output_objdir/$libname.def'
11933      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11934      enable_shared_with_static_runtimes=yes
11935      ;;
11936
11937    osf3*)
11938      if test yes = "$GCC"; then
11939	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11940	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'
11941      else
11942	allow_undefined_flag=' -expect_unresolved \*'
11943	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'
11944      fi
11945      archive_cmds_need_lc='no'
11946      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11947      hardcode_libdir_separator=:
11948      ;;
11949
11950    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11951      if test yes = "$GCC"; then
11952	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11953	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'
11954	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11955      else
11956	allow_undefined_flag=' -expect_unresolved \*'
11957	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'
11958	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~
11959          $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'
11960
11961	# Both c and cxx compiler support -rpath directly
11962	hardcode_libdir_flag_spec='-rpath $libdir'
11963      fi
11964      archive_cmds_need_lc='no'
11965      hardcode_libdir_separator=:
11966      ;;
11967
11968    solaris*)
11969      no_undefined_flag=' -z defs'
11970      if test yes = "$GCC"; then
11971	wlarc='$wl'
11972	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11973	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11974          $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'
11975      else
11976	case `$CC -V 2>&1` in
11977	*"Compilers 5.0"*)
11978	  wlarc=''
11979	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11980	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11981            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11982	  ;;
11983	*)
11984	  wlarc='$wl'
11985	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11986	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11987            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11988	  ;;
11989	esac
11990      fi
11991      hardcode_libdir_flag_spec='-R$libdir'
11992      hardcode_shlibpath_var=no
11993      case $host_os in
11994      solaris2.[0-5] | solaris2.[0-5].*) ;;
11995      *)
11996	# The compiler driver will combine and reorder linker options,
11997	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11998	# but is careful enough not to reorder.
11999	# Supported since Solaris 2.6 (maybe 2.5.1?)
12000	if test yes = "$GCC"; then
12001	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12002	else
12003	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12004	fi
12005	;;
12006      esac
12007      link_all_deplibs=yes
12008      ;;
12009
12010    sunos4*)
12011      if test sequent = "$host_vendor"; then
12012	# Use $CC to link under sequent, because it throws in some extra .o
12013	# files that make .init and .fini sections work.
12014	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12015      else
12016	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12017      fi
12018      hardcode_libdir_flag_spec='-L$libdir'
12019      hardcode_direct=yes
12020      hardcode_minus_L=yes
12021      hardcode_shlibpath_var=no
12022      ;;
12023
12024    sysv4)
12025      case $host_vendor in
12026	sni)
12027	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12028	  hardcode_direct=yes # is this really true???
12029	;;
12030	siemens)
12031	  ## LD is ld it makes a PLAMLIB
12032	  ## CC just makes a GrossModule.
12033	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12034	  reload_cmds='$CC -r -o $output$reload_objs'
12035	  hardcode_direct=no
12036        ;;
12037	motorola)
12038	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12039	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12040	;;
12041      esac
12042      runpath_var='LD_RUN_PATH'
12043      hardcode_shlibpath_var=no
12044      ;;
12045
12046    sysv4.3*)
12047      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12048      hardcode_shlibpath_var=no
12049      export_dynamic_flag_spec='-Bexport'
12050      ;;
12051
12052    sysv4*MP*)
12053      if test -d /usr/nec; then
12054	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12055	hardcode_shlibpath_var=no
12056	runpath_var=LD_RUN_PATH
12057	hardcode_runpath_var=yes
12058	ld_shlibs=yes
12059      fi
12060      ;;
12061
12062    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12063      no_undefined_flag='$wl-z,text'
12064      archive_cmds_need_lc=no
12065      hardcode_shlibpath_var=no
12066      runpath_var='LD_RUN_PATH'
12067
12068      if test yes = "$GCC"; then
12069	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12070	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12071      else
12072	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12073	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12074      fi
12075      ;;
12076
12077    sysv5* | sco3.2v5* | sco5v6*)
12078      # Note: We CANNOT use -z defs as we might desire, because we do not
12079      # link with -lc, and that would cause any symbols used from libc to
12080      # always be unresolved, which means just about no library would
12081      # ever link correctly.  If we're not using GNU ld we use -z text
12082      # though, which does catch some bad symbols but isn't as heavy-handed
12083      # as -z defs.
12084      no_undefined_flag='$wl-z,text'
12085      allow_undefined_flag='$wl-z,nodefs'
12086      archive_cmds_need_lc=no
12087      hardcode_shlibpath_var=no
12088      hardcode_libdir_flag_spec='$wl-R,$libdir'
12089      hardcode_libdir_separator=':'
12090      link_all_deplibs=yes
12091      export_dynamic_flag_spec='$wl-Bexport'
12092      runpath_var='LD_RUN_PATH'
12093
12094      if test yes = "$GCC"; then
12095	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12096	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12097      else
12098	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12099	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12100      fi
12101      ;;
12102
12103    uts4*)
12104      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12105      hardcode_libdir_flag_spec='-L$libdir'
12106      hardcode_shlibpath_var=no
12107      ;;
12108
12109    *)
12110      ld_shlibs=no
12111      ;;
12112    esac
12113
12114    if test sni = "$host_vendor"; then
12115      case $host in
12116      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12117	export_dynamic_flag_spec='$wl-Blargedynsym'
12118	;;
12119      esac
12120    fi
12121  fi
12122
12123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12124$as_echo "$ld_shlibs" >&6; }
12125test no = "$ld_shlibs" && can_build_shared=no
12126
12127with_gnu_ld=$with_gnu_ld
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143#
12144# Do we need to explicitly link libc?
12145#
12146case "x$archive_cmds_need_lc" in
12147x|xyes)
12148  # Assume -lc should be added
12149  archive_cmds_need_lc=yes
12150
12151  if test yes,yes = "$GCC,$enable_shared"; then
12152    case $archive_cmds in
12153    *'~'*)
12154      # FIXME: we may have to deal with multi-command sequences.
12155      ;;
12156    '$CC '*)
12157      # Test whether the compiler implicitly links with -lc since on some
12158      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12159      # to ld, don't add -lc before -lgcc.
12160      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12161$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12162if ${lt_cv_archive_cmds_need_lc+:} false; then :
12163  $as_echo_n "(cached) " >&6
12164else
12165  $RM conftest*
12166	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12167
12168	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12169  (eval $ac_compile) 2>&5
12170  ac_status=$?
12171  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12172  test $ac_status = 0; } 2>conftest.err; then
12173	  soname=conftest
12174	  lib=conftest
12175	  libobjs=conftest.$ac_objext
12176	  deplibs=
12177	  wl=$lt_prog_compiler_wl
12178	  pic_flag=$lt_prog_compiler_pic
12179	  compiler_flags=-v
12180	  linker_flags=-v
12181	  verstring=
12182	  output_objdir=.
12183	  libname=conftest
12184	  lt_save_allow_undefined_flag=$allow_undefined_flag
12185	  allow_undefined_flag=
12186	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12187  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12188  ac_status=$?
12189  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12190  test $ac_status = 0; }
12191	  then
12192	    lt_cv_archive_cmds_need_lc=no
12193	  else
12194	    lt_cv_archive_cmds_need_lc=yes
12195	  fi
12196	  allow_undefined_flag=$lt_save_allow_undefined_flag
12197	else
12198	  cat conftest.err 1>&5
12199	fi
12200	$RM conftest*
12201
12202fi
12203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12204$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12205      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12206      ;;
12207    esac
12208  fi
12209  ;;
12210esac
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12364$as_echo_n "checking dynamic linker characteristics... " >&6; }
12365
12366if test yes = "$GCC"; then
12367  case $host_os in
12368    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12369    *) lt_awk_arg='/^libraries:/' ;;
12370  esac
12371  case $host_os in
12372    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12373    *) lt_sed_strip_eq='s|=/|/|g' ;;
12374  esac
12375  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12376  case $lt_search_path_spec in
12377  *\;*)
12378    # if the path contains ";" then we assume it to be the separator
12379    # otherwise default to the standard path separator (i.e. ":") - it is
12380    # assumed that no part of a normal pathname contains ";" but that should
12381    # okay in the real world where ";" in dirpaths is itself problematic.
12382    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12383    ;;
12384  *)
12385    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12386    ;;
12387  esac
12388  # Ok, now we have the path, separated by spaces, we can step through it
12389  # and add multilib dir if necessary...
12390  lt_tmp_lt_search_path_spec=
12391  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12392  # ...but if some path component already ends with the multilib dir we assume
12393  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12394  case "$lt_multi_os_dir; $lt_search_path_spec " in
12395  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12396    lt_multi_os_dir=
12397    ;;
12398  esac
12399  for lt_sys_path in $lt_search_path_spec; do
12400    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12401      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12402    elif test -n "$lt_multi_os_dir"; then
12403      test -d "$lt_sys_path" && \
12404	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12405    fi
12406  done
12407  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12408BEGIN {RS = " "; FS = "/|\n";} {
12409  lt_foo = "";
12410  lt_count = 0;
12411  for (lt_i = NF; lt_i > 0; lt_i--) {
12412    if ($lt_i != "" && $lt_i != ".") {
12413      if ($lt_i == "..") {
12414        lt_count++;
12415      } else {
12416        if (lt_count == 0) {
12417          lt_foo = "/" $lt_i lt_foo;
12418        } else {
12419          lt_count--;
12420        }
12421      }
12422    }
12423  }
12424  if (lt_foo != "") { lt_freq[lt_foo]++; }
12425  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12426}'`
12427  # AWK program above erroneously prepends '/' to C:/dos/paths
12428  # for these hosts.
12429  case $host_os in
12430    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12431      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12432  esac
12433  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12434else
12435  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12436fi
12437library_names_spec=
12438libname_spec='lib$name'
12439soname_spec=
12440shrext_cmds=.so
12441postinstall_cmds=
12442postuninstall_cmds=
12443finish_cmds=
12444finish_eval=
12445shlibpath_var=
12446shlibpath_overrides_runpath=unknown
12447version_type=none
12448dynamic_linker="$host_os ld.so"
12449sys_lib_dlsearch_path_spec="/lib /usr/lib"
12450need_lib_prefix=unknown
12451hardcode_into_libs=no
12452
12453# when you set need_version to no, make sure it does not cause -set_version
12454# flags to be left without arguments
12455need_version=unknown
12456
12457
12458
12459case $host_os in
12460aix3*)
12461  version_type=linux # correct to gnu/linux during the next big refactor
12462  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12463  shlibpath_var=LIBPATH
12464
12465  # AIX 3 has no versioning support, so we append a major version to the name.
12466  soname_spec='$libname$release$shared_ext$major'
12467  ;;
12468
12469aix[4-9]*)
12470  version_type=linux # correct to gnu/linux during the next big refactor
12471  need_lib_prefix=no
12472  need_version=no
12473  hardcode_into_libs=yes
12474  if test ia64 = "$host_cpu"; then
12475    # AIX 5 supports IA64
12476    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12477    shlibpath_var=LD_LIBRARY_PATH
12478  else
12479    # With GCC up to 2.95.x, collect2 would create an import file
12480    # for dependence libraries.  The import file would start with
12481    # the line '#! .'.  This would cause the generated library to
12482    # depend on '.', always an invalid library.  This was fixed in
12483    # development snapshots of GCC prior to 3.0.
12484    case $host_os in
12485      aix4 | aix4.[01] | aix4.[01].*)
12486      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12487	   echo ' yes '
12488	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12489	:
12490      else
12491	can_build_shared=no
12492      fi
12493      ;;
12494    esac
12495    # Using Import Files as archive members, it is possible to support
12496    # filename-based versioning of shared library archives on AIX. While
12497    # this would work for both with and without runtime linking, it will
12498    # prevent static linking of such archives. So we do filename-based
12499    # shared library versioning with .so extension only, which is used
12500    # when both runtime linking and shared linking is enabled.
12501    # Unfortunately, runtime linking may impact performance, so we do
12502    # not want this to be the default eventually. Also, we use the
12503    # versioned .so libs for executables only if there is the -brtl
12504    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12505    # To allow for filename-based versioning support, we need to create
12506    # libNAME.so.V as an archive file, containing:
12507    # *) an Import File, referring to the versioned filename of the
12508    #    archive as well as the shared archive member, telling the
12509    #    bitwidth (32 or 64) of that shared object, and providing the
12510    #    list of exported symbols of that shared object, eventually
12511    #    decorated with the 'weak' keyword
12512    # *) the shared object with the F_LOADONLY flag set, to really avoid
12513    #    it being seen by the linker.
12514    # At run time we better use the real file rather than another symlink,
12515    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12516
12517    case $with_aix_soname,$aix_use_runtimelinking in
12518    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12519    # soname into executable. Probably we can add versioning support to
12520    # collect2, so additional links can be useful in future.
12521    aix,yes) # traditional libtool
12522      dynamic_linker='AIX unversionable lib.so'
12523      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12524      # instead of lib<name>.a to let people know that these are not
12525      # typical AIX shared libraries.
12526      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12527      ;;
12528    aix,no) # traditional AIX only
12529      dynamic_linker='AIX lib.a(lib.so.V)'
12530      # We preserve .a as extension for shared libraries through AIX4.2
12531      # and later when we are not doing run time linking.
12532      library_names_spec='$libname$release.a $libname.a'
12533      soname_spec='$libname$release$shared_ext$major'
12534      ;;
12535    svr4,*) # full svr4 only
12536      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12537      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12538      # We do not specify a path in Import Files, so LIBPATH fires.
12539      shlibpath_overrides_runpath=yes
12540      ;;
12541    *,yes) # both, prefer svr4
12542      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12543      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12544      # unpreferred sharedlib libNAME.a needs extra handling
12545      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"'
12546      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"'
12547      # We do not specify a path in Import Files, so LIBPATH fires.
12548      shlibpath_overrides_runpath=yes
12549      ;;
12550    *,no) # both, prefer aix
12551      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12552      library_names_spec='$libname$release.a $libname.a'
12553      soname_spec='$libname$release$shared_ext$major'
12554      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12555      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)'
12556      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"'
12557      ;;
12558    esac
12559    shlibpath_var=LIBPATH
12560  fi
12561  ;;
12562
12563amigaos*)
12564  case $host_cpu in
12565  powerpc)
12566    # Since July 2007 AmigaOS4 officially supports .so libraries.
12567    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12568    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12569    ;;
12570  m68k)
12571    library_names_spec='$libname.ixlibrary $libname.a'
12572    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12573    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'
12574    ;;
12575  esac
12576  ;;
12577
12578beos*)
12579  library_names_spec='$libname$shared_ext'
12580  dynamic_linker="$host_os ld.so"
12581  shlibpath_var=LIBRARY_PATH
12582  ;;
12583
12584bsdi[45]*)
12585  version_type=linux # correct to gnu/linux during the next big refactor
12586  need_version=no
12587  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12588  soname_spec='$libname$release$shared_ext$major'
12589  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12590  shlibpath_var=LD_LIBRARY_PATH
12591  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12592  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12593  # the default ld.so.conf also contains /usr/contrib/lib and
12594  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12595  # libtool to hard-code these into programs
12596  ;;
12597
12598cygwin* | mingw* | pw32* | cegcc*)
12599  version_type=windows
12600  shrext_cmds=.dll
12601  need_version=no
12602  need_lib_prefix=no
12603
12604  case $GCC,$cc_basename in
12605  yes,*)
12606    # gcc
12607    library_names_spec='$libname.dll.a'
12608    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12609    postinstall_cmds='base_file=`basename \$file`~
12610      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12611      dldir=$destdir/`dirname \$dlpath`~
12612      test -d \$dldir || mkdir -p \$dldir~
12613      $install_prog $dir/$dlname \$dldir/$dlname~
12614      chmod a+x \$dldir/$dlname~
12615      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12616        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12617      fi'
12618    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12619      dlpath=$dir/\$dldll~
12620       $RM \$dlpath'
12621    shlibpath_overrides_runpath=yes
12622
12623    case $host_os in
12624    cygwin*)
12625      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12626      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12627
12628      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12629      ;;
12630    mingw* | cegcc*)
12631      # MinGW DLLs use traditional 'lib' prefix
12632      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12633      ;;
12634    pw32*)
12635      # pw32 DLLs use 'pw' prefix rather than 'lib'
12636      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12637      ;;
12638    esac
12639    dynamic_linker='Win32 ld.exe'
12640    ;;
12641
12642  *,cl*)
12643    # Native MSVC
12644    libname_spec='$name'
12645    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12646    library_names_spec='$libname.dll.lib'
12647
12648    case $build_os in
12649    mingw*)
12650      sys_lib_search_path_spec=
12651      lt_save_ifs=$IFS
12652      IFS=';'
12653      for lt_path in $LIB
12654      do
12655        IFS=$lt_save_ifs
12656        # Let DOS variable expansion print the short 8.3 style file name.
12657        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12658        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12659      done
12660      IFS=$lt_save_ifs
12661      # Convert to MSYS style.
12662      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12663      ;;
12664    cygwin*)
12665      # Convert to unix form, then to dos form, then back to unix form
12666      # but this time dos style (no spaces!) so that the unix form looks
12667      # like /cygdrive/c/PROGRA~1:/cygdr...
12668      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12669      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12670      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12671      ;;
12672    *)
12673      sys_lib_search_path_spec=$LIB
12674      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12675        # It is most probably a Windows format PATH.
12676        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12677      else
12678        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12679      fi
12680      # FIXME: find the short name or the path components, as spaces are
12681      # common. (e.g. "Program Files" -> "PROGRA~1")
12682      ;;
12683    esac
12684
12685    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12686    postinstall_cmds='base_file=`basename \$file`~
12687      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12688      dldir=$destdir/`dirname \$dlpath`~
12689      test -d \$dldir || mkdir -p \$dldir~
12690      $install_prog $dir/$dlname \$dldir/$dlname'
12691    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12692      dlpath=$dir/\$dldll~
12693       $RM \$dlpath'
12694    shlibpath_overrides_runpath=yes
12695    dynamic_linker='Win32 link.exe'
12696    ;;
12697
12698  *)
12699    # Assume MSVC wrapper
12700    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12701    dynamic_linker='Win32 ld.exe'
12702    ;;
12703  esac
12704  # FIXME: first we should search . and the directory the executable is in
12705  shlibpath_var=PATH
12706  ;;
12707
12708darwin* | rhapsody*)
12709  dynamic_linker="$host_os dyld"
12710  version_type=darwin
12711  need_lib_prefix=no
12712  need_version=no
12713  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12714  soname_spec='$libname$release$major$shared_ext'
12715  shlibpath_overrides_runpath=yes
12716  shlibpath_var=DYLD_LIBRARY_PATH
12717  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12718
12719  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12720  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12721  ;;
12722
12723dgux*)
12724  version_type=linux # correct to gnu/linux during the next big refactor
12725  need_lib_prefix=no
12726  need_version=no
12727  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12728  soname_spec='$libname$release$shared_ext$major'
12729  shlibpath_var=LD_LIBRARY_PATH
12730  ;;
12731
12732freebsd* | dragonfly*)
12733  # DragonFly does not have aout.  When/if they implement a new
12734  # versioning mechanism, adjust this.
12735  if test -x /usr/bin/objformat; then
12736    objformat=`/usr/bin/objformat`
12737  else
12738    case $host_os in
12739    freebsd[23].*) objformat=aout ;;
12740    *) objformat=elf ;;
12741    esac
12742  fi
12743  version_type=freebsd-$objformat
12744  case $version_type in
12745    freebsd-elf*)
12746      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12747      soname_spec='$libname$release$shared_ext$major'
12748      need_version=no
12749      need_lib_prefix=no
12750      ;;
12751    freebsd-*)
12752      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12753      need_version=yes
12754      ;;
12755  esac
12756  shlibpath_var=LD_LIBRARY_PATH
12757  case $host_os in
12758  freebsd2.*)
12759    shlibpath_overrides_runpath=yes
12760    ;;
12761  freebsd3.[01]* | freebsdelf3.[01]*)
12762    shlibpath_overrides_runpath=yes
12763    hardcode_into_libs=yes
12764    ;;
12765  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12766  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12767    shlibpath_overrides_runpath=no
12768    hardcode_into_libs=yes
12769    ;;
12770  *) # from 4.6 on, and DragonFly
12771    shlibpath_overrides_runpath=yes
12772    hardcode_into_libs=yes
12773    ;;
12774  esac
12775  ;;
12776
12777haiku*)
12778  version_type=linux # correct to gnu/linux during the next big refactor
12779  need_lib_prefix=no
12780  need_version=no
12781  dynamic_linker="$host_os runtime_loader"
12782  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12783  soname_spec='$libname$release$shared_ext$major'
12784  shlibpath_var=LIBRARY_PATH
12785  shlibpath_overrides_runpath=no
12786  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12787  hardcode_into_libs=yes
12788  ;;
12789
12790hpux9* | hpux10* | hpux11*)
12791  # Give a soname corresponding to the major version so that dld.sl refuses to
12792  # link against other versions.
12793  version_type=sunos
12794  need_lib_prefix=no
12795  need_version=no
12796  case $host_cpu in
12797  ia64*)
12798    shrext_cmds='.so'
12799    hardcode_into_libs=yes
12800    dynamic_linker="$host_os dld.so"
12801    shlibpath_var=LD_LIBRARY_PATH
12802    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12803    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12804    soname_spec='$libname$release$shared_ext$major'
12805    if test 32 = "$HPUX_IA64_MODE"; then
12806      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12807      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12808    else
12809      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12810      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12811    fi
12812    ;;
12813  hppa*64*)
12814    shrext_cmds='.sl'
12815    hardcode_into_libs=yes
12816    dynamic_linker="$host_os dld.sl"
12817    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12818    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12819    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12820    soname_spec='$libname$release$shared_ext$major'
12821    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12822    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12823    ;;
12824  *)
12825    shrext_cmds='.sl'
12826    dynamic_linker="$host_os dld.sl"
12827    shlibpath_var=SHLIB_PATH
12828    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12829    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12830    soname_spec='$libname$release$shared_ext$major'
12831    ;;
12832  esac
12833  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12834  postinstall_cmds='chmod 555 $lib'
12835  # or fails outright, so override atomically:
12836  install_override_mode=555
12837  ;;
12838
12839interix[3-9]*)
12840  version_type=linux # correct to gnu/linux during the next big refactor
12841  need_lib_prefix=no
12842  need_version=no
12843  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12844  soname_spec='$libname$release$shared_ext$major'
12845  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12846  shlibpath_var=LD_LIBRARY_PATH
12847  shlibpath_overrides_runpath=no
12848  hardcode_into_libs=yes
12849  ;;
12850
12851irix5* | irix6* | nonstopux*)
12852  case $host_os in
12853    nonstopux*) version_type=nonstopux ;;
12854    *)
12855	if test yes = "$lt_cv_prog_gnu_ld"; then
12856		version_type=linux # correct to gnu/linux during the next big refactor
12857	else
12858		version_type=irix
12859	fi ;;
12860  esac
12861  need_lib_prefix=no
12862  need_version=no
12863  soname_spec='$libname$release$shared_ext$major'
12864  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12865  case $host_os in
12866  irix5* | nonstopux*)
12867    libsuff= shlibsuff=
12868    ;;
12869  *)
12870    case $LD in # libtool.m4 will add one of these switches to LD
12871    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12872      libsuff= shlibsuff= libmagic=32-bit;;
12873    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12874      libsuff=32 shlibsuff=N32 libmagic=N32;;
12875    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12876      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12877    *) libsuff= shlibsuff= libmagic=never-match;;
12878    esac
12879    ;;
12880  esac
12881  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12882  shlibpath_overrides_runpath=no
12883  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12884  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12885  hardcode_into_libs=yes
12886  ;;
12887
12888# No shared lib support for Linux oldld, aout, or coff.
12889linux*oldld* | linux*aout* | linux*coff*)
12890  dynamic_linker=no
12891  ;;
12892
12893linux*android*)
12894  version_type=none # Android doesn't support versioned libraries.
12895  need_lib_prefix=no
12896  need_version=no
12897  library_names_spec='$libname$release$shared_ext'
12898  soname_spec='$libname$release$shared_ext'
12899  finish_cmds=
12900  shlibpath_var=LD_LIBRARY_PATH
12901  shlibpath_overrides_runpath=yes
12902
12903  # This implies no fast_install, which is unacceptable.
12904  # Some rework will be needed to allow for fast_install
12905  # before this can be enabled.
12906  hardcode_into_libs=yes
12907
12908  dynamic_linker='Android linker'
12909  # Don't embed -rpath directories since the linker doesn't support them.
12910  hardcode_libdir_flag_spec='-L$libdir'
12911  ;;
12912
12913# This must be glibc/ELF.
12914linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12915  version_type=linux # correct to gnu/linux during the next big refactor
12916  need_lib_prefix=no
12917  need_version=no
12918  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12919  soname_spec='$libname$release$shared_ext$major'
12920  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12921  shlibpath_var=LD_LIBRARY_PATH
12922  shlibpath_overrides_runpath=no
12923
12924  # Some binutils ld are patched to set DT_RUNPATH
12925  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12926  $as_echo_n "(cached) " >&6
12927else
12928  lt_cv_shlibpath_overrides_runpath=no
12929    save_LDFLAGS=$LDFLAGS
12930    save_libdir=$libdir
12931    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12932	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12933    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12934/* end confdefs.h.  */
12935
12936int
12937main ()
12938{
12939
12940  ;
12941  return 0;
12942}
12943_ACEOF
12944if ac_fn_c_try_link "$LINENO"; then :
12945  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12946  lt_cv_shlibpath_overrides_runpath=yes
12947fi
12948fi
12949rm -f core conftest.err conftest.$ac_objext \
12950    conftest$ac_exeext conftest.$ac_ext
12951    LDFLAGS=$save_LDFLAGS
12952    libdir=$save_libdir
12953
12954fi
12955
12956  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12957
12958  # This implies no fast_install, which is unacceptable.
12959  # Some rework will be needed to allow for fast_install
12960  # before this can be enabled.
12961  hardcode_into_libs=yes
12962
12963  # Add ABI-specific directories to the system library path.
12964  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12965
12966  # Ideally, we could use ldconfig to report *all* directores which are
12967  # searched for libraries, however this is still not possible.  Aside from not
12968  # being certain /sbin/ldconfig is available, command
12969  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12970  # even though it is searched at run-time.  Try to do the best guess by
12971  # appending ld.so.conf contents (and includes) to the search path.
12972  if test -f /etc/ld.so.conf; then
12973    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' ' '`
12974    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12975  fi
12976
12977  # We used to test for /lib/ld.so.1 and disable shared libraries on
12978  # powerpc, because MkLinux only supported shared libraries with the
12979  # GNU dynamic linker.  Since this was broken with cross compilers,
12980  # most powerpc-linux boxes support dynamic linking these days and
12981  # people can always --disable-shared, the test was removed, and we
12982  # assume the GNU/Linux dynamic linker is in use.
12983  dynamic_linker='GNU/Linux ld.so'
12984  ;;
12985
12986netbsd*)
12987  version_type=sunos
12988  need_lib_prefix=no
12989  need_version=no
12990  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12991    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12992    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12993    dynamic_linker='NetBSD (a.out) ld.so'
12994  else
12995    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12996    soname_spec='$libname$release$shared_ext$major'
12997    dynamic_linker='NetBSD ld.elf_so'
12998  fi
12999  shlibpath_var=LD_LIBRARY_PATH
13000  shlibpath_overrides_runpath=yes
13001  hardcode_into_libs=yes
13002  ;;
13003
13004newsos6)
13005  version_type=linux # correct to gnu/linux during the next big refactor
13006  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13007  shlibpath_var=LD_LIBRARY_PATH
13008  shlibpath_overrides_runpath=yes
13009  ;;
13010
13011*nto* | *qnx*)
13012  version_type=qnx
13013  need_lib_prefix=no
13014  need_version=no
13015  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13016  soname_spec='$libname$release$shared_ext$major'
13017  shlibpath_var=LD_LIBRARY_PATH
13018  shlibpath_overrides_runpath=no
13019  hardcode_into_libs=yes
13020  dynamic_linker='ldqnx.so'
13021  ;;
13022
13023openbsd* | bitrig*)
13024  version_type=sunos
13025  sys_lib_dlsearch_path_spec=/usr/lib
13026  need_lib_prefix=no
13027  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13028    need_version=no
13029  else
13030    need_version=yes
13031  fi
13032  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13033  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13034  shlibpath_var=LD_LIBRARY_PATH
13035  shlibpath_overrides_runpath=yes
13036  ;;
13037
13038os2*)
13039  libname_spec='$name'
13040  version_type=windows
13041  shrext_cmds=.dll
13042  need_version=no
13043  need_lib_prefix=no
13044  # OS/2 can only load a DLL with a base name of 8 characters or less.
13045  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13046    v=$($ECHO $release$versuffix | tr -d .-);
13047    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13048    $ECHO $n$v`$shared_ext'
13049  library_names_spec='${libname}_dll.$libext'
13050  dynamic_linker='OS/2 ld.exe'
13051  shlibpath_var=BEGINLIBPATH
13052  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13053  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13054  postinstall_cmds='base_file=`basename \$file`~
13055    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13056    dldir=$destdir/`dirname \$dlpath`~
13057    test -d \$dldir || mkdir -p \$dldir~
13058    $install_prog $dir/$dlname \$dldir/$dlname~
13059    chmod a+x \$dldir/$dlname~
13060    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13061      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13062    fi'
13063  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13064    dlpath=$dir/\$dldll~
13065    $RM \$dlpath'
13066  ;;
13067
13068osf3* | osf4* | osf5*)
13069  version_type=osf
13070  need_lib_prefix=no
13071  need_version=no
13072  soname_spec='$libname$release$shared_ext$major'
13073  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13074  shlibpath_var=LD_LIBRARY_PATH
13075  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13076  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13077  ;;
13078
13079rdos*)
13080  dynamic_linker=no
13081  ;;
13082
13083solaris*)
13084  version_type=linux # correct to gnu/linux during the next big refactor
13085  need_lib_prefix=no
13086  need_version=no
13087  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13088  soname_spec='$libname$release$shared_ext$major'
13089  shlibpath_var=LD_LIBRARY_PATH
13090  shlibpath_overrides_runpath=yes
13091  hardcode_into_libs=yes
13092  # ldd complains unless libraries are executable
13093  postinstall_cmds='chmod +x $lib'
13094  ;;
13095
13096sunos4*)
13097  version_type=sunos
13098  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13099  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13100  shlibpath_var=LD_LIBRARY_PATH
13101  shlibpath_overrides_runpath=yes
13102  if test yes = "$with_gnu_ld"; then
13103    need_lib_prefix=no
13104  fi
13105  need_version=yes
13106  ;;
13107
13108sysv4 | sysv4.3*)
13109  version_type=linux # correct to gnu/linux during the next big refactor
13110  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13111  soname_spec='$libname$release$shared_ext$major'
13112  shlibpath_var=LD_LIBRARY_PATH
13113  case $host_vendor in
13114    sni)
13115      shlibpath_overrides_runpath=no
13116      need_lib_prefix=no
13117      runpath_var=LD_RUN_PATH
13118      ;;
13119    siemens)
13120      need_lib_prefix=no
13121      ;;
13122    motorola)
13123      need_lib_prefix=no
13124      need_version=no
13125      shlibpath_overrides_runpath=no
13126      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13127      ;;
13128  esac
13129  ;;
13130
13131sysv4*MP*)
13132  if test -d /usr/nec; then
13133    version_type=linux # correct to gnu/linux during the next big refactor
13134    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13135    soname_spec='$libname$shared_ext.$major'
13136    shlibpath_var=LD_LIBRARY_PATH
13137  fi
13138  ;;
13139
13140sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13141  version_type=sco
13142  need_lib_prefix=no
13143  need_version=no
13144  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13145  soname_spec='$libname$release$shared_ext$major'
13146  shlibpath_var=LD_LIBRARY_PATH
13147  shlibpath_overrides_runpath=yes
13148  hardcode_into_libs=yes
13149  if test yes = "$with_gnu_ld"; then
13150    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13151  else
13152    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13153    case $host_os in
13154      sco3.2v5*)
13155        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13156	;;
13157    esac
13158  fi
13159  sys_lib_dlsearch_path_spec='/usr/lib'
13160  ;;
13161
13162tpf*)
13163  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13164  version_type=linux # correct to gnu/linux during the next big refactor
13165  need_lib_prefix=no
13166  need_version=no
13167  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13168  shlibpath_var=LD_LIBRARY_PATH
13169  shlibpath_overrides_runpath=no
13170  hardcode_into_libs=yes
13171  ;;
13172
13173uts4*)
13174  version_type=linux # correct to gnu/linux during the next big refactor
13175  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13176  soname_spec='$libname$release$shared_ext$major'
13177  shlibpath_var=LD_LIBRARY_PATH
13178  ;;
13179
13180*)
13181  dynamic_linker=no
13182  ;;
13183esac
13184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13185$as_echo "$dynamic_linker" >&6; }
13186test no = "$dynamic_linker" && can_build_shared=no
13187
13188variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13189if test yes = "$GCC"; then
13190  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13191fi
13192
13193if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13194  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
13195fi
13196
13197if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13198  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
13199fi
13200
13201# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13202configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
13203
13204# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13205func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
13206
13207# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13208configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13307$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13308hardcode_action=
13309if test -n "$hardcode_libdir_flag_spec" ||
13310   test -n "$runpath_var" ||
13311   test yes = "$hardcode_automatic"; then
13312
13313  # We can hardcode non-existent directories.
13314  if test no != "$hardcode_direct" &&
13315     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13316     # have to relink, otherwise we might link with an installed library
13317     # when we should be linking with a yet-to-be-installed one
13318     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13319     test no != "$hardcode_minus_L"; then
13320    # Linking always hardcodes the temporary library directory.
13321    hardcode_action=relink
13322  else
13323    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13324    hardcode_action=immediate
13325  fi
13326else
13327  # We cannot hardcode anything, or else we can only hardcode existing
13328  # directories.
13329  hardcode_action=unsupported
13330fi
13331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13332$as_echo "$hardcode_action" >&6; }
13333
13334if test relink = "$hardcode_action" ||
13335   test yes = "$inherit_rpath"; then
13336  # Fast installation is not supported
13337  enable_fast_install=no
13338elif test yes = "$shlibpath_overrides_runpath" ||
13339     test no = "$enable_shared"; then
13340  # Fast installation is not necessary
13341  enable_fast_install=needless
13342fi
13343
13344
13345
13346
13347
13348
13349  if test yes != "$enable_dlopen"; then
13350  enable_dlopen=unknown
13351  enable_dlopen_self=unknown
13352  enable_dlopen_self_static=unknown
13353else
13354  lt_cv_dlopen=no
13355  lt_cv_dlopen_libs=
13356
13357  case $host_os in
13358  beos*)
13359    lt_cv_dlopen=load_add_on
13360    lt_cv_dlopen_libs=
13361    lt_cv_dlopen_self=yes
13362    ;;
13363
13364  mingw* | pw32* | cegcc*)
13365    lt_cv_dlopen=LoadLibrary
13366    lt_cv_dlopen_libs=
13367    ;;
13368
13369  cygwin*)
13370    lt_cv_dlopen=dlopen
13371    lt_cv_dlopen_libs=
13372    ;;
13373
13374  darwin*)
13375    # if libdl is installed we need to link against it
13376    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13377$as_echo_n "checking for dlopen in -ldl... " >&6; }
13378if ${ac_cv_lib_dl_dlopen+:} false; then :
13379  $as_echo_n "(cached) " >&6
13380else
13381  ac_check_lib_save_LIBS=$LIBS
13382LIBS="-ldl  $LIBS"
13383cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13384/* end confdefs.h.  */
13385
13386/* Override any GCC internal prototype to avoid an error.
13387   Use char because int might match the return type of a GCC
13388   builtin and then its argument prototype would still apply.  */
13389#ifdef __cplusplus
13390extern "C"
13391#endif
13392char dlopen ();
13393int
13394main ()
13395{
13396return dlopen ();
13397  ;
13398  return 0;
13399}
13400_ACEOF
13401if ac_fn_c_try_link "$LINENO"; then :
13402  ac_cv_lib_dl_dlopen=yes
13403else
13404  ac_cv_lib_dl_dlopen=no
13405fi
13406rm -f core conftest.err conftest.$ac_objext \
13407    conftest$ac_exeext conftest.$ac_ext
13408LIBS=$ac_check_lib_save_LIBS
13409fi
13410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13411$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13412if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13413  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13414else
13415
13416    lt_cv_dlopen=dyld
13417    lt_cv_dlopen_libs=
13418    lt_cv_dlopen_self=yes
13419
13420fi
13421
13422    ;;
13423
13424  tpf*)
13425    # Don't try to run any link tests for TPF.  We know it's impossible
13426    # because TPF is a cross-compiler, and we know how we open DSOs.
13427    lt_cv_dlopen=dlopen
13428    lt_cv_dlopen_libs=
13429    lt_cv_dlopen_self=no
13430    ;;
13431
13432  *)
13433    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13434if test "x$ac_cv_func_shl_load" = xyes; then :
13435  lt_cv_dlopen=shl_load
13436else
13437  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13438$as_echo_n "checking for shl_load in -ldld... " >&6; }
13439if ${ac_cv_lib_dld_shl_load+:} false; then :
13440  $as_echo_n "(cached) " >&6
13441else
13442  ac_check_lib_save_LIBS=$LIBS
13443LIBS="-ldld  $LIBS"
13444cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13445/* end confdefs.h.  */
13446
13447/* Override any GCC internal prototype to avoid an error.
13448   Use char because int might match the return type of a GCC
13449   builtin and then its argument prototype would still apply.  */
13450#ifdef __cplusplus
13451extern "C"
13452#endif
13453char shl_load ();
13454int
13455main ()
13456{
13457return shl_load ();
13458  ;
13459  return 0;
13460}
13461_ACEOF
13462if ac_fn_c_try_link "$LINENO"; then :
13463  ac_cv_lib_dld_shl_load=yes
13464else
13465  ac_cv_lib_dld_shl_load=no
13466fi
13467rm -f core conftest.err conftest.$ac_objext \
13468    conftest$ac_exeext conftest.$ac_ext
13469LIBS=$ac_check_lib_save_LIBS
13470fi
13471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13472$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13473if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13474  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13475else
13476  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13477if test "x$ac_cv_func_dlopen" = xyes; then :
13478  lt_cv_dlopen=dlopen
13479else
13480  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13481$as_echo_n "checking for dlopen in -ldl... " >&6; }
13482if ${ac_cv_lib_dl_dlopen+:} false; then :
13483  $as_echo_n "(cached) " >&6
13484else
13485  ac_check_lib_save_LIBS=$LIBS
13486LIBS="-ldl  $LIBS"
13487cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13488/* end confdefs.h.  */
13489
13490/* Override any GCC internal prototype to avoid an error.
13491   Use char because int might match the return type of a GCC
13492   builtin and then its argument prototype would still apply.  */
13493#ifdef __cplusplus
13494extern "C"
13495#endif
13496char dlopen ();
13497int
13498main ()
13499{
13500return dlopen ();
13501  ;
13502  return 0;
13503}
13504_ACEOF
13505if ac_fn_c_try_link "$LINENO"; then :
13506  ac_cv_lib_dl_dlopen=yes
13507else
13508  ac_cv_lib_dl_dlopen=no
13509fi
13510rm -f core conftest.err conftest.$ac_objext \
13511    conftest$ac_exeext conftest.$ac_ext
13512LIBS=$ac_check_lib_save_LIBS
13513fi
13514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13515$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13516if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13517  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13518else
13519  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13520$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13521if ${ac_cv_lib_svld_dlopen+:} false; then :
13522  $as_echo_n "(cached) " >&6
13523else
13524  ac_check_lib_save_LIBS=$LIBS
13525LIBS="-lsvld  $LIBS"
13526cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527/* end confdefs.h.  */
13528
13529/* Override any GCC internal prototype to avoid an error.
13530   Use char because int might match the return type of a GCC
13531   builtin and then its argument prototype would still apply.  */
13532#ifdef __cplusplus
13533extern "C"
13534#endif
13535char dlopen ();
13536int
13537main ()
13538{
13539return dlopen ();
13540  ;
13541  return 0;
13542}
13543_ACEOF
13544if ac_fn_c_try_link "$LINENO"; then :
13545  ac_cv_lib_svld_dlopen=yes
13546else
13547  ac_cv_lib_svld_dlopen=no
13548fi
13549rm -f core conftest.err conftest.$ac_objext \
13550    conftest$ac_exeext conftest.$ac_ext
13551LIBS=$ac_check_lib_save_LIBS
13552fi
13553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13554$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13555if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13556  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13557else
13558  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13559$as_echo_n "checking for dld_link in -ldld... " >&6; }
13560if ${ac_cv_lib_dld_dld_link+:} false; then :
13561  $as_echo_n "(cached) " >&6
13562else
13563  ac_check_lib_save_LIBS=$LIBS
13564LIBS="-ldld  $LIBS"
13565cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566/* end confdefs.h.  */
13567
13568/* Override any GCC internal prototype to avoid an error.
13569   Use char because int might match the return type of a GCC
13570   builtin and then its argument prototype would still apply.  */
13571#ifdef __cplusplus
13572extern "C"
13573#endif
13574char dld_link ();
13575int
13576main ()
13577{
13578return dld_link ();
13579  ;
13580  return 0;
13581}
13582_ACEOF
13583if ac_fn_c_try_link "$LINENO"; then :
13584  ac_cv_lib_dld_dld_link=yes
13585else
13586  ac_cv_lib_dld_dld_link=no
13587fi
13588rm -f core conftest.err conftest.$ac_objext \
13589    conftest$ac_exeext conftest.$ac_ext
13590LIBS=$ac_check_lib_save_LIBS
13591fi
13592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13593$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13594if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13595  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13596fi
13597
13598
13599fi
13600
13601
13602fi
13603
13604
13605fi
13606
13607
13608fi
13609
13610
13611fi
13612
13613    ;;
13614  esac
13615
13616  if test no = "$lt_cv_dlopen"; then
13617    enable_dlopen=no
13618  else
13619    enable_dlopen=yes
13620  fi
13621
13622  case $lt_cv_dlopen in
13623  dlopen)
13624    save_CPPFLAGS=$CPPFLAGS
13625    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13626
13627    save_LDFLAGS=$LDFLAGS
13628    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13629
13630    save_LIBS=$LIBS
13631    LIBS="$lt_cv_dlopen_libs $LIBS"
13632
13633    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13634$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13635if ${lt_cv_dlopen_self+:} false; then :
13636  $as_echo_n "(cached) " >&6
13637else
13638  	  if test yes = "$cross_compiling"; then :
13639  lt_cv_dlopen_self=cross
13640else
13641  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13642  lt_status=$lt_dlunknown
13643  cat > conftest.$ac_ext <<_LT_EOF
13644#line $LINENO "configure"
13645#include "confdefs.h"
13646
13647#if HAVE_DLFCN_H
13648#include <dlfcn.h>
13649#endif
13650
13651#include <stdio.h>
13652
13653#ifdef RTLD_GLOBAL
13654#  define LT_DLGLOBAL		RTLD_GLOBAL
13655#else
13656#  ifdef DL_GLOBAL
13657#    define LT_DLGLOBAL		DL_GLOBAL
13658#  else
13659#    define LT_DLGLOBAL		0
13660#  endif
13661#endif
13662
13663/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13664   find out it does not work in some platform. */
13665#ifndef LT_DLLAZY_OR_NOW
13666#  ifdef RTLD_LAZY
13667#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13668#  else
13669#    ifdef DL_LAZY
13670#      define LT_DLLAZY_OR_NOW		DL_LAZY
13671#    else
13672#      ifdef RTLD_NOW
13673#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13674#      else
13675#        ifdef DL_NOW
13676#          define LT_DLLAZY_OR_NOW	DL_NOW
13677#        else
13678#          define LT_DLLAZY_OR_NOW	0
13679#        endif
13680#      endif
13681#    endif
13682#  endif
13683#endif
13684
13685/* When -fvisibility=hidden is used, assume the code has been annotated
13686   correspondingly for the symbols needed.  */
13687#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13688int fnord () __attribute__((visibility("default")));
13689#endif
13690
13691int fnord () { return 42; }
13692int main ()
13693{
13694  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13695  int status = $lt_dlunknown;
13696
13697  if (self)
13698    {
13699      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13700      else
13701        {
13702	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13703          else puts (dlerror ());
13704	}
13705      /* dlclose (self); */
13706    }
13707  else
13708    puts (dlerror ());
13709
13710  return status;
13711}
13712_LT_EOF
13713  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13714  (eval $ac_link) 2>&5
13715  ac_status=$?
13716  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13717  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13718    (./conftest; exit; ) >&5 2>/dev/null
13719    lt_status=$?
13720    case x$lt_status in
13721      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13722      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13723      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13724    esac
13725  else :
13726    # compilation failed
13727    lt_cv_dlopen_self=no
13728  fi
13729fi
13730rm -fr conftest*
13731
13732
13733fi
13734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13735$as_echo "$lt_cv_dlopen_self" >&6; }
13736
13737    if test yes = "$lt_cv_dlopen_self"; then
13738      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13739      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13740$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13741if ${lt_cv_dlopen_self_static+:} false; then :
13742  $as_echo_n "(cached) " >&6
13743else
13744  	  if test yes = "$cross_compiling"; then :
13745  lt_cv_dlopen_self_static=cross
13746else
13747  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13748  lt_status=$lt_dlunknown
13749  cat > conftest.$ac_ext <<_LT_EOF
13750#line $LINENO "configure"
13751#include "confdefs.h"
13752
13753#if HAVE_DLFCN_H
13754#include <dlfcn.h>
13755#endif
13756
13757#include <stdio.h>
13758
13759#ifdef RTLD_GLOBAL
13760#  define LT_DLGLOBAL		RTLD_GLOBAL
13761#else
13762#  ifdef DL_GLOBAL
13763#    define LT_DLGLOBAL		DL_GLOBAL
13764#  else
13765#    define LT_DLGLOBAL		0
13766#  endif
13767#endif
13768
13769/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13770   find out it does not work in some platform. */
13771#ifndef LT_DLLAZY_OR_NOW
13772#  ifdef RTLD_LAZY
13773#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13774#  else
13775#    ifdef DL_LAZY
13776#      define LT_DLLAZY_OR_NOW		DL_LAZY
13777#    else
13778#      ifdef RTLD_NOW
13779#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13780#      else
13781#        ifdef DL_NOW
13782#          define LT_DLLAZY_OR_NOW	DL_NOW
13783#        else
13784#          define LT_DLLAZY_OR_NOW	0
13785#        endif
13786#      endif
13787#    endif
13788#  endif
13789#endif
13790
13791/* When -fvisibility=hidden is used, assume the code has been annotated
13792   correspondingly for the symbols needed.  */
13793#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13794int fnord () __attribute__((visibility("default")));
13795#endif
13796
13797int fnord () { return 42; }
13798int main ()
13799{
13800  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13801  int status = $lt_dlunknown;
13802
13803  if (self)
13804    {
13805      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13806      else
13807        {
13808	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13809          else puts (dlerror ());
13810	}
13811      /* dlclose (self); */
13812    }
13813  else
13814    puts (dlerror ());
13815
13816  return status;
13817}
13818_LT_EOF
13819  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13820  (eval $ac_link) 2>&5
13821  ac_status=$?
13822  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13823  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13824    (./conftest; exit; ) >&5 2>/dev/null
13825    lt_status=$?
13826    case x$lt_status in
13827      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13828      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13829      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13830    esac
13831  else :
13832    # compilation failed
13833    lt_cv_dlopen_self_static=no
13834  fi
13835fi
13836rm -fr conftest*
13837
13838
13839fi
13840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13841$as_echo "$lt_cv_dlopen_self_static" >&6; }
13842    fi
13843
13844    CPPFLAGS=$save_CPPFLAGS
13845    LDFLAGS=$save_LDFLAGS
13846    LIBS=$save_LIBS
13847    ;;
13848  esac
13849
13850  case $lt_cv_dlopen_self in
13851  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13852  *) enable_dlopen_self=unknown ;;
13853  esac
13854
13855  case $lt_cv_dlopen_self_static in
13856  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13857  *) enable_dlopen_self_static=unknown ;;
13858  esac
13859fi
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877striplib=
13878old_striplib=
13879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13880$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13881if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13882  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13883  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13884  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13885$as_echo "yes" >&6; }
13886else
13887# FIXME - insert some real tests, host_os isn't really good enough
13888  case $host_os in
13889  darwin*)
13890    if test -n "$STRIP"; then
13891      striplib="$STRIP -x"
13892      old_striplib="$STRIP -S"
13893      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13894$as_echo "yes" >&6; }
13895    else
13896      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13897$as_echo "no" >&6; }
13898    fi
13899    ;;
13900  *)
13901    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13902$as_echo "no" >&6; }
13903    ;;
13904  esac
13905fi
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918  # Report what library types will actually be built
13919  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13920$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13922$as_echo "$can_build_shared" >&6; }
13923
13924  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13925$as_echo_n "checking whether to build shared libraries... " >&6; }
13926  test no = "$can_build_shared" && enable_shared=no
13927
13928  # On AIX, shared libraries and static libraries use the same namespace, and
13929  # are all built from PIC.
13930  case $host_os in
13931  aix3*)
13932    test yes = "$enable_shared" && enable_static=no
13933    if test -n "$RANLIB"; then
13934      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13935      postinstall_cmds='$RANLIB $lib'
13936    fi
13937    ;;
13938
13939  aix[4-9]*)
13940    if test ia64 != "$host_cpu"; then
13941      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13942      yes,aix,yes) ;;			# shared object as lib.so file only
13943      yes,svr4,*) ;;			# shared object as lib.so archive member only
13944      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13945      esac
13946    fi
13947    ;;
13948  esac
13949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13950$as_echo "$enable_shared" >&6; }
13951
13952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13953$as_echo_n "checking whether to build static libraries... " >&6; }
13954  # Make sure either enable_shared or enable_static is yes.
13955  test yes = "$enable_shared" || enable_static=yes
13956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13957$as_echo "$enable_static" >&6; }
13958
13959
13960
13961
13962fi
13963ac_ext=c
13964ac_cpp='$CPP $CPPFLAGS'
13965ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13966ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13967ac_compiler_gnu=$ac_cv_c_compiler_gnu
13968
13969CC=$lt_save_CC
13970
13971      if test -n "$CXX" && ( test no != "$CXX" &&
13972    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13973    (test g++ != "$CXX"))); then
13974  ac_ext=cpp
13975ac_cpp='$CXXCPP $CPPFLAGS'
13976ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13977ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13978ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13980$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13981if test -z "$CXXCPP"; then
13982  if ${ac_cv_prog_CXXCPP+:} false; then :
13983  $as_echo_n "(cached) " >&6
13984else
13985      # Double quotes because CXXCPP needs to be expanded
13986    for CXXCPP in "$CXX -E" "/lib/cpp"
13987    do
13988      ac_preproc_ok=false
13989for ac_cxx_preproc_warn_flag in '' yes
13990do
13991  # Use a header file that comes with gcc, so configuring glibc
13992  # with a fresh cross-compiler works.
13993  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13994  # <limits.h> exists even on freestanding compilers.
13995  # On the NeXT, cc -E runs the code through the compiler's parser,
13996  # not just through cpp. "Syntax error" is here to catch this case.
13997  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13998/* end confdefs.h.  */
13999#ifdef __STDC__
14000# include <limits.h>
14001#else
14002# include <assert.h>
14003#endif
14004		     Syntax error
14005_ACEOF
14006if ac_fn_cxx_try_cpp "$LINENO"; then :
14007
14008else
14009  # Broken: fails on valid input.
14010continue
14011fi
14012rm -f conftest.err conftest.i conftest.$ac_ext
14013
14014  # OK, works on sane cases.  Now check whether nonexistent headers
14015  # can be detected and how.
14016  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14017/* end confdefs.h.  */
14018#include <ac_nonexistent.h>
14019_ACEOF
14020if ac_fn_cxx_try_cpp "$LINENO"; then :
14021  # Broken: success on invalid input.
14022continue
14023else
14024  # Passes both tests.
14025ac_preproc_ok=:
14026break
14027fi
14028rm -f conftest.err conftest.i conftest.$ac_ext
14029
14030done
14031# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14032rm -f conftest.i conftest.err conftest.$ac_ext
14033if $ac_preproc_ok; then :
14034  break
14035fi
14036
14037    done
14038    ac_cv_prog_CXXCPP=$CXXCPP
14039
14040fi
14041  CXXCPP=$ac_cv_prog_CXXCPP
14042else
14043  ac_cv_prog_CXXCPP=$CXXCPP
14044fi
14045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14046$as_echo "$CXXCPP" >&6; }
14047ac_preproc_ok=false
14048for ac_cxx_preproc_warn_flag in '' yes
14049do
14050  # Use a header file that comes with gcc, so configuring glibc
14051  # with a fresh cross-compiler works.
14052  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14053  # <limits.h> exists even on freestanding compilers.
14054  # On the NeXT, cc -E runs the code through the compiler's parser,
14055  # not just through cpp. "Syntax error" is here to catch this case.
14056  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14057/* end confdefs.h.  */
14058#ifdef __STDC__
14059# include <limits.h>
14060#else
14061# include <assert.h>
14062#endif
14063		     Syntax error
14064_ACEOF
14065if ac_fn_cxx_try_cpp "$LINENO"; then :
14066
14067else
14068  # Broken: fails on valid input.
14069continue
14070fi
14071rm -f conftest.err conftest.i conftest.$ac_ext
14072
14073  # OK, works on sane cases.  Now check whether nonexistent headers
14074  # can be detected and how.
14075  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076/* end confdefs.h.  */
14077#include <ac_nonexistent.h>
14078_ACEOF
14079if ac_fn_cxx_try_cpp "$LINENO"; then :
14080  # Broken: success on invalid input.
14081continue
14082else
14083  # Passes both tests.
14084ac_preproc_ok=:
14085break
14086fi
14087rm -f conftest.err conftest.i conftest.$ac_ext
14088
14089done
14090# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14091rm -f conftest.i conftest.err conftest.$ac_ext
14092if $ac_preproc_ok; then :
14093
14094else
14095  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14096$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14097as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14098See \`config.log' for more details" "$LINENO" 5; }
14099fi
14100
14101ac_ext=c
14102ac_cpp='$CPP $CPPFLAGS'
14103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14105ac_compiler_gnu=$ac_cv_c_compiler_gnu
14106
14107else
14108  _lt_caught_CXX_error=yes
14109fi
14110
14111ac_ext=cpp
14112ac_cpp='$CXXCPP $CPPFLAGS'
14113ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14114ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14115ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14116
14117archive_cmds_need_lc_CXX=no
14118allow_undefined_flag_CXX=
14119always_export_symbols_CXX=no
14120archive_expsym_cmds_CXX=
14121compiler_needs_object_CXX=no
14122export_dynamic_flag_spec_CXX=
14123hardcode_direct_CXX=no
14124hardcode_direct_absolute_CXX=no
14125hardcode_libdir_flag_spec_CXX=
14126hardcode_libdir_separator_CXX=
14127hardcode_minus_L_CXX=no
14128hardcode_shlibpath_var_CXX=unsupported
14129hardcode_automatic_CXX=no
14130inherit_rpath_CXX=no
14131module_cmds_CXX=
14132module_expsym_cmds_CXX=
14133link_all_deplibs_CXX=unknown
14134old_archive_cmds_CXX=$old_archive_cmds
14135reload_flag_CXX=$reload_flag
14136reload_cmds_CXX=$reload_cmds
14137no_undefined_flag_CXX=
14138whole_archive_flag_spec_CXX=
14139enable_shared_with_static_runtimes_CXX=no
14140
14141# Source file extension for C++ test sources.
14142ac_ext=cpp
14143
14144# Object file extension for compiled C++ test sources.
14145objext=o
14146objext_CXX=$objext
14147
14148# No sense in running all these tests if we already determined that
14149# the CXX compiler isn't working.  Some variables (like enable_shared)
14150# are currently assumed to apply to all compilers on this platform,
14151# and will be corrupted by setting them based on a non-working compiler.
14152if test yes != "$_lt_caught_CXX_error"; then
14153  # Code to be used in simple compile tests
14154  lt_simple_compile_test_code="int some_variable = 0;"
14155
14156  # Code to be used in simple link tests
14157  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14158
14159  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14160
14161
14162
14163
14164
14165
14166# If no C compiler was specified, use CC.
14167LTCC=${LTCC-"$CC"}
14168
14169# If no C compiler flags were specified, use CFLAGS.
14170LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14171
14172# Allow CC to be a program name with arguments.
14173compiler=$CC
14174
14175
14176  # save warnings/boilerplate of simple test code
14177  ac_outfile=conftest.$ac_objext
14178echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14179eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14180_lt_compiler_boilerplate=`cat conftest.err`
14181$RM conftest*
14182
14183  ac_outfile=conftest.$ac_objext
14184echo "$lt_simple_link_test_code" >conftest.$ac_ext
14185eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14186_lt_linker_boilerplate=`cat conftest.err`
14187$RM -r conftest*
14188
14189
14190  # Allow CC to be a program name with arguments.
14191  lt_save_CC=$CC
14192  lt_save_CFLAGS=$CFLAGS
14193  lt_save_LD=$LD
14194  lt_save_GCC=$GCC
14195  GCC=$GXX
14196  lt_save_with_gnu_ld=$with_gnu_ld
14197  lt_save_path_LD=$lt_cv_path_LD
14198  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14199    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14200  else
14201    $as_unset lt_cv_prog_gnu_ld
14202  fi
14203  if test -n "${lt_cv_path_LDCXX+set}"; then
14204    lt_cv_path_LD=$lt_cv_path_LDCXX
14205  else
14206    $as_unset lt_cv_path_LD
14207  fi
14208  test -z "${LDCXX+set}" || LD=$LDCXX
14209  CC=${CXX-"c++"}
14210  CFLAGS=$CXXFLAGS
14211  compiler=$CC
14212  compiler_CXX=$CC
14213  func_cc_basename $compiler
14214cc_basename=$func_cc_basename_result
14215
14216
14217  if test -n "$compiler"; then
14218    # We don't want -fno-exception when compiling C++ code, so set the
14219    # no_builtin_flag separately
14220    if test yes = "$GXX"; then
14221      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14222    else
14223      lt_prog_compiler_no_builtin_flag_CXX=
14224    fi
14225
14226    if test yes = "$GXX"; then
14227      # Set up default GNU C++ configuration
14228
14229
14230
14231# Check whether --with-gnu-ld was given.
14232if test "${with_gnu_ld+set}" = set; then :
14233  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
14234else
14235  with_gnu_ld=no
14236fi
14237
14238ac_prog=ld
14239if test yes = "$GCC"; then
14240  # Check if gcc -print-prog-name=ld gives a path.
14241  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14242$as_echo_n "checking for ld used by $CC... " >&6; }
14243  case $host in
14244  *-*-mingw*)
14245    # gcc leaves a trailing carriage return, which upsets mingw
14246    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14247  *)
14248    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14249  esac
14250  case $ac_prog in
14251    # Accept absolute paths.
14252    [\\/]* | ?:[\\/]*)
14253      re_direlt='/[^/][^/]*/\.\./'
14254      # Canonicalize the pathname of ld
14255      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14256      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14257	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14258      done
14259      test -z "$LD" && LD=$ac_prog
14260      ;;
14261  "")
14262    # If it fails, then pretend we aren't using GCC.
14263    ac_prog=ld
14264    ;;
14265  *)
14266    # If it is relative, then search for the first ld in PATH.
14267    with_gnu_ld=unknown
14268    ;;
14269  esac
14270elif test yes = "$with_gnu_ld"; then
14271  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14272$as_echo_n "checking for GNU ld... " >&6; }
14273else
14274  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14275$as_echo_n "checking for non-GNU ld... " >&6; }
14276fi
14277if ${lt_cv_path_LD+:} false; then :
14278  $as_echo_n "(cached) " >&6
14279else
14280  if test -z "$LD"; then
14281  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14282  for ac_dir in $PATH; do
14283    IFS=$lt_save_ifs
14284    test -z "$ac_dir" && ac_dir=.
14285    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14286      lt_cv_path_LD=$ac_dir/$ac_prog
14287      # Check to see if the program is GNU ld.  I'd rather use --version,
14288      # but apparently some variants of GNU ld only accept -v.
14289      # Break only if it was the GNU/non-GNU ld that we prefer.
14290      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14291      *GNU* | *'with BFD'*)
14292	test no != "$with_gnu_ld" && break
14293	;;
14294      *)
14295	test yes != "$with_gnu_ld" && break
14296	;;
14297      esac
14298    fi
14299  done
14300  IFS=$lt_save_ifs
14301else
14302  lt_cv_path_LD=$LD # Let the user override the test with a path.
14303fi
14304fi
14305
14306LD=$lt_cv_path_LD
14307if test -n "$LD"; then
14308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14309$as_echo "$LD" >&6; }
14310else
14311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14312$as_echo "no" >&6; }
14313fi
14314test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14316$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14317if ${lt_cv_prog_gnu_ld+:} false; then :
14318  $as_echo_n "(cached) " >&6
14319else
14320  # I'd rather use --version here, but apparently some GNU lds only accept -v.
14321case `$LD -v 2>&1 </dev/null` in
14322*GNU* | *'with BFD'*)
14323  lt_cv_prog_gnu_ld=yes
14324  ;;
14325*)
14326  lt_cv_prog_gnu_ld=no
14327  ;;
14328esac
14329fi
14330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14331$as_echo "$lt_cv_prog_gnu_ld" >&6; }
14332with_gnu_ld=$lt_cv_prog_gnu_ld
14333
14334
14335
14336
14337
14338
14339
14340      # Check if GNU C++ uses GNU ld as the underlying linker, since the
14341      # archiving commands below assume that GNU ld is being used.
14342      if test yes = "$with_gnu_ld"; then
14343        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14344        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'
14345
14346        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14347        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14348
14349        # If archive_cmds runs LD, not CC, wlarc should be empty
14350        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14351        #     investigate it a little bit more. (MM)
14352        wlarc='$wl'
14353
14354        # ancient GNU ld didn't support --whole-archive et. al.
14355        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14356	  $GREP 'no-whole-archive' > /dev/null; then
14357          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14358        else
14359          whole_archive_flag_spec_CXX=
14360        fi
14361      else
14362        with_gnu_ld=no
14363        wlarc=
14364
14365        # A generic and very simple default shared library creation
14366        # command for GNU C++ for the case where it uses the native
14367        # linker, instead of GNU ld.  If possible, this setting should
14368        # overridden to take advantage of the native linker features on
14369        # the platform it is being used on.
14370        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14371      fi
14372
14373      # Commands to make compiler produce verbose output that lists
14374      # what "hidden" libraries, object files and flags are used when
14375      # linking a shared library.
14376      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14377
14378    else
14379      GXX=no
14380      with_gnu_ld=no
14381      wlarc=
14382    fi
14383
14384    # PORTME: fill in a description of your system's C++ link characteristics
14385    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14386$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14387    ld_shlibs_CXX=yes
14388    case $host_os in
14389      aix3*)
14390        # FIXME: insert proper C++ library support
14391        ld_shlibs_CXX=no
14392        ;;
14393      aix[4-9]*)
14394        if test ia64 = "$host_cpu"; then
14395          # On IA64, the linker does run time linking by default, so we don't
14396          # have to do anything special.
14397          aix_use_runtimelinking=no
14398          exp_sym_flag='-Bexport'
14399          no_entry_flag=
14400        else
14401          aix_use_runtimelinking=no
14402
14403          # Test if we are trying to use run time linking or normal
14404          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14405          # have runtime linking enabled, and use it for executables.
14406          # For shared libraries, we enable/disable runtime linking
14407          # depending on the kind of the shared library created -
14408          # when "with_aix_soname,aix_use_runtimelinking" is:
14409          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
14410          # "aix,yes"  lib.so          shared, rtl:yes, for executables
14411          #            lib.a           static archive
14412          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
14413          #            lib.a(lib.so.V) shared, rtl:no,  for executables
14414          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14415          #            lib.a(lib.so.V) shared, rtl:no
14416          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
14417          #            lib.a           static archive
14418          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14419	    for ld_flag in $LDFLAGS; do
14420	      case $ld_flag in
14421	      *-brtl*)
14422	        aix_use_runtimelinking=yes
14423	        break
14424	        ;;
14425	      esac
14426	    done
14427	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14428	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
14429	      # so we don't have lib.a shared libs to link our executables.
14430	      # We have to force runtime linking in this case.
14431	      aix_use_runtimelinking=yes
14432	      LDFLAGS="$LDFLAGS -Wl,-brtl"
14433	    fi
14434	    ;;
14435          esac
14436
14437          exp_sym_flag='-bexport'
14438          no_entry_flag='-bnoentry'
14439        fi
14440
14441        # When large executables or shared objects are built, AIX ld can
14442        # have problems creating the table of contents.  If linking a library
14443        # or program results in "error TOC overflow" add -mminimal-toc to
14444        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14445        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14446
14447        archive_cmds_CXX=''
14448        hardcode_direct_CXX=yes
14449        hardcode_direct_absolute_CXX=yes
14450        hardcode_libdir_separator_CXX=':'
14451        link_all_deplibs_CXX=yes
14452        file_list_spec_CXX='$wl-f,'
14453        case $with_aix_soname,$aix_use_runtimelinking in
14454        aix,*) ;;	# no import file
14455        svr4,* | *,yes) # use import file
14456          # The Import File defines what to hardcode.
14457          hardcode_direct_CXX=no
14458          hardcode_direct_absolute_CXX=no
14459          ;;
14460        esac
14461
14462        if test yes = "$GXX"; then
14463          case $host_os in aix4.[012]|aix4.[012].*)
14464          # We only want to do this on AIX 4.2 and lower, the check
14465          # below for broken collect2 doesn't work under 4.3+
14466	  collect2name=`$CC -print-prog-name=collect2`
14467	  if test -f "$collect2name" &&
14468	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14469	  then
14470	    # We have reworked collect2
14471	    :
14472	  else
14473	    # We have old collect2
14474	    hardcode_direct_CXX=unsupported
14475	    # It fails to find uninstalled libraries when the uninstalled
14476	    # path is not listed in the libpath.  Setting hardcode_minus_L
14477	    # to unsupported forces relinking
14478	    hardcode_minus_L_CXX=yes
14479	    hardcode_libdir_flag_spec_CXX='-L$libdir'
14480	    hardcode_libdir_separator_CXX=
14481	  fi
14482          esac
14483          shared_flag='-shared'
14484	  if test yes = "$aix_use_runtimelinking"; then
14485	    shared_flag=$shared_flag' $wl-G'
14486	  fi
14487	  # Need to ensure runtime linking is disabled for the traditional
14488	  # shared library, or the linker may eventually find shared libraries
14489	  # /with/ Import File - we do not want to mix them.
14490	  shared_flag_aix='-shared'
14491	  shared_flag_svr4='-shared $wl-G'
14492        else
14493          # not using gcc
14494          if test ia64 = "$host_cpu"; then
14495	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14496	  # chokes on -Wl,-G. The following line is correct:
14497	  shared_flag='-G'
14498          else
14499	    if test yes = "$aix_use_runtimelinking"; then
14500	      shared_flag='$wl-G'
14501	    else
14502	      shared_flag='$wl-bM:SRE'
14503	    fi
14504	    shared_flag_aix='$wl-bM:SRE'
14505	    shared_flag_svr4='$wl-G'
14506          fi
14507        fi
14508
14509        export_dynamic_flag_spec_CXX='$wl-bexpall'
14510        # It seems that -bexpall does not export symbols beginning with
14511        # underscore (_), so it is better to generate a list of symbols to
14512	# export.
14513        always_export_symbols_CXX=yes
14514	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14515          # Warning - without using the other runtime loading flags (-brtl),
14516          # -berok will link without error, but may produce a broken library.
14517          # The "-G" linker flag allows undefined symbols.
14518          no_undefined_flag_CXX='-bernotok'
14519          # Determine the default libpath from the value encoded in an empty
14520          # executable.
14521          if test set = "${lt_cv_aix_libpath+set}"; then
14522  aix_libpath=$lt_cv_aix_libpath
14523else
14524  if ${lt_cv_aix_libpath__CXX+:} false; then :
14525  $as_echo_n "(cached) " >&6
14526else
14527  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14528/* end confdefs.h.  */
14529
14530int
14531main ()
14532{
14533
14534  ;
14535  return 0;
14536}
14537_ACEOF
14538if ac_fn_cxx_try_link "$LINENO"; then :
14539
14540  lt_aix_libpath_sed='
14541      /Import File Strings/,/^$/ {
14542	  /^0/ {
14543	      s/^0  *\([^ ]*\) *$/\1/
14544	      p
14545	  }
14546      }'
14547  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14548  # Check for a 64-bit object if we didn't find anything.
14549  if test -z "$lt_cv_aix_libpath__CXX"; then
14550    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14551  fi
14552fi
14553rm -f core conftest.err conftest.$ac_objext \
14554    conftest$ac_exeext conftest.$ac_ext
14555  if test -z "$lt_cv_aix_libpath__CXX"; then
14556    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14557  fi
14558
14559fi
14560
14561  aix_libpath=$lt_cv_aix_libpath__CXX
14562fi
14563
14564          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14565
14566          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
14567        else
14568          if test ia64 = "$host_cpu"; then
14569	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14570	    allow_undefined_flag_CXX="-z nodefs"
14571	    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"
14572          else
14573	    # Determine the default libpath from the value encoded in an
14574	    # empty executable.
14575	    if test set = "${lt_cv_aix_libpath+set}"; then
14576  aix_libpath=$lt_cv_aix_libpath
14577else
14578  if ${lt_cv_aix_libpath__CXX+:} false; then :
14579  $as_echo_n "(cached) " >&6
14580else
14581  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14582/* end confdefs.h.  */
14583
14584int
14585main ()
14586{
14587
14588  ;
14589  return 0;
14590}
14591_ACEOF
14592if ac_fn_cxx_try_link "$LINENO"; then :
14593
14594  lt_aix_libpath_sed='
14595      /Import File Strings/,/^$/ {
14596	  /^0/ {
14597	      s/^0  *\([^ ]*\) *$/\1/
14598	      p
14599	  }
14600      }'
14601  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14602  # Check for a 64-bit object if we didn't find anything.
14603  if test -z "$lt_cv_aix_libpath__CXX"; then
14604    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14605  fi
14606fi
14607rm -f core conftest.err conftest.$ac_objext \
14608    conftest$ac_exeext conftest.$ac_ext
14609  if test -z "$lt_cv_aix_libpath__CXX"; then
14610    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14611  fi
14612
14613fi
14614
14615  aix_libpath=$lt_cv_aix_libpath__CXX
14616fi
14617
14618	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14619	    # Warning - without using the other run time loading flags,
14620	    # -berok will link without error, but may produce a broken library.
14621	    no_undefined_flag_CXX=' $wl-bernotok'
14622	    allow_undefined_flag_CXX=' $wl-berok'
14623	    if test yes = "$with_gnu_ld"; then
14624	      # We only use this code for GNU lds that support --whole-archive.
14625	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14626	    else
14627	      # Exported symbols can be pulled into shared objects from archives
14628	      whole_archive_flag_spec_CXX='$convenience'
14629	    fi
14630	    archive_cmds_need_lc_CXX=yes
14631	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14632	    # -brtl affects multiple linker settings, -berok does not and is overridden later
14633	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14634	    if test svr4 != "$with_aix_soname"; then
14635	      # This is similar to how AIX traditionally builds its shared
14636	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14637	      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'
14638	    fi
14639	    if test aix != "$with_aix_soname"; then
14640	      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'
14641	    else
14642	      # used by -dlpreopen to get the symbols
14643	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14644	    fi
14645	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14646          fi
14647        fi
14648        ;;
14649
14650      beos*)
14651	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14652	  allow_undefined_flag_CXX=unsupported
14653	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14654	  # support --undefined.  This deserves some investigation.  FIXME
14655	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14656	else
14657	  ld_shlibs_CXX=no
14658	fi
14659	;;
14660
14661      chorus*)
14662        case $cc_basename in
14663          *)
14664	  # FIXME: insert proper C++ library support
14665	  ld_shlibs_CXX=no
14666	  ;;
14667        esac
14668        ;;
14669
14670      cygwin* | mingw* | pw32* | cegcc*)
14671	case $GXX,$cc_basename in
14672	,cl* | no,cl*)
14673	  # Native MSVC
14674	  # hardcode_libdir_flag_spec is actually meaningless, as there is
14675	  # no search path for DLLs.
14676	  hardcode_libdir_flag_spec_CXX=' '
14677	  allow_undefined_flag_CXX=unsupported
14678	  always_export_symbols_CXX=yes
14679	  file_list_spec_CXX='@'
14680	  # Tell ltmain to make .lib files, not .a files.
14681	  libext=lib
14682	  # Tell ltmain to make .dll files, not .so files.
14683	  shrext_cmds=.dll
14684	  # FIXME: Setting linknames here is a bad hack.
14685	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14686	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14687              cp "$export_symbols" "$output_objdir/$soname.def";
14688              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14689            else
14690              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14691            fi~
14692            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14693            linknames='
14694	  # The linker will not automatically build a static lib if we build a DLL.
14695	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14696	  enable_shared_with_static_runtimes_CXX=yes
14697	  # Don't use ranlib
14698	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
14699	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14700            lt_tool_outputfile="@TOOL_OUTPUT@"~
14701            case $lt_outputfile in
14702              *.exe|*.EXE) ;;
14703              *)
14704                lt_outputfile=$lt_outputfile.exe
14705                lt_tool_outputfile=$lt_tool_outputfile.exe
14706                ;;
14707            esac~
14708            func_to_tool_file "$lt_outputfile"~
14709            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14710              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14711              $RM "$lt_outputfile.manifest";
14712            fi'
14713	  ;;
14714	*)
14715	  # g++
14716	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14717	  # as there is no search path for DLLs.
14718	  hardcode_libdir_flag_spec_CXX='-L$libdir'
14719	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14720	  allow_undefined_flag_CXX=unsupported
14721	  always_export_symbols_CXX=no
14722	  enable_shared_with_static_runtimes_CXX=yes
14723
14724	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14725	    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'
14726	    # If the export-symbols file already is a .def file, use it as
14727	    # is; otherwise, prepend EXPORTS...
14728	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14729              cp $export_symbols $output_objdir/$soname.def;
14730            else
14731              echo EXPORTS > $output_objdir/$soname.def;
14732              cat $export_symbols >> $output_objdir/$soname.def;
14733            fi~
14734            $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'
14735	  else
14736	    ld_shlibs_CXX=no
14737	  fi
14738	  ;;
14739	esac
14740	;;
14741      darwin* | rhapsody*)
14742
14743
14744  archive_cmds_need_lc_CXX=no
14745  hardcode_direct_CXX=no
14746  hardcode_automatic_CXX=yes
14747  hardcode_shlibpath_var_CXX=unsupported
14748  if test yes = "$lt_cv_ld_force_load"; then
14749    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\"`'
14750
14751  else
14752    whole_archive_flag_spec_CXX=''
14753  fi
14754  link_all_deplibs_CXX=yes
14755  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14756  case $cc_basename in
14757     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14758     *) _lt_dar_can_shared=$GCC ;;
14759  esac
14760  if test yes = "$_lt_dar_can_shared"; then
14761    output_verbose_link_cmd=func_echo_all
14762    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"
14763    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14764    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"
14765    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"
14766       if test yes != "$lt_cv_apple_cc_single_mod"; then
14767      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"
14768      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"
14769    fi
14770
14771  else
14772  ld_shlibs_CXX=no
14773  fi
14774
14775	;;
14776
14777      os2*)
14778	hardcode_libdir_flag_spec_CXX='-L$libdir'
14779	hardcode_minus_L_CXX=yes
14780	allow_undefined_flag_CXX=unsupported
14781	shrext_cmds=.dll
14782	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14783	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14784	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14785	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14786	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14787	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14788	  emximp -o $lib $output_objdir/$libname.def'
14789	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14790	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14791	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14792	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14793	  prefix_cmds="$SED"~
14794	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14795	    prefix_cmds="$prefix_cmds -e 1d";
14796	  fi~
14797	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14798	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14799	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14800	  emximp -o $lib $output_objdir/$libname.def'
14801	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14802	enable_shared_with_static_runtimes_CXX=yes
14803	;;
14804
14805      dgux*)
14806        case $cc_basename in
14807          ec++*)
14808	    # FIXME: insert proper C++ library support
14809	    ld_shlibs_CXX=no
14810	    ;;
14811          ghcx*)
14812	    # Green Hills C++ Compiler
14813	    # FIXME: insert proper C++ library support
14814	    ld_shlibs_CXX=no
14815	    ;;
14816          *)
14817	    # FIXME: insert proper C++ library support
14818	    ld_shlibs_CXX=no
14819	    ;;
14820        esac
14821        ;;
14822
14823      freebsd2.*)
14824        # C++ shared libraries reported to be fairly broken before
14825	# switch to ELF
14826        ld_shlibs_CXX=no
14827        ;;
14828
14829      freebsd-elf*)
14830        archive_cmds_need_lc_CXX=no
14831        ;;
14832
14833      freebsd* | dragonfly*)
14834        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14835        # conventions
14836        ld_shlibs_CXX=yes
14837        ;;
14838
14839      haiku*)
14840        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14841        link_all_deplibs_CXX=yes
14842        ;;
14843
14844      hpux9*)
14845        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14846        hardcode_libdir_separator_CXX=:
14847        export_dynamic_flag_spec_CXX='$wl-E'
14848        hardcode_direct_CXX=yes
14849        hardcode_minus_L_CXX=yes # Not in the search PATH,
14850				             # but as the default
14851				             # location of the library.
14852
14853        case $cc_basename in
14854          CC*)
14855            # FIXME: insert proper C++ library support
14856            ld_shlibs_CXX=no
14857            ;;
14858          aCC*)
14859            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'
14860            # Commands to make compiler produce verbose output that lists
14861            # what "hidden" libraries, object files and flags are used when
14862            # linking a shared library.
14863            #
14864            # There doesn't appear to be a way to prevent this compiler from
14865            # explicitly linking system object files so we need to strip them
14866            # from the output so that they don't get included in the library
14867            # dependencies.
14868            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"'
14869            ;;
14870          *)
14871            if test yes = "$GXX"; then
14872              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'
14873            else
14874              # FIXME: insert proper C++ library support
14875              ld_shlibs_CXX=no
14876            fi
14877            ;;
14878        esac
14879        ;;
14880
14881      hpux10*|hpux11*)
14882        if test no = "$with_gnu_ld"; then
14883	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14884	  hardcode_libdir_separator_CXX=:
14885
14886          case $host_cpu in
14887            hppa*64*|ia64*)
14888              ;;
14889            *)
14890	      export_dynamic_flag_spec_CXX='$wl-E'
14891              ;;
14892          esac
14893        fi
14894        case $host_cpu in
14895          hppa*64*|ia64*)
14896            hardcode_direct_CXX=no
14897            hardcode_shlibpath_var_CXX=no
14898            ;;
14899          *)
14900            hardcode_direct_CXX=yes
14901            hardcode_direct_absolute_CXX=yes
14902            hardcode_minus_L_CXX=yes # Not in the search PATH,
14903					         # but as the default
14904					         # location of the library.
14905            ;;
14906        esac
14907
14908        case $cc_basename in
14909          CC*)
14910	    # FIXME: insert proper C++ library support
14911	    ld_shlibs_CXX=no
14912	    ;;
14913          aCC*)
14914	    case $host_cpu in
14915	      hppa*64*)
14916	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14917	        ;;
14918	      ia64*)
14919	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14920	        ;;
14921	      *)
14922	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14923	        ;;
14924	    esac
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	    #
14929	    # There doesn't appear to be a way to prevent this compiler from
14930	    # explicitly linking system object files so we need to strip them
14931	    # from the output so that they don't get included in the library
14932	    # dependencies.
14933	    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"'
14934	    ;;
14935          *)
14936	    if test yes = "$GXX"; then
14937	      if test no = "$with_gnu_ld"; then
14938	        case $host_cpu in
14939	          hppa*64*)
14940	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14941	            ;;
14942	          ia64*)
14943	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14944	            ;;
14945	          *)
14946	            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'
14947	            ;;
14948	        esac
14949	      fi
14950	    else
14951	      # FIXME: insert proper C++ library support
14952	      ld_shlibs_CXX=no
14953	    fi
14954	    ;;
14955        esac
14956        ;;
14957
14958      interix[3-9]*)
14959	hardcode_direct_CXX=no
14960	hardcode_shlibpath_var_CXX=no
14961	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14962	export_dynamic_flag_spec_CXX='$wl-E'
14963	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14964	# Instead, shared libraries are loaded at an image base (0x10000000 by
14965	# default) and relocated if they conflict, which is a slow very memory
14966	# consuming and fragmenting process.  To avoid this, we pick a random,
14967	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14968	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14969	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'
14970	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'
14971	;;
14972      irix5* | irix6*)
14973        case $cc_basename in
14974          CC*)
14975	    # SGI C++
14976	    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'
14977
14978	    # Archives containing C++ object files must be created using
14979	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14980	    # necessary to make sure instantiated templates are included
14981	    # in the archive.
14982	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14983	    ;;
14984          *)
14985	    if test yes = "$GXX"; then
14986	      if test no = "$with_gnu_ld"; then
14987	        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'
14988	      else
14989	        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'
14990	      fi
14991	    fi
14992	    link_all_deplibs_CXX=yes
14993	    ;;
14994        esac
14995        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14996        hardcode_libdir_separator_CXX=:
14997        inherit_rpath_CXX=yes
14998        ;;
14999
15000      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15001        case $cc_basename in
15002          KCC*)
15003	    # Kuck and Associates, Inc. (KAI) C++ Compiler
15004
15005	    # KCC will only create a shared library if the output file
15006	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
15007	    # to its proper name (with version) after linking.
15008	    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'
15009	    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'
15010	    # Commands to make compiler produce verbose output that lists
15011	    # what "hidden" libraries, object files and flags are used when
15012	    # linking a shared library.
15013	    #
15014	    # There doesn't appear to be a way to prevent this compiler from
15015	    # explicitly linking system object files so we need to strip them
15016	    # from the output so that they don't get included in the library
15017	    # dependencies.
15018	    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"'
15019
15020	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15021	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15022
15023	    # Archives containing C++ object files must be created using
15024	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15025	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15026	    ;;
15027	  icpc* | ecpc* )
15028	    # Intel C++
15029	    with_gnu_ld=yes
15030	    # version 8.0 and above of icpc choke on multiply defined symbols
15031	    # if we add $predep_objects and $postdep_objects, however 7.1 and
15032	    # earlier do not add the objects themselves.
15033	    case `$CC -V 2>&1` in
15034	      *"Version 7."*)
15035	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15036		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'
15037		;;
15038	      *)  # Version 8.0 or newer
15039	        tmp_idyn=
15040	        case $host_cpu in
15041		  ia64*) tmp_idyn=' -i_dynamic';;
15042		esac
15043	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15044		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'
15045		;;
15046	    esac
15047	    archive_cmds_need_lc_CXX=no
15048	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15049	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15050	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15051	    ;;
15052          pgCC* | pgcpp*)
15053            # Portland Group C++ compiler
15054	    case `$CC -V` in
15055	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15056	      prelink_cmds_CXX='tpldir=Template.dir~
15057               rm -rf $tpldir~
15058               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15059               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15060	      old_archive_cmds_CXX='tpldir=Template.dir~
15061                rm -rf $tpldir~
15062                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15063                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15064                $RANLIB $oldlib'
15065	      archive_cmds_CXX='tpldir=Template.dir~
15066                rm -rf $tpldir~
15067                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15068                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15069	      archive_expsym_cmds_CXX='tpldir=Template.dir~
15070                rm -rf $tpldir~
15071                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15072                $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'
15073	      ;;
15074	    *) # Version 6 and above use weak symbols
15075	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15076	      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'
15077	      ;;
15078	    esac
15079
15080	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
15081	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15082	    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'
15083            ;;
15084	  cxx*)
15085	    # Compaq C++
15086	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15087	    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'
15088
15089	    runpath_var=LD_RUN_PATH
15090	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15091	    hardcode_libdir_separator_CXX=:
15092
15093	    # Commands to make compiler produce verbose output that lists
15094	    # what "hidden" libraries, object files and flags are used when
15095	    # linking a shared library.
15096	    #
15097	    # There doesn't appear to be a way to prevent this compiler from
15098	    # explicitly linking system object files so we need to strip them
15099	    # from the output so that they don't get included in the library
15100	    # dependencies.
15101	    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'
15102	    ;;
15103	  xl* | mpixl* | bgxl*)
15104	    # IBM XL 8.0 on PPC, with GNU ld
15105	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15106	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15107	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15108	    if test yes = "$supports_anon_versioning"; then
15109	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15110                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15111                echo "local: *; };" >> $output_objdir/$libname.ver~
15112                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15113	    fi
15114	    ;;
15115	  *)
15116	    case `$CC -V 2>&1 | sed 5q` in
15117	    *Sun\ C*)
15118	      # Sun C++ 5.9
15119	      no_undefined_flag_CXX=' -zdefs'
15120	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15121	      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'
15122	      hardcode_libdir_flag_spec_CXX='-R$libdir'
15123	      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'
15124	      compiler_needs_object_CXX=yes
15125
15126	      # Not sure whether something based on
15127	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15128	      # would be better.
15129	      output_verbose_link_cmd='func_echo_all'
15130
15131	      # Archives containing C++ object files must be created using
15132	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15133	      # necessary to make sure instantiated templates are included
15134	      # in the archive.
15135	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15136	      ;;
15137	    esac
15138	    ;;
15139	esac
15140	;;
15141
15142      lynxos*)
15143        # FIXME: insert proper C++ library support
15144	ld_shlibs_CXX=no
15145	;;
15146
15147      m88k*)
15148        # FIXME: insert proper C++ library support
15149        ld_shlibs_CXX=no
15150	;;
15151
15152      mvs*)
15153        case $cc_basename in
15154          cxx*)
15155	    # FIXME: insert proper C++ library support
15156	    ld_shlibs_CXX=no
15157	    ;;
15158	  *)
15159	    # FIXME: insert proper C++ library support
15160	    ld_shlibs_CXX=no
15161	    ;;
15162	esac
15163	;;
15164
15165      netbsd*)
15166        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15167	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15168	  wlarc=
15169	  hardcode_libdir_flag_spec_CXX='-R$libdir'
15170	  hardcode_direct_CXX=yes
15171	  hardcode_shlibpath_var_CXX=no
15172	fi
15173	# Workaround some broken pre-1.5 toolchains
15174	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15175	;;
15176
15177      *nto* | *qnx*)
15178        ld_shlibs_CXX=yes
15179	;;
15180
15181      openbsd* | bitrig*)
15182	if test -f /usr/libexec/ld.so; then
15183	  hardcode_direct_CXX=yes
15184	  hardcode_shlibpath_var_CXX=no
15185	  hardcode_direct_absolute_CXX=yes
15186	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15187	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15188	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15189	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15190	    export_dynamic_flag_spec_CXX='$wl-E'
15191	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15192	  fi
15193	  output_verbose_link_cmd=func_echo_all
15194	else
15195	  ld_shlibs_CXX=no
15196	fi
15197	;;
15198
15199      osf3* | osf4* | osf5*)
15200        case $cc_basename in
15201          KCC*)
15202	    # Kuck and Associates, Inc. (KAI) C++ Compiler
15203
15204	    # KCC will only create a shared library if the output file
15205	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
15206	    # to its proper name (with version) after linking.
15207	    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'
15208
15209	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15210	    hardcode_libdir_separator_CXX=:
15211
15212	    # Archives containing C++ object files must be created using
15213	    # the KAI C++ compiler.
15214	    case $host in
15215	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15216	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15217	    esac
15218	    ;;
15219          RCC*)
15220	    # Rational C++ 2.4.1
15221	    # FIXME: insert proper C++ library support
15222	    ld_shlibs_CXX=no
15223	    ;;
15224          cxx*)
15225	    case $host in
15226	      osf3*)
15227	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15228	        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'
15229	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15230		;;
15231	      *)
15232	        allow_undefined_flag_CXX=' -expect_unresolved \*'
15233	        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'
15234	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15235                  echo "-hidden">> $lib.exp~
15236                  $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~
15237                  $RM $lib.exp'
15238	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15239		;;
15240	    esac
15241
15242	    hardcode_libdir_separator_CXX=:
15243
15244	    # Commands to make compiler produce verbose output that lists
15245	    # what "hidden" libraries, object files and flags are used when
15246	    # linking a shared library.
15247	    #
15248	    # There doesn't appear to be a way to prevent this compiler from
15249	    # explicitly linking system object files so we need to strip them
15250	    # from the output so that they don't get included in the library
15251	    # dependencies.
15252	    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"'
15253	    ;;
15254	  *)
15255	    if test yes,no = "$GXX,$with_gnu_ld"; then
15256	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15257	      case $host in
15258	        osf3*)
15259	          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'
15260		  ;;
15261	        *)
15262	          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'
15263		  ;;
15264	      esac
15265
15266	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15267	      hardcode_libdir_separator_CXX=:
15268
15269	      # Commands to make compiler produce verbose output that lists
15270	      # what "hidden" libraries, object files and flags are used when
15271	      # linking a shared library.
15272	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15273
15274	    else
15275	      # FIXME: insert proper C++ library support
15276	      ld_shlibs_CXX=no
15277	    fi
15278	    ;;
15279        esac
15280        ;;
15281
15282      psos*)
15283        # FIXME: insert proper C++ library support
15284        ld_shlibs_CXX=no
15285        ;;
15286
15287      sunos4*)
15288        case $cc_basename in
15289          CC*)
15290	    # Sun C++ 4.x
15291	    # FIXME: insert proper C++ library support
15292	    ld_shlibs_CXX=no
15293	    ;;
15294          lcc*)
15295	    # Lucid
15296	    # FIXME: insert proper C++ library support
15297	    ld_shlibs_CXX=no
15298	    ;;
15299          *)
15300	    # FIXME: insert proper C++ library support
15301	    ld_shlibs_CXX=no
15302	    ;;
15303        esac
15304        ;;
15305
15306      solaris*)
15307        case $cc_basename in
15308          CC* | sunCC*)
15309	    # Sun C++ 4.2, 5.x and Centerline C++
15310            archive_cmds_need_lc_CXX=yes
15311	    no_undefined_flag_CXX=' -zdefs'
15312	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15313	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15314              $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'
15315
15316	    hardcode_libdir_flag_spec_CXX='-R$libdir'
15317	    hardcode_shlibpath_var_CXX=no
15318	    case $host_os in
15319	      solaris2.[0-5] | solaris2.[0-5].*) ;;
15320	      *)
15321		# The compiler driver will combine and reorder linker options,
15322		# but understands '-z linker_flag'.
15323	        # Supported since Solaris 2.6 (maybe 2.5.1?)
15324		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15325	        ;;
15326	    esac
15327	    link_all_deplibs_CXX=yes
15328
15329	    output_verbose_link_cmd='func_echo_all'
15330
15331	    # Archives containing C++ object files must be created using
15332	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15333	    # necessary to make sure instantiated templates are included
15334	    # in the archive.
15335	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15336	    ;;
15337          gcx*)
15338	    # Green Hills C++ Compiler
15339	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15340
15341	    # The C++ compiler must be used to create the archive.
15342	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15343	    ;;
15344          *)
15345	    # GNU C++ compiler with Solaris linker
15346	    if test yes,no = "$GXX,$with_gnu_ld"; then
15347	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
15348	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15349	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15350	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15351                  $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'
15352
15353	        # Commands to make compiler produce verbose output that lists
15354	        # what "hidden" libraries, object files and flags are used when
15355	        # linking a shared library.
15356	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15357	      else
15358	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
15359	        # platform.
15360	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15361	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15362                  $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'
15363
15364	        # Commands to make compiler produce verbose output that lists
15365	        # what "hidden" libraries, object files and flags are used when
15366	        # linking a shared library.
15367	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15368	      fi
15369
15370	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15371	      case $host_os in
15372		solaris2.[0-5] | solaris2.[0-5].*) ;;
15373		*)
15374		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15375		  ;;
15376	      esac
15377	    fi
15378	    ;;
15379        esac
15380        ;;
15381
15382    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15383      no_undefined_flag_CXX='$wl-z,text'
15384      archive_cmds_need_lc_CXX=no
15385      hardcode_shlibpath_var_CXX=no
15386      runpath_var='LD_RUN_PATH'
15387
15388      case $cc_basename in
15389        CC*)
15390	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15391	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15392	  ;;
15393	*)
15394	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15395	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15396	  ;;
15397      esac
15398      ;;
15399
15400      sysv5* | sco3.2v5* | sco5v6*)
15401	# Note: We CANNOT use -z defs as we might desire, because we do not
15402	# link with -lc, and that would cause any symbols used from libc to
15403	# always be unresolved, which means just about no library would
15404	# ever link correctly.  If we're not using GNU ld we use -z text
15405	# though, which does catch some bad symbols but isn't as heavy-handed
15406	# as -z defs.
15407	no_undefined_flag_CXX='$wl-z,text'
15408	allow_undefined_flag_CXX='$wl-z,nodefs'
15409	archive_cmds_need_lc_CXX=no
15410	hardcode_shlibpath_var_CXX=no
15411	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15412	hardcode_libdir_separator_CXX=':'
15413	link_all_deplibs_CXX=yes
15414	export_dynamic_flag_spec_CXX='$wl-Bexport'
15415	runpath_var='LD_RUN_PATH'
15416
15417	case $cc_basename in
15418          CC*)
15419	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15420	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15421	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15422              '"$old_archive_cmds_CXX"
15423	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15424              '"$reload_cmds_CXX"
15425	    ;;
15426	  *)
15427	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15428	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15429	    ;;
15430	esac
15431      ;;
15432
15433      tandem*)
15434        case $cc_basename in
15435          NCC*)
15436	    # NonStop-UX NCC 3.20
15437	    # FIXME: insert proper C++ library support
15438	    ld_shlibs_CXX=no
15439	    ;;
15440          *)
15441	    # FIXME: insert proper C++ library support
15442	    ld_shlibs_CXX=no
15443	    ;;
15444        esac
15445        ;;
15446
15447      vxworks*)
15448        # FIXME: insert proper C++ library support
15449        ld_shlibs_CXX=no
15450        ;;
15451
15452      *)
15453        # FIXME: insert proper C++ library support
15454        ld_shlibs_CXX=no
15455        ;;
15456    esac
15457
15458    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15459$as_echo "$ld_shlibs_CXX" >&6; }
15460    test no = "$ld_shlibs_CXX" && can_build_shared=no
15461
15462    GCC_CXX=$GXX
15463    LD_CXX=$LD
15464
15465    ## CAVEAT EMPTOR:
15466    ## There is no encapsulation within the following macros, do not change
15467    ## the running order or otherwise move them around unless you know exactly
15468    ## what you are doing...
15469    # Dependencies to place before and after the object being linked:
15470predep_objects_CXX=
15471postdep_objects_CXX=
15472predeps_CXX=
15473postdeps_CXX=
15474compiler_lib_search_path_CXX=
15475
15476cat > conftest.$ac_ext <<_LT_EOF
15477class Foo
15478{
15479public:
15480  Foo (void) { a = 0; }
15481private:
15482  int a;
15483};
15484_LT_EOF
15485
15486
15487_lt_libdeps_save_CFLAGS=$CFLAGS
15488case "$CC $CFLAGS " in #(
15489*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15490*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15491*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15492esac
15493
15494if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15495  (eval $ac_compile) 2>&5
15496  ac_status=$?
15497  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15498  test $ac_status = 0; }; then
15499  # Parse the compiler output and extract the necessary
15500  # objects, libraries and library flags.
15501
15502  # Sentinel used to keep track of whether or not we are before
15503  # the conftest object file.
15504  pre_test_object_deps_done=no
15505
15506  for p in `eval "$output_verbose_link_cmd"`; do
15507    case $prev$p in
15508
15509    -L* | -R* | -l*)
15510       # Some compilers place space between "-{L,R}" and the path.
15511       # Remove the space.
15512       if test x-L = "$p" ||
15513          test x-R = "$p"; then
15514	 prev=$p
15515	 continue
15516       fi
15517
15518       # Expand the sysroot to ease extracting the directories later.
15519       if test -z "$prev"; then
15520         case $p in
15521         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15522         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15523         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15524         esac
15525       fi
15526       case $p in
15527       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15528       esac
15529       if test no = "$pre_test_object_deps_done"; then
15530	 case $prev in
15531	 -L | -R)
15532	   # Internal compiler library paths should come after those
15533	   # provided the user.  The postdeps already come after the
15534	   # user supplied libs so there is no need to process them.
15535	   if test -z "$compiler_lib_search_path_CXX"; then
15536	     compiler_lib_search_path_CXX=$prev$p
15537	   else
15538	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15539	   fi
15540	   ;;
15541	 # The "-l" case would never come before the object being
15542	 # linked, so don't bother handling this case.
15543	 esac
15544       else
15545	 if test -z "$postdeps_CXX"; then
15546	   postdeps_CXX=$prev$p
15547	 else
15548	   postdeps_CXX="${postdeps_CXX} $prev$p"
15549	 fi
15550       fi
15551       prev=
15552       ;;
15553
15554    *.lto.$objext) ;; # Ignore GCC LTO objects
15555    *.$objext)
15556       # This assumes that the test object file only shows up
15557       # once in the compiler output.
15558       if test "$p" = "conftest.$objext"; then
15559	 pre_test_object_deps_done=yes
15560	 continue
15561       fi
15562
15563       if test no = "$pre_test_object_deps_done"; then
15564	 if test -z "$predep_objects_CXX"; then
15565	   predep_objects_CXX=$p
15566	 else
15567	   predep_objects_CXX="$predep_objects_CXX $p"
15568	 fi
15569       else
15570	 if test -z "$postdep_objects_CXX"; then
15571	   postdep_objects_CXX=$p
15572	 else
15573	   postdep_objects_CXX="$postdep_objects_CXX $p"
15574	 fi
15575       fi
15576       ;;
15577
15578    *) ;; # Ignore the rest.
15579
15580    esac
15581  done
15582
15583  # Clean up.
15584  rm -f a.out a.exe
15585else
15586  echo "libtool.m4: error: problem compiling CXX test program"
15587fi
15588
15589$RM -f confest.$objext
15590CFLAGS=$_lt_libdeps_save_CFLAGS
15591
15592# PORTME: override above test on systems where it is broken
15593case $host_os in
15594interix[3-9]*)
15595  # Interix 3.5 installs completely hosed .la files for C++, so rather than
15596  # hack all around it, let's just trust "g++" to DTRT.
15597  predep_objects_CXX=
15598  postdep_objects_CXX=
15599  postdeps_CXX=
15600  ;;
15601esac
15602
15603
15604case " $postdeps_CXX " in
15605*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15606esac
15607 compiler_lib_search_dirs_CXX=
15608if test -n "${compiler_lib_search_path_CXX}"; then
15609 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15610fi
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642    lt_prog_compiler_wl_CXX=
15643lt_prog_compiler_pic_CXX=
15644lt_prog_compiler_static_CXX=
15645
15646
15647  # C++ specific cases for pic, static, wl, etc.
15648  if test yes = "$GXX"; then
15649    lt_prog_compiler_wl_CXX='-Wl,'
15650    lt_prog_compiler_static_CXX='-static'
15651
15652    case $host_os in
15653    aix*)
15654      # All AIX code is PIC.
15655      if test ia64 = "$host_cpu"; then
15656	# AIX 5 now supports IA64 processor
15657	lt_prog_compiler_static_CXX='-Bstatic'
15658      fi
15659      lt_prog_compiler_pic_CXX='-fPIC'
15660      ;;
15661
15662    amigaos*)
15663      case $host_cpu in
15664      powerpc)
15665            # see comment about AmigaOS4 .so support
15666            lt_prog_compiler_pic_CXX='-fPIC'
15667        ;;
15668      m68k)
15669            # FIXME: we need at least 68020 code to build shared libraries, but
15670            # adding the '-m68020' flag to GCC prevents building anything better,
15671            # like '-m68040'.
15672            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15673        ;;
15674      esac
15675      ;;
15676
15677    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15678      # PIC is the default for these OSes.
15679      ;;
15680    mingw* | cygwin* | os2* | pw32* | cegcc*)
15681      # This hack is so that the source file can tell whether it is being
15682      # built for inclusion in a dll (and should export symbols for example).
15683      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15684      # (--disable-auto-import) libraries
15685      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15686      case $host_os in
15687      os2*)
15688	lt_prog_compiler_static_CXX='$wl-static'
15689	;;
15690      esac
15691      ;;
15692    darwin* | rhapsody*)
15693      # PIC is the default on this platform
15694      # Common symbols not allowed in MH_DYLIB files
15695      lt_prog_compiler_pic_CXX='-fno-common'
15696      ;;
15697    *djgpp*)
15698      # DJGPP does not support shared libraries at all
15699      lt_prog_compiler_pic_CXX=
15700      ;;
15701    haiku*)
15702      # PIC is the default for Haiku.
15703      # The "-static" flag exists, but is broken.
15704      lt_prog_compiler_static_CXX=
15705      ;;
15706    interix[3-9]*)
15707      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15708      # Instead, we relocate shared libraries at runtime.
15709      ;;
15710    sysv4*MP*)
15711      if test -d /usr/nec; then
15712	lt_prog_compiler_pic_CXX=-Kconform_pic
15713      fi
15714      ;;
15715    hpux*)
15716      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15717      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15718      # sets the default TLS model and affects inlining.
15719      case $host_cpu in
15720      hppa*64*)
15721	;;
15722      *)
15723	lt_prog_compiler_pic_CXX='-fPIC'
15724	;;
15725      esac
15726      ;;
15727    *qnx* | *nto*)
15728      # QNX uses GNU C++, but need to define -shared option too, otherwise
15729      # it will coredump.
15730      lt_prog_compiler_pic_CXX='-fPIC -shared'
15731      ;;
15732    *)
15733      lt_prog_compiler_pic_CXX='-fPIC'
15734      ;;
15735    esac
15736  else
15737    case $host_os in
15738      aix[4-9]*)
15739	# All AIX code is PIC.
15740	if test ia64 = "$host_cpu"; then
15741	  # AIX 5 now supports IA64 processor
15742	  lt_prog_compiler_static_CXX='-Bstatic'
15743	else
15744	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15745	fi
15746	;;
15747      chorus*)
15748	case $cc_basename in
15749	cxch68*)
15750	  # Green Hills C++ Compiler
15751	  # _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"
15752	  ;;
15753	esac
15754	;;
15755      mingw* | cygwin* | os2* | pw32* | cegcc*)
15756	# This hack is so that the source file can tell whether it is being
15757	# built for inclusion in a dll (and should export symbols for example).
15758	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15759	;;
15760      dgux*)
15761	case $cc_basename in
15762	  ec++*)
15763	    lt_prog_compiler_pic_CXX='-KPIC'
15764	    ;;
15765	  ghcx*)
15766	    # Green Hills C++ Compiler
15767	    lt_prog_compiler_pic_CXX='-pic'
15768	    ;;
15769	  *)
15770	    ;;
15771	esac
15772	;;
15773      freebsd* | dragonfly*)
15774	# FreeBSD uses GNU C++
15775	;;
15776      hpux9* | hpux10* | hpux11*)
15777	case $cc_basename in
15778	  CC*)
15779	    lt_prog_compiler_wl_CXX='-Wl,'
15780	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15781	    if test ia64 != "$host_cpu"; then
15782	      lt_prog_compiler_pic_CXX='+Z'
15783	    fi
15784	    ;;
15785	  aCC*)
15786	    lt_prog_compiler_wl_CXX='-Wl,'
15787	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15788	    case $host_cpu in
15789	    hppa*64*|ia64*)
15790	      # +Z the default
15791	      ;;
15792	    *)
15793	      lt_prog_compiler_pic_CXX='+Z'
15794	      ;;
15795	    esac
15796	    ;;
15797	  *)
15798	    ;;
15799	esac
15800	;;
15801      interix*)
15802	# This is c89, which is MS Visual C++ (no shared libs)
15803	# Anyone wants to do a port?
15804	;;
15805      irix5* | irix6* | nonstopux*)
15806	case $cc_basename in
15807	  CC*)
15808	    lt_prog_compiler_wl_CXX='-Wl,'
15809	    lt_prog_compiler_static_CXX='-non_shared'
15810	    # CC pic flag -KPIC is the default.
15811	    ;;
15812	  *)
15813	    ;;
15814	esac
15815	;;
15816      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15817	case $cc_basename in
15818	  KCC*)
15819	    # KAI C++ Compiler
15820	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15821	    lt_prog_compiler_pic_CXX='-fPIC'
15822	    ;;
15823	  ecpc* )
15824	    # old Intel C++ for x86_64, which still supported -KPIC.
15825	    lt_prog_compiler_wl_CXX='-Wl,'
15826	    lt_prog_compiler_pic_CXX='-KPIC'
15827	    lt_prog_compiler_static_CXX='-static'
15828	    ;;
15829	  icpc* )
15830	    # Intel C++, used to be incompatible with GCC.
15831	    # ICC 10 doesn't accept -KPIC any more.
15832	    lt_prog_compiler_wl_CXX='-Wl,'
15833	    lt_prog_compiler_pic_CXX='-fPIC'
15834	    lt_prog_compiler_static_CXX='-static'
15835	    ;;
15836	  pgCC* | pgcpp*)
15837	    # Portland Group C++ compiler
15838	    lt_prog_compiler_wl_CXX='-Wl,'
15839	    lt_prog_compiler_pic_CXX='-fpic'
15840	    lt_prog_compiler_static_CXX='-Bstatic'
15841	    ;;
15842	  cxx*)
15843	    # Compaq C++
15844	    # Make sure the PIC flag is empty.  It appears that all Alpha
15845	    # Linux and Compaq Tru64 Unix objects are PIC.
15846	    lt_prog_compiler_pic_CXX=
15847	    lt_prog_compiler_static_CXX='-non_shared'
15848	    ;;
15849	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15850	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15851	    lt_prog_compiler_wl_CXX='-Wl,'
15852	    lt_prog_compiler_pic_CXX='-qpic'
15853	    lt_prog_compiler_static_CXX='-qstaticlink'
15854	    ;;
15855	  *)
15856	    case `$CC -V 2>&1 | sed 5q` in
15857	    *Sun\ C*)
15858	      # Sun C++ 5.9
15859	      lt_prog_compiler_pic_CXX='-KPIC'
15860	      lt_prog_compiler_static_CXX='-Bstatic'
15861	      lt_prog_compiler_wl_CXX='-Qoption ld '
15862	      ;;
15863	    esac
15864	    ;;
15865	esac
15866	;;
15867      lynxos*)
15868	;;
15869      m88k*)
15870	;;
15871      mvs*)
15872	case $cc_basename in
15873	  cxx*)
15874	    lt_prog_compiler_pic_CXX='-W c,exportall'
15875	    ;;
15876	  *)
15877	    ;;
15878	esac
15879	;;
15880      netbsd*)
15881	;;
15882      *qnx* | *nto*)
15883        # QNX uses GNU C++, but need to define -shared option too, otherwise
15884        # it will coredump.
15885        lt_prog_compiler_pic_CXX='-fPIC -shared'
15886        ;;
15887      osf3* | osf4* | osf5*)
15888	case $cc_basename in
15889	  KCC*)
15890	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15891	    ;;
15892	  RCC*)
15893	    # Rational C++ 2.4.1
15894	    lt_prog_compiler_pic_CXX='-pic'
15895	    ;;
15896	  cxx*)
15897	    # Digital/Compaq C++
15898	    lt_prog_compiler_wl_CXX='-Wl,'
15899	    # Make sure the PIC flag is empty.  It appears that all Alpha
15900	    # Linux and Compaq Tru64 Unix objects are PIC.
15901	    lt_prog_compiler_pic_CXX=
15902	    lt_prog_compiler_static_CXX='-non_shared'
15903	    ;;
15904	  *)
15905	    ;;
15906	esac
15907	;;
15908      psos*)
15909	;;
15910      solaris*)
15911	case $cc_basename in
15912	  CC* | sunCC*)
15913	    # Sun C++ 4.2, 5.x and Centerline C++
15914	    lt_prog_compiler_pic_CXX='-KPIC'
15915	    lt_prog_compiler_static_CXX='-Bstatic'
15916	    lt_prog_compiler_wl_CXX='-Qoption ld '
15917	    ;;
15918	  gcx*)
15919	    # Green Hills C++ Compiler
15920	    lt_prog_compiler_pic_CXX='-PIC'
15921	    ;;
15922	  *)
15923	    ;;
15924	esac
15925	;;
15926      sunos4*)
15927	case $cc_basename in
15928	  CC*)
15929	    # Sun C++ 4.x
15930	    lt_prog_compiler_pic_CXX='-pic'
15931	    lt_prog_compiler_static_CXX='-Bstatic'
15932	    ;;
15933	  lcc*)
15934	    # Lucid
15935	    lt_prog_compiler_pic_CXX='-pic'
15936	    ;;
15937	  *)
15938	    ;;
15939	esac
15940	;;
15941      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15942	case $cc_basename in
15943	  CC*)
15944	    lt_prog_compiler_wl_CXX='-Wl,'
15945	    lt_prog_compiler_pic_CXX='-KPIC'
15946	    lt_prog_compiler_static_CXX='-Bstatic'
15947	    ;;
15948	esac
15949	;;
15950      tandem*)
15951	case $cc_basename in
15952	  NCC*)
15953	    # NonStop-UX NCC 3.20
15954	    lt_prog_compiler_pic_CXX='-KPIC'
15955	    ;;
15956	  *)
15957	    ;;
15958	esac
15959	;;
15960      vxworks*)
15961	;;
15962      *)
15963	lt_prog_compiler_can_build_shared_CXX=no
15964	;;
15965    esac
15966  fi
15967
15968case $host_os in
15969  # For platforms that do not support PIC, -DPIC is meaningless:
15970  *djgpp*)
15971    lt_prog_compiler_pic_CXX=
15972    ;;
15973  *)
15974    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15975    ;;
15976esac
15977
15978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15979$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15980if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15981  $as_echo_n "(cached) " >&6
15982else
15983  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15984fi
15985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15986$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15987lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15988
15989#
15990# Check to make sure the PIC flag actually works.
15991#
15992if test -n "$lt_prog_compiler_pic_CXX"; then
15993  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15994$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15995if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15996  $as_echo_n "(cached) " >&6
15997else
15998  lt_cv_prog_compiler_pic_works_CXX=no
15999   ac_outfile=conftest.$ac_objext
16000   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16001   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
16002   # Insert the option either (1) after the last *FLAGS variable, or
16003   # (2) before a word containing "conftest.", or (3) at the end.
16004   # Note that $ac_compile itself does not contain backslashes and begins
16005   # with a dollar sign (not a hyphen), so the echo should work correctly.
16006   # The option is referenced via a variable to avoid confusing sed.
16007   lt_compile=`echo "$ac_compile" | $SED \
16008   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16009   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16010   -e 's:$: $lt_compiler_flag:'`
16011   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16012   (eval "$lt_compile" 2>conftest.err)
16013   ac_status=$?
16014   cat conftest.err >&5
16015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016   if (exit $ac_status) && test -s "$ac_outfile"; then
16017     # The compiler can only warn and ignore the option if not recognized
16018     # So say no if there are warnings other than the usual output.
16019     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16020     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16021     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16022       lt_cv_prog_compiler_pic_works_CXX=yes
16023     fi
16024   fi
16025   $RM conftest*
16026
16027fi
16028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16029$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16030
16031if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16032    case $lt_prog_compiler_pic_CXX in
16033     "" | " "*) ;;
16034     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16035     esac
16036else
16037    lt_prog_compiler_pic_CXX=
16038     lt_prog_compiler_can_build_shared_CXX=no
16039fi
16040
16041fi
16042
16043
16044
16045
16046
16047#
16048# Check to make sure the static flag actually works.
16049#
16050wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16052$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16053if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16054  $as_echo_n "(cached) " >&6
16055else
16056  lt_cv_prog_compiler_static_works_CXX=no
16057   save_LDFLAGS=$LDFLAGS
16058   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16059   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16060   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16061     # The linker can only warn and ignore the option if not recognized
16062     # So say no if there are warnings
16063     if test -s conftest.err; then
16064       # Append any errors to the config.log.
16065       cat conftest.err 1>&5
16066       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16067       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16068       if diff conftest.exp conftest.er2 >/dev/null; then
16069         lt_cv_prog_compiler_static_works_CXX=yes
16070       fi
16071     else
16072       lt_cv_prog_compiler_static_works_CXX=yes
16073     fi
16074   fi
16075   $RM -r conftest*
16076   LDFLAGS=$save_LDFLAGS
16077
16078fi
16079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16080$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16081
16082if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16083    :
16084else
16085    lt_prog_compiler_static_CXX=
16086fi
16087
16088
16089
16090
16091    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16092$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16093if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16094  $as_echo_n "(cached) " >&6
16095else
16096  lt_cv_prog_compiler_c_o_CXX=no
16097   $RM -r conftest 2>/dev/null
16098   mkdir conftest
16099   cd conftest
16100   mkdir out
16101   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16102
16103   lt_compiler_flag="-o out/conftest2.$ac_objext"
16104   # Insert the option either (1) after the last *FLAGS variable, or
16105   # (2) before a word containing "conftest.", or (3) at the end.
16106   # Note that $ac_compile itself does not contain backslashes and begins
16107   # with a dollar sign (not a hyphen), so the echo should work correctly.
16108   lt_compile=`echo "$ac_compile" | $SED \
16109   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16110   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16111   -e 's:$: $lt_compiler_flag:'`
16112   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16113   (eval "$lt_compile" 2>out/conftest.err)
16114   ac_status=$?
16115   cat out/conftest.err >&5
16116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16117   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16118   then
16119     # The compiler can only warn and ignore the option if not recognized
16120     # So say no if there are warnings
16121     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16122     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16123     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16124       lt_cv_prog_compiler_c_o_CXX=yes
16125     fi
16126   fi
16127   chmod u+w . 2>&5
16128   $RM conftest*
16129   # SGI C++ compiler will create directory out/ii_files/ for
16130   # template instantiation
16131   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16132   $RM out/* && rmdir out
16133   cd ..
16134   $RM -r conftest
16135   $RM conftest*
16136
16137fi
16138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16139$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16140
16141
16142
16143    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16144$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16145if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16146  $as_echo_n "(cached) " >&6
16147else
16148  lt_cv_prog_compiler_c_o_CXX=no
16149   $RM -r conftest 2>/dev/null
16150   mkdir conftest
16151   cd conftest
16152   mkdir out
16153   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16154
16155   lt_compiler_flag="-o out/conftest2.$ac_objext"
16156   # Insert the option either (1) after the last *FLAGS variable, or
16157   # (2) before a word containing "conftest.", or (3) at the end.
16158   # Note that $ac_compile itself does not contain backslashes and begins
16159   # with a dollar sign (not a hyphen), so the echo should work correctly.
16160   lt_compile=`echo "$ac_compile" | $SED \
16161   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16162   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16163   -e 's:$: $lt_compiler_flag:'`
16164   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16165   (eval "$lt_compile" 2>out/conftest.err)
16166   ac_status=$?
16167   cat out/conftest.err >&5
16168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16170   then
16171     # The compiler can only warn and ignore the option if not recognized
16172     # So say no if there are warnings
16173     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16174     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16175     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16176       lt_cv_prog_compiler_c_o_CXX=yes
16177     fi
16178   fi
16179   chmod u+w . 2>&5
16180   $RM conftest*
16181   # SGI C++ compiler will create directory out/ii_files/ for
16182   # template instantiation
16183   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16184   $RM out/* && rmdir out
16185   cd ..
16186   $RM -r conftest
16187   $RM conftest*
16188
16189fi
16190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16191$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16192
16193
16194
16195
16196hard_links=nottested
16197if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
16198  # do not overwrite the value of need_locks provided by the user
16199  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16200$as_echo_n "checking if we can lock with hard links... " >&6; }
16201  hard_links=yes
16202  $RM conftest*
16203  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16204  touch conftest.a
16205  ln conftest.a conftest.b 2>&5 || hard_links=no
16206  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16208$as_echo "$hard_links" >&6; }
16209  if test no = "$hard_links"; then
16210    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16211$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16212    need_locks=warn
16213  fi
16214else
16215  need_locks=no
16216fi
16217
16218
16219
16220    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16221$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16222
16223  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16224  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16225  case $host_os in
16226  aix[4-9]*)
16227    # If we're using GNU nm, then we don't want the "-C" option.
16228    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16229    # Without the "-l" option, or with the "-B" option, AIX nm treats
16230    # weak defined symbols like other global defined symbols, whereas
16231    # GNU nm marks them as "W".
16232    # While the 'weak' keyword is ignored in the Export File, we need
16233    # it in the Import File for the 'aix-soname' feature, so we have
16234    # to replace the "-B" option with "-P" for AIX nm.
16235    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16236      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'
16237    else
16238      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'
16239    fi
16240    ;;
16241  pw32*)
16242    export_symbols_cmds_CXX=$ltdll_cmds
16243    ;;
16244  cygwin* | mingw* | cegcc*)
16245    case $cc_basename in
16246    cl*)
16247      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16248      ;;
16249    *)
16250      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'
16251      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16252      ;;
16253    esac
16254    ;;
16255  *)
16256    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16257    ;;
16258  esac
16259
16260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16261$as_echo "$ld_shlibs_CXX" >&6; }
16262test no = "$ld_shlibs_CXX" && can_build_shared=no
16263
16264with_gnu_ld_CXX=$with_gnu_ld
16265
16266
16267
16268
16269
16270
16271#
16272# Do we need to explicitly link libc?
16273#
16274case "x$archive_cmds_need_lc_CXX" in
16275x|xyes)
16276  # Assume -lc should be added
16277  archive_cmds_need_lc_CXX=yes
16278
16279  if test yes,yes = "$GCC,$enable_shared"; then
16280    case $archive_cmds_CXX in
16281    *'~'*)
16282      # FIXME: we may have to deal with multi-command sequences.
16283      ;;
16284    '$CC '*)
16285      # Test whether the compiler implicitly links with -lc since on some
16286      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16287      # to ld, don't add -lc before -lgcc.
16288      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16289$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16290if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16291  $as_echo_n "(cached) " >&6
16292else
16293  $RM conftest*
16294	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16295
16296	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16297  (eval $ac_compile) 2>&5
16298  ac_status=$?
16299  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16300  test $ac_status = 0; } 2>conftest.err; then
16301	  soname=conftest
16302	  lib=conftest
16303	  libobjs=conftest.$ac_objext
16304	  deplibs=
16305	  wl=$lt_prog_compiler_wl_CXX
16306	  pic_flag=$lt_prog_compiler_pic_CXX
16307	  compiler_flags=-v
16308	  linker_flags=-v
16309	  verstring=
16310	  output_objdir=.
16311	  libname=conftest
16312	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16313	  allow_undefined_flag_CXX=
16314	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16315  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16316  ac_status=$?
16317  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16318  test $ac_status = 0; }
16319	  then
16320	    lt_cv_archive_cmds_need_lc_CXX=no
16321	  else
16322	    lt_cv_archive_cmds_need_lc_CXX=yes
16323	  fi
16324	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16325	else
16326	  cat conftest.err 1>&5
16327	fi
16328	$RM conftest*
16329
16330fi
16331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16332$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16333      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16334      ;;
16335    esac
16336  fi
16337  ;;
16338esac
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16402$as_echo_n "checking dynamic linker characteristics... " >&6; }
16403
16404library_names_spec=
16405libname_spec='lib$name'
16406soname_spec=
16407shrext_cmds=.so
16408postinstall_cmds=
16409postuninstall_cmds=
16410finish_cmds=
16411finish_eval=
16412shlibpath_var=
16413shlibpath_overrides_runpath=unknown
16414version_type=none
16415dynamic_linker="$host_os ld.so"
16416sys_lib_dlsearch_path_spec="/lib /usr/lib"
16417need_lib_prefix=unknown
16418hardcode_into_libs=no
16419
16420# when you set need_version to no, make sure it does not cause -set_version
16421# flags to be left without arguments
16422need_version=unknown
16423
16424
16425
16426case $host_os in
16427aix3*)
16428  version_type=linux # correct to gnu/linux during the next big refactor
16429  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16430  shlibpath_var=LIBPATH
16431
16432  # AIX 3 has no versioning support, so we append a major version to the name.
16433  soname_spec='$libname$release$shared_ext$major'
16434  ;;
16435
16436aix[4-9]*)
16437  version_type=linux # correct to gnu/linux during the next big refactor
16438  need_lib_prefix=no
16439  need_version=no
16440  hardcode_into_libs=yes
16441  if test ia64 = "$host_cpu"; then
16442    # AIX 5 supports IA64
16443    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16444    shlibpath_var=LD_LIBRARY_PATH
16445  else
16446    # With GCC up to 2.95.x, collect2 would create an import file
16447    # for dependence libraries.  The import file would start with
16448    # the line '#! .'.  This would cause the generated library to
16449    # depend on '.', always an invalid library.  This was fixed in
16450    # development snapshots of GCC prior to 3.0.
16451    case $host_os in
16452      aix4 | aix4.[01] | aix4.[01].*)
16453      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16454	   echo ' yes '
16455	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16456	:
16457      else
16458	can_build_shared=no
16459      fi
16460      ;;
16461    esac
16462    # Using Import Files as archive members, it is possible to support
16463    # filename-based versioning of shared library archives on AIX. While
16464    # this would work for both with and without runtime linking, it will
16465    # prevent static linking of such archives. So we do filename-based
16466    # shared library versioning with .so extension only, which is used
16467    # when both runtime linking and shared linking is enabled.
16468    # Unfortunately, runtime linking may impact performance, so we do
16469    # not want this to be the default eventually. Also, we use the
16470    # versioned .so libs for executables only if there is the -brtl
16471    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16472    # To allow for filename-based versioning support, we need to create
16473    # libNAME.so.V as an archive file, containing:
16474    # *) an Import File, referring to the versioned filename of the
16475    #    archive as well as the shared archive member, telling the
16476    #    bitwidth (32 or 64) of that shared object, and providing the
16477    #    list of exported symbols of that shared object, eventually
16478    #    decorated with the 'weak' keyword
16479    # *) the shared object with the F_LOADONLY flag set, to really avoid
16480    #    it being seen by the linker.
16481    # At run time we better use the real file rather than another symlink,
16482    # but for link time we create the symlink libNAME.so -> libNAME.so.V
16483
16484    case $with_aix_soname,$aix_use_runtimelinking in
16485    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16486    # soname into executable. Probably we can add versioning support to
16487    # collect2, so additional links can be useful in future.
16488    aix,yes) # traditional libtool
16489      dynamic_linker='AIX unversionable lib.so'
16490      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16491      # instead of lib<name>.a to let people know that these are not
16492      # typical AIX shared libraries.
16493      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16494      ;;
16495    aix,no) # traditional AIX only
16496      dynamic_linker='AIX lib.a(lib.so.V)'
16497      # We preserve .a as extension for shared libraries through AIX4.2
16498      # and later when we are not doing run time linking.
16499      library_names_spec='$libname$release.a $libname.a'
16500      soname_spec='$libname$release$shared_ext$major'
16501      ;;
16502    svr4,*) # full svr4 only
16503      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16504      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16505      # We do not specify a path in Import Files, so LIBPATH fires.
16506      shlibpath_overrides_runpath=yes
16507      ;;
16508    *,yes) # both, prefer svr4
16509      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16510      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16511      # unpreferred sharedlib libNAME.a needs extra handling
16512      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"'
16513      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"'
16514      # We do not specify a path in Import Files, so LIBPATH fires.
16515      shlibpath_overrides_runpath=yes
16516      ;;
16517    *,no) # both, prefer aix
16518      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16519      library_names_spec='$libname$release.a $libname.a'
16520      soname_spec='$libname$release$shared_ext$major'
16521      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16522      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)'
16523      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"'
16524      ;;
16525    esac
16526    shlibpath_var=LIBPATH
16527  fi
16528  ;;
16529
16530amigaos*)
16531  case $host_cpu in
16532  powerpc)
16533    # Since July 2007 AmigaOS4 officially supports .so libraries.
16534    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16535    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16536    ;;
16537  m68k)
16538    library_names_spec='$libname.ixlibrary $libname.a'
16539    # Create ${libname}_ixlibrary.a entries in /sys/libs.
16540    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'
16541    ;;
16542  esac
16543  ;;
16544
16545beos*)
16546  library_names_spec='$libname$shared_ext'
16547  dynamic_linker="$host_os ld.so"
16548  shlibpath_var=LIBRARY_PATH
16549  ;;
16550
16551bsdi[45]*)
16552  version_type=linux # correct to gnu/linux during the next big refactor
16553  need_version=no
16554  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16555  soname_spec='$libname$release$shared_ext$major'
16556  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16557  shlibpath_var=LD_LIBRARY_PATH
16558  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16559  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16560  # the default ld.so.conf also contains /usr/contrib/lib and
16561  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16562  # libtool to hard-code these into programs
16563  ;;
16564
16565cygwin* | mingw* | pw32* | cegcc*)
16566  version_type=windows
16567  shrext_cmds=.dll
16568  need_version=no
16569  need_lib_prefix=no
16570
16571  case $GCC,$cc_basename in
16572  yes,*)
16573    # gcc
16574    library_names_spec='$libname.dll.a'
16575    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16576    postinstall_cmds='base_file=`basename \$file`~
16577      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16578      dldir=$destdir/`dirname \$dlpath`~
16579      test -d \$dldir || mkdir -p \$dldir~
16580      $install_prog $dir/$dlname \$dldir/$dlname~
16581      chmod a+x \$dldir/$dlname~
16582      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16583        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16584      fi'
16585    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16586      dlpath=$dir/\$dldll~
16587       $RM \$dlpath'
16588    shlibpath_overrides_runpath=yes
16589
16590    case $host_os in
16591    cygwin*)
16592      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16593      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16594
16595      ;;
16596    mingw* | cegcc*)
16597      # MinGW DLLs use traditional 'lib' prefix
16598      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16599      ;;
16600    pw32*)
16601      # pw32 DLLs use 'pw' prefix rather than 'lib'
16602      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16603      ;;
16604    esac
16605    dynamic_linker='Win32 ld.exe'
16606    ;;
16607
16608  *,cl*)
16609    # Native MSVC
16610    libname_spec='$name'
16611    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16612    library_names_spec='$libname.dll.lib'
16613
16614    case $build_os in
16615    mingw*)
16616      sys_lib_search_path_spec=
16617      lt_save_ifs=$IFS
16618      IFS=';'
16619      for lt_path in $LIB
16620      do
16621        IFS=$lt_save_ifs
16622        # Let DOS variable expansion print the short 8.3 style file name.
16623        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16624        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16625      done
16626      IFS=$lt_save_ifs
16627      # Convert to MSYS style.
16628      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16629      ;;
16630    cygwin*)
16631      # Convert to unix form, then to dos form, then back to unix form
16632      # but this time dos style (no spaces!) so that the unix form looks
16633      # like /cygdrive/c/PROGRA~1:/cygdr...
16634      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16635      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16636      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16637      ;;
16638    *)
16639      sys_lib_search_path_spec=$LIB
16640      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16641        # It is most probably a Windows format PATH.
16642        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16643      else
16644        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16645      fi
16646      # FIXME: find the short name or the path components, as spaces are
16647      # common. (e.g. "Program Files" -> "PROGRA~1")
16648      ;;
16649    esac
16650
16651    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16652    postinstall_cmds='base_file=`basename \$file`~
16653      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16654      dldir=$destdir/`dirname \$dlpath`~
16655      test -d \$dldir || mkdir -p \$dldir~
16656      $install_prog $dir/$dlname \$dldir/$dlname'
16657    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16658      dlpath=$dir/\$dldll~
16659       $RM \$dlpath'
16660    shlibpath_overrides_runpath=yes
16661    dynamic_linker='Win32 link.exe'
16662    ;;
16663
16664  *)
16665    # Assume MSVC wrapper
16666    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16667    dynamic_linker='Win32 ld.exe'
16668    ;;
16669  esac
16670  # FIXME: first we should search . and the directory the executable is in
16671  shlibpath_var=PATH
16672  ;;
16673
16674darwin* | rhapsody*)
16675  dynamic_linker="$host_os dyld"
16676  version_type=darwin
16677  need_lib_prefix=no
16678  need_version=no
16679  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16680  soname_spec='$libname$release$major$shared_ext'
16681  shlibpath_overrides_runpath=yes
16682  shlibpath_var=DYLD_LIBRARY_PATH
16683  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16684
16685  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16686  ;;
16687
16688dgux*)
16689  version_type=linux # correct to gnu/linux during the next big refactor
16690  need_lib_prefix=no
16691  need_version=no
16692  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16693  soname_spec='$libname$release$shared_ext$major'
16694  shlibpath_var=LD_LIBRARY_PATH
16695  ;;
16696
16697freebsd* | dragonfly*)
16698  # DragonFly does not have aout.  When/if they implement a new
16699  # versioning mechanism, adjust this.
16700  if test -x /usr/bin/objformat; then
16701    objformat=`/usr/bin/objformat`
16702  else
16703    case $host_os in
16704    freebsd[23].*) objformat=aout ;;
16705    *) objformat=elf ;;
16706    esac
16707  fi
16708  version_type=freebsd-$objformat
16709  case $version_type in
16710    freebsd-elf*)
16711      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16712      soname_spec='$libname$release$shared_ext$major'
16713      need_version=no
16714      need_lib_prefix=no
16715      ;;
16716    freebsd-*)
16717      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16718      need_version=yes
16719      ;;
16720  esac
16721  shlibpath_var=LD_LIBRARY_PATH
16722  case $host_os in
16723  freebsd2.*)
16724    shlibpath_overrides_runpath=yes
16725    ;;
16726  freebsd3.[01]* | freebsdelf3.[01]*)
16727    shlibpath_overrides_runpath=yes
16728    hardcode_into_libs=yes
16729    ;;
16730  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16731  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16732    shlibpath_overrides_runpath=no
16733    hardcode_into_libs=yes
16734    ;;
16735  *) # from 4.6 on, and DragonFly
16736    shlibpath_overrides_runpath=yes
16737    hardcode_into_libs=yes
16738    ;;
16739  esac
16740  ;;
16741
16742haiku*)
16743  version_type=linux # correct to gnu/linux during the next big refactor
16744  need_lib_prefix=no
16745  need_version=no
16746  dynamic_linker="$host_os runtime_loader"
16747  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16748  soname_spec='$libname$release$shared_ext$major'
16749  shlibpath_var=LIBRARY_PATH
16750  shlibpath_overrides_runpath=no
16751  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16752  hardcode_into_libs=yes
16753  ;;
16754
16755hpux9* | hpux10* | hpux11*)
16756  # Give a soname corresponding to the major version so that dld.sl refuses to
16757  # link against other versions.
16758  version_type=sunos
16759  need_lib_prefix=no
16760  need_version=no
16761  case $host_cpu in
16762  ia64*)
16763    shrext_cmds='.so'
16764    hardcode_into_libs=yes
16765    dynamic_linker="$host_os dld.so"
16766    shlibpath_var=LD_LIBRARY_PATH
16767    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16768    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16769    soname_spec='$libname$release$shared_ext$major'
16770    if test 32 = "$HPUX_IA64_MODE"; then
16771      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16772      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16773    else
16774      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16775      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16776    fi
16777    ;;
16778  hppa*64*)
16779    shrext_cmds='.sl'
16780    hardcode_into_libs=yes
16781    dynamic_linker="$host_os dld.sl"
16782    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16783    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16784    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16785    soname_spec='$libname$release$shared_ext$major'
16786    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16787    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16788    ;;
16789  *)
16790    shrext_cmds='.sl'
16791    dynamic_linker="$host_os dld.sl"
16792    shlibpath_var=SHLIB_PATH
16793    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16794    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16795    soname_spec='$libname$release$shared_ext$major'
16796    ;;
16797  esac
16798  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16799  postinstall_cmds='chmod 555 $lib'
16800  # or fails outright, so override atomically:
16801  install_override_mode=555
16802  ;;
16803
16804interix[3-9]*)
16805  version_type=linux # correct to gnu/linux during the next big refactor
16806  need_lib_prefix=no
16807  need_version=no
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  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16811  shlibpath_var=LD_LIBRARY_PATH
16812  shlibpath_overrides_runpath=no
16813  hardcode_into_libs=yes
16814  ;;
16815
16816irix5* | irix6* | nonstopux*)
16817  case $host_os in
16818    nonstopux*) version_type=nonstopux ;;
16819    *)
16820	if test yes = "$lt_cv_prog_gnu_ld"; then
16821		version_type=linux # correct to gnu/linux during the next big refactor
16822	else
16823		version_type=irix
16824	fi ;;
16825  esac
16826  need_lib_prefix=no
16827  need_version=no
16828  soname_spec='$libname$release$shared_ext$major'
16829  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16830  case $host_os in
16831  irix5* | nonstopux*)
16832    libsuff= shlibsuff=
16833    ;;
16834  *)
16835    case $LD in # libtool.m4 will add one of these switches to LD
16836    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16837      libsuff= shlibsuff= libmagic=32-bit;;
16838    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16839      libsuff=32 shlibsuff=N32 libmagic=N32;;
16840    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16841      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16842    *) libsuff= shlibsuff= libmagic=never-match;;
16843    esac
16844    ;;
16845  esac
16846  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16847  shlibpath_overrides_runpath=no
16848  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16849  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16850  hardcode_into_libs=yes
16851  ;;
16852
16853# No shared lib support for Linux oldld, aout, or coff.
16854linux*oldld* | linux*aout* | linux*coff*)
16855  dynamic_linker=no
16856  ;;
16857
16858linux*android*)
16859  version_type=none # Android doesn't support versioned libraries.
16860  need_lib_prefix=no
16861  need_version=no
16862  library_names_spec='$libname$release$shared_ext'
16863  soname_spec='$libname$release$shared_ext'
16864  finish_cmds=
16865  shlibpath_var=LD_LIBRARY_PATH
16866  shlibpath_overrides_runpath=yes
16867
16868  # This implies no fast_install, which is unacceptable.
16869  # Some rework will be needed to allow for fast_install
16870  # before this can be enabled.
16871  hardcode_into_libs=yes
16872
16873  dynamic_linker='Android linker'
16874  # Don't embed -rpath directories since the linker doesn't support them.
16875  hardcode_libdir_flag_spec_CXX='-L$libdir'
16876  ;;
16877
16878# This must be glibc/ELF.
16879linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16880  version_type=linux # correct to gnu/linux during the next big refactor
16881  need_lib_prefix=no
16882  need_version=no
16883  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16884  soname_spec='$libname$release$shared_ext$major'
16885  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16886  shlibpath_var=LD_LIBRARY_PATH
16887  shlibpath_overrides_runpath=no
16888
16889  # Some binutils ld are patched to set DT_RUNPATH
16890  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16891  $as_echo_n "(cached) " >&6
16892else
16893  lt_cv_shlibpath_overrides_runpath=no
16894    save_LDFLAGS=$LDFLAGS
16895    save_libdir=$libdir
16896    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16897	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16898    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16899/* end confdefs.h.  */
16900
16901int
16902main ()
16903{
16904
16905  ;
16906  return 0;
16907}
16908_ACEOF
16909if ac_fn_cxx_try_link "$LINENO"; then :
16910  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16911  lt_cv_shlibpath_overrides_runpath=yes
16912fi
16913fi
16914rm -f core conftest.err conftest.$ac_objext \
16915    conftest$ac_exeext conftest.$ac_ext
16916    LDFLAGS=$save_LDFLAGS
16917    libdir=$save_libdir
16918
16919fi
16920
16921  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16922
16923  # This implies no fast_install, which is unacceptable.
16924  # Some rework will be needed to allow for fast_install
16925  # before this can be enabled.
16926  hardcode_into_libs=yes
16927
16928  # Add ABI-specific directories to the system library path.
16929  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
16930
16931  # Ideally, we could use ldconfig to report *all* directores which are
16932  # searched for libraries, however this is still not possible.  Aside from not
16933  # being certain /sbin/ldconfig is available, command
16934  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16935  # even though it is searched at run-time.  Try to do the best guess by
16936  # appending ld.so.conf contents (and includes) to the search path.
16937  if test -f /etc/ld.so.conf; then
16938    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' ' '`
16939    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16940  fi
16941
16942  # We used to test for /lib/ld.so.1 and disable shared libraries on
16943  # powerpc, because MkLinux only supported shared libraries with the
16944  # GNU dynamic linker.  Since this was broken with cross compilers,
16945  # most powerpc-linux boxes support dynamic linking these days and
16946  # people can always --disable-shared, the test was removed, and we
16947  # assume the GNU/Linux dynamic linker is in use.
16948  dynamic_linker='GNU/Linux ld.so'
16949  ;;
16950
16951netbsd*)
16952  version_type=sunos
16953  need_lib_prefix=no
16954  need_version=no
16955  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16956    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16957    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16958    dynamic_linker='NetBSD (a.out) ld.so'
16959  else
16960    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16961    soname_spec='$libname$release$shared_ext$major'
16962    dynamic_linker='NetBSD ld.elf_so'
16963  fi
16964  shlibpath_var=LD_LIBRARY_PATH
16965  shlibpath_overrides_runpath=yes
16966  hardcode_into_libs=yes
16967  ;;
16968
16969newsos6)
16970  version_type=linux # correct to gnu/linux during the next big refactor
16971  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16972  shlibpath_var=LD_LIBRARY_PATH
16973  shlibpath_overrides_runpath=yes
16974  ;;
16975
16976*nto* | *qnx*)
16977  version_type=qnx
16978  need_lib_prefix=no
16979  need_version=no
16980  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16981  soname_spec='$libname$release$shared_ext$major'
16982  shlibpath_var=LD_LIBRARY_PATH
16983  shlibpath_overrides_runpath=no
16984  hardcode_into_libs=yes
16985  dynamic_linker='ldqnx.so'
16986  ;;
16987
16988openbsd* | bitrig*)
16989  version_type=sunos
16990  sys_lib_dlsearch_path_spec=/usr/lib
16991  need_lib_prefix=no
16992  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16993    need_version=no
16994  else
16995    need_version=yes
16996  fi
16997  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16998  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16999  shlibpath_var=LD_LIBRARY_PATH
17000  shlibpath_overrides_runpath=yes
17001  ;;
17002
17003os2*)
17004  libname_spec='$name'
17005  version_type=windows
17006  shrext_cmds=.dll
17007  need_version=no
17008  need_lib_prefix=no
17009  # OS/2 can only load a DLL with a base name of 8 characters or less.
17010  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
17011    v=$($ECHO $release$versuffix | tr -d .-);
17012    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17013    $ECHO $n$v`$shared_ext'
17014  library_names_spec='${libname}_dll.$libext'
17015  dynamic_linker='OS/2 ld.exe'
17016  shlibpath_var=BEGINLIBPATH
17017  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17018  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17019  postinstall_cmds='base_file=`basename \$file`~
17020    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17021    dldir=$destdir/`dirname \$dlpath`~
17022    test -d \$dldir || mkdir -p \$dldir~
17023    $install_prog $dir/$dlname \$dldir/$dlname~
17024    chmod a+x \$dldir/$dlname~
17025    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17026      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17027    fi'
17028  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17029    dlpath=$dir/\$dldll~
17030    $RM \$dlpath'
17031  ;;
17032
17033osf3* | osf4* | osf5*)
17034  version_type=osf
17035  need_lib_prefix=no
17036  need_version=no
17037  soname_spec='$libname$release$shared_ext$major'
17038  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17039  shlibpath_var=LD_LIBRARY_PATH
17040  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17041  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17042  ;;
17043
17044rdos*)
17045  dynamic_linker=no
17046  ;;
17047
17048solaris*)
17049  version_type=linux # correct to gnu/linux during the next big refactor
17050  need_lib_prefix=no
17051  need_version=no
17052  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17053  soname_spec='$libname$release$shared_ext$major'
17054  shlibpath_var=LD_LIBRARY_PATH
17055  shlibpath_overrides_runpath=yes
17056  hardcode_into_libs=yes
17057  # ldd complains unless libraries are executable
17058  postinstall_cmds='chmod +x $lib'
17059  ;;
17060
17061sunos4*)
17062  version_type=sunos
17063  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17064  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17065  shlibpath_var=LD_LIBRARY_PATH
17066  shlibpath_overrides_runpath=yes
17067  if test yes = "$with_gnu_ld"; then
17068    need_lib_prefix=no
17069  fi
17070  need_version=yes
17071  ;;
17072
17073sysv4 | sysv4.3*)
17074  version_type=linux # correct to gnu/linux during the next big refactor
17075  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17076  soname_spec='$libname$release$shared_ext$major'
17077  shlibpath_var=LD_LIBRARY_PATH
17078  case $host_vendor in
17079    sni)
17080      shlibpath_overrides_runpath=no
17081      need_lib_prefix=no
17082      runpath_var=LD_RUN_PATH
17083      ;;
17084    siemens)
17085      need_lib_prefix=no
17086      ;;
17087    motorola)
17088      need_lib_prefix=no
17089      need_version=no
17090      shlibpath_overrides_runpath=no
17091      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17092      ;;
17093  esac
17094  ;;
17095
17096sysv4*MP*)
17097  if test -d /usr/nec; then
17098    version_type=linux # correct to gnu/linux during the next big refactor
17099    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17100    soname_spec='$libname$shared_ext.$major'
17101    shlibpath_var=LD_LIBRARY_PATH
17102  fi
17103  ;;
17104
17105sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17106  version_type=sco
17107  need_lib_prefix=no
17108  need_version=no
17109  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17110  soname_spec='$libname$release$shared_ext$major'
17111  shlibpath_var=LD_LIBRARY_PATH
17112  shlibpath_overrides_runpath=yes
17113  hardcode_into_libs=yes
17114  if test yes = "$with_gnu_ld"; then
17115    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17116  else
17117    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17118    case $host_os in
17119      sco3.2v5*)
17120        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17121	;;
17122    esac
17123  fi
17124  sys_lib_dlsearch_path_spec='/usr/lib'
17125  ;;
17126
17127tpf*)
17128  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17129  version_type=linux # correct to gnu/linux during the next big refactor
17130  need_lib_prefix=no
17131  need_version=no
17132  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17133  shlibpath_var=LD_LIBRARY_PATH
17134  shlibpath_overrides_runpath=no
17135  hardcode_into_libs=yes
17136  ;;
17137
17138uts4*)
17139  version_type=linux # correct to gnu/linux during the next big refactor
17140  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17141  soname_spec='$libname$release$shared_ext$major'
17142  shlibpath_var=LD_LIBRARY_PATH
17143  ;;
17144
17145*)
17146  dynamic_linker=no
17147  ;;
17148esac
17149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17150$as_echo "$dynamic_linker" >&6; }
17151test no = "$dynamic_linker" && can_build_shared=no
17152
17153variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17154if test yes = "$GCC"; then
17155  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17156fi
17157
17158if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17159  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
17160fi
17161
17162if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17163  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
17164fi
17165
17166# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17167configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
17168
17169# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17170func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
17171
17172# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17173configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17215$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17216hardcode_action_CXX=
17217if test -n "$hardcode_libdir_flag_spec_CXX" ||
17218   test -n "$runpath_var_CXX" ||
17219   test yes = "$hardcode_automatic_CXX"; then
17220
17221  # We can hardcode non-existent directories.
17222  if test no != "$hardcode_direct_CXX" &&
17223     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17224     # have to relink, otherwise we might link with an installed library
17225     # when we should be linking with a yet-to-be-installed one
17226     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17227     test no != "$hardcode_minus_L_CXX"; then
17228    # Linking always hardcodes the temporary library directory.
17229    hardcode_action_CXX=relink
17230  else
17231    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17232    hardcode_action_CXX=immediate
17233  fi
17234else
17235  # We cannot hardcode anything, or else we can only hardcode existing
17236  # directories.
17237  hardcode_action_CXX=unsupported
17238fi
17239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17240$as_echo "$hardcode_action_CXX" >&6; }
17241
17242if test relink = "$hardcode_action_CXX" ||
17243   test yes = "$inherit_rpath_CXX"; then
17244  # Fast installation is not supported
17245  enable_fast_install=no
17246elif test yes = "$shlibpath_overrides_runpath" ||
17247     test no = "$enable_shared"; then
17248  # Fast installation is not necessary
17249  enable_fast_install=needless
17250fi
17251
17252
17253
17254
17255
17256
17257
17258  fi # test -n "$compiler"
17259
17260  CC=$lt_save_CC
17261  CFLAGS=$lt_save_CFLAGS
17262  LDCXX=$LD
17263  LD=$lt_save_LD
17264  GCC=$lt_save_GCC
17265  with_gnu_ld=$lt_save_with_gnu_ld
17266  lt_cv_path_LDCXX=$lt_cv_path_LD
17267  lt_cv_path_LD=$lt_save_path_LD
17268  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17269  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17270fi # test yes != "$_lt_caught_CXX_error"
17271
17272ac_ext=c
17273ac_cpp='$CPP $CPPFLAGS'
17274ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17275ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17276ac_compiler_gnu=$ac_cv_c_compiler_gnu
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292        ac_config_commands="$ac_config_commands libtool"
17293
17294
17295
17296
17297# Only expand once:
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17309	if test -n "$ac_tool_prefix"; then
17310  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17311set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17313$as_echo_n "checking for $ac_word... " >&6; }
17314if ${ac_cv_path_PKG_CONFIG+:} false; then :
17315  $as_echo_n "(cached) " >&6
17316else
17317  case $PKG_CONFIG in
17318  [\\/]* | ?:[\\/]*)
17319  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17320  ;;
17321  *)
17322  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17323for as_dir in $PATH
17324do
17325  IFS=$as_save_IFS
17326  test -z "$as_dir" && as_dir=.
17327    for ac_exec_ext in '' $ac_executable_extensions; do
17328  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17329    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17330    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17331    break 2
17332  fi
17333done
17334  done
17335IFS=$as_save_IFS
17336
17337  ;;
17338esac
17339fi
17340PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17341if test -n "$PKG_CONFIG"; then
17342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17343$as_echo "$PKG_CONFIG" >&6; }
17344else
17345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17346$as_echo "no" >&6; }
17347fi
17348
17349
17350fi
17351if test -z "$ac_cv_path_PKG_CONFIG"; then
17352  ac_pt_PKG_CONFIG=$PKG_CONFIG
17353  # Extract the first word of "pkg-config", so it can be a program name with args.
17354set dummy pkg-config; ac_word=$2
17355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17356$as_echo_n "checking for $ac_word... " >&6; }
17357if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17358  $as_echo_n "(cached) " >&6
17359else
17360  case $ac_pt_PKG_CONFIG in
17361  [\\/]* | ?:[\\/]*)
17362  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17363  ;;
17364  *)
17365  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17366for as_dir in $PATH
17367do
17368  IFS=$as_save_IFS
17369  test -z "$as_dir" && as_dir=.
17370    for ac_exec_ext in '' $ac_executable_extensions; do
17371  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17372    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17373    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17374    break 2
17375  fi
17376done
17377  done
17378IFS=$as_save_IFS
17379
17380  ;;
17381esac
17382fi
17383ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17384if test -n "$ac_pt_PKG_CONFIG"; then
17385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17386$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17387else
17388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17389$as_echo "no" >&6; }
17390fi
17391
17392  if test "x$ac_pt_PKG_CONFIG" = x; then
17393    PKG_CONFIG=""
17394  else
17395    case $cross_compiling:$ac_tool_warned in
17396yes:)
17397{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17398$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17399ac_tool_warned=yes ;;
17400esac
17401    PKG_CONFIG=$ac_pt_PKG_CONFIG
17402  fi
17403else
17404  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17405fi
17406
17407fi
17408if test -n "$PKG_CONFIG"; then
17409	_pkg_min_version=0.9.0
17410	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17411$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17412	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17413		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17414$as_echo "yes" >&6; }
17415	else
17416		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17417$as_echo "no" >&6; }
17418		PKG_CONFIG=""
17419	fi
17420fi
17421
17422pkg_failed=no
17423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XSLT" >&5
17424$as_echo_n "checking for XSLT... " >&6; }
17425
17426if test -n "$XSLT_CFLAGS"; then
17427    pkg_cv_XSLT_CFLAGS="$XSLT_CFLAGS"
17428 elif test -n "$PKG_CONFIG"; then
17429    if test -n "$PKG_CONFIG" && \
17430    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxslt >= 1.1.20\""; } >&5
17431  ($PKG_CONFIG --exists --print-errors "libxslt >= 1.1.20") 2>&5
17432  ac_status=$?
17433  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17434  test $ac_status = 0; }; then
17435  pkg_cv_XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.20" 2>/dev/null`
17436		      test "x$?" != "x0" && pkg_failed=yes
17437else
17438  pkg_failed=yes
17439fi
17440 else
17441    pkg_failed=untried
17442fi
17443if test -n "$XSLT_LIBS"; then
17444    pkg_cv_XSLT_LIBS="$XSLT_LIBS"
17445 elif test -n "$PKG_CONFIG"; then
17446    if test -n "$PKG_CONFIG" && \
17447    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxslt >= 1.1.20\""; } >&5
17448  ($PKG_CONFIG --exists --print-errors "libxslt >= 1.1.20") 2>&5
17449  ac_status=$?
17450  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17451  test $ac_status = 0; }; then
17452  pkg_cv_XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.20" 2>/dev/null`
17453		      test "x$?" != "x0" && pkg_failed=yes
17454else
17455  pkg_failed=yes
17456fi
17457 else
17458    pkg_failed=untried
17459fi
17460
17461
17462
17463if test $pkg_failed = yes; then
17464   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17465$as_echo "no" >&6; }
17466
17467if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17468        _pkg_short_errors_supported=yes
17469else
17470        _pkg_short_errors_supported=no
17471fi
17472        if test $_pkg_short_errors_supported = yes; then
17473	        XSLT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxslt >= 1.1.20" 2>&1`
17474        else
17475	        XSLT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxslt >= 1.1.20" 2>&1`
17476        fi
17477	# Put the nasty error message in config.log where it belongs
17478	echo "$XSLT_PKG_ERRORS" >&5
17479
17480	as_fn_error $? "Package requirements (libxslt >= 1.1.20) were not met:
17481
17482$XSLT_PKG_ERRORS
17483
17484Consider adjusting the PKG_CONFIG_PATH environment variable if you
17485installed software in a non-standard prefix.
17486
17487Alternatively, you may set the environment variables XSLT_CFLAGS
17488and XSLT_LIBS to avoid the need to call pkg-config.
17489See the pkg-config man page for more details." "$LINENO" 5
17490elif test $pkg_failed = untried; then
17491     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17492$as_echo "no" >&6; }
17493	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17494$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17495as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17496is in your PATH or set the PKG_CONFIG environment variable to the full
17497path to pkg-config.
17498
17499Alternatively, you may set the environment variables XSLT_CFLAGS
17500and XSLT_LIBS to avoid the need to call pkg-config.
17501See the pkg-config man page for more details.
17502
17503To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17504See \`config.log' for more details" "$LINENO" 5; }
17505else
17506	XSLT_CFLAGS=$pkg_cv_XSLT_CFLAGS
17507	XSLT_LIBS=$pkg_cv_XSLT_LIBS
17508        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17509$as_echo "yes" >&6; }
17510
17511fi
17512
17513
17514
17515
17516pkg_failed=no
17517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIBMM" >&5
17518$as_echo_n "checking for GLIBMM... " >&6; }
17519
17520if test -n "$GLIBMM_CFLAGS"; then
17521    pkg_cv_GLIBMM_CFLAGS="$GLIBMM_CFLAGS"
17522 elif test -n "$PKG_CONFIG"; then
17523    if test -n "$PKG_CONFIG" && \
17524    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4\""; } >&5
17525  ($PKG_CONFIG --exists --print-errors "glibmm-2.4") 2>&5
17526  ac_status=$?
17527  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17528  test $ac_status = 0; }; then
17529  pkg_cv_GLIBMM_CFLAGS=`$PKG_CONFIG --cflags "glibmm-2.4" 2>/dev/null`
17530		      test "x$?" != "x0" && pkg_failed=yes
17531else
17532  pkg_failed=yes
17533fi
17534 else
17535    pkg_failed=untried
17536fi
17537if test -n "$GLIBMM_LIBS"; then
17538    pkg_cv_GLIBMM_LIBS="$GLIBMM_LIBS"
17539 elif test -n "$PKG_CONFIG"; then
17540    if test -n "$PKG_CONFIG" && \
17541    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4\""; } >&5
17542  ($PKG_CONFIG --exists --print-errors "glibmm-2.4") 2>&5
17543  ac_status=$?
17544  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17545  test $ac_status = 0; }; then
17546  pkg_cv_GLIBMM_LIBS=`$PKG_CONFIG --libs "glibmm-2.4" 2>/dev/null`
17547		      test "x$?" != "x0" && pkg_failed=yes
17548else
17549  pkg_failed=yes
17550fi
17551 else
17552    pkg_failed=untried
17553fi
17554
17555
17556
17557if test $pkg_failed = yes; then
17558   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17559$as_echo "no" >&6; }
17560
17561if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17562        _pkg_short_errors_supported=yes
17563else
17564        _pkg_short_errors_supported=no
17565fi
17566        if test $_pkg_short_errors_supported = yes; then
17567	        GLIBMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glibmm-2.4" 2>&1`
17568        else
17569	        GLIBMM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glibmm-2.4" 2>&1`
17570        fi
17571	# Put the nasty error message in config.log where it belongs
17572	echo "$GLIBMM_PKG_ERRORS" >&5
17573
17574	as_fn_error $? "Package requirements (glibmm-2.4) were not met:
17575
17576$GLIBMM_PKG_ERRORS
17577
17578Consider adjusting the PKG_CONFIG_PATH environment variable if you
17579installed software in a non-standard prefix.
17580
17581Alternatively, you may set the environment variables GLIBMM_CFLAGS
17582and GLIBMM_LIBS to avoid the need to call pkg-config.
17583See the pkg-config man page for more details." "$LINENO" 5
17584elif test $pkg_failed = untried; then
17585     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17586$as_echo "no" >&6; }
17587	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17588$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17589as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17590is in your PATH or set the PKG_CONFIG environment variable to the full
17591path to pkg-config.
17592
17593Alternatively, you may set the environment variables GLIBMM_CFLAGS
17594and GLIBMM_LIBS to avoid the need to call pkg-config.
17595See the pkg-config man page for more details.
17596
17597To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17598See \`config.log' for more details" "$LINENO" 5; }
17599else
17600	GLIBMM_CFLAGS=$pkg_cv_GLIBMM_CFLAGS
17601	GLIBMM_LIBS=$pkg_cv_GLIBMM_LIBS
17602        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17603$as_echo "yes" >&6; }
17604
17605fi
17606
17607
17608
17609
17610
17611
17612pkg_failed=no
17613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMM" >&5
17614$as_echo_n "checking for GTKMM... " >&6; }
17615
17616if test -n "$GTKMM_CFLAGS"; then
17617    pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
17618 elif test -n "$PKG_CONFIG"; then
17619    if test -n "$PKG_CONFIG" && \
17620    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-3.0\""; } >&5
17621  ($PKG_CONFIG --exists --print-errors "gtkmm-3.0") 2>&5
17622  ac_status=$?
17623  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17624  test $ac_status = 0; }; then
17625  pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-3.0" 2>/dev/null`
17626		      test "x$?" != "x0" && pkg_failed=yes
17627else
17628  pkg_failed=yes
17629fi
17630 else
17631    pkg_failed=untried
17632fi
17633if test -n "$GTKMM_LIBS"; then
17634    pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
17635 elif test -n "$PKG_CONFIG"; then
17636    if test -n "$PKG_CONFIG" && \
17637    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-3.0\""; } >&5
17638  ($PKG_CONFIG --exists --print-errors "gtkmm-3.0") 2>&5
17639  ac_status=$?
17640  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17641  test $ac_status = 0; }; then
17642  pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-3.0" 2>/dev/null`
17643		      test "x$?" != "x0" && pkg_failed=yes
17644else
17645  pkg_failed=yes
17646fi
17647 else
17648    pkg_failed=untried
17649fi
17650
17651
17652
17653if test $pkg_failed = yes; then
17654   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17655$as_echo "no" >&6; }
17656
17657if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17658        _pkg_short_errors_supported=yes
17659else
17660        _pkg_short_errors_supported=no
17661fi
17662        if test $_pkg_short_errors_supported = yes; then
17663	        GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtkmm-3.0" 2>&1`
17664        else
17665	        GTKMM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtkmm-3.0" 2>&1`
17666        fi
17667	# Put the nasty error message in config.log where it belongs
17668	echo "$GTKMM_PKG_ERRORS" >&5
17669
17670	as_fn_error $? "Package requirements (gtkmm-3.0) were not met:
17671
17672$GTKMM_PKG_ERRORS
17673
17674Consider adjusting the PKG_CONFIG_PATH environment variable if you
17675installed software in a non-standard prefix.
17676
17677Alternatively, you may set the environment variables GTKMM_CFLAGS
17678and GTKMM_LIBS to avoid the need to call pkg-config.
17679See the pkg-config man page for more details." "$LINENO" 5
17680elif test $pkg_failed = untried; then
17681     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17682$as_echo "no" >&6; }
17683	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17684$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17685as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17686is in your PATH or set the PKG_CONFIG environment variable to the full
17687path to pkg-config.
17688
17689Alternatively, you may set the environment variables GTKMM_CFLAGS
17690and GTKMM_LIBS to avoid the need to call pkg-config.
17691See the pkg-config man page for more details.
17692
17693To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17694See \`config.log' for more details" "$LINENO" 5; }
17695else
17696	GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
17697	GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
17698        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17699$as_echo "yes" >&6; }
17700
17701fi
17702
17703
17704
17705
17706
17707pkg_failed=no
17708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMLPP" >&5
17709$as_echo_n "checking for XMLPP... " >&6; }
17710
17711if test -n "$XMLPP_CFLAGS"; then
17712    pkg_cv_XMLPP_CFLAGS="$XMLPP_CFLAGS"
17713 elif test -n "$PKG_CONFIG"; then
17714    if test -n "$PKG_CONFIG" && \
17715    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml++-2.6\""; } >&5
17716  ($PKG_CONFIG --exists --print-errors "libxml++-2.6") 2>&5
17717  ac_status=$?
17718  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17719  test $ac_status = 0; }; then
17720  pkg_cv_XMLPP_CFLAGS=`$PKG_CONFIG --cflags "libxml++-2.6" 2>/dev/null`
17721		      test "x$?" != "x0" && pkg_failed=yes
17722else
17723  pkg_failed=yes
17724fi
17725 else
17726    pkg_failed=untried
17727fi
17728if test -n "$XMLPP_LIBS"; then
17729    pkg_cv_XMLPP_LIBS="$XMLPP_LIBS"
17730 elif test -n "$PKG_CONFIG"; then
17731    if test -n "$PKG_CONFIG" && \
17732    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml++-2.6\""; } >&5
17733  ($PKG_CONFIG --exists --print-errors "libxml++-2.6") 2>&5
17734  ac_status=$?
17735  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17736  test $ac_status = 0; }; then
17737  pkg_cv_XMLPP_LIBS=`$PKG_CONFIG --libs "libxml++-2.6" 2>/dev/null`
17738		      test "x$?" != "x0" && pkg_failed=yes
17739else
17740  pkg_failed=yes
17741fi
17742 else
17743    pkg_failed=untried
17744fi
17745
17746
17747
17748if test $pkg_failed = yes; then
17749   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17750$as_echo "no" >&6; }
17751
17752if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17753        _pkg_short_errors_supported=yes
17754else
17755        _pkg_short_errors_supported=no
17756fi
17757        if test $_pkg_short_errors_supported = yes; then
17758	        XMLPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml++-2.6" 2>&1`
17759        else
17760	        XMLPP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml++-2.6" 2>&1`
17761        fi
17762	# Put the nasty error message in config.log where it belongs
17763	echo "$XMLPP_PKG_ERRORS" >&5
17764
17765	as_fn_error $? "Package requirements (libxml++-2.6) were not met:
17766
17767$XMLPP_PKG_ERRORS
17768
17769Consider adjusting the PKG_CONFIG_PATH environment variable if you
17770installed software in a non-standard prefix.
17771
17772Alternatively, you may set the environment variables XMLPP_CFLAGS
17773and XMLPP_LIBS to avoid the need to call pkg-config.
17774See the pkg-config man page for more details." "$LINENO" 5
17775elif test $pkg_failed = untried; then
17776     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17777$as_echo "no" >&6; }
17778	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17779$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17780as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17781is in your PATH or set the PKG_CONFIG environment variable to the full
17782path to pkg-config.
17783
17784Alternatively, you may set the environment variables XMLPP_CFLAGS
17785and XMLPP_LIBS to avoid the need to call pkg-config.
17786See the pkg-config man page for more details.
17787
17788To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17789See \`config.log' for more details" "$LINENO" 5; }
17790else
17791	XMLPP_CFLAGS=$pkg_cv_XMLPP_CFLAGS
17792	XMLPP_LIBS=$pkg_cv_XMLPP_LIBS
17793        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17794$as_echo "yes" >&6; }
17795
17796fi
17797
17798
17799
17800
17801pkg_failed=no
17802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARCHIVE" >&5
17803$as_echo_n "checking for ARCHIVE... " >&6; }
17804
17805if test -n "$ARCHIVE_CFLAGS"; then
17806    pkg_cv_ARCHIVE_CFLAGS="$ARCHIVE_CFLAGS"
17807 elif test -n "$PKG_CONFIG"; then
17808    if test -n "$PKG_CONFIG" && \
17809    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libarchive >= 0.28\""; } >&5
17810  ($PKG_CONFIG --exists --print-errors "libarchive >= 0.28") 2>&5
17811  ac_status=$?
17812  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17813  test $ac_status = 0; }; then
17814  pkg_cv_ARCHIVE_CFLAGS=`$PKG_CONFIG --cflags "libarchive >= 0.28" 2>/dev/null`
17815		      test "x$?" != "x0" && pkg_failed=yes
17816else
17817  pkg_failed=yes
17818fi
17819 else
17820    pkg_failed=untried
17821fi
17822if test -n "$ARCHIVE_LIBS"; then
17823    pkg_cv_ARCHIVE_LIBS="$ARCHIVE_LIBS"
17824 elif test -n "$PKG_CONFIG"; then
17825    if test -n "$PKG_CONFIG" && \
17826    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libarchive >= 0.28\""; } >&5
17827  ($PKG_CONFIG --exists --print-errors "libarchive >= 0.28") 2>&5
17828  ac_status=$?
17829  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17830  test $ac_status = 0; }; then
17831  pkg_cv_ARCHIVE_LIBS=`$PKG_CONFIG --libs "libarchive >= 0.28" 2>/dev/null`
17832		      test "x$?" != "x0" && pkg_failed=yes
17833else
17834  pkg_failed=yes
17835fi
17836 else
17837    pkg_failed=untried
17838fi
17839
17840
17841
17842if test $pkg_failed = yes; then
17843   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17844$as_echo "no" >&6; }
17845
17846if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17847        _pkg_short_errors_supported=yes
17848else
17849        _pkg_short_errors_supported=no
17850fi
17851        if test $_pkg_short_errors_supported = yes; then
17852	        ARCHIVE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libarchive >= 0.28" 2>&1`
17853        else
17854	        ARCHIVE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libarchive >= 0.28" 2>&1`
17855        fi
17856	# Put the nasty error message in config.log where it belongs
17857	echo "$ARCHIVE_PKG_ERRORS" >&5
17858
17859	as_fn_error $? "Package requirements (libarchive >= 0.28) were not met:
17860
17861$ARCHIVE_PKG_ERRORS
17862
17863Consider adjusting the PKG_CONFIG_PATH environment variable if you
17864installed software in a non-standard prefix.
17865
17866Alternatively, you may set the environment variables ARCHIVE_CFLAGS
17867and ARCHIVE_LIBS to avoid the need to call pkg-config.
17868See the pkg-config man page for more details." "$LINENO" 5
17869elif test $pkg_failed = untried; then
17870     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17871$as_echo "no" >&6; }
17872	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17873$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17874as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17875is in your PATH or set the PKG_CONFIG environment variable to the full
17876path to pkg-config.
17877
17878Alternatively, you may set the environment variables ARCHIVE_CFLAGS
17879and ARCHIVE_LIBS to avoid the need to call pkg-config.
17880See the pkg-config man page for more details.
17881
17882To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17883See \`config.log' for more details" "$LINENO" 5; }
17884else
17885	ARCHIVE_CFLAGS=$pkg_cv_ARCHIVE_CFLAGS
17886	ARCHIVE_LIBS=$pkg_cv_ARCHIVE_LIBS
17887        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17888$as_echo "yes" >&6; }
17889
17890fi
17891
17892
17893
17894
17895pkg_failed=no
17896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSIGC" >&5
17897$as_echo_n "checking for LIBSIGC... " >&6; }
17898
17899if test -n "$LIBSIGC_CFLAGS"; then
17900    pkg_cv_LIBSIGC_CFLAGS="$LIBSIGC_CFLAGS"
17901 elif test -n "$PKG_CONFIG"; then
17902    if test -n "$PKG_CONFIG" && \
17903    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0\""; } >&5
17904  ($PKG_CONFIG --exists --print-errors "sigc++-2.0") 2>&5
17905  ac_status=$?
17906  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17907  test $ac_status = 0; }; then
17908  pkg_cv_LIBSIGC_CFLAGS=`$PKG_CONFIG --cflags "sigc++-2.0" 2>/dev/null`
17909		      test "x$?" != "x0" && pkg_failed=yes
17910else
17911  pkg_failed=yes
17912fi
17913 else
17914    pkg_failed=untried
17915fi
17916if test -n "$LIBSIGC_LIBS"; then
17917    pkg_cv_LIBSIGC_LIBS="$LIBSIGC_LIBS"
17918 elif test -n "$PKG_CONFIG"; then
17919    if test -n "$PKG_CONFIG" && \
17920    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0\""; } >&5
17921  ($PKG_CONFIG --exists --print-errors "sigc++-2.0") 2>&5
17922  ac_status=$?
17923  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17924  test $ac_status = 0; }; then
17925  pkg_cv_LIBSIGC_LIBS=`$PKG_CONFIG --libs "sigc++-2.0" 2>/dev/null`
17926		      test "x$?" != "x0" && pkg_failed=yes
17927else
17928  pkg_failed=yes
17929fi
17930 else
17931    pkg_failed=untried
17932fi
17933
17934
17935
17936if test $pkg_failed = yes; then
17937   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17938$as_echo "no" >&6; }
17939
17940if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17941        _pkg_short_errors_supported=yes
17942else
17943        _pkg_short_errors_supported=no
17944fi
17945        if test $_pkg_short_errors_supported = yes; then
17946	        LIBSIGC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sigc++-2.0" 2>&1`
17947        else
17948	        LIBSIGC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sigc++-2.0" 2>&1`
17949        fi
17950	# Put the nasty error message in config.log where it belongs
17951	echo "$LIBSIGC_PKG_ERRORS" >&5
17952
17953	as_fn_error $? "Package requirements (sigc++-2.0) were not met:
17954
17955$LIBSIGC_PKG_ERRORS
17956
17957Consider adjusting the PKG_CONFIG_PATH environment variable if you
17958installed software in a non-standard prefix.
17959
17960Alternatively, you may set the environment variables LIBSIGC_CFLAGS
17961and LIBSIGC_LIBS to avoid the need to call pkg-config.
17962See the pkg-config man page for more details." "$LINENO" 5
17963elif test $pkg_failed = untried; then
17964     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17965$as_echo "no" >&6; }
17966	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17967$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17968as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17969is in your PATH or set the PKG_CONFIG environment variable to the full
17970path to pkg-config.
17971
17972Alternatively, you may set the environment variables LIBSIGC_CFLAGS
17973and LIBSIGC_LIBS to avoid the need to call pkg-config.
17974See the pkg-config man page for more details.
17975
17976To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17977See \`config.log' for more details" "$LINENO" 5; }
17978else
17979	LIBSIGC_CFLAGS=$pkg_cv_LIBSIGC_CFLAGS
17980	LIBSIGC_LIBS=$pkg_cv_LIBSIGC_LIBS
17981        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17982$as_echo "yes" >&6; }
17983
17984fi
17985
17986
17987
17988
17989
17990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
17991$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
17992if ${ac_cv_lib_pthread_pthread_create+:} false; then :
17993  $as_echo_n "(cached) " >&6
17994else
17995  ac_check_lib_save_LIBS=$LIBS
17996LIBS="-lpthread  $LIBS"
17997cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17998/* end confdefs.h.  */
17999
18000/* Override any GCC internal prototype to avoid an error.
18001   Use char because int might match the return type of a GCC
18002   builtin and then its argument prototype would still apply.  */
18003#ifdef __cplusplus
18004extern "C"
18005#endif
18006char pthread_create ();
18007int
18008main ()
18009{
18010return pthread_create ();
18011  ;
18012  return 0;
18013}
18014_ACEOF
18015if ac_fn_c_try_link "$LINENO"; then :
18016  ac_cv_lib_pthread_pthread_create=yes
18017else
18018  ac_cv_lib_pthread_pthread_create=no
18019fi
18020rm -f core conftest.err conftest.$ac_objext \
18021    conftest$ac_exeext conftest.$ac_ext
18022LIBS=$ac_check_lib_save_LIBS
18023fi
18024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
18025$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
18026if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
18027  cat >>confdefs.h <<_ACEOF
18028#define HAVE_LIBPTHREAD 1
18029_ACEOF
18030
18031  LIBS="-lpthread $LIBS"
18032
18033fi
18034
18035
18036
18037# Check whether --enable-gls was given.
18038if test "${enable_gls+set}" = set; then :
18039  enableval=$enable_gls; use_gls="$enableval"
18040else
18041  use_gls="yes"
18042fi
18043
18044 if test $use_gls = "yes"; then
18045  WANT_GLS_TRUE=
18046  WANT_GLS_FALSE='#'
18047else
18048  WANT_GLS_TRUE='#'
18049  WANT_GLS_FALSE=
18050fi
18051
18052
18053# Check whether --enable-ghs was given.
18054if test "${enable_ghs+set}" = set; then :
18055  enableval=$enable_ghs; use_ghs="$enableval"
18056else
18057  use_ghs="yes"
18058fi
18059
18060 if test $use_ghs = "yes"; then
18061  WANT_GHS_TRUE=
18062  WANT_GHS_FALSE='#'
18063else
18064  WANT_GHS_TRUE='#'
18065  WANT_GHS_FALSE=
18066fi
18067
18068
18069use_sound=1
18070# Check whether --enable-sound was given.
18071if test "${enable_sound+set}" = set; then :
18072  enableval=$enable_sound; use_sound="$enableval"
18073else
18074  use_sound="yes"
18075fi
18076
18077
18078if test $use_sound = yes; then
18079
18080pkg_failed=no
18081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5
18082$as_echo_n "checking for GSTREAMER... " >&6; }
18083
18084if test -n "$GSTREAMER_CFLAGS"; then
18085    pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
18086 elif test -n "$PKG_CONFIG"; then
18087    if test -n "$PKG_CONFIG" && \
18088    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamermm-1.0\""; } >&5
18089  ($PKG_CONFIG --exists --print-errors "gstreamermm-1.0") 2>&5
18090  ac_status=$?
18091  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18092  test $ac_status = 0; }; then
18093  pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamermm-1.0" 2>/dev/null`
18094		      test "x$?" != "x0" && pkg_failed=yes
18095else
18096  pkg_failed=yes
18097fi
18098 else
18099    pkg_failed=untried
18100fi
18101if test -n "$GSTREAMER_LIBS"; then
18102    pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
18103 elif test -n "$PKG_CONFIG"; then
18104    if test -n "$PKG_CONFIG" && \
18105    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamermm-1.0\""; } >&5
18106  ($PKG_CONFIG --exists --print-errors "gstreamermm-1.0") 2>&5
18107  ac_status=$?
18108  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18109  test $ac_status = 0; }; then
18110  pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamermm-1.0" 2>/dev/null`
18111		      test "x$?" != "x0" && pkg_failed=yes
18112else
18113  pkg_failed=yes
18114fi
18115 else
18116    pkg_failed=untried
18117fi
18118
18119
18120
18121if test $pkg_failed = yes; then
18122   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18123$as_echo "no" >&6; }
18124
18125if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18126        _pkg_short_errors_supported=yes
18127else
18128        _pkg_short_errors_supported=no
18129fi
18130        if test $_pkg_short_errors_supported = yes; then
18131	        GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamermm-1.0" 2>&1`
18132        else
18133	        GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamermm-1.0" 2>&1`
18134        fi
18135	# Put the nasty error message in config.log where it belongs
18136	echo "$GSTREAMER_PKG_ERRORS" >&5
18137
18138	as_fn_error $? "Package requirements (gstreamermm-1.0) were not met:
18139
18140$GSTREAMER_PKG_ERRORS
18141
18142Consider adjusting the PKG_CONFIG_PATH environment variable if you
18143installed software in a non-standard prefix.
18144
18145Alternatively, you may set the environment variables GSTREAMER_CFLAGS
18146and GSTREAMER_LIBS to avoid the need to call pkg-config.
18147See the pkg-config man page for more details." "$LINENO" 5
18148elif test $pkg_failed = untried; then
18149     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18150$as_echo "no" >&6; }
18151	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18152$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18153as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18154is in your PATH or set the PKG_CONFIG environment variable to the full
18155path to pkg-config.
18156
18157Alternatively, you may set the environment variables GSTREAMER_CFLAGS
18158and GSTREAMER_LIBS to avoid the need to call pkg-config.
18159See the pkg-config man page for more details.
18160
18161To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18162See \`config.log' for more details" "$LINENO" 5; }
18163else
18164	GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
18165	GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
18166        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18167$as_echo "yes" >&6; }
18168
18169fi
18170
18171
18172
18173$as_echo "#define LW_SOUND 1" >>confdefs.h
18174
18175fi
18176
18177
18178# Check whether --with-resolution was given.
18179if test "${with_resolution+set}" = set; then :
18180  withval=$with_resolution; SCREEN_RESOLUTION="$withval"
18181else
18182  SCREEN_RESOLUTION="800x600"
18183fi
18184
18185
18186
18187# Check whether --enable-optimizations was given.
18188if test "${enable_optimizations+set}" = set; then :
18189  enableval=$enable_optimizations; use_opts="$enableval"
18190else
18191  use_opts="yes"
18192fi
18193
18194
18195if test x$use_opts = xno; then
18196    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Optimizations have been disabled" >&5
18197$as_echo "$as_me: WARNING: Optimizations have been disabled" >&2;}
18198    CXXFLAGS=-g
18199fi
18200
18201if test x$prefix = xNONE; then
18202    prefix="/usr/local"
18203fi
18204
18205rm -f src/main.o
18206
18207eval LORDSAWAR_DATADIR="$datadir/lordsawar"
18208
18209
18210eval eval DATADIR="$datadir"
18211
18212
18213echo "$ac_cv_host" | grep "mingw" --quiet
18214if test "x$?" = "x0"; then
18215        wincheck=true
18216else
18217        wincheck=false
18218fi
18219 if test x$wincheck = xtrue; then
18220  WINDOWS_OS_TRUE=
18221  WINDOWS_OS_FALSE='#'
18222else
18223  WINDOWS_OS_TRUE='#'
18224  WINDOWS_OS_FALSE=
18225fi
18226
18227
18228ac_config_files="$ac_config_files make-windows-zip.sh"
18229
18230
18231ac_config_files="$ac_config_files dat/Makefile dat/icons/Makefile dat/icons/16x16/Makefile dat/icons/22x22/Makefile dat/icons/24x24/Makefile dat/icons/32x32/Makefile dat/icons/48x48/Makefile dat/icons/64x64/Makefile dat/lordsawar.desktop.in dat/army/Makefile dat/army/default/Makefile dat/army/bigdefault/Makefile dat/army/duel/Makefile dat/tilesets/Makefile dat/tilesets/default/Makefile dat/tilesets/bigdefault/Makefile dat/tilesets/stark/Makefile dat/tilesets/bigstark/Makefile dat/tilesets/wesnoth/Makefile dat/tilesets/bigwesnoth/Makefile dat/shield/Makefile dat/shield/default/Makefile dat/shield/dol/Makefile dat/shield/plain/Makefile dat/citysets/Makefile dat/citysets/default/Makefile dat/citysets/bigdefault/Makefile dat/citysets/dol/Makefile dat/citysets/bigdol/Makefile dat/various/Makefile dat/various/items/Makefile dat/various/editor/Makefile dat/various/xslt/Makefile dat/map/Makefile dat/map/dol/Makefile dat/map/duel/Makefile dat/music/Makefile dat/glade/Makefile dat/glade/editor/Makefile po/Makefile.in Makefile src/Makefile doc/Makefile help/Makefile help/figures/Makefile src/editor/Makefile src/gls/Makefile src/ghs/Makefile src/utils/Makefile src/gui/Makefile"
18232
18233cat >confcache <<\_ACEOF
18234# This file is a shell script that caches the results of configure
18235# tests run on this system so they can be shared between configure
18236# scripts and configure runs, see configure's option --config-cache.
18237# It is not useful on other systems.  If it contains results you don't
18238# want to keep, you may remove or edit it.
18239#
18240# config.status only pays attention to the cache file if you give it
18241# the --recheck option to rerun configure.
18242#
18243# `ac_cv_env_foo' variables (set or unset) will be overridden when
18244# loading this file, other *unset* `ac_cv_foo' will be assigned the
18245# following values.
18246
18247_ACEOF
18248
18249# The following way of writing the cache mishandles newlines in values,
18250# but we know of no workaround that is simple, portable, and efficient.
18251# So, we kill variables containing newlines.
18252# Ultrix sh set writes to stderr and can't be redirected directly,
18253# and sets the high bit in the cache file unless we assign to the vars.
18254(
18255  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18256    eval ac_val=\$$ac_var
18257    case $ac_val in #(
18258    *${as_nl}*)
18259      case $ac_var in #(
18260      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18261$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18262      esac
18263      case $ac_var in #(
18264      _ | IFS | as_nl) ;; #(
18265      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18266      *) { eval $ac_var=; unset $ac_var;} ;;
18267      esac ;;
18268    esac
18269  done
18270
18271  (set) 2>&1 |
18272    case $as_nl`(ac_space=' '; set) 2>&1` in #(
18273    *${as_nl}ac_space=\ *)
18274      # `set' does not quote correctly, so add quotes: double-quote
18275      # substitution turns \\\\ into \\, and sed turns \\ into \.
18276      sed -n \
18277	"s/'/'\\\\''/g;
18278	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18279      ;; #(
18280    *)
18281      # `set' quotes correctly as required by POSIX, so do not add quotes.
18282      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18283      ;;
18284    esac |
18285    sort
18286) |
18287  sed '
18288     /^ac_cv_env_/b end
18289     t clear
18290     :clear
18291     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18292     t end
18293     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18294     :end' >>confcache
18295if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18296  if test -w "$cache_file"; then
18297    if test "x$cache_file" != "x/dev/null"; then
18298      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18299$as_echo "$as_me: updating cache $cache_file" >&6;}
18300      if test ! -f "$cache_file" || test -h "$cache_file"; then
18301	cat confcache >"$cache_file"
18302      else
18303        case $cache_file in #(
18304        */* | ?:*)
18305	  mv -f confcache "$cache_file"$$ &&
18306	  mv -f "$cache_file"$$ "$cache_file" ;; #(
18307        *)
18308	  mv -f confcache "$cache_file" ;;
18309	esac
18310      fi
18311    fi
18312  else
18313    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18314$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18315  fi
18316fi
18317rm -f confcache
18318
18319test "x$prefix" = xNONE && prefix=$ac_default_prefix
18320# Let make expand exec_prefix.
18321test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18322
18323DEFS=-DHAVE_CONFIG_H
18324
18325ac_libobjs=
18326ac_ltlibobjs=
18327for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18328  # 1. Remove the extension, and $U if already installed.
18329  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18330  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18331  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
18332  #    will be set to the directory where LIBOBJS objects are built.
18333  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18334  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18335done
18336LIBOBJS=$ac_libobjs
18337
18338LTLIBOBJS=$ac_ltlibobjs
18339
18340
18341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18342$as_echo_n "checking that generated files are newer than configure... " >&6; }
18343   if test -n "$am_sleep_pid"; then
18344     # Hide warnings about reused PIDs.
18345     wait $am_sleep_pid 2>/dev/null
18346   fi
18347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18348$as_echo "done" >&6; }
18349 if test -n "$EXEEXT"; then
18350  am__EXEEXT_TRUE=
18351  am__EXEEXT_FALSE='#'
18352else
18353  am__EXEEXT_TRUE='#'
18354  am__EXEEXT_FALSE=
18355fi
18356
18357
18358  ac_config_commands="$ac_config_commands po/stamp-it"
18359
18360
18361if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18362  as_fn_error $? "conditional \"AMDEP\" was never defined.
18363Usually this means the macro was only invoked conditionally." "$LINENO" 5
18364fi
18365if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18366  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18367Usually this means the macro was only invoked conditionally." "$LINENO" 5
18368fi
18369if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18370  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
18371Usually this means the macro was only invoked conditionally." "$LINENO" 5
18372fi
18373if test -z "${WANT_GLS_TRUE}" && test -z "${WANT_GLS_FALSE}"; then
18374  as_fn_error $? "conditional \"WANT_GLS\" was never defined.
18375Usually this means the macro was only invoked conditionally." "$LINENO" 5
18376fi
18377if test -z "${WANT_GHS_TRUE}" && test -z "${WANT_GHS_FALSE}"; then
18378  as_fn_error $? "conditional \"WANT_GHS\" was never defined.
18379Usually this means the macro was only invoked conditionally." "$LINENO" 5
18380fi
18381if test -z "${WINDOWS_OS_TRUE}" && test -z "${WINDOWS_OS_FALSE}"; then
18382  as_fn_error $? "conditional \"WINDOWS_OS\" was never defined.
18383Usually this means the macro was only invoked conditionally." "$LINENO" 5
18384fi
18385
18386: "${CONFIG_STATUS=./config.status}"
18387ac_write_fail=0
18388ac_clean_files_save=$ac_clean_files
18389ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18390{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18391$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18392as_write_fail=0
18393cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18394#! $SHELL
18395# Generated by $as_me.
18396# Run this file to recreate the current configuration.
18397# Compiler output produced by configure, useful for debugging
18398# configure, is in config.log if it exists.
18399
18400debug=false
18401ac_cs_recheck=false
18402ac_cs_silent=false
18403
18404SHELL=\${CONFIG_SHELL-$SHELL}
18405export SHELL
18406_ASEOF
18407cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18408## -------------------- ##
18409## M4sh Initialization. ##
18410## -------------------- ##
18411
18412# Be more Bourne compatible
18413DUALCASE=1; export DUALCASE # for MKS sh
18414if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18415  emulate sh
18416  NULLCMD=:
18417  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18418  # is contrary to our usage.  Disable this feature.
18419  alias -g '${1+"$@"}'='"$@"'
18420  setopt NO_GLOB_SUBST
18421else
18422  case `(set -o) 2>/dev/null` in #(
18423  *posix*) :
18424    set -o posix ;; #(
18425  *) :
18426     ;;
18427esac
18428fi
18429
18430
18431as_nl='
18432'
18433export as_nl
18434# Printing a long string crashes Solaris 7 /usr/bin/printf.
18435as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18436as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18437as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18438# Prefer a ksh shell builtin over an external printf program on Solaris,
18439# but without wasting forks for bash or zsh.
18440if test -z "$BASH_VERSION$ZSH_VERSION" \
18441    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18442  as_echo='print -r --'
18443  as_echo_n='print -rn --'
18444elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18445  as_echo='printf %s\n'
18446  as_echo_n='printf %s'
18447else
18448  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18449    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18450    as_echo_n='/usr/ucb/echo -n'
18451  else
18452    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18453    as_echo_n_body='eval
18454      arg=$1;
18455      case $arg in #(
18456      *"$as_nl"*)
18457	expr "X$arg" : "X\\(.*\\)$as_nl";
18458	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18459      esac;
18460      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18461    '
18462    export as_echo_n_body
18463    as_echo_n='sh -c $as_echo_n_body as_echo'
18464  fi
18465  export as_echo_body
18466  as_echo='sh -c $as_echo_body as_echo'
18467fi
18468
18469# The user is always right.
18470if test "${PATH_SEPARATOR+set}" != set; then
18471  PATH_SEPARATOR=:
18472  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18473    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18474      PATH_SEPARATOR=';'
18475  }
18476fi
18477
18478
18479# IFS
18480# We need space, tab and new line, in precisely that order.  Quoting is
18481# there to prevent editors from complaining about space-tab.
18482# (If _AS_PATH_WALK were called with IFS unset, it would disable word
18483# splitting by setting IFS to empty value.)
18484IFS=" ""	$as_nl"
18485
18486# Find who we are.  Look in the path if we contain no directory separator.
18487as_myself=
18488case $0 in #((
18489  *[\\/]* ) as_myself=$0 ;;
18490  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18491for as_dir in $PATH
18492do
18493  IFS=$as_save_IFS
18494  test -z "$as_dir" && as_dir=.
18495    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18496  done
18497IFS=$as_save_IFS
18498
18499     ;;
18500esac
18501# We did not find ourselves, most probably we were run as `sh COMMAND'
18502# in which case we are not to be found in the path.
18503if test "x$as_myself" = x; then
18504  as_myself=$0
18505fi
18506if test ! -f "$as_myself"; then
18507  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18508  exit 1
18509fi
18510
18511# Unset variables that we do not need and which cause bugs (e.g. in
18512# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18513# suppresses any "Segmentation fault" message there.  '((' could
18514# trigger a bug in pdksh 5.2.14.
18515for as_var in BASH_ENV ENV MAIL MAILPATH
18516do eval test x\${$as_var+set} = xset \
18517  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18518done
18519PS1='$ '
18520PS2='> '
18521PS4='+ '
18522
18523# NLS nuisances.
18524LC_ALL=C
18525export LC_ALL
18526LANGUAGE=C
18527export LANGUAGE
18528
18529# CDPATH.
18530(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18531
18532
18533# as_fn_error STATUS ERROR [LINENO LOG_FD]
18534# ----------------------------------------
18535# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18536# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18537# script with STATUS, using 1 if that was 0.
18538as_fn_error ()
18539{
18540  as_status=$1; test $as_status -eq 0 && as_status=1
18541  if test "$4"; then
18542    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18543    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18544  fi
18545  $as_echo "$as_me: error: $2" >&2
18546  as_fn_exit $as_status
18547} # as_fn_error
18548
18549
18550# as_fn_set_status STATUS
18551# -----------------------
18552# Set $? to STATUS, without forking.
18553as_fn_set_status ()
18554{
18555  return $1
18556} # as_fn_set_status
18557
18558# as_fn_exit STATUS
18559# -----------------
18560# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18561as_fn_exit ()
18562{
18563  set +e
18564  as_fn_set_status $1
18565  exit $1
18566} # as_fn_exit
18567
18568# as_fn_unset VAR
18569# ---------------
18570# Portably unset VAR.
18571as_fn_unset ()
18572{
18573  { eval $1=; unset $1;}
18574}
18575as_unset=as_fn_unset
18576# as_fn_append VAR VALUE
18577# ----------------------
18578# Append the text in VALUE to the end of the definition contained in VAR. Take
18579# advantage of any shell optimizations that allow amortized linear growth over
18580# repeated appends, instead of the typical quadratic growth present in naive
18581# implementations.
18582if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18583  eval 'as_fn_append ()
18584  {
18585    eval $1+=\$2
18586  }'
18587else
18588  as_fn_append ()
18589  {
18590    eval $1=\$$1\$2
18591  }
18592fi # as_fn_append
18593
18594# as_fn_arith ARG...
18595# ------------------
18596# Perform arithmetic evaluation on the ARGs, and store the result in the
18597# global $as_val. Take advantage of shells that can avoid forks. The arguments
18598# must be portable across $(()) and expr.
18599if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18600  eval 'as_fn_arith ()
18601  {
18602    as_val=$(( $* ))
18603  }'
18604else
18605  as_fn_arith ()
18606  {
18607    as_val=`expr "$@" || test $? -eq 1`
18608  }
18609fi # as_fn_arith
18610
18611
18612if expr a : '\(a\)' >/dev/null 2>&1 &&
18613   test "X`expr 00001 : '.*\(...\)'`" = X001; then
18614  as_expr=expr
18615else
18616  as_expr=false
18617fi
18618
18619if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18620  as_basename=basename
18621else
18622  as_basename=false
18623fi
18624
18625if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18626  as_dirname=dirname
18627else
18628  as_dirname=false
18629fi
18630
18631as_me=`$as_basename -- "$0" ||
18632$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18633	 X"$0" : 'X\(//\)$' \| \
18634	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18635$as_echo X/"$0" |
18636    sed '/^.*\/\([^/][^/]*\)\/*$/{
18637	    s//\1/
18638	    q
18639	  }
18640	  /^X\/\(\/\/\)$/{
18641	    s//\1/
18642	    q
18643	  }
18644	  /^X\/\(\/\).*/{
18645	    s//\1/
18646	    q
18647	  }
18648	  s/.*/./; q'`
18649
18650# Avoid depending upon Character Ranges.
18651as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18652as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18653as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18654as_cr_digits='0123456789'
18655as_cr_alnum=$as_cr_Letters$as_cr_digits
18656
18657ECHO_C= ECHO_N= ECHO_T=
18658case `echo -n x` in #(((((
18659-n*)
18660  case `echo 'xy\c'` in
18661  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
18662  xy)  ECHO_C='\c';;
18663  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
18664       ECHO_T='	';;
18665  esac;;
18666*)
18667  ECHO_N='-n';;
18668esac
18669
18670rm -f conf$$ conf$$.exe conf$$.file
18671if test -d conf$$.dir; then
18672  rm -f conf$$.dir/conf$$.file
18673else
18674  rm -f conf$$.dir
18675  mkdir conf$$.dir 2>/dev/null
18676fi
18677if (echo >conf$$.file) 2>/dev/null; then
18678  if ln -s conf$$.file conf$$ 2>/dev/null; then
18679    as_ln_s='ln -s'
18680    # ... but there are two gotchas:
18681    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18682    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18683    # In both cases, we have to default to `cp -pR'.
18684    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18685      as_ln_s='cp -pR'
18686  elif ln conf$$.file conf$$ 2>/dev/null; then
18687    as_ln_s=ln
18688  else
18689    as_ln_s='cp -pR'
18690  fi
18691else
18692  as_ln_s='cp -pR'
18693fi
18694rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18695rmdir conf$$.dir 2>/dev/null
18696
18697
18698# as_fn_mkdir_p
18699# -------------
18700# Create "$as_dir" as a directory, including parents if necessary.
18701as_fn_mkdir_p ()
18702{
18703
18704  case $as_dir in #(
18705  -*) as_dir=./$as_dir;;
18706  esac
18707  test -d "$as_dir" || eval $as_mkdir_p || {
18708    as_dirs=
18709    while :; do
18710      case $as_dir in #(
18711      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18712      *) as_qdir=$as_dir;;
18713      esac
18714      as_dirs="'$as_qdir' $as_dirs"
18715      as_dir=`$as_dirname -- "$as_dir" ||
18716$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18717	 X"$as_dir" : 'X\(//\)[^/]' \| \
18718	 X"$as_dir" : 'X\(//\)$' \| \
18719	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18720$as_echo X"$as_dir" |
18721    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18722	    s//\1/
18723	    q
18724	  }
18725	  /^X\(\/\/\)[^/].*/{
18726	    s//\1/
18727	    q
18728	  }
18729	  /^X\(\/\/\)$/{
18730	    s//\1/
18731	    q
18732	  }
18733	  /^X\(\/\).*/{
18734	    s//\1/
18735	    q
18736	  }
18737	  s/.*/./; q'`
18738      test -d "$as_dir" && break
18739    done
18740    test -z "$as_dirs" || eval "mkdir $as_dirs"
18741  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18742
18743
18744} # as_fn_mkdir_p
18745if mkdir -p . 2>/dev/null; then
18746  as_mkdir_p='mkdir -p "$as_dir"'
18747else
18748  test -d ./-p && rmdir ./-p
18749  as_mkdir_p=false
18750fi
18751
18752
18753# as_fn_executable_p FILE
18754# -----------------------
18755# Test if FILE is an executable regular file.
18756as_fn_executable_p ()
18757{
18758  test -f "$1" && test -x "$1"
18759} # as_fn_executable_p
18760as_test_x='test -x'
18761as_executable_p=as_fn_executable_p
18762
18763# Sed expression to map a string onto a valid CPP name.
18764as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18765
18766# Sed expression to map a string onto a valid variable name.
18767as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18768
18769
18770exec 6>&1
18771## ----------------------------------- ##
18772## Main body of $CONFIG_STATUS script. ##
18773## ----------------------------------- ##
18774_ASEOF
18775test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18776
18777cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18778# Save the log message, to keep $0 and so on meaningful, and to
18779# report actual input values of CONFIG_FILES etc. instead of their
18780# values after options handling.
18781ac_log="
18782This file was extended by lordsawar $as_me 0.3.2, which was
18783generated by GNU Autoconf 2.69.  Invocation command line was
18784
18785  CONFIG_FILES    = $CONFIG_FILES
18786  CONFIG_HEADERS  = $CONFIG_HEADERS
18787  CONFIG_LINKS    = $CONFIG_LINKS
18788  CONFIG_COMMANDS = $CONFIG_COMMANDS
18789  $ $0 $@
18790
18791on `(hostname || uname -n) 2>/dev/null | sed 1q`
18792"
18793
18794_ACEOF
18795
18796case $ac_config_files in *"
18797"*) set x $ac_config_files; shift; ac_config_files=$*;;
18798esac
18799
18800case $ac_config_headers in *"
18801"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18802esac
18803
18804
18805cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18806# Files that config.status was made for.
18807config_files="$ac_config_files"
18808config_headers="$ac_config_headers"
18809config_commands="$ac_config_commands"
18810
18811_ACEOF
18812
18813cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18814ac_cs_usage="\
18815\`$as_me' instantiates files and other configuration actions
18816from templates according to the current configuration.  Unless the files
18817and actions are specified as TAGs, all are instantiated by default.
18818
18819Usage: $0 [OPTION]... [TAG]...
18820
18821  -h, --help       print this help, then exit
18822  -V, --version    print version number and configuration settings, then exit
18823      --config     print configuration, then exit
18824  -q, --quiet, --silent
18825                   do not print progress messages
18826  -d, --debug      don't remove temporary files
18827      --recheck    update $as_me by reconfiguring in the same conditions
18828      --file=FILE[:TEMPLATE]
18829                   instantiate the configuration file FILE
18830      --header=FILE[:TEMPLATE]
18831                   instantiate the configuration header FILE
18832
18833Configuration files:
18834$config_files
18835
18836Configuration headers:
18837$config_headers
18838
18839Configuration commands:
18840$config_commands
18841
18842Report bugs to <https://savannah.nongnu.org/bugs/?group=lordsawar>."
18843
18844_ACEOF
18845cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18846ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18847ac_cs_version="\\
18848lordsawar config.status 0.3.2
18849configured by $0, generated by GNU Autoconf 2.69,
18850  with options \\"\$ac_cs_config\\"
18851
18852Copyright (C) 2012 Free Software Foundation, Inc.
18853This config.status script is free software; the Free Software Foundation
18854gives unlimited permission to copy, distribute and modify it."
18855
18856ac_pwd='$ac_pwd'
18857srcdir='$srcdir'
18858INSTALL='$INSTALL'
18859MKDIR_P='$MKDIR_P'
18860AWK='$AWK'
18861test -n "\$AWK" || AWK=awk
18862_ACEOF
18863
18864cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18865# The default lists apply if the user does not specify any file.
18866ac_need_defaults=:
18867while test $# != 0
18868do
18869  case $1 in
18870  --*=?*)
18871    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18872    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18873    ac_shift=:
18874    ;;
18875  --*=)
18876    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18877    ac_optarg=
18878    ac_shift=:
18879    ;;
18880  *)
18881    ac_option=$1
18882    ac_optarg=$2
18883    ac_shift=shift
18884    ;;
18885  esac
18886
18887  case $ac_option in
18888  # Handling of the options.
18889  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18890    ac_cs_recheck=: ;;
18891  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18892    $as_echo "$ac_cs_version"; exit ;;
18893  --config | --confi | --conf | --con | --co | --c )
18894    $as_echo "$ac_cs_config"; exit ;;
18895  --debug | --debu | --deb | --de | --d | -d )
18896    debug=: ;;
18897  --file | --fil | --fi | --f )
18898    $ac_shift
18899    case $ac_optarg in
18900    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18901    '') as_fn_error $? "missing file argument" ;;
18902    esac
18903    as_fn_append CONFIG_FILES " '$ac_optarg'"
18904    ac_need_defaults=false;;
18905  --header | --heade | --head | --hea )
18906    $ac_shift
18907    case $ac_optarg in
18908    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18909    esac
18910    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18911    ac_need_defaults=false;;
18912  --he | --h)
18913    # Conflict between --help and --header
18914    as_fn_error $? "ambiguous option: \`$1'
18915Try \`$0 --help' for more information.";;
18916  --help | --hel | -h )
18917    $as_echo "$ac_cs_usage"; exit ;;
18918  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18919  | -silent | --silent | --silen | --sile | --sil | --si | --s)
18920    ac_cs_silent=: ;;
18921
18922  # This is an error.
18923  -*) as_fn_error $? "unrecognized option: \`$1'
18924Try \`$0 --help' for more information." ;;
18925
18926  *) as_fn_append ac_config_targets " $1"
18927     ac_need_defaults=false ;;
18928
18929  esac
18930  shift
18931done
18932
18933ac_configure_extra_args=
18934
18935if $ac_cs_silent; then
18936  exec 6>/dev/null
18937  ac_configure_extra_args="$ac_configure_extra_args --silent"
18938fi
18939
18940_ACEOF
18941cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18942if \$ac_cs_recheck; then
18943  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18944  shift
18945  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18946  CONFIG_SHELL='$SHELL'
18947  export CONFIG_SHELL
18948  exec "\$@"
18949fi
18950
18951_ACEOF
18952cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18953exec 5>>config.log
18954{
18955  echo
18956  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18957## Running $as_me. ##
18958_ASBOX
18959  $as_echo "$ac_log"
18960} >&5
18961
18962_ACEOF
18963cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18964#
18965# INIT-COMMANDS
18966#
18967AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
18968
18969
18970
18971# The HP-UX ksh and POSIX shell print the target directory to stdout
18972# if CDPATH is set.
18973(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18974
18975sed_quote_subst='$sed_quote_subst'
18976double_quote_subst='$double_quote_subst'
18977delay_variable_subst='$delay_variable_subst'
18978macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18979macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18980enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18981enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18982pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18983enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18984shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18985SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18986ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18987PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18988host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18989host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18990host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18991build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18992build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18993build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18994SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18995Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18996GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18997EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18998FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18999LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19000NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19001LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19002max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19003ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19004exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19005lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19006lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19007lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19008lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19009lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19010reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19011reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19012OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19013deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19014file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19015file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19016want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19017DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19018sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19019AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19020AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19021archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19022STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19023RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19024old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19025old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19026old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19027lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19028CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19029CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19030compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19031GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19032lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19033lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19034lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
19035lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19036lt_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"`'
19037lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
19038nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19039lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19040lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
19041objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19042MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19043lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19044lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19045lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19046lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19047lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19048need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19049MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19050DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19051NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19052LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19053OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19054OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19055libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19056shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19057extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19058archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19059enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19060export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19061whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19062compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19063old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19064old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19065archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19066archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19067module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19068module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19069with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19070allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19071no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19072hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19073hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19074hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19075hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19076hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19077hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19078hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19079inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19080link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19081always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19082export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19083exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19084include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19085prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19086postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19087file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19088variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19089need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19090need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19091version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19092runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19093shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19094shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19095libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19096library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19097soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19098install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19099postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19100postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19101finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19102finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19103hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19104sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19105configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
19106configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
19107hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19108enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19109enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19110enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19111old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19112striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19113compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
19114predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
19115postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
19116predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
19117postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
19118compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
19119LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
19120reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
19121reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19122old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19123compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
19124GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
19125lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
19126lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
19127lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
19128lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
19129lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
19130archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
19131enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
19132export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19133whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19134compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
19135old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19136old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19137archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19138archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19139module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19140module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19141with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
19142allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19143no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19144hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19145hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
19146hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
19147hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
19148hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
19149hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
19150hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
19151inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
19152link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
19153always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
19154export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19155exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19156include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19157prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19158postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19159file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
19160hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
19161compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
19162predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19163postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19164predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
19165postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
19166compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
19167
19168LTCC='$LTCC'
19169LTCFLAGS='$LTCFLAGS'
19170compiler='$compiler_DEFAULT'
19171
19172# A function that is used when there is no print builtin or printf.
19173func_fallback_echo ()
19174{
19175  eval 'cat <<_LTECHO_EOF
19176\$1
19177_LTECHO_EOF'
19178}
19179
19180# Quote evaled strings.
19181for var in SHELL \
19182ECHO \
19183PATH_SEPARATOR \
19184SED \
19185GREP \
19186EGREP \
19187FGREP \
19188LD \
19189NM \
19190LN_S \
19191lt_SP2NL \
19192lt_NL2SP \
19193reload_flag \
19194OBJDUMP \
19195deplibs_check_method \
19196file_magic_cmd \
19197file_magic_glob \
19198want_nocaseglob \
19199DLLTOOL \
19200sharedlib_from_linklib_cmd \
19201AR \
19202AR_FLAGS \
19203archiver_list_spec \
19204STRIP \
19205RANLIB \
19206CC \
19207CFLAGS \
19208compiler \
19209lt_cv_sys_global_symbol_pipe \
19210lt_cv_sys_global_symbol_to_cdecl \
19211lt_cv_sys_global_symbol_to_import \
19212lt_cv_sys_global_symbol_to_c_name_address \
19213lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19214lt_cv_nm_interface \
19215nm_file_list_spec \
19216lt_cv_truncate_bin \
19217lt_prog_compiler_no_builtin_flag \
19218lt_prog_compiler_pic \
19219lt_prog_compiler_wl \
19220lt_prog_compiler_static \
19221lt_cv_prog_compiler_c_o \
19222need_locks \
19223MANIFEST_TOOL \
19224DSYMUTIL \
19225NMEDIT \
19226LIPO \
19227OTOOL \
19228OTOOL64 \
19229shrext_cmds \
19230export_dynamic_flag_spec \
19231whole_archive_flag_spec \
19232compiler_needs_object \
19233with_gnu_ld \
19234allow_undefined_flag \
19235no_undefined_flag \
19236hardcode_libdir_flag_spec \
19237hardcode_libdir_separator \
19238exclude_expsyms \
19239include_expsyms \
19240file_list_spec \
19241variables_saved_for_relink \
19242libname_spec \
19243library_names_spec \
19244soname_spec \
19245install_override_mode \
19246finish_eval \
19247old_striplib \
19248striplib \
19249compiler_lib_search_dirs \
19250predep_objects \
19251postdep_objects \
19252predeps \
19253postdeps \
19254compiler_lib_search_path \
19255LD_CXX \
19256reload_flag_CXX \
19257compiler_CXX \
19258lt_prog_compiler_no_builtin_flag_CXX \
19259lt_prog_compiler_pic_CXX \
19260lt_prog_compiler_wl_CXX \
19261lt_prog_compiler_static_CXX \
19262lt_cv_prog_compiler_c_o_CXX \
19263export_dynamic_flag_spec_CXX \
19264whole_archive_flag_spec_CXX \
19265compiler_needs_object_CXX \
19266with_gnu_ld_CXX \
19267allow_undefined_flag_CXX \
19268no_undefined_flag_CXX \
19269hardcode_libdir_flag_spec_CXX \
19270hardcode_libdir_separator_CXX \
19271exclude_expsyms_CXX \
19272include_expsyms_CXX \
19273file_list_spec_CXX \
19274compiler_lib_search_dirs_CXX \
19275predep_objects_CXX \
19276postdep_objects_CXX \
19277predeps_CXX \
19278postdeps_CXX \
19279compiler_lib_search_path_CXX; do
19280    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19281    *[\\\\\\\`\\"\\\$]*)
19282      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19283      ;;
19284    *)
19285      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19286      ;;
19287    esac
19288done
19289
19290# Double-quote double-evaled strings.
19291for var in reload_cmds \
19292old_postinstall_cmds \
19293old_postuninstall_cmds \
19294old_archive_cmds \
19295extract_expsyms_cmds \
19296old_archive_from_new_cmds \
19297old_archive_from_expsyms_cmds \
19298archive_cmds \
19299archive_expsym_cmds \
19300module_cmds \
19301module_expsym_cmds \
19302export_symbols_cmds \
19303prelink_cmds \
19304postlink_cmds \
19305postinstall_cmds \
19306postuninstall_cmds \
19307finish_cmds \
19308sys_lib_search_path_spec \
19309configure_time_dlsearch_path \
19310configure_time_lt_sys_library_path \
19311reload_cmds_CXX \
19312old_archive_cmds_CXX \
19313old_archive_from_new_cmds_CXX \
19314old_archive_from_expsyms_cmds_CXX \
19315archive_cmds_CXX \
19316archive_expsym_cmds_CXX \
19317module_cmds_CXX \
19318module_expsym_cmds_CXX \
19319export_symbols_cmds_CXX \
19320prelink_cmds_CXX \
19321postlink_cmds_CXX; do
19322    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19323    *[\\\\\\\`\\"\\\$]*)
19324      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19325      ;;
19326    *)
19327      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19328      ;;
19329    esac
19330done
19331
19332ac_aux_dir='$ac_aux_dir'
19333
19334# See if we are running on zsh, and set the options that allow our
19335# commands through without removal of \ escapes INIT.
19336if test -n "\${ZSH_VERSION+set}"; then
19337   setopt NO_GLOB_SUBST
19338fi
19339
19340
19341    PACKAGE='$PACKAGE'
19342    VERSION='$VERSION'
19343    RM='$RM'
19344    ofile='$ofile'
19345
19346
19347
19348
19349
19350
19351_ACEOF
19352
19353cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19354
19355# Handling of arguments.
19356for ac_config_target in $ac_config_targets
19357do
19358  case $ac_config_target in
19359    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19360    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19361    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
19362    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19363    "make-windows-zip.sh") CONFIG_FILES="$CONFIG_FILES make-windows-zip.sh" ;;
19364    "dat/Makefile") CONFIG_FILES="$CONFIG_FILES dat/Makefile" ;;
19365    "dat/icons/Makefile") CONFIG_FILES="$CONFIG_FILES dat/icons/Makefile" ;;
19366    "dat/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES dat/icons/16x16/Makefile" ;;
19367    "dat/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES dat/icons/22x22/Makefile" ;;
19368    "dat/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES dat/icons/24x24/Makefile" ;;
19369    "dat/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES dat/icons/32x32/Makefile" ;;
19370    "dat/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES dat/icons/48x48/Makefile" ;;
19371    "dat/icons/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES dat/icons/64x64/Makefile" ;;
19372    "dat/lordsawar.desktop.in") CONFIG_FILES="$CONFIG_FILES dat/lordsawar.desktop.in" ;;
19373    "dat/army/Makefile") CONFIG_FILES="$CONFIG_FILES dat/army/Makefile" ;;
19374    "dat/army/default/Makefile") CONFIG_FILES="$CONFIG_FILES dat/army/default/Makefile" ;;
19375    "dat/army/bigdefault/Makefile") CONFIG_FILES="$CONFIG_FILES dat/army/bigdefault/Makefile" ;;
19376    "dat/army/duel/Makefile") CONFIG_FILES="$CONFIG_FILES dat/army/duel/Makefile" ;;
19377    "dat/tilesets/Makefile") CONFIG_FILES="$CONFIG_FILES dat/tilesets/Makefile" ;;
19378    "dat/tilesets/default/Makefile") CONFIG_FILES="$CONFIG_FILES dat/tilesets/default/Makefile" ;;
19379    "dat/tilesets/bigdefault/Makefile") CONFIG_FILES="$CONFIG_FILES dat/tilesets/bigdefault/Makefile" ;;
19380    "dat/tilesets/stark/Makefile") CONFIG_FILES="$CONFIG_FILES dat/tilesets/stark/Makefile" ;;
19381    "dat/tilesets/bigstark/Makefile") CONFIG_FILES="$CONFIG_FILES dat/tilesets/bigstark/Makefile" ;;
19382    "dat/tilesets/wesnoth/Makefile") CONFIG_FILES="$CONFIG_FILES dat/tilesets/wesnoth/Makefile" ;;
19383    "dat/tilesets/bigwesnoth/Makefile") CONFIG_FILES="$CONFIG_FILES dat/tilesets/bigwesnoth/Makefile" ;;
19384    "dat/shield/Makefile") CONFIG_FILES="$CONFIG_FILES dat/shield/Makefile" ;;
19385    "dat/shield/default/Makefile") CONFIG_FILES="$CONFIG_FILES dat/shield/default/Makefile" ;;
19386    "dat/shield/dol/Makefile") CONFIG_FILES="$CONFIG_FILES dat/shield/dol/Makefile" ;;
19387    "dat/shield/plain/Makefile") CONFIG_FILES="$CONFIG_FILES dat/shield/plain/Makefile" ;;
19388    "dat/citysets/Makefile") CONFIG_FILES="$CONFIG_FILES dat/citysets/Makefile" ;;
19389    "dat/citysets/default/Makefile") CONFIG_FILES="$CONFIG_FILES dat/citysets/default/Makefile" ;;
19390    "dat/citysets/bigdefault/Makefile") CONFIG_FILES="$CONFIG_FILES dat/citysets/bigdefault/Makefile" ;;
19391    "dat/citysets/dol/Makefile") CONFIG_FILES="$CONFIG_FILES dat/citysets/dol/Makefile" ;;
19392    "dat/citysets/bigdol/Makefile") CONFIG_FILES="$CONFIG_FILES dat/citysets/bigdol/Makefile" ;;
19393    "dat/various/Makefile") CONFIG_FILES="$CONFIG_FILES dat/various/Makefile" ;;
19394    "dat/various/items/Makefile") CONFIG_FILES="$CONFIG_FILES dat/various/items/Makefile" ;;
19395    "dat/various/editor/Makefile") CONFIG_FILES="$CONFIG_FILES dat/various/editor/Makefile" ;;
19396    "dat/various/xslt/Makefile") CONFIG_FILES="$CONFIG_FILES dat/various/xslt/Makefile" ;;
19397    "dat/map/Makefile") CONFIG_FILES="$CONFIG_FILES dat/map/Makefile" ;;
19398    "dat/map/dol/Makefile") CONFIG_FILES="$CONFIG_FILES dat/map/dol/Makefile" ;;
19399    "dat/map/duel/Makefile") CONFIG_FILES="$CONFIG_FILES dat/map/duel/Makefile" ;;
19400    "dat/music/Makefile") CONFIG_FILES="$CONFIG_FILES dat/music/Makefile" ;;
19401    "dat/glade/Makefile") CONFIG_FILES="$CONFIG_FILES dat/glade/Makefile" ;;
19402    "dat/glade/editor/Makefile") CONFIG_FILES="$CONFIG_FILES dat/glade/editor/Makefile" ;;
19403    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
19404    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19405    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
19406    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
19407    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
19408    "help/figures/Makefile") CONFIG_FILES="$CONFIG_FILES help/figures/Makefile" ;;
19409    "src/editor/Makefile") CONFIG_FILES="$CONFIG_FILES src/editor/Makefile" ;;
19410    "src/gls/Makefile") CONFIG_FILES="$CONFIG_FILES src/gls/Makefile" ;;
19411    "src/ghs/Makefile") CONFIG_FILES="$CONFIG_FILES src/ghs/Makefile" ;;
19412    "src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
19413    "src/gui/Makefile") CONFIG_FILES="$CONFIG_FILES src/gui/Makefile" ;;
19414    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
19415
19416  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19417  esac
19418done
19419
19420
19421# If the user did not use the arguments to specify the items to instantiate,
19422# then the envvar interface is used.  Set only those that are not.
19423# We use the long form for the default assignment because of an extremely
19424# bizarre bug on SunOS 4.1.3.
19425if $ac_need_defaults; then
19426  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19427  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19428  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19429fi
19430
19431# Have a temporary directory for convenience.  Make it in the build tree
19432# simply because there is no reason against having it here, and in addition,
19433# creating and moving files from /tmp can sometimes cause problems.
19434# Hook for its removal unless debugging.
19435# Note that there is a small window in which the directory will not be cleaned:
19436# after its creation but before its name has been assigned to `$tmp'.
19437$debug ||
19438{
19439  tmp= ac_tmp=
19440  trap 'exit_status=$?
19441  : "${ac_tmp:=$tmp}"
19442  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19443' 0
19444  trap 'as_fn_exit 1' 1 2 13 15
19445}
19446# Create a (secure) tmp directory for tmp files.
19447
19448{
19449  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19450  test -d "$tmp"
19451}  ||
19452{
19453  tmp=./conf$$-$RANDOM
19454  (umask 077 && mkdir "$tmp")
19455} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19456ac_tmp=$tmp
19457
19458# Set up the scripts for CONFIG_FILES section.
19459# No need to generate them if there are no CONFIG_FILES.
19460# This happens for instance with `./config.status config.h'.
19461if test -n "$CONFIG_FILES"; then
19462
19463
19464ac_cr=`echo X | tr X '\015'`
19465# On cygwin, bash can eat \r inside `` if the user requested igncr.
19466# But we know of no other shell where ac_cr would be empty at this
19467# point, so we can use a bashism as a fallback.
19468if test "x$ac_cr" = x; then
19469  eval ac_cr=\$\'\\r\'
19470fi
19471ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19472if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19473  ac_cs_awk_cr='\\r'
19474else
19475  ac_cs_awk_cr=$ac_cr
19476fi
19477
19478echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19479_ACEOF
19480
19481
19482{
19483  echo "cat >conf$$subs.awk <<_ACEOF" &&
19484  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19485  echo "_ACEOF"
19486} >conf$$subs.sh ||
19487  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19488ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19489ac_delim='%!_!# '
19490for ac_last_try in false false false false false :; do
19491  . ./conf$$subs.sh ||
19492    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19493
19494  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19495  if test $ac_delim_n = $ac_delim_num; then
19496    break
19497  elif $ac_last_try; then
19498    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19499  else
19500    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19501  fi
19502done
19503rm -f conf$$subs.sh
19504
19505cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19506cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19507_ACEOF
19508sed -n '
19509h
19510s/^/S["/; s/!.*/"]=/
19511p
19512g
19513s/^[^!]*!//
19514:repl
19515t repl
19516s/'"$ac_delim"'$//
19517t delim
19518:nl
19519h
19520s/\(.\{148\}\)..*/\1/
19521t more1
19522s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19523p
19524n
19525b repl
19526:more1
19527s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19528p
19529g
19530s/.\{148\}//
19531t nl
19532:delim
19533h
19534s/\(.\{148\}\)..*/\1/
19535t more2
19536s/["\\]/\\&/g; s/^/"/; s/$/"/
19537p
19538b
19539:more2
19540s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19541p
19542g
19543s/.\{148\}//
19544t delim
19545' <conf$$subs.awk | sed '
19546/^[^""]/{
19547  N
19548  s/\n//
19549}
19550' >>$CONFIG_STATUS || ac_write_fail=1
19551rm -f conf$$subs.awk
19552cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19553_ACAWK
19554cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19555  for (key in S) S_is_set[key] = 1
19556  FS = ""
19557
19558}
19559{
19560  line = $ 0
19561  nfields = split(line, field, "@")
19562  substed = 0
19563  len = length(field[1])
19564  for (i = 2; i < nfields; i++) {
19565    key = field[i]
19566    keylen = length(key)
19567    if (S_is_set[key]) {
19568      value = S[key]
19569      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19570      len += length(value) + length(field[++i])
19571      substed = 1
19572    } else
19573      len += 1 + keylen
19574  }
19575
19576  print line
19577}
19578
19579_ACAWK
19580_ACEOF
19581cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19582if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19583  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19584else
19585  cat
19586fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19587  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19588_ACEOF
19589
19590# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19591# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19592# trailing colons and then remove the whole line if VPATH becomes empty
19593# (actually we leave an empty line to preserve line numbers).
19594if test "x$srcdir" = x.; then
19595  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
19596h
19597s///
19598s/^/:/
19599s/[	 ]*$/:/
19600s/:\$(srcdir):/:/g
19601s/:\${srcdir}:/:/g
19602s/:@srcdir@:/:/g
19603s/^:*//
19604s/:*$//
19605x
19606s/\(=[	 ]*\).*/\1/
19607G
19608s/\n//
19609s/^[^=]*=[	 ]*$//
19610}'
19611fi
19612
19613cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19614fi # test -n "$CONFIG_FILES"
19615
19616# Set up the scripts for CONFIG_HEADERS section.
19617# No need to generate them if there are no CONFIG_HEADERS.
19618# This happens for instance with `./config.status Makefile'.
19619if test -n "$CONFIG_HEADERS"; then
19620cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19621BEGIN {
19622_ACEOF
19623
19624# Transform confdefs.h into an awk script `defines.awk', embedded as
19625# here-document in config.status, that substitutes the proper values into
19626# config.h.in to produce config.h.
19627
19628# Create a delimiter string that does not exist in confdefs.h, to ease
19629# handling of long lines.
19630ac_delim='%!_!# '
19631for ac_last_try in false false :; do
19632  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19633  if test -z "$ac_tt"; then
19634    break
19635  elif $ac_last_try; then
19636    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19637  else
19638    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19639  fi
19640done
19641
19642# For the awk script, D is an array of macro values keyed by name,
19643# likewise P contains macro parameters if any.  Preserve backslash
19644# newline sequences.
19645
19646ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19647sed -n '
19648s/.\{148\}/&'"$ac_delim"'/g
19649t rset
19650:rset
19651s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
19652t def
19653d
19654:def
19655s/\\$//
19656t bsnl
19657s/["\\]/\\&/g
19658s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19659D["\1"]=" \3"/p
19660s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
19661d
19662:bsnl
19663s/["\\]/\\&/g
19664s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19665D["\1"]=" \3\\\\\\n"\\/p
19666t cont
19667s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19668t cont
19669d
19670:cont
19671n
19672s/.\{148\}/&'"$ac_delim"'/g
19673t clear
19674:clear
19675s/\\$//
19676t bsnlc
19677s/["\\]/\\&/g; s/^/"/; s/$/"/p
19678d
19679:bsnlc
19680s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19681b cont
19682' <confdefs.h | sed '
19683s/'"$ac_delim"'/"\\\
19684"/g' >>$CONFIG_STATUS || ac_write_fail=1
19685
19686cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19687  for (key in D) D_is_set[key] = 1
19688  FS = ""
19689}
19690/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19691  line = \$ 0
19692  split(line, arg, " ")
19693  if (arg[1] == "#") {
19694    defundef = arg[2]
19695    mac1 = arg[3]
19696  } else {
19697    defundef = substr(arg[1], 2)
19698    mac1 = arg[2]
19699  }
19700  split(mac1, mac2, "(") #)
19701  macro = mac2[1]
19702  prefix = substr(line, 1, index(line, defundef) - 1)
19703  if (D_is_set[macro]) {
19704    # Preserve the white space surrounding the "#".
19705    print prefix "define", macro P[macro] D[macro]
19706    next
19707  } else {
19708    # Replace #undef with comments.  This is necessary, for example,
19709    # in the case of _POSIX_SOURCE, which is predefined and required
19710    # on some systems where configure will not decide to define it.
19711    if (defundef == "undef") {
19712      print "/*", prefix defundef, macro, "*/"
19713      next
19714    }
19715  }
19716}
19717{ print }
19718_ACAWK
19719_ACEOF
19720cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19721  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19722fi # test -n "$CONFIG_HEADERS"
19723
19724
19725eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19726shift
19727for ac_tag
19728do
19729  case $ac_tag in
19730  :[FHLC]) ac_mode=$ac_tag; continue;;
19731  esac
19732  case $ac_mode$ac_tag in
19733  :[FHL]*:*);;
19734  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19735  :[FH]-) ac_tag=-:-;;
19736  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19737  esac
19738  ac_save_IFS=$IFS
19739  IFS=:
19740  set x $ac_tag
19741  IFS=$ac_save_IFS
19742  shift
19743  ac_file=$1
19744  shift
19745
19746  case $ac_mode in
19747  :L) ac_source=$1;;
19748  :[FH])
19749    ac_file_inputs=
19750    for ac_f
19751    do
19752      case $ac_f in
19753      -) ac_f="$ac_tmp/stdin";;
19754      *) # Look for the file first in the build tree, then in the source tree
19755	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
19756	 # because $ac_f cannot contain `:'.
19757	 test -f "$ac_f" ||
19758	   case $ac_f in
19759	   [\\/$]*) false;;
19760	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19761	   esac ||
19762	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19763      esac
19764      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19765      as_fn_append ac_file_inputs " '$ac_f'"
19766    done
19767
19768    # Let's still pretend it is `configure' which instantiates (i.e., don't
19769    # use $as_me), people would be surprised to read:
19770    #    /* config.h.  Generated by config.status.  */
19771    configure_input='Generated from '`
19772	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19773	`' by configure.'
19774    if test x"$ac_file" != x-; then
19775      configure_input="$ac_file.  $configure_input"
19776      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19777$as_echo "$as_me: creating $ac_file" >&6;}
19778    fi
19779    # Neutralize special characters interpreted by sed in replacement strings.
19780    case $configure_input in #(
19781    *\&* | *\|* | *\\* )
19782       ac_sed_conf_input=`$as_echo "$configure_input" |
19783       sed 's/[\\\\&|]/\\\\&/g'`;; #(
19784    *) ac_sed_conf_input=$configure_input;;
19785    esac
19786
19787    case $ac_tag in
19788    *:-:* | *:-) cat >"$ac_tmp/stdin" \
19789      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19790    esac
19791    ;;
19792  esac
19793
19794  ac_dir=`$as_dirname -- "$ac_file" ||
19795$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19796	 X"$ac_file" : 'X\(//\)[^/]' \| \
19797	 X"$ac_file" : 'X\(//\)$' \| \
19798	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19799$as_echo X"$ac_file" |
19800    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19801	    s//\1/
19802	    q
19803	  }
19804	  /^X\(\/\/\)[^/].*/{
19805	    s//\1/
19806	    q
19807	  }
19808	  /^X\(\/\/\)$/{
19809	    s//\1/
19810	    q
19811	  }
19812	  /^X\(\/\).*/{
19813	    s//\1/
19814	    q
19815	  }
19816	  s/.*/./; q'`
19817  as_dir="$ac_dir"; as_fn_mkdir_p
19818  ac_builddir=.
19819
19820case "$ac_dir" in
19821.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19822*)
19823  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19824  # A ".." for each directory in $ac_dir_suffix.
19825  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19826  case $ac_top_builddir_sub in
19827  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19828  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19829  esac ;;
19830esac
19831ac_abs_top_builddir=$ac_pwd
19832ac_abs_builddir=$ac_pwd$ac_dir_suffix
19833# for backward compatibility:
19834ac_top_builddir=$ac_top_build_prefix
19835
19836case $srcdir in
19837  .)  # We are building in place.
19838    ac_srcdir=.
19839    ac_top_srcdir=$ac_top_builddir_sub
19840    ac_abs_top_srcdir=$ac_pwd ;;
19841  [\\/]* | ?:[\\/]* )  # Absolute name.
19842    ac_srcdir=$srcdir$ac_dir_suffix;
19843    ac_top_srcdir=$srcdir
19844    ac_abs_top_srcdir=$srcdir ;;
19845  *) # Relative name.
19846    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19847    ac_top_srcdir=$ac_top_build_prefix$srcdir
19848    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19849esac
19850ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19851
19852
19853  case $ac_mode in
19854  :F)
19855  #
19856  # CONFIG_FILE
19857  #
19858
19859  case $INSTALL in
19860  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19861  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19862  esac
19863  ac_MKDIR_P=$MKDIR_P
19864  case $MKDIR_P in
19865  [\\/$]* | ?:[\\/]* ) ;;
19866  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19867  esac
19868_ACEOF
19869
19870cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19871# If the template does not know about datarootdir, expand it.
19872# FIXME: This hack should be removed a few years after 2.60.
19873ac_datarootdir_hack=; ac_datarootdir_seen=
19874ac_sed_dataroot='
19875/datarootdir/ {
19876  p
19877  q
19878}
19879/@datadir@/p
19880/@docdir@/p
19881/@infodir@/p
19882/@localedir@/p
19883/@mandir@/p'
19884case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19885*datarootdir*) ac_datarootdir_seen=yes;;
19886*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19887  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19888$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19889_ACEOF
19890cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19891  ac_datarootdir_hack='
19892  s&@datadir@&$datadir&g
19893  s&@docdir@&$docdir&g
19894  s&@infodir@&$infodir&g
19895  s&@localedir@&$localedir&g
19896  s&@mandir@&$mandir&g
19897  s&\\\${datarootdir}&$datarootdir&g' ;;
19898esac
19899_ACEOF
19900
19901# Neutralize VPATH when `$srcdir' = `.'.
19902# Shell code in configure.ac might set extrasub.
19903# FIXME: do we really want to maintain this feature?
19904cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19905ac_sed_extra="$ac_vpsub
19906$extrasub
19907_ACEOF
19908cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19909:t
19910/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19911s|@configure_input@|$ac_sed_conf_input|;t t
19912s&@top_builddir@&$ac_top_builddir_sub&;t t
19913s&@top_build_prefix@&$ac_top_build_prefix&;t t
19914s&@srcdir@&$ac_srcdir&;t t
19915s&@abs_srcdir@&$ac_abs_srcdir&;t t
19916s&@top_srcdir@&$ac_top_srcdir&;t t
19917s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19918s&@builddir@&$ac_builddir&;t t
19919s&@abs_builddir@&$ac_abs_builddir&;t t
19920s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19921s&@INSTALL@&$ac_INSTALL&;t t
19922s&@MKDIR_P@&$ac_MKDIR_P&;t t
19923$ac_datarootdir_hack
19924"
19925eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19926  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19927
19928test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19929  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19930  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
19931      "$ac_tmp/out"`; test -z "$ac_out"; } &&
19932  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19933which seems to be undefined.  Please make sure it is defined" >&5
19934$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19935which seems to be undefined.  Please make sure it is defined" >&2;}
19936
19937  rm -f "$ac_tmp/stdin"
19938  case $ac_file in
19939  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19940  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19941  esac \
19942  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19943 ;;
19944  :H)
19945  #
19946  # CONFIG_HEADER
19947  #
19948  if test x"$ac_file" != x-; then
19949    {
19950      $as_echo "/* $configure_input  */" \
19951      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19952    } >"$ac_tmp/config.h" \
19953      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19954    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19955      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19956$as_echo "$as_me: $ac_file is unchanged" >&6;}
19957    else
19958      rm -f "$ac_file"
19959      mv "$ac_tmp/config.h" "$ac_file" \
19960	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
19961    fi
19962  else
19963    $as_echo "/* $configure_input  */" \
19964      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19965      || as_fn_error $? "could not create -" "$LINENO" 5
19966  fi
19967# Compute "$ac_file"'s index in $config_headers.
19968_am_arg="$ac_file"
19969_am_stamp_count=1
19970for _am_header in $config_headers :; do
19971  case $_am_header in
19972    $_am_arg | $_am_arg:* )
19973      break ;;
19974    * )
19975      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19976  esac
19977done
19978echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19979$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19980	 X"$_am_arg" : 'X\(//\)[^/]' \| \
19981	 X"$_am_arg" : 'X\(//\)$' \| \
19982	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19983$as_echo X"$_am_arg" |
19984    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19985	    s//\1/
19986	    q
19987	  }
19988	  /^X\(\/\/\)[^/].*/{
19989	    s//\1/
19990	    q
19991	  }
19992	  /^X\(\/\/\)$/{
19993	    s//\1/
19994	    q
19995	  }
19996	  /^X\(\/\).*/{
19997	    s//\1/
19998	    q
19999	  }
20000	  s/.*/./; q'`/stamp-h$_am_stamp_count
20001 ;;
20002
20003  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20004$as_echo "$as_me: executing $ac_file commands" >&6;}
20005 ;;
20006  esac
20007
20008
20009  case $ac_file$ac_mode in
20010    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20011  # Older Autoconf quotes --file arguments for eval, but not when files
20012  # are listed without --file.  Let's play safe and only enable the eval
20013  # if we detect the quoting.
20014  # TODO: see whether this extra hack can be removed once we start
20015  # requiring Autoconf 2.70 or later.
20016  case $CONFIG_FILES in #(
20017  *\'*) :
20018    eval set x "$CONFIG_FILES" ;; #(
20019  *) :
20020    set x $CONFIG_FILES ;; #(
20021  *) :
20022     ;;
20023esac
20024  shift
20025  # Used to flag and report bootstrapping failures.
20026  am_rc=0
20027  for am_mf
20028  do
20029    # Strip MF so we end up with the name of the file.
20030    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
20031    # Check whether this is an Automake generated Makefile which includes
20032    # dependency-tracking related rules and includes.
20033    # Grep'ing the whole file directly is not great: AIX grep has a line
20034    # limit of 2048, but all sed's we know have understand at least 4000.
20035    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
20036      || continue
20037    am_dirpart=`$as_dirname -- "$am_mf" ||
20038$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20039	 X"$am_mf" : 'X\(//\)[^/]' \| \
20040	 X"$am_mf" : 'X\(//\)$' \| \
20041	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
20042$as_echo X"$am_mf" |
20043    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20044	    s//\1/
20045	    q
20046	  }
20047	  /^X\(\/\/\)[^/].*/{
20048	    s//\1/
20049	    q
20050	  }
20051	  /^X\(\/\/\)$/{
20052	    s//\1/
20053	    q
20054	  }
20055	  /^X\(\/\).*/{
20056	    s//\1/
20057	    q
20058	  }
20059	  s/.*/./; q'`
20060    am_filepart=`$as_basename -- "$am_mf" ||
20061$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
20062	 X"$am_mf" : 'X\(//\)$' \| \
20063	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
20064$as_echo X/"$am_mf" |
20065    sed '/^.*\/\([^/][^/]*\)\/*$/{
20066	    s//\1/
20067	    q
20068	  }
20069	  /^X\/\(\/\/\)$/{
20070	    s//\1/
20071	    q
20072	  }
20073	  /^X\/\(\/\).*/{
20074	    s//\1/
20075	    q
20076	  }
20077	  s/.*/./; q'`
20078    { echo "$as_me:$LINENO: cd "$am_dirpart" \
20079      && sed -e '/# am--include-marker/d' "$am_filepart" \
20080        | $MAKE -f - am--depfiles" >&5
20081   (cd "$am_dirpart" \
20082      && sed -e '/# am--include-marker/d' "$am_filepart" \
20083        | $MAKE -f - am--depfiles) >&5 2>&5
20084   ac_status=$?
20085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086   (exit $ac_status); } || am_rc=$?
20087  done
20088  if test $am_rc -ne 0; then
20089    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20090$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20091as_fn_error $? "Something went wrong bootstrapping makefile fragments
20092    for automatic dependency tracking.  Try re-running configure with the
20093    '--disable-dependency-tracking' option to at least be able to build
20094    the package (albeit without support for automatic dependency tracking).
20095See \`config.log' for more details" "$LINENO" 5; }
20096  fi
20097  { am_dirpart=; unset am_dirpart;}
20098  { am_filepart=; unset am_filepart;}
20099  { am_mf=; unset am_mf;}
20100  { am_rc=; unset am_rc;}
20101  rm -f conftest-deps.mk
20102}
20103 ;;
20104    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
20105        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
20106      esac ;;
20107    "libtool":C)
20108
20109    # See if we are running on zsh, and set the options that allow our
20110    # commands through without removal of \ escapes.
20111    if test -n "${ZSH_VERSION+set}"; then
20112      setopt NO_GLOB_SUBST
20113    fi
20114
20115    cfgfile=${ofile}T
20116    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20117    $RM "$cfgfile"
20118
20119    cat <<_LT_EOF >> "$cfgfile"
20120#! $SHELL
20121# Generated automatically by $as_me ($PACKAGE) $VERSION
20122# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20123# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20124
20125# Provide generalized library-building support services.
20126# Written by Gordon Matzigkeit, 1996
20127
20128# Copyright (C) 2014 Free Software Foundation, Inc.
20129# This is free software; see the source for copying conditions.  There is NO
20130# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20131
20132# GNU Libtool is free software; you can redistribute it and/or modify
20133# it under the terms of the GNU General Public License as published by
20134# the Free Software Foundation; either version 2 of of the License, or
20135# (at your option) any later version.
20136#
20137# As a special exception to the GNU General Public License, if you
20138# distribute this file as part of a program or library that is built
20139# using GNU Libtool, you may include this file under the  same
20140# distribution terms that you use for the rest of that program.
20141#
20142# GNU Libtool is distributed in the hope that it will be useful, but
20143# WITHOUT ANY WARRANTY; without even the implied warranty of
20144# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20145# GNU General Public License for more details.
20146#
20147# You should have received a copy of the GNU General Public License
20148# along with this program.  If not, see <http://www.gnu.org/licenses/>.
20149
20150
20151# The names of the tagged configurations supported by this script.
20152available_tags='CXX '
20153
20154# Configured defaults for sys_lib_dlsearch_path munging.
20155: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
20156
20157# ### BEGIN LIBTOOL CONFIG
20158
20159# Which release of libtool.m4 was used?
20160macro_version=$macro_version
20161macro_revision=$macro_revision
20162
20163# Whether or not to build shared libraries.
20164build_libtool_libs=$enable_shared
20165
20166# Whether or not to build static libraries.
20167build_old_libs=$enable_static
20168
20169# What type of objects to build.
20170pic_mode=$pic_mode
20171
20172# Whether or not to optimize for fast installation.
20173fast_install=$enable_fast_install
20174
20175# Shared archive member basename,for filename based shared library versioning on AIX.
20176shared_archive_member_spec=$shared_archive_member_spec
20177
20178# Shell to use when invoking shell scripts.
20179SHELL=$lt_SHELL
20180
20181# An echo program that protects backslashes.
20182ECHO=$lt_ECHO
20183
20184# The PATH separator for the build system.
20185PATH_SEPARATOR=$lt_PATH_SEPARATOR
20186
20187# The host system.
20188host_alias=$host_alias
20189host=$host
20190host_os=$host_os
20191
20192# The build system.
20193build_alias=$build_alias
20194build=$build
20195build_os=$build_os
20196
20197# A sed program that does not truncate output.
20198SED=$lt_SED
20199
20200# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20201Xsed="\$SED -e 1s/^X//"
20202
20203# A grep program that handles long lines.
20204GREP=$lt_GREP
20205
20206# An ERE matcher.
20207EGREP=$lt_EGREP
20208
20209# A literal string matcher.
20210FGREP=$lt_FGREP
20211
20212# A BSD- or MS-compatible name lister.
20213NM=$lt_NM
20214
20215# Whether we need soft or hard links.
20216LN_S=$lt_LN_S
20217
20218# What is the maximum length of a command?
20219max_cmd_len=$max_cmd_len
20220
20221# Object file suffix (normally "o").
20222objext=$ac_objext
20223
20224# Executable file suffix (normally "").
20225exeext=$exeext
20226
20227# whether the shell understands "unset".
20228lt_unset=$lt_unset
20229
20230# turn spaces into newlines.
20231SP2NL=$lt_lt_SP2NL
20232
20233# turn newlines into spaces.
20234NL2SP=$lt_lt_NL2SP
20235
20236# convert \$build file names to \$host format.
20237to_host_file_cmd=$lt_cv_to_host_file_cmd
20238
20239# convert \$build files to toolchain format.
20240to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20241
20242# An object symbol dumper.
20243OBJDUMP=$lt_OBJDUMP
20244
20245# Method to check whether dependent libraries are shared objects.
20246deplibs_check_method=$lt_deplibs_check_method
20247
20248# Command to use when deplibs_check_method = "file_magic".
20249file_magic_cmd=$lt_file_magic_cmd
20250
20251# How to find potential files when deplibs_check_method = "file_magic".
20252file_magic_glob=$lt_file_magic_glob
20253
20254# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20255want_nocaseglob=$lt_want_nocaseglob
20256
20257# DLL creation program.
20258DLLTOOL=$lt_DLLTOOL
20259
20260# Command to associate shared and link libraries.
20261sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20262
20263# The archiver.
20264AR=$lt_AR
20265
20266# Flags to create an archive.
20267AR_FLAGS=$lt_AR_FLAGS
20268
20269# How to feed a file listing to the archiver.
20270archiver_list_spec=$lt_archiver_list_spec
20271
20272# A symbol stripping program.
20273STRIP=$lt_STRIP
20274
20275# Commands used to install an old-style archive.
20276RANLIB=$lt_RANLIB
20277old_postinstall_cmds=$lt_old_postinstall_cmds
20278old_postuninstall_cmds=$lt_old_postuninstall_cmds
20279
20280# Whether to use a lock for old archive extraction.
20281lock_old_archive_extraction=$lock_old_archive_extraction
20282
20283# A C compiler.
20284LTCC=$lt_CC
20285
20286# LTCC compiler flags.
20287LTCFLAGS=$lt_CFLAGS
20288
20289# Take the output of nm and produce a listing of raw symbols and C names.
20290global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20291
20292# Transform the output of nm in a proper C declaration.
20293global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20294
20295# Transform the output of nm into a list of symbols to manually relocate.
20296global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
20297
20298# Transform the output of nm in a C name address pair.
20299global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20300
20301# Transform the output of nm in a C name address pair when lib prefix is needed.
20302global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20303
20304# The name lister interface.
20305nm_interface=$lt_lt_cv_nm_interface
20306
20307# Specify filename containing input files for \$NM.
20308nm_file_list_spec=$lt_nm_file_list_spec
20309
20310# The root where to search for dependent libraries,and where our libraries should be installed.
20311lt_sysroot=$lt_sysroot
20312
20313# Command to truncate a binary pipe.
20314lt_truncate_bin=$lt_lt_cv_truncate_bin
20315
20316# The name of the directory that contains temporary libtool files.
20317objdir=$objdir
20318
20319# Used to examine libraries when file_magic_cmd begins with "file".
20320MAGIC_CMD=$MAGIC_CMD
20321
20322# Must we lock files when doing compilation?
20323need_locks=$lt_need_locks
20324
20325# Manifest tool.
20326MANIFEST_TOOL=$lt_MANIFEST_TOOL
20327
20328# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20329DSYMUTIL=$lt_DSYMUTIL
20330
20331# Tool to change global to local symbols on Mac OS X.
20332NMEDIT=$lt_NMEDIT
20333
20334# Tool to manipulate fat objects and archives on Mac OS X.
20335LIPO=$lt_LIPO
20336
20337# ldd/readelf like tool for Mach-O binaries on Mac OS X.
20338OTOOL=$lt_OTOOL
20339
20340# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20341OTOOL64=$lt_OTOOL64
20342
20343# Old archive suffix (normally "a").
20344libext=$libext
20345
20346# Shared library suffix (normally ".so").
20347shrext_cmds=$lt_shrext_cmds
20348
20349# The commands to extract the exported symbol list from a shared archive.
20350extract_expsyms_cmds=$lt_extract_expsyms_cmds
20351
20352# Variables whose values should be saved in libtool wrapper scripts and
20353# restored at link time.
20354variables_saved_for_relink=$lt_variables_saved_for_relink
20355
20356# Do we need the "lib" prefix for modules?
20357need_lib_prefix=$need_lib_prefix
20358
20359# Do we need a version for libraries?
20360need_version=$need_version
20361
20362# Library versioning type.
20363version_type=$version_type
20364
20365# Shared library runtime path variable.
20366runpath_var=$runpath_var
20367
20368# Shared library path variable.
20369shlibpath_var=$shlibpath_var
20370
20371# Is shlibpath searched before the hard-coded library search path?
20372shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20373
20374# Format of library name prefix.
20375libname_spec=$lt_libname_spec
20376
20377# List of archive names.  First name is the real one, the rest are links.
20378# The last name is the one that the linker finds with -lNAME
20379library_names_spec=$lt_library_names_spec
20380
20381# The coded name of the library, if different from the real name.
20382soname_spec=$lt_soname_spec
20383
20384# Permission mode override for installation of shared libraries.
20385install_override_mode=$lt_install_override_mode
20386
20387# Command to use after installation of a shared archive.
20388postinstall_cmds=$lt_postinstall_cmds
20389
20390# Command to use after uninstallation of a shared archive.
20391postuninstall_cmds=$lt_postuninstall_cmds
20392
20393# Commands used to finish a libtool library installation in a directory.
20394finish_cmds=$lt_finish_cmds
20395
20396# As "finish_cmds", except a single script fragment to be evaled but
20397# not shown.
20398finish_eval=$lt_finish_eval
20399
20400# Whether we should hardcode library paths into libraries.
20401hardcode_into_libs=$hardcode_into_libs
20402
20403# Compile-time system search path for libraries.
20404sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20405
20406# Detected run-time system search path for libraries.
20407sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
20408
20409# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
20410configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
20411
20412# Whether dlopen is supported.
20413dlopen_support=$enable_dlopen
20414
20415# Whether dlopen of programs is supported.
20416dlopen_self=$enable_dlopen_self
20417
20418# Whether dlopen of statically linked programs is supported.
20419dlopen_self_static=$enable_dlopen_self_static
20420
20421# Commands to strip libraries.
20422old_striplib=$lt_old_striplib
20423striplib=$lt_striplib
20424
20425
20426# The linker used to build libraries.
20427LD=$lt_LD
20428
20429# How to create reloadable object files.
20430reload_flag=$lt_reload_flag
20431reload_cmds=$lt_reload_cmds
20432
20433# Commands used to build an old-style archive.
20434old_archive_cmds=$lt_old_archive_cmds
20435
20436# A language specific compiler.
20437CC=$lt_compiler
20438
20439# Is the compiler the GNU compiler?
20440with_gcc=$GCC
20441
20442# Compiler flag to turn off builtin functions.
20443no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20444
20445# Additional compiler flags for building library objects.
20446pic_flag=$lt_lt_prog_compiler_pic
20447
20448# How to pass a linker flag through the compiler.
20449wl=$lt_lt_prog_compiler_wl
20450
20451# Compiler flag to prevent dynamic linking.
20452link_static_flag=$lt_lt_prog_compiler_static
20453
20454# Does compiler simultaneously support -c and -o options?
20455compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20456
20457# Whether or not to add -lc for building shared libraries.
20458build_libtool_need_lc=$archive_cmds_need_lc
20459
20460# Whether or not to disallow shared libs when runtime libs are static.
20461allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20462
20463# Compiler flag to allow reflexive dlopens.
20464export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20465
20466# Compiler flag to generate shared objects directly from archives.
20467whole_archive_flag_spec=$lt_whole_archive_flag_spec
20468
20469# Whether the compiler copes with passing no objects directly.
20470compiler_needs_object=$lt_compiler_needs_object
20471
20472# Create an old-style archive from a shared archive.
20473old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20474
20475# Create a temporary old-style archive to link instead of a shared archive.
20476old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20477
20478# Commands used to build a shared archive.
20479archive_cmds=$lt_archive_cmds
20480archive_expsym_cmds=$lt_archive_expsym_cmds
20481
20482# Commands used to build a loadable module if different from building
20483# a shared archive.
20484module_cmds=$lt_module_cmds
20485module_expsym_cmds=$lt_module_expsym_cmds
20486
20487# Whether we are building with GNU ld or not.
20488with_gnu_ld=$lt_with_gnu_ld
20489
20490# Flag that allows shared libraries with undefined symbols to be built.
20491allow_undefined_flag=$lt_allow_undefined_flag
20492
20493# Flag that enforces no undefined symbols.
20494no_undefined_flag=$lt_no_undefined_flag
20495
20496# Flag to hardcode \$libdir into a binary during linking.
20497# This must work even if \$libdir does not exist
20498hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20499
20500# Whether we need a single "-rpath" flag with a separated argument.
20501hardcode_libdir_separator=$lt_hardcode_libdir_separator
20502
20503# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20504# DIR into the resulting binary.
20505hardcode_direct=$hardcode_direct
20506
20507# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20508# DIR into the resulting binary and the resulting library dependency is
20509# "absolute",i.e impossible to change by setting \$shlibpath_var if the
20510# library is relocated.
20511hardcode_direct_absolute=$hardcode_direct_absolute
20512
20513# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20514# into the resulting binary.
20515hardcode_minus_L=$hardcode_minus_L
20516
20517# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20518# into the resulting binary.
20519hardcode_shlibpath_var=$hardcode_shlibpath_var
20520
20521# Set to "yes" if building a shared library automatically hardcodes DIR
20522# into the library and all subsequent libraries and executables linked
20523# against it.
20524hardcode_automatic=$hardcode_automatic
20525
20526# Set to yes if linker adds runtime paths of dependent libraries
20527# to runtime path list.
20528inherit_rpath=$inherit_rpath
20529
20530# Whether libtool must link a program against all its dependency libraries.
20531link_all_deplibs=$link_all_deplibs
20532
20533# Set to "yes" if exported symbols are required.
20534always_export_symbols=$always_export_symbols
20535
20536# The commands to list exported symbols.
20537export_symbols_cmds=$lt_export_symbols_cmds
20538
20539# Symbols that should not be listed in the preloaded symbols.
20540exclude_expsyms=$lt_exclude_expsyms
20541
20542# Symbols that must always be exported.
20543include_expsyms=$lt_include_expsyms
20544
20545# Commands necessary for linking programs (against libraries) with templates.
20546prelink_cmds=$lt_prelink_cmds
20547
20548# Commands necessary for finishing linking programs.
20549postlink_cmds=$lt_postlink_cmds
20550
20551# Specify filename containing input files.
20552file_list_spec=$lt_file_list_spec
20553
20554# How to hardcode a shared library path into an executable.
20555hardcode_action=$hardcode_action
20556
20557# The directories searched by this compiler when creating a shared library.
20558compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20559
20560# Dependencies to place before and after the objects being linked to
20561# create a shared library.
20562predep_objects=$lt_predep_objects
20563postdep_objects=$lt_postdep_objects
20564predeps=$lt_predeps
20565postdeps=$lt_postdeps
20566
20567# The library search path used internally by the compiler when linking
20568# a shared library.
20569compiler_lib_search_path=$lt_compiler_lib_search_path
20570
20571# ### END LIBTOOL CONFIG
20572
20573_LT_EOF
20574
20575    cat <<'_LT_EOF' >> "$cfgfile"
20576
20577# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
20578
20579# func_munge_path_list VARIABLE PATH
20580# -----------------------------------
20581# VARIABLE is name of variable containing _space_ separated list of
20582# directories to be munged by the contents of PATH, which is string
20583# having a format:
20584# "DIR[:DIR]:"
20585#       string "DIR[ DIR]" will be prepended to VARIABLE
20586# ":DIR[:DIR]"
20587#       string "DIR[ DIR]" will be appended to VARIABLE
20588# "DIRP[:DIRP]::[DIRA:]DIRA"
20589#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
20590#       "DIRA[ DIRA]" will be appended to VARIABLE
20591# "DIR[:DIR]"
20592#       VARIABLE will be replaced by "DIR[ DIR]"
20593func_munge_path_list ()
20594{
20595    case x$2 in
20596    x)
20597        ;;
20598    *:)
20599        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
20600        ;;
20601    x:*)
20602        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
20603        ;;
20604    *::*)
20605        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
20606        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
20607        ;;
20608    *)
20609        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
20610        ;;
20611    esac
20612}
20613
20614
20615# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
20616func_cc_basename ()
20617{
20618    for cc_temp in $*""; do
20619      case $cc_temp in
20620        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20621        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20622        \-*) ;;
20623        *) break;;
20624      esac
20625    done
20626    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
20627}
20628
20629
20630# ### END FUNCTIONS SHARED WITH CONFIGURE
20631
20632_LT_EOF
20633
20634  case $host_os in
20635  aix3*)
20636    cat <<\_LT_EOF >> "$cfgfile"
20637# AIX sometimes has problems with the GCC collect2 program.  For some
20638# reason, if we set the COLLECT_NAMES environment variable, the problems
20639# vanish in a puff of smoke.
20640if test set != "${COLLECT_NAMES+set}"; then
20641  COLLECT_NAMES=
20642  export COLLECT_NAMES
20643fi
20644_LT_EOF
20645    ;;
20646  esac
20647
20648
20649ltmain=$ac_aux_dir/ltmain.sh
20650
20651
20652  # We use sed instead of cat because bash on DJGPP gets confused if
20653  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20654  # text mode, it properly converts lines to CR/LF.  This bash problem
20655  # is reportedly fixed, but why not run on old versions too?
20656  sed '$q' "$ltmain" >> "$cfgfile" \
20657     || (rm -f "$cfgfile"; exit 1)
20658
20659   mv -f "$cfgfile" "$ofile" ||
20660    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20661  chmod +x "$ofile"
20662
20663
20664    cat <<_LT_EOF >> "$ofile"
20665
20666# ### BEGIN LIBTOOL TAG CONFIG: CXX
20667
20668# The linker used to build libraries.
20669LD=$lt_LD_CXX
20670
20671# How to create reloadable object files.
20672reload_flag=$lt_reload_flag_CXX
20673reload_cmds=$lt_reload_cmds_CXX
20674
20675# Commands used to build an old-style archive.
20676old_archive_cmds=$lt_old_archive_cmds_CXX
20677
20678# A language specific compiler.
20679CC=$lt_compiler_CXX
20680
20681# Is the compiler the GNU compiler?
20682with_gcc=$GCC_CXX
20683
20684# Compiler flag to turn off builtin functions.
20685no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20686
20687# Additional compiler flags for building library objects.
20688pic_flag=$lt_lt_prog_compiler_pic_CXX
20689
20690# How to pass a linker flag through the compiler.
20691wl=$lt_lt_prog_compiler_wl_CXX
20692
20693# Compiler flag to prevent dynamic linking.
20694link_static_flag=$lt_lt_prog_compiler_static_CXX
20695
20696# Does compiler simultaneously support -c and -o options?
20697compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20698
20699# Whether or not to add -lc for building shared libraries.
20700build_libtool_need_lc=$archive_cmds_need_lc_CXX
20701
20702# Whether or not to disallow shared libs when runtime libs are static.
20703allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20704
20705# Compiler flag to allow reflexive dlopens.
20706export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20707
20708# Compiler flag to generate shared objects directly from archives.
20709whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20710
20711# Whether the compiler copes with passing no objects directly.
20712compiler_needs_object=$lt_compiler_needs_object_CXX
20713
20714# Create an old-style archive from a shared archive.
20715old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20716
20717# Create a temporary old-style archive to link instead of a shared archive.
20718old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20719
20720# Commands used to build a shared archive.
20721archive_cmds=$lt_archive_cmds_CXX
20722archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20723
20724# Commands used to build a loadable module if different from building
20725# a shared archive.
20726module_cmds=$lt_module_cmds_CXX
20727module_expsym_cmds=$lt_module_expsym_cmds_CXX
20728
20729# Whether we are building with GNU ld or not.
20730with_gnu_ld=$lt_with_gnu_ld_CXX
20731
20732# Flag that allows shared libraries with undefined symbols to be built.
20733allow_undefined_flag=$lt_allow_undefined_flag_CXX
20734
20735# Flag that enforces no undefined symbols.
20736no_undefined_flag=$lt_no_undefined_flag_CXX
20737
20738# Flag to hardcode \$libdir into a binary during linking.
20739# This must work even if \$libdir does not exist
20740hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20741
20742# Whether we need a single "-rpath" flag with a separated argument.
20743hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20744
20745# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20746# DIR into the resulting binary.
20747hardcode_direct=$hardcode_direct_CXX
20748
20749# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20750# DIR into the resulting binary and the resulting library dependency is
20751# "absolute",i.e impossible to change by setting \$shlibpath_var if the
20752# library is relocated.
20753hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20754
20755# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20756# into the resulting binary.
20757hardcode_minus_L=$hardcode_minus_L_CXX
20758
20759# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20760# into the resulting binary.
20761hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20762
20763# Set to "yes" if building a shared library automatically hardcodes DIR
20764# into the library and all subsequent libraries and executables linked
20765# against it.
20766hardcode_automatic=$hardcode_automatic_CXX
20767
20768# Set to yes if linker adds runtime paths of dependent libraries
20769# to runtime path list.
20770inherit_rpath=$inherit_rpath_CXX
20771
20772# Whether libtool must link a program against all its dependency libraries.
20773link_all_deplibs=$link_all_deplibs_CXX
20774
20775# Set to "yes" if exported symbols are required.
20776always_export_symbols=$always_export_symbols_CXX
20777
20778# The commands to list exported symbols.
20779export_symbols_cmds=$lt_export_symbols_cmds_CXX
20780
20781# Symbols that should not be listed in the preloaded symbols.
20782exclude_expsyms=$lt_exclude_expsyms_CXX
20783
20784# Symbols that must always be exported.
20785include_expsyms=$lt_include_expsyms_CXX
20786
20787# Commands necessary for linking programs (against libraries) with templates.
20788prelink_cmds=$lt_prelink_cmds_CXX
20789
20790# Commands necessary for finishing linking programs.
20791postlink_cmds=$lt_postlink_cmds_CXX
20792
20793# Specify filename containing input files.
20794file_list_spec=$lt_file_list_spec_CXX
20795
20796# How to hardcode a shared library path into an executable.
20797hardcode_action=$hardcode_action_CXX
20798
20799# The directories searched by this compiler when creating a shared library.
20800compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20801
20802# Dependencies to place before and after the objects being linked to
20803# create a shared library.
20804predep_objects=$lt_predep_objects_CXX
20805postdep_objects=$lt_postdep_objects_CXX
20806predeps=$lt_predeps_CXX
20807postdeps=$lt_postdeps_CXX
20808
20809# The library search path used internally by the compiler when linking
20810# a shared library.
20811compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20812
20813# ### END LIBTOOL TAG CONFIG: CXX
20814_LT_EOF
20815
20816 ;;
20817    "make-windows-zip.sh":F) chmod +x make-windows-zip.sh ;;
20818    "po/stamp-it":C)
20819    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
20820       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
20821    fi
20822    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
20823    >"po/stamp-it.tmp"
20824    sed '/^#/d
20825	 s/^[[].*] *//
20826	 /^[ 	]*$/d
20827	'"s|^|	$ac_top_srcdir/|" \
20828      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
20829
20830    sed '/^POTFILES =/,/[^\\]$/ {
20831		/^POTFILES =/!d
20832		r po/POTFILES
20833	  }
20834	 ' "po/Makefile.in" >"po/Makefile"
20835    rm -f "po/Makefile.tmp"
20836    mv "po/stamp-it.tmp" "po/stamp-it"
20837   ;;
20838
20839  esac
20840done # for ac_tag
20841
20842
20843as_fn_exit 0
20844_ACEOF
20845ac_clean_files=$ac_clean_files_save
20846
20847test $ac_write_fail = 0 ||
20848  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20849
20850
20851# configure is writing to config.log, and then calls config.status.
20852# config.status does its own redirection, appending to config.log.
20853# Unfortunately, on DOS this fails, as config.log is still kept open
20854# by configure, so config.status won't be able to write to it; its
20855# output is simply discarded.  So we exec the FD to /dev/null,
20856# effectively closing config.log, so it can be properly (re)opened and
20857# appended to by config.status.  When coming back to configure, we
20858# need to make the FD available again.
20859if test "$no_create" != yes; then
20860  ac_cs_success=:
20861  ac_config_status_args=
20862  test "$silent" = yes &&
20863    ac_config_status_args="$ac_config_status_args --quiet"
20864  exec 5>/dev/null
20865  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20866  exec 5>>config.log
20867  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20868  # would make configure fail if this is the last instruction.
20869  $ac_cs_success || as_fn_exit 1
20870fi
20871if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20872  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20873$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20874fi
20875
20876echo ""
20877echo "LordsAWar! is now configured. Type 'make' to compile it."
20878echo ""
20879echo "Configuration:"
20880echo " Installation location : $prefix"
20881echo " Game-list Server      : $use_gls"
20882echo " Game-host Server      : $use_ghs"
20883echo " Enable Sounds         : $use_sound"
20884echo ""
20885echo "Extra Options:"
20886echo " Compiler Optimizations: $use_opts"
20887