1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for dee 1.2.7.
4#
5# Report bugs to <https://bugs.launchpad.net/dee>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: https://bugs.launchpad.net/dee about your system,
279$0: including any error possibly output before this
280$0: message. Then install a modern shell, or manually run
281$0: the script under such a shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='dee'
592PACKAGE_TARNAME='dee'
593PACKAGE_VERSION='1.2.7'
594PACKAGE_STRING='dee 1.2.7'
595PACKAGE_BUGREPORT='https://bugs.launchpad.net/dee'
596PACKAGE_URL=''
597
598ac_unique_file="src/dee.h"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_header_list=
636ac_subst_vars='HAVE_ICU_FALSE
637HAVE_ICU_TRUE
638am__EXEEXT_FALSE
639am__EXEEXT_TRUE
640LTLIBOBJS
641ICU_LIBS
642ICU_CFLAGS
643HAVE_VAPIGEN_FALSE
644HAVE_VAPIGEN_TRUE
645VALA_API_GEN
646GLIB_GENMARSHAL
647GLIB_MKENUMS
648ENABLE_TRACE_LOG_FALSE
649ENABLE_TRACE_LOG_TRUE
650HAVE_GTX_FALSE
651HAVE_GTX_TRUE
652GTX_LIBS
653GTX_CFLAGS
654COVERAGE_LDFLAGS
655COVERAGE_CFLAGS
656HAVE_GCOVR_FALSE
657HAVE_GCOVR_TRUE
658HAVE_LCOV_FALSE
659HAVE_LCOV_TRUE
660GCOVR
661GENHTML
662LCOV
663SHTOOL
664HAVE_GCOV_FALSE
665HAVE_GCOV_TRUE
666WANT_TESTS_FALSE
667WANT_TESTS_TRUE
668GTK_DOC_USE_REBASE_FALSE
669GTK_DOC_USE_REBASE_TRUE
670GTK_DOC_USE_LIBTOOL_FALSE
671GTK_DOC_USE_LIBTOOL_TRUE
672GTK_DOC_BUILD_PDF_FALSE
673GTK_DOC_BUILD_PDF_TRUE
674GTK_DOC_BUILD_HTML_FALSE
675GTK_DOC_BUILD_HTML_TRUE
676ENABLE_GTK_DOC_FALSE
677ENABLE_GTK_DOC_TRUE
678GTKDOC_DEPS_LIBS
679GTKDOC_DEPS_CFLAGS
680HTML_DIR
681GTKDOC_MKPDF
682GTKDOC_REBASE
683GTKDOC_CHECK
684HAVE_INTROSPECTION_FALSE
685HAVE_INTROSPECTION_TRUE
686INTROSPECTION_MAKEFILE
687INTROSPECTION_LIBS
688INTROSPECTION_CFLAGS
689INTROSPECTION_TYPELIBDIR
690INTROSPECTION_GIRDIR
691INTROSPECTION_GENERATE
692INTROSPECTION_COMPILER
693INTROSPECTION_SCANNER
694MAINTAINER_CFLAGS
695GCC_FLAGS
696DEE_LIBS
697DEE_CFLAGS
698PKG_CONFIG_LIBDIR
699PKG_CONFIG_PATH
700PKG_CONFIG
701LIBOBJS
702CPP
703OTOOL64
704OTOOL
705LIPO
706NMEDIT
707DSYMUTIL
708MANIFEST_TOOL
709RANLIB
710ac_ct_AR
711AR
712DLLTOOL
713OBJDUMP
714LN_S
715NM
716ac_ct_DUMPBIN
717DUMPBIN
718LD
719FGREP
720EGREP
721GREP
722SED
723host_os
724host_vendor
725host_cpu
726host
727build_os
728build_vendor
729build_cpu
730build
731LIBTOOL
732am__fastdepCC_FALSE
733am__fastdepCC_TRUE
734CCDEPMODE
735am__nodep
736AMDEPBACKSLASH
737AMDEP_FALSE
738AMDEP_TRUE
739am__quote
740am__include
741DEPDIR
742OBJEXT
743EXEEXT
744ac_ct_CC
745CPPFLAGS
746LDFLAGS
747CFLAGS
748CC
749DEE_LT_LDFLAGS
750DEE_LT_VERSION
751GIR_VERSION
752DEE_VERSION
753DEE_MICRO_VERSION
754DEE_MINOR_VERSION
755DEE_MAJOR_VERSION
756PYGI_OVERRIDES_DIR
757pkgpyexecdir
758pyexecdir
759pkgpythondir
760pythondir
761PYTHON_PLATFORM
762PYTHON_EXEC_PREFIX
763PYTHON_PREFIX
764PYTHON_VERSION
765PYTHON
766AM_BACKSLASH
767AM_DEFAULT_VERBOSITY
768AM_DEFAULT_V
769AM_V
770am__untar
771am__tar
772AMTAR
773am__leading_dot
774SET_MAKE
775AWK
776mkdir_p
777MKDIR_P
778INSTALL_STRIP_PROGRAM
779STRIP
780install_sh
781MAKEINFO
782AUTOHEADER
783AUTOMAKE
784AUTOCONF
785ACLOCAL
786VERSION
787PACKAGE
788CYGPATH_W
789am__isrc
790INSTALL_DATA
791INSTALL_SCRIPT
792INSTALL_PROGRAM
793target_alias
794host_alias
795build_alias
796LIBS
797ECHO_T
798ECHO_N
799ECHO_C
800DEFS
801mandir
802localedir
803libdir
804psdir
805pdfdir
806dvidir
807htmldir
808infodir
809docdir
810oldincludedir
811includedir
812localstatedir
813sharedstatedir
814sysconfdir
815datadir
816datarootdir
817libexecdir
818sbindir
819bindir
820program_transform_name
821prefix
822exec_prefix
823PACKAGE_URL
824PACKAGE_BUGREPORT
825PACKAGE_STRING
826PACKAGE_VERSION
827PACKAGE_TARNAME
828PACKAGE_NAME
829PATH_SEPARATOR
830SHELL'
831ac_subst_files=''
832ac_user_opts='
833enable_option_checking
834enable_silent_rules
835with_pygi_overrides_dir
836enable_dependency_tracking
837enable_static
838enable_shared
839with_pic
840enable_fast_install
841with_gnu_ld
842with_sysroot
843enable_libtool_lock
844enable_maintainer_flags
845enable_introspection
846with_html_dir
847enable_gtk_doc
848enable_gtk_doc_html
849enable_gtk_doc_pdf
850enable_tests
851enable_gcov
852enable_extended_tests
853enable_trace_log
854enable_icu
855'
856      ac_precious_vars='build_alias
857host_alias
858target_alias
859PYTHON
860CC
861CFLAGS
862LDFLAGS
863LIBS
864CPPFLAGS
865CPP
866PKG_CONFIG
867PKG_CONFIG_PATH
868PKG_CONFIG_LIBDIR
869DEE_CFLAGS
870DEE_LIBS
871GTKDOC_DEPS_CFLAGS
872GTKDOC_DEPS_LIBS
873GTX_CFLAGS
874GTX_LIBS'
875
876
877# Initialize some variables set by options.
878ac_init_help=
879ac_init_version=false
880ac_unrecognized_opts=
881ac_unrecognized_sep=
882# The variables have the same names as the options, with
883# dashes changed to underlines.
884cache_file=/dev/null
885exec_prefix=NONE
886no_create=
887no_recursion=
888prefix=NONE
889program_prefix=NONE
890program_suffix=NONE
891program_transform_name=s,x,x,
892silent=
893site=
894srcdir=
895verbose=
896x_includes=NONE
897x_libraries=NONE
898
899# Installation directory options.
900# These are left unexpanded so users can "make install exec_prefix=/foo"
901# and all the variables that are supposed to be based on exec_prefix
902# by default will actually change.
903# Use braces instead of parens because sh, perl, etc. also accept them.
904# (The list follows the same order as the GNU Coding Standards.)
905bindir='${exec_prefix}/bin'
906sbindir='${exec_prefix}/sbin'
907libexecdir='${exec_prefix}/libexec'
908datarootdir='${prefix}/share'
909datadir='${datarootdir}'
910sysconfdir='${prefix}/etc'
911sharedstatedir='${prefix}/com'
912localstatedir='${prefix}/var'
913includedir='${prefix}/include'
914oldincludedir='/usr/include'
915docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
916infodir='${datarootdir}/info'
917htmldir='${docdir}'
918dvidir='${docdir}'
919pdfdir='${docdir}'
920psdir='${docdir}'
921libdir='${exec_prefix}/lib'
922localedir='${datarootdir}/locale'
923mandir='${datarootdir}/man'
924
925ac_prev=
926ac_dashdash=
927for ac_option
928do
929  # If the previous option needs an argument, assign it.
930  if test -n "$ac_prev"; then
931    eval $ac_prev=\$ac_option
932    ac_prev=
933    continue
934  fi
935
936  case $ac_option in
937  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
938  *=)   ac_optarg= ;;
939  *)    ac_optarg=yes ;;
940  esac
941
942  # Accept the important Cygnus configure options, so we can diagnose typos.
943
944  case $ac_dashdash$ac_option in
945  --)
946    ac_dashdash=yes ;;
947
948  -bindir | --bindir | --bindi | --bind | --bin | --bi)
949    ac_prev=bindir ;;
950  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
951    bindir=$ac_optarg ;;
952
953  -build | --build | --buil | --bui | --bu)
954    ac_prev=build_alias ;;
955  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
956    build_alias=$ac_optarg ;;
957
958  -cache-file | --cache-file | --cache-fil | --cache-fi \
959  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
960    ac_prev=cache_file ;;
961  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
962  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
963    cache_file=$ac_optarg ;;
964
965  --config-cache | -C)
966    cache_file=config.cache ;;
967
968  -datadir | --datadir | --datadi | --datad)
969    ac_prev=datadir ;;
970  -datadir=* | --datadir=* | --datadi=* | --datad=*)
971    datadir=$ac_optarg ;;
972
973  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
974  | --dataroo | --dataro | --datar)
975    ac_prev=datarootdir ;;
976  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
977  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
978    datarootdir=$ac_optarg ;;
979
980  -disable-* | --disable-*)
981    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
982    # Reject names that are not valid shell variable names.
983    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
984      as_fn_error $? "invalid feature name: $ac_useropt"
985    ac_useropt_orig=$ac_useropt
986    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987    case $ac_user_opts in
988      *"
989"enable_$ac_useropt"
990"*) ;;
991      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
992	 ac_unrecognized_sep=', ';;
993    esac
994    eval enable_$ac_useropt=no ;;
995
996  -docdir | --docdir | --docdi | --doc | --do)
997    ac_prev=docdir ;;
998  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
999    docdir=$ac_optarg ;;
1000
1001  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1002    ac_prev=dvidir ;;
1003  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1004    dvidir=$ac_optarg ;;
1005
1006  -enable-* | --enable-*)
1007    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1008    # Reject names that are not valid shell variable names.
1009    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1010      as_fn_error $? "invalid feature name: $ac_useropt"
1011    ac_useropt_orig=$ac_useropt
1012    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1013    case $ac_user_opts in
1014      *"
1015"enable_$ac_useropt"
1016"*) ;;
1017      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1018	 ac_unrecognized_sep=', ';;
1019    esac
1020    eval enable_$ac_useropt=\$ac_optarg ;;
1021
1022  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1023  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1024  | --exec | --exe | --ex)
1025    ac_prev=exec_prefix ;;
1026  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1027  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1028  | --exec=* | --exe=* | --ex=*)
1029    exec_prefix=$ac_optarg ;;
1030
1031  -gas | --gas | --ga | --g)
1032    # Obsolete; use --with-gas.
1033    with_gas=yes ;;
1034
1035  -help | --help | --hel | --he | -h)
1036    ac_init_help=long ;;
1037  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1038    ac_init_help=recursive ;;
1039  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1040    ac_init_help=short ;;
1041
1042  -host | --host | --hos | --ho)
1043    ac_prev=host_alias ;;
1044  -host=* | --host=* | --hos=* | --ho=*)
1045    host_alias=$ac_optarg ;;
1046
1047  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1048    ac_prev=htmldir ;;
1049  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1050  | --ht=*)
1051    htmldir=$ac_optarg ;;
1052
1053  -includedir | --includedir | --includedi | --included | --include \
1054  | --includ | --inclu | --incl | --inc)
1055    ac_prev=includedir ;;
1056  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1057  | --includ=* | --inclu=* | --incl=* | --inc=*)
1058    includedir=$ac_optarg ;;
1059
1060  -infodir | --infodir | --infodi | --infod | --info | --inf)
1061    ac_prev=infodir ;;
1062  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1063    infodir=$ac_optarg ;;
1064
1065  -libdir | --libdir | --libdi | --libd)
1066    ac_prev=libdir ;;
1067  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1068    libdir=$ac_optarg ;;
1069
1070  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1071  | --libexe | --libex | --libe)
1072    ac_prev=libexecdir ;;
1073  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1074  | --libexe=* | --libex=* | --libe=*)
1075    libexecdir=$ac_optarg ;;
1076
1077  -localedir | --localedir | --localedi | --localed | --locale)
1078    ac_prev=localedir ;;
1079  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1080    localedir=$ac_optarg ;;
1081
1082  -localstatedir | --localstatedir | --localstatedi | --localstated \
1083  | --localstate | --localstat | --localsta | --localst | --locals)
1084    ac_prev=localstatedir ;;
1085  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1086  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1087    localstatedir=$ac_optarg ;;
1088
1089  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1090    ac_prev=mandir ;;
1091  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1092    mandir=$ac_optarg ;;
1093
1094  -nfp | --nfp | --nf)
1095    # Obsolete; use --without-fp.
1096    with_fp=no ;;
1097
1098  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1099  | --no-cr | --no-c | -n)
1100    no_create=yes ;;
1101
1102  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1103  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1104    no_recursion=yes ;;
1105
1106  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1107  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1108  | --oldin | --oldi | --old | --ol | --o)
1109    ac_prev=oldincludedir ;;
1110  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1111  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1112  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1113    oldincludedir=$ac_optarg ;;
1114
1115  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1116    ac_prev=prefix ;;
1117  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1118    prefix=$ac_optarg ;;
1119
1120  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1121  | --program-pre | --program-pr | --program-p)
1122    ac_prev=program_prefix ;;
1123  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1124  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1125    program_prefix=$ac_optarg ;;
1126
1127  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1128  | --program-suf | --program-su | --program-s)
1129    ac_prev=program_suffix ;;
1130  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1131  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1132    program_suffix=$ac_optarg ;;
1133
1134  -program-transform-name | --program-transform-name \
1135  | --program-transform-nam | --program-transform-na \
1136  | --program-transform-n | --program-transform- \
1137  | --program-transform | --program-transfor \
1138  | --program-transfo | --program-transf \
1139  | --program-trans | --program-tran \
1140  | --progr-tra | --program-tr | --program-t)
1141    ac_prev=program_transform_name ;;
1142  -program-transform-name=* | --program-transform-name=* \
1143  | --program-transform-nam=* | --program-transform-na=* \
1144  | --program-transform-n=* | --program-transform-=* \
1145  | --program-transform=* | --program-transfor=* \
1146  | --program-transfo=* | --program-transf=* \
1147  | --program-trans=* | --program-tran=* \
1148  | --progr-tra=* | --program-tr=* | --program-t=*)
1149    program_transform_name=$ac_optarg ;;
1150
1151  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1152    ac_prev=pdfdir ;;
1153  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1154    pdfdir=$ac_optarg ;;
1155
1156  -psdir | --psdir | --psdi | --psd | --ps)
1157    ac_prev=psdir ;;
1158  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1159    psdir=$ac_optarg ;;
1160
1161  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1162  | -silent | --silent | --silen | --sile | --sil)
1163    silent=yes ;;
1164
1165  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1166    ac_prev=sbindir ;;
1167  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1168  | --sbi=* | --sb=*)
1169    sbindir=$ac_optarg ;;
1170
1171  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1172  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1173  | --sharedst | --shareds | --shared | --share | --shar \
1174  | --sha | --sh)
1175    ac_prev=sharedstatedir ;;
1176  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1177  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1178  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1179  | --sha=* | --sh=*)
1180    sharedstatedir=$ac_optarg ;;
1181
1182  -site | --site | --sit)
1183    ac_prev=site ;;
1184  -site=* | --site=* | --sit=*)
1185    site=$ac_optarg ;;
1186
1187  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1188    ac_prev=srcdir ;;
1189  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1190    srcdir=$ac_optarg ;;
1191
1192  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1193  | --syscon | --sysco | --sysc | --sys | --sy)
1194    ac_prev=sysconfdir ;;
1195  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1196  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1197    sysconfdir=$ac_optarg ;;
1198
1199  -target | --target | --targe | --targ | --tar | --ta | --t)
1200    ac_prev=target_alias ;;
1201  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1202    target_alias=$ac_optarg ;;
1203
1204  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1205    verbose=yes ;;
1206
1207  -version | --version | --versio | --versi | --vers | -V)
1208    ac_init_version=: ;;
1209
1210  -with-* | --with-*)
1211    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1212    # Reject names that are not valid shell variable names.
1213    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1214      as_fn_error $? "invalid package name: $ac_useropt"
1215    ac_useropt_orig=$ac_useropt
1216    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1217    case $ac_user_opts in
1218      *"
1219"with_$ac_useropt"
1220"*) ;;
1221      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1222	 ac_unrecognized_sep=', ';;
1223    esac
1224    eval with_$ac_useropt=\$ac_optarg ;;
1225
1226  -without-* | --without-*)
1227    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1228    # Reject names that are not valid shell variable names.
1229    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1230      as_fn_error $? "invalid package name: $ac_useropt"
1231    ac_useropt_orig=$ac_useropt
1232    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1233    case $ac_user_opts in
1234      *"
1235"with_$ac_useropt"
1236"*) ;;
1237      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1238	 ac_unrecognized_sep=', ';;
1239    esac
1240    eval with_$ac_useropt=no ;;
1241
1242  --x)
1243    # Obsolete; use --with-x.
1244    with_x=yes ;;
1245
1246  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1247  | --x-incl | --x-inc | --x-in | --x-i)
1248    ac_prev=x_includes ;;
1249  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1250  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1251    x_includes=$ac_optarg ;;
1252
1253  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1254  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1255    ac_prev=x_libraries ;;
1256  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1257  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1258    x_libraries=$ac_optarg ;;
1259
1260  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1261Try \`$0 --help' for more information"
1262    ;;
1263
1264  *=*)
1265    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1266    # Reject names that are not valid shell variable names.
1267    case $ac_envvar in #(
1268      '' | [0-9]* | *[!_$as_cr_alnum]* )
1269      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1270    esac
1271    eval $ac_envvar=\$ac_optarg
1272    export $ac_envvar ;;
1273
1274  *)
1275    # FIXME: should be removed in autoconf 3.0.
1276    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1277    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1278      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1279    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1280    ;;
1281
1282  esac
1283done
1284
1285if test -n "$ac_prev"; then
1286  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1287  as_fn_error $? "missing argument to $ac_option"
1288fi
1289
1290if test -n "$ac_unrecognized_opts"; then
1291  case $enable_option_checking in
1292    no) ;;
1293    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1294    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1295  esac
1296fi
1297
1298# Check all directory arguments for consistency.
1299for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1300		datadir sysconfdir sharedstatedir localstatedir includedir \
1301		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1302		libdir localedir mandir
1303do
1304  eval ac_val=\$$ac_var
1305  # Remove trailing slashes.
1306  case $ac_val in
1307    */ )
1308      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1309      eval $ac_var=\$ac_val;;
1310  esac
1311  # Be sure to have absolute directory names.
1312  case $ac_val in
1313    [\\/$]* | ?:[\\/]* )  continue;;
1314    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1315  esac
1316  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1317done
1318
1319# There might be people who depend on the old broken behavior: `$host'
1320# used to hold the argument of --host etc.
1321# FIXME: To remove some day.
1322build=$build_alias
1323host=$host_alias
1324target=$target_alias
1325
1326# FIXME: To remove some day.
1327if test "x$host_alias" != x; then
1328  if test "x$build_alias" = x; then
1329    cross_compiling=maybe
1330  elif test "x$build_alias" != "x$host_alias"; then
1331    cross_compiling=yes
1332  fi
1333fi
1334
1335ac_tool_prefix=
1336test -n "$host_alias" && ac_tool_prefix=$host_alias-
1337
1338test "$silent" = yes && exec 6>/dev/null
1339
1340
1341ac_pwd=`pwd` && test -n "$ac_pwd" &&
1342ac_ls_di=`ls -di .` &&
1343ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1344  as_fn_error $? "working directory cannot be determined"
1345test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1346  as_fn_error $? "pwd does not report name of working directory"
1347
1348
1349# Find the source files, if location was not specified.
1350if test -z "$srcdir"; then
1351  ac_srcdir_defaulted=yes
1352  # Try the directory containing this script, then the parent directory.
1353  ac_confdir=`$as_dirname -- "$as_myself" ||
1354$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1355	 X"$as_myself" : 'X\(//\)[^/]' \| \
1356	 X"$as_myself" : 'X\(//\)$' \| \
1357	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1358$as_echo X"$as_myself" |
1359    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1360	    s//\1/
1361	    q
1362	  }
1363	  /^X\(\/\/\)[^/].*/{
1364	    s//\1/
1365	    q
1366	  }
1367	  /^X\(\/\/\)$/{
1368	    s//\1/
1369	    q
1370	  }
1371	  /^X\(\/\).*/{
1372	    s//\1/
1373	    q
1374	  }
1375	  s/.*/./; q'`
1376  srcdir=$ac_confdir
1377  if test ! -r "$srcdir/$ac_unique_file"; then
1378    srcdir=..
1379  fi
1380else
1381  ac_srcdir_defaulted=no
1382fi
1383if test ! -r "$srcdir/$ac_unique_file"; then
1384  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1385  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1386fi
1387ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1388ac_abs_confdir=`(
1389	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1390	pwd)`
1391# When building in place, set srcdir=.
1392if test "$ac_abs_confdir" = "$ac_pwd"; then
1393  srcdir=.
1394fi
1395# Remove unnecessary trailing slashes from srcdir.
1396# Double slashes in file names in object file debugging info
1397# mess up M-x gdb in Emacs.
1398case $srcdir in
1399*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1400esac
1401for ac_var in $ac_precious_vars; do
1402  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1403  eval ac_env_${ac_var}_value=\$${ac_var}
1404  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1405  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1406done
1407
1408#
1409# Report the --help message.
1410#
1411if test "$ac_init_help" = "long"; then
1412  # Omit some internal or obsolete options to make the list less imposing.
1413  # This message is too long to be a string in the A/UX 3.1 sh.
1414  cat <<_ACEOF
1415\`configure' configures dee 1.2.7 to adapt to many kinds of systems.
1416
1417Usage: $0 [OPTION]... [VAR=VALUE]...
1418
1419To assign environment variables (e.g., CC, CFLAGS...), specify them as
1420VAR=VALUE.  See below for descriptions of some of the useful variables.
1421
1422Defaults for the options are specified in brackets.
1423
1424Configuration:
1425  -h, --help              display this help and exit
1426      --help=short        display options specific to this package
1427      --help=recursive    display the short help of all the included packages
1428  -V, --version           display version information and exit
1429  -q, --quiet, --silent   do not print \`checking ...' messages
1430      --cache-file=FILE   cache test results in FILE [disabled]
1431  -C, --config-cache      alias for \`--cache-file=config.cache'
1432  -n, --no-create         do not create output files
1433      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1434
1435Installation directories:
1436  --prefix=PREFIX         install architecture-independent files in PREFIX
1437                          [$ac_default_prefix]
1438  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1439                          [PREFIX]
1440
1441By default, \`make install' will install all the files in
1442\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1443an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1444for instance \`--prefix=\$HOME'.
1445
1446For better control, use the options below.
1447
1448Fine tuning of the installation directories:
1449  --bindir=DIR            user executables [EPREFIX/bin]
1450  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1451  --libexecdir=DIR        program executables [EPREFIX/libexec]
1452  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1453  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1454  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1455  --libdir=DIR            object code libraries [EPREFIX/lib]
1456  --includedir=DIR        C header files [PREFIX/include]
1457  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1458  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1459  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1460  --infodir=DIR           info documentation [DATAROOTDIR/info]
1461  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1462  --mandir=DIR            man documentation [DATAROOTDIR/man]
1463  --docdir=DIR            documentation root [DATAROOTDIR/doc/dee]
1464  --htmldir=DIR           html documentation [DOCDIR]
1465  --dvidir=DIR            dvi documentation [DOCDIR]
1466  --pdfdir=DIR            pdf documentation [DOCDIR]
1467  --psdir=DIR             ps documentation [DOCDIR]
1468_ACEOF
1469
1470  cat <<\_ACEOF
1471
1472Program names:
1473  --program-prefix=PREFIX            prepend PREFIX to installed program names
1474  --program-suffix=SUFFIX            append SUFFIX to installed program names
1475  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1476
1477System types:
1478  --build=BUILD     configure for building on BUILD [guessed]
1479  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1480_ACEOF
1481fi
1482
1483if test -n "$ac_init_help"; then
1484  case $ac_init_help in
1485     short | recursive ) echo "Configuration of dee 1.2.7:";;
1486   esac
1487  cat <<\_ACEOF
1488
1489Optional Features:
1490  --disable-option-checking  ignore unrecognized --enable/--with options
1491  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1492  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1493  --enable-silent-rules   less verbose build output (undo: "make V=1")
1494  --disable-silent-rules  verbose build output (undo: "make V=0")
1495  --enable-dependency-tracking
1496                          do not reject slow dependency extractors
1497  --disable-dependency-tracking
1498                          speeds up one-time build
1499  --enable-static[=PKGS]  build static libraries [default=no]
1500  --enable-shared[=PKGS]  build shared libraries [default=yes]
1501  --enable-fast-install[=PKGS]
1502                          optimize for fast installation [default=yes]
1503  --disable-libtool-lock  avoid locking (might break parallel builds)
1504  --enable-maintainer-flags=[no/yes]
1505                          Use strict compiler flags [default=no]
1506  --enable-introspection=[no/auto/yes]
1507                          Enable introspection for this build
1508  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1509  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1510  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1511  --enable-tests=[no/yes] build tests suite [default=yes]
1512  --enable-gcov           enable coverage testing with gcov
1513  --enable-extended-tests=[no/yes]
1514                          build extended test suite (requires libgtx from
1515                          lp:gtx) [default=no]
1516  --enable-trace-log=[no/yes]
1517                          build with very verbose logging [default=no]
1518  --enable-icu=[no/yes]   build with advanced unicode text handling (requires
1519                          ICU >= 4.6) [default=yes]
1520
1521Optional Packages:
1522  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1523  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1524  --with-pygi-overrides-dir
1525                          Path to pygobject overrides directory
1526  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1527                          both]
1528  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1529  --with-sysroot=DIR Search for dependent libraries within DIR
1530                        (or the compiler's sysroot if not specified).
1531  --with-html-dir=PATH    path to installed docs
1532
1533Some influential environment variables:
1534  PYTHON      the Python interpreter
1535  CC          C compiler command
1536  CFLAGS      C compiler flags
1537  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1538              nonstandard directory <lib dir>
1539  LIBS        libraries to pass to the linker, e.g. -l<library>
1540  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1541              you have headers in a nonstandard directory <include dir>
1542  CPP         C preprocessor
1543  PKG_CONFIG  path to pkg-config utility
1544  PKG_CONFIG_PATH
1545              directories to add to pkg-config's search path
1546  PKG_CONFIG_LIBDIR
1547              path overriding pkg-config's built-in search path
1548  DEE_CFLAGS  C compiler flags for DEE, overriding pkg-config
1549  DEE_LIBS    linker flags for DEE, overriding pkg-config
1550  GTKDOC_DEPS_CFLAGS
1551              C compiler flags for GTKDOC_DEPS, overriding pkg-config
1552  GTKDOC_DEPS_LIBS
1553              linker flags for GTKDOC_DEPS, overriding pkg-config
1554  GTX_CFLAGS  C compiler flags for GTX, overriding pkg-config
1555  GTX_LIBS    linker flags for GTX, overriding pkg-config
1556
1557Use these variables to override the choices made by `configure' or to help
1558it to find libraries and programs with nonstandard names/locations.
1559
1560Report bugs to <https://bugs.launchpad.net/dee>.
1561_ACEOF
1562ac_status=$?
1563fi
1564
1565if test "$ac_init_help" = "recursive"; then
1566  # If there are subdirs, report their specific --help.
1567  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1568    test -d "$ac_dir" ||
1569      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1570      continue
1571    ac_builddir=.
1572
1573case "$ac_dir" in
1574.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575*)
1576  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1577  # A ".." for each directory in $ac_dir_suffix.
1578  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1579  case $ac_top_builddir_sub in
1580  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1582  esac ;;
1583esac
1584ac_abs_top_builddir=$ac_pwd
1585ac_abs_builddir=$ac_pwd$ac_dir_suffix
1586# for backward compatibility:
1587ac_top_builddir=$ac_top_build_prefix
1588
1589case $srcdir in
1590  .)  # We are building in place.
1591    ac_srcdir=.
1592    ac_top_srcdir=$ac_top_builddir_sub
1593    ac_abs_top_srcdir=$ac_pwd ;;
1594  [\\/]* | ?:[\\/]* )  # Absolute name.
1595    ac_srcdir=$srcdir$ac_dir_suffix;
1596    ac_top_srcdir=$srcdir
1597    ac_abs_top_srcdir=$srcdir ;;
1598  *) # Relative name.
1599    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1600    ac_top_srcdir=$ac_top_build_prefix$srcdir
1601    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1602esac
1603ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1604
1605    cd "$ac_dir" || { ac_status=$?; continue; }
1606    # Check for guested configure.
1607    if test -f "$ac_srcdir/configure.gnu"; then
1608      echo &&
1609      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1610    elif test -f "$ac_srcdir/configure"; then
1611      echo &&
1612      $SHELL "$ac_srcdir/configure" --help=recursive
1613    else
1614      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1615    fi || ac_status=$?
1616    cd "$ac_pwd" || { ac_status=$?; break; }
1617  done
1618fi
1619
1620test -n "$ac_init_help" && exit $ac_status
1621if $ac_init_version; then
1622  cat <<\_ACEOF
1623dee configure 1.2.7
1624generated by GNU Autoconf 2.69
1625
1626Copyright (C) 2012 Free Software Foundation, Inc.
1627This configure script is free software; the Free Software Foundation
1628gives unlimited permission to copy, distribute and modify it.
1629_ACEOF
1630  exit
1631fi
1632
1633## ------------------------ ##
1634## Autoconf initialization. ##
1635## ------------------------ ##
1636
1637# ac_fn_c_try_compile LINENO
1638# --------------------------
1639# Try to compile conftest.$ac_ext, and return whether this succeeded.
1640ac_fn_c_try_compile ()
1641{
1642  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643  rm -f conftest.$ac_objext
1644  if { { ac_try="$ac_compile"
1645case "(($ac_try" in
1646  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1647  *) ac_try_echo=$ac_try;;
1648esac
1649eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650$as_echo "$ac_try_echo"; } >&5
1651  (eval "$ac_compile") 2>conftest.err
1652  ac_status=$?
1653  if test -s conftest.err; then
1654    grep -v '^ *+' conftest.err >conftest.er1
1655    cat conftest.er1 >&5
1656    mv -f conftest.er1 conftest.err
1657  fi
1658  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659  test $ac_status = 0; } && {
1660	 test -z "$ac_c_werror_flag" ||
1661	 test ! -s conftest.err
1662       } && test -s conftest.$ac_objext; then :
1663  ac_retval=0
1664else
1665  $as_echo "$as_me: failed program was:" >&5
1666sed 's/^/| /' conftest.$ac_ext >&5
1667
1668	ac_retval=1
1669fi
1670  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671  as_fn_set_status $ac_retval
1672
1673} # ac_fn_c_try_compile
1674
1675# ac_fn_c_try_link LINENO
1676# -----------------------
1677# Try to link conftest.$ac_ext, and return whether this succeeded.
1678ac_fn_c_try_link ()
1679{
1680  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681  rm -f conftest.$ac_objext conftest$ac_exeext
1682  if { { ac_try="$ac_link"
1683case "(($ac_try" in
1684  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685  *) ac_try_echo=$ac_try;;
1686esac
1687eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688$as_echo "$ac_try_echo"; } >&5
1689  (eval "$ac_link") 2>conftest.err
1690  ac_status=$?
1691  if test -s conftest.err; then
1692    grep -v '^ *+' conftest.err >conftest.er1
1693    cat conftest.er1 >&5
1694    mv -f conftest.er1 conftest.err
1695  fi
1696  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697  test $ac_status = 0; } && {
1698	 test -z "$ac_c_werror_flag" ||
1699	 test ! -s conftest.err
1700       } && test -s conftest$ac_exeext && {
1701	 test "$cross_compiling" = yes ||
1702	 test -x conftest$ac_exeext
1703       }; then :
1704  ac_retval=0
1705else
1706  $as_echo "$as_me: failed program was:" >&5
1707sed 's/^/| /' conftest.$ac_ext >&5
1708
1709	ac_retval=1
1710fi
1711  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1712  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1713  # interfere with the next link command; also delete a directory that is
1714  # left behind by Apple's compiler.  We do this before executing the actions.
1715  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1716  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717  as_fn_set_status $ac_retval
1718
1719} # ac_fn_c_try_link
1720
1721# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1722# -------------------------------------------------------
1723# Tests whether HEADER exists and can be compiled using the include files in
1724# INCLUDES, setting the cache variable VAR accordingly.
1725ac_fn_c_check_header_compile ()
1726{
1727  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729$as_echo_n "checking for $2... " >&6; }
1730if eval \${$3+:} false; then :
1731  $as_echo_n "(cached) " >&6
1732else
1733  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1734/* end confdefs.h.  */
1735$4
1736#include <$2>
1737_ACEOF
1738if ac_fn_c_try_compile "$LINENO"; then :
1739  eval "$3=yes"
1740else
1741  eval "$3=no"
1742fi
1743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1744fi
1745eval ac_res=\$$3
1746	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1747$as_echo "$ac_res" >&6; }
1748  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749
1750} # ac_fn_c_check_header_compile
1751
1752# ac_fn_c_try_cpp LINENO
1753# ----------------------
1754# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1755ac_fn_c_try_cpp ()
1756{
1757  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758  if { { ac_try="$ac_cpp conftest.$ac_ext"
1759case "(($ac_try" in
1760  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1761  *) ac_try_echo=$ac_try;;
1762esac
1763eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1764$as_echo "$ac_try_echo"; } >&5
1765  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1766  ac_status=$?
1767  if test -s conftest.err; then
1768    grep -v '^ *+' conftest.err >conftest.er1
1769    cat conftest.er1 >&5
1770    mv -f conftest.er1 conftest.err
1771  fi
1772  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773  test $ac_status = 0; } > conftest.i && {
1774	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1775	 test ! -s conftest.err
1776       }; then :
1777  ac_retval=0
1778else
1779  $as_echo "$as_me: failed program was:" >&5
1780sed 's/^/| /' conftest.$ac_ext >&5
1781
1782    ac_retval=1
1783fi
1784  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785  as_fn_set_status $ac_retval
1786
1787} # ac_fn_c_try_cpp
1788
1789# ac_fn_c_try_run LINENO
1790# ----------------------
1791# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1792# that executables *can* be run.
1793ac_fn_c_try_run ()
1794{
1795  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796  if { { ac_try="$ac_link"
1797case "(($ac_try" in
1798  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799  *) ac_try_echo=$ac_try;;
1800esac
1801eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802$as_echo "$ac_try_echo"; } >&5
1803  (eval "$ac_link") 2>&5
1804  ac_status=$?
1805  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1807  { { case "(($ac_try" in
1808  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1809  *) ac_try_echo=$ac_try;;
1810esac
1811eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812$as_echo "$ac_try_echo"; } >&5
1813  (eval "$ac_try") 2>&5
1814  ac_status=$?
1815  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1816  test $ac_status = 0; }; }; then :
1817  ac_retval=0
1818else
1819  $as_echo "$as_me: program exited with status $ac_status" >&5
1820       $as_echo "$as_me: failed program was:" >&5
1821sed 's/^/| /' conftest.$ac_ext >&5
1822
1823       ac_retval=$ac_status
1824fi
1825  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1826  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1827  as_fn_set_status $ac_retval
1828
1829} # ac_fn_c_try_run
1830
1831# ac_fn_c_check_func LINENO FUNC VAR
1832# ----------------------------------
1833# Tests whether FUNC exists, setting the cache variable VAR accordingly
1834ac_fn_c_check_func ()
1835{
1836  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1838$as_echo_n "checking for $2... " >&6; }
1839if eval \${$3+:} false; then :
1840  $as_echo_n "(cached) " >&6
1841else
1842  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1843/* end confdefs.h.  */
1844/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1845   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1846#define $2 innocuous_$2
1847
1848/* System header to define __stub macros and hopefully few prototypes,
1849    which can conflict with char $2 (); below.
1850    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1851    <limits.h> exists even on freestanding compilers.  */
1852
1853#ifdef __STDC__
1854# include <limits.h>
1855#else
1856# include <assert.h>
1857#endif
1858
1859#undef $2
1860
1861/* Override any GCC internal prototype to avoid an error.
1862   Use char because int might match the return type of a GCC
1863   builtin and then its argument prototype would still apply.  */
1864#ifdef __cplusplus
1865extern "C"
1866#endif
1867char $2 ();
1868/* The GNU C library defines this for functions which it implements
1869    to always fail with ENOSYS.  Some functions are actually named
1870    something starting with __ and the normal name is an alias.  */
1871#if defined __stub_$2 || defined __stub___$2
1872choke me
1873#endif
1874
1875int
1876main ()
1877{
1878return $2 ();
1879  ;
1880  return 0;
1881}
1882_ACEOF
1883if ac_fn_c_try_link "$LINENO"; then :
1884  eval "$3=yes"
1885else
1886  eval "$3=no"
1887fi
1888rm -f core conftest.err conftest.$ac_objext \
1889    conftest$ac_exeext conftest.$ac_ext
1890fi
1891eval ac_res=\$$3
1892	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893$as_echo "$ac_res" >&6; }
1894  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895
1896} # ac_fn_c_check_func
1897
1898# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1899# -------------------------------------------------------
1900# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1901# the include files in INCLUDES and setting the cache variable VAR
1902# accordingly.
1903ac_fn_c_check_header_mongrel ()
1904{
1905  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906  if eval \${$3+:} false; then :
1907  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1908$as_echo_n "checking for $2... " >&6; }
1909if eval \${$3+:} false; then :
1910  $as_echo_n "(cached) " >&6
1911fi
1912eval ac_res=\$$3
1913	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914$as_echo "$ac_res" >&6; }
1915else
1916  # Is the header compilable?
1917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1918$as_echo_n "checking $2 usability... " >&6; }
1919cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920/* end confdefs.h.  */
1921$4
1922#include <$2>
1923_ACEOF
1924if ac_fn_c_try_compile "$LINENO"; then :
1925  ac_header_compiler=yes
1926else
1927  ac_header_compiler=no
1928fi
1929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1931$as_echo "$ac_header_compiler" >&6; }
1932
1933# Is the header present?
1934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1935$as_echo_n "checking $2 presence... " >&6; }
1936cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1937/* end confdefs.h.  */
1938#include <$2>
1939_ACEOF
1940if ac_fn_c_try_cpp "$LINENO"; then :
1941  ac_header_preproc=yes
1942else
1943  ac_header_preproc=no
1944fi
1945rm -f conftest.err conftest.i conftest.$ac_ext
1946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1947$as_echo "$ac_header_preproc" >&6; }
1948
1949# So?  What about this header?
1950case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1951  yes:no: )
1952    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1953$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1954    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1955$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1956    ;;
1957  no:yes:* )
1958    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1959$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1960    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1961$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1962    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1963$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1964    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1965$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1966    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1967$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1968( $as_echo "## --------------------------------------------- ##
1969## Report this to https://bugs.launchpad.net/dee ##
1970## --------------------------------------------- ##"
1971     ) | sed "s/^/$as_me: WARNING:     /" >&2
1972    ;;
1973esac
1974  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1975$as_echo_n "checking for $2... " >&6; }
1976if eval \${$3+:} false; then :
1977  $as_echo_n "(cached) " >&6
1978else
1979  eval "$3=\$ac_header_compiler"
1980fi
1981eval ac_res=\$$3
1982	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983$as_echo "$ac_res" >&6; }
1984fi
1985  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986
1987} # ac_fn_c_check_header_mongrel
1988cat >config.log <<_ACEOF
1989This file contains any messages produced by compilers while
1990running configure, to aid debugging if configure makes a mistake.
1991
1992It was created by dee $as_me 1.2.7, which was
1993generated by GNU Autoconf 2.69.  Invocation command line was
1994
1995  $ $0 $@
1996
1997_ACEOF
1998exec 5>>config.log
1999{
2000cat <<_ASUNAME
2001## --------- ##
2002## Platform. ##
2003## --------- ##
2004
2005hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2006uname -m = `(uname -m) 2>/dev/null || echo unknown`
2007uname -r = `(uname -r) 2>/dev/null || echo unknown`
2008uname -s = `(uname -s) 2>/dev/null || echo unknown`
2009uname -v = `(uname -v) 2>/dev/null || echo unknown`
2010
2011/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2012/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2013
2014/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2015/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2016/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2017/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2018/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2019/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2020/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2021
2022_ASUNAME
2023
2024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2025for as_dir in $PATH
2026do
2027  IFS=$as_save_IFS
2028  test -z "$as_dir" && as_dir=.
2029    $as_echo "PATH: $as_dir"
2030  done
2031IFS=$as_save_IFS
2032
2033} >&5
2034
2035cat >&5 <<_ACEOF
2036
2037
2038## ----------- ##
2039## Core tests. ##
2040## ----------- ##
2041
2042_ACEOF
2043
2044
2045# Keep a trace of the command line.
2046# Strip out --no-create and --no-recursion so they do not pile up.
2047# Strip out --silent because we don't want to record it for future runs.
2048# Also quote any args containing shell meta-characters.
2049# Make two passes to allow for proper duplicate-argument suppression.
2050ac_configure_args=
2051ac_configure_args0=
2052ac_configure_args1=
2053ac_must_keep_next=false
2054for ac_pass in 1 2
2055do
2056  for ac_arg
2057  do
2058    case $ac_arg in
2059    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2060    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2061    | -silent | --silent | --silen | --sile | --sil)
2062      continue ;;
2063    *\'*)
2064      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2065    esac
2066    case $ac_pass in
2067    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2068    2)
2069      as_fn_append ac_configure_args1 " '$ac_arg'"
2070      if test $ac_must_keep_next = true; then
2071	ac_must_keep_next=false # Got value, back to normal.
2072      else
2073	case $ac_arg in
2074	  *=* | --config-cache | -C | -disable-* | --disable-* \
2075	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2076	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2077	  | -with-* | --with-* | -without-* | --without-* | --x)
2078	    case "$ac_configure_args0 " in
2079	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2080	    esac
2081	    ;;
2082	  -* ) ac_must_keep_next=true ;;
2083	esac
2084      fi
2085      as_fn_append ac_configure_args " '$ac_arg'"
2086      ;;
2087    esac
2088  done
2089done
2090{ ac_configure_args0=; unset ac_configure_args0;}
2091{ ac_configure_args1=; unset ac_configure_args1;}
2092
2093# When interrupted or exit'd, cleanup temporary files, and complete
2094# config.log.  We remove comments because anyway the quotes in there
2095# would cause problems or look ugly.
2096# WARNING: Use '\'' to represent an apostrophe within the trap.
2097# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2098trap 'exit_status=$?
2099  # Save into config.log some information that might help in debugging.
2100  {
2101    echo
2102
2103    $as_echo "## ---------------- ##
2104## Cache variables. ##
2105## ---------------- ##"
2106    echo
2107    # The following way of writing the cache mishandles newlines in values,
2108(
2109  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2110    eval ac_val=\$$ac_var
2111    case $ac_val in #(
2112    *${as_nl}*)
2113      case $ac_var in #(
2114      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2115$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2116      esac
2117      case $ac_var in #(
2118      _ | IFS | as_nl) ;; #(
2119      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2120      *) { eval $ac_var=; unset $ac_var;} ;;
2121      esac ;;
2122    esac
2123  done
2124  (set) 2>&1 |
2125    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2126    *${as_nl}ac_space=\ *)
2127      sed -n \
2128	"s/'\''/'\''\\\\'\'''\''/g;
2129	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2130      ;; #(
2131    *)
2132      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2133      ;;
2134    esac |
2135    sort
2136)
2137    echo
2138
2139    $as_echo "## ----------------- ##
2140## Output variables. ##
2141## ----------------- ##"
2142    echo
2143    for ac_var in $ac_subst_vars
2144    do
2145      eval ac_val=\$$ac_var
2146      case $ac_val in
2147      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2148      esac
2149      $as_echo "$ac_var='\''$ac_val'\''"
2150    done | sort
2151    echo
2152
2153    if test -n "$ac_subst_files"; then
2154      $as_echo "## ------------------- ##
2155## File substitutions. ##
2156## ------------------- ##"
2157      echo
2158      for ac_var in $ac_subst_files
2159      do
2160	eval ac_val=\$$ac_var
2161	case $ac_val in
2162	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2163	esac
2164	$as_echo "$ac_var='\''$ac_val'\''"
2165      done | sort
2166      echo
2167    fi
2168
2169    if test -s confdefs.h; then
2170      $as_echo "## ----------- ##
2171## confdefs.h. ##
2172## ----------- ##"
2173      echo
2174      cat confdefs.h
2175      echo
2176    fi
2177    test "$ac_signal" != 0 &&
2178      $as_echo "$as_me: caught signal $ac_signal"
2179    $as_echo "$as_me: exit $exit_status"
2180  } >&5
2181  rm -f core *.core core.conftest.* &&
2182    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2183    exit $exit_status
2184' 0
2185for ac_signal in 1 2 13 15; do
2186  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2187done
2188ac_signal=0
2189
2190# confdefs.h avoids OS command line length limits that DEFS can exceed.
2191rm -f -r conftest* confdefs.h
2192
2193$as_echo "/* confdefs.h */" > confdefs.h
2194
2195# Predefined preprocessor variables.
2196
2197cat >>confdefs.h <<_ACEOF
2198#define PACKAGE_NAME "$PACKAGE_NAME"
2199_ACEOF
2200
2201cat >>confdefs.h <<_ACEOF
2202#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2203_ACEOF
2204
2205cat >>confdefs.h <<_ACEOF
2206#define PACKAGE_VERSION "$PACKAGE_VERSION"
2207_ACEOF
2208
2209cat >>confdefs.h <<_ACEOF
2210#define PACKAGE_STRING "$PACKAGE_STRING"
2211_ACEOF
2212
2213cat >>confdefs.h <<_ACEOF
2214#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2215_ACEOF
2216
2217cat >>confdefs.h <<_ACEOF
2218#define PACKAGE_URL "$PACKAGE_URL"
2219_ACEOF
2220
2221
2222# Let the site file select an alternate cache file if it wants to.
2223# Prefer an explicitly selected file to automatically selected ones.
2224ac_site_file1=NONE
2225ac_site_file2=NONE
2226if test -n "$CONFIG_SITE"; then
2227  # We do not want a PATH search for config.site.
2228  case $CONFIG_SITE in #((
2229    -*)  ac_site_file1=./$CONFIG_SITE;;
2230    */*) ac_site_file1=$CONFIG_SITE;;
2231    *)   ac_site_file1=./$CONFIG_SITE;;
2232  esac
2233elif test "x$prefix" != xNONE; then
2234  ac_site_file1=$prefix/share/config.site
2235  ac_site_file2=$prefix/etc/config.site
2236else
2237  ac_site_file1=$ac_default_prefix/share/config.site
2238  ac_site_file2=$ac_default_prefix/etc/config.site
2239fi
2240for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2241do
2242  test "x$ac_site_file" = xNONE && continue
2243  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2244    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2245$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2246    sed 's/^/| /' "$ac_site_file" >&5
2247    . "$ac_site_file" \
2248      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2249$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2250as_fn_error $? "failed to load site script $ac_site_file
2251See \`config.log' for more details" "$LINENO" 5; }
2252  fi
2253done
2254
2255if test -r "$cache_file"; then
2256  # Some versions of bash will fail to source /dev/null (special files
2257  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2258  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2259    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2260$as_echo "$as_me: loading cache $cache_file" >&6;}
2261    case $cache_file in
2262      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2263      *)                      . "./$cache_file";;
2264    esac
2265  fi
2266else
2267  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2268$as_echo "$as_me: creating cache $cache_file" >&6;}
2269  >$cache_file
2270fi
2271
2272as_fn_append ac_header_list " stdlib.h"
2273as_fn_append ac_header_list " unistd.h"
2274as_fn_append ac_header_list " sys/param.h"
2275# Check that the precious variables saved in the cache have kept the same
2276# value.
2277ac_cache_corrupted=false
2278for ac_var in $ac_precious_vars; do
2279  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2280  eval ac_new_set=\$ac_env_${ac_var}_set
2281  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2282  eval ac_new_val=\$ac_env_${ac_var}_value
2283  case $ac_old_set,$ac_new_set in
2284    set,)
2285      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2286$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2287      ac_cache_corrupted=: ;;
2288    ,set)
2289      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2290$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2291      ac_cache_corrupted=: ;;
2292    ,);;
2293    *)
2294      if test "x$ac_old_val" != "x$ac_new_val"; then
2295	# differences in whitespace do not lead to failure.
2296	ac_old_val_w=`echo x $ac_old_val`
2297	ac_new_val_w=`echo x $ac_new_val`
2298	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2299	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2300$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2301	  ac_cache_corrupted=:
2302	else
2303	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2304$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2305	  eval $ac_var=\$ac_old_val
2306	fi
2307	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2308$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2309	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2310$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2311      fi;;
2312  esac
2313  # Pass precious variables to config.status.
2314  if test "$ac_new_set" = set; then
2315    case $ac_new_val in
2316    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2317    *) ac_arg=$ac_var=$ac_new_val ;;
2318    esac
2319    case " $ac_configure_args " in
2320      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2321      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2322    esac
2323  fi
2324done
2325if $ac_cache_corrupted; then
2326  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2327$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2328  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2329$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2330  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2331fi
2332## -------------------- ##
2333## Main body of script. ##
2334## -------------------- ##
2335
2336ac_ext=c
2337ac_cpp='$CPP $CPPFLAGS'
2338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2340ac_compiler_gnu=$ac_cv_c_compiler_gnu
2341
2342
2343
2344
2345
2346ac_config_headers="$ac_config_headers config.h"
2347
2348
2349am__api_version='1.13'
2350
2351ac_aux_dir=
2352for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2353  if test -f "$ac_dir/install-sh"; then
2354    ac_aux_dir=$ac_dir
2355    ac_install_sh="$ac_aux_dir/install-sh -c"
2356    break
2357  elif test -f "$ac_dir/install.sh"; then
2358    ac_aux_dir=$ac_dir
2359    ac_install_sh="$ac_aux_dir/install.sh -c"
2360    break
2361  elif test -f "$ac_dir/shtool"; then
2362    ac_aux_dir=$ac_dir
2363    ac_install_sh="$ac_aux_dir/shtool install -c"
2364    break
2365  fi
2366done
2367if test -z "$ac_aux_dir"; then
2368  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2369fi
2370
2371# These three variables are undocumented and unsupported,
2372# and are intended to be withdrawn in a future Autoconf release.
2373# They can cause serious problems if a builder's source tree is in a directory
2374# whose full name contains unusual characters.
2375ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2376ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2377ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2378
2379
2380# Find a good install program.  We prefer a C program (faster),
2381# so one script is as good as another.  But avoid the broken or
2382# incompatible versions:
2383# SysV /etc/install, /usr/sbin/install
2384# SunOS /usr/etc/install
2385# IRIX /sbin/install
2386# AIX /bin/install
2387# AmigaOS /C/install, which installs bootblocks on floppy discs
2388# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2389# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2390# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2391# OS/2's system install, which has a completely different semantic
2392# ./install, which can be erroneously created by make from ./install.sh.
2393# Reject install programs that cannot install multiple files.
2394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2395$as_echo_n "checking for a BSD-compatible install... " >&6; }
2396if test -z "$INSTALL"; then
2397if ${ac_cv_path_install+:} false; then :
2398  $as_echo_n "(cached) " >&6
2399else
2400  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401for as_dir in $PATH
2402do
2403  IFS=$as_save_IFS
2404  test -z "$as_dir" && as_dir=.
2405    # Account for people who put trailing slashes in PATH elements.
2406case $as_dir/ in #((
2407  ./ | .// | /[cC]/* | \
2408  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2409  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2410  /usr/ucb/* ) ;;
2411  *)
2412    # OSF1 and SCO ODT 3.0 have their own names for install.
2413    # Don't use installbsd from OSF since it installs stuff as root
2414    # by default.
2415    for ac_prog in ginstall scoinst install; do
2416      for ac_exec_ext in '' $ac_executable_extensions; do
2417	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2418	  if test $ac_prog = install &&
2419	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2420	    # AIX install.  It has an incompatible calling convention.
2421	    :
2422	  elif test $ac_prog = install &&
2423	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2424	    # program-specific install script used by HP pwplus--don't use.
2425	    :
2426	  else
2427	    rm -rf conftest.one conftest.two conftest.dir
2428	    echo one > conftest.one
2429	    echo two > conftest.two
2430	    mkdir conftest.dir
2431	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2432	      test -s conftest.one && test -s conftest.two &&
2433	      test -s conftest.dir/conftest.one &&
2434	      test -s conftest.dir/conftest.two
2435	    then
2436	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2437	      break 3
2438	    fi
2439	  fi
2440	fi
2441      done
2442    done
2443    ;;
2444esac
2445
2446  done
2447IFS=$as_save_IFS
2448
2449rm -rf conftest.one conftest.two conftest.dir
2450
2451fi
2452  if test "${ac_cv_path_install+set}" = set; then
2453    INSTALL=$ac_cv_path_install
2454  else
2455    # As a last resort, use the slow shell script.  Don't cache a
2456    # value for INSTALL within a source directory, because that will
2457    # break other packages using the cache if that directory is
2458    # removed, or if the value is a relative name.
2459    INSTALL=$ac_install_sh
2460  fi
2461fi
2462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2463$as_echo "$INSTALL" >&6; }
2464
2465# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2466# It thinks the first close brace ends the variable substitution.
2467test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2468
2469test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2470
2471test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2472
2473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2474$as_echo_n "checking whether build environment is sane... " >&6; }
2475# Reject unsafe characters in $srcdir or the absolute working directory
2476# name.  Accept space and tab only in the latter.
2477am_lf='
2478'
2479case `pwd` in
2480  *[\\\"\#\$\&\'\`$am_lf]*)
2481    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2482esac
2483case $srcdir in
2484  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2485    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2486esac
2487
2488# Do 'set' in a subshell so we don't clobber the current shell's
2489# arguments.  Must try -L first in case configure is actually a
2490# symlink; some systems play weird games with the mod time of symlinks
2491# (eg FreeBSD returns the mod time of the symlink's containing
2492# directory).
2493if (
2494   am_has_slept=no
2495   for am_try in 1 2; do
2496     echo "timestamp, slept: $am_has_slept" > conftest.file
2497     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2498     if test "$*" = "X"; then
2499	# -L didn't work.
2500	set X `ls -t "$srcdir/configure" conftest.file`
2501     fi
2502     if test "$*" != "X $srcdir/configure conftest.file" \
2503	&& test "$*" != "X conftest.file $srcdir/configure"; then
2504
2505	# If neither matched, then we have a broken ls.  This can happen
2506	# if, for instance, CONFIG_SHELL is bash and it inherits a
2507	# broken ls alias from the environment.  This has actually
2508	# happened.  Such a system could not be considered "sane".
2509	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2510  alias in your environment" "$LINENO" 5
2511     fi
2512     if test "$2" = conftest.file || test $am_try -eq 2; then
2513       break
2514     fi
2515     # Just in case.
2516     sleep 1
2517     am_has_slept=yes
2518   done
2519   test "$2" = conftest.file
2520   )
2521then
2522   # Ok.
2523   :
2524else
2525   as_fn_error $? "newly created file is older than distributed files!
2526Check your system clock" "$LINENO" 5
2527fi
2528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2529$as_echo "yes" >&6; }
2530# If we didn't sleep, we still need to ensure time stamps of config.status and
2531# generated files are strictly newer.
2532am_sleep_pid=
2533if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2534  ( sleep 1 ) &
2535  am_sleep_pid=$!
2536fi
2537
2538rm -f conftest.file
2539
2540test "$program_prefix" != NONE &&
2541  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2542# Use a double $ so make ignores it.
2543test "$program_suffix" != NONE &&
2544  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2545# Double any \ or $.
2546# By default was `s,x,x', remove it if useless.
2547ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2548program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2549
2550# expand $ac_aux_dir to an absolute path
2551am_aux_dir=`cd $ac_aux_dir && pwd`
2552
2553if test x"${MISSING+set}" != xset; then
2554  case $am_aux_dir in
2555  *\ * | *\	*)
2556    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2557  *)
2558    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2559  esac
2560fi
2561# Use eval to expand $SHELL
2562if eval "$MISSING --is-lightweight"; then
2563  am_missing_run="$MISSING "
2564else
2565  am_missing_run=
2566  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2567$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2568fi
2569
2570if test x"${install_sh}" != xset; then
2571  case $am_aux_dir in
2572  *\ * | *\	*)
2573    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2574  *)
2575    install_sh="\${SHELL} $am_aux_dir/install-sh"
2576  esac
2577fi
2578
2579# Installed binaries are usually stripped using 'strip' when the user
2580# run "make install-strip".  However 'strip' might not be the right
2581# tool to use in cross-compilation environments, therefore Automake
2582# will honor the 'STRIP' environment variable to overrule this program.
2583if test "$cross_compiling" != no; then
2584  if test -n "$ac_tool_prefix"; then
2585  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2586set dummy ${ac_tool_prefix}strip; ac_word=$2
2587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2588$as_echo_n "checking for $ac_word... " >&6; }
2589if ${ac_cv_prog_STRIP+:} false; then :
2590  $as_echo_n "(cached) " >&6
2591else
2592  if test -n "$STRIP"; then
2593  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2594else
2595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596for as_dir in $PATH
2597do
2598  IFS=$as_save_IFS
2599  test -z "$as_dir" && as_dir=.
2600    for ac_exec_ext in '' $ac_executable_extensions; do
2601  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2602    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2603    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2604    break 2
2605  fi
2606done
2607  done
2608IFS=$as_save_IFS
2609
2610fi
2611fi
2612STRIP=$ac_cv_prog_STRIP
2613if test -n "$STRIP"; then
2614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2615$as_echo "$STRIP" >&6; }
2616else
2617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2618$as_echo "no" >&6; }
2619fi
2620
2621
2622fi
2623if test -z "$ac_cv_prog_STRIP"; then
2624  ac_ct_STRIP=$STRIP
2625  # Extract the first word of "strip", so it can be a program name with args.
2626set dummy strip; ac_word=$2
2627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628$as_echo_n "checking for $ac_word... " >&6; }
2629if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2630  $as_echo_n "(cached) " >&6
2631else
2632  if test -n "$ac_ct_STRIP"; then
2633  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2634else
2635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636for as_dir in $PATH
2637do
2638  IFS=$as_save_IFS
2639  test -z "$as_dir" && as_dir=.
2640    for ac_exec_ext in '' $ac_executable_extensions; do
2641  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2642    ac_cv_prog_ac_ct_STRIP="strip"
2643    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644    break 2
2645  fi
2646done
2647  done
2648IFS=$as_save_IFS
2649
2650fi
2651fi
2652ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2653if test -n "$ac_ct_STRIP"; then
2654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2655$as_echo "$ac_ct_STRIP" >&6; }
2656else
2657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658$as_echo "no" >&6; }
2659fi
2660
2661  if test "x$ac_ct_STRIP" = x; then
2662    STRIP=":"
2663  else
2664    case $cross_compiling:$ac_tool_warned in
2665yes:)
2666{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2667$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2668ac_tool_warned=yes ;;
2669esac
2670    STRIP=$ac_ct_STRIP
2671  fi
2672else
2673  STRIP="$ac_cv_prog_STRIP"
2674fi
2675
2676fi
2677INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2678
2679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2680$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2681if test -z "$MKDIR_P"; then
2682  if ${ac_cv_path_mkdir+:} false; then :
2683  $as_echo_n "(cached) " >&6
2684else
2685  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2686for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2687do
2688  IFS=$as_save_IFS
2689  test -z "$as_dir" && as_dir=.
2690    for ac_prog in mkdir gmkdir; do
2691	 for ac_exec_ext in '' $ac_executable_extensions; do
2692	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2693	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2694	     'mkdir (GNU coreutils) '* | \
2695	     'mkdir (coreutils) '* | \
2696	     'mkdir (fileutils) '4.1*)
2697	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2698	       break 3;;
2699	   esac
2700	 done
2701       done
2702  done
2703IFS=$as_save_IFS
2704
2705fi
2706
2707  test -d ./--version && rmdir ./--version
2708  if test "${ac_cv_path_mkdir+set}" = set; then
2709    MKDIR_P="$ac_cv_path_mkdir -p"
2710  else
2711    # As a last resort, use the slow shell script.  Don't cache a
2712    # value for MKDIR_P within a source directory, because that will
2713    # break other packages using the cache if that directory is
2714    # removed, or if the value is a relative name.
2715    MKDIR_P="$ac_install_sh -d"
2716  fi
2717fi
2718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2719$as_echo "$MKDIR_P" >&6; }
2720
2721for ac_prog in gawk mawk nawk awk
2722do
2723  # Extract the first word of "$ac_prog", so it can be a program name with args.
2724set dummy $ac_prog; ac_word=$2
2725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726$as_echo_n "checking for $ac_word... " >&6; }
2727if ${ac_cv_prog_AWK+:} false; then :
2728  $as_echo_n "(cached) " >&6
2729else
2730  if test -n "$AWK"; then
2731  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2732else
2733as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734for as_dir in $PATH
2735do
2736  IFS=$as_save_IFS
2737  test -z "$as_dir" && as_dir=.
2738    for ac_exec_ext in '' $ac_executable_extensions; do
2739  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2740    ac_cv_prog_AWK="$ac_prog"
2741    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2742    break 2
2743  fi
2744done
2745  done
2746IFS=$as_save_IFS
2747
2748fi
2749fi
2750AWK=$ac_cv_prog_AWK
2751if test -n "$AWK"; then
2752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2753$as_echo "$AWK" >&6; }
2754else
2755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2756$as_echo "no" >&6; }
2757fi
2758
2759
2760  test -n "$AWK" && break
2761done
2762
2763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2764$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2765set x ${MAKE-make}
2766ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2767if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2768  $as_echo_n "(cached) " >&6
2769else
2770  cat >conftest.make <<\_ACEOF
2771SHELL = /bin/sh
2772all:
2773	@echo '@@@%%%=$(MAKE)=@@@%%%'
2774_ACEOF
2775# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2776case `${MAKE-make} -f conftest.make 2>/dev/null` in
2777  *@@@%%%=?*=@@@%%%*)
2778    eval ac_cv_prog_make_${ac_make}_set=yes;;
2779  *)
2780    eval ac_cv_prog_make_${ac_make}_set=no;;
2781esac
2782rm -f conftest.make
2783fi
2784if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2786$as_echo "yes" >&6; }
2787  SET_MAKE=
2788else
2789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790$as_echo "no" >&6; }
2791  SET_MAKE="MAKE=${MAKE-make}"
2792fi
2793
2794rm -rf .tst 2>/dev/null
2795mkdir .tst 2>/dev/null
2796if test -d .tst; then
2797  am__leading_dot=.
2798else
2799  am__leading_dot=_
2800fi
2801rmdir .tst 2>/dev/null
2802
2803# Check whether --enable-silent-rules was given.
2804if test "${enable_silent_rules+set}" = set; then :
2805  enableval=$enable_silent_rules;
2806fi
2807
2808case $enable_silent_rules in # (((
2809  yes) AM_DEFAULT_VERBOSITY=0;;
2810   no) AM_DEFAULT_VERBOSITY=1;;
2811    *) AM_DEFAULT_VERBOSITY=1;;
2812esac
2813am_make=${MAKE-make}
2814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2815$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2816if ${am_cv_make_support_nested_variables+:} false; then :
2817  $as_echo_n "(cached) " >&6
2818else
2819  if $as_echo 'TRUE=$(BAR$(V))
2820BAR0=false
2821BAR1=true
2822V=1
2823am__doit:
2824	@$(TRUE)
2825.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2826  am_cv_make_support_nested_variables=yes
2827else
2828  am_cv_make_support_nested_variables=no
2829fi
2830fi
2831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2832$as_echo "$am_cv_make_support_nested_variables" >&6; }
2833if test $am_cv_make_support_nested_variables = yes; then
2834    AM_V='$(V)'
2835  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2836else
2837  AM_V=$AM_DEFAULT_VERBOSITY
2838  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2839fi
2840AM_BACKSLASH='\'
2841
2842if test "`cd $srcdir && pwd`" != "`pwd`"; then
2843  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2844  # is not polluted with repeated "-I."
2845  am__isrc=' -I$(srcdir)'
2846  # test to see if srcdir already configured
2847  if test -f $srcdir/config.status; then
2848    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2849  fi
2850fi
2851
2852# test whether we have cygpath
2853if test -z "$CYGPATH_W"; then
2854  if (cygpath --version) >/dev/null 2>/dev/null; then
2855    CYGPATH_W='cygpath -w'
2856  else
2857    CYGPATH_W=echo
2858  fi
2859fi
2860
2861
2862# Define the identity of the package.
2863 PACKAGE='dee'
2864 VERSION='1.2.7'
2865
2866
2867cat >>confdefs.h <<_ACEOF
2868#define PACKAGE "$PACKAGE"
2869_ACEOF
2870
2871
2872cat >>confdefs.h <<_ACEOF
2873#define VERSION "$VERSION"
2874_ACEOF
2875
2876# Some tools Automake needs.
2877
2878ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2879
2880
2881AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2882
2883
2884AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2885
2886
2887AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2888
2889
2890MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2891
2892# For better backward compatibility.  To be removed once Automake 1.9.x
2893# dies out for good.  For more background, see:
2894# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2895# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2896mkdir_p='$(MKDIR_P)'
2897
2898# We need awk for the "check" target.  The system "awk" is bad on
2899# some platforms.
2900# Always define AMTAR for backward compatibility.  Yes, it's still used
2901# in the wild :-(  We should find a proper way to deprecate it ...
2902AMTAR='$${TAR-tar}'
2903
2904
2905# We'll loop over all known methods to create a tar archive until one works.
2906_am_tools='gnutar  pax cpio none'
2907
2908am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2909
2910
2911
2912
2913
2914
2915# Check whether --enable-silent-rules was given.
2916if test "${enable_silent_rules+set}" = set; then :
2917  enableval=$enable_silent_rules;
2918fi
2919
2920case $enable_silent_rules in # (((
2921  yes) AM_DEFAULT_VERBOSITY=0;;
2922   no) AM_DEFAULT_VERBOSITY=1;;
2923    *) AM_DEFAULT_VERBOSITY=0;;
2924esac
2925am_make=${MAKE-make}
2926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2927$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2928if ${am_cv_make_support_nested_variables+:} false; then :
2929  $as_echo_n "(cached) " >&6
2930else
2931  if $as_echo 'TRUE=$(BAR$(V))
2932BAR0=false
2933BAR1=true
2934V=1
2935am__doit:
2936	@$(TRUE)
2937.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2938  am_cv_make_support_nested_variables=yes
2939else
2940  am_cv_make_support_nested_variables=no
2941fi
2942fi
2943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2944$as_echo "$am_cv_make_support_nested_variables" >&6; }
2945if test $am_cv_make_support_nested_variables = yes; then
2946    AM_V='$(V)'
2947  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2948else
2949  AM_V=$AM_DEFAULT_VERBOSITY
2950  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2951fi
2952AM_BACKSLASH='\'
2953
2954
2955
2956
2957
2958
2959
2960
2961        # Find any Python interpreter.
2962    if test -z "$PYTHON"; then
2963      for ac_prog in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
2964do
2965  # Extract the first word of "$ac_prog", so it can be a program name with args.
2966set dummy $ac_prog; ac_word=$2
2967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2968$as_echo_n "checking for $ac_word... " >&6; }
2969if ${ac_cv_path_PYTHON+:} false; then :
2970  $as_echo_n "(cached) " >&6
2971else
2972  case $PYTHON in
2973  [\\/]* | ?:[\\/]*)
2974  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
2975  ;;
2976  *)
2977  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2978for as_dir in $PATH
2979do
2980  IFS=$as_save_IFS
2981  test -z "$as_dir" && as_dir=.
2982    for ac_exec_ext in '' $ac_executable_extensions; do
2983  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2984    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
2985    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2986    break 2
2987  fi
2988done
2989  done
2990IFS=$as_save_IFS
2991
2992  ;;
2993esac
2994fi
2995PYTHON=$ac_cv_path_PYTHON
2996if test -n "$PYTHON"; then
2997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
2998$as_echo "$PYTHON" >&6; }
2999else
3000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001$as_echo "no" >&6; }
3002fi
3003
3004
3005  test -n "$PYTHON" && break
3006done
3007test -n "$PYTHON" || PYTHON=":"
3008
3009    fi
3010    am_display_PYTHON=python
3011
3012
3013  if test "$PYTHON" = :; then
3014      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
3015  else
3016
3017
3018  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
3019$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
3020if ${am_cv_python_version+:} false; then :
3021  $as_echo_n "(cached) " >&6
3022else
3023  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
3024fi
3025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
3026$as_echo "$am_cv_python_version" >&6; }
3027  PYTHON_VERSION=$am_cv_python_version
3028
3029
3030
3031  PYTHON_PREFIX='${prefix}'
3032
3033  PYTHON_EXEC_PREFIX='${exec_prefix}'
3034
3035
3036
3037  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
3038$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
3039if ${am_cv_python_platform+:} false; then :
3040  $as_echo_n "(cached) " >&6
3041else
3042  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
3043fi
3044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
3045$as_echo "$am_cv_python_platform" >&6; }
3046  PYTHON_PLATFORM=$am_cv_python_platform
3047
3048
3049  # Just factor out some code duplication.
3050  am_python_setup_sysconfig="\
3051import sys
3052# Prefer sysconfig over distutils.sysconfig, for better compatibility
3053# with python 3.x.  See automake bug#10227.
3054try:
3055    import sysconfig
3056except ImportError:
3057    can_use_sysconfig = 0
3058else:
3059    can_use_sysconfig = 1
3060# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
3061# <https://github.com/pypa/virtualenv/issues/118>
3062try:
3063    from platform import python_implementation
3064    if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
3065        can_use_sysconfig = 0
3066except ImportError:
3067    pass"
3068
3069
3070            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
3071$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
3072if ${am_cv_python_pythondir+:} false; then :
3073  $as_echo_n "(cached) " >&6
3074else
3075  if test "x$prefix" = xNONE
3076     then
3077       am_py_prefix=$ac_default_prefix
3078     else
3079       am_py_prefix=$prefix
3080     fi
3081     am_cv_python_pythondir=`$PYTHON -c "
3082$am_python_setup_sysconfig
3083if can_use_sysconfig:
3084    sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
3085else:
3086    from distutils import sysconfig
3087    sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
3088sys.stdout.write(sitedir)"`
3089     case $am_cv_python_pythondir in
3090     $am_py_prefix*)
3091       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
3092       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
3093       ;;
3094     *)
3095       case $am_py_prefix in
3096         /usr|/System*) ;;
3097         *)
3098	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
3099	  ;;
3100       esac
3101       ;;
3102     esac
3103
3104fi
3105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
3106$as_echo "$am_cv_python_pythondir" >&6; }
3107  pythondir=$am_cv_python_pythondir
3108
3109
3110
3111  pkgpythondir=\${pythondir}/$PACKAGE
3112
3113
3114        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
3115$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
3116if ${am_cv_python_pyexecdir+:} false; then :
3117  $as_echo_n "(cached) " >&6
3118else
3119  if test "x$exec_prefix" = xNONE
3120     then
3121       am_py_exec_prefix=$am_py_prefix
3122     else
3123       am_py_exec_prefix=$exec_prefix
3124     fi
3125     am_cv_python_pyexecdir=`$PYTHON -c "
3126$am_python_setup_sysconfig
3127if can_use_sysconfig:
3128    sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
3129else:
3130    from distutils import sysconfig
3131    sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
3132sys.stdout.write(sitedir)"`
3133     case $am_cv_python_pyexecdir in
3134     $am_py_exec_prefix*)
3135       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
3136       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
3137       ;;
3138     *)
3139       case $am_py_exec_prefix in
3140         /usr|/System*) ;;
3141         *)
3142	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
3143	   ;;
3144       esac
3145       ;;
3146     esac
3147
3148fi
3149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
3150$as_echo "$am_cv_python_pyexecdir" >&6; }
3151  pyexecdir=$am_cv_python_pyexecdir
3152
3153
3154
3155  pkgpyexecdir=\${pyexecdir}/$PACKAGE
3156
3157
3158
3159  fi
3160
3161
3162
3163###############################################
3164### pygobject overrides directory detection ###
3165###############################################
3166
3167
3168# Check whether --with-pygi_overrides_dir was given.
3169if test "${with_pygi_overrides_dir+set}" = set; then :
3170  withval=$with_pygi_overrides_dir;
3171fi
3172
3173
3174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pygobject overrides directory" >&5
3175$as_echo_n "checking for pygobject overrides directory... " >&6; }
3176if test "x$with_pygi_overrides_dir" = "x" ; then
3177        overrides_dir="`$PYTHON -c 'import gi; print(gi._overridesdir)' 2>/dev/null`"
3178	# fallback if the previous failed
3179	if test "x$overrides_dir" = "x" ; then
3180		overrides_dir="${pyexecdir}/gi/overrides"
3181	fi
3182else
3183        overrides_dir="$with_pygi_overrides_dir"
3184fi
3185
3186PYGI_OVERRIDES_DIR="$overrides_dir"
3187
3188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYGI_OVERRIDES_DIR" >&5
3189$as_echo "$PYGI_OVERRIDES_DIR" >&6; }
3190
3191DEE_MAJOR_VERSION=1
3192DEE_MINOR_VERSION=2
3193DEE_MICRO_VERSION=7
3194DEE_VERSION=1.2.7
3195
3196
3197
3198
3199
3200
3201GIR_VERSION=1.0
3202
3203
3204# Before making a release, the DEE_LT_VERSION string should be updated.
3205# The string is of the form C:R:A.
3206# - If interfaces have been changed or added, but binary compatibility has
3207#   been preserved, change to C+1:0:A+1
3208# - If binary compatibility has been broken (eg removed or changed interfaces)
3209#   change to C+1:0:0
3210# - If the interface is the same as the previous version, change to C:R+1:A
3211DEE_LT_CURRENT=6
3212DEE_LT_REV=1
3213DEE_LT_AGE=2
3214DEE_LT_VERSION="$DEE_LT_CURRENT:$DEE_LT_REV:$DEE_LT_AGE"
3215DEE_LT_LDFLAGS="-version-info $DEE_LT_VERSION -export-symbols-regex '^dee_.*'"
3216
3217
3218
3219
3220
3221# Checks for programs
3222ac_ext=c
3223ac_cpp='$CPP $CPPFLAGS'
3224ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3225ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3226ac_compiler_gnu=$ac_cv_c_compiler_gnu
3227if test -n "$ac_tool_prefix"; then
3228  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3229set dummy ${ac_tool_prefix}gcc; ac_word=$2
3230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3231$as_echo_n "checking for $ac_word... " >&6; }
3232if ${ac_cv_prog_CC+:} false; then :
3233  $as_echo_n "(cached) " >&6
3234else
3235  if test -n "$CC"; then
3236  ac_cv_prog_CC="$CC" # Let the user override the test.
3237else
3238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239for as_dir in $PATH
3240do
3241  IFS=$as_save_IFS
3242  test -z "$as_dir" && as_dir=.
3243    for ac_exec_ext in '' $ac_executable_extensions; do
3244  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3245    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3246    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3247    break 2
3248  fi
3249done
3250  done
3251IFS=$as_save_IFS
3252
3253fi
3254fi
3255CC=$ac_cv_prog_CC
3256if test -n "$CC"; then
3257  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3258$as_echo "$CC" >&6; }
3259else
3260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261$as_echo "no" >&6; }
3262fi
3263
3264
3265fi
3266if test -z "$ac_cv_prog_CC"; then
3267  ac_ct_CC=$CC
3268  # Extract the first word of "gcc", so it can be a program name with args.
3269set dummy gcc; ac_word=$2
3270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3271$as_echo_n "checking for $ac_word... " >&6; }
3272if ${ac_cv_prog_ac_ct_CC+:} false; then :
3273  $as_echo_n "(cached) " >&6
3274else
3275  if test -n "$ac_ct_CC"; then
3276  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3277else
3278as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3279for as_dir in $PATH
3280do
3281  IFS=$as_save_IFS
3282  test -z "$as_dir" && as_dir=.
3283    for ac_exec_ext in '' $ac_executable_extensions; do
3284  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3285    ac_cv_prog_ac_ct_CC="gcc"
3286    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3287    break 2
3288  fi
3289done
3290  done
3291IFS=$as_save_IFS
3292
3293fi
3294fi
3295ac_ct_CC=$ac_cv_prog_ac_ct_CC
3296if test -n "$ac_ct_CC"; then
3297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3298$as_echo "$ac_ct_CC" >&6; }
3299else
3300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3301$as_echo "no" >&6; }
3302fi
3303
3304  if test "x$ac_ct_CC" = x; then
3305    CC=""
3306  else
3307    case $cross_compiling:$ac_tool_warned in
3308yes:)
3309{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3310$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3311ac_tool_warned=yes ;;
3312esac
3313    CC=$ac_ct_CC
3314  fi
3315else
3316  CC="$ac_cv_prog_CC"
3317fi
3318
3319if test -z "$CC"; then
3320          if test -n "$ac_tool_prefix"; then
3321    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3322set dummy ${ac_tool_prefix}cc; ac_word=$2
3323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3324$as_echo_n "checking for $ac_word... " >&6; }
3325if ${ac_cv_prog_CC+:} false; then :
3326  $as_echo_n "(cached) " >&6
3327else
3328  if test -n "$CC"; then
3329  ac_cv_prog_CC="$CC" # Let the user override the test.
3330else
3331as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3332for as_dir in $PATH
3333do
3334  IFS=$as_save_IFS
3335  test -z "$as_dir" && as_dir=.
3336    for ac_exec_ext in '' $ac_executable_extensions; do
3337  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3338    ac_cv_prog_CC="${ac_tool_prefix}cc"
3339    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3340    break 2
3341  fi
3342done
3343  done
3344IFS=$as_save_IFS
3345
3346fi
3347fi
3348CC=$ac_cv_prog_CC
3349if test -n "$CC"; then
3350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3351$as_echo "$CC" >&6; }
3352else
3353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354$as_echo "no" >&6; }
3355fi
3356
3357
3358  fi
3359fi
3360if test -z "$CC"; then
3361  # Extract the first word of "cc", so it can be a program name with args.
3362set dummy cc; ac_word=$2
3363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364$as_echo_n "checking for $ac_word... " >&6; }
3365if ${ac_cv_prog_CC+:} false; then :
3366  $as_echo_n "(cached) " >&6
3367else
3368  if test -n "$CC"; then
3369  ac_cv_prog_CC="$CC" # Let the user override the test.
3370else
3371  ac_prog_rejected=no
3372as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373for as_dir in $PATH
3374do
3375  IFS=$as_save_IFS
3376  test -z "$as_dir" && as_dir=.
3377    for ac_exec_ext in '' $ac_executable_extensions; do
3378  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3379    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3380       ac_prog_rejected=yes
3381       continue
3382     fi
3383    ac_cv_prog_CC="cc"
3384    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3385    break 2
3386  fi
3387done
3388  done
3389IFS=$as_save_IFS
3390
3391if test $ac_prog_rejected = yes; then
3392  # We found a bogon in the path, so make sure we never use it.
3393  set dummy $ac_cv_prog_CC
3394  shift
3395  if test $# != 0; then
3396    # We chose a different compiler from the bogus one.
3397    # However, it has the same basename, so the bogon will be chosen
3398    # first if we set CC to just the basename; use the full file name.
3399    shift
3400    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3401  fi
3402fi
3403fi
3404fi
3405CC=$ac_cv_prog_CC
3406if test -n "$CC"; then
3407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3408$as_echo "$CC" >&6; }
3409else
3410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411$as_echo "no" >&6; }
3412fi
3413
3414
3415fi
3416if test -z "$CC"; then
3417  if test -n "$ac_tool_prefix"; then
3418  for ac_prog in cl.exe
3419  do
3420    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3421set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3423$as_echo_n "checking for $ac_word... " >&6; }
3424if ${ac_cv_prog_CC+:} false; then :
3425  $as_echo_n "(cached) " >&6
3426else
3427  if test -n "$CC"; then
3428  ac_cv_prog_CC="$CC" # Let the user override the test.
3429else
3430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3431for as_dir in $PATH
3432do
3433  IFS=$as_save_IFS
3434  test -z "$as_dir" && as_dir=.
3435    for ac_exec_ext in '' $ac_executable_extensions; do
3436  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3437    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3438    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3439    break 2
3440  fi
3441done
3442  done
3443IFS=$as_save_IFS
3444
3445fi
3446fi
3447CC=$ac_cv_prog_CC
3448if test -n "$CC"; then
3449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3450$as_echo "$CC" >&6; }
3451else
3452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453$as_echo "no" >&6; }
3454fi
3455
3456
3457    test -n "$CC" && break
3458  done
3459fi
3460if test -z "$CC"; then
3461  ac_ct_CC=$CC
3462  for ac_prog in cl.exe
3463do
3464  # Extract the first word of "$ac_prog", so it can be a program name with args.
3465set dummy $ac_prog; ac_word=$2
3466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3467$as_echo_n "checking for $ac_word... " >&6; }
3468if ${ac_cv_prog_ac_ct_CC+:} false; then :
3469  $as_echo_n "(cached) " >&6
3470else
3471  if test -n "$ac_ct_CC"; then
3472  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3473else
3474as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475for as_dir in $PATH
3476do
3477  IFS=$as_save_IFS
3478  test -z "$as_dir" && as_dir=.
3479    for ac_exec_ext in '' $ac_executable_extensions; do
3480  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3481    ac_cv_prog_ac_ct_CC="$ac_prog"
3482    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3483    break 2
3484  fi
3485done
3486  done
3487IFS=$as_save_IFS
3488
3489fi
3490fi
3491ac_ct_CC=$ac_cv_prog_ac_ct_CC
3492if test -n "$ac_ct_CC"; then
3493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3494$as_echo "$ac_ct_CC" >&6; }
3495else
3496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3497$as_echo "no" >&6; }
3498fi
3499
3500
3501  test -n "$ac_ct_CC" && break
3502done
3503
3504  if test "x$ac_ct_CC" = x; then
3505    CC=""
3506  else
3507    case $cross_compiling:$ac_tool_warned in
3508yes:)
3509{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3510$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3511ac_tool_warned=yes ;;
3512esac
3513    CC=$ac_ct_CC
3514  fi
3515fi
3516
3517fi
3518
3519
3520test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3521$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3522as_fn_error $? "no acceptable C compiler found in \$PATH
3523See \`config.log' for more details" "$LINENO" 5; }
3524
3525# Provide some information about the compiler.
3526$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3527set X $ac_compile
3528ac_compiler=$2
3529for ac_option in --version -v -V -qversion; do
3530  { { ac_try="$ac_compiler $ac_option >&5"
3531case "(($ac_try" in
3532  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3533  *) ac_try_echo=$ac_try;;
3534esac
3535eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536$as_echo "$ac_try_echo"; } >&5
3537  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3538  ac_status=$?
3539  if test -s conftest.err; then
3540    sed '10a\
3541... rest of stderr output deleted ...
3542         10q' conftest.err >conftest.er1
3543    cat conftest.er1 >&5
3544  fi
3545  rm -f conftest.er1 conftest.err
3546  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3547  test $ac_status = 0; }
3548done
3549
3550cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551/* end confdefs.h.  */
3552
3553int
3554main ()
3555{
3556
3557  ;
3558  return 0;
3559}
3560_ACEOF
3561ac_clean_files_save=$ac_clean_files
3562ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3563# Try to create an executable without -o first, disregard a.out.
3564# It will help us diagnose broken compilers, and finding out an intuition
3565# of exeext.
3566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3567$as_echo_n "checking whether the C compiler works... " >&6; }
3568ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3569
3570# The possible output files:
3571ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3572
3573ac_rmfiles=
3574for ac_file in $ac_files
3575do
3576  case $ac_file in
3577    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3578    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3579  esac
3580done
3581rm -f $ac_rmfiles
3582
3583if { { ac_try="$ac_link_default"
3584case "(($ac_try" in
3585  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3586  *) ac_try_echo=$ac_try;;
3587esac
3588eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3589$as_echo "$ac_try_echo"; } >&5
3590  (eval "$ac_link_default") 2>&5
3591  ac_status=$?
3592  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3593  test $ac_status = 0; }; then :
3594  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3595# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3596# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3597# so that the user can short-circuit this test for compilers unknown to
3598# Autoconf.
3599for ac_file in $ac_files ''
3600do
3601  test -f "$ac_file" || continue
3602  case $ac_file in
3603    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3604	;;
3605    [ab].out )
3606	# We found the default executable, but exeext='' is most
3607	# certainly right.
3608	break;;
3609    *.* )
3610	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3611	then :; else
3612	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3613	fi
3614	# We set ac_cv_exeext here because the later test for it is not
3615	# safe: cross compilers may not add the suffix if given an `-o'
3616	# argument, so we may need to know it at that point already.
3617	# Even if this section looks crufty: it has the advantage of
3618	# actually working.
3619	break;;
3620    * )
3621	break;;
3622  esac
3623done
3624test "$ac_cv_exeext" = no && ac_cv_exeext=
3625
3626else
3627  ac_file=''
3628fi
3629if test -z "$ac_file"; then :
3630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631$as_echo "no" >&6; }
3632$as_echo "$as_me: failed program was:" >&5
3633sed 's/^/| /' conftest.$ac_ext >&5
3634
3635{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3636$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3637as_fn_error 77 "C compiler cannot create executables
3638See \`config.log' for more details" "$LINENO" 5; }
3639else
3640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3641$as_echo "yes" >&6; }
3642fi
3643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3644$as_echo_n "checking for C compiler default output file name... " >&6; }
3645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3646$as_echo "$ac_file" >&6; }
3647ac_exeext=$ac_cv_exeext
3648
3649rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3650ac_clean_files=$ac_clean_files_save
3651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3652$as_echo_n "checking for suffix of executables... " >&6; }
3653if { { ac_try="$ac_link"
3654case "(($ac_try" in
3655  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3656  *) ac_try_echo=$ac_try;;
3657esac
3658eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3659$as_echo "$ac_try_echo"; } >&5
3660  (eval "$ac_link") 2>&5
3661  ac_status=$?
3662  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3663  test $ac_status = 0; }; then :
3664  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3665# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3666# work properly (i.e., refer to `conftest.exe'), while it won't with
3667# `rm'.
3668for ac_file in conftest.exe conftest conftest.*; do
3669  test -f "$ac_file" || continue
3670  case $ac_file in
3671    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3672    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3673	  break;;
3674    * ) break;;
3675  esac
3676done
3677else
3678  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3679$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3680as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3681See \`config.log' for more details" "$LINENO" 5; }
3682fi
3683rm -f conftest conftest$ac_cv_exeext
3684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3685$as_echo "$ac_cv_exeext" >&6; }
3686
3687rm -f conftest.$ac_ext
3688EXEEXT=$ac_cv_exeext
3689ac_exeext=$EXEEXT
3690cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3691/* end confdefs.h.  */
3692#include <stdio.h>
3693int
3694main ()
3695{
3696FILE *f = fopen ("conftest.out", "w");
3697 return ferror (f) || fclose (f) != 0;
3698
3699  ;
3700  return 0;
3701}
3702_ACEOF
3703ac_clean_files="$ac_clean_files conftest.out"
3704# Check that the compiler produces executables we can run.  If not, either
3705# the compiler is broken, or we cross compile.
3706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3707$as_echo_n "checking whether we are cross compiling... " >&6; }
3708if test "$cross_compiling" != yes; then
3709  { { ac_try="$ac_link"
3710case "(($ac_try" in
3711  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3712  *) ac_try_echo=$ac_try;;
3713esac
3714eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3715$as_echo "$ac_try_echo"; } >&5
3716  (eval "$ac_link") 2>&5
3717  ac_status=$?
3718  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3719  test $ac_status = 0; }
3720  if { ac_try='./conftest$ac_cv_exeext'
3721  { { case "(($ac_try" in
3722  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723  *) ac_try_echo=$ac_try;;
3724esac
3725eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3726$as_echo "$ac_try_echo"; } >&5
3727  (eval "$ac_try") 2>&5
3728  ac_status=$?
3729  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3730  test $ac_status = 0; }; }; then
3731    cross_compiling=no
3732  else
3733    if test "$cross_compiling" = maybe; then
3734	cross_compiling=yes
3735    else
3736	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3737$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3738as_fn_error $? "cannot run C compiled programs.
3739If you meant to cross compile, use \`--host'.
3740See \`config.log' for more details" "$LINENO" 5; }
3741    fi
3742  fi
3743fi
3744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3745$as_echo "$cross_compiling" >&6; }
3746
3747rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3748ac_clean_files=$ac_clean_files_save
3749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3750$as_echo_n "checking for suffix of object files... " >&6; }
3751if ${ac_cv_objext+:} false; then :
3752  $as_echo_n "(cached) " >&6
3753else
3754  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755/* end confdefs.h.  */
3756
3757int
3758main ()
3759{
3760
3761  ;
3762  return 0;
3763}
3764_ACEOF
3765rm -f conftest.o conftest.obj
3766if { { ac_try="$ac_compile"
3767case "(($ac_try" in
3768  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769  *) ac_try_echo=$ac_try;;
3770esac
3771eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3772$as_echo "$ac_try_echo"; } >&5
3773  (eval "$ac_compile") 2>&5
3774  ac_status=$?
3775  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3776  test $ac_status = 0; }; then :
3777  for ac_file in conftest.o conftest.obj conftest.*; do
3778  test -f "$ac_file" || continue;
3779  case $ac_file in
3780    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3781    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3782       break;;
3783  esac
3784done
3785else
3786  $as_echo "$as_me: failed program was:" >&5
3787sed 's/^/| /' conftest.$ac_ext >&5
3788
3789{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3790$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3791as_fn_error $? "cannot compute suffix of object files: cannot compile
3792See \`config.log' for more details" "$LINENO" 5; }
3793fi
3794rm -f conftest.$ac_cv_objext conftest.$ac_ext
3795fi
3796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3797$as_echo "$ac_cv_objext" >&6; }
3798OBJEXT=$ac_cv_objext
3799ac_objext=$OBJEXT
3800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3801$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3802if ${ac_cv_c_compiler_gnu+:} false; then :
3803  $as_echo_n "(cached) " >&6
3804else
3805  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3806/* end confdefs.h.  */
3807
3808int
3809main ()
3810{
3811#ifndef __GNUC__
3812       choke me
3813#endif
3814
3815  ;
3816  return 0;
3817}
3818_ACEOF
3819if ac_fn_c_try_compile "$LINENO"; then :
3820  ac_compiler_gnu=yes
3821else
3822  ac_compiler_gnu=no
3823fi
3824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3825ac_cv_c_compiler_gnu=$ac_compiler_gnu
3826
3827fi
3828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3829$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3830if test $ac_compiler_gnu = yes; then
3831  GCC=yes
3832else
3833  GCC=
3834fi
3835ac_test_CFLAGS=${CFLAGS+set}
3836ac_save_CFLAGS=$CFLAGS
3837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3838$as_echo_n "checking whether $CC accepts -g... " >&6; }
3839if ${ac_cv_prog_cc_g+:} false; then :
3840  $as_echo_n "(cached) " >&6
3841else
3842  ac_save_c_werror_flag=$ac_c_werror_flag
3843   ac_c_werror_flag=yes
3844   ac_cv_prog_cc_g=no
3845   CFLAGS="-g"
3846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3847/* end confdefs.h.  */
3848
3849int
3850main ()
3851{
3852
3853  ;
3854  return 0;
3855}
3856_ACEOF
3857if ac_fn_c_try_compile "$LINENO"; then :
3858  ac_cv_prog_cc_g=yes
3859else
3860  CFLAGS=""
3861      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3862/* end confdefs.h.  */
3863
3864int
3865main ()
3866{
3867
3868  ;
3869  return 0;
3870}
3871_ACEOF
3872if ac_fn_c_try_compile "$LINENO"; then :
3873
3874else
3875  ac_c_werror_flag=$ac_save_c_werror_flag
3876	 CFLAGS="-g"
3877	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3878/* end confdefs.h.  */
3879
3880int
3881main ()
3882{
3883
3884  ;
3885  return 0;
3886}
3887_ACEOF
3888if ac_fn_c_try_compile "$LINENO"; then :
3889  ac_cv_prog_cc_g=yes
3890fi
3891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892fi
3893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3894fi
3895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3896   ac_c_werror_flag=$ac_save_c_werror_flag
3897fi
3898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3899$as_echo "$ac_cv_prog_cc_g" >&6; }
3900if test "$ac_test_CFLAGS" = set; then
3901  CFLAGS=$ac_save_CFLAGS
3902elif test $ac_cv_prog_cc_g = yes; then
3903  if test "$GCC" = yes; then
3904    CFLAGS="-g -O2"
3905  else
3906    CFLAGS="-g"
3907  fi
3908else
3909  if test "$GCC" = yes; then
3910    CFLAGS="-O2"
3911  else
3912    CFLAGS=
3913  fi
3914fi
3915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3916$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3917if ${ac_cv_prog_cc_c89+:} false; then :
3918  $as_echo_n "(cached) " >&6
3919else
3920  ac_cv_prog_cc_c89=no
3921ac_save_CC=$CC
3922cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923/* end confdefs.h.  */
3924#include <stdarg.h>
3925#include <stdio.h>
3926struct stat;
3927/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3928struct buf { int x; };
3929FILE * (*rcsopen) (struct buf *, struct stat *, int);
3930static char *e (p, i)
3931     char **p;
3932     int i;
3933{
3934  return p[i];
3935}
3936static char *f (char * (*g) (char **, int), char **p, ...)
3937{
3938  char *s;
3939  va_list v;
3940  va_start (v,p);
3941  s = g (p, va_arg (v,int));
3942  va_end (v);
3943  return s;
3944}
3945
3946/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3947   function prototypes and stuff, but not '\xHH' hex character constants.
3948   These don't provoke an error unfortunately, instead are silently treated
3949   as 'x'.  The following induces an error, until -std is added to get
3950   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3951   array size at least.  It's necessary to write '\x00'==0 to get something
3952   that's true only with -std.  */
3953int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3954
3955/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3956   inside strings and character constants.  */
3957#define FOO(x) 'x'
3958int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3959
3960int test (int i, double x);
3961struct s1 {int (*f) (int a);};
3962struct s2 {int (*f) (double a);};
3963int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3964int argc;
3965char **argv;
3966int
3967main ()
3968{
3969return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3970  ;
3971  return 0;
3972}
3973_ACEOF
3974for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3975	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3976do
3977  CC="$ac_save_CC $ac_arg"
3978  if ac_fn_c_try_compile "$LINENO"; then :
3979  ac_cv_prog_cc_c89=$ac_arg
3980fi
3981rm -f core conftest.err conftest.$ac_objext
3982  test "x$ac_cv_prog_cc_c89" != "xno" && break
3983done
3984rm -f conftest.$ac_ext
3985CC=$ac_save_CC
3986
3987fi
3988# AC_CACHE_VAL
3989case "x$ac_cv_prog_cc_c89" in
3990  x)
3991    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3992$as_echo "none needed" >&6; } ;;
3993  xno)
3994    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3995$as_echo "unsupported" >&6; } ;;
3996  *)
3997    CC="$CC $ac_cv_prog_cc_c89"
3998    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3999$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4000esac
4001if test "x$ac_cv_prog_cc_c89" != xno; then :
4002
4003fi
4004
4005ac_ext=c
4006ac_cpp='$CPP $CPPFLAGS'
4007ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4008ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4009ac_compiler_gnu=$ac_cv_c_compiler_gnu
4010DEPDIR="${am__leading_dot}deps"
4011
4012ac_config_commands="$ac_config_commands depfiles"
4013
4014
4015am_make=${MAKE-make}
4016cat > confinc << 'END'
4017am__doit:
4018	@echo this is the am__doit target
4019.PHONY: am__doit
4020END
4021# If we don't find an include directive, just comment out the code.
4022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4023$as_echo_n "checking for style of include used by $am_make... " >&6; }
4024am__include="#"
4025am__quote=
4026_am_result=none
4027# First try GNU make style include.
4028echo "include confinc" > confmf
4029# Ignore all kinds of additional output from 'make'.
4030case `$am_make -s -f confmf 2> /dev/null` in #(
4031*the\ am__doit\ target*)
4032  am__include=include
4033  am__quote=
4034  _am_result=GNU
4035  ;;
4036esac
4037# Now try BSD make style include.
4038if test "$am__include" = "#"; then
4039   echo '.include "confinc"' > confmf
4040   case `$am_make -s -f confmf 2> /dev/null` in #(
4041   *the\ am__doit\ target*)
4042     am__include=.include
4043     am__quote="\""
4044     _am_result=BSD
4045     ;;
4046   esac
4047fi
4048
4049
4050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4051$as_echo "$_am_result" >&6; }
4052rm -f confinc confmf
4053
4054# Check whether --enable-dependency-tracking was given.
4055if test "${enable_dependency_tracking+set}" = set; then :
4056  enableval=$enable_dependency_tracking;
4057fi
4058
4059if test "x$enable_dependency_tracking" != xno; then
4060  am_depcomp="$ac_aux_dir/depcomp"
4061  AMDEPBACKSLASH='\'
4062  am__nodep='_no'
4063fi
4064 if test "x$enable_dependency_tracking" != xno; then
4065  AMDEP_TRUE=
4066  AMDEP_FALSE='#'
4067else
4068  AMDEP_TRUE='#'
4069  AMDEP_FALSE=
4070fi
4071
4072
4073
4074depcc="$CC"   am_compiler_list=
4075
4076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4077$as_echo_n "checking dependency style of $depcc... " >&6; }
4078if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4079  $as_echo_n "(cached) " >&6
4080else
4081  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4082  # We make a subdir and do the tests there.  Otherwise we can end up
4083  # making bogus files that we don't know about and never remove.  For
4084  # instance it was reported that on HP-UX the gcc test will end up
4085  # making a dummy file named 'D' -- because '-MD' means "put the output
4086  # in D".
4087  rm -rf conftest.dir
4088  mkdir conftest.dir
4089  # Copy depcomp to subdir because otherwise we won't find it if we're
4090  # using a relative directory.
4091  cp "$am_depcomp" conftest.dir
4092  cd conftest.dir
4093  # We will build objects and dependencies in a subdirectory because
4094  # it helps to detect inapplicable dependency modes.  For instance
4095  # both Tru64's cc and ICC support -MD to output dependencies as a
4096  # side effect of compilation, but ICC will put the dependencies in
4097  # the current directory while Tru64 will put them in the object
4098  # directory.
4099  mkdir sub
4100
4101  am_cv_CC_dependencies_compiler_type=none
4102  if test "$am_compiler_list" = ""; then
4103     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4104  fi
4105  am__universal=false
4106  case " $depcc " in #(
4107     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4108     esac
4109
4110  for depmode in $am_compiler_list; do
4111    # Setup a source with many dependencies, because some compilers
4112    # like to wrap large dependency lists on column 80 (with \), and
4113    # we should not choose a depcomp mode which is confused by this.
4114    #
4115    # We need to recreate these files for each test, as the compiler may
4116    # overwrite some of them when testing with obscure command lines.
4117    # This happens at least with the AIX C compiler.
4118    : > sub/conftest.c
4119    for i in 1 2 3 4 5 6; do
4120      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4121      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4122      # Solaris 10 /bin/sh.
4123      echo '/* dummy */' > sub/conftst$i.h
4124    done
4125    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4126
4127    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4128    # mode.  It turns out that the SunPro C++ compiler does not properly
4129    # handle '-M -o', and we need to detect this.  Also, some Intel
4130    # versions had trouble with output in subdirs.
4131    am__obj=sub/conftest.${OBJEXT-o}
4132    am__minus_obj="-o $am__obj"
4133    case $depmode in
4134    gcc)
4135      # This depmode causes a compiler race in universal mode.
4136      test "$am__universal" = false || continue
4137      ;;
4138    nosideeffect)
4139      # After this tag, mechanisms are not by side-effect, so they'll
4140      # only be used when explicitly requested.
4141      if test "x$enable_dependency_tracking" = xyes; then
4142	continue
4143      else
4144	break
4145      fi
4146      ;;
4147    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4148      # This compiler won't grok '-c -o', but also, the minuso test has
4149      # not run yet.  These depmodes are late enough in the game, and
4150      # so weak that their functioning should not be impacted.
4151      am__obj=conftest.${OBJEXT-o}
4152      am__minus_obj=
4153      ;;
4154    none) break ;;
4155    esac
4156    if depmode=$depmode \
4157       source=sub/conftest.c object=$am__obj \
4158       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4159       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4160         >/dev/null 2>conftest.err &&
4161       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4162       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4163       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4164       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4165      # icc doesn't choke on unknown options, it will just issue warnings
4166      # or remarks (even with -Werror).  So we grep stderr for any message
4167      # that says an option was ignored or not supported.
4168      # When given -MP, icc 7.0 and 7.1 complain thusly:
4169      #   icc: Command line warning: ignoring option '-M'; no argument required
4170      # The diagnosis changed in icc 8.0:
4171      #   icc: Command line remark: option '-MP' not supported
4172      if (grep 'ignoring option' conftest.err ||
4173          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4174        am_cv_CC_dependencies_compiler_type=$depmode
4175        break
4176      fi
4177    fi
4178  done
4179
4180  cd ..
4181  rm -rf conftest.dir
4182else
4183  am_cv_CC_dependencies_compiler_type=none
4184fi
4185
4186fi
4187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4188$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4189CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4190
4191 if
4192  test "x$enable_dependency_tracking" != xno \
4193  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4194  am__fastdepCC_TRUE=
4195  am__fastdepCC_FALSE='#'
4196else
4197  am__fastdepCC_TRUE='#'
4198  am__fastdepCC_FALSE=
4199fi
4200
4201
4202if test "x$CC" != xcc; then
4203  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4204$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4205else
4206  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4207$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4208fi
4209set dummy $CC; ac_cc=`$as_echo "$2" |
4210		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4211if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4212  $as_echo_n "(cached) " >&6
4213else
4214  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215/* end confdefs.h.  */
4216
4217int
4218main ()
4219{
4220
4221  ;
4222  return 0;
4223}
4224_ACEOF
4225# Make sure it works both with $CC and with simple cc.
4226# We do the test twice because some compilers refuse to overwrite an
4227# existing .o file with -o, though they will create one.
4228ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4229rm -f conftest2.*
4230if { { case "(($ac_try" in
4231  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4232  *) ac_try_echo=$ac_try;;
4233esac
4234eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4235$as_echo "$ac_try_echo"; } >&5
4236  (eval "$ac_try") 2>&5
4237  ac_status=$?
4238  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4239  test $ac_status = 0; } &&
4240   test -f conftest2.$ac_objext && { { case "(($ac_try" in
4241  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4242  *) ac_try_echo=$ac_try;;
4243esac
4244eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4245$as_echo "$ac_try_echo"; } >&5
4246  (eval "$ac_try") 2>&5
4247  ac_status=$?
4248  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4249  test $ac_status = 0; };
4250then
4251  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4252  if test "x$CC" != xcc; then
4253    # Test first that cc exists at all.
4254    if { ac_try='cc -c conftest.$ac_ext >&5'
4255  { { case "(($ac_try" in
4256  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4257  *) ac_try_echo=$ac_try;;
4258esac
4259eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4260$as_echo "$ac_try_echo"; } >&5
4261  (eval "$ac_try") 2>&5
4262  ac_status=$?
4263  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4264  test $ac_status = 0; }; }; then
4265      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4266      rm -f conftest2.*
4267      if { { case "(($ac_try" in
4268  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4269  *) ac_try_echo=$ac_try;;
4270esac
4271eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4272$as_echo "$ac_try_echo"; } >&5
4273  (eval "$ac_try") 2>&5
4274  ac_status=$?
4275  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4276  test $ac_status = 0; } &&
4277	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4278  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4279  *) ac_try_echo=$ac_try;;
4280esac
4281eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4282$as_echo "$ac_try_echo"; } >&5
4283  (eval "$ac_try") 2>&5
4284  ac_status=$?
4285  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4286  test $ac_status = 0; };
4287      then
4288	# cc works too.
4289	:
4290      else
4291	# cc exists but doesn't like -o.
4292	eval ac_cv_prog_cc_${ac_cc}_c_o=no
4293      fi
4294    fi
4295  fi
4296else
4297  eval ac_cv_prog_cc_${ac_cc}_c_o=no
4298fi
4299rm -f core conftest*
4300
4301fi
4302if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4304$as_echo "yes" >&6; }
4305else
4306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4307$as_echo "no" >&6; }
4308
4309$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4310
4311fi
4312
4313# FIXME: we rely on the cache variable name because
4314# there is no other way.
4315set dummy $CC
4316am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4317eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4318if test "$am_t" != yes; then
4319   # Losing compiler, so override with the script.
4320   # FIXME: It is wrong to rewrite CC.
4321   # But if we don't then we get into trouble of one sort or another.
4322   # A longer-term fix would be to have automake use am__CC in this case,
4323   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4324   CC="$am_aux_dir/compile $CC"
4325fi
4326
4327
4328# Check whether --enable-static was given.
4329if test "${enable_static+set}" = set; then :
4330  enableval=$enable_static; p=${PACKAGE-default}
4331    case $enableval in
4332    yes) enable_static=yes ;;
4333    no) enable_static=no ;;
4334    *)
4335     enable_static=no
4336      # Look at the argument we got.  We use all the common list separators.
4337      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4338      for pkg in $enableval; do
4339	IFS="$lt_save_ifs"
4340	if test "X$pkg" = "X$p"; then
4341	  enable_static=yes
4342	fi
4343      done
4344      IFS="$lt_save_ifs"
4345      ;;
4346    esac
4347else
4348  enable_static=no
4349fi
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359case `pwd` in
4360  *\ * | *\	*)
4361    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4362$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4363esac
4364
4365
4366
4367macro_version='2.4.2'
4368macro_revision='1.3337'
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382ltmain="$ac_aux_dir/ltmain.sh"
4383
4384# Make sure we can run config.sub.
4385$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4386  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4387
4388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4389$as_echo_n "checking build system type... " >&6; }
4390if ${ac_cv_build+:} false; then :
4391  $as_echo_n "(cached) " >&6
4392else
4393  ac_build_alias=$build_alias
4394test "x$ac_build_alias" = x &&
4395  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4396test "x$ac_build_alias" = x &&
4397  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4398ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4399  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4400
4401fi
4402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4403$as_echo "$ac_cv_build" >&6; }
4404case $ac_cv_build in
4405*-*-*) ;;
4406*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4407esac
4408build=$ac_cv_build
4409ac_save_IFS=$IFS; IFS='-'
4410set x $ac_cv_build
4411shift
4412build_cpu=$1
4413build_vendor=$2
4414shift; shift
4415# Remember, the first character of IFS is used to create $*,
4416# except with old shells:
4417build_os=$*
4418IFS=$ac_save_IFS
4419case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4420
4421
4422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4423$as_echo_n "checking host system type... " >&6; }
4424if ${ac_cv_host+:} false; then :
4425  $as_echo_n "(cached) " >&6
4426else
4427  if test "x$host_alias" = x; then
4428  ac_cv_host=$ac_cv_build
4429else
4430  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4431    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4432fi
4433
4434fi
4435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4436$as_echo "$ac_cv_host" >&6; }
4437case $ac_cv_host in
4438*-*-*) ;;
4439*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4440esac
4441host=$ac_cv_host
4442ac_save_IFS=$IFS; IFS='-'
4443set x $ac_cv_host
4444shift
4445host_cpu=$1
4446host_vendor=$2
4447shift; shift
4448# Remember, the first character of IFS is used to create $*,
4449# except with old shells:
4450host_os=$*
4451IFS=$ac_save_IFS
4452case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4453
4454
4455# Backslashify metacharacters that are still active within
4456# double-quoted strings.
4457sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4458
4459# Same as above, but do not quote variable references.
4460double_quote_subst='s/\(["`\\]\)/\\\1/g'
4461
4462# Sed substitution to delay expansion of an escaped shell variable in a
4463# double_quote_subst'ed string.
4464delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4465
4466# Sed substitution to delay expansion of an escaped single quote.
4467delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4468
4469# Sed substitution to avoid accidental globbing in evaled expressions
4470no_glob_subst='s/\*/\\\*/g'
4471
4472ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4473ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4474ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4475
4476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4477$as_echo_n "checking how to print strings... " >&6; }
4478# Test print first, because it will be a builtin if present.
4479if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4480   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4481  ECHO='print -r --'
4482elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4483  ECHO='printf %s\n'
4484else
4485  # Use this function as a fallback that always works.
4486  func_fallback_echo ()
4487  {
4488    eval 'cat <<_LTECHO_EOF
4489$1
4490_LTECHO_EOF'
4491  }
4492  ECHO='func_fallback_echo'
4493fi
4494
4495# func_echo_all arg...
4496# Invoke $ECHO with all args, space-separated.
4497func_echo_all ()
4498{
4499    $ECHO ""
4500}
4501
4502case "$ECHO" in
4503  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4504$as_echo "printf" >&6; } ;;
4505  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4506$as_echo "print -r" >&6; } ;;
4507  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4508$as_echo "cat" >&6; } ;;
4509esac
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4525$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4526if ${ac_cv_path_SED+:} false; then :
4527  $as_echo_n "(cached) " >&6
4528else
4529            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4530     for ac_i in 1 2 3 4 5 6 7; do
4531       ac_script="$ac_script$as_nl$ac_script"
4532     done
4533     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4534     { ac_script=; unset ac_script;}
4535     if test -z "$SED"; then
4536  ac_path_SED_found=false
4537  # Loop through the user's path and test for each of PROGNAME-LIST
4538  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4539for as_dir in $PATH
4540do
4541  IFS=$as_save_IFS
4542  test -z "$as_dir" && as_dir=.
4543    for ac_prog in sed gsed; do
4544    for ac_exec_ext in '' $ac_executable_extensions; do
4545      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4546      as_fn_executable_p "$ac_path_SED" || continue
4547# Check for GNU ac_path_SED and select it if it is found.
4548  # Check for GNU $ac_path_SED
4549case `"$ac_path_SED" --version 2>&1` in
4550*GNU*)
4551  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4552*)
4553  ac_count=0
4554  $as_echo_n 0123456789 >"conftest.in"
4555  while :
4556  do
4557    cat "conftest.in" "conftest.in" >"conftest.tmp"
4558    mv "conftest.tmp" "conftest.in"
4559    cp "conftest.in" "conftest.nl"
4560    $as_echo '' >> "conftest.nl"
4561    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4562    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4563    as_fn_arith $ac_count + 1 && ac_count=$as_val
4564    if test $ac_count -gt ${ac_path_SED_max-0}; then
4565      # Best one so far, save it but keep looking for a better one
4566      ac_cv_path_SED="$ac_path_SED"
4567      ac_path_SED_max=$ac_count
4568    fi
4569    # 10*(2^10) chars as input seems more than enough
4570    test $ac_count -gt 10 && break
4571  done
4572  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4573esac
4574
4575      $ac_path_SED_found && break 3
4576    done
4577  done
4578  done
4579IFS=$as_save_IFS
4580  if test -z "$ac_cv_path_SED"; then
4581    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4582  fi
4583else
4584  ac_cv_path_SED=$SED
4585fi
4586
4587fi
4588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4589$as_echo "$ac_cv_path_SED" >&6; }
4590 SED="$ac_cv_path_SED"
4591  rm -f conftest.sed
4592
4593test -z "$SED" && SED=sed
4594Xsed="$SED -e 1s/^X//"
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4607$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4608if ${ac_cv_path_GREP+:} false; then :
4609  $as_echo_n "(cached) " >&6
4610else
4611  if test -z "$GREP"; then
4612  ac_path_GREP_found=false
4613  # Loop through the user's path and test for each of PROGNAME-LIST
4614  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4616do
4617  IFS=$as_save_IFS
4618  test -z "$as_dir" && as_dir=.
4619    for ac_prog in grep ggrep; do
4620    for ac_exec_ext in '' $ac_executable_extensions; do
4621      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4622      as_fn_executable_p "$ac_path_GREP" || continue
4623# Check for GNU ac_path_GREP and select it if it is found.
4624  # Check for GNU $ac_path_GREP
4625case `"$ac_path_GREP" --version 2>&1` in
4626*GNU*)
4627  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4628*)
4629  ac_count=0
4630  $as_echo_n 0123456789 >"conftest.in"
4631  while :
4632  do
4633    cat "conftest.in" "conftest.in" >"conftest.tmp"
4634    mv "conftest.tmp" "conftest.in"
4635    cp "conftest.in" "conftest.nl"
4636    $as_echo 'GREP' >> "conftest.nl"
4637    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4638    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4639    as_fn_arith $ac_count + 1 && ac_count=$as_val
4640    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4641      # Best one so far, save it but keep looking for a better one
4642      ac_cv_path_GREP="$ac_path_GREP"
4643      ac_path_GREP_max=$ac_count
4644    fi
4645    # 10*(2^10) chars as input seems more than enough
4646    test $ac_count -gt 10 && break
4647  done
4648  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4649esac
4650
4651      $ac_path_GREP_found && break 3
4652    done
4653  done
4654  done
4655IFS=$as_save_IFS
4656  if test -z "$ac_cv_path_GREP"; then
4657    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4658  fi
4659else
4660  ac_cv_path_GREP=$GREP
4661fi
4662
4663fi
4664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4665$as_echo "$ac_cv_path_GREP" >&6; }
4666 GREP="$ac_cv_path_GREP"
4667
4668
4669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4670$as_echo_n "checking for egrep... " >&6; }
4671if ${ac_cv_path_EGREP+:} false; then :
4672  $as_echo_n "(cached) " >&6
4673else
4674  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4675   then ac_cv_path_EGREP="$GREP -E"
4676   else
4677     if test -z "$EGREP"; then
4678  ac_path_EGREP_found=false
4679  # Loop through the user's path and test for each of PROGNAME-LIST
4680  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4681for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4682do
4683  IFS=$as_save_IFS
4684  test -z "$as_dir" && as_dir=.
4685    for ac_prog in egrep; do
4686    for ac_exec_ext in '' $ac_executable_extensions; do
4687      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4688      as_fn_executable_p "$ac_path_EGREP" || continue
4689# Check for GNU ac_path_EGREP and select it if it is found.
4690  # Check for GNU $ac_path_EGREP
4691case `"$ac_path_EGREP" --version 2>&1` in
4692*GNU*)
4693  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4694*)
4695  ac_count=0
4696  $as_echo_n 0123456789 >"conftest.in"
4697  while :
4698  do
4699    cat "conftest.in" "conftest.in" >"conftest.tmp"
4700    mv "conftest.tmp" "conftest.in"
4701    cp "conftest.in" "conftest.nl"
4702    $as_echo 'EGREP' >> "conftest.nl"
4703    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4704    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4705    as_fn_arith $ac_count + 1 && ac_count=$as_val
4706    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4707      # Best one so far, save it but keep looking for a better one
4708      ac_cv_path_EGREP="$ac_path_EGREP"
4709      ac_path_EGREP_max=$ac_count
4710    fi
4711    # 10*(2^10) chars as input seems more than enough
4712    test $ac_count -gt 10 && break
4713  done
4714  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4715esac
4716
4717      $ac_path_EGREP_found && break 3
4718    done
4719  done
4720  done
4721IFS=$as_save_IFS
4722  if test -z "$ac_cv_path_EGREP"; then
4723    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4724  fi
4725else
4726  ac_cv_path_EGREP=$EGREP
4727fi
4728
4729   fi
4730fi
4731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4732$as_echo "$ac_cv_path_EGREP" >&6; }
4733 EGREP="$ac_cv_path_EGREP"
4734
4735
4736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4737$as_echo_n "checking for fgrep... " >&6; }
4738if ${ac_cv_path_FGREP+:} false; then :
4739  $as_echo_n "(cached) " >&6
4740else
4741  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4742   then ac_cv_path_FGREP="$GREP -F"
4743   else
4744     if test -z "$FGREP"; then
4745  ac_path_FGREP_found=false
4746  # Loop through the user's path and test for each of PROGNAME-LIST
4747  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4749do
4750  IFS=$as_save_IFS
4751  test -z "$as_dir" && as_dir=.
4752    for ac_prog in fgrep; do
4753    for ac_exec_ext in '' $ac_executable_extensions; do
4754      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4755      as_fn_executable_p "$ac_path_FGREP" || continue
4756# Check for GNU ac_path_FGREP and select it if it is found.
4757  # Check for GNU $ac_path_FGREP
4758case `"$ac_path_FGREP" --version 2>&1` in
4759*GNU*)
4760  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4761*)
4762  ac_count=0
4763  $as_echo_n 0123456789 >"conftest.in"
4764  while :
4765  do
4766    cat "conftest.in" "conftest.in" >"conftest.tmp"
4767    mv "conftest.tmp" "conftest.in"
4768    cp "conftest.in" "conftest.nl"
4769    $as_echo 'FGREP' >> "conftest.nl"
4770    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4771    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4772    as_fn_arith $ac_count + 1 && ac_count=$as_val
4773    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4774      # Best one so far, save it but keep looking for a better one
4775      ac_cv_path_FGREP="$ac_path_FGREP"
4776      ac_path_FGREP_max=$ac_count
4777    fi
4778    # 10*(2^10) chars as input seems more than enough
4779    test $ac_count -gt 10 && break
4780  done
4781  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4782esac
4783
4784      $ac_path_FGREP_found && break 3
4785    done
4786  done
4787  done
4788IFS=$as_save_IFS
4789  if test -z "$ac_cv_path_FGREP"; then
4790    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4791  fi
4792else
4793  ac_cv_path_FGREP=$FGREP
4794fi
4795
4796   fi
4797fi
4798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4799$as_echo "$ac_cv_path_FGREP" >&6; }
4800 FGREP="$ac_cv_path_FGREP"
4801
4802
4803test -z "$GREP" && GREP=grep
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823# Check whether --with-gnu-ld was given.
4824if test "${with_gnu_ld+set}" = set; then :
4825  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4826else
4827  with_gnu_ld=no
4828fi
4829
4830ac_prog=ld
4831if test "$GCC" = yes; then
4832  # Check if gcc -print-prog-name=ld gives a path.
4833  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4834$as_echo_n "checking for ld used by $CC... " >&6; }
4835  case $host in
4836  *-*-mingw*)
4837    # gcc leaves a trailing carriage return which upsets mingw
4838    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4839  *)
4840    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4841  esac
4842  case $ac_prog in
4843    # Accept absolute paths.
4844    [\\/]* | ?:[\\/]*)
4845      re_direlt='/[^/][^/]*/\.\./'
4846      # Canonicalize the pathname of ld
4847      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4848      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4849	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4850      done
4851      test -z "$LD" && LD="$ac_prog"
4852      ;;
4853  "")
4854    # If it fails, then pretend we aren't using GCC.
4855    ac_prog=ld
4856    ;;
4857  *)
4858    # If it is relative, then search for the first ld in PATH.
4859    with_gnu_ld=unknown
4860    ;;
4861  esac
4862elif test "$with_gnu_ld" = yes; then
4863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4864$as_echo_n "checking for GNU ld... " >&6; }
4865else
4866  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4867$as_echo_n "checking for non-GNU ld... " >&6; }
4868fi
4869if ${lt_cv_path_LD+:} false; then :
4870  $as_echo_n "(cached) " >&6
4871else
4872  if test -z "$LD"; then
4873  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4874  for ac_dir in $PATH; do
4875    IFS="$lt_save_ifs"
4876    test -z "$ac_dir" && ac_dir=.
4877    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4878      lt_cv_path_LD="$ac_dir/$ac_prog"
4879      # Check to see if the program is GNU ld.  I'd rather use --version,
4880      # but apparently some variants of GNU ld only accept -v.
4881      # Break only if it was the GNU/non-GNU ld that we prefer.
4882      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4883      *GNU* | *'with BFD'*)
4884	test "$with_gnu_ld" != no && break
4885	;;
4886      *)
4887	test "$with_gnu_ld" != yes && break
4888	;;
4889      esac
4890    fi
4891  done
4892  IFS="$lt_save_ifs"
4893else
4894  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4895fi
4896fi
4897
4898LD="$lt_cv_path_LD"
4899if test -n "$LD"; then
4900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4901$as_echo "$LD" >&6; }
4902else
4903  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904$as_echo "no" >&6; }
4905fi
4906test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4908$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4909if ${lt_cv_prog_gnu_ld+:} false; then :
4910  $as_echo_n "(cached) " >&6
4911else
4912  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4913case `$LD -v 2>&1 </dev/null` in
4914*GNU* | *'with BFD'*)
4915  lt_cv_prog_gnu_ld=yes
4916  ;;
4917*)
4918  lt_cv_prog_gnu_ld=no
4919  ;;
4920esac
4921fi
4922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4923$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4924with_gnu_ld=$lt_cv_prog_gnu_ld
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4935$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4936if ${lt_cv_path_NM+:} false; then :
4937  $as_echo_n "(cached) " >&6
4938else
4939  if test -n "$NM"; then
4940  # Let the user override the test.
4941  lt_cv_path_NM="$NM"
4942else
4943  lt_nm_to_check="${ac_tool_prefix}nm"
4944  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4945    lt_nm_to_check="$lt_nm_to_check nm"
4946  fi
4947  for lt_tmp_nm in $lt_nm_to_check; do
4948    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4949    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4950      IFS="$lt_save_ifs"
4951      test -z "$ac_dir" && ac_dir=.
4952      tmp_nm="$ac_dir/$lt_tmp_nm"
4953      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4954	# Check to see if the nm accepts a BSD-compat flag.
4955	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4956	#   nm: unknown option "B" ignored
4957	# Tru64's nm complains that /dev/null is an invalid object file
4958	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4959	*/dev/null* | *'Invalid file or object type'*)
4960	  lt_cv_path_NM="$tmp_nm -B"
4961	  break
4962	  ;;
4963	*)
4964	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4965	  */dev/null*)
4966	    lt_cv_path_NM="$tmp_nm -p"
4967	    break
4968	    ;;
4969	  *)
4970	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4971	    continue # so that we can try to find one that supports BSD flags
4972	    ;;
4973	  esac
4974	  ;;
4975	esac
4976      fi
4977    done
4978    IFS="$lt_save_ifs"
4979  done
4980  : ${lt_cv_path_NM=no}
4981fi
4982fi
4983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4984$as_echo "$lt_cv_path_NM" >&6; }
4985if test "$lt_cv_path_NM" != "no"; then
4986  NM="$lt_cv_path_NM"
4987else
4988  # Didn't find any BSD compatible name lister, look for dumpbin.
4989  if test -n "$DUMPBIN"; then :
4990    # Let the user override the test.
4991  else
4992    if test -n "$ac_tool_prefix"; then
4993  for ac_prog in dumpbin "link -dump"
4994  do
4995    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4996set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998$as_echo_n "checking for $ac_word... " >&6; }
4999if ${ac_cv_prog_DUMPBIN+:} false; then :
5000  $as_echo_n "(cached) " >&6
5001else
5002  if test -n "$DUMPBIN"; then
5003  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5004else
5005as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006for as_dir in $PATH
5007do
5008  IFS=$as_save_IFS
5009  test -z "$as_dir" && as_dir=.
5010    for ac_exec_ext in '' $ac_executable_extensions; do
5011  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5012    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5013    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014    break 2
5015  fi
5016done
5017  done
5018IFS=$as_save_IFS
5019
5020fi
5021fi
5022DUMPBIN=$ac_cv_prog_DUMPBIN
5023if test -n "$DUMPBIN"; then
5024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5025$as_echo "$DUMPBIN" >&6; }
5026else
5027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028$as_echo "no" >&6; }
5029fi
5030
5031
5032    test -n "$DUMPBIN" && break
5033  done
5034fi
5035if test -z "$DUMPBIN"; then
5036  ac_ct_DUMPBIN=$DUMPBIN
5037  for ac_prog in dumpbin "link -dump"
5038do
5039  # Extract the first word of "$ac_prog", so it can be a program name with args.
5040set dummy $ac_prog; ac_word=$2
5041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042$as_echo_n "checking for $ac_word... " >&6; }
5043if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5044  $as_echo_n "(cached) " >&6
5045else
5046  if test -n "$ac_ct_DUMPBIN"; then
5047  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5048else
5049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5050for as_dir in $PATH
5051do
5052  IFS=$as_save_IFS
5053  test -z "$as_dir" && as_dir=.
5054    for ac_exec_ext in '' $ac_executable_extensions; do
5055  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5056    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5057    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058    break 2
5059  fi
5060done
5061  done
5062IFS=$as_save_IFS
5063
5064fi
5065fi
5066ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5067if test -n "$ac_ct_DUMPBIN"; then
5068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5069$as_echo "$ac_ct_DUMPBIN" >&6; }
5070else
5071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072$as_echo "no" >&6; }
5073fi
5074
5075
5076  test -n "$ac_ct_DUMPBIN" && break
5077done
5078
5079  if test "x$ac_ct_DUMPBIN" = x; then
5080    DUMPBIN=":"
5081  else
5082    case $cross_compiling:$ac_tool_warned in
5083yes:)
5084{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5085$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5086ac_tool_warned=yes ;;
5087esac
5088    DUMPBIN=$ac_ct_DUMPBIN
5089  fi
5090fi
5091
5092    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5093    *COFF*)
5094      DUMPBIN="$DUMPBIN -symbols"
5095      ;;
5096    *)
5097      DUMPBIN=:
5098      ;;
5099    esac
5100  fi
5101
5102  if test "$DUMPBIN" != ":"; then
5103    NM="$DUMPBIN"
5104  fi
5105fi
5106test -z "$NM" && NM=nm
5107
5108
5109
5110
5111
5112
5113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5114$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5115if ${lt_cv_nm_interface+:} false; then :
5116  $as_echo_n "(cached) " >&6
5117else
5118  lt_cv_nm_interface="BSD nm"
5119  echo "int some_variable = 0;" > conftest.$ac_ext
5120  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5121  (eval "$ac_compile" 2>conftest.err)
5122  cat conftest.err >&5
5123  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5124  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5125  cat conftest.err >&5
5126  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5127  cat conftest.out >&5
5128  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5129    lt_cv_nm_interface="MS dumpbin"
5130  fi
5131  rm -f conftest*
5132fi
5133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5134$as_echo "$lt_cv_nm_interface" >&6; }
5135
5136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5137$as_echo_n "checking whether ln -s works... " >&6; }
5138LN_S=$as_ln_s
5139if test "$LN_S" = "ln -s"; then
5140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5141$as_echo "yes" >&6; }
5142else
5143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5144$as_echo "no, using $LN_S" >&6; }
5145fi
5146
5147# find the maximum length of command line arguments
5148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5149$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5150if ${lt_cv_sys_max_cmd_len+:} false; then :
5151  $as_echo_n "(cached) " >&6
5152else
5153    i=0
5154  teststring="ABCD"
5155
5156  case $build_os in
5157  msdosdjgpp*)
5158    # On DJGPP, this test can blow up pretty badly due to problems in libc
5159    # (any single argument exceeding 2000 bytes causes a buffer overrun
5160    # during glob expansion).  Even if it were fixed, the result of this
5161    # check would be larger than it should be.
5162    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5163    ;;
5164
5165  gnu*)
5166    # Under GNU Hurd, this test is not required because there is
5167    # no limit to the length of command line arguments.
5168    # Libtool will interpret -1 as no limit whatsoever
5169    lt_cv_sys_max_cmd_len=-1;
5170    ;;
5171
5172  cygwin* | mingw* | cegcc*)
5173    # On Win9x/ME, this test blows up -- it succeeds, but takes
5174    # about 5 minutes as the teststring grows exponentially.
5175    # Worse, since 9x/ME are not pre-emptively multitasking,
5176    # you end up with a "frozen" computer, even though with patience
5177    # the test eventually succeeds (with a max line length of 256k).
5178    # Instead, let's just punt: use the minimum linelength reported by
5179    # all of the supported platforms: 8192 (on NT/2K/XP).
5180    lt_cv_sys_max_cmd_len=8192;
5181    ;;
5182
5183  mint*)
5184    # On MiNT this can take a long time and run out of memory.
5185    lt_cv_sys_max_cmd_len=8192;
5186    ;;
5187
5188  amigaos*)
5189    # On AmigaOS with pdksh, this test takes hours, literally.
5190    # So we just punt and use a minimum line length of 8192.
5191    lt_cv_sys_max_cmd_len=8192;
5192    ;;
5193
5194  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5195    # This has been around since 386BSD, at least.  Likely further.
5196    if test -x /sbin/sysctl; then
5197      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5198    elif test -x /usr/sbin/sysctl; then
5199      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5200    else
5201      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5202    fi
5203    # And add a safety zone
5204    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5205    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5206    ;;
5207
5208  interix*)
5209    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5210    lt_cv_sys_max_cmd_len=196608
5211    ;;
5212
5213  os2*)
5214    # The test takes a long time on OS/2.
5215    lt_cv_sys_max_cmd_len=8192
5216    ;;
5217
5218  osf*)
5219    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5220    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5221    # nice to cause kernel panics so lets avoid the loop below.
5222    # First set a reasonable default.
5223    lt_cv_sys_max_cmd_len=16384
5224    #
5225    if test -x /sbin/sysconfig; then
5226      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5227        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5228      esac
5229    fi
5230    ;;
5231  sco3.2v5*)
5232    lt_cv_sys_max_cmd_len=102400
5233    ;;
5234  sysv5* | sco5v6* | sysv4.2uw2*)
5235    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5236    if test -n "$kargmax"; then
5237      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5238    else
5239      lt_cv_sys_max_cmd_len=32768
5240    fi
5241    ;;
5242  *)
5243    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5244    if test -n "$lt_cv_sys_max_cmd_len" && \
5245	test undefined != "$lt_cv_sys_max_cmd_len"; then
5246      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5247      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5248    else
5249      # Make teststring a little bigger before we do anything with it.
5250      # a 1K string should be a reasonable start.
5251      for i in 1 2 3 4 5 6 7 8 ; do
5252        teststring=$teststring$teststring
5253      done
5254      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5255      # If test is not a shell built-in, we'll probably end up computing a
5256      # maximum length that is only half of the actual maximum length, but
5257      # we can't tell.
5258      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5259	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5260	      test $i != 17 # 1/2 MB should be enough
5261      do
5262        i=`expr $i + 1`
5263        teststring=$teststring$teststring
5264      done
5265      # Only check the string length outside the loop.
5266      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5267      teststring=
5268      # Add a significant safety factor because C++ compilers can tack on
5269      # massive amounts of additional arguments before passing them to the
5270      # linker.  It appears as though 1/2 is a usable value.
5271      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5272    fi
5273    ;;
5274  esac
5275
5276fi
5277
5278if test -n $lt_cv_sys_max_cmd_len ; then
5279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5280$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5281else
5282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5283$as_echo "none" >&6; }
5284fi
5285max_cmd_len=$lt_cv_sys_max_cmd_len
5286
5287
5288
5289
5290
5291
5292: ${CP="cp -f"}
5293: ${MV="mv -f"}
5294: ${RM="rm -f"}
5295
5296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5297$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5298# Try some XSI features
5299xsi_shell=no
5300( _lt_dummy="a/b/c"
5301  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5302      = c,a/b,b/c, \
5303    && eval 'test $(( 1 + 1 )) -eq 2 \
5304    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5305  && xsi_shell=yes
5306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5307$as_echo "$xsi_shell" >&6; }
5308
5309
5310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5311$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5312lt_shell_append=no
5313( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5314    >/dev/null 2>&1 \
5315  && lt_shell_append=yes
5316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5317$as_echo "$lt_shell_append" >&6; }
5318
5319
5320if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5321  lt_unset=unset
5322else
5323  lt_unset=false
5324fi
5325
5326
5327
5328
5329
5330# test EBCDIC or ASCII
5331case `echo X|tr X '\101'` in
5332 A) # ASCII based system
5333    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5334  lt_SP2NL='tr \040 \012'
5335  lt_NL2SP='tr \015\012 \040\040'
5336  ;;
5337 *) # EBCDIC based system
5338  lt_SP2NL='tr \100 \n'
5339  lt_NL2SP='tr \r\n \100\100'
5340  ;;
5341esac
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5352$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5353if ${lt_cv_to_host_file_cmd+:} false; then :
5354  $as_echo_n "(cached) " >&6
5355else
5356  case $host in
5357  *-*-mingw* )
5358    case $build in
5359      *-*-mingw* ) # actually msys
5360        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5361        ;;
5362      *-*-cygwin* )
5363        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5364        ;;
5365      * ) # otherwise, assume *nix
5366        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5367        ;;
5368    esac
5369    ;;
5370  *-*-cygwin* )
5371    case $build in
5372      *-*-mingw* ) # actually msys
5373        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5374        ;;
5375      *-*-cygwin* )
5376        lt_cv_to_host_file_cmd=func_convert_file_noop
5377        ;;
5378      * ) # otherwise, assume *nix
5379        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5380        ;;
5381    esac
5382    ;;
5383  * ) # unhandled hosts (and "normal" native builds)
5384    lt_cv_to_host_file_cmd=func_convert_file_noop
5385    ;;
5386esac
5387
5388fi
5389
5390to_host_file_cmd=$lt_cv_to_host_file_cmd
5391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5392$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5393
5394
5395
5396
5397
5398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5399$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5400if ${lt_cv_to_tool_file_cmd+:} false; then :
5401  $as_echo_n "(cached) " >&6
5402else
5403  #assume ordinary cross tools, or native build.
5404lt_cv_to_tool_file_cmd=func_convert_file_noop
5405case $host in
5406  *-*-mingw* )
5407    case $build in
5408      *-*-mingw* ) # actually msys
5409        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5410        ;;
5411    esac
5412    ;;
5413esac
5414
5415fi
5416
5417to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5419$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5420
5421
5422
5423
5424
5425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5426$as_echo_n "checking for $LD option to reload object files... " >&6; }
5427if ${lt_cv_ld_reload_flag+:} false; then :
5428  $as_echo_n "(cached) " >&6
5429else
5430  lt_cv_ld_reload_flag='-r'
5431fi
5432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5433$as_echo "$lt_cv_ld_reload_flag" >&6; }
5434reload_flag=$lt_cv_ld_reload_flag
5435case $reload_flag in
5436"" | " "*) ;;
5437*) reload_flag=" $reload_flag" ;;
5438esac
5439reload_cmds='$LD$reload_flag -o $output$reload_objs'
5440case $host_os in
5441  cygwin* | mingw* | pw32* | cegcc*)
5442    if test "$GCC" != yes; then
5443      reload_cmds=false
5444    fi
5445    ;;
5446  darwin*)
5447    if test "$GCC" = yes; then
5448      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5449    else
5450      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5451    fi
5452    ;;
5453esac
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463if test -n "$ac_tool_prefix"; then
5464  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5465set dummy ${ac_tool_prefix}objdump; ac_word=$2
5466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5467$as_echo_n "checking for $ac_word... " >&6; }
5468if ${ac_cv_prog_OBJDUMP+:} false; then :
5469  $as_echo_n "(cached) " >&6
5470else
5471  if test -n "$OBJDUMP"; then
5472  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5473else
5474as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5475for as_dir in $PATH
5476do
5477  IFS=$as_save_IFS
5478  test -z "$as_dir" && as_dir=.
5479    for ac_exec_ext in '' $ac_executable_extensions; do
5480  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5481    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5482    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5483    break 2
5484  fi
5485done
5486  done
5487IFS=$as_save_IFS
5488
5489fi
5490fi
5491OBJDUMP=$ac_cv_prog_OBJDUMP
5492if test -n "$OBJDUMP"; then
5493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5494$as_echo "$OBJDUMP" >&6; }
5495else
5496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5497$as_echo "no" >&6; }
5498fi
5499
5500
5501fi
5502if test -z "$ac_cv_prog_OBJDUMP"; then
5503  ac_ct_OBJDUMP=$OBJDUMP
5504  # Extract the first word of "objdump", so it can be a program name with args.
5505set dummy objdump; ac_word=$2
5506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507$as_echo_n "checking for $ac_word... " >&6; }
5508if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5509  $as_echo_n "(cached) " >&6
5510else
5511  if test -n "$ac_ct_OBJDUMP"; then
5512  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5513else
5514as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5515for as_dir in $PATH
5516do
5517  IFS=$as_save_IFS
5518  test -z "$as_dir" && as_dir=.
5519    for ac_exec_ext in '' $ac_executable_extensions; do
5520  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5521    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5522    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5523    break 2
5524  fi
5525done
5526  done
5527IFS=$as_save_IFS
5528
5529fi
5530fi
5531ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5532if test -n "$ac_ct_OBJDUMP"; then
5533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5534$as_echo "$ac_ct_OBJDUMP" >&6; }
5535else
5536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537$as_echo "no" >&6; }
5538fi
5539
5540  if test "x$ac_ct_OBJDUMP" = x; then
5541    OBJDUMP="false"
5542  else
5543    case $cross_compiling:$ac_tool_warned in
5544yes:)
5545{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5546$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5547ac_tool_warned=yes ;;
5548esac
5549    OBJDUMP=$ac_ct_OBJDUMP
5550  fi
5551else
5552  OBJDUMP="$ac_cv_prog_OBJDUMP"
5553fi
5554
5555test -z "$OBJDUMP" && OBJDUMP=objdump
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5566$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5567if ${lt_cv_deplibs_check_method+:} false; then :
5568  $as_echo_n "(cached) " >&6
5569else
5570  lt_cv_file_magic_cmd='$MAGIC_CMD'
5571lt_cv_file_magic_test_file=
5572lt_cv_deplibs_check_method='unknown'
5573# Need to set the preceding variable on all platforms that support
5574# interlibrary dependencies.
5575# 'none' -- dependencies not supported.
5576# `unknown' -- same as none, but documents that we really don't know.
5577# 'pass_all' -- all dependencies passed with no checks.
5578# 'test_compile' -- check by making test program.
5579# 'file_magic [[regex]]' -- check by looking for files in library path
5580# which responds to the $file_magic_cmd with a given extended regex.
5581# If you have `file' or equivalent on your system and you're not sure
5582# whether `pass_all' will *always* work, you probably want this one.
5583
5584case $host_os in
5585aix[4-9]*)
5586  lt_cv_deplibs_check_method=pass_all
5587  ;;
5588
5589beos*)
5590  lt_cv_deplibs_check_method=pass_all
5591  ;;
5592
5593bsdi[45]*)
5594  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5595  lt_cv_file_magic_cmd='/usr/bin/file -L'
5596  lt_cv_file_magic_test_file=/shlib/libc.so
5597  ;;
5598
5599cygwin*)
5600  # func_win32_libid is a shell function defined in ltmain.sh
5601  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5602  lt_cv_file_magic_cmd='func_win32_libid'
5603  ;;
5604
5605mingw* | pw32*)
5606  # Base MSYS/MinGW do not provide the 'file' command needed by
5607  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5608  # unless we find 'file', for example because we are cross-compiling.
5609  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5610  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5611    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5612    lt_cv_file_magic_cmd='func_win32_libid'
5613  else
5614    # Keep this pattern in sync with the one in func_win32_libid.
5615    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5616    lt_cv_file_magic_cmd='$OBJDUMP -f'
5617  fi
5618  ;;
5619
5620cegcc*)
5621  # use the weaker test based on 'objdump'. See mingw*.
5622  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5623  lt_cv_file_magic_cmd='$OBJDUMP -f'
5624  ;;
5625
5626darwin* | rhapsody*)
5627  lt_cv_deplibs_check_method=pass_all
5628  ;;
5629
5630freebsd* | dragonfly*)
5631  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5632    case $host_cpu in
5633    i*86 )
5634      # Not sure whether the presence of OpenBSD here was a mistake.
5635      # Let's accept both of them until this is cleared up.
5636      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5637      lt_cv_file_magic_cmd=/usr/bin/file
5638      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5639      ;;
5640    esac
5641  else
5642    lt_cv_deplibs_check_method=pass_all
5643  fi
5644  ;;
5645
5646haiku*)
5647  lt_cv_deplibs_check_method=pass_all
5648  ;;
5649
5650hpux10.20* | hpux11*)
5651  lt_cv_file_magic_cmd=/usr/bin/file
5652  case $host_cpu in
5653  ia64*)
5654    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5655    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5656    ;;
5657  hppa*64*)
5658    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]'
5659    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5660    ;;
5661  *)
5662    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5663    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5664    ;;
5665  esac
5666  ;;
5667
5668interix[3-9]*)
5669  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5670  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5671  ;;
5672
5673irix5* | irix6* | nonstopux*)
5674  case $LD in
5675  *-32|*"-32 ") libmagic=32-bit;;
5676  *-n32|*"-n32 ") libmagic=N32;;
5677  *-64|*"-64 ") libmagic=64-bit;;
5678  *) libmagic=never-match;;
5679  esac
5680  lt_cv_deplibs_check_method=pass_all
5681  ;;
5682
5683# This must be glibc/ELF.
5684linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5685  lt_cv_deplibs_check_method=pass_all
5686  ;;
5687
5688netbsd* | netbsdelf*-gnu)
5689  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5690    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5691  else
5692    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5693  fi
5694  ;;
5695
5696newos6*)
5697  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5698  lt_cv_file_magic_cmd=/usr/bin/file
5699  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5700  ;;
5701
5702*nto* | *qnx*)
5703  lt_cv_deplibs_check_method=pass_all
5704  ;;
5705
5706openbsd*)
5707  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5708    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5709  else
5710    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5711  fi
5712  ;;
5713
5714osf3* | osf4* | osf5*)
5715  lt_cv_deplibs_check_method=pass_all
5716  ;;
5717
5718rdos*)
5719  lt_cv_deplibs_check_method=pass_all
5720  ;;
5721
5722solaris*)
5723  lt_cv_deplibs_check_method=pass_all
5724  ;;
5725
5726sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5727  lt_cv_deplibs_check_method=pass_all
5728  ;;
5729
5730sysv4 | sysv4.3*)
5731  case $host_vendor in
5732  motorola)
5733    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]'
5734    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5735    ;;
5736  ncr)
5737    lt_cv_deplibs_check_method=pass_all
5738    ;;
5739  sequent)
5740    lt_cv_file_magic_cmd='/bin/file'
5741    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5742    ;;
5743  sni)
5744    lt_cv_file_magic_cmd='/bin/file'
5745    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5746    lt_cv_file_magic_test_file=/lib/libc.so
5747    ;;
5748  siemens)
5749    lt_cv_deplibs_check_method=pass_all
5750    ;;
5751  pc)
5752    lt_cv_deplibs_check_method=pass_all
5753    ;;
5754  esac
5755  ;;
5756
5757tpf*)
5758  lt_cv_deplibs_check_method=pass_all
5759  ;;
5760esac
5761
5762fi
5763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5764$as_echo "$lt_cv_deplibs_check_method" >&6; }
5765
5766file_magic_glob=
5767want_nocaseglob=no
5768if test "$build" = "$host"; then
5769  case $host_os in
5770  mingw* | pw32*)
5771    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5772      want_nocaseglob=yes
5773    else
5774      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5775    fi
5776    ;;
5777  esac
5778fi
5779
5780file_magic_cmd=$lt_cv_file_magic_cmd
5781deplibs_check_method=$lt_cv_deplibs_check_method
5782test -z "$deplibs_check_method" && deplibs_check_method=unknown
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805if test -n "$ac_tool_prefix"; then
5806  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5807set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809$as_echo_n "checking for $ac_word... " >&6; }
5810if ${ac_cv_prog_DLLTOOL+:} false; then :
5811  $as_echo_n "(cached) " >&6
5812else
5813  if test -n "$DLLTOOL"; then
5814  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5815else
5816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817for as_dir in $PATH
5818do
5819  IFS=$as_save_IFS
5820  test -z "$as_dir" && as_dir=.
5821    for ac_exec_ext in '' $ac_executable_extensions; do
5822  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5824    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825    break 2
5826  fi
5827done
5828  done
5829IFS=$as_save_IFS
5830
5831fi
5832fi
5833DLLTOOL=$ac_cv_prog_DLLTOOL
5834if test -n "$DLLTOOL"; then
5835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5836$as_echo "$DLLTOOL" >&6; }
5837else
5838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839$as_echo "no" >&6; }
5840fi
5841
5842
5843fi
5844if test -z "$ac_cv_prog_DLLTOOL"; then
5845  ac_ct_DLLTOOL=$DLLTOOL
5846  # Extract the first word of "dlltool", so it can be a program name with args.
5847set dummy dlltool; ac_word=$2
5848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849$as_echo_n "checking for $ac_word... " >&6; }
5850if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5851  $as_echo_n "(cached) " >&6
5852else
5853  if test -n "$ac_ct_DLLTOOL"; then
5854  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5855else
5856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857for as_dir in $PATH
5858do
5859  IFS=$as_save_IFS
5860  test -z "$as_dir" && as_dir=.
5861    for ac_exec_ext in '' $ac_executable_extensions; do
5862  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5863    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5864    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865    break 2
5866  fi
5867done
5868  done
5869IFS=$as_save_IFS
5870
5871fi
5872fi
5873ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5874if test -n "$ac_ct_DLLTOOL"; then
5875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5876$as_echo "$ac_ct_DLLTOOL" >&6; }
5877else
5878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879$as_echo "no" >&6; }
5880fi
5881
5882  if test "x$ac_ct_DLLTOOL" = x; then
5883    DLLTOOL="false"
5884  else
5885    case $cross_compiling:$ac_tool_warned in
5886yes:)
5887{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5888$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5889ac_tool_warned=yes ;;
5890esac
5891    DLLTOOL=$ac_ct_DLLTOOL
5892  fi
5893else
5894  DLLTOOL="$ac_cv_prog_DLLTOOL"
5895fi
5896
5897test -z "$DLLTOOL" && DLLTOOL=dlltool
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5909$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5910if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5911  $as_echo_n "(cached) " >&6
5912else
5913  lt_cv_sharedlib_from_linklib_cmd='unknown'
5914
5915case $host_os in
5916cygwin* | mingw* | pw32* | cegcc*)
5917  # two different shell functions defined in ltmain.sh
5918  # decide which to use based on capabilities of $DLLTOOL
5919  case `$DLLTOOL --help 2>&1` in
5920  *--identify-strict*)
5921    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5922    ;;
5923  *)
5924    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5925    ;;
5926  esac
5927  ;;
5928*)
5929  # fallback: assume linklib IS sharedlib
5930  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5931  ;;
5932esac
5933
5934fi
5935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5936$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5937sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5938test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5939
5940
5941
5942
5943
5944
5945
5946
5947if test -n "$ac_tool_prefix"; then
5948  for ac_prog in ar
5949  do
5950    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5951set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953$as_echo_n "checking for $ac_word... " >&6; }
5954if ${ac_cv_prog_AR+:} false; then :
5955  $as_echo_n "(cached) " >&6
5956else
5957  if test -n "$AR"; then
5958  ac_cv_prog_AR="$AR" # Let the user override the test.
5959else
5960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961for as_dir in $PATH
5962do
5963  IFS=$as_save_IFS
5964  test -z "$as_dir" && as_dir=.
5965    for ac_exec_ext in '' $ac_executable_extensions; do
5966  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5967    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5968    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969    break 2
5970  fi
5971done
5972  done
5973IFS=$as_save_IFS
5974
5975fi
5976fi
5977AR=$ac_cv_prog_AR
5978if test -n "$AR"; then
5979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5980$as_echo "$AR" >&6; }
5981else
5982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983$as_echo "no" >&6; }
5984fi
5985
5986
5987    test -n "$AR" && break
5988  done
5989fi
5990if test -z "$AR"; then
5991  ac_ct_AR=$AR
5992  for ac_prog in ar
5993do
5994  # Extract the first word of "$ac_prog", so it can be a program name with args.
5995set dummy $ac_prog; ac_word=$2
5996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997$as_echo_n "checking for $ac_word... " >&6; }
5998if ${ac_cv_prog_ac_ct_AR+:} false; then :
5999  $as_echo_n "(cached) " >&6
6000else
6001  if test -n "$ac_ct_AR"; then
6002  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6003else
6004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005for as_dir in $PATH
6006do
6007  IFS=$as_save_IFS
6008  test -z "$as_dir" && as_dir=.
6009    for ac_exec_ext in '' $ac_executable_extensions; do
6010  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6011    ac_cv_prog_ac_ct_AR="$ac_prog"
6012    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6013    break 2
6014  fi
6015done
6016  done
6017IFS=$as_save_IFS
6018
6019fi
6020fi
6021ac_ct_AR=$ac_cv_prog_ac_ct_AR
6022if test -n "$ac_ct_AR"; then
6023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6024$as_echo "$ac_ct_AR" >&6; }
6025else
6026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6027$as_echo "no" >&6; }
6028fi
6029
6030
6031  test -n "$ac_ct_AR" && break
6032done
6033
6034  if test "x$ac_ct_AR" = x; then
6035    AR="false"
6036  else
6037    case $cross_compiling:$ac_tool_warned in
6038yes:)
6039{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6040$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6041ac_tool_warned=yes ;;
6042esac
6043    AR=$ac_ct_AR
6044  fi
6045fi
6046
6047: ${AR=ar}
6048: ${AR_FLAGS=cru}
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6061$as_echo_n "checking for archiver @FILE support... " >&6; }
6062if ${lt_cv_ar_at_file+:} false; then :
6063  $as_echo_n "(cached) " >&6
6064else
6065  lt_cv_ar_at_file=no
6066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6067/* end confdefs.h.  */
6068
6069int
6070main ()
6071{
6072
6073  ;
6074  return 0;
6075}
6076_ACEOF
6077if ac_fn_c_try_compile "$LINENO"; then :
6078  echo conftest.$ac_objext > conftest.lst
6079      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6080      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6081  (eval $lt_ar_try) 2>&5
6082  ac_status=$?
6083  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6084  test $ac_status = 0; }
6085      if test "$ac_status" -eq 0; then
6086	# Ensure the archiver fails upon bogus file names.
6087	rm -f conftest.$ac_objext libconftest.a
6088	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6089  (eval $lt_ar_try) 2>&5
6090  ac_status=$?
6091  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6092  test $ac_status = 0; }
6093	if test "$ac_status" -ne 0; then
6094          lt_cv_ar_at_file=@
6095        fi
6096      fi
6097      rm -f conftest.* libconftest.a
6098
6099fi
6100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6101
6102fi
6103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6104$as_echo "$lt_cv_ar_at_file" >&6; }
6105
6106if test "x$lt_cv_ar_at_file" = xno; then
6107  archiver_list_spec=
6108else
6109  archiver_list_spec=$lt_cv_ar_at_file
6110fi
6111
6112
6113
6114
6115
6116
6117
6118if test -n "$ac_tool_prefix"; then
6119  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6120set dummy ${ac_tool_prefix}strip; ac_word=$2
6121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122$as_echo_n "checking for $ac_word... " >&6; }
6123if ${ac_cv_prog_STRIP+:} false; then :
6124  $as_echo_n "(cached) " >&6
6125else
6126  if test -n "$STRIP"; then
6127  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6128else
6129as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130for as_dir in $PATH
6131do
6132  IFS=$as_save_IFS
6133  test -z "$as_dir" && as_dir=.
6134    for ac_exec_ext in '' $ac_executable_extensions; do
6135  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6136    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6137    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6138    break 2
6139  fi
6140done
6141  done
6142IFS=$as_save_IFS
6143
6144fi
6145fi
6146STRIP=$ac_cv_prog_STRIP
6147if test -n "$STRIP"; then
6148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6149$as_echo "$STRIP" >&6; }
6150else
6151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152$as_echo "no" >&6; }
6153fi
6154
6155
6156fi
6157if test -z "$ac_cv_prog_STRIP"; then
6158  ac_ct_STRIP=$STRIP
6159  # Extract the first word of "strip", so it can be a program name with args.
6160set dummy strip; ac_word=$2
6161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6162$as_echo_n "checking for $ac_word... " >&6; }
6163if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6164  $as_echo_n "(cached) " >&6
6165else
6166  if test -n "$ac_ct_STRIP"; then
6167  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6168else
6169as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170for as_dir in $PATH
6171do
6172  IFS=$as_save_IFS
6173  test -z "$as_dir" && as_dir=.
6174    for ac_exec_ext in '' $ac_executable_extensions; do
6175  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6176    ac_cv_prog_ac_ct_STRIP="strip"
6177    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6178    break 2
6179  fi
6180done
6181  done
6182IFS=$as_save_IFS
6183
6184fi
6185fi
6186ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6187if test -n "$ac_ct_STRIP"; then
6188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6189$as_echo "$ac_ct_STRIP" >&6; }
6190else
6191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6192$as_echo "no" >&6; }
6193fi
6194
6195  if test "x$ac_ct_STRIP" = x; then
6196    STRIP=":"
6197  else
6198    case $cross_compiling:$ac_tool_warned in
6199yes:)
6200{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6201$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6202ac_tool_warned=yes ;;
6203esac
6204    STRIP=$ac_ct_STRIP
6205  fi
6206else
6207  STRIP="$ac_cv_prog_STRIP"
6208fi
6209
6210test -z "$STRIP" && STRIP=:
6211
6212
6213
6214
6215
6216
6217if test -n "$ac_tool_prefix"; then
6218  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6219set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6221$as_echo_n "checking for $ac_word... " >&6; }
6222if ${ac_cv_prog_RANLIB+:} false; then :
6223  $as_echo_n "(cached) " >&6
6224else
6225  if test -n "$RANLIB"; then
6226  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6227else
6228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6229for as_dir in $PATH
6230do
6231  IFS=$as_save_IFS
6232  test -z "$as_dir" && as_dir=.
6233    for ac_exec_ext in '' $ac_executable_extensions; do
6234  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6235    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6236    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6237    break 2
6238  fi
6239done
6240  done
6241IFS=$as_save_IFS
6242
6243fi
6244fi
6245RANLIB=$ac_cv_prog_RANLIB
6246if test -n "$RANLIB"; then
6247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6248$as_echo "$RANLIB" >&6; }
6249else
6250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6251$as_echo "no" >&6; }
6252fi
6253
6254
6255fi
6256if test -z "$ac_cv_prog_RANLIB"; then
6257  ac_ct_RANLIB=$RANLIB
6258  # Extract the first word of "ranlib", so it can be a program name with args.
6259set dummy ranlib; ac_word=$2
6260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6261$as_echo_n "checking for $ac_word... " >&6; }
6262if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6263  $as_echo_n "(cached) " >&6
6264else
6265  if test -n "$ac_ct_RANLIB"; then
6266  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6267else
6268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269for as_dir in $PATH
6270do
6271  IFS=$as_save_IFS
6272  test -z "$as_dir" && as_dir=.
6273    for ac_exec_ext in '' $ac_executable_extensions; do
6274  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6275    ac_cv_prog_ac_ct_RANLIB="ranlib"
6276    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6277    break 2
6278  fi
6279done
6280  done
6281IFS=$as_save_IFS
6282
6283fi
6284fi
6285ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6286if test -n "$ac_ct_RANLIB"; then
6287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6288$as_echo "$ac_ct_RANLIB" >&6; }
6289else
6290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6291$as_echo "no" >&6; }
6292fi
6293
6294  if test "x$ac_ct_RANLIB" = x; then
6295    RANLIB=":"
6296  else
6297    case $cross_compiling:$ac_tool_warned in
6298yes:)
6299{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6300$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6301ac_tool_warned=yes ;;
6302esac
6303    RANLIB=$ac_ct_RANLIB
6304  fi
6305else
6306  RANLIB="$ac_cv_prog_RANLIB"
6307fi
6308
6309test -z "$RANLIB" && RANLIB=:
6310
6311
6312
6313
6314
6315
6316# Determine commands to create old-style static archives.
6317old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6318old_postinstall_cmds='chmod 644 $oldlib'
6319old_postuninstall_cmds=
6320
6321if test -n "$RANLIB"; then
6322  case $host_os in
6323  openbsd*)
6324    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6325    ;;
6326  *)
6327    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6328    ;;
6329  esac
6330  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6331fi
6332
6333case $host_os in
6334  darwin*)
6335    lock_old_archive_extraction=yes ;;
6336  *)
6337    lock_old_archive_extraction=no ;;
6338esac
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378# If no C compiler was specified, use CC.
6379LTCC=${LTCC-"$CC"}
6380
6381# If no C compiler flags were specified, use CFLAGS.
6382LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6383
6384# Allow CC to be a program name with arguments.
6385compiler=$CC
6386
6387
6388# Check for command to grab the raw symbol name followed by C symbol from nm.
6389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6390$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6391if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6392  $as_echo_n "(cached) " >&6
6393else
6394
6395# These are sane defaults that work on at least a few old systems.
6396# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6397
6398# Character class describing NM global symbol codes.
6399symcode='[BCDEGRST]'
6400
6401# Regexp to match symbols that can be accessed directly from C.
6402sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6403
6404# Define system-specific variables.
6405case $host_os in
6406aix*)
6407  symcode='[BCDT]'
6408  ;;
6409cygwin* | mingw* | pw32* | cegcc*)
6410  symcode='[ABCDGISTW]'
6411  ;;
6412hpux*)
6413  if test "$host_cpu" = ia64; then
6414    symcode='[ABCDEGRST]'
6415  fi
6416  ;;
6417irix* | nonstopux*)
6418  symcode='[BCDEGRST]'
6419  ;;
6420osf*)
6421  symcode='[BCDEGQRST]'
6422  ;;
6423solaris*)
6424  symcode='[BDRT]'
6425  ;;
6426sco3.2v5*)
6427  symcode='[DT]'
6428  ;;
6429sysv4.2uw2*)
6430  symcode='[DT]'
6431  ;;
6432sysv5* | sco5v6* | unixware* | OpenUNIX*)
6433  symcode='[ABDT]'
6434  ;;
6435sysv4)
6436  symcode='[DFNSTU]'
6437  ;;
6438esac
6439
6440# If we're using GNU nm, then use its standard symbol codes.
6441case `$NM -V 2>&1` in
6442*GNU* | *'with BFD'*)
6443  symcode='[ABCDGIRSTW]' ;;
6444esac
6445
6446# Transform an extracted symbol line into a proper C declaration.
6447# Some systems (esp. on ia64) link data and code symbols differently,
6448# so use this general approach.
6449lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6450
6451# Transform an extracted symbol line into symbol name and symbol address
6452lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6453lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6454
6455# Handle CRLF in mingw tool chain
6456opt_cr=
6457case $build_os in
6458mingw*)
6459  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6460  ;;
6461esac
6462
6463# Try without a prefix underscore, then with it.
6464for ac_symprfx in "" "_"; do
6465
6466  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6467  symxfrm="\\1 $ac_symprfx\\2 \\2"
6468
6469  # Write the raw and C identifiers.
6470  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6471    # Fake it for dumpbin and say T for any non-static function
6472    # and D for any global variable.
6473    # Also find C++ and __fastcall symbols from MSVC++,
6474    # which start with @ or ?.
6475    lt_cv_sys_global_symbol_pipe="$AWK '"\
6476"     {last_section=section; section=\$ 3};"\
6477"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6478"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6479"     \$ 0!~/External *\|/{next};"\
6480"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6481"     {if(hide[section]) next};"\
6482"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6483"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6484"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6485"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6486"     ' prfx=^$ac_symprfx"
6487  else
6488    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6489  fi
6490  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6491
6492  # Check to see that the pipe works correctly.
6493  pipe_works=no
6494
6495  rm -f conftest*
6496  cat > conftest.$ac_ext <<_LT_EOF
6497#ifdef __cplusplus
6498extern "C" {
6499#endif
6500char nm_test_var;
6501void nm_test_func(void);
6502void nm_test_func(void){}
6503#ifdef __cplusplus
6504}
6505#endif
6506int main(){nm_test_var='a';nm_test_func();return(0);}
6507_LT_EOF
6508
6509  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6510  (eval $ac_compile) 2>&5
6511  ac_status=$?
6512  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6513  test $ac_status = 0; }; then
6514    # Now try to grab the symbols.
6515    nlist=conftest.nm
6516    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6517  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6518  ac_status=$?
6519  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6520  test $ac_status = 0; } && test -s "$nlist"; then
6521      # Try sorting and uniquifying the output.
6522      if sort "$nlist" | uniq > "$nlist"T; then
6523	mv -f "$nlist"T "$nlist"
6524      else
6525	rm -f "$nlist"T
6526      fi
6527
6528      # Make sure that we snagged all the symbols we need.
6529      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6530	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6531	  cat <<_LT_EOF > conftest.$ac_ext
6532/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6533#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6534/* DATA imports from DLLs on WIN32 con't be const, because runtime
6535   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6536# define LT_DLSYM_CONST
6537#elif defined(__osf__)
6538/* This system does not cope well with relocations in const data.  */
6539# define LT_DLSYM_CONST
6540#else
6541# define LT_DLSYM_CONST const
6542#endif
6543
6544#ifdef __cplusplus
6545extern "C" {
6546#endif
6547
6548_LT_EOF
6549	  # Now generate the symbol file.
6550	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6551
6552	  cat <<_LT_EOF >> conftest.$ac_ext
6553
6554/* The mapping between symbol names and symbols.  */
6555LT_DLSYM_CONST struct {
6556  const char *name;
6557  void       *address;
6558}
6559lt__PROGRAM__LTX_preloaded_symbols[] =
6560{
6561  { "@PROGRAM@", (void *) 0 },
6562_LT_EOF
6563	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6564	  cat <<\_LT_EOF >> conftest.$ac_ext
6565  {0, (void *) 0}
6566};
6567
6568/* This works around a problem in FreeBSD linker */
6569#ifdef FREEBSD_WORKAROUND
6570static const void *lt_preloaded_setup() {
6571  return lt__PROGRAM__LTX_preloaded_symbols;
6572}
6573#endif
6574
6575#ifdef __cplusplus
6576}
6577#endif
6578_LT_EOF
6579	  # Now try linking the two files.
6580	  mv conftest.$ac_objext conftstm.$ac_objext
6581	  lt_globsym_save_LIBS=$LIBS
6582	  lt_globsym_save_CFLAGS=$CFLAGS
6583	  LIBS="conftstm.$ac_objext"
6584	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6585	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6586  (eval $ac_link) 2>&5
6587  ac_status=$?
6588  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6589  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6590	    pipe_works=yes
6591	  fi
6592	  LIBS=$lt_globsym_save_LIBS
6593	  CFLAGS=$lt_globsym_save_CFLAGS
6594	else
6595	  echo "cannot find nm_test_func in $nlist" >&5
6596	fi
6597      else
6598	echo "cannot find nm_test_var in $nlist" >&5
6599      fi
6600    else
6601      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6602    fi
6603  else
6604    echo "$progname: failed program was:" >&5
6605    cat conftest.$ac_ext >&5
6606  fi
6607  rm -rf conftest* conftst*
6608
6609  # Do not use the global_symbol_pipe unless it works.
6610  if test "$pipe_works" = yes; then
6611    break
6612  else
6613    lt_cv_sys_global_symbol_pipe=
6614  fi
6615done
6616
6617fi
6618
6619if test -z "$lt_cv_sys_global_symbol_pipe"; then
6620  lt_cv_sys_global_symbol_to_cdecl=
6621fi
6622if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6624$as_echo "failed" >&6; }
6625else
6626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6627$as_echo "ok" >&6; }
6628fi
6629
6630# Response file support.
6631if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6632  nm_file_list_spec='@'
6633elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6634  nm_file_list_spec='@'
6635fi
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6664$as_echo_n "checking for sysroot... " >&6; }
6665
6666# Check whether --with-sysroot was given.
6667if test "${with_sysroot+set}" = set; then :
6668  withval=$with_sysroot;
6669else
6670  with_sysroot=no
6671fi
6672
6673
6674lt_sysroot=
6675case ${with_sysroot} in #(
6676 yes)
6677   if test "$GCC" = yes; then
6678     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6679   fi
6680   ;; #(
6681 /*)
6682   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6683   ;; #(
6684 no|'')
6685   ;; #(
6686 *)
6687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6688$as_echo "${with_sysroot}" >&6; }
6689   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6690   ;;
6691esac
6692
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6694$as_echo "${lt_sysroot:-no}" >&6; }
6695
6696
6697
6698
6699
6700# Check whether --enable-libtool-lock was given.
6701if test "${enable_libtool_lock+set}" = set; then :
6702  enableval=$enable_libtool_lock;
6703fi
6704
6705test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6706
6707# Some flags need to be propagated to the compiler or linker for good
6708# libtool support.
6709case $host in
6710ia64-*-hpux*)
6711  # Find out which ABI we are using.
6712  echo 'int i;' > conftest.$ac_ext
6713  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6714  (eval $ac_compile) 2>&5
6715  ac_status=$?
6716  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6717  test $ac_status = 0; }; then
6718    case `/usr/bin/file conftest.$ac_objext` in
6719      *ELF-32*)
6720	HPUX_IA64_MODE="32"
6721	;;
6722      *ELF-64*)
6723	HPUX_IA64_MODE="64"
6724	;;
6725    esac
6726  fi
6727  rm -rf conftest*
6728  ;;
6729*-*-irix6*)
6730  # Find out which ABI we are using.
6731  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6732  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6733  (eval $ac_compile) 2>&5
6734  ac_status=$?
6735  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6736  test $ac_status = 0; }; then
6737    if test "$lt_cv_prog_gnu_ld" = yes; then
6738      case `/usr/bin/file conftest.$ac_objext` in
6739	*32-bit*)
6740	  LD="${LD-ld} -melf32bsmip"
6741	  ;;
6742	*N32*)
6743	  LD="${LD-ld} -melf32bmipn32"
6744	  ;;
6745	*64-bit*)
6746	  LD="${LD-ld} -melf64bmip"
6747	;;
6748      esac
6749    else
6750      case `/usr/bin/file conftest.$ac_objext` in
6751	*32-bit*)
6752	  LD="${LD-ld} -32"
6753	  ;;
6754	*N32*)
6755	  LD="${LD-ld} -n32"
6756	  ;;
6757	*64-bit*)
6758	  LD="${LD-ld} -64"
6759	  ;;
6760      esac
6761    fi
6762  fi
6763  rm -rf conftest*
6764  ;;
6765
6766x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6767s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6768  # Find out which ABI we are using.
6769  echo 'int i;' > conftest.$ac_ext
6770  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6771  (eval $ac_compile) 2>&5
6772  ac_status=$?
6773  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6774  test $ac_status = 0; }; then
6775    case `/usr/bin/file conftest.o` in
6776      *32-bit*)
6777	case $host in
6778	  x86_64-*kfreebsd*-gnu)
6779	    LD="${LD-ld} -m elf_i386_fbsd"
6780	    ;;
6781	  x86_64-*linux*)
6782	    case `/usr/bin/file conftest.o` in
6783	      *x86-64*)
6784		LD="${LD-ld} -m elf32_x86_64"
6785		;;
6786	      *)
6787		LD="${LD-ld} -m elf_i386"
6788		;;
6789	    esac
6790	    ;;
6791	  ppc64-*linux*|powerpc64-*linux*)
6792	    LD="${LD-ld} -m elf32ppclinux"
6793	    ;;
6794	  s390x-*linux*)
6795	    LD="${LD-ld} -m elf_s390"
6796	    ;;
6797	  sparc64-*linux*)
6798	    LD="${LD-ld} -m elf32_sparc"
6799	    ;;
6800	esac
6801	;;
6802      *64-bit*)
6803	case $host in
6804	  x86_64-*kfreebsd*-gnu)
6805	    LD="${LD-ld} -m elf_x86_64_fbsd"
6806	    ;;
6807	  x86_64-*linux*)
6808	    LD="${LD-ld} -m elf_x86_64"
6809	    ;;
6810	  ppc*-*linux*|powerpc*-*linux*)
6811	    LD="${LD-ld} -m elf64ppc"
6812	    ;;
6813	  s390*-*linux*|s390*-*tpf*)
6814	    LD="${LD-ld} -m elf64_s390"
6815	    ;;
6816	  sparc*-*linux*)
6817	    LD="${LD-ld} -m elf64_sparc"
6818	    ;;
6819	esac
6820	;;
6821    esac
6822  fi
6823  rm -rf conftest*
6824  ;;
6825
6826*-*-sco3.2v5*)
6827  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6828  SAVE_CFLAGS="$CFLAGS"
6829  CFLAGS="$CFLAGS -belf"
6830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6831$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6832if ${lt_cv_cc_needs_belf+:} false; then :
6833  $as_echo_n "(cached) " >&6
6834else
6835  ac_ext=c
6836ac_cpp='$CPP $CPPFLAGS'
6837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6839ac_compiler_gnu=$ac_cv_c_compiler_gnu
6840
6841     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842/* end confdefs.h.  */
6843
6844int
6845main ()
6846{
6847
6848  ;
6849  return 0;
6850}
6851_ACEOF
6852if ac_fn_c_try_link "$LINENO"; then :
6853  lt_cv_cc_needs_belf=yes
6854else
6855  lt_cv_cc_needs_belf=no
6856fi
6857rm -f core conftest.err conftest.$ac_objext \
6858    conftest$ac_exeext conftest.$ac_ext
6859     ac_ext=c
6860ac_cpp='$CPP $CPPFLAGS'
6861ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6862ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6863ac_compiler_gnu=$ac_cv_c_compiler_gnu
6864
6865fi
6866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6867$as_echo "$lt_cv_cc_needs_belf" >&6; }
6868  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6869    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6870    CFLAGS="$SAVE_CFLAGS"
6871  fi
6872  ;;
6873*-*solaris*)
6874  # Find out which ABI we are using.
6875  echo 'int i;' > conftest.$ac_ext
6876  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6877  (eval $ac_compile) 2>&5
6878  ac_status=$?
6879  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6880  test $ac_status = 0; }; then
6881    case `/usr/bin/file conftest.o` in
6882    *64-bit*)
6883      case $lt_cv_prog_gnu_ld in
6884      yes*)
6885        case $host in
6886        i?86-*-solaris*)
6887          LD="${LD-ld} -m elf_x86_64"
6888          ;;
6889        sparc*-*-solaris*)
6890          LD="${LD-ld} -m elf64_sparc"
6891          ;;
6892        esac
6893        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6894        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6895          LD="${LD-ld}_sol2"
6896        fi
6897        ;;
6898      *)
6899	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6900	  LD="${LD-ld} -64"
6901	fi
6902	;;
6903      esac
6904      ;;
6905    esac
6906  fi
6907  rm -rf conftest*
6908  ;;
6909esac
6910
6911need_locks="$enable_libtool_lock"
6912
6913if test -n "$ac_tool_prefix"; then
6914  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6915set dummy ${ac_tool_prefix}mt; ac_word=$2
6916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6917$as_echo_n "checking for $ac_word... " >&6; }
6918if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6919  $as_echo_n "(cached) " >&6
6920else
6921  if test -n "$MANIFEST_TOOL"; then
6922  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6923else
6924as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6925for as_dir in $PATH
6926do
6927  IFS=$as_save_IFS
6928  test -z "$as_dir" && as_dir=.
6929    for ac_exec_ext in '' $ac_executable_extensions; do
6930  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6931    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6932    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6933    break 2
6934  fi
6935done
6936  done
6937IFS=$as_save_IFS
6938
6939fi
6940fi
6941MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6942if test -n "$MANIFEST_TOOL"; then
6943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6944$as_echo "$MANIFEST_TOOL" >&6; }
6945else
6946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6947$as_echo "no" >&6; }
6948fi
6949
6950
6951fi
6952if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6953  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6954  # Extract the first word of "mt", so it can be a program name with args.
6955set dummy mt; ac_word=$2
6956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6957$as_echo_n "checking for $ac_word... " >&6; }
6958if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6959  $as_echo_n "(cached) " >&6
6960else
6961  if test -n "$ac_ct_MANIFEST_TOOL"; then
6962  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6963else
6964as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6965for as_dir in $PATH
6966do
6967  IFS=$as_save_IFS
6968  test -z "$as_dir" && as_dir=.
6969    for ac_exec_ext in '' $ac_executable_extensions; do
6970  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6971    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6972    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6973    break 2
6974  fi
6975done
6976  done
6977IFS=$as_save_IFS
6978
6979fi
6980fi
6981ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6982if test -n "$ac_ct_MANIFEST_TOOL"; then
6983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6984$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6985else
6986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6987$as_echo "no" >&6; }
6988fi
6989
6990  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6991    MANIFEST_TOOL=":"
6992  else
6993    case $cross_compiling:$ac_tool_warned in
6994yes:)
6995{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6996$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6997ac_tool_warned=yes ;;
6998esac
6999    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7000  fi
7001else
7002  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7003fi
7004
7005test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7007$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7008if ${lt_cv_path_mainfest_tool+:} false; then :
7009  $as_echo_n "(cached) " >&6
7010else
7011  lt_cv_path_mainfest_tool=no
7012  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7013  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7014  cat conftest.err >&5
7015  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7016    lt_cv_path_mainfest_tool=yes
7017  fi
7018  rm -f conftest*
7019fi
7020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7021$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7022if test "x$lt_cv_path_mainfest_tool" != xyes; then
7023  MANIFEST_TOOL=:
7024fi
7025
7026
7027
7028
7029
7030
7031  case $host_os in
7032    rhapsody* | darwin*)
7033    if test -n "$ac_tool_prefix"; then
7034  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7035set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7037$as_echo_n "checking for $ac_word... " >&6; }
7038if ${ac_cv_prog_DSYMUTIL+:} false; then :
7039  $as_echo_n "(cached) " >&6
7040else
7041  if test -n "$DSYMUTIL"; then
7042  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7043else
7044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7045for as_dir in $PATH
7046do
7047  IFS=$as_save_IFS
7048  test -z "$as_dir" && as_dir=.
7049    for ac_exec_ext in '' $ac_executable_extensions; do
7050  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7051    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7052    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7053    break 2
7054  fi
7055done
7056  done
7057IFS=$as_save_IFS
7058
7059fi
7060fi
7061DSYMUTIL=$ac_cv_prog_DSYMUTIL
7062if test -n "$DSYMUTIL"; then
7063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7064$as_echo "$DSYMUTIL" >&6; }
7065else
7066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7067$as_echo "no" >&6; }
7068fi
7069
7070
7071fi
7072if test -z "$ac_cv_prog_DSYMUTIL"; then
7073  ac_ct_DSYMUTIL=$DSYMUTIL
7074  # Extract the first word of "dsymutil", so it can be a program name with args.
7075set dummy dsymutil; ac_word=$2
7076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7077$as_echo_n "checking for $ac_word... " >&6; }
7078if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7079  $as_echo_n "(cached) " >&6
7080else
7081  if test -n "$ac_ct_DSYMUTIL"; then
7082  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7083else
7084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7085for as_dir in $PATH
7086do
7087  IFS=$as_save_IFS
7088  test -z "$as_dir" && as_dir=.
7089    for ac_exec_ext in '' $ac_executable_extensions; do
7090  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7091    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7092    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7093    break 2
7094  fi
7095done
7096  done
7097IFS=$as_save_IFS
7098
7099fi
7100fi
7101ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7102if test -n "$ac_ct_DSYMUTIL"; then
7103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7104$as_echo "$ac_ct_DSYMUTIL" >&6; }
7105else
7106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7107$as_echo "no" >&6; }
7108fi
7109
7110  if test "x$ac_ct_DSYMUTIL" = x; then
7111    DSYMUTIL=":"
7112  else
7113    case $cross_compiling:$ac_tool_warned in
7114yes:)
7115{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7116$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7117ac_tool_warned=yes ;;
7118esac
7119    DSYMUTIL=$ac_ct_DSYMUTIL
7120  fi
7121else
7122  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7123fi
7124
7125    if test -n "$ac_tool_prefix"; then
7126  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7127set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129$as_echo_n "checking for $ac_word... " >&6; }
7130if ${ac_cv_prog_NMEDIT+:} false; then :
7131  $as_echo_n "(cached) " >&6
7132else
7133  if test -n "$NMEDIT"; then
7134  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7135else
7136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137for as_dir in $PATH
7138do
7139  IFS=$as_save_IFS
7140  test -z "$as_dir" && as_dir=.
7141    for ac_exec_ext in '' $ac_executable_extensions; do
7142  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7143    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7144    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145    break 2
7146  fi
7147done
7148  done
7149IFS=$as_save_IFS
7150
7151fi
7152fi
7153NMEDIT=$ac_cv_prog_NMEDIT
7154if test -n "$NMEDIT"; then
7155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7156$as_echo "$NMEDIT" >&6; }
7157else
7158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159$as_echo "no" >&6; }
7160fi
7161
7162
7163fi
7164if test -z "$ac_cv_prog_NMEDIT"; then
7165  ac_ct_NMEDIT=$NMEDIT
7166  # Extract the first word of "nmedit", so it can be a program name with args.
7167set dummy nmedit; ac_word=$2
7168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7169$as_echo_n "checking for $ac_word... " >&6; }
7170if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7171  $as_echo_n "(cached) " >&6
7172else
7173  if test -n "$ac_ct_NMEDIT"; then
7174  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7175else
7176as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7177for as_dir in $PATH
7178do
7179  IFS=$as_save_IFS
7180  test -z "$as_dir" && as_dir=.
7181    for ac_exec_ext in '' $ac_executable_extensions; do
7182  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7183    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7184    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7185    break 2
7186  fi
7187done
7188  done
7189IFS=$as_save_IFS
7190
7191fi
7192fi
7193ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7194if test -n "$ac_ct_NMEDIT"; then
7195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7196$as_echo "$ac_ct_NMEDIT" >&6; }
7197else
7198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199$as_echo "no" >&6; }
7200fi
7201
7202  if test "x$ac_ct_NMEDIT" = x; then
7203    NMEDIT=":"
7204  else
7205    case $cross_compiling:$ac_tool_warned in
7206yes:)
7207{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7208$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7209ac_tool_warned=yes ;;
7210esac
7211    NMEDIT=$ac_ct_NMEDIT
7212  fi
7213else
7214  NMEDIT="$ac_cv_prog_NMEDIT"
7215fi
7216
7217    if test -n "$ac_tool_prefix"; then
7218  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7219set dummy ${ac_tool_prefix}lipo; ac_word=$2
7220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7221$as_echo_n "checking for $ac_word... " >&6; }
7222if ${ac_cv_prog_LIPO+:} false; then :
7223  $as_echo_n "(cached) " >&6
7224else
7225  if test -n "$LIPO"; then
7226  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7227else
7228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7229for as_dir in $PATH
7230do
7231  IFS=$as_save_IFS
7232  test -z "$as_dir" && as_dir=.
7233    for ac_exec_ext in '' $ac_executable_extensions; do
7234  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7235    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7236    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7237    break 2
7238  fi
7239done
7240  done
7241IFS=$as_save_IFS
7242
7243fi
7244fi
7245LIPO=$ac_cv_prog_LIPO
7246if test -n "$LIPO"; then
7247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7248$as_echo "$LIPO" >&6; }
7249else
7250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7251$as_echo "no" >&6; }
7252fi
7253
7254
7255fi
7256if test -z "$ac_cv_prog_LIPO"; then
7257  ac_ct_LIPO=$LIPO
7258  # Extract the first word of "lipo", so it can be a program name with args.
7259set dummy lipo; ac_word=$2
7260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7261$as_echo_n "checking for $ac_word... " >&6; }
7262if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7263  $as_echo_n "(cached) " >&6
7264else
7265  if test -n "$ac_ct_LIPO"; then
7266  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7267else
7268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7269for as_dir in $PATH
7270do
7271  IFS=$as_save_IFS
7272  test -z "$as_dir" && as_dir=.
7273    for ac_exec_ext in '' $ac_executable_extensions; do
7274  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7275    ac_cv_prog_ac_ct_LIPO="lipo"
7276    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7277    break 2
7278  fi
7279done
7280  done
7281IFS=$as_save_IFS
7282
7283fi
7284fi
7285ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7286if test -n "$ac_ct_LIPO"; then
7287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7288$as_echo "$ac_ct_LIPO" >&6; }
7289else
7290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7291$as_echo "no" >&6; }
7292fi
7293
7294  if test "x$ac_ct_LIPO" = x; then
7295    LIPO=":"
7296  else
7297    case $cross_compiling:$ac_tool_warned in
7298yes:)
7299{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7300$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7301ac_tool_warned=yes ;;
7302esac
7303    LIPO=$ac_ct_LIPO
7304  fi
7305else
7306  LIPO="$ac_cv_prog_LIPO"
7307fi
7308
7309    if test -n "$ac_tool_prefix"; then
7310  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7311set dummy ${ac_tool_prefix}otool; ac_word=$2
7312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7313$as_echo_n "checking for $ac_word... " >&6; }
7314if ${ac_cv_prog_OTOOL+:} false; then :
7315  $as_echo_n "(cached) " >&6
7316else
7317  if test -n "$OTOOL"; then
7318  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7319else
7320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7321for as_dir in $PATH
7322do
7323  IFS=$as_save_IFS
7324  test -z "$as_dir" && as_dir=.
7325    for ac_exec_ext in '' $ac_executable_extensions; do
7326  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7327    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7328    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7329    break 2
7330  fi
7331done
7332  done
7333IFS=$as_save_IFS
7334
7335fi
7336fi
7337OTOOL=$ac_cv_prog_OTOOL
7338if test -n "$OTOOL"; then
7339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7340$as_echo "$OTOOL" >&6; }
7341else
7342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7343$as_echo "no" >&6; }
7344fi
7345
7346
7347fi
7348if test -z "$ac_cv_prog_OTOOL"; then
7349  ac_ct_OTOOL=$OTOOL
7350  # Extract the first word of "otool", so it can be a program name with args.
7351set dummy otool; ac_word=$2
7352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353$as_echo_n "checking for $ac_word... " >&6; }
7354if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7355  $as_echo_n "(cached) " >&6
7356else
7357  if test -n "$ac_ct_OTOOL"; then
7358  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7359else
7360as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7361for as_dir in $PATH
7362do
7363  IFS=$as_save_IFS
7364  test -z "$as_dir" && as_dir=.
7365    for ac_exec_ext in '' $ac_executable_extensions; do
7366  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7367    ac_cv_prog_ac_ct_OTOOL="otool"
7368    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7369    break 2
7370  fi
7371done
7372  done
7373IFS=$as_save_IFS
7374
7375fi
7376fi
7377ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7378if test -n "$ac_ct_OTOOL"; then
7379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7380$as_echo "$ac_ct_OTOOL" >&6; }
7381else
7382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7383$as_echo "no" >&6; }
7384fi
7385
7386  if test "x$ac_ct_OTOOL" = x; then
7387    OTOOL=":"
7388  else
7389    case $cross_compiling:$ac_tool_warned in
7390yes:)
7391{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7392$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7393ac_tool_warned=yes ;;
7394esac
7395    OTOOL=$ac_ct_OTOOL
7396  fi
7397else
7398  OTOOL="$ac_cv_prog_OTOOL"
7399fi
7400
7401    if test -n "$ac_tool_prefix"; then
7402  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7403set dummy ${ac_tool_prefix}otool64; ac_word=$2
7404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7405$as_echo_n "checking for $ac_word... " >&6; }
7406if ${ac_cv_prog_OTOOL64+:} false; then :
7407  $as_echo_n "(cached) " >&6
7408else
7409  if test -n "$OTOOL64"; then
7410  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7411else
7412as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7413for as_dir in $PATH
7414do
7415  IFS=$as_save_IFS
7416  test -z "$as_dir" && as_dir=.
7417    for ac_exec_ext in '' $ac_executable_extensions; do
7418  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7419    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7420    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7421    break 2
7422  fi
7423done
7424  done
7425IFS=$as_save_IFS
7426
7427fi
7428fi
7429OTOOL64=$ac_cv_prog_OTOOL64
7430if test -n "$OTOOL64"; then
7431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7432$as_echo "$OTOOL64" >&6; }
7433else
7434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7435$as_echo "no" >&6; }
7436fi
7437
7438
7439fi
7440if test -z "$ac_cv_prog_OTOOL64"; then
7441  ac_ct_OTOOL64=$OTOOL64
7442  # Extract the first word of "otool64", so it can be a program name with args.
7443set dummy otool64; ac_word=$2
7444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7445$as_echo_n "checking for $ac_word... " >&6; }
7446if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7447  $as_echo_n "(cached) " >&6
7448else
7449  if test -n "$ac_ct_OTOOL64"; then
7450  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7451else
7452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7453for as_dir in $PATH
7454do
7455  IFS=$as_save_IFS
7456  test -z "$as_dir" && as_dir=.
7457    for ac_exec_ext in '' $ac_executable_extensions; do
7458  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7459    ac_cv_prog_ac_ct_OTOOL64="otool64"
7460    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7461    break 2
7462  fi
7463done
7464  done
7465IFS=$as_save_IFS
7466
7467fi
7468fi
7469ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7470if test -n "$ac_ct_OTOOL64"; then
7471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7472$as_echo "$ac_ct_OTOOL64" >&6; }
7473else
7474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475$as_echo "no" >&6; }
7476fi
7477
7478  if test "x$ac_ct_OTOOL64" = x; then
7479    OTOOL64=":"
7480  else
7481    case $cross_compiling:$ac_tool_warned in
7482yes:)
7483{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7484$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7485ac_tool_warned=yes ;;
7486esac
7487    OTOOL64=$ac_ct_OTOOL64
7488  fi
7489else
7490  OTOOL64="$ac_cv_prog_OTOOL64"
7491fi
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7520$as_echo_n "checking for -single_module linker flag... " >&6; }
7521if ${lt_cv_apple_cc_single_mod+:} false; then :
7522  $as_echo_n "(cached) " >&6
7523else
7524  lt_cv_apple_cc_single_mod=no
7525      if test -z "${LT_MULTI_MODULE}"; then
7526	# By default we will add the -single_module flag. You can override
7527	# by either setting the environment variable LT_MULTI_MODULE
7528	# non-empty at configure time, or by adding -multi_module to the
7529	# link flags.
7530	rm -rf libconftest.dylib*
7531	echo "int foo(void){return 1;}" > conftest.c
7532	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7533-dynamiclib -Wl,-single_module conftest.c" >&5
7534	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7535	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7536        _lt_result=$?
7537	# If there is a non-empty error log, and "single_module"
7538	# appears in it, assume the flag caused a linker warning
7539        if test -s conftest.err && $GREP single_module conftest.err; then
7540	  cat conftest.err >&5
7541	# Otherwise, if the output was created with a 0 exit code from
7542	# the compiler, it worked.
7543	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7544	  lt_cv_apple_cc_single_mod=yes
7545	else
7546	  cat conftest.err >&5
7547	fi
7548	rm -rf libconftest.dylib*
7549	rm -f conftest.*
7550      fi
7551fi
7552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7553$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7554
7555    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7556$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7557if ${lt_cv_ld_exported_symbols_list+:} false; then :
7558  $as_echo_n "(cached) " >&6
7559else
7560  lt_cv_ld_exported_symbols_list=no
7561      save_LDFLAGS=$LDFLAGS
7562      echo "_main" > conftest.sym
7563      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7564      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7565/* end confdefs.h.  */
7566
7567int
7568main ()
7569{
7570
7571  ;
7572  return 0;
7573}
7574_ACEOF
7575if ac_fn_c_try_link "$LINENO"; then :
7576  lt_cv_ld_exported_symbols_list=yes
7577else
7578  lt_cv_ld_exported_symbols_list=no
7579fi
7580rm -f core conftest.err conftest.$ac_objext \
7581    conftest$ac_exeext conftest.$ac_ext
7582	LDFLAGS="$save_LDFLAGS"
7583
7584fi
7585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7586$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7587
7588    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7589$as_echo_n "checking for -force_load linker flag... " >&6; }
7590if ${lt_cv_ld_force_load+:} false; then :
7591  $as_echo_n "(cached) " >&6
7592else
7593  lt_cv_ld_force_load=no
7594      cat > conftest.c << _LT_EOF
7595int forced_loaded() { return 2;}
7596_LT_EOF
7597      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7598      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7599      echo "$AR cru libconftest.a conftest.o" >&5
7600      $AR cru libconftest.a conftest.o 2>&5
7601      echo "$RANLIB libconftest.a" >&5
7602      $RANLIB libconftest.a 2>&5
7603      cat > conftest.c << _LT_EOF
7604int main() { return 0;}
7605_LT_EOF
7606      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7607      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7608      _lt_result=$?
7609      if test -s conftest.err && $GREP force_load conftest.err; then
7610	cat conftest.err >&5
7611      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7612	lt_cv_ld_force_load=yes
7613      else
7614	cat conftest.err >&5
7615      fi
7616        rm -f conftest.err libconftest.a conftest conftest.c
7617        rm -rf conftest.dSYM
7618
7619fi
7620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7621$as_echo "$lt_cv_ld_force_load" >&6; }
7622    case $host_os in
7623    rhapsody* | darwin1.[012])
7624      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7625    darwin1.*)
7626      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7627    darwin*) # darwin 5.x on
7628      # if running on 10.5 or later, the deployment target defaults
7629      # to the OS version, if on x86, and 10.4, the deployment
7630      # target defaults to 10.4. Don't you love it?
7631      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7632	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7633	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7634	10.[012]*)
7635	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7636	10.*)
7637	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7638      esac
7639    ;;
7640  esac
7641    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7642      _lt_dar_single_mod='$single_module'
7643    fi
7644    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7645      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7646    else
7647      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7648    fi
7649    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7650      _lt_dsymutil='~$DSYMUTIL $lib || :'
7651    else
7652      _lt_dsymutil=
7653    fi
7654    ;;
7655  esac
7656
7657ac_ext=c
7658ac_cpp='$CPP $CPPFLAGS'
7659ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7660ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7661ac_compiler_gnu=$ac_cv_c_compiler_gnu
7662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7663$as_echo_n "checking how to run the C preprocessor... " >&6; }
7664# On Suns, sometimes $CPP names a directory.
7665if test -n "$CPP" && test -d "$CPP"; then
7666  CPP=
7667fi
7668if test -z "$CPP"; then
7669  if ${ac_cv_prog_CPP+:} false; then :
7670  $as_echo_n "(cached) " >&6
7671else
7672      # Double quotes because CPP needs to be expanded
7673    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7674    do
7675      ac_preproc_ok=false
7676for ac_c_preproc_warn_flag in '' yes
7677do
7678  # Use a header file that comes with gcc, so configuring glibc
7679  # with a fresh cross-compiler works.
7680  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7681  # <limits.h> exists even on freestanding compilers.
7682  # On the NeXT, cc -E runs the code through the compiler's parser,
7683  # not just through cpp. "Syntax error" is here to catch this case.
7684  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7685/* end confdefs.h.  */
7686#ifdef __STDC__
7687# include <limits.h>
7688#else
7689# include <assert.h>
7690#endif
7691		     Syntax error
7692_ACEOF
7693if ac_fn_c_try_cpp "$LINENO"; then :
7694
7695else
7696  # Broken: fails on valid input.
7697continue
7698fi
7699rm -f conftest.err conftest.i conftest.$ac_ext
7700
7701  # OK, works on sane cases.  Now check whether nonexistent headers
7702  # can be detected and how.
7703  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7704/* end confdefs.h.  */
7705#include <ac_nonexistent.h>
7706_ACEOF
7707if ac_fn_c_try_cpp "$LINENO"; then :
7708  # Broken: success on invalid input.
7709continue
7710else
7711  # Passes both tests.
7712ac_preproc_ok=:
7713break
7714fi
7715rm -f conftest.err conftest.i conftest.$ac_ext
7716
7717done
7718# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7719rm -f conftest.i conftest.err conftest.$ac_ext
7720if $ac_preproc_ok; then :
7721  break
7722fi
7723
7724    done
7725    ac_cv_prog_CPP=$CPP
7726
7727fi
7728  CPP=$ac_cv_prog_CPP
7729else
7730  ac_cv_prog_CPP=$CPP
7731fi
7732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7733$as_echo "$CPP" >&6; }
7734ac_preproc_ok=false
7735for ac_c_preproc_warn_flag in '' yes
7736do
7737  # Use a header file that comes with gcc, so configuring glibc
7738  # with a fresh cross-compiler works.
7739  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7740  # <limits.h> exists even on freestanding compilers.
7741  # On the NeXT, cc -E runs the code through the compiler's parser,
7742  # not just through cpp. "Syntax error" is here to catch this case.
7743  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7744/* end confdefs.h.  */
7745#ifdef __STDC__
7746# include <limits.h>
7747#else
7748# include <assert.h>
7749#endif
7750		     Syntax error
7751_ACEOF
7752if ac_fn_c_try_cpp "$LINENO"; then :
7753
7754else
7755  # Broken: fails on valid input.
7756continue
7757fi
7758rm -f conftest.err conftest.i conftest.$ac_ext
7759
7760  # OK, works on sane cases.  Now check whether nonexistent headers
7761  # can be detected and how.
7762  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7763/* end confdefs.h.  */
7764#include <ac_nonexistent.h>
7765_ACEOF
7766if ac_fn_c_try_cpp "$LINENO"; then :
7767  # Broken: success on invalid input.
7768continue
7769else
7770  # Passes both tests.
7771ac_preproc_ok=:
7772break
7773fi
7774rm -f conftest.err conftest.i conftest.$ac_ext
7775
7776done
7777# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7778rm -f conftest.i conftest.err conftest.$ac_ext
7779if $ac_preproc_ok; then :
7780
7781else
7782  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7783$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7784as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7785See \`config.log' for more details" "$LINENO" 5; }
7786fi
7787
7788ac_ext=c
7789ac_cpp='$CPP $CPPFLAGS'
7790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7792ac_compiler_gnu=$ac_cv_c_compiler_gnu
7793
7794
7795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7796$as_echo_n "checking for ANSI C header files... " >&6; }
7797if ${ac_cv_header_stdc+:} false; then :
7798  $as_echo_n "(cached) " >&6
7799else
7800  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7801/* end confdefs.h.  */
7802#include <stdlib.h>
7803#include <stdarg.h>
7804#include <string.h>
7805#include <float.h>
7806
7807int
7808main ()
7809{
7810
7811  ;
7812  return 0;
7813}
7814_ACEOF
7815if ac_fn_c_try_compile "$LINENO"; then :
7816  ac_cv_header_stdc=yes
7817else
7818  ac_cv_header_stdc=no
7819fi
7820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7821
7822if test $ac_cv_header_stdc = yes; then
7823  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7824  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7825/* end confdefs.h.  */
7826#include <string.h>
7827
7828_ACEOF
7829if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7830  $EGREP "memchr" >/dev/null 2>&1; then :
7831
7832else
7833  ac_cv_header_stdc=no
7834fi
7835rm -f conftest*
7836
7837fi
7838
7839if test $ac_cv_header_stdc = yes; then
7840  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7841  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7842/* end confdefs.h.  */
7843#include <stdlib.h>
7844
7845_ACEOF
7846if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7847  $EGREP "free" >/dev/null 2>&1; then :
7848
7849else
7850  ac_cv_header_stdc=no
7851fi
7852rm -f conftest*
7853
7854fi
7855
7856if test $ac_cv_header_stdc = yes; then
7857  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7858  if test "$cross_compiling" = yes; then :
7859  :
7860else
7861  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7862/* end confdefs.h.  */
7863#include <ctype.h>
7864#include <stdlib.h>
7865#if ((' ' & 0x0FF) == 0x020)
7866# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7867# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7868#else
7869# define ISLOWER(c) \
7870		   (('a' <= (c) && (c) <= 'i') \
7871		     || ('j' <= (c) && (c) <= 'r') \
7872		     || ('s' <= (c) && (c) <= 'z'))
7873# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7874#endif
7875
7876#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7877int
7878main ()
7879{
7880  int i;
7881  for (i = 0; i < 256; i++)
7882    if (XOR (islower (i), ISLOWER (i))
7883	|| toupper (i) != TOUPPER (i))
7884      return 2;
7885  return 0;
7886}
7887_ACEOF
7888if ac_fn_c_try_run "$LINENO"; then :
7889
7890else
7891  ac_cv_header_stdc=no
7892fi
7893rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7894  conftest.$ac_objext conftest.beam conftest.$ac_ext
7895fi
7896
7897fi
7898fi
7899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7900$as_echo "$ac_cv_header_stdc" >&6; }
7901if test $ac_cv_header_stdc = yes; then
7902
7903$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7904
7905fi
7906
7907# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7908for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7909		  inttypes.h stdint.h unistd.h
7910do :
7911  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7912ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7913"
7914if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7915  cat >>confdefs.h <<_ACEOF
7916#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7917_ACEOF
7918
7919fi
7920
7921done
7922
7923
7924for ac_header in dlfcn.h
7925do :
7926  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7927"
7928if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7929  cat >>confdefs.h <<_ACEOF
7930#define HAVE_DLFCN_H 1
7931_ACEOF
7932
7933fi
7934
7935done
7936
7937
7938
7939
7940
7941# Set options
7942
7943
7944
7945        enable_dlopen=no
7946
7947
7948  enable_win32_dll=no
7949
7950
7951            # Check whether --enable-shared was given.
7952if test "${enable_shared+set}" = set; then :
7953  enableval=$enable_shared; p=${PACKAGE-default}
7954    case $enableval in
7955    yes) enable_shared=yes ;;
7956    no) enable_shared=no ;;
7957    *)
7958      enable_shared=no
7959      # Look at the argument we got.  We use all the common list separators.
7960      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7961      for pkg in $enableval; do
7962	IFS="$lt_save_ifs"
7963	if test "X$pkg" = "X$p"; then
7964	  enable_shared=yes
7965	fi
7966      done
7967      IFS="$lt_save_ifs"
7968      ;;
7969    esac
7970else
7971  enable_shared=yes
7972fi
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984# Check whether --with-pic was given.
7985if test "${with_pic+set}" = set; then :
7986  withval=$with_pic; lt_p=${PACKAGE-default}
7987    case $withval in
7988    yes|no) pic_mode=$withval ;;
7989    *)
7990      pic_mode=default
7991      # Look at the argument we got.  We use all the common list separators.
7992      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7993      for lt_pkg in $withval; do
7994	IFS="$lt_save_ifs"
7995	if test "X$lt_pkg" = "X$lt_p"; then
7996	  pic_mode=yes
7997	fi
7998      done
7999      IFS="$lt_save_ifs"
8000      ;;
8001    esac
8002else
8003  pic_mode=default
8004fi
8005
8006
8007test -z "$pic_mode" && pic_mode=default
8008
8009
8010
8011
8012
8013
8014
8015  # Check whether --enable-fast-install was given.
8016if test "${enable_fast_install+set}" = set; then :
8017  enableval=$enable_fast_install; p=${PACKAGE-default}
8018    case $enableval in
8019    yes) enable_fast_install=yes ;;
8020    no) enable_fast_install=no ;;
8021    *)
8022      enable_fast_install=no
8023      # Look at the argument we got.  We use all the common list separators.
8024      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8025      for pkg in $enableval; do
8026	IFS="$lt_save_ifs"
8027	if test "X$pkg" = "X$p"; then
8028	  enable_fast_install=yes
8029	fi
8030      done
8031      IFS="$lt_save_ifs"
8032      ;;
8033    esac
8034else
8035  enable_fast_install=yes
8036fi
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048# This can be used to rebuild libtool when needed
8049LIBTOOL_DEPS="$ltmain"
8050
8051# Always use our own libtool.
8052LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083test -z "$LN_S" && LN_S="ln -s"
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098if test -n "${ZSH_VERSION+set}" ; then
8099   setopt NO_GLOB_SUBST
8100fi
8101
8102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8103$as_echo_n "checking for objdir... " >&6; }
8104if ${lt_cv_objdir+:} false; then :
8105  $as_echo_n "(cached) " >&6
8106else
8107  rm -f .libs 2>/dev/null
8108mkdir .libs 2>/dev/null
8109if test -d .libs; then
8110  lt_cv_objdir=.libs
8111else
8112  # MS-DOS does not allow filenames that begin with a dot.
8113  lt_cv_objdir=_libs
8114fi
8115rmdir .libs 2>/dev/null
8116fi
8117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8118$as_echo "$lt_cv_objdir" >&6; }
8119objdir=$lt_cv_objdir
8120
8121
8122
8123
8124
8125cat >>confdefs.h <<_ACEOF
8126#define LT_OBJDIR "$lt_cv_objdir/"
8127_ACEOF
8128
8129
8130
8131
8132case $host_os in
8133aix3*)
8134  # AIX sometimes has problems with the GCC collect2 program.  For some
8135  # reason, if we set the COLLECT_NAMES environment variable, the problems
8136  # vanish in a puff of smoke.
8137  if test "X${COLLECT_NAMES+set}" != Xset; then
8138    COLLECT_NAMES=
8139    export COLLECT_NAMES
8140  fi
8141  ;;
8142esac
8143
8144# Global variables:
8145ofile=libtool
8146can_build_shared=yes
8147
8148# All known linkers require a `.a' archive for static linking (except MSVC,
8149# which needs '.lib').
8150libext=a
8151
8152with_gnu_ld="$lt_cv_prog_gnu_ld"
8153
8154old_CC="$CC"
8155old_CFLAGS="$CFLAGS"
8156
8157# Set sane defaults for various variables
8158test -z "$CC" && CC=cc
8159test -z "$LTCC" && LTCC=$CC
8160test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8161test -z "$LD" && LD=ld
8162test -z "$ac_objext" && ac_objext=o
8163
8164for cc_temp in $compiler""; do
8165  case $cc_temp in
8166    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8167    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8168    \-*) ;;
8169    *) break;;
8170  esac
8171done
8172cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8173
8174
8175# Only perform the check for file, if the check method requires it
8176test -z "$MAGIC_CMD" && MAGIC_CMD=file
8177case $deplibs_check_method in
8178file_magic*)
8179  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8180    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8181$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8182if ${lt_cv_path_MAGIC_CMD+:} false; then :
8183  $as_echo_n "(cached) " >&6
8184else
8185  case $MAGIC_CMD in
8186[\\/*] |  ?:[\\/]*)
8187  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8188  ;;
8189*)
8190  lt_save_MAGIC_CMD="$MAGIC_CMD"
8191  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8192  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8193  for ac_dir in $ac_dummy; do
8194    IFS="$lt_save_ifs"
8195    test -z "$ac_dir" && ac_dir=.
8196    if test -f $ac_dir/${ac_tool_prefix}file; then
8197      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8198      if test -n "$file_magic_test_file"; then
8199	case $deplibs_check_method in
8200	"file_magic "*)
8201	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8202	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8203	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8204	    $EGREP "$file_magic_regex" > /dev/null; then
8205	    :
8206	  else
8207	    cat <<_LT_EOF 1>&2
8208
8209*** Warning: the command libtool uses to detect shared libraries,
8210*** $file_magic_cmd, produces output that libtool cannot recognize.
8211*** The result is that libtool may fail to recognize shared libraries
8212*** as such.  This will affect the creation of libtool libraries that
8213*** depend on shared libraries, but programs linked with such libtool
8214*** libraries will work regardless of this problem.  Nevertheless, you
8215*** may want to report the problem to your system manager and/or to
8216*** bug-libtool@gnu.org
8217
8218_LT_EOF
8219	  fi ;;
8220	esac
8221      fi
8222      break
8223    fi
8224  done
8225  IFS="$lt_save_ifs"
8226  MAGIC_CMD="$lt_save_MAGIC_CMD"
8227  ;;
8228esac
8229fi
8230
8231MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8232if test -n "$MAGIC_CMD"; then
8233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8234$as_echo "$MAGIC_CMD" >&6; }
8235else
8236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8237$as_echo "no" >&6; }
8238fi
8239
8240
8241
8242
8243
8244if test -z "$lt_cv_path_MAGIC_CMD"; then
8245  if test -n "$ac_tool_prefix"; then
8246    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8247$as_echo_n "checking for file... " >&6; }
8248if ${lt_cv_path_MAGIC_CMD+:} false; then :
8249  $as_echo_n "(cached) " >&6
8250else
8251  case $MAGIC_CMD in
8252[\\/*] |  ?:[\\/]*)
8253  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8254  ;;
8255*)
8256  lt_save_MAGIC_CMD="$MAGIC_CMD"
8257  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8258  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8259  for ac_dir in $ac_dummy; do
8260    IFS="$lt_save_ifs"
8261    test -z "$ac_dir" && ac_dir=.
8262    if test -f $ac_dir/file; then
8263      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8264      if test -n "$file_magic_test_file"; then
8265	case $deplibs_check_method in
8266	"file_magic "*)
8267	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8268	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8269	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8270	    $EGREP "$file_magic_regex" > /dev/null; then
8271	    :
8272	  else
8273	    cat <<_LT_EOF 1>&2
8274
8275*** Warning: the command libtool uses to detect shared libraries,
8276*** $file_magic_cmd, produces output that libtool cannot recognize.
8277*** The result is that libtool may fail to recognize shared libraries
8278*** as such.  This will affect the creation of libtool libraries that
8279*** depend on shared libraries, but programs linked with such libtool
8280*** libraries will work regardless of this problem.  Nevertheless, you
8281*** may want to report the problem to your system manager and/or to
8282*** bug-libtool@gnu.org
8283
8284_LT_EOF
8285	  fi ;;
8286	esac
8287      fi
8288      break
8289    fi
8290  done
8291  IFS="$lt_save_ifs"
8292  MAGIC_CMD="$lt_save_MAGIC_CMD"
8293  ;;
8294esac
8295fi
8296
8297MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8298if test -n "$MAGIC_CMD"; then
8299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8300$as_echo "$MAGIC_CMD" >&6; }
8301else
8302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8303$as_echo "no" >&6; }
8304fi
8305
8306
8307  else
8308    MAGIC_CMD=:
8309  fi
8310fi
8311
8312  fi
8313  ;;
8314esac
8315
8316# Use C for the default configuration in the libtool script
8317
8318lt_save_CC="$CC"
8319ac_ext=c
8320ac_cpp='$CPP $CPPFLAGS'
8321ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8322ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8323ac_compiler_gnu=$ac_cv_c_compiler_gnu
8324
8325
8326# Source file extension for C test sources.
8327ac_ext=c
8328
8329# Object file extension for compiled C test sources.
8330objext=o
8331objext=$objext
8332
8333# Code to be used in simple compile tests
8334lt_simple_compile_test_code="int some_variable = 0;"
8335
8336# Code to be used in simple link tests
8337lt_simple_link_test_code='int main(){return(0);}'
8338
8339
8340
8341
8342
8343
8344
8345# If no C compiler was specified, use CC.
8346LTCC=${LTCC-"$CC"}
8347
8348# If no C compiler flags were specified, use CFLAGS.
8349LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8350
8351# Allow CC to be a program name with arguments.
8352compiler=$CC
8353
8354# Save the default compiler, since it gets overwritten when the other
8355# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8356compiler_DEFAULT=$CC
8357
8358# save warnings/boilerplate of simple test code
8359ac_outfile=conftest.$ac_objext
8360echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8361eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8362_lt_compiler_boilerplate=`cat conftest.err`
8363$RM conftest*
8364
8365ac_outfile=conftest.$ac_objext
8366echo "$lt_simple_link_test_code" >conftest.$ac_ext
8367eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8368_lt_linker_boilerplate=`cat conftest.err`
8369$RM -r conftest*
8370
8371
8372## CAVEAT EMPTOR:
8373## There is no encapsulation within the following macros, do not change
8374## the running order or otherwise move them around unless you know exactly
8375## what you are doing...
8376if test -n "$compiler"; then
8377
8378lt_prog_compiler_no_builtin_flag=
8379
8380if test "$GCC" = yes; then
8381  case $cc_basename in
8382  nvcc*)
8383    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8384  *)
8385    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8386  esac
8387
8388  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8389$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8390if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8391  $as_echo_n "(cached) " >&6
8392else
8393  lt_cv_prog_compiler_rtti_exceptions=no
8394   ac_outfile=conftest.$ac_objext
8395   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8396   lt_compiler_flag="-fno-rtti -fno-exceptions"
8397   # Insert the option either (1) after the last *FLAGS variable, or
8398   # (2) before a word containing "conftest.", or (3) at the end.
8399   # Note that $ac_compile itself does not contain backslashes and begins
8400   # with a dollar sign (not a hyphen), so the echo should work correctly.
8401   # The option is referenced via a variable to avoid confusing sed.
8402   lt_compile=`echo "$ac_compile" | $SED \
8403   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8404   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8405   -e 's:$: $lt_compiler_flag:'`
8406   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8407   (eval "$lt_compile" 2>conftest.err)
8408   ac_status=$?
8409   cat conftest.err >&5
8410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8411   if (exit $ac_status) && test -s "$ac_outfile"; then
8412     # The compiler can only warn and ignore the option if not recognized
8413     # So say no if there are warnings other than the usual output.
8414     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8415     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8416     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8417       lt_cv_prog_compiler_rtti_exceptions=yes
8418     fi
8419   fi
8420   $RM conftest*
8421
8422fi
8423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8424$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8425
8426if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8427    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8428else
8429    :
8430fi
8431
8432fi
8433
8434
8435
8436
8437
8438
8439  lt_prog_compiler_wl=
8440lt_prog_compiler_pic=
8441lt_prog_compiler_static=
8442
8443
8444  if test "$GCC" = yes; then
8445    lt_prog_compiler_wl='-Wl,'
8446    lt_prog_compiler_static='-static'
8447
8448    case $host_os in
8449      aix*)
8450      # All AIX code is PIC.
8451      if test "$host_cpu" = ia64; then
8452	# AIX 5 now supports IA64 processor
8453	lt_prog_compiler_static='-Bstatic'
8454      fi
8455      ;;
8456
8457    amigaos*)
8458      case $host_cpu in
8459      powerpc)
8460            # see comment about AmigaOS4 .so support
8461            lt_prog_compiler_pic='-fPIC'
8462        ;;
8463      m68k)
8464            # FIXME: we need at least 68020 code to build shared libraries, but
8465            # adding the `-m68020' flag to GCC prevents building anything better,
8466            # like `-m68040'.
8467            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8468        ;;
8469      esac
8470      ;;
8471
8472    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8473      # PIC is the default for these OSes.
8474      ;;
8475
8476    mingw* | cygwin* | pw32* | os2* | cegcc*)
8477      # This hack is so that the source file can tell whether it is being
8478      # built for inclusion in a dll (and should export symbols for example).
8479      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8480      # (--disable-auto-import) libraries
8481      lt_prog_compiler_pic='-DDLL_EXPORT'
8482      ;;
8483
8484    darwin* | rhapsody*)
8485      # PIC is the default on this platform
8486      # Common symbols not allowed in MH_DYLIB files
8487      lt_prog_compiler_pic='-fno-common'
8488      ;;
8489
8490    haiku*)
8491      # PIC is the default for Haiku.
8492      # The "-static" flag exists, but is broken.
8493      lt_prog_compiler_static=
8494      ;;
8495
8496    hpux*)
8497      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8498      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8499      # sets the default TLS model and affects inlining.
8500      case $host_cpu in
8501      hppa*64*)
8502	# +Z the default
8503	;;
8504      *)
8505	lt_prog_compiler_pic='-fPIC'
8506	;;
8507      esac
8508      ;;
8509
8510    interix[3-9]*)
8511      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8512      # Instead, we relocate shared libraries at runtime.
8513      ;;
8514
8515    msdosdjgpp*)
8516      # Just because we use GCC doesn't mean we suddenly get shared libraries
8517      # on systems that don't support them.
8518      lt_prog_compiler_can_build_shared=no
8519      enable_shared=no
8520      ;;
8521
8522    *nto* | *qnx*)
8523      # QNX uses GNU C++, but need to define -shared option too, otherwise
8524      # it will coredump.
8525      lt_prog_compiler_pic='-fPIC -shared'
8526      ;;
8527
8528    sysv4*MP*)
8529      if test -d /usr/nec; then
8530	lt_prog_compiler_pic=-Kconform_pic
8531      fi
8532      ;;
8533
8534    *)
8535      lt_prog_compiler_pic='-fPIC'
8536      ;;
8537    esac
8538
8539    case $cc_basename in
8540    nvcc*) # Cuda Compiler Driver 2.2
8541      lt_prog_compiler_wl='-Xlinker '
8542      if test -n "$lt_prog_compiler_pic"; then
8543        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8544      fi
8545      ;;
8546    esac
8547  else
8548    # PORTME Check for flag to pass linker flags through the system compiler.
8549    case $host_os in
8550    aix*)
8551      lt_prog_compiler_wl='-Wl,'
8552      if test "$host_cpu" = ia64; then
8553	# AIX 5 now supports IA64 processor
8554	lt_prog_compiler_static='-Bstatic'
8555      else
8556	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8557      fi
8558      ;;
8559
8560    mingw* | cygwin* | pw32* | os2* | cegcc*)
8561      # This hack is so that the source file can tell whether it is being
8562      # built for inclusion in a dll (and should export symbols for example).
8563      lt_prog_compiler_pic='-DDLL_EXPORT'
8564      ;;
8565
8566    hpux9* | hpux10* | hpux11*)
8567      lt_prog_compiler_wl='-Wl,'
8568      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8569      # not for PA HP-UX.
8570      case $host_cpu in
8571      hppa*64*|ia64*)
8572	# +Z the default
8573	;;
8574      *)
8575	lt_prog_compiler_pic='+Z'
8576	;;
8577      esac
8578      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8579      lt_prog_compiler_static='${wl}-a ${wl}archive'
8580      ;;
8581
8582    irix5* | irix6* | nonstopux*)
8583      lt_prog_compiler_wl='-Wl,'
8584      # PIC (with -KPIC) is the default.
8585      lt_prog_compiler_static='-non_shared'
8586      ;;
8587
8588    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8589      case $cc_basename in
8590      # old Intel for x86_64 which still supported -KPIC.
8591      ecc*)
8592	lt_prog_compiler_wl='-Wl,'
8593	lt_prog_compiler_pic='-KPIC'
8594	lt_prog_compiler_static='-static'
8595        ;;
8596      # icc used to be incompatible with GCC.
8597      # ICC 10 doesn't accept -KPIC any more.
8598      icc* | ifort*)
8599	lt_prog_compiler_wl='-Wl,'
8600	lt_prog_compiler_pic='-fPIC'
8601	lt_prog_compiler_static='-static'
8602        ;;
8603      # Lahey Fortran 8.1.
8604      lf95*)
8605	lt_prog_compiler_wl='-Wl,'
8606	lt_prog_compiler_pic='--shared'
8607	lt_prog_compiler_static='--static'
8608	;;
8609      nagfor*)
8610	# NAG Fortran compiler
8611	lt_prog_compiler_wl='-Wl,-Wl,,'
8612	lt_prog_compiler_pic='-PIC'
8613	lt_prog_compiler_static='-Bstatic'
8614	;;
8615      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8616        # Portland Group compilers (*not* the Pentium gcc compiler,
8617	# which looks to be a dead project)
8618	lt_prog_compiler_wl='-Wl,'
8619	lt_prog_compiler_pic='-fpic'
8620	lt_prog_compiler_static='-Bstatic'
8621        ;;
8622      ccc*)
8623        lt_prog_compiler_wl='-Wl,'
8624        # All Alpha code is PIC.
8625        lt_prog_compiler_static='-non_shared'
8626        ;;
8627      xl* | bgxl* | bgf* | mpixl*)
8628	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8629	lt_prog_compiler_wl='-Wl,'
8630	lt_prog_compiler_pic='-qpic'
8631	lt_prog_compiler_static='-qstaticlink'
8632	;;
8633      *)
8634	case `$CC -V 2>&1 | sed 5q` in
8635	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8636	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8637	  lt_prog_compiler_pic='-KPIC'
8638	  lt_prog_compiler_static='-Bstatic'
8639	  lt_prog_compiler_wl=''
8640	  ;;
8641	*Sun\ F* | *Sun*Fortran*)
8642	  lt_prog_compiler_pic='-KPIC'
8643	  lt_prog_compiler_static='-Bstatic'
8644	  lt_prog_compiler_wl='-Qoption ld '
8645	  ;;
8646	*Sun\ C*)
8647	  # Sun C 5.9
8648	  lt_prog_compiler_pic='-KPIC'
8649	  lt_prog_compiler_static='-Bstatic'
8650	  lt_prog_compiler_wl='-Wl,'
8651	  ;;
8652        *Intel*\ [CF]*Compiler*)
8653	  lt_prog_compiler_wl='-Wl,'
8654	  lt_prog_compiler_pic='-fPIC'
8655	  lt_prog_compiler_static='-static'
8656	  ;;
8657	*Portland\ Group*)
8658	  lt_prog_compiler_wl='-Wl,'
8659	  lt_prog_compiler_pic='-fpic'
8660	  lt_prog_compiler_static='-Bstatic'
8661	  ;;
8662	esac
8663	;;
8664      esac
8665      ;;
8666
8667    newsos6)
8668      lt_prog_compiler_pic='-KPIC'
8669      lt_prog_compiler_static='-Bstatic'
8670      ;;
8671
8672    *nto* | *qnx*)
8673      # QNX uses GNU C++, but need to define -shared option too, otherwise
8674      # it will coredump.
8675      lt_prog_compiler_pic='-fPIC -shared'
8676      ;;
8677
8678    osf3* | osf4* | osf5*)
8679      lt_prog_compiler_wl='-Wl,'
8680      # All OSF/1 code is PIC.
8681      lt_prog_compiler_static='-non_shared'
8682      ;;
8683
8684    rdos*)
8685      lt_prog_compiler_static='-non_shared'
8686      ;;
8687
8688    solaris*)
8689      lt_prog_compiler_pic='-KPIC'
8690      lt_prog_compiler_static='-Bstatic'
8691      case $cc_basename in
8692      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8693	lt_prog_compiler_wl='-Qoption ld ';;
8694      *)
8695	lt_prog_compiler_wl='-Wl,';;
8696      esac
8697      ;;
8698
8699    sunos4*)
8700      lt_prog_compiler_wl='-Qoption ld '
8701      lt_prog_compiler_pic='-PIC'
8702      lt_prog_compiler_static='-Bstatic'
8703      ;;
8704
8705    sysv4 | sysv4.2uw2* | sysv4.3*)
8706      lt_prog_compiler_wl='-Wl,'
8707      lt_prog_compiler_pic='-KPIC'
8708      lt_prog_compiler_static='-Bstatic'
8709      ;;
8710
8711    sysv4*MP*)
8712      if test -d /usr/nec ;then
8713	lt_prog_compiler_pic='-Kconform_pic'
8714	lt_prog_compiler_static='-Bstatic'
8715      fi
8716      ;;
8717
8718    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8719      lt_prog_compiler_wl='-Wl,'
8720      lt_prog_compiler_pic='-KPIC'
8721      lt_prog_compiler_static='-Bstatic'
8722      ;;
8723
8724    unicos*)
8725      lt_prog_compiler_wl='-Wl,'
8726      lt_prog_compiler_can_build_shared=no
8727      ;;
8728
8729    uts4*)
8730      lt_prog_compiler_pic='-pic'
8731      lt_prog_compiler_static='-Bstatic'
8732      ;;
8733
8734    *)
8735      lt_prog_compiler_can_build_shared=no
8736      ;;
8737    esac
8738  fi
8739
8740case $host_os in
8741  # For platforms which do not support PIC, -DPIC is meaningless:
8742  *djgpp*)
8743    lt_prog_compiler_pic=
8744    ;;
8745  *)
8746    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8747    ;;
8748esac
8749
8750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8751$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8752if ${lt_cv_prog_compiler_pic+:} false; then :
8753  $as_echo_n "(cached) " >&6
8754else
8755  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8756fi
8757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8758$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8759lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8760
8761#
8762# Check to make sure the PIC flag actually works.
8763#
8764if test -n "$lt_prog_compiler_pic"; then
8765  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8766$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8767if ${lt_cv_prog_compiler_pic_works+:} false; then :
8768  $as_echo_n "(cached) " >&6
8769else
8770  lt_cv_prog_compiler_pic_works=no
8771   ac_outfile=conftest.$ac_objext
8772   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8773   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8774   # Insert the option either (1) after the last *FLAGS variable, or
8775   # (2) before a word containing "conftest.", or (3) at the end.
8776   # Note that $ac_compile itself does not contain backslashes and begins
8777   # with a dollar sign (not a hyphen), so the echo should work correctly.
8778   # The option is referenced via a variable to avoid confusing sed.
8779   lt_compile=`echo "$ac_compile" | $SED \
8780   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8781   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8782   -e 's:$: $lt_compiler_flag:'`
8783   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8784   (eval "$lt_compile" 2>conftest.err)
8785   ac_status=$?
8786   cat conftest.err >&5
8787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788   if (exit $ac_status) && test -s "$ac_outfile"; then
8789     # The compiler can only warn and ignore the option if not recognized
8790     # So say no if there are warnings other than the usual output.
8791     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8792     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8793     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8794       lt_cv_prog_compiler_pic_works=yes
8795     fi
8796   fi
8797   $RM conftest*
8798
8799fi
8800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8801$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8802
8803if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8804    case $lt_prog_compiler_pic in
8805     "" | " "*) ;;
8806     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8807     esac
8808else
8809    lt_prog_compiler_pic=
8810     lt_prog_compiler_can_build_shared=no
8811fi
8812
8813fi
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825#
8826# Check to make sure the static flag actually works.
8827#
8828wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8830$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8831if ${lt_cv_prog_compiler_static_works+:} false; then :
8832  $as_echo_n "(cached) " >&6
8833else
8834  lt_cv_prog_compiler_static_works=no
8835   save_LDFLAGS="$LDFLAGS"
8836   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8837   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8838   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8839     # The linker can only warn and ignore the option if not recognized
8840     # So say no if there are warnings
8841     if test -s conftest.err; then
8842       # Append any errors to the config.log.
8843       cat conftest.err 1>&5
8844       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8845       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8846       if diff conftest.exp conftest.er2 >/dev/null; then
8847         lt_cv_prog_compiler_static_works=yes
8848       fi
8849     else
8850       lt_cv_prog_compiler_static_works=yes
8851     fi
8852   fi
8853   $RM -r conftest*
8854   LDFLAGS="$save_LDFLAGS"
8855
8856fi
8857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8858$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8859
8860if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8861    :
8862else
8863    lt_prog_compiler_static=
8864fi
8865
8866
8867
8868
8869
8870
8871
8872  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8873$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8874if ${lt_cv_prog_compiler_c_o+:} false; then :
8875  $as_echo_n "(cached) " >&6
8876else
8877  lt_cv_prog_compiler_c_o=no
8878   $RM -r conftest 2>/dev/null
8879   mkdir conftest
8880   cd conftest
8881   mkdir out
8882   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8883
8884   lt_compiler_flag="-o out/conftest2.$ac_objext"
8885   # Insert the option either (1) after the last *FLAGS variable, or
8886   # (2) before a word containing "conftest.", or (3) at the end.
8887   # Note that $ac_compile itself does not contain backslashes and begins
8888   # with a dollar sign (not a hyphen), so the echo should work correctly.
8889   lt_compile=`echo "$ac_compile" | $SED \
8890   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8891   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8892   -e 's:$: $lt_compiler_flag:'`
8893   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8894   (eval "$lt_compile" 2>out/conftest.err)
8895   ac_status=$?
8896   cat out/conftest.err >&5
8897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8899   then
8900     # The compiler can only warn and ignore the option if not recognized
8901     # So say no if there are warnings
8902     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8903     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8904     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8905       lt_cv_prog_compiler_c_o=yes
8906     fi
8907   fi
8908   chmod u+w . 2>&5
8909   $RM conftest*
8910   # SGI C++ compiler will create directory out/ii_files/ for
8911   # template instantiation
8912   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8913   $RM out/* && rmdir out
8914   cd ..
8915   $RM -r conftest
8916   $RM conftest*
8917
8918fi
8919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8920$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8921
8922
8923
8924
8925
8926
8927  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8928$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8929if ${lt_cv_prog_compiler_c_o+:} false; then :
8930  $as_echo_n "(cached) " >&6
8931else
8932  lt_cv_prog_compiler_c_o=no
8933   $RM -r conftest 2>/dev/null
8934   mkdir conftest
8935   cd conftest
8936   mkdir out
8937   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8938
8939   lt_compiler_flag="-o out/conftest2.$ac_objext"
8940   # Insert the option either (1) after the last *FLAGS variable, or
8941   # (2) before a word containing "conftest.", or (3) at the end.
8942   # Note that $ac_compile itself does not contain backslashes and begins
8943   # with a dollar sign (not a hyphen), so the echo should work correctly.
8944   lt_compile=`echo "$ac_compile" | $SED \
8945   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8946   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8947   -e 's:$: $lt_compiler_flag:'`
8948   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8949   (eval "$lt_compile" 2>out/conftest.err)
8950   ac_status=$?
8951   cat out/conftest.err >&5
8952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8954   then
8955     # The compiler can only warn and ignore the option if not recognized
8956     # So say no if there are warnings
8957     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8958     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8959     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8960       lt_cv_prog_compiler_c_o=yes
8961     fi
8962   fi
8963   chmod u+w . 2>&5
8964   $RM conftest*
8965   # SGI C++ compiler will create directory out/ii_files/ for
8966   # template instantiation
8967   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8968   $RM out/* && rmdir out
8969   cd ..
8970   $RM -r conftest
8971   $RM conftest*
8972
8973fi
8974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8975$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8976
8977
8978
8979
8980hard_links="nottested"
8981if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8982  # do not overwrite the value of need_locks provided by the user
8983  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8984$as_echo_n "checking if we can lock with hard links... " >&6; }
8985  hard_links=yes
8986  $RM conftest*
8987  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8988  touch conftest.a
8989  ln conftest.a conftest.b 2>&5 || hard_links=no
8990  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8992$as_echo "$hard_links" >&6; }
8993  if test "$hard_links" = no; then
8994    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8995$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8996    need_locks=warn
8997  fi
8998else
8999  need_locks=no
9000fi
9001
9002
9003
9004
9005
9006
9007  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9008$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9009
9010  runpath_var=
9011  allow_undefined_flag=
9012  always_export_symbols=no
9013  archive_cmds=
9014  archive_expsym_cmds=
9015  compiler_needs_object=no
9016  enable_shared_with_static_runtimes=no
9017  export_dynamic_flag_spec=
9018  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9019  hardcode_automatic=no
9020  hardcode_direct=no
9021  hardcode_direct_absolute=no
9022  hardcode_libdir_flag_spec=
9023  hardcode_libdir_separator=
9024  hardcode_minus_L=no
9025  hardcode_shlibpath_var=unsupported
9026  inherit_rpath=no
9027  link_all_deplibs=unknown
9028  module_cmds=
9029  module_expsym_cmds=
9030  old_archive_from_new_cmds=
9031  old_archive_from_expsyms_cmds=
9032  thread_safe_flag_spec=
9033  whole_archive_flag_spec=
9034  # include_expsyms should be a list of space-separated symbols to be *always*
9035  # included in the symbol list
9036  include_expsyms=
9037  # exclude_expsyms can be an extended regexp of symbols to exclude
9038  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9039  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9040  # as well as any symbol that contains `d'.
9041  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9042  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9043  # platforms (ab)use it in PIC code, but their linkers get confused if
9044  # the symbol is explicitly referenced.  Since portable code cannot
9045  # rely on this symbol name, it's probably fine to never include it in
9046  # preloaded symbol tables.
9047  # Exclude shared library initialization/finalization symbols.
9048  extract_expsyms_cmds=
9049
9050  case $host_os in
9051  cygwin* | mingw* | pw32* | cegcc*)
9052    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9053    # When not using gcc, we currently assume that we are using
9054    # Microsoft Visual C++.
9055    if test "$GCC" != yes; then
9056      with_gnu_ld=no
9057    fi
9058    ;;
9059  interix*)
9060    # we just hope/assume this is gcc and not c89 (= MSVC++)
9061    with_gnu_ld=yes
9062    ;;
9063  openbsd*)
9064    with_gnu_ld=no
9065    ;;
9066  linux* | k*bsd*-gnu | gnu*)
9067    link_all_deplibs=no
9068    ;;
9069  esac
9070
9071  ld_shlibs=yes
9072
9073  # On some targets, GNU ld is compatible enough with the native linker
9074  # that we're better off using the native interface for both.
9075  lt_use_gnu_ld_interface=no
9076  if test "$with_gnu_ld" = yes; then
9077    case $host_os in
9078      aix*)
9079	# The AIX port of GNU ld has always aspired to compatibility
9080	# with the native linker.  However, as the warning in the GNU ld
9081	# block says, versions before 2.19.5* couldn't really create working
9082	# shared libraries, regardless of the interface used.
9083	case `$LD -v 2>&1` in
9084	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9085	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9086	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9087	  *)
9088	    lt_use_gnu_ld_interface=yes
9089	    ;;
9090	esac
9091	;;
9092      *)
9093	lt_use_gnu_ld_interface=yes
9094	;;
9095    esac
9096  fi
9097
9098  if test "$lt_use_gnu_ld_interface" = yes; then
9099    # If archive_cmds runs LD, not CC, wlarc should be empty
9100    wlarc='${wl}'
9101
9102    # Set some defaults for GNU ld with shared library support. These
9103    # are reset later if shared libraries are not supported. Putting them
9104    # here allows them to be overridden if necessary.
9105    runpath_var=LD_RUN_PATH
9106    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9107    export_dynamic_flag_spec='${wl}--export-dynamic'
9108    # ancient GNU ld didn't support --whole-archive et. al.
9109    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9110      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9111    else
9112      whole_archive_flag_spec=
9113    fi
9114    supports_anon_versioning=no
9115    case `$LD -v 2>&1` in
9116      *GNU\ gold*) supports_anon_versioning=yes ;;
9117      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9118      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9119      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9120      *\ 2.11.*) ;; # other 2.11 versions
9121      *) supports_anon_versioning=yes ;;
9122    esac
9123
9124    # See if GNU ld supports shared libraries.
9125    case $host_os in
9126    aix[3-9]*)
9127      # On AIX/PPC, the GNU linker is very broken
9128      if test "$host_cpu" != ia64; then
9129	ld_shlibs=no
9130	cat <<_LT_EOF 1>&2
9131
9132*** Warning: the GNU linker, at least up to release 2.19, is reported
9133*** to be unable to reliably create shared libraries on AIX.
9134*** Therefore, libtool is disabling shared libraries support.  If you
9135*** really care for shared libraries, you may want to install binutils
9136*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9137*** You will then need to restart the configuration process.
9138
9139_LT_EOF
9140      fi
9141      ;;
9142
9143    amigaos*)
9144      case $host_cpu in
9145      powerpc)
9146            # see comment about AmigaOS4 .so support
9147            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9148            archive_expsym_cmds=''
9149        ;;
9150      m68k)
9151            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)'
9152            hardcode_libdir_flag_spec='-L$libdir'
9153            hardcode_minus_L=yes
9154        ;;
9155      esac
9156      ;;
9157
9158    beos*)
9159      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9160	allow_undefined_flag=unsupported
9161	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9162	# support --undefined.  This deserves some investigation.  FIXME
9163	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9164      else
9165	ld_shlibs=no
9166      fi
9167      ;;
9168
9169    cygwin* | mingw* | pw32* | cegcc*)
9170      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9171      # as there is no search path for DLLs.
9172      hardcode_libdir_flag_spec='-L$libdir'
9173      export_dynamic_flag_spec='${wl}--export-all-symbols'
9174      allow_undefined_flag=unsupported
9175      always_export_symbols=no
9176      enable_shared_with_static_runtimes=yes
9177      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'
9178      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9179
9180      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9181        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9182	# If the export-symbols file already is a .def file (1st line
9183	# is EXPORTS), use it as is; otherwise, prepend...
9184	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9185	  cp $export_symbols $output_objdir/$soname.def;
9186	else
9187	  echo EXPORTS > $output_objdir/$soname.def;
9188	  cat $export_symbols >> $output_objdir/$soname.def;
9189	fi~
9190	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9191      else
9192	ld_shlibs=no
9193      fi
9194      ;;
9195
9196    haiku*)
9197      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9198      link_all_deplibs=yes
9199      ;;
9200
9201    interix[3-9]*)
9202      hardcode_direct=no
9203      hardcode_shlibpath_var=no
9204      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9205      export_dynamic_flag_spec='${wl}-E'
9206      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9207      # Instead, shared libraries are loaded at an image base (0x10000000 by
9208      # default) and relocated if they conflict, which is a slow very memory
9209      # consuming and fragmenting process.  To avoid this, we pick a random,
9210      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9211      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9212      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9213      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'
9214      ;;
9215
9216    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9217      tmp_diet=no
9218      if test "$host_os" = linux-dietlibc; then
9219	case $cc_basename in
9220	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9221	esac
9222      fi
9223      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9224	 && test "$tmp_diet" = no
9225      then
9226	tmp_addflag=' $pic_flag'
9227	tmp_sharedflag='-shared'
9228	case $cc_basename,$host_cpu in
9229        pgcc*)				# Portland Group C compiler
9230	  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'
9231	  tmp_addflag=' $pic_flag'
9232	  ;;
9233	pgf77* | pgf90* | pgf95* | pgfortran*)
9234					# Portland Group f77 and f90 compilers
9235	  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'
9236	  tmp_addflag=' $pic_flag -Mnomain' ;;
9237	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9238	  tmp_addflag=' -i_dynamic' ;;
9239	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9240	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9241	ifc* | ifort*)			# Intel Fortran compiler
9242	  tmp_addflag=' -nofor_main' ;;
9243	lf95*)				# Lahey Fortran 8.1
9244	  whole_archive_flag_spec=
9245	  tmp_sharedflag='--shared' ;;
9246	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9247	  tmp_sharedflag='-qmkshrobj'
9248	  tmp_addflag= ;;
9249	nvcc*)	# Cuda Compiler Driver 2.2
9250	  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'
9251	  compiler_needs_object=yes
9252	  ;;
9253	esac
9254	case `$CC -V 2>&1 | sed 5q` in
9255	*Sun\ C*)			# Sun C 5.9
9256	  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'
9257	  compiler_needs_object=yes
9258	  tmp_sharedflag='-G' ;;
9259	*Sun\ F*)			# Sun Fortran 8.3
9260	  tmp_sharedflag='-G' ;;
9261	esac
9262	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9263
9264        if test "x$supports_anon_versioning" = xyes; then
9265          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9266	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9267	    echo "local: *; };" >> $output_objdir/$libname.ver~
9268	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9269        fi
9270
9271	case $cc_basename in
9272	xlf* | bgf* | bgxlf* | mpixlf*)
9273	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9274	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9275	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9276	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9277	  if test "x$supports_anon_versioning" = xyes; then
9278	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9279	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9280	      echo "local: *; };" >> $output_objdir/$libname.ver~
9281	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9282	  fi
9283	  ;;
9284	esac
9285      else
9286        ld_shlibs=no
9287      fi
9288      ;;
9289
9290    netbsd* | netbsdelf*-gnu)
9291      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9292	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9293	wlarc=
9294      else
9295	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9296	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9297      fi
9298      ;;
9299
9300    solaris*)
9301      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9302	ld_shlibs=no
9303	cat <<_LT_EOF 1>&2
9304
9305*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9306*** create shared libraries on Solaris systems.  Therefore, libtool
9307*** is disabling shared libraries support.  We urge you to upgrade GNU
9308*** binutils to release 2.9.1 or newer.  Another option is to modify
9309*** your PATH or compiler configuration so that the native linker is
9310*** used, and then restart.
9311
9312_LT_EOF
9313      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9314	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9315	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9316      else
9317	ld_shlibs=no
9318      fi
9319      ;;
9320
9321    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9322      case `$LD -v 2>&1` in
9323        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9324	ld_shlibs=no
9325	cat <<_LT_EOF 1>&2
9326
9327*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9328*** reliably create shared libraries on SCO systems.  Therefore, libtool
9329*** is disabling shared libraries support.  We urge you to upgrade GNU
9330*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9331*** your PATH or compiler configuration so that the native linker is
9332*** used, and then restart.
9333
9334_LT_EOF
9335	;;
9336	*)
9337	  # For security reasons, it is highly recommended that you always
9338	  # use absolute paths for naming shared libraries, and exclude the
9339	  # DT_RUNPATH tag from executables and libraries.  But doing so
9340	  # requires that you compile everything twice, which is a pain.
9341	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9342	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9343	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9345	  else
9346	    ld_shlibs=no
9347	  fi
9348	;;
9349      esac
9350      ;;
9351
9352    sunos4*)
9353      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9354      wlarc=
9355      hardcode_direct=yes
9356      hardcode_shlibpath_var=no
9357      ;;
9358
9359    *)
9360      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9361	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9362	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9363      else
9364	ld_shlibs=no
9365      fi
9366      ;;
9367    esac
9368
9369    if test "$ld_shlibs" = no; then
9370      runpath_var=
9371      hardcode_libdir_flag_spec=
9372      export_dynamic_flag_spec=
9373      whole_archive_flag_spec=
9374    fi
9375  else
9376    # PORTME fill in a description of your system's linker (not GNU ld)
9377    case $host_os in
9378    aix3*)
9379      allow_undefined_flag=unsupported
9380      always_export_symbols=yes
9381      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'
9382      # Note: this linker hardcodes the directories in LIBPATH if there
9383      # are no directories specified by -L.
9384      hardcode_minus_L=yes
9385      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9386	# Neither direct hardcoding nor static linking is supported with a
9387	# broken collect2.
9388	hardcode_direct=unsupported
9389      fi
9390      ;;
9391
9392    aix[4-9]*)
9393      if test "$host_cpu" = ia64; then
9394	# On IA64, the linker does run time linking by default, so we don't
9395	# have to do anything special.
9396	aix_use_runtimelinking=no
9397	exp_sym_flag='-Bexport'
9398	no_entry_flag=""
9399      else
9400	# If we're using GNU nm, then we don't want the "-C" option.
9401	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9402	# Also, AIX nm treats weak defined symbols like other global
9403	# defined symbols, whereas GNU nm marks them as "W".
9404	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9405	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9406	else
9407	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9408	fi
9409	aix_use_runtimelinking=no
9410
9411	# Test if we are trying to use run time linking or normal
9412	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9413	# need to do runtime linking.
9414	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9415	  for ld_flag in $LDFLAGS; do
9416	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9417	    aix_use_runtimelinking=yes
9418	    break
9419	  fi
9420	  done
9421	  ;;
9422	esac
9423
9424	exp_sym_flag='-bexport'
9425	no_entry_flag='-bnoentry'
9426      fi
9427
9428      # When large executables or shared objects are built, AIX ld can
9429      # have problems creating the table of contents.  If linking a library
9430      # or program results in "error TOC overflow" add -mminimal-toc to
9431      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9432      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9433
9434      archive_cmds=''
9435      hardcode_direct=yes
9436      hardcode_direct_absolute=yes
9437      hardcode_libdir_separator=':'
9438      link_all_deplibs=yes
9439      file_list_spec='${wl}-f,'
9440
9441      if test "$GCC" = yes; then
9442	case $host_os in aix4.[012]|aix4.[012].*)
9443	# We only want to do this on AIX 4.2 and lower, the check
9444	# below for broken collect2 doesn't work under 4.3+
9445	  collect2name=`${CC} -print-prog-name=collect2`
9446	  if test -f "$collect2name" &&
9447	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9448	  then
9449	  # We have reworked collect2
9450	  :
9451	  else
9452	  # We have old collect2
9453	  hardcode_direct=unsupported
9454	  # It fails to find uninstalled libraries when the uninstalled
9455	  # path is not listed in the libpath.  Setting hardcode_minus_L
9456	  # to unsupported forces relinking
9457	  hardcode_minus_L=yes
9458	  hardcode_libdir_flag_spec='-L$libdir'
9459	  hardcode_libdir_separator=
9460	  fi
9461	  ;;
9462	esac
9463	shared_flag='-shared'
9464	if test "$aix_use_runtimelinking" = yes; then
9465	  shared_flag="$shared_flag "'${wl}-G'
9466	fi
9467	link_all_deplibs=no
9468      else
9469	# not using gcc
9470	if test "$host_cpu" = ia64; then
9471	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9472	# chokes on -Wl,-G. The following line is correct:
9473	  shared_flag='-G'
9474	else
9475	  if test "$aix_use_runtimelinking" = yes; then
9476	    shared_flag='${wl}-G'
9477	  else
9478	    shared_flag='${wl}-bM:SRE'
9479	  fi
9480	fi
9481      fi
9482
9483      export_dynamic_flag_spec='${wl}-bexpall'
9484      # It seems that -bexpall does not export symbols beginning with
9485      # underscore (_), so it is better to generate a list of symbols to export.
9486      always_export_symbols=yes
9487      if test "$aix_use_runtimelinking" = yes; then
9488	# Warning - without using the other runtime loading flags (-brtl),
9489	# -berok will link without error, but may produce a broken library.
9490	allow_undefined_flag='-berok'
9491        # Determine the default libpath from the value encoded in an
9492        # empty executable.
9493        if test "${lt_cv_aix_libpath+set}" = set; then
9494  aix_libpath=$lt_cv_aix_libpath
9495else
9496  if ${lt_cv_aix_libpath_+:} false; then :
9497  $as_echo_n "(cached) " >&6
9498else
9499  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9500/* end confdefs.h.  */
9501
9502int
9503main ()
9504{
9505
9506  ;
9507  return 0;
9508}
9509_ACEOF
9510if ac_fn_c_try_link "$LINENO"; then :
9511
9512  lt_aix_libpath_sed='
9513      /Import File Strings/,/^$/ {
9514	  /^0/ {
9515	      s/^0  *\([^ ]*\) *$/\1/
9516	      p
9517	  }
9518      }'
9519  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9520  # Check for a 64-bit object if we didn't find anything.
9521  if test -z "$lt_cv_aix_libpath_"; then
9522    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9523  fi
9524fi
9525rm -f core conftest.err conftest.$ac_objext \
9526    conftest$ac_exeext conftest.$ac_ext
9527  if test -z "$lt_cv_aix_libpath_"; then
9528    lt_cv_aix_libpath_="/usr/lib:/lib"
9529  fi
9530
9531fi
9532
9533  aix_libpath=$lt_cv_aix_libpath_
9534fi
9535
9536        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9537        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9538      else
9539	if test "$host_cpu" = ia64; then
9540	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9541	  allow_undefined_flag="-z nodefs"
9542	  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"
9543	else
9544	 # Determine the default libpath from the value encoded in an
9545	 # empty executable.
9546	 if test "${lt_cv_aix_libpath+set}" = set; then
9547  aix_libpath=$lt_cv_aix_libpath
9548else
9549  if ${lt_cv_aix_libpath_+:} false; then :
9550  $as_echo_n "(cached) " >&6
9551else
9552  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9553/* end confdefs.h.  */
9554
9555int
9556main ()
9557{
9558
9559  ;
9560  return 0;
9561}
9562_ACEOF
9563if ac_fn_c_try_link "$LINENO"; then :
9564
9565  lt_aix_libpath_sed='
9566      /Import File Strings/,/^$/ {
9567	  /^0/ {
9568	      s/^0  *\([^ ]*\) *$/\1/
9569	      p
9570	  }
9571      }'
9572  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9573  # Check for a 64-bit object if we didn't find anything.
9574  if test -z "$lt_cv_aix_libpath_"; then
9575    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9576  fi
9577fi
9578rm -f core conftest.err conftest.$ac_objext \
9579    conftest$ac_exeext conftest.$ac_ext
9580  if test -z "$lt_cv_aix_libpath_"; then
9581    lt_cv_aix_libpath_="/usr/lib:/lib"
9582  fi
9583
9584fi
9585
9586  aix_libpath=$lt_cv_aix_libpath_
9587fi
9588
9589	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9590	  # Warning - without using the other run time loading flags,
9591	  # -berok will link without error, but may produce a broken library.
9592	  no_undefined_flag=' ${wl}-bernotok'
9593	  allow_undefined_flag=' ${wl}-berok'
9594	  if test "$with_gnu_ld" = yes; then
9595	    # We only use this code for GNU lds that support --whole-archive.
9596	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9597	  else
9598	    # Exported symbols can be pulled into shared objects from archives
9599	    whole_archive_flag_spec='$convenience'
9600	  fi
9601	  archive_cmds_need_lc=yes
9602	  # This is similar to how AIX traditionally builds its shared libraries.
9603	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9604	fi
9605      fi
9606      ;;
9607
9608    amigaos*)
9609      case $host_cpu in
9610      powerpc)
9611            # see comment about AmigaOS4 .so support
9612            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9613            archive_expsym_cmds=''
9614        ;;
9615      m68k)
9616            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)'
9617            hardcode_libdir_flag_spec='-L$libdir'
9618            hardcode_minus_L=yes
9619        ;;
9620      esac
9621      ;;
9622
9623    bsdi[45]*)
9624      export_dynamic_flag_spec=-rdynamic
9625      ;;
9626
9627    cygwin* | mingw* | pw32* | cegcc*)
9628      # When not using gcc, we currently assume that we are using
9629      # Microsoft Visual C++.
9630      # hardcode_libdir_flag_spec is actually meaningless, as there is
9631      # no search path for DLLs.
9632      case $cc_basename in
9633      cl*)
9634	# Native MSVC
9635	hardcode_libdir_flag_spec=' '
9636	allow_undefined_flag=unsupported
9637	always_export_symbols=yes
9638	file_list_spec='@'
9639	# Tell ltmain to make .lib files, not .a files.
9640	libext=lib
9641	# Tell ltmain to make .dll files, not .so files.
9642	shrext_cmds=".dll"
9643	# FIXME: Setting linknames here is a bad hack.
9644	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9645	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9646	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9647	  else
9648	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9649	  fi~
9650	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9651	  linknames='
9652	# The linker will not automatically build a static lib if we build a DLL.
9653	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9654	enable_shared_with_static_runtimes=yes
9655	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9656	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9657	# Don't use ranlib
9658	old_postinstall_cmds='chmod 644 $oldlib'
9659	postlink_cmds='lt_outputfile="@OUTPUT@"~
9660	  lt_tool_outputfile="@TOOL_OUTPUT@"~
9661	  case $lt_outputfile in
9662	    *.exe|*.EXE) ;;
9663	    *)
9664	      lt_outputfile="$lt_outputfile.exe"
9665	      lt_tool_outputfile="$lt_tool_outputfile.exe"
9666	      ;;
9667	  esac~
9668	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9669	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9670	    $RM "$lt_outputfile.manifest";
9671	  fi'
9672	;;
9673      *)
9674	# Assume MSVC wrapper
9675	hardcode_libdir_flag_spec=' '
9676	allow_undefined_flag=unsupported
9677	# Tell ltmain to make .lib files, not .a files.
9678	libext=lib
9679	# Tell ltmain to make .dll files, not .so files.
9680	shrext_cmds=".dll"
9681	# FIXME: Setting linknames here is a bad hack.
9682	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9683	# The linker will automatically build a .lib file if we build a DLL.
9684	old_archive_from_new_cmds='true'
9685	# FIXME: Should let the user specify the lib program.
9686	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9687	enable_shared_with_static_runtimes=yes
9688	;;
9689      esac
9690      ;;
9691
9692    darwin* | rhapsody*)
9693
9694
9695  archive_cmds_need_lc=no
9696  hardcode_direct=no
9697  hardcode_automatic=yes
9698  hardcode_shlibpath_var=unsupported
9699  if test "$lt_cv_ld_force_load" = "yes"; then
9700    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\"`'
9701
9702  else
9703    whole_archive_flag_spec=''
9704  fi
9705  link_all_deplibs=yes
9706  allow_undefined_flag="$_lt_dar_allow_undefined"
9707  case $cc_basename in
9708     ifort*) _lt_dar_can_shared=yes ;;
9709     *) _lt_dar_can_shared=$GCC ;;
9710  esac
9711  if test "$_lt_dar_can_shared" = "yes"; then
9712    output_verbose_link_cmd=func_echo_all
9713    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9714    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9715    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}"
9716    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}"
9717
9718  else
9719  ld_shlibs=no
9720  fi
9721
9722      ;;
9723
9724    dgux*)
9725      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9726      hardcode_libdir_flag_spec='-L$libdir'
9727      hardcode_shlibpath_var=no
9728      ;;
9729
9730    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9731    # support.  Future versions do this automatically, but an explicit c++rt0.o
9732    # does not break anything, and helps significantly (at the cost of a little
9733    # extra space).
9734    freebsd2.2*)
9735      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9736      hardcode_libdir_flag_spec='-R$libdir'
9737      hardcode_direct=yes
9738      hardcode_shlibpath_var=no
9739      ;;
9740
9741    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9742    freebsd2.*)
9743      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9744      hardcode_direct=yes
9745      hardcode_minus_L=yes
9746      hardcode_shlibpath_var=no
9747      ;;
9748
9749    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9750    freebsd* | dragonfly*)
9751      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9752      hardcode_libdir_flag_spec='-R$libdir'
9753      hardcode_direct=yes
9754      hardcode_shlibpath_var=no
9755      ;;
9756
9757    hpux9*)
9758      if test "$GCC" = yes; then
9759	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9760      else
9761	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9762      fi
9763      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9764      hardcode_libdir_separator=:
9765      hardcode_direct=yes
9766
9767      # hardcode_minus_L: Not really in the search PATH,
9768      # but as the default location of the library.
9769      hardcode_minus_L=yes
9770      export_dynamic_flag_spec='${wl}-E'
9771      ;;
9772
9773    hpux10*)
9774      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9775	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9776      else
9777	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9778      fi
9779      if test "$with_gnu_ld" = no; then
9780	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9781	hardcode_libdir_separator=:
9782	hardcode_direct=yes
9783	hardcode_direct_absolute=yes
9784	export_dynamic_flag_spec='${wl}-E'
9785	# hardcode_minus_L: Not really in the search PATH,
9786	# but as the default location of the library.
9787	hardcode_minus_L=yes
9788      fi
9789      ;;
9790
9791    hpux11*)
9792      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9793	case $host_cpu in
9794	hppa*64*)
9795	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9796	  ;;
9797	ia64*)
9798	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9799	  ;;
9800	*)
9801	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9802	  ;;
9803	esac
9804      else
9805	case $host_cpu in
9806	hppa*64*)
9807	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9808	  ;;
9809	ia64*)
9810	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9811	  ;;
9812	*)
9813
9814	  # Older versions of the 11.00 compiler do not understand -b yet
9815	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9816	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9817$as_echo_n "checking if $CC understands -b... " >&6; }
9818if ${lt_cv_prog_compiler__b+:} false; then :
9819  $as_echo_n "(cached) " >&6
9820else
9821  lt_cv_prog_compiler__b=no
9822   save_LDFLAGS="$LDFLAGS"
9823   LDFLAGS="$LDFLAGS -b"
9824   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9825   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9826     # The linker can only warn and ignore the option if not recognized
9827     # So say no if there are warnings
9828     if test -s conftest.err; then
9829       # Append any errors to the config.log.
9830       cat conftest.err 1>&5
9831       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9832       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9833       if diff conftest.exp conftest.er2 >/dev/null; then
9834         lt_cv_prog_compiler__b=yes
9835       fi
9836     else
9837       lt_cv_prog_compiler__b=yes
9838     fi
9839   fi
9840   $RM -r conftest*
9841   LDFLAGS="$save_LDFLAGS"
9842
9843fi
9844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9845$as_echo "$lt_cv_prog_compiler__b" >&6; }
9846
9847if test x"$lt_cv_prog_compiler__b" = xyes; then
9848    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9849else
9850    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9851fi
9852
9853	  ;;
9854	esac
9855      fi
9856      if test "$with_gnu_ld" = no; then
9857	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9858	hardcode_libdir_separator=:
9859
9860	case $host_cpu in
9861	hppa*64*|ia64*)
9862	  hardcode_direct=no
9863	  hardcode_shlibpath_var=no
9864	  ;;
9865	*)
9866	  hardcode_direct=yes
9867	  hardcode_direct_absolute=yes
9868	  export_dynamic_flag_spec='${wl}-E'
9869
9870	  # hardcode_minus_L: Not really in the search PATH,
9871	  # but as the default location of the library.
9872	  hardcode_minus_L=yes
9873	  ;;
9874	esac
9875      fi
9876      ;;
9877
9878    irix5* | irix6* | nonstopux*)
9879      if test "$GCC" = yes; then
9880	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'
9881	# Try to use the -exported_symbol ld option, if it does not
9882	# work, assume that -exports_file does not work either and
9883	# implicitly export all symbols.
9884	# This should be the same for all languages, so no per-tag cache variable.
9885	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9886$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9887if ${lt_cv_irix_exported_symbol+:} false; then :
9888  $as_echo_n "(cached) " >&6
9889else
9890  save_LDFLAGS="$LDFLAGS"
9891	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9892	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9893/* end confdefs.h.  */
9894int foo (void) { return 0; }
9895_ACEOF
9896if ac_fn_c_try_link "$LINENO"; then :
9897  lt_cv_irix_exported_symbol=yes
9898else
9899  lt_cv_irix_exported_symbol=no
9900fi
9901rm -f core conftest.err conftest.$ac_objext \
9902    conftest$ac_exeext conftest.$ac_ext
9903           LDFLAGS="$save_LDFLAGS"
9904fi
9905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9906$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9907	if test "$lt_cv_irix_exported_symbol" = yes; then
9908          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'
9909	fi
9910      else
9911	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'
9912	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'
9913      fi
9914      archive_cmds_need_lc='no'
9915      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9916      hardcode_libdir_separator=:
9917      inherit_rpath=yes
9918      link_all_deplibs=yes
9919      ;;
9920
9921    netbsd* | netbsdelf*-gnu)
9922      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9923	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9924      else
9925	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9926      fi
9927      hardcode_libdir_flag_spec='-R$libdir'
9928      hardcode_direct=yes
9929      hardcode_shlibpath_var=no
9930      ;;
9931
9932    newsos6)
9933      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9934      hardcode_direct=yes
9935      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9936      hardcode_libdir_separator=:
9937      hardcode_shlibpath_var=no
9938      ;;
9939
9940    *nto* | *qnx*)
9941      ;;
9942
9943    openbsd*)
9944      if test -f /usr/libexec/ld.so; then
9945	hardcode_direct=yes
9946	hardcode_shlibpath_var=no
9947	hardcode_direct_absolute=yes
9948	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9949	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9950	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9951	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9952	  export_dynamic_flag_spec='${wl}-E'
9953	else
9954	  case $host_os in
9955	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9956	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9957	     hardcode_libdir_flag_spec='-R$libdir'
9958	     ;;
9959	   *)
9960	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9961	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9962	     ;;
9963	  esac
9964	fi
9965      else
9966	ld_shlibs=no
9967      fi
9968      ;;
9969
9970    os2*)
9971      hardcode_libdir_flag_spec='-L$libdir'
9972      hardcode_minus_L=yes
9973      allow_undefined_flag=unsupported
9974      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9975      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9976      ;;
9977
9978    osf3*)
9979      if test "$GCC" = yes; then
9980	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9981	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'
9982      else
9983	allow_undefined_flag=' -expect_unresolved \*'
9984	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'
9985      fi
9986      archive_cmds_need_lc='no'
9987      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9988      hardcode_libdir_separator=:
9989      ;;
9990
9991    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9992      if test "$GCC" = yes; then
9993	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9994	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'
9995	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9996      else
9997	allow_undefined_flag=' -expect_unresolved \*'
9998	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'
9999	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~
10000	$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'
10001
10002	# Both c and cxx compiler support -rpath directly
10003	hardcode_libdir_flag_spec='-rpath $libdir'
10004      fi
10005      archive_cmds_need_lc='no'
10006      hardcode_libdir_separator=:
10007      ;;
10008
10009    solaris*)
10010      no_undefined_flag=' -z defs'
10011      if test "$GCC" = yes; then
10012	wlarc='${wl}'
10013	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10014	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10015	  $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'
10016      else
10017	case `$CC -V 2>&1` in
10018	*"Compilers 5.0"*)
10019	  wlarc=''
10020	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10021	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10022	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10023	  ;;
10024	*)
10025	  wlarc='${wl}'
10026	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10027	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10028	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10029	  ;;
10030	esac
10031      fi
10032      hardcode_libdir_flag_spec='-R$libdir'
10033      hardcode_shlibpath_var=no
10034      case $host_os in
10035      solaris2.[0-5] | solaris2.[0-5].*) ;;
10036      *)
10037	# The compiler driver will combine and reorder linker options,
10038	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10039	# but is careful enough not to reorder.
10040	# Supported since Solaris 2.6 (maybe 2.5.1?)
10041	if test "$GCC" = yes; then
10042	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10043	else
10044	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10045	fi
10046	;;
10047      esac
10048      link_all_deplibs=yes
10049      ;;
10050
10051    sunos4*)
10052      if test "x$host_vendor" = xsequent; then
10053	# Use $CC to link under sequent, because it throws in some extra .o
10054	# files that make .init and .fini sections work.
10055	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10056      else
10057	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10058      fi
10059      hardcode_libdir_flag_spec='-L$libdir'
10060      hardcode_direct=yes
10061      hardcode_minus_L=yes
10062      hardcode_shlibpath_var=no
10063      ;;
10064
10065    sysv4)
10066      case $host_vendor in
10067	sni)
10068	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10069	  hardcode_direct=yes # is this really true???
10070	;;
10071	siemens)
10072	  ## LD is ld it makes a PLAMLIB
10073	  ## CC just makes a GrossModule.
10074	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10075	  reload_cmds='$CC -r -o $output$reload_objs'
10076	  hardcode_direct=no
10077        ;;
10078	motorola)
10079	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10080	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10081	;;
10082      esac
10083      runpath_var='LD_RUN_PATH'
10084      hardcode_shlibpath_var=no
10085      ;;
10086
10087    sysv4.3*)
10088      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10089      hardcode_shlibpath_var=no
10090      export_dynamic_flag_spec='-Bexport'
10091      ;;
10092
10093    sysv4*MP*)
10094      if test -d /usr/nec; then
10095	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10096	hardcode_shlibpath_var=no
10097	runpath_var=LD_RUN_PATH
10098	hardcode_runpath_var=yes
10099	ld_shlibs=yes
10100      fi
10101      ;;
10102
10103    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10104      no_undefined_flag='${wl}-z,text'
10105      archive_cmds_need_lc=no
10106      hardcode_shlibpath_var=no
10107      runpath_var='LD_RUN_PATH'
10108
10109      if test "$GCC" = yes; then
10110	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10111	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10112      else
10113	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10114	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10115      fi
10116      ;;
10117
10118    sysv5* | sco3.2v5* | sco5v6*)
10119      # Note: We can NOT use -z defs as we might desire, because we do not
10120      # link with -lc, and that would cause any symbols used from libc to
10121      # always be unresolved, which means just about no library would
10122      # ever link correctly.  If we're not using GNU ld we use -z text
10123      # though, which does catch some bad symbols but isn't as heavy-handed
10124      # as -z defs.
10125      no_undefined_flag='${wl}-z,text'
10126      allow_undefined_flag='${wl}-z,nodefs'
10127      archive_cmds_need_lc=no
10128      hardcode_shlibpath_var=no
10129      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10130      hardcode_libdir_separator=':'
10131      link_all_deplibs=yes
10132      export_dynamic_flag_spec='${wl}-Bexport'
10133      runpath_var='LD_RUN_PATH'
10134
10135      if test "$GCC" = yes; then
10136	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10137	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10138      else
10139	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10140	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10141      fi
10142      ;;
10143
10144    uts4*)
10145      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10146      hardcode_libdir_flag_spec='-L$libdir'
10147      hardcode_shlibpath_var=no
10148      ;;
10149
10150    *)
10151      ld_shlibs=no
10152      ;;
10153    esac
10154
10155    if test x$host_vendor = xsni; then
10156      case $host in
10157      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10158	export_dynamic_flag_spec='${wl}-Blargedynsym'
10159	;;
10160      esac
10161    fi
10162  fi
10163
10164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10165$as_echo "$ld_shlibs" >&6; }
10166test "$ld_shlibs" = no && can_build_shared=no
10167
10168with_gnu_ld=$with_gnu_ld
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184#
10185# Do we need to explicitly link libc?
10186#
10187case "x$archive_cmds_need_lc" in
10188x|xyes)
10189  # Assume -lc should be added
10190  archive_cmds_need_lc=yes
10191
10192  if test "$enable_shared" = yes && test "$GCC" = yes; then
10193    case $archive_cmds in
10194    *'~'*)
10195      # FIXME: we may have to deal with multi-command sequences.
10196      ;;
10197    '$CC '*)
10198      # Test whether the compiler implicitly links with -lc since on some
10199      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10200      # to ld, don't add -lc before -lgcc.
10201      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10202$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10203if ${lt_cv_archive_cmds_need_lc+:} false; then :
10204  $as_echo_n "(cached) " >&6
10205else
10206  $RM conftest*
10207	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10208
10209	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10210  (eval $ac_compile) 2>&5
10211  ac_status=$?
10212  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10213  test $ac_status = 0; } 2>conftest.err; then
10214	  soname=conftest
10215	  lib=conftest
10216	  libobjs=conftest.$ac_objext
10217	  deplibs=
10218	  wl=$lt_prog_compiler_wl
10219	  pic_flag=$lt_prog_compiler_pic
10220	  compiler_flags=-v
10221	  linker_flags=-v
10222	  verstring=
10223	  output_objdir=.
10224	  libname=conftest
10225	  lt_save_allow_undefined_flag=$allow_undefined_flag
10226	  allow_undefined_flag=
10227	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10228  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10229  ac_status=$?
10230  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10231  test $ac_status = 0; }
10232	  then
10233	    lt_cv_archive_cmds_need_lc=no
10234	  else
10235	    lt_cv_archive_cmds_need_lc=yes
10236	  fi
10237	  allow_undefined_flag=$lt_save_allow_undefined_flag
10238	else
10239	  cat conftest.err 1>&5
10240	fi
10241	$RM conftest*
10242
10243fi
10244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10245$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10246      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10247      ;;
10248    esac
10249  fi
10250  ;;
10251esac
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10405$as_echo_n "checking dynamic linker characteristics... " >&6; }
10406
10407if test "$GCC" = yes; then
10408  case $host_os in
10409    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10410    *) lt_awk_arg="/^libraries:/" ;;
10411  esac
10412  case $host_os in
10413    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10414    *) lt_sed_strip_eq="s,=/,/,g" ;;
10415  esac
10416  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10417  case $lt_search_path_spec in
10418  *\;*)
10419    # if the path contains ";" then we assume it to be the separator
10420    # otherwise default to the standard path separator (i.e. ":") - it is
10421    # assumed that no part of a normal pathname contains ";" but that should
10422    # okay in the real world where ";" in dirpaths is itself problematic.
10423    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10424    ;;
10425  *)
10426    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10427    ;;
10428  esac
10429  # Ok, now we have the path, separated by spaces, we can step through it
10430  # and add multilib dir if necessary.
10431  lt_tmp_lt_search_path_spec=
10432  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10433  for lt_sys_path in $lt_search_path_spec; do
10434    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10435      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10436    else
10437      test -d "$lt_sys_path" && \
10438	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10439    fi
10440  done
10441  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10442BEGIN {RS=" "; FS="/|\n";} {
10443  lt_foo="";
10444  lt_count=0;
10445  for (lt_i = NF; lt_i > 0; lt_i--) {
10446    if ($lt_i != "" && $lt_i != ".") {
10447      if ($lt_i == "..") {
10448        lt_count++;
10449      } else {
10450        if (lt_count == 0) {
10451          lt_foo="/" $lt_i lt_foo;
10452        } else {
10453          lt_count--;
10454        }
10455      }
10456    }
10457  }
10458  if (lt_foo != "") { lt_freq[lt_foo]++; }
10459  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10460}'`
10461  # AWK program above erroneously prepends '/' to C:/dos/paths
10462  # for these hosts.
10463  case $host_os in
10464    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10465      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10466  esac
10467  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10468else
10469  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10470fi
10471library_names_spec=
10472libname_spec='lib$name'
10473soname_spec=
10474shrext_cmds=".so"
10475postinstall_cmds=
10476postuninstall_cmds=
10477finish_cmds=
10478finish_eval=
10479shlibpath_var=
10480shlibpath_overrides_runpath=unknown
10481version_type=none
10482dynamic_linker="$host_os ld.so"
10483sys_lib_dlsearch_path_spec="/lib /usr/lib"
10484need_lib_prefix=unknown
10485hardcode_into_libs=no
10486
10487# when you set need_version to no, make sure it does not cause -set_version
10488# flags to be left without arguments
10489need_version=unknown
10490
10491case $host_os in
10492aix3*)
10493  version_type=linux # correct to gnu/linux during the next big refactor
10494  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10495  shlibpath_var=LIBPATH
10496
10497  # AIX 3 has no versioning support, so we append a major version to the name.
10498  soname_spec='${libname}${release}${shared_ext}$major'
10499  ;;
10500
10501aix[4-9]*)
10502  version_type=linux # correct to gnu/linux during the next big refactor
10503  need_lib_prefix=no
10504  need_version=no
10505  hardcode_into_libs=yes
10506  if test "$host_cpu" = ia64; then
10507    # AIX 5 supports IA64
10508    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10509    shlibpath_var=LD_LIBRARY_PATH
10510  else
10511    # With GCC up to 2.95.x, collect2 would create an import file
10512    # for dependence libraries.  The import file would start with
10513    # the line `#! .'.  This would cause the generated library to
10514    # depend on `.', always an invalid library.  This was fixed in
10515    # development snapshots of GCC prior to 3.0.
10516    case $host_os in
10517      aix4 | aix4.[01] | aix4.[01].*)
10518      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10519	   echo ' yes '
10520	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10521	:
10522      else
10523	can_build_shared=no
10524      fi
10525      ;;
10526    esac
10527    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10528    # soname into executable. Probably we can add versioning support to
10529    # collect2, so additional links can be useful in future.
10530    if test "$aix_use_runtimelinking" = yes; then
10531      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10532      # instead of lib<name>.a to let people know that these are not
10533      # typical AIX shared libraries.
10534      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10535    else
10536      # We preserve .a as extension for shared libraries through AIX4.2
10537      # and later when we are not doing run time linking.
10538      library_names_spec='${libname}${release}.a $libname.a'
10539      soname_spec='${libname}${release}${shared_ext}$major'
10540    fi
10541    shlibpath_var=LIBPATH
10542  fi
10543  ;;
10544
10545amigaos*)
10546  case $host_cpu in
10547  powerpc)
10548    # Since July 2007 AmigaOS4 officially supports .so libraries.
10549    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10550    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10551    ;;
10552  m68k)
10553    library_names_spec='$libname.ixlibrary $libname.a'
10554    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10555    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
10556    ;;
10557  esac
10558  ;;
10559
10560beos*)
10561  library_names_spec='${libname}${shared_ext}'
10562  dynamic_linker="$host_os ld.so"
10563  shlibpath_var=LIBRARY_PATH
10564  ;;
10565
10566bsdi[45]*)
10567  version_type=linux # correct to gnu/linux during the next big refactor
10568  need_version=no
10569  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10570  soname_spec='${libname}${release}${shared_ext}$major'
10571  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10572  shlibpath_var=LD_LIBRARY_PATH
10573  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10574  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10575  # the default ld.so.conf also contains /usr/contrib/lib and
10576  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10577  # libtool to hard-code these into programs
10578  ;;
10579
10580cygwin* | mingw* | pw32* | cegcc*)
10581  version_type=windows
10582  shrext_cmds=".dll"
10583  need_version=no
10584  need_lib_prefix=no
10585
10586  case $GCC,$cc_basename in
10587  yes,*)
10588    # gcc
10589    library_names_spec='$libname.dll.a'
10590    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10591    postinstall_cmds='base_file=`basename \${file}`~
10592      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10593      dldir=$destdir/`dirname \$dlpath`~
10594      test -d \$dldir || mkdir -p \$dldir~
10595      $install_prog $dir/$dlname \$dldir/$dlname~
10596      chmod a+x \$dldir/$dlname~
10597      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10598        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10599      fi'
10600    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10601      dlpath=$dir/\$dldll~
10602       $RM \$dlpath'
10603    shlibpath_overrides_runpath=yes
10604
10605    case $host_os in
10606    cygwin*)
10607      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10608      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10609
10610      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10611      ;;
10612    mingw* | cegcc*)
10613      # MinGW DLLs use traditional 'lib' prefix
10614      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10615      ;;
10616    pw32*)
10617      # pw32 DLLs use 'pw' prefix rather than 'lib'
10618      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10619      ;;
10620    esac
10621    dynamic_linker='Win32 ld.exe'
10622    ;;
10623
10624  *,cl*)
10625    # Native MSVC
10626    libname_spec='$name'
10627    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10628    library_names_spec='${libname}.dll.lib'
10629
10630    case $build_os in
10631    mingw*)
10632      sys_lib_search_path_spec=
10633      lt_save_ifs=$IFS
10634      IFS=';'
10635      for lt_path in $LIB
10636      do
10637        IFS=$lt_save_ifs
10638        # Let DOS variable expansion print the short 8.3 style file name.
10639        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10640        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10641      done
10642      IFS=$lt_save_ifs
10643      # Convert to MSYS style.
10644      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10645      ;;
10646    cygwin*)
10647      # Convert to unix form, then to dos form, then back to unix form
10648      # but this time dos style (no spaces!) so that the unix form looks
10649      # like /cygdrive/c/PROGRA~1:/cygdr...
10650      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10651      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10652      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10653      ;;
10654    *)
10655      sys_lib_search_path_spec="$LIB"
10656      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10657        # It is most probably a Windows format PATH.
10658        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10659      else
10660        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10661      fi
10662      # FIXME: find the short name or the path components, as spaces are
10663      # common. (e.g. "Program Files" -> "PROGRA~1")
10664      ;;
10665    esac
10666
10667    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10668    postinstall_cmds='base_file=`basename \${file}`~
10669      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10670      dldir=$destdir/`dirname \$dlpath`~
10671      test -d \$dldir || mkdir -p \$dldir~
10672      $install_prog $dir/$dlname \$dldir/$dlname'
10673    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10674      dlpath=$dir/\$dldll~
10675       $RM \$dlpath'
10676    shlibpath_overrides_runpath=yes
10677    dynamic_linker='Win32 link.exe'
10678    ;;
10679
10680  *)
10681    # Assume MSVC wrapper
10682    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10683    dynamic_linker='Win32 ld.exe'
10684    ;;
10685  esac
10686  # FIXME: first we should search . and the directory the executable is in
10687  shlibpath_var=PATH
10688  ;;
10689
10690darwin* | rhapsody*)
10691  dynamic_linker="$host_os dyld"
10692  version_type=darwin
10693  need_lib_prefix=no
10694  need_version=no
10695  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10696  soname_spec='${libname}${release}${major}$shared_ext'
10697  shlibpath_overrides_runpath=yes
10698  shlibpath_var=DYLD_LIBRARY_PATH
10699  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10700
10701  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10702  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10703  ;;
10704
10705dgux*)
10706  version_type=linux # correct to gnu/linux during the next big refactor
10707  need_lib_prefix=no
10708  need_version=no
10709  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10710  soname_spec='${libname}${release}${shared_ext}$major'
10711  shlibpath_var=LD_LIBRARY_PATH
10712  ;;
10713
10714freebsd* | dragonfly*)
10715  # DragonFly does not have aout.  When/if they implement a new
10716  # versioning mechanism, adjust this.
10717  if test -x /usr/bin/objformat; then
10718    objformat=`/usr/bin/objformat`
10719  else
10720    case $host_os in
10721    freebsd[23].*) objformat=aout ;;
10722    *) objformat=elf ;;
10723    esac
10724  fi
10725  version_type=freebsd-$objformat
10726  case $version_type in
10727    freebsd-elf*)
10728      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10729      need_version=no
10730      need_lib_prefix=no
10731      ;;
10732    freebsd-*)
10733      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10734      need_version=yes
10735      ;;
10736  esac
10737  shlibpath_var=LD_LIBRARY_PATH
10738  case $host_os in
10739  freebsd2.*)
10740    shlibpath_overrides_runpath=yes
10741    ;;
10742  freebsd3.[01]* | freebsdelf3.[01]*)
10743    shlibpath_overrides_runpath=yes
10744    hardcode_into_libs=yes
10745    ;;
10746  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10747  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10748    shlibpath_overrides_runpath=no
10749    hardcode_into_libs=yes
10750    ;;
10751  *) # from 4.6 on, and DragonFly
10752    shlibpath_overrides_runpath=yes
10753    hardcode_into_libs=yes
10754    ;;
10755  esac
10756  ;;
10757
10758haiku*)
10759  version_type=linux # correct to gnu/linux during the next big refactor
10760  need_lib_prefix=no
10761  need_version=no
10762  dynamic_linker="$host_os runtime_loader"
10763  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10764  soname_spec='${libname}${release}${shared_ext}$major'
10765  shlibpath_var=LIBRARY_PATH
10766  shlibpath_overrides_runpath=yes
10767  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10768  hardcode_into_libs=yes
10769  ;;
10770
10771hpux9* | hpux10* | hpux11*)
10772  # Give a soname corresponding to the major version so that dld.sl refuses to
10773  # link against other versions.
10774  version_type=sunos
10775  need_lib_prefix=no
10776  need_version=no
10777  case $host_cpu in
10778  ia64*)
10779    shrext_cmds='.so'
10780    hardcode_into_libs=yes
10781    dynamic_linker="$host_os dld.so"
10782    shlibpath_var=LD_LIBRARY_PATH
10783    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10784    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10785    soname_spec='${libname}${release}${shared_ext}$major'
10786    if test "X$HPUX_IA64_MODE" = X32; then
10787      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10788    else
10789      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10790    fi
10791    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10792    ;;
10793  hppa*64*)
10794    shrext_cmds='.sl'
10795    hardcode_into_libs=yes
10796    dynamic_linker="$host_os dld.sl"
10797    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10798    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10799    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10800    soname_spec='${libname}${release}${shared_ext}$major'
10801    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10802    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10803    ;;
10804  *)
10805    shrext_cmds='.sl'
10806    dynamic_linker="$host_os dld.sl"
10807    shlibpath_var=SHLIB_PATH
10808    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10809    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10810    soname_spec='${libname}${release}${shared_ext}$major'
10811    ;;
10812  esac
10813  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10814  postinstall_cmds='chmod 555 $lib'
10815  # or fails outright, so override atomically:
10816  install_override_mode=555
10817  ;;
10818
10819interix[3-9]*)
10820  version_type=linux # correct to gnu/linux during the next big refactor
10821  need_lib_prefix=no
10822  need_version=no
10823  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10824  soname_spec='${libname}${release}${shared_ext}$major'
10825  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10826  shlibpath_var=LD_LIBRARY_PATH
10827  shlibpath_overrides_runpath=no
10828  hardcode_into_libs=yes
10829  ;;
10830
10831irix5* | irix6* | nonstopux*)
10832  case $host_os in
10833    nonstopux*) version_type=nonstopux ;;
10834    *)
10835	if test "$lt_cv_prog_gnu_ld" = yes; then
10836		version_type=linux # correct to gnu/linux during the next big refactor
10837	else
10838		version_type=irix
10839	fi ;;
10840  esac
10841  need_lib_prefix=no
10842  need_version=no
10843  soname_spec='${libname}${release}${shared_ext}$major'
10844  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10845  case $host_os in
10846  irix5* | nonstopux*)
10847    libsuff= shlibsuff=
10848    ;;
10849  *)
10850    case $LD in # libtool.m4 will add one of these switches to LD
10851    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10852      libsuff= shlibsuff= libmagic=32-bit;;
10853    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10854      libsuff=32 shlibsuff=N32 libmagic=N32;;
10855    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10856      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10857    *) libsuff= shlibsuff= libmagic=never-match;;
10858    esac
10859    ;;
10860  esac
10861  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10862  shlibpath_overrides_runpath=no
10863  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10864  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10865  hardcode_into_libs=yes
10866  ;;
10867
10868# No shared lib support for Linux oldld, aout, or coff.
10869linux*oldld* | linux*aout* | linux*coff*)
10870  dynamic_linker=no
10871  ;;
10872
10873# This must be glibc/ELF.
10874linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10875  version_type=linux # correct to gnu/linux during the next big refactor
10876  need_lib_prefix=no
10877  need_version=no
10878  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10879  soname_spec='${libname}${release}${shared_ext}$major'
10880  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10881  shlibpath_var=LD_LIBRARY_PATH
10882  shlibpath_overrides_runpath=no
10883
10884  # Some binutils ld are patched to set DT_RUNPATH
10885  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10886  $as_echo_n "(cached) " >&6
10887else
10888  lt_cv_shlibpath_overrides_runpath=no
10889    save_LDFLAGS=$LDFLAGS
10890    save_libdir=$libdir
10891    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10892	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10893    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10894/* end confdefs.h.  */
10895
10896int
10897main ()
10898{
10899
10900  ;
10901  return 0;
10902}
10903_ACEOF
10904if ac_fn_c_try_link "$LINENO"; then :
10905  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10906  lt_cv_shlibpath_overrides_runpath=yes
10907fi
10908fi
10909rm -f core conftest.err conftest.$ac_objext \
10910    conftest$ac_exeext conftest.$ac_ext
10911    LDFLAGS=$save_LDFLAGS
10912    libdir=$save_libdir
10913
10914fi
10915
10916  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10917
10918  # This implies no fast_install, which is unacceptable.
10919  # Some rework will be needed to allow for fast_install
10920  # before this can be enabled.
10921  hardcode_into_libs=yes
10922
10923  # Append ld.so.conf contents to the search path
10924  if test -f /etc/ld.so.conf; then
10925    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' ' '`
10926    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10927  fi
10928
10929  # We used to test for /lib/ld.so.1 and disable shared libraries on
10930  # powerpc, because MkLinux only supported shared libraries with the
10931  # GNU dynamic linker.  Since this was broken with cross compilers,
10932  # most powerpc-linux boxes support dynamic linking these days and
10933  # people can always --disable-shared, the test was removed, and we
10934  # assume the GNU/Linux dynamic linker is in use.
10935  dynamic_linker='GNU/Linux ld.so'
10936  ;;
10937
10938netbsdelf*-gnu)
10939  version_type=linux
10940  need_lib_prefix=no
10941  need_version=no
10942  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10943  soname_spec='${libname}${release}${shared_ext}$major'
10944  shlibpath_var=LD_LIBRARY_PATH
10945  shlibpath_overrides_runpath=no
10946  hardcode_into_libs=yes
10947  dynamic_linker='NetBSD ld.elf_so'
10948  ;;
10949
10950netbsd*)
10951  version_type=sunos
10952  need_lib_prefix=no
10953  need_version=no
10954  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10955    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10956    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10957    dynamic_linker='NetBSD (a.out) ld.so'
10958  else
10959    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10960    soname_spec='${libname}${release}${shared_ext}$major'
10961    dynamic_linker='NetBSD ld.elf_so'
10962  fi
10963  shlibpath_var=LD_LIBRARY_PATH
10964  shlibpath_overrides_runpath=yes
10965  hardcode_into_libs=yes
10966  ;;
10967
10968newsos6)
10969  version_type=linux # correct to gnu/linux during the next big refactor
10970  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10971  shlibpath_var=LD_LIBRARY_PATH
10972  shlibpath_overrides_runpath=yes
10973  ;;
10974
10975*nto* | *qnx*)
10976  version_type=qnx
10977  need_lib_prefix=no
10978  need_version=no
10979  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980  soname_spec='${libname}${release}${shared_ext}$major'
10981  shlibpath_var=LD_LIBRARY_PATH
10982  shlibpath_overrides_runpath=no
10983  hardcode_into_libs=yes
10984  dynamic_linker='ldqnx.so'
10985  ;;
10986
10987openbsd*)
10988  version_type=sunos
10989  sys_lib_dlsearch_path_spec="/usr/lib"
10990  need_lib_prefix=no
10991  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10992  case $host_os in
10993    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10994    *)				need_version=no  ;;
10995  esac
10996  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10997  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10998  shlibpath_var=LD_LIBRARY_PATH
10999  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11000    case $host_os in
11001      openbsd2.[89] | openbsd2.[89].*)
11002	shlibpath_overrides_runpath=no
11003	;;
11004      *)
11005	shlibpath_overrides_runpath=yes
11006	;;
11007      esac
11008  else
11009    shlibpath_overrides_runpath=yes
11010  fi
11011  ;;
11012
11013os2*)
11014  libname_spec='$name'
11015  shrext_cmds=".dll"
11016  need_lib_prefix=no
11017  library_names_spec='$libname${shared_ext} $libname.a'
11018  dynamic_linker='OS/2 ld.exe'
11019  shlibpath_var=LIBPATH
11020  ;;
11021
11022osf3* | osf4* | osf5*)
11023  version_type=osf
11024  need_lib_prefix=no
11025  need_version=no
11026  soname_spec='${libname}${release}${shared_ext}$major'
11027  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11028  shlibpath_var=LD_LIBRARY_PATH
11029  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11030  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11031  ;;
11032
11033rdos*)
11034  dynamic_linker=no
11035  ;;
11036
11037solaris*)
11038  version_type=linux # correct to gnu/linux during the next big refactor
11039  need_lib_prefix=no
11040  need_version=no
11041  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11042  soname_spec='${libname}${release}${shared_ext}$major'
11043  shlibpath_var=LD_LIBRARY_PATH
11044  shlibpath_overrides_runpath=yes
11045  hardcode_into_libs=yes
11046  # ldd complains unless libraries are executable
11047  postinstall_cmds='chmod +x $lib'
11048  ;;
11049
11050sunos4*)
11051  version_type=sunos
11052  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11053  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11054  shlibpath_var=LD_LIBRARY_PATH
11055  shlibpath_overrides_runpath=yes
11056  if test "$with_gnu_ld" = yes; then
11057    need_lib_prefix=no
11058  fi
11059  need_version=yes
11060  ;;
11061
11062sysv4 | sysv4.3*)
11063  version_type=linux # correct to gnu/linux during the next big refactor
11064  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11065  soname_spec='${libname}${release}${shared_ext}$major'
11066  shlibpath_var=LD_LIBRARY_PATH
11067  case $host_vendor in
11068    sni)
11069      shlibpath_overrides_runpath=no
11070      need_lib_prefix=no
11071      runpath_var=LD_RUN_PATH
11072      ;;
11073    siemens)
11074      need_lib_prefix=no
11075      ;;
11076    motorola)
11077      need_lib_prefix=no
11078      need_version=no
11079      shlibpath_overrides_runpath=no
11080      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11081      ;;
11082  esac
11083  ;;
11084
11085sysv4*MP*)
11086  if test -d /usr/nec ;then
11087    version_type=linux # correct to gnu/linux during the next big refactor
11088    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11089    soname_spec='$libname${shared_ext}.$major'
11090    shlibpath_var=LD_LIBRARY_PATH
11091  fi
11092  ;;
11093
11094sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11095  version_type=freebsd-elf
11096  need_lib_prefix=no
11097  need_version=no
11098  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11099  soname_spec='${libname}${release}${shared_ext}$major'
11100  shlibpath_var=LD_LIBRARY_PATH
11101  shlibpath_overrides_runpath=yes
11102  hardcode_into_libs=yes
11103  if test "$with_gnu_ld" = yes; then
11104    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11105  else
11106    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11107    case $host_os in
11108      sco3.2v5*)
11109        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11110	;;
11111    esac
11112  fi
11113  sys_lib_dlsearch_path_spec='/usr/lib'
11114  ;;
11115
11116tpf*)
11117  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11118  version_type=linux # correct to gnu/linux during the next big refactor
11119  need_lib_prefix=no
11120  need_version=no
11121  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11122  shlibpath_var=LD_LIBRARY_PATH
11123  shlibpath_overrides_runpath=no
11124  hardcode_into_libs=yes
11125  ;;
11126
11127uts4*)
11128  version_type=linux # correct to gnu/linux during the next big refactor
11129  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11130  soname_spec='${libname}${release}${shared_ext}$major'
11131  shlibpath_var=LD_LIBRARY_PATH
11132  ;;
11133
11134*)
11135  dynamic_linker=no
11136  ;;
11137esac
11138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11139$as_echo "$dynamic_linker" >&6; }
11140test "$dynamic_linker" = no && can_build_shared=no
11141
11142variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11143if test "$GCC" = yes; then
11144  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11145fi
11146
11147if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11148  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11149fi
11150if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11151  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11152fi
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11246$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11247hardcode_action=
11248if test -n "$hardcode_libdir_flag_spec" ||
11249   test -n "$runpath_var" ||
11250   test "X$hardcode_automatic" = "Xyes" ; then
11251
11252  # We can hardcode non-existent directories.
11253  if test "$hardcode_direct" != no &&
11254     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11255     # have to relink, otherwise we might link with an installed library
11256     # when we should be linking with a yet-to-be-installed one
11257     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11258     test "$hardcode_minus_L" != no; then
11259    # Linking always hardcodes the temporary library directory.
11260    hardcode_action=relink
11261  else
11262    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11263    hardcode_action=immediate
11264  fi
11265else
11266  # We cannot hardcode anything, or else we can only hardcode existing
11267  # directories.
11268  hardcode_action=unsupported
11269fi
11270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11271$as_echo "$hardcode_action" >&6; }
11272
11273if test "$hardcode_action" = relink ||
11274   test "$inherit_rpath" = yes; then
11275  # Fast installation is not supported
11276  enable_fast_install=no
11277elif test "$shlibpath_overrides_runpath" = yes ||
11278     test "$enable_shared" = no; then
11279  # Fast installation is not necessary
11280  enable_fast_install=needless
11281fi
11282
11283
11284
11285
11286
11287
11288  if test "x$enable_dlopen" != xyes; then
11289  enable_dlopen=unknown
11290  enable_dlopen_self=unknown
11291  enable_dlopen_self_static=unknown
11292else
11293  lt_cv_dlopen=no
11294  lt_cv_dlopen_libs=
11295
11296  case $host_os in
11297  beos*)
11298    lt_cv_dlopen="load_add_on"
11299    lt_cv_dlopen_libs=
11300    lt_cv_dlopen_self=yes
11301    ;;
11302
11303  mingw* | pw32* | cegcc*)
11304    lt_cv_dlopen="LoadLibrary"
11305    lt_cv_dlopen_libs=
11306    ;;
11307
11308  cygwin*)
11309    lt_cv_dlopen="dlopen"
11310    lt_cv_dlopen_libs=
11311    ;;
11312
11313  darwin*)
11314  # if libdl is installed we need to link against it
11315    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11316$as_echo_n "checking for dlopen in -ldl... " >&6; }
11317if ${ac_cv_lib_dl_dlopen+:} false; then :
11318  $as_echo_n "(cached) " >&6
11319else
11320  ac_check_lib_save_LIBS=$LIBS
11321LIBS="-ldl  $LIBS"
11322cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11323/* end confdefs.h.  */
11324
11325/* Override any GCC internal prototype to avoid an error.
11326   Use char because int might match the return type of a GCC
11327   builtin and then its argument prototype would still apply.  */
11328#ifdef __cplusplus
11329extern "C"
11330#endif
11331char dlopen ();
11332int
11333main ()
11334{
11335return dlopen ();
11336  ;
11337  return 0;
11338}
11339_ACEOF
11340if ac_fn_c_try_link "$LINENO"; then :
11341  ac_cv_lib_dl_dlopen=yes
11342else
11343  ac_cv_lib_dl_dlopen=no
11344fi
11345rm -f core conftest.err conftest.$ac_objext \
11346    conftest$ac_exeext conftest.$ac_ext
11347LIBS=$ac_check_lib_save_LIBS
11348fi
11349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11350$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11351if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11352  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11353else
11354
11355    lt_cv_dlopen="dyld"
11356    lt_cv_dlopen_libs=
11357    lt_cv_dlopen_self=yes
11358
11359fi
11360
11361    ;;
11362
11363  *)
11364    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11365if test "x$ac_cv_func_shl_load" = xyes; then :
11366  lt_cv_dlopen="shl_load"
11367else
11368  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11369$as_echo_n "checking for shl_load in -ldld... " >&6; }
11370if ${ac_cv_lib_dld_shl_load+:} false; then :
11371  $as_echo_n "(cached) " >&6
11372else
11373  ac_check_lib_save_LIBS=$LIBS
11374LIBS="-ldld  $LIBS"
11375cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11376/* end confdefs.h.  */
11377
11378/* Override any GCC internal prototype to avoid an error.
11379   Use char because int might match the return type of a GCC
11380   builtin and then its argument prototype would still apply.  */
11381#ifdef __cplusplus
11382extern "C"
11383#endif
11384char shl_load ();
11385int
11386main ()
11387{
11388return shl_load ();
11389  ;
11390  return 0;
11391}
11392_ACEOF
11393if ac_fn_c_try_link "$LINENO"; then :
11394  ac_cv_lib_dld_shl_load=yes
11395else
11396  ac_cv_lib_dld_shl_load=no
11397fi
11398rm -f core conftest.err conftest.$ac_objext \
11399    conftest$ac_exeext conftest.$ac_ext
11400LIBS=$ac_check_lib_save_LIBS
11401fi
11402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11403$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11404if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11405  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11406else
11407  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11408if test "x$ac_cv_func_dlopen" = xyes; then :
11409  lt_cv_dlopen="dlopen"
11410else
11411  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11412$as_echo_n "checking for dlopen in -ldl... " >&6; }
11413if ${ac_cv_lib_dl_dlopen+:} false; then :
11414  $as_echo_n "(cached) " >&6
11415else
11416  ac_check_lib_save_LIBS=$LIBS
11417LIBS="-ldl  $LIBS"
11418cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11419/* end confdefs.h.  */
11420
11421/* Override any GCC internal prototype to avoid an error.
11422   Use char because int might match the return type of a GCC
11423   builtin and then its argument prototype would still apply.  */
11424#ifdef __cplusplus
11425extern "C"
11426#endif
11427char dlopen ();
11428int
11429main ()
11430{
11431return dlopen ();
11432  ;
11433  return 0;
11434}
11435_ACEOF
11436if ac_fn_c_try_link "$LINENO"; then :
11437  ac_cv_lib_dl_dlopen=yes
11438else
11439  ac_cv_lib_dl_dlopen=no
11440fi
11441rm -f core conftest.err conftest.$ac_objext \
11442    conftest$ac_exeext conftest.$ac_ext
11443LIBS=$ac_check_lib_save_LIBS
11444fi
11445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11446$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11447if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11448  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11449else
11450  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11451$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11452if ${ac_cv_lib_svld_dlopen+:} false; then :
11453  $as_echo_n "(cached) " >&6
11454else
11455  ac_check_lib_save_LIBS=$LIBS
11456LIBS="-lsvld  $LIBS"
11457cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11458/* end confdefs.h.  */
11459
11460/* Override any GCC internal prototype to avoid an error.
11461   Use char because int might match the return type of a GCC
11462   builtin and then its argument prototype would still apply.  */
11463#ifdef __cplusplus
11464extern "C"
11465#endif
11466char dlopen ();
11467int
11468main ()
11469{
11470return dlopen ();
11471  ;
11472  return 0;
11473}
11474_ACEOF
11475if ac_fn_c_try_link "$LINENO"; then :
11476  ac_cv_lib_svld_dlopen=yes
11477else
11478  ac_cv_lib_svld_dlopen=no
11479fi
11480rm -f core conftest.err conftest.$ac_objext \
11481    conftest$ac_exeext conftest.$ac_ext
11482LIBS=$ac_check_lib_save_LIBS
11483fi
11484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11485$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11486if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11487  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11488else
11489  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11490$as_echo_n "checking for dld_link in -ldld... " >&6; }
11491if ${ac_cv_lib_dld_dld_link+:} false; then :
11492  $as_echo_n "(cached) " >&6
11493else
11494  ac_check_lib_save_LIBS=$LIBS
11495LIBS="-ldld  $LIBS"
11496cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11497/* end confdefs.h.  */
11498
11499/* Override any GCC internal prototype to avoid an error.
11500   Use char because int might match the return type of a GCC
11501   builtin and then its argument prototype would still apply.  */
11502#ifdef __cplusplus
11503extern "C"
11504#endif
11505char dld_link ();
11506int
11507main ()
11508{
11509return dld_link ();
11510  ;
11511  return 0;
11512}
11513_ACEOF
11514if ac_fn_c_try_link "$LINENO"; then :
11515  ac_cv_lib_dld_dld_link=yes
11516else
11517  ac_cv_lib_dld_dld_link=no
11518fi
11519rm -f core conftest.err conftest.$ac_objext \
11520    conftest$ac_exeext conftest.$ac_ext
11521LIBS=$ac_check_lib_save_LIBS
11522fi
11523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11524$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11525if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11526  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11527fi
11528
11529
11530fi
11531
11532
11533fi
11534
11535
11536fi
11537
11538
11539fi
11540
11541
11542fi
11543
11544    ;;
11545  esac
11546
11547  if test "x$lt_cv_dlopen" != xno; then
11548    enable_dlopen=yes
11549  else
11550    enable_dlopen=no
11551  fi
11552
11553  case $lt_cv_dlopen in
11554  dlopen)
11555    save_CPPFLAGS="$CPPFLAGS"
11556    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11557
11558    save_LDFLAGS="$LDFLAGS"
11559    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11560
11561    save_LIBS="$LIBS"
11562    LIBS="$lt_cv_dlopen_libs $LIBS"
11563
11564    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11565$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11566if ${lt_cv_dlopen_self+:} false; then :
11567  $as_echo_n "(cached) " >&6
11568else
11569  	  if test "$cross_compiling" = yes; then :
11570  lt_cv_dlopen_self=cross
11571else
11572  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11573  lt_status=$lt_dlunknown
11574  cat > conftest.$ac_ext <<_LT_EOF
11575#line $LINENO "configure"
11576#include "confdefs.h"
11577
11578#if HAVE_DLFCN_H
11579#include <dlfcn.h>
11580#endif
11581
11582#include <stdio.h>
11583
11584#ifdef RTLD_GLOBAL
11585#  define LT_DLGLOBAL		RTLD_GLOBAL
11586#else
11587#  ifdef DL_GLOBAL
11588#    define LT_DLGLOBAL		DL_GLOBAL
11589#  else
11590#    define LT_DLGLOBAL		0
11591#  endif
11592#endif
11593
11594/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11595   find out it does not work in some platform. */
11596#ifndef LT_DLLAZY_OR_NOW
11597#  ifdef RTLD_LAZY
11598#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11599#  else
11600#    ifdef DL_LAZY
11601#      define LT_DLLAZY_OR_NOW		DL_LAZY
11602#    else
11603#      ifdef RTLD_NOW
11604#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11605#      else
11606#        ifdef DL_NOW
11607#          define LT_DLLAZY_OR_NOW	DL_NOW
11608#        else
11609#          define LT_DLLAZY_OR_NOW	0
11610#        endif
11611#      endif
11612#    endif
11613#  endif
11614#endif
11615
11616/* When -fvisbility=hidden is used, assume the code has been annotated
11617   correspondingly for the symbols needed.  */
11618#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11619int fnord () __attribute__((visibility("default")));
11620#endif
11621
11622int fnord () { return 42; }
11623int main ()
11624{
11625  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11626  int status = $lt_dlunknown;
11627
11628  if (self)
11629    {
11630      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11631      else
11632        {
11633	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11634          else puts (dlerror ());
11635	}
11636      /* dlclose (self); */
11637    }
11638  else
11639    puts (dlerror ());
11640
11641  return status;
11642}
11643_LT_EOF
11644  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11645  (eval $ac_link) 2>&5
11646  ac_status=$?
11647  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11648  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11649    (./conftest; exit; ) >&5 2>/dev/null
11650    lt_status=$?
11651    case x$lt_status in
11652      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11653      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11654      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11655    esac
11656  else :
11657    # compilation failed
11658    lt_cv_dlopen_self=no
11659  fi
11660fi
11661rm -fr conftest*
11662
11663
11664fi
11665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11666$as_echo "$lt_cv_dlopen_self" >&6; }
11667
11668    if test "x$lt_cv_dlopen_self" = xyes; then
11669      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11670      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11671$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11672if ${lt_cv_dlopen_self_static+:} false; then :
11673  $as_echo_n "(cached) " >&6
11674else
11675  	  if test "$cross_compiling" = yes; then :
11676  lt_cv_dlopen_self_static=cross
11677else
11678  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11679  lt_status=$lt_dlunknown
11680  cat > conftest.$ac_ext <<_LT_EOF
11681#line $LINENO "configure"
11682#include "confdefs.h"
11683
11684#if HAVE_DLFCN_H
11685#include <dlfcn.h>
11686#endif
11687
11688#include <stdio.h>
11689
11690#ifdef RTLD_GLOBAL
11691#  define LT_DLGLOBAL		RTLD_GLOBAL
11692#else
11693#  ifdef DL_GLOBAL
11694#    define LT_DLGLOBAL		DL_GLOBAL
11695#  else
11696#    define LT_DLGLOBAL		0
11697#  endif
11698#endif
11699
11700/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11701   find out it does not work in some platform. */
11702#ifndef LT_DLLAZY_OR_NOW
11703#  ifdef RTLD_LAZY
11704#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11705#  else
11706#    ifdef DL_LAZY
11707#      define LT_DLLAZY_OR_NOW		DL_LAZY
11708#    else
11709#      ifdef RTLD_NOW
11710#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11711#      else
11712#        ifdef DL_NOW
11713#          define LT_DLLAZY_OR_NOW	DL_NOW
11714#        else
11715#          define LT_DLLAZY_OR_NOW	0
11716#        endif
11717#      endif
11718#    endif
11719#  endif
11720#endif
11721
11722/* When -fvisbility=hidden is used, assume the code has been annotated
11723   correspondingly for the symbols needed.  */
11724#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11725int fnord () __attribute__((visibility("default")));
11726#endif
11727
11728int fnord () { return 42; }
11729int main ()
11730{
11731  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11732  int status = $lt_dlunknown;
11733
11734  if (self)
11735    {
11736      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11737      else
11738        {
11739	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11740          else puts (dlerror ());
11741	}
11742      /* dlclose (self); */
11743    }
11744  else
11745    puts (dlerror ());
11746
11747  return status;
11748}
11749_LT_EOF
11750  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11751  (eval $ac_link) 2>&5
11752  ac_status=$?
11753  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11754  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11755    (./conftest; exit; ) >&5 2>/dev/null
11756    lt_status=$?
11757    case x$lt_status in
11758      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11759      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11760      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11761    esac
11762  else :
11763    # compilation failed
11764    lt_cv_dlopen_self_static=no
11765  fi
11766fi
11767rm -fr conftest*
11768
11769
11770fi
11771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11772$as_echo "$lt_cv_dlopen_self_static" >&6; }
11773    fi
11774
11775    CPPFLAGS="$save_CPPFLAGS"
11776    LDFLAGS="$save_LDFLAGS"
11777    LIBS="$save_LIBS"
11778    ;;
11779  esac
11780
11781  case $lt_cv_dlopen_self in
11782  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11783  *) enable_dlopen_self=unknown ;;
11784  esac
11785
11786  case $lt_cv_dlopen_self_static in
11787  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11788  *) enable_dlopen_self_static=unknown ;;
11789  esac
11790fi
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808striplib=
11809old_striplib=
11810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11811$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11812if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11813  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11814  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11816$as_echo "yes" >&6; }
11817else
11818# FIXME - insert some real tests, host_os isn't really good enough
11819  case $host_os in
11820  darwin*)
11821    if test -n "$STRIP" ; then
11822      striplib="$STRIP -x"
11823      old_striplib="$STRIP -S"
11824      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11825$as_echo "yes" >&6; }
11826    else
11827      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11828$as_echo "no" >&6; }
11829    fi
11830    ;;
11831  *)
11832    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11833$as_echo "no" >&6; }
11834    ;;
11835  esac
11836fi
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849  # Report which library types will actually be built
11850  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11851$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11853$as_echo "$can_build_shared" >&6; }
11854
11855  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11856$as_echo_n "checking whether to build shared libraries... " >&6; }
11857  test "$can_build_shared" = "no" && enable_shared=no
11858
11859  # On AIX, shared libraries and static libraries use the same namespace, and
11860  # are all built from PIC.
11861  case $host_os in
11862  aix3*)
11863    test "$enable_shared" = yes && enable_static=no
11864    if test -n "$RANLIB"; then
11865      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11866      postinstall_cmds='$RANLIB $lib'
11867    fi
11868    ;;
11869
11870  aix[4-9]*)
11871    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11872      test "$enable_shared" = yes && enable_static=no
11873    fi
11874    ;;
11875  esac
11876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11877$as_echo "$enable_shared" >&6; }
11878
11879  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11880$as_echo_n "checking whether to build static libraries... " >&6; }
11881  # Make sure either enable_shared or enable_static is yes.
11882  test "$enable_shared" = yes || enable_static=yes
11883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11884$as_echo "$enable_static" >&6; }
11885
11886
11887
11888
11889fi
11890ac_ext=c
11891ac_cpp='$CPP $CPPFLAGS'
11892ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11893ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11894ac_compiler_gnu=$ac_cv_c_compiler_gnu
11895
11896CC="$lt_save_CC"
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912        ac_config_commands="$ac_config_commands libtool"
11913
11914
11915
11916
11917# Only expand once:
11918
11919
11920
11921# Checks for header files
11922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11923$as_echo_n "checking for ANSI C header files... " >&6; }
11924if ${ac_cv_header_stdc+:} false; then :
11925  $as_echo_n "(cached) " >&6
11926else
11927  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928/* end confdefs.h.  */
11929#include <stdlib.h>
11930#include <stdarg.h>
11931#include <string.h>
11932#include <float.h>
11933
11934int
11935main ()
11936{
11937
11938  ;
11939  return 0;
11940}
11941_ACEOF
11942if ac_fn_c_try_compile "$LINENO"; then :
11943  ac_cv_header_stdc=yes
11944else
11945  ac_cv_header_stdc=no
11946fi
11947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11948
11949if test $ac_cv_header_stdc = yes; then
11950  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11951  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11952/* end confdefs.h.  */
11953#include <string.h>
11954
11955_ACEOF
11956if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11957  $EGREP "memchr" >/dev/null 2>&1; then :
11958
11959else
11960  ac_cv_header_stdc=no
11961fi
11962rm -f conftest*
11963
11964fi
11965
11966if test $ac_cv_header_stdc = yes; then
11967  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11968  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11969/* end confdefs.h.  */
11970#include <stdlib.h>
11971
11972_ACEOF
11973if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11974  $EGREP "free" >/dev/null 2>&1; then :
11975
11976else
11977  ac_cv_header_stdc=no
11978fi
11979rm -f conftest*
11980
11981fi
11982
11983if test $ac_cv_header_stdc = yes; then
11984  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11985  if test "$cross_compiling" = yes; then :
11986  :
11987else
11988  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11989/* end confdefs.h.  */
11990#include <ctype.h>
11991#include <stdlib.h>
11992#if ((' ' & 0x0FF) == 0x020)
11993# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11994# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11995#else
11996# define ISLOWER(c) \
11997		   (('a' <= (c) && (c) <= 'i') \
11998		     || ('j' <= (c) && (c) <= 'r') \
11999		     || ('s' <= (c) && (c) <= 'z'))
12000# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12001#endif
12002
12003#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12004int
12005main ()
12006{
12007  int i;
12008  for (i = 0; i < 256; i++)
12009    if (XOR (islower (i), ISLOWER (i))
12010	|| toupper (i) != TOUPPER (i))
12011      return 2;
12012  return 0;
12013}
12014_ACEOF
12015if ac_fn_c_try_run "$LINENO"; then :
12016
12017else
12018  ac_cv_header_stdc=no
12019fi
12020rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12021  conftest.$ac_objext conftest.beam conftest.$ac_ext
12022fi
12023
12024fi
12025fi
12026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12027$as_echo "$ac_cv_header_stdc" >&6; }
12028if test $ac_cv_header_stdc = yes; then
12029
12030$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12031
12032fi
12033
12034for ac_header in fcntl.h stdlib.h string.h unistd.h
12035do :
12036  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12037ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12038if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12039  cat >>confdefs.h <<_ACEOF
12040#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12041_ACEOF
12042
12043fi
12044
12045done
12046
12047
12048# Checks for typedefs, structures and compiler charecteristics
12049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12050$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12051if ${ac_cv_c_const+:} false; then :
12052  $as_echo_n "(cached) " >&6
12053else
12054  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12055/* end confdefs.h.  */
12056
12057int
12058main ()
12059{
12060
12061#ifndef __cplusplus
12062  /* Ultrix mips cc rejects this sort of thing.  */
12063  typedef int charset[2];
12064  const charset cs = { 0, 0 };
12065  /* SunOS 4.1.1 cc rejects this.  */
12066  char const *const *pcpcc;
12067  char **ppc;
12068  /* NEC SVR4.0.2 mips cc rejects this.  */
12069  struct point {int x, y;};
12070  static struct point const zero = {0,0};
12071  /* AIX XL C 1.02.0.0 rejects this.
12072     It does not let you subtract one const X* pointer from another in
12073     an arm of an if-expression whose if-part is not a constant
12074     expression */
12075  const char *g = "string";
12076  pcpcc = &g + (g ? g-g : 0);
12077  /* HPUX 7.0 cc rejects these. */
12078  ++pcpcc;
12079  ppc = (char**) pcpcc;
12080  pcpcc = (char const *const *) ppc;
12081  { /* SCO 3.2v4 cc rejects this sort of thing.  */
12082    char tx;
12083    char *t = &tx;
12084    char const *s = 0 ? (char *) 0 : (char const *) 0;
12085
12086    *t++ = 0;
12087    if (s) return 0;
12088  }
12089  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12090    int x[] = {25, 17};
12091    const int *foo = &x[0];
12092    ++foo;
12093  }
12094  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12095    typedef const int *iptr;
12096    iptr p = 0;
12097    ++p;
12098  }
12099  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12100       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12101    struct s { int j; const int *ap[3]; } bx;
12102    struct s *b = &bx; b->j = 5;
12103  }
12104  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12105    const int foo = 10;
12106    if (!foo) return 0;
12107  }
12108  return !cs[0] && !zero.x;
12109#endif
12110
12111  ;
12112  return 0;
12113}
12114_ACEOF
12115if ac_fn_c_try_compile "$LINENO"; then :
12116  ac_cv_c_const=yes
12117else
12118  ac_cv_c_const=no
12119fi
12120rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12121fi
12122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12123$as_echo "$ac_cv_c_const" >&6; }
12124if test $ac_cv_c_const = no; then
12125
12126$as_echo "#define const /**/" >>confdefs.h
12127
12128fi
12129
12130
12131# Checks for library functions
12132for ac_header in stdlib.h
12133do :
12134  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12135if test "x$ac_cv_header_stdlib_h" = xyes; then :
12136  cat >>confdefs.h <<_ACEOF
12137#define HAVE_STDLIB_H 1
12138_ACEOF
12139
12140fi
12141
12142done
12143
12144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12145$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12146if ${ac_cv_func_malloc_0_nonnull+:} false; then :
12147  $as_echo_n "(cached) " >&6
12148else
12149  if test "$cross_compiling" = yes; then :
12150  ac_cv_func_malloc_0_nonnull=no
12151else
12152  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12153/* end confdefs.h.  */
12154#if defined STDC_HEADERS || defined HAVE_STDLIB_H
12155# include <stdlib.h>
12156#else
12157char *malloc ();
12158#endif
12159
12160int
12161main ()
12162{
12163return ! malloc (0);
12164  ;
12165  return 0;
12166}
12167_ACEOF
12168if ac_fn_c_try_run "$LINENO"; then :
12169  ac_cv_func_malloc_0_nonnull=yes
12170else
12171  ac_cv_func_malloc_0_nonnull=no
12172fi
12173rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12174  conftest.$ac_objext conftest.beam conftest.$ac_ext
12175fi
12176
12177fi
12178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12179$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12180if test $ac_cv_func_malloc_0_nonnull = yes; then :
12181
12182$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12183
12184else
12185  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12186
12187   case " $LIBOBJS " in
12188  *" malloc.$ac_objext "* ) ;;
12189  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
12190 ;;
12191esac
12192
12193
12194$as_echo "#define malloc rpl_malloc" >>confdefs.h
12195
12196fi
12197
12198
12199
12200
12201
12202  for ac_header in $ac_header_list
12203do :
12204  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12205ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12206"
12207if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12208  cat >>confdefs.h <<_ACEOF
12209#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12210_ACEOF
12211
12212fi
12213
12214done
12215
12216
12217
12218
12219
12220
12221
12222
12223for ac_func in getpagesize
12224do :
12225  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12226if test "x$ac_cv_func_getpagesize" = xyes; then :
12227  cat >>confdefs.h <<_ACEOF
12228#define HAVE_GETPAGESIZE 1
12229_ACEOF
12230
12231fi
12232done
12233
12234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12235$as_echo_n "checking for working mmap... " >&6; }
12236if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
12237  $as_echo_n "(cached) " >&6
12238else
12239  if test "$cross_compiling" = yes; then :
12240  ac_cv_func_mmap_fixed_mapped=no
12241else
12242  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243/* end confdefs.h.  */
12244$ac_includes_default
12245/* malloc might have been renamed as rpl_malloc. */
12246#undef malloc
12247
12248/* Thanks to Mike Haertel and Jim Avera for this test.
12249   Here is a matrix of mmap possibilities:
12250	mmap private not fixed
12251	mmap private fixed at somewhere currently unmapped
12252	mmap private fixed at somewhere already mapped
12253	mmap shared not fixed
12254	mmap shared fixed at somewhere currently unmapped
12255	mmap shared fixed at somewhere already mapped
12256   For private mappings, we should verify that changes cannot be read()
12257   back from the file, nor mmap's back from the file at a different
12258   address.  (There have been systems where private was not correctly
12259   implemented like the infamous i386 svr4.0, and systems where the
12260   VM page cache was not coherent with the file system buffer cache
12261   like early versions of FreeBSD and possibly contemporary NetBSD.)
12262   For shared mappings, we should conversely verify that changes get
12263   propagated back to all the places they're supposed to be.
12264
12265   Grep wants private fixed already mapped.
12266   The main things grep needs to know about mmap are:
12267   * does it exist and is it safe to write into the mmap'd area
12268   * how to use it (BSD variants)  */
12269
12270#include <fcntl.h>
12271#include <sys/mman.h>
12272
12273#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12274char *malloc ();
12275#endif
12276
12277/* This mess was copied from the GNU getpagesize.h.  */
12278#ifndef HAVE_GETPAGESIZE
12279# ifdef _SC_PAGESIZE
12280#  define getpagesize() sysconf(_SC_PAGESIZE)
12281# else /* no _SC_PAGESIZE */
12282#  ifdef HAVE_SYS_PARAM_H
12283#   include <sys/param.h>
12284#   ifdef EXEC_PAGESIZE
12285#    define getpagesize() EXEC_PAGESIZE
12286#   else /* no EXEC_PAGESIZE */
12287#    ifdef NBPG
12288#     define getpagesize() NBPG * CLSIZE
12289#     ifndef CLSIZE
12290#      define CLSIZE 1
12291#     endif /* no CLSIZE */
12292#    else /* no NBPG */
12293#     ifdef NBPC
12294#      define getpagesize() NBPC
12295#     else /* no NBPC */
12296#      ifdef PAGESIZE
12297#       define getpagesize() PAGESIZE
12298#      endif /* PAGESIZE */
12299#     endif /* no NBPC */
12300#    endif /* no NBPG */
12301#   endif /* no EXEC_PAGESIZE */
12302#  else /* no HAVE_SYS_PARAM_H */
12303#   define getpagesize() 8192	/* punt totally */
12304#  endif /* no HAVE_SYS_PARAM_H */
12305# endif /* no _SC_PAGESIZE */
12306
12307#endif /* no HAVE_GETPAGESIZE */
12308
12309int
12310main ()
12311{
12312  char *data, *data2, *data3;
12313  const char *cdata2;
12314  int i, pagesize;
12315  int fd, fd2;
12316
12317  pagesize = getpagesize ();
12318
12319  /* First, make a file with some known garbage in it. */
12320  data = (char *) malloc (pagesize);
12321  if (!data)
12322    return 1;
12323  for (i = 0; i < pagesize; ++i)
12324    *(data + i) = rand ();
12325  umask (0);
12326  fd = creat ("conftest.mmap", 0600);
12327  if (fd < 0)
12328    return 2;
12329  if (write (fd, data, pagesize) != pagesize)
12330    return 3;
12331  close (fd);
12332
12333  /* Next, check that the tail of a page is zero-filled.  File must have
12334     non-zero length, otherwise we risk SIGBUS for entire page.  */
12335  fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
12336  if (fd2 < 0)
12337    return 4;
12338  cdata2 = "";
12339  if (write (fd2, cdata2, 1) != 1)
12340    return 5;
12341  data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
12342  if (data2 == MAP_FAILED)
12343    return 6;
12344  for (i = 0; i < pagesize; ++i)
12345    if (*(data2 + i))
12346      return 7;
12347  close (fd2);
12348  if (munmap (data2, pagesize))
12349    return 8;
12350
12351  /* Next, try to mmap the file at a fixed address which already has
12352     something else allocated at it.  If we can, also make sure that
12353     we see the same garbage.  */
12354  fd = open ("conftest.mmap", O_RDWR);
12355  if (fd < 0)
12356    return 9;
12357  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12358		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
12359    return 10;
12360  for (i = 0; i < pagesize; ++i)
12361    if (*(data + i) != *(data2 + i))
12362      return 11;
12363
12364  /* Finally, make sure that changes to the mapped area do not
12365     percolate back to the file as seen by read().  (This is a bug on
12366     some variants of i386 svr4.0.)  */
12367  for (i = 0; i < pagesize; ++i)
12368    *(data2 + i) = *(data2 + i) + 1;
12369  data3 = (char *) malloc (pagesize);
12370  if (!data3)
12371    return 12;
12372  if (read (fd, data3, pagesize) != pagesize)
12373    return 13;
12374  for (i = 0; i < pagesize; ++i)
12375    if (*(data + i) != *(data3 + i))
12376      return 14;
12377  close (fd);
12378  return 0;
12379}
12380_ACEOF
12381if ac_fn_c_try_run "$LINENO"; then :
12382  ac_cv_func_mmap_fixed_mapped=yes
12383else
12384  ac_cv_func_mmap_fixed_mapped=no
12385fi
12386rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12387  conftest.$ac_objext conftest.beam conftest.$ac_ext
12388fi
12389
12390fi
12391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
12392$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
12393if test $ac_cv_func_mmap_fixed_mapped = yes; then
12394
12395$as_echo "#define HAVE_MMAP 1" >>confdefs.h
12396
12397fi
12398rm -f conftest.mmap conftest.txt
12399
12400for ac_func in memset munmap strcasecmp strdup
12401do :
12402  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12403ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12404if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12405  cat >>confdefs.h <<_ACEOF
12406#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12407_ACEOF
12408
12409fi
12410done
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12421	if test -n "$ac_tool_prefix"; then
12422  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12423set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12425$as_echo_n "checking for $ac_word... " >&6; }
12426if ${ac_cv_path_PKG_CONFIG+:} false; then :
12427  $as_echo_n "(cached) " >&6
12428else
12429  case $PKG_CONFIG in
12430  [\\/]* | ?:[\\/]*)
12431  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12432  ;;
12433  *)
12434  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12435for as_dir in $PATH
12436do
12437  IFS=$as_save_IFS
12438  test -z "$as_dir" && as_dir=.
12439    for ac_exec_ext in '' $ac_executable_extensions; do
12440  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12441    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12442    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12443    break 2
12444  fi
12445done
12446  done
12447IFS=$as_save_IFS
12448
12449  ;;
12450esac
12451fi
12452PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12453if test -n "$PKG_CONFIG"; then
12454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12455$as_echo "$PKG_CONFIG" >&6; }
12456else
12457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12458$as_echo "no" >&6; }
12459fi
12460
12461
12462fi
12463if test -z "$ac_cv_path_PKG_CONFIG"; then
12464  ac_pt_PKG_CONFIG=$PKG_CONFIG
12465  # Extract the first word of "pkg-config", so it can be a program name with args.
12466set dummy pkg-config; ac_word=$2
12467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12468$as_echo_n "checking for $ac_word... " >&6; }
12469if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12470  $as_echo_n "(cached) " >&6
12471else
12472  case $ac_pt_PKG_CONFIG in
12473  [\\/]* | ?:[\\/]*)
12474  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12475  ;;
12476  *)
12477  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12478for as_dir in $PATH
12479do
12480  IFS=$as_save_IFS
12481  test -z "$as_dir" && as_dir=.
12482    for ac_exec_ext in '' $ac_executable_extensions; do
12483  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12484    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12485    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12486    break 2
12487  fi
12488done
12489  done
12490IFS=$as_save_IFS
12491
12492  ;;
12493esac
12494fi
12495ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12496if test -n "$ac_pt_PKG_CONFIG"; then
12497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12498$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12499else
12500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12501$as_echo "no" >&6; }
12502fi
12503
12504  if test "x$ac_pt_PKG_CONFIG" = x; then
12505    PKG_CONFIG=""
12506  else
12507    case $cross_compiling:$ac_tool_warned in
12508yes:)
12509{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12510$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12511ac_tool_warned=yes ;;
12512esac
12513    PKG_CONFIG=$ac_pt_PKG_CONFIG
12514  fi
12515else
12516  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12517fi
12518
12519fi
12520if test -n "$PKG_CONFIG"; then
12521	_pkg_min_version=0.9.0
12522	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12523$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12524	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12525		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12526$as_echo "yes" >&6; }
12527	else
12528		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12529$as_echo "no" >&6; }
12530		PKG_CONFIG=""
12531	fi
12532fi
12533
12534pkg_failed=no
12535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEE" >&5
12536$as_echo_n "checking for DEE... " >&6; }
12537
12538if test -n "$DEE_CFLAGS"; then
12539    pkg_cv_DEE_CFLAGS="$DEE_CFLAGS"
12540 elif test -n "$PKG_CONFIG"; then
12541    if test -n "$PKG_CONFIG" && \
12542    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0     >= 2.32
12543                  gthread-2.0  >= 2.32
12544                  gobject-2.0  >= 2.32
12545                  gio-2.0      >= 2.32
12546                  gio-unix-2.0 >= 2.32
12547                 \""; } >&5
12548  ($PKG_CONFIG --exists --print-errors "glib-2.0     >= 2.32
12549                  gthread-2.0  >= 2.32
12550                  gobject-2.0  >= 2.32
12551                  gio-2.0      >= 2.32
12552                  gio-unix-2.0 >= 2.32
12553                 ") 2>&5
12554  ac_status=$?
12555  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12556  test $ac_status = 0; }; then
12557  pkg_cv_DEE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0     >= 2.32
12558                  gthread-2.0  >= 2.32
12559                  gobject-2.0  >= 2.32
12560                  gio-2.0      >= 2.32
12561                  gio-unix-2.0 >= 2.32
12562                 " 2>/dev/null`
12563		      test "x$?" != "x0" && pkg_failed=yes
12564else
12565  pkg_failed=yes
12566fi
12567 else
12568    pkg_failed=untried
12569fi
12570if test -n "$DEE_LIBS"; then
12571    pkg_cv_DEE_LIBS="$DEE_LIBS"
12572 elif test -n "$PKG_CONFIG"; then
12573    if test -n "$PKG_CONFIG" && \
12574    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0     >= 2.32
12575                  gthread-2.0  >= 2.32
12576                  gobject-2.0  >= 2.32
12577                  gio-2.0      >= 2.32
12578                  gio-unix-2.0 >= 2.32
12579                 \""; } >&5
12580  ($PKG_CONFIG --exists --print-errors "glib-2.0     >= 2.32
12581                  gthread-2.0  >= 2.32
12582                  gobject-2.0  >= 2.32
12583                  gio-2.0      >= 2.32
12584                  gio-unix-2.0 >= 2.32
12585                 ") 2>&5
12586  ac_status=$?
12587  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12588  test $ac_status = 0; }; then
12589  pkg_cv_DEE_LIBS=`$PKG_CONFIG --libs "glib-2.0     >= 2.32
12590                  gthread-2.0  >= 2.32
12591                  gobject-2.0  >= 2.32
12592                  gio-2.0      >= 2.32
12593                  gio-unix-2.0 >= 2.32
12594                 " 2>/dev/null`
12595		      test "x$?" != "x0" && pkg_failed=yes
12596else
12597  pkg_failed=yes
12598fi
12599 else
12600    pkg_failed=untried
12601fi
12602
12603
12604
12605if test $pkg_failed = yes; then
12606   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12607$as_echo "no" >&6; }
12608
12609if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12610        _pkg_short_errors_supported=yes
12611else
12612        _pkg_short_errors_supported=no
12613fi
12614        if test $_pkg_short_errors_supported = yes; then
12615	        DEE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0     >= 2.32
12616                  gthread-2.0  >= 2.32
12617                  gobject-2.0  >= 2.32
12618                  gio-2.0      >= 2.32
12619                  gio-unix-2.0 >= 2.32
12620                 " 2>&1`
12621        else
12622	        DEE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0     >= 2.32
12623                  gthread-2.0  >= 2.32
12624                  gobject-2.0  >= 2.32
12625                  gio-2.0      >= 2.32
12626                  gio-unix-2.0 >= 2.32
12627                 " 2>&1`
12628        fi
12629	# Put the nasty error message in config.log where it belongs
12630	echo "$DEE_PKG_ERRORS" >&5
12631
12632	as_fn_error $? "Package requirements (glib-2.0     >= 2.32
12633                  gthread-2.0  >= 2.32
12634                  gobject-2.0  >= 2.32
12635                  gio-2.0      >= 2.32
12636                  gio-unix-2.0 >= 2.32
12637                 ) were not met:
12638
12639$DEE_PKG_ERRORS
12640
12641Consider adjusting the PKG_CONFIG_PATH environment variable if you
12642installed software in a non-standard prefix.
12643
12644Alternatively, you may set the environment variables DEE_CFLAGS
12645and DEE_LIBS to avoid the need to call pkg-config.
12646See the pkg-config man page for more details." "$LINENO" 5
12647elif test $pkg_failed = untried; then
12648     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12649$as_echo "no" >&6; }
12650	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12651$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12652as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12653is in your PATH or set the PKG_CONFIG environment variable to the full
12654path to pkg-config.
12655
12656Alternatively, you may set the environment variables DEE_CFLAGS
12657and DEE_LIBS to avoid the need to call pkg-config.
12658See the pkg-config man page for more details.
12659
12660To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12661See \`config.log' for more details" "$LINENO" 5; }
12662else
12663	DEE_CFLAGS=$pkg_cv_DEE_CFLAGS
12664	DEE_LIBS=$pkg_cv_DEE_LIBS
12665        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12666$as_echo "yes" >&6; }
12667
12668fi
12669
12670
12671
12672
12673if test "x$GCC" = "xyes"; then
12674  GCC_FLAGS="-g -Wall"
12675fi
12676
12677
12678
12679# Check whether --enable-maintainer-flags was given.
12680if test "${enable_maintainer_flags+set}" = set; then :
12681  enableval=$enable_maintainer_flags;
12682else
12683  enable_maintainer_flags=yes
12684fi
12685
12686
12687MAINTAINER_CFLAGS=""
12688if test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"; then :
12689
12690        MAINTAINER_CFLAGS="-Wall -Wcast-align -Wno-uninitialized -Wempty-body -Wformat-security -Winit-self -Wno-error=deprecated-declarations"
12691
12692
12693fi
12694
12695
12696
12697
12698
12699
12700                # Check whether --enable-introspection was given.
12701if test "${enable_introspection+set}" = set; then :
12702  enableval=$enable_introspection;
12703else
12704  enable_introspection=auto
12705fi
12706
12707
12708    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
12709$as_echo_n "checking for gobject-introspection... " >&6; }
12710
12711        case $enable_introspection in #(
12712  no) :
12713            found_introspection="no (disabled, use --enable-introspection to enable)"
12714     ;; #(
12715      yes) :
12716            if test -n "$PKG_CONFIG" && \
12717    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
12718  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
12719  ac_status=$?
12720  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12721  test $ac_status = 0; }; then
12722  :
12723else
12724  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
12725fi
12726        if test -n "$PKG_CONFIG" && \
12727    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.10.2\""; } >&5
12728  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.10.2") 2>&5
12729  ac_status=$?
12730  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12731  test $ac_status = 0; }; then
12732  found_introspection=yes
12733else
12734  as_fn_error $? "You need to have gobject-introspection >= 0.10.2 installed to build dee" "$LINENO" 5
12735fi
12736     ;; #(
12737      auto) :
12738            if test -n "$PKG_CONFIG" && \
12739    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.10.2\""; } >&5
12740  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.10.2") 2>&5
12741  ac_status=$?
12742  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12743  test $ac_status = 0; }; then
12744  found_introspection=yes
12745else
12746  found_introspection=no
12747fi
12748     ;; #(
12749  *) :
12750                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
12751     ;;
12752esac
12753    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
12754$as_echo "$found_introspection" >&6; }
12755
12756    INTROSPECTION_SCANNER=
12757    INTROSPECTION_COMPILER=
12758    INTROSPECTION_GENERATE=
12759    INTROSPECTION_GIRDIR=
12760    INTROSPECTION_TYPELIBDIR=
12761    if test "x$found_introspection" = "xyes"; then
12762       INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
12763       INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
12764       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
12765       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
12766       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
12767       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
12768       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
12769       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
12770    fi
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780     if test "x$found_introspection" = "xyes"; then
12781  HAVE_INTROSPECTION_TRUE=
12782  HAVE_INTROSPECTION_FALSE='#'
12783else
12784  HAVE_INTROSPECTION_TRUE='#'
12785  HAVE_INTROSPECTION_FALSE=
12786fi
12787
12788
12789
12790
12791
12792
12793
12794    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12795set dummy gtkdoc-check; ac_word=$2
12796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12797$as_echo_n "checking for $ac_word... " >&6; }
12798if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12799  $as_echo_n "(cached) " >&6
12800else
12801  case $GTKDOC_CHECK in
12802  [\\/]* | ?:[\\/]*)
12803  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12804  ;;
12805  *)
12806  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12807for as_dir in $PATH
12808do
12809  IFS=$as_save_IFS
12810  test -z "$as_dir" && as_dir=.
12811    for ac_exec_ext in '' $ac_executable_extensions; do
12812  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12813    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12814    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12815    break 2
12816  fi
12817done
12818  done
12819IFS=$as_save_IFS
12820
12821  ;;
12822esac
12823fi
12824GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12825if test -n "$GTKDOC_CHECK"; then
12826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12827$as_echo "$GTKDOC_CHECK" >&6; }
12828else
12829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12830$as_echo "no" >&6; }
12831fi
12832
12833
12834  for ac_prog in gtkdoc-rebase
12835do
12836  # Extract the first word of "$ac_prog", so it can be a program name with args.
12837set dummy $ac_prog; ac_word=$2
12838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12839$as_echo_n "checking for $ac_word... " >&6; }
12840if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12841  $as_echo_n "(cached) " >&6
12842else
12843  case $GTKDOC_REBASE in
12844  [\\/]* | ?:[\\/]*)
12845  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12846  ;;
12847  *)
12848  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12849for as_dir in $PATH
12850do
12851  IFS=$as_save_IFS
12852  test -z "$as_dir" && as_dir=.
12853    for ac_exec_ext in '' $ac_executable_extensions; do
12854  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12855    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12856    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12857    break 2
12858  fi
12859done
12860  done
12861IFS=$as_save_IFS
12862
12863  ;;
12864esac
12865fi
12866GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12867if test -n "$GTKDOC_REBASE"; then
12868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12869$as_echo "$GTKDOC_REBASE" >&6; }
12870else
12871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12872$as_echo "no" >&6; }
12873fi
12874
12875
12876  test -n "$GTKDOC_REBASE" && break
12877done
12878test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12879
12880  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12881set dummy gtkdoc-mkpdf; ac_word=$2
12882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12883$as_echo_n "checking for $ac_word... " >&6; }
12884if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12885  $as_echo_n "(cached) " >&6
12886else
12887  case $GTKDOC_MKPDF in
12888  [\\/]* | ?:[\\/]*)
12889  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12890  ;;
12891  *)
12892  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12893for as_dir in $PATH
12894do
12895  IFS=$as_save_IFS
12896  test -z "$as_dir" && as_dir=.
12897    for ac_exec_ext in '' $ac_executable_extensions; do
12898  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12899    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12900    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12901    break 2
12902  fi
12903done
12904  done
12905IFS=$as_save_IFS
12906
12907  ;;
12908esac
12909fi
12910GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12911if test -n "$GTKDOC_MKPDF"; then
12912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12913$as_echo "$GTKDOC_MKPDF" >&6; }
12914else
12915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12916$as_echo "no" >&6; }
12917fi
12918
12919
12920
12921
12922# Check whether --with-html-dir was given.
12923if test "${with_html_dir+set}" = set; then :
12924  withval=$with_html_dir;
12925else
12926  with_html_dir='${datadir}/gtk-doc/html'
12927fi
12928
12929  HTML_DIR="$with_html_dir"
12930
12931
12932    # Check whether --enable-gtk-doc was given.
12933if test "${enable_gtk_doc+set}" = set; then :
12934  enableval=$enable_gtk_doc;
12935else
12936  enable_gtk_doc=no
12937fi
12938
12939
12940  if test x$enable_gtk_doc = xyes; then
12941    if test -n "$PKG_CONFIG" && \
12942    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.8\""; } >&5
12943  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.8") 2>&5
12944  ac_status=$?
12945  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12946  test $ac_status = 0; }; then
12947  :
12948else
12949  as_fn_error $? "You need to have gtk-doc >= 1.8 installed to build $PACKAGE_NAME" "$LINENO" 5
12950fi
12951        if test "x$PACKAGE_NAME" != "xglib"; then
12952
12953pkg_failed=no
12954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12955$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12956
12957if test -n "$GTKDOC_DEPS_CFLAGS"; then
12958    pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12959 elif test -n "$PKG_CONFIG"; then
12960    if test -n "$PKG_CONFIG" && \
12961    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
12962  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12963  ac_status=$?
12964  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12965  test $ac_status = 0; }; then
12966  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12967		      test "x$?" != "x0" && pkg_failed=yes
12968else
12969  pkg_failed=yes
12970fi
12971 else
12972    pkg_failed=untried
12973fi
12974if test -n "$GTKDOC_DEPS_LIBS"; then
12975    pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12976 elif test -n "$PKG_CONFIG"; then
12977    if test -n "$PKG_CONFIG" && \
12978    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
12979  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12980  ac_status=$?
12981  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12982  test $ac_status = 0; }; then
12983  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12984		      test "x$?" != "x0" && pkg_failed=yes
12985else
12986  pkg_failed=yes
12987fi
12988 else
12989    pkg_failed=untried
12990fi
12991
12992
12993
12994if test $pkg_failed = yes; then
12995   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12996$as_echo "no" >&6; }
12997
12998if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12999        _pkg_short_errors_supported=yes
13000else
13001        _pkg_short_errors_supported=no
13002fi
13003        if test $_pkg_short_errors_supported = yes; then
13004	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
13005        else
13006	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
13007        fi
13008	# Put the nasty error message in config.log where it belongs
13009	echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13010
13011	:
13012elif test $pkg_failed = untried; then
13013     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13014$as_echo "no" >&6; }
13015	:
13016else
13017	GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13018	GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13019        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13020$as_echo "yes" >&6; }
13021
13022fi
13023    fi
13024  fi
13025
13026  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13027$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13029$as_echo "$enable_gtk_doc" >&6; }
13030
13031    # Check whether --enable-gtk-doc-html was given.
13032if test "${enable_gtk_doc_html+set}" = set; then :
13033  enableval=$enable_gtk_doc_html;
13034else
13035  enable_gtk_doc_html=yes
13036fi
13037
13038    # Check whether --enable-gtk-doc-pdf was given.
13039if test "${enable_gtk_doc_pdf+set}" = set; then :
13040  enableval=$enable_gtk_doc_pdf;
13041else
13042  enable_gtk_doc_pdf=no
13043fi
13044
13045
13046  if test -z "$GTKDOC_MKPDF"; then
13047    enable_gtk_doc_pdf=no
13048  fi
13049
13050  if test -z "$AM_DEFAULT_VERBOSITY"; then
13051    AM_DEFAULT_VERBOSITY=1
13052  fi
13053
13054
13055   if test x$enable_gtk_doc = xyes; then
13056  ENABLE_GTK_DOC_TRUE=
13057  ENABLE_GTK_DOC_FALSE='#'
13058else
13059  ENABLE_GTK_DOC_TRUE='#'
13060  ENABLE_GTK_DOC_FALSE=
13061fi
13062
13063   if test x$enable_gtk_doc_html = xyes; then
13064  GTK_DOC_BUILD_HTML_TRUE=
13065  GTK_DOC_BUILD_HTML_FALSE='#'
13066else
13067  GTK_DOC_BUILD_HTML_TRUE='#'
13068  GTK_DOC_BUILD_HTML_FALSE=
13069fi
13070
13071   if test x$enable_gtk_doc_pdf = xyes; then
13072  GTK_DOC_BUILD_PDF_TRUE=
13073  GTK_DOC_BUILD_PDF_FALSE='#'
13074else
13075  GTK_DOC_BUILD_PDF_TRUE='#'
13076  GTK_DOC_BUILD_PDF_FALSE=
13077fi
13078
13079   if test -n "$LIBTOOL"; then
13080  GTK_DOC_USE_LIBTOOL_TRUE=
13081  GTK_DOC_USE_LIBTOOL_FALSE='#'
13082else
13083  GTK_DOC_USE_LIBTOOL_TRUE='#'
13084  GTK_DOC_USE_LIBTOOL_FALSE=
13085fi
13086
13087   if test -n "$GTKDOC_REBASE"; then
13088  GTK_DOC_USE_REBASE_TRUE=
13089  GTK_DOC_USE_REBASE_FALSE='#'
13090else
13091  GTK_DOC_USE_REBASE_TRUE='#'
13092  GTK_DOC_USE_REBASE_FALSE=
13093fi
13094
13095
13096
13097# Check whether --enable-tests was given.
13098if test "${enable_tests+set}" = set; then :
13099  enableval=$enable_tests;
13100else
13101  enable_tests=yes
13102fi
13103
13104
13105 if test "x$enable_tests" != "xno"; then
13106  WANT_TESTS_TRUE=
13107  WANT_TESTS_FALSE='#'
13108else
13109  WANT_TESTS_TRUE='#'
13110  WANT_TESTS_FALSE=
13111fi
13112
13113
13114###########################
13115# gcov coverage reporting
13116###########################
13117
13118  # Check whether --enable-gcov was given.
13119if test "${enable_gcov+set}" = set; then :
13120  enableval=$enable_gcov; use_gcov=$enableval
13121else
13122  use_gcov=no
13123fi
13124
13125
13126   if test "x$use_gcov" = "xyes"; then
13127  HAVE_GCOV_TRUE=
13128  HAVE_GCOV_FALSE='#'
13129else
13130  HAVE_GCOV_TRUE='#'
13131  HAVE_GCOV_FALSE=
13132fi
13133
13134
13135  if test "x$use_gcov" = "xyes"; then
13136  # we need gcc:
13137  if test "$GCC" != "yes"; then
13138    as_fn_error $? "GCC is required for --enable-gcov" "$LINENO" 5
13139  fi
13140
13141  # Check if ccache is being used
13142  # Extract the first word of "shtool", so it can be a program name with args.
13143set dummy shtool; ac_word=$2
13144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13145$as_echo_n "checking for $ac_word... " >&6; }
13146if ${ac_cv_prog_SHTOOL+:} false; then :
13147  $as_echo_n "(cached) " >&6
13148else
13149  if test -n "$SHTOOL"; then
13150  ac_cv_prog_SHTOOL="$SHTOOL" # Let the user override the test.
13151else
13152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13153for as_dir in $PATH
13154do
13155  IFS=$as_save_IFS
13156  test -z "$as_dir" && as_dir=.
13157    for ac_exec_ext in '' $ac_executable_extensions; do
13158  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13159    ac_cv_prog_SHTOOL="shtool"
13160    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13161    break 2
13162  fi
13163done
13164  done
13165IFS=$as_save_IFS
13166
13167fi
13168fi
13169SHTOOL=$ac_cv_prog_SHTOOL
13170if test -n "$SHTOOL"; then
13171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
13172$as_echo "$SHTOOL" >&6; }
13173else
13174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13175$as_echo "no" >&6; }
13176fi
13177
13178
13179  if test "$SHTOOL"; then
13180    case `$SHTOOL path $CC` in #(
13181  *ccache*) :
13182    gcc_ccache=yes ;; #(
13183  *) :
13184    gcc_ccache=no ;;
13185esac
13186  fi
13187
13188  if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
13189    as_fn_error $? "ccache must be disabled when --enable-gcov option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1." "$LINENO" 5
13190  fi
13191
13192  lcov_version_list="1.6 1.7 1.8 1.9"
13193  # Extract the first word of "lcov", so it can be a program name with args.
13194set dummy lcov; ac_word=$2
13195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13196$as_echo_n "checking for $ac_word... " >&6; }
13197if ${ac_cv_prog_LCOV+:} false; then :
13198  $as_echo_n "(cached) " >&6
13199else
13200  if test -n "$LCOV"; then
13201  ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
13202else
13203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13204for as_dir in $PATH
13205do
13206  IFS=$as_save_IFS
13207  test -z "$as_dir" && as_dir=.
13208    for ac_exec_ext in '' $ac_executable_extensions; do
13209  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13210    ac_cv_prog_LCOV="lcov"
13211    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13212    break 2
13213  fi
13214done
13215  done
13216IFS=$as_save_IFS
13217
13218fi
13219fi
13220LCOV=$ac_cv_prog_LCOV
13221if test -n "$LCOV"; then
13222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
13223$as_echo "$LCOV" >&6; }
13224else
13225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13226$as_echo "no" >&6; }
13227fi
13228
13229
13230  # Extract the first word of "genhtml", so it can be a program name with args.
13231set dummy genhtml; ac_word=$2
13232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13233$as_echo_n "checking for $ac_word... " >&6; }
13234if ${ac_cv_prog_GENHTML+:} false; then :
13235  $as_echo_n "(cached) " >&6
13236else
13237  if test -n "$GENHTML"; then
13238  ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
13239else
13240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13241for as_dir in $PATH
13242do
13243  IFS=$as_save_IFS
13244  test -z "$as_dir" && as_dir=.
13245    for ac_exec_ext in '' $ac_executable_extensions; do
13246  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13247    ac_cv_prog_GENHTML="genhtml"
13248    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13249    break 2
13250  fi
13251done
13252  done
13253IFS=$as_save_IFS
13254
13255fi
13256fi
13257GENHTML=$ac_cv_prog_GENHTML
13258if test -n "$GENHTML"; then
13259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
13260$as_echo "$GENHTML" >&6; }
13261else
13262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13263$as_echo "no" >&6; }
13264fi
13265
13266
13267
13268  if test "$LCOV"; then
13269    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcov version" >&5
13270$as_echo_n "checking for lcov version... " >&6; }
13271if ${glib_cv_lcov_version+:} false; then :
13272  $as_echo_n "(cached) " >&6
13273else
13274
13275      glib_cv_lcov_version=invalid
13276      lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'`
13277      for lcov_check_version in $lcov_version_list; do
13278        if test "$lcov_version" = "$lcov_check_version"; then
13279          glib_cv_lcov_version="$lcov_check_version (ok)"
13280        fi
13281      done
13282
13283fi
13284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_lcov_version" >&5
13285$as_echo "$glib_cv_lcov_version" >&6; }
13286  else
13287    lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list"
13288    as_fn_error $? "$lcov_msg" "$LINENO" 5
13289  fi
13290
13291  case $glib_cv_lcov_version in
13292    ""|invalid)
13293      lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)."
13294      as_fn_error $? "$lcov_msg" "$LINENO" 5
13295      LCOV="exit 0;"
13296      ;;
13297  esac
13298
13299  if test -z "$GENHTML"; then
13300    as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5
13301  fi
13302
13303  ac_cv_check_gcov=yes
13304  ac_cv_check_lcov=yes
13305
13306  # Remove all optimization flags from CFLAGS
13307
13308  CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
13309
13310
13311  # Add the special gcc flags
13312  COVERAGE_CFLAGS="-O0 --coverage"
13313  COVERAGE_CXXFLAGS="-O0 --coverage"
13314  COVERAGE_LDFLAGS="-lgcov"
13315
13316  # Check availability of gcovr
13317  # Extract the first word of "gcovr", so it can be a program name with args.
13318set dummy gcovr; ac_word=$2
13319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13320$as_echo_n "checking for $ac_word... " >&6; }
13321if ${ac_cv_prog_GCOVR+:} false; then :
13322  $as_echo_n "(cached) " >&6
13323else
13324  if test -n "$GCOVR"; then
13325  ac_cv_prog_GCOVR="$GCOVR" # Let the user override the test.
13326else
13327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13328for as_dir in $PATH
13329do
13330  IFS=$as_save_IFS
13331  test -z "$as_dir" && as_dir=.
13332    for ac_exec_ext in '' $ac_executable_extensions; do
13333  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13334    ac_cv_prog_GCOVR="gcovr"
13335    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13336    break 2
13337  fi
13338done
13339  done
13340IFS=$as_save_IFS
13341
13342fi
13343fi
13344GCOVR=$ac_cv_prog_GCOVR
13345if test -n "$GCOVR"; then
13346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOVR" >&5
13347$as_echo "$GCOVR" >&6; }
13348else
13349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13350$as_echo "no" >&6; }
13351fi
13352
13353
13354  if test -z "$GCOVR"; then
13355    ac_cv_check_gcovr=no
13356  else
13357    ac_cv_check_gcovr=yes
13358  fi
13359fi
13360
13361 if test "x$ac_cv_check_gcov" = xyes; then
13362  HAVE_GCOV_TRUE=
13363  HAVE_GCOV_FALSE='#'
13364else
13365  HAVE_GCOV_TRUE='#'
13366  HAVE_GCOV_FALSE=
13367fi
13368
13369 if test "x$ac_cv_check_lcov" = xyes; then
13370  HAVE_LCOV_TRUE=
13371  HAVE_LCOV_FALSE='#'
13372else
13373  HAVE_LCOV_TRUE='#'
13374  HAVE_LCOV_FALSE=
13375fi
13376
13377 if test "x$ac_cv_check_gcovr" = xyes; then
13378  HAVE_GCOVR_TRUE=
13379  HAVE_GCOVR_FALSE='#'
13380else
13381  HAVE_GCOVR_TRUE='#'
13382  HAVE_GCOVR_FALSE=
13383fi
13384
13385
13386
13387
13388# Check whether --enable-extended-tests was given.
13389if test "${enable_extended_tests+set}" = set; then :
13390  enableval=$enable_extended_tests;
13391else
13392  enable_extended_tests=no
13393fi
13394
13395
13396if test "x$enable_extended_tests" = "xyes"; then
13397	if test -z "$WANT_TESTS_TRUE"; then :
13398  else
13399
13400		as_fn_error $? "extended tests require tests support, please --enable-tests" "$LINENO" 5
13401
13402fi
13403
13404$as_echo "#define HAVE_GTX 1" >>confdefs.h
13405
13406
13407
13408pkg_failed=no
13409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTX" >&5
13410$as_echo_n "checking for GTX... " >&6; }
13411
13412if test -n "$GTX_CFLAGS"; then
13413    pkg_cv_GTX_CFLAGS="$GTX_CFLAGS"
13414 elif test -n "$PKG_CONFIG"; then
13415    if test -n "$PKG_CONFIG" && \
13416    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtx >= 0.2.2 \""; } >&5
13417  ($PKG_CONFIG --exists --print-errors " gtx >= 0.2.2 ") 2>&5
13418  ac_status=$?
13419  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13420  test $ac_status = 0; }; then
13421  pkg_cv_GTX_CFLAGS=`$PKG_CONFIG --cflags " gtx >= 0.2.2 " 2>/dev/null`
13422		      test "x$?" != "x0" && pkg_failed=yes
13423else
13424  pkg_failed=yes
13425fi
13426 else
13427    pkg_failed=untried
13428fi
13429if test -n "$GTX_LIBS"; then
13430    pkg_cv_GTX_LIBS="$GTX_LIBS"
13431 elif test -n "$PKG_CONFIG"; then
13432    if test -n "$PKG_CONFIG" && \
13433    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtx >= 0.2.2 \""; } >&5
13434  ($PKG_CONFIG --exists --print-errors " gtx >= 0.2.2 ") 2>&5
13435  ac_status=$?
13436  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13437  test $ac_status = 0; }; then
13438  pkg_cv_GTX_LIBS=`$PKG_CONFIG --libs " gtx >= 0.2.2 " 2>/dev/null`
13439		      test "x$?" != "x0" && pkg_failed=yes
13440else
13441  pkg_failed=yes
13442fi
13443 else
13444    pkg_failed=untried
13445fi
13446
13447
13448
13449if test $pkg_failed = yes; then
13450   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13451$as_echo "no" >&6; }
13452
13453if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13454        _pkg_short_errors_supported=yes
13455else
13456        _pkg_short_errors_supported=no
13457fi
13458        if test $_pkg_short_errors_supported = yes; then
13459	        GTX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " gtx >= 0.2.2 " 2>&1`
13460        else
13461	        GTX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " gtx >= 0.2.2 " 2>&1`
13462        fi
13463	# Put the nasty error message in config.log where it belongs
13464	echo "$GTX_PKG_ERRORS" >&5
13465
13466	as_fn_error $? "Package requirements ( gtx >= 0.2.2 ) were not met:
13467
13468$GTX_PKG_ERRORS
13469
13470Consider adjusting the PKG_CONFIG_PATH environment variable if you
13471installed software in a non-standard prefix.
13472
13473Alternatively, you may set the environment variables GTX_CFLAGS
13474and GTX_LIBS to avoid the need to call pkg-config.
13475See the pkg-config man page for more details." "$LINENO" 5
13476elif test $pkg_failed = untried; then
13477     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13478$as_echo "no" >&6; }
13479	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13480$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13481as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13482is in your PATH or set the PKG_CONFIG environment variable to the full
13483path to pkg-config.
13484
13485Alternatively, you may set the environment variables GTX_CFLAGS
13486and GTX_LIBS to avoid the need to call pkg-config.
13487See the pkg-config man page for more details.
13488
13489To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13490See \`config.log' for more details" "$LINENO" 5; }
13491else
13492	GTX_CFLAGS=$pkg_cv_GTX_CFLAGS
13493	GTX_LIBS=$pkg_cv_GTX_LIBS
13494        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13495$as_echo "yes" >&6; }
13496
13497fi
13498
13499
13500fi
13501
13502 if test "$enable_extended_tests" = "yes"; then
13503  HAVE_GTX_TRUE=
13504  HAVE_GTX_FALSE='#'
13505else
13506  HAVE_GTX_TRUE='#'
13507  HAVE_GTX_FALSE=
13508fi
13509
13510
13511# Check whether --enable-trace-log was given.
13512if test "${enable_trace_log+set}" = set; then :
13513  enableval=$enable_trace_log;
13514else
13515  enable_trace_log=no
13516fi
13517
13518
13519if test "x$enable_trace_log" = "xyes"; then
13520
13521$as_echo "#define ENABLE_TRACE_LOG 1" >>confdefs.h
13522
13523fi
13524
13525 if test "$enable_trace_log" = "yes"; then
13526  ENABLE_TRACE_LOG_TRUE=
13527  ENABLE_TRACE_LOG_FALSE='#'
13528else
13529  ENABLE_TRACE_LOG_TRUE='#'
13530  ENABLE_TRACE_LOG_FALSE=
13531fi
13532
13533
13534
13535# Extract the first word of "glib-mkenums", so it can be a program name with args.
13536set dummy glib-mkenums; ac_word=$2
13537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13538$as_echo_n "checking for $ac_word... " >&6; }
13539if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
13540  $as_echo_n "(cached) " >&6
13541else
13542  case $GLIB_MKENUMS in
13543  [\\/]* | ?:[\\/]*)
13544  ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
13545  ;;
13546  *)
13547  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13548for as_dir in $PATH
13549do
13550  IFS=$as_save_IFS
13551  test -z "$as_dir" && as_dir=.
13552    for ac_exec_ext in '' $ac_executable_extensions; do
13553  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13554    ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
13555    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13556    break 2
13557  fi
13558done
13559  done
13560IFS=$as_save_IFS
13561
13562  ;;
13563esac
13564fi
13565GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
13566if test -n "$GLIB_MKENUMS"; then
13567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
13568$as_echo "$GLIB_MKENUMS" >&6; }
13569else
13570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13571$as_echo "no" >&6; }
13572fi
13573
13574
13575
13576
13577# Extract the first word of "glib-genmarshal", so it can be a program name with args.
13578set dummy glib-genmarshal; ac_word=$2
13579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13580$as_echo_n "checking for $ac_word... " >&6; }
13581if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
13582  $as_echo_n "(cached) " >&6
13583else
13584  case $GLIB_GENMARSHAL in
13585  [\\/]* | ?:[\\/]*)
13586  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
13587  ;;
13588  *)
13589  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13590for as_dir in $PATH
13591do
13592  IFS=$as_save_IFS
13593  test -z "$as_dir" && as_dir=.
13594    for ac_exec_ext in '' $ac_executable_extensions; do
13595  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13596    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
13597    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13598    break 2
13599  fi
13600done
13601  done
13602IFS=$as_save_IFS
13603
13604  ;;
13605esac
13606fi
13607GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
13608if test -n "$GLIB_GENMARSHAL"; then
13609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
13610$as_echo "$GLIB_GENMARSHAL" >&6; }
13611else
13612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13613$as_echo "no" >&6; }
13614fi
13615
13616
13617
13618
13619
13620# Extract the first word of "vapigen", so it can be a program name with args.
13621set dummy vapigen; ac_word=$2
13622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13623$as_echo_n "checking for $ac_word... " >&6; }
13624if ${ac_cv_path_VALA_API_GEN+:} false; then :
13625  $as_echo_n "(cached) " >&6
13626else
13627  case $VALA_API_GEN in
13628  [\\/]* | ?:[\\/]*)
13629  ac_cv_path_VALA_API_GEN="$VALA_API_GEN" # Let the user override the test with a path.
13630  ;;
13631  *)
13632  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13633for as_dir in $PATH
13634do
13635  IFS=$as_save_IFS
13636  test -z "$as_dir" && as_dir=.
13637    for ac_exec_ext in '' $ac_executable_extensions; do
13638  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13639    ac_cv_path_VALA_API_GEN="$as_dir/$ac_word$ac_exec_ext"
13640    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13641    break 2
13642  fi
13643done
13644  done
13645IFS=$as_save_IFS
13646
13647  ;;
13648esac
13649fi
13650VALA_API_GEN=$ac_cv_path_VALA_API_GEN
13651if test -n "$VALA_API_GEN"; then
13652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALA_API_GEN" >&5
13653$as_echo "$VALA_API_GEN" >&6; }
13654else
13655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13656$as_echo "no" >&6; }
13657fi
13658
13659
13660 if test "x$VALA_API_GEN" != "x"; then
13661  HAVE_VAPIGEN_TRUE=
13662  HAVE_VAPIGEN_FALSE='#'
13663else
13664  HAVE_VAPIGEN_TRUE='#'
13665  HAVE_VAPIGEN_FALSE=
13666fi
13667
13668
13669# Check whether --enable-icu was given.
13670if test "${enable_icu+set}" = set; then :
13671  enableval=$enable_icu;
13672else
13673  enable_icu=yes
13674fi
13675
13676
13677if test "x$enable_icu" = "xyes"; then
13678	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13679/* end confdefs.h.  */
13680
13681	#include "unicode/uvernum.h"
13682	#if U_ICU_VERSION_MAJOR_NUM < 4
13683	#error Dee ICU requires at least ICU v4.6
13684	#elif U_ICU_VERSION_MAJOR_NUM == 4 && U_ICU_VERSION_MINOR_NUM < 6
13685	#error Dee ICU requires at least ICU v4.6
13686	#endif
13687int
13688main ()
13689{
13690
13691  ;
13692  return 0;
13693}
13694_ACEOF
13695if ac_fn_c_try_cpp "$LINENO"; then :
13696  icu_available=yes
13697else
13698  icu_available=no
13699fi
13700rm -f conftest.err conftest.i conftest.$ac_ext
13701
13702	if test "x$icu_available" = "xyes"; then
13703
13704$as_echo "#define HAVE_ICU 1" >>confdefs.h
13705
13706		ICU_CFLAGS="$(icu-config --cflags)"
13707		ICU_LIBS="$(icu-config --ldflags-libsonly)"
13708
13709
13710		ac_config_files="$ac_config_files dee-icu-1.0.pc"
13711
13712cat >confcache <<\_ACEOF
13713# This file is a shell script that caches the results of configure
13714# tests run on this system so they can be shared between configure
13715# scripts and configure runs, see configure's option --config-cache.
13716# It is not useful on other systems.  If it contains results you don't
13717# want to keep, you may remove or edit it.
13718#
13719# config.status only pays attention to the cache file if you give it
13720# the --recheck option to rerun configure.
13721#
13722# `ac_cv_env_foo' variables (set or unset) will be overridden when
13723# loading this file, other *unset* `ac_cv_foo' will be assigned the
13724# following values.
13725
13726_ACEOF
13727
13728# The following way of writing the cache mishandles newlines in values,
13729# but we know of no workaround that is simple, portable, and efficient.
13730# So, we kill variables containing newlines.
13731# Ultrix sh set writes to stderr and can't be redirected directly,
13732# and sets the high bit in the cache file unless we assign to the vars.
13733(
13734  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13735    eval ac_val=\$$ac_var
13736    case $ac_val in #(
13737    *${as_nl}*)
13738      case $ac_var in #(
13739      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13740$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13741      esac
13742      case $ac_var in #(
13743      _ | IFS | as_nl) ;; #(
13744      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13745      *) { eval $ac_var=; unset $ac_var;} ;;
13746      esac ;;
13747    esac
13748  done
13749
13750  (set) 2>&1 |
13751    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13752    *${as_nl}ac_space=\ *)
13753      # `set' does not quote correctly, so add quotes: double-quote
13754      # substitution turns \\\\ into \\, and sed turns \\ into \.
13755      sed -n \
13756	"s/'/'\\\\''/g;
13757	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13758      ;; #(
13759    *)
13760      # `set' quotes correctly as required by POSIX, so do not add quotes.
13761      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13762      ;;
13763    esac |
13764    sort
13765) |
13766  sed '
13767     /^ac_cv_env_/b end
13768     t clear
13769     :clear
13770     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13771     t end
13772     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13773     :end' >>confcache
13774if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13775  if test -w "$cache_file"; then
13776    if test "x$cache_file" != "x/dev/null"; then
13777      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13778$as_echo "$as_me: updating cache $cache_file" >&6;}
13779      if test ! -f "$cache_file" || test -h "$cache_file"; then
13780	cat confcache >"$cache_file"
13781      else
13782        case $cache_file in #(
13783        */* | ?:*)
13784	  mv -f confcache "$cache_file"$$ &&
13785	  mv -f "$cache_file"$$ "$cache_file" ;; #(
13786        *)
13787	  mv -f confcache "$cache_file" ;;
13788	esac
13789      fi
13790    fi
13791  else
13792    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13793$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13794  fi
13795fi
13796rm -f confcache
13797
13798test "x$prefix" = xNONE && prefix=$ac_default_prefix
13799# Let make expand exec_prefix.
13800test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13801
13802DEFS=-DHAVE_CONFIG_H
13803
13804ac_libobjs=
13805ac_ltlibobjs=
13806U=
13807for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13808  # 1. Remove the extension, and $U if already installed.
13809  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13810  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13811  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13812  #    will be set to the directory where LIBOBJS objects are built.
13813  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13814  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13815done
13816LIBOBJS=$ac_libobjs
13817
13818LTLIBOBJS=$ac_ltlibobjs
13819
13820
13821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13822$as_echo_n "checking that generated files are newer than configure... " >&6; }
13823   if test -n "$am_sleep_pid"; then
13824     # Hide warnings about reused PIDs.
13825     wait $am_sleep_pid 2>/dev/null
13826   fi
13827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13828$as_echo "done" >&6; }
13829 if test -n "$EXEEXT"; then
13830  am__EXEEXT_TRUE=
13831  am__EXEEXT_FALSE='#'
13832else
13833  am__EXEEXT_TRUE='#'
13834  am__EXEEXT_FALSE=
13835fi
13836
13837if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13838  as_fn_error $? "conditional \"AMDEP\" was never defined.
13839Usually this means the macro was only invoked conditionally." "$LINENO" 5
13840fi
13841if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13842  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13843Usually this means the macro was only invoked conditionally." "$LINENO" 5
13844fi
13845if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
13846  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
13847Usually this means the macro was only invoked conditionally." "$LINENO" 5
13848fi
13849if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13850  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13851Usually this means the macro was only invoked conditionally." "$LINENO" 5
13852fi
13853if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13854  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13855Usually this means the macro was only invoked conditionally." "$LINENO" 5
13856fi
13857if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13858  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13859Usually this means the macro was only invoked conditionally." "$LINENO" 5
13860fi
13861if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13862  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13863Usually this means the macro was only invoked conditionally." "$LINENO" 5
13864fi
13865if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13866  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13867Usually this means the macro was only invoked conditionally." "$LINENO" 5
13868fi
13869if test -z "${WANT_TESTS_TRUE}" && test -z "${WANT_TESTS_FALSE}"; then
13870  as_fn_error $? "conditional \"WANT_TESTS\" was never defined.
13871Usually this means the macro was only invoked conditionally." "$LINENO" 5
13872fi
13873if test -z "${HAVE_GCOV_TRUE}" && test -z "${HAVE_GCOV_FALSE}"; then
13874  as_fn_error $? "conditional \"HAVE_GCOV\" was never defined.
13875Usually this means the macro was only invoked conditionally." "$LINENO" 5
13876fi
13877if test -z "${HAVE_GCOV_TRUE}" && test -z "${HAVE_GCOV_FALSE}"; then
13878  as_fn_error $? "conditional \"HAVE_GCOV\" was never defined.
13879Usually this means the macro was only invoked conditionally." "$LINENO" 5
13880fi
13881if test -z "${HAVE_LCOV_TRUE}" && test -z "${HAVE_LCOV_FALSE}"; then
13882  as_fn_error $? "conditional \"HAVE_LCOV\" was never defined.
13883Usually this means the macro was only invoked conditionally." "$LINENO" 5
13884fi
13885if test -z "${HAVE_GCOVR_TRUE}" && test -z "${HAVE_GCOVR_FALSE}"; then
13886  as_fn_error $? "conditional \"HAVE_GCOVR\" was never defined.
13887Usually this means the macro was only invoked conditionally." "$LINENO" 5
13888fi
13889if test -z "${HAVE_GTX_TRUE}" && test -z "${HAVE_GTX_FALSE}"; then
13890  as_fn_error $? "conditional \"HAVE_GTX\" was never defined.
13891Usually this means the macro was only invoked conditionally." "$LINENO" 5
13892fi
13893if test -z "${ENABLE_TRACE_LOG_TRUE}" && test -z "${ENABLE_TRACE_LOG_FALSE}"; then
13894  as_fn_error $? "conditional \"ENABLE_TRACE_LOG\" was never defined.
13895Usually this means the macro was only invoked conditionally." "$LINENO" 5
13896fi
13897if test -z "${HAVE_VAPIGEN_TRUE}" && test -z "${HAVE_VAPIGEN_FALSE}"; then
13898  as_fn_error $? "conditional \"HAVE_VAPIGEN\" was never defined.
13899Usually this means the macro was only invoked conditionally." "$LINENO" 5
13900fi
13901
13902: "${CONFIG_STATUS=./config.status}"
13903ac_write_fail=0
13904ac_clean_files_save=$ac_clean_files
13905ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13906{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13907$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13908as_write_fail=0
13909cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13910#! $SHELL
13911# Generated by $as_me.
13912# Run this file to recreate the current configuration.
13913# Compiler output produced by configure, useful for debugging
13914# configure, is in config.log if it exists.
13915
13916debug=false
13917ac_cs_recheck=false
13918ac_cs_silent=false
13919
13920SHELL=\${CONFIG_SHELL-$SHELL}
13921export SHELL
13922_ASEOF
13923cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13924## -------------------- ##
13925## M4sh Initialization. ##
13926## -------------------- ##
13927
13928# Be more Bourne compatible
13929DUALCASE=1; export DUALCASE # for MKS sh
13930if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13931  emulate sh
13932  NULLCMD=:
13933  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13934  # is contrary to our usage.  Disable this feature.
13935  alias -g '${1+"$@"}'='"$@"'
13936  setopt NO_GLOB_SUBST
13937else
13938  case `(set -o) 2>/dev/null` in #(
13939  *posix*) :
13940    set -o posix ;; #(
13941  *) :
13942     ;;
13943esac
13944fi
13945
13946
13947as_nl='
13948'
13949export as_nl
13950# Printing a long string crashes Solaris 7 /usr/bin/printf.
13951as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13952as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13953as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13954# Prefer a ksh shell builtin over an external printf program on Solaris,
13955# but without wasting forks for bash or zsh.
13956if test -z "$BASH_VERSION$ZSH_VERSION" \
13957    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13958  as_echo='print -r --'
13959  as_echo_n='print -rn --'
13960elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13961  as_echo='printf %s\n'
13962  as_echo_n='printf %s'
13963else
13964  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13965    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13966    as_echo_n='/usr/ucb/echo -n'
13967  else
13968    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13969    as_echo_n_body='eval
13970      arg=$1;
13971      case $arg in #(
13972      *"$as_nl"*)
13973	expr "X$arg" : "X\\(.*\\)$as_nl";
13974	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13975      esac;
13976      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13977    '
13978    export as_echo_n_body
13979    as_echo_n='sh -c $as_echo_n_body as_echo'
13980  fi
13981  export as_echo_body
13982  as_echo='sh -c $as_echo_body as_echo'
13983fi
13984
13985# The user is always right.
13986if test "${PATH_SEPARATOR+set}" != set; then
13987  PATH_SEPARATOR=:
13988  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13989    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13990      PATH_SEPARATOR=';'
13991  }
13992fi
13993
13994
13995# IFS
13996# We need space, tab and new line, in precisely that order.  Quoting is
13997# there to prevent editors from complaining about space-tab.
13998# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13999# splitting by setting IFS to empty value.)
14000IFS=" ""	$as_nl"
14001
14002# Find who we are.  Look in the path if we contain no directory separator.
14003as_myself=
14004case $0 in #((
14005  *[\\/]* ) as_myself=$0 ;;
14006  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14007for as_dir in $PATH
14008do
14009  IFS=$as_save_IFS
14010  test -z "$as_dir" && as_dir=.
14011    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14012  done
14013IFS=$as_save_IFS
14014
14015     ;;
14016esac
14017# We did not find ourselves, most probably we were run as `sh COMMAND'
14018# in which case we are not to be found in the path.
14019if test "x$as_myself" = x; then
14020  as_myself=$0
14021fi
14022if test ! -f "$as_myself"; then
14023  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14024  exit 1
14025fi
14026
14027# Unset variables that we do not need and which cause bugs (e.g. in
14028# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14029# suppresses any "Segmentation fault" message there.  '((' could
14030# trigger a bug in pdksh 5.2.14.
14031for as_var in BASH_ENV ENV MAIL MAILPATH
14032do eval test x\${$as_var+set} = xset \
14033  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14034done
14035PS1='$ '
14036PS2='> '
14037PS4='+ '
14038
14039# NLS nuisances.
14040LC_ALL=C
14041export LC_ALL
14042LANGUAGE=C
14043export LANGUAGE
14044
14045# CDPATH.
14046(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14047
14048
14049# as_fn_error STATUS ERROR [LINENO LOG_FD]
14050# ----------------------------------------
14051# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14052# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14053# script with STATUS, using 1 if that was 0.
14054as_fn_error ()
14055{
14056  as_status=$1; test $as_status -eq 0 && as_status=1
14057  if test "$4"; then
14058    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14059    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14060  fi
14061  $as_echo "$as_me: error: $2" >&2
14062  as_fn_exit $as_status
14063} # as_fn_error
14064
14065
14066# as_fn_set_status STATUS
14067# -----------------------
14068# Set $? to STATUS, without forking.
14069as_fn_set_status ()
14070{
14071  return $1
14072} # as_fn_set_status
14073
14074# as_fn_exit STATUS
14075# -----------------
14076# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14077as_fn_exit ()
14078{
14079  set +e
14080  as_fn_set_status $1
14081  exit $1
14082} # as_fn_exit
14083
14084# as_fn_unset VAR
14085# ---------------
14086# Portably unset VAR.
14087as_fn_unset ()
14088{
14089  { eval $1=; unset $1;}
14090}
14091as_unset=as_fn_unset
14092# as_fn_append VAR VALUE
14093# ----------------------
14094# Append the text in VALUE to the end of the definition contained in VAR. Take
14095# advantage of any shell optimizations that allow amortized linear growth over
14096# repeated appends, instead of the typical quadratic growth present in naive
14097# implementations.
14098if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14099  eval 'as_fn_append ()
14100  {
14101    eval $1+=\$2
14102  }'
14103else
14104  as_fn_append ()
14105  {
14106    eval $1=\$$1\$2
14107  }
14108fi # as_fn_append
14109
14110# as_fn_arith ARG...
14111# ------------------
14112# Perform arithmetic evaluation on the ARGs, and store the result in the
14113# global $as_val. Take advantage of shells that can avoid forks. The arguments
14114# must be portable across $(()) and expr.
14115if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14116  eval 'as_fn_arith ()
14117  {
14118    as_val=$(( $* ))
14119  }'
14120else
14121  as_fn_arith ()
14122  {
14123    as_val=`expr "$@" || test $? -eq 1`
14124  }
14125fi # as_fn_arith
14126
14127
14128if expr a : '\(a\)' >/dev/null 2>&1 &&
14129   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14130  as_expr=expr
14131else
14132  as_expr=false
14133fi
14134
14135if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14136  as_basename=basename
14137else
14138  as_basename=false
14139fi
14140
14141if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14142  as_dirname=dirname
14143else
14144  as_dirname=false
14145fi
14146
14147as_me=`$as_basename -- "$0" ||
14148$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14149	 X"$0" : 'X\(//\)$' \| \
14150	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14151$as_echo X/"$0" |
14152    sed '/^.*\/\([^/][^/]*\)\/*$/{
14153	    s//\1/
14154	    q
14155	  }
14156	  /^X\/\(\/\/\)$/{
14157	    s//\1/
14158	    q
14159	  }
14160	  /^X\/\(\/\).*/{
14161	    s//\1/
14162	    q
14163	  }
14164	  s/.*/./; q'`
14165
14166# Avoid depending upon Character Ranges.
14167as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14168as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14169as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14170as_cr_digits='0123456789'
14171as_cr_alnum=$as_cr_Letters$as_cr_digits
14172
14173ECHO_C= ECHO_N= ECHO_T=
14174case `echo -n x` in #(((((
14175-n*)
14176  case `echo 'xy\c'` in
14177  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
14178  xy)  ECHO_C='\c';;
14179  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14180       ECHO_T='	';;
14181  esac;;
14182*)
14183  ECHO_N='-n';;
14184esac
14185
14186rm -f conf$$ conf$$.exe conf$$.file
14187if test -d conf$$.dir; then
14188  rm -f conf$$.dir/conf$$.file
14189else
14190  rm -f conf$$.dir
14191  mkdir conf$$.dir 2>/dev/null
14192fi
14193if (echo >conf$$.file) 2>/dev/null; then
14194  if ln -s conf$$.file conf$$ 2>/dev/null; then
14195    as_ln_s='ln -s'
14196    # ... but there are two gotchas:
14197    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14198    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14199    # In both cases, we have to default to `cp -pR'.
14200    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14201      as_ln_s='cp -pR'
14202  elif ln conf$$.file conf$$ 2>/dev/null; then
14203    as_ln_s=ln
14204  else
14205    as_ln_s='cp -pR'
14206  fi
14207else
14208  as_ln_s='cp -pR'
14209fi
14210rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14211rmdir conf$$.dir 2>/dev/null
14212
14213
14214# as_fn_mkdir_p
14215# -------------
14216# Create "$as_dir" as a directory, including parents if necessary.
14217as_fn_mkdir_p ()
14218{
14219
14220  case $as_dir in #(
14221  -*) as_dir=./$as_dir;;
14222  esac
14223  test -d "$as_dir" || eval $as_mkdir_p || {
14224    as_dirs=
14225    while :; do
14226      case $as_dir in #(
14227      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14228      *) as_qdir=$as_dir;;
14229      esac
14230      as_dirs="'$as_qdir' $as_dirs"
14231      as_dir=`$as_dirname -- "$as_dir" ||
14232$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14233	 X"$as_dir" : 'X\(//\)[^/]' \| \
14234	 X"$as_dir" : 'X\(//\)$' \| \
14235	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14236$as_echo X"$as_dir" |
14237    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14238	    s//\1/
14239	    q
14240	  }
14241	  /^X\(\/\/\)[^/].*/{
14242	    s//\1/
14243	    q
14244	  }
14245	  /^X\(\/\/\)$/{
14246	    s//\1/
14247	    q
14248	  }
14249	  /^X\(\/\).*/{
14250	    s//\1/
14251	    q
14252	  }
14253	  s/.*/./; q'`
14254      test -d "$as_dir" && break
14255    done
14256    test -z "$as_dirs" || eval "mkdir $as_dirs"
14257  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14258
14259
14260} # as_fn_mkdir_p
14261if mkdir -p . 2>/dev/null; then
14262  as_mkdir_p='mkdir -p "$as_dir"'
14263else
14264  test -d ./-p && rmdir ./-p
14265  as_mkdir_p=false
14266fi
14267
14268
14269# as_fn_executable_p FILE
14270# -----------------------
14271# Test if FILE is an executable regular file.
14272as_fn_executable_p ()
14273{
14274  test -f "$1" && test -x "$1"
14275} # as_fn_executable_p
14276as_test_x='test -x'
14277as_executable_p=as_fn_executable_p
14278
14279# Sed expression to map a string onto a valid CPP name.
14280as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14281
14282# Sed expression to map a string onto a valid variable name.
14283as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14284
14285
14286exec 6>&1
14287## ----------------------------------- ##
14288## Main body of $CONFIG_STATUS script. ##
14289## ----------------------------------- ##
14290_ASEOF
14291test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14292
14293cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14294# Save the log message, to keep $0 and so on meaningful, and to
14295# report actual input values of CONFIG_FILES etc. instead of their
14296# values after options handling.
14297ac_log="
14298This file was extended by dee $as_me 1.2.7, which was
14299generated by GNU Autoconf 2.69.  Invocation command line was
14300
14301  CONFIG_FILES    = $CONFIG_FILES
14302  CONFIG_HEADERS  = $CONFIG_HEADERS
14303  CONFIG_LINKS    = $CONFIG_LINKS
14304  CONFIG_COMMANDS = $CONFIG_COMMANDS
14305  $ $0 $@
14306
14307on `(hostname || uname -n) 2>/dev/null | sed 1q`
14308"
14309
14310_ACEOF
14311
14312case $ac_config_files in *"
14313"*) set x $ac_config_files; shift; ac_config_files=$*;;
14314esac
14315
14316case $ac_config_headers in *"
14317"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14318esac
14319
14320
14321cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14322# Files that config.status was made for.
14323config_files="$ac_config_files"
14324config_headers="$ac_config_headers"
14325config_commands="$ac_config_commands"
14326
14327_ACEOF
14328
14329cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14330ac_cs_usage="\
14331\`$as_me' instantiates files and other configuration actions
14332from templates according to the current configuration.  Unless the files
14333and actions are specified as TAGs, all are instantiated by default.
14334
14335Usage: $0 [OPTION]... [TAG]...
14336
14337  -h, --help       print this help, then exit
14338  -V, --version    print version number and configuration settings, then exit
14339      --config     print configuration, then exit
14340  -q, --quiet, --silent
14341                   do not print progress messages
14342  -d, --debug      don't remove temporary files
14343      --recheck    update $as_me by reconfiguring in the same conditions
14344      --file=FILE[:TEMPLATE]
14345                   instantiate the configuration file FILE
14346      --header=FILE[:TEMPLATE]
14347                   instantiate the configuration header FILE
14348
14349Configuration files:
14350$config_files
14351
14352Configuration headers:
14353$config_headers
14354
14355Configuration commands:
14356$config_commands
14357
14358Report bugs to <https://bugs.launchpad.net/dee>."
14359
14360_ACEOF
14361cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14362ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14363ac_cs_version="\\
14364dee config.status 1.2.7
14365configured by $0, generated by GNU Autoconf 2.69,
14366  with options \\"\$ac_cs_config\\"
14367
14368Copyright (C) 2012 Free Software Foundation, Inc.
14369This config.status script is free software; the Free Software Foundation
14370gives unlimited permission to copy, distribute and modify it."
14371
14372ac_pwd='$ac_pwd'
14373srcdir='$srcdir'
14374INSTALL='$INSTALL'
14375MKDIR_P='$MKDIR_P'
14376AWK='$AWK'
14377test -n "\$AWK" || AWK=awk
14378_ACEOF
14379
14380cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14381# The default lists apply if the user does not specify any file.
14382ac_need_defaults=:
14383while test $# != 0
14384do
14385  case $1 in
14386  --*=?*)
14387    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14388    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14389    ac_shift=:
14390    ;;
14391  --*=)
14392    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14393    ac_optarg=
14394    ac_shift=:
14395    ;;
14396  *)
14397    ac_option=$1
14398    ac_optarg=$2
14399    ac_shift=shift
14400    ;;
14401  esac
14402
14403  case $ac_option in
14404  # Handling of the options.
14405  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14406    ac_cs_recheck=: ;;
14407  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14408    $as_echo "$ac_cs_version"; exit ;;
14409  --config | --confi | --conf | --con | --co | --c )
14410    $as_echo "$ac_cs_config"; exit ;;
14411  --debug | --debu | --deb | --de | --d | -d )
14412    debug=: ;;
14413  --file | --fil | --fi | --f )
14414    $ac_shift
14415    case $ac_optarg in
14416    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14417    '') as_fn_error $? "missing file argument" ;;
14418    esac
14419    as_fn_append CONFIG_FILES " '$ac_optarg'"
14420    ac_need_defaults=false;;
14421  --header | --heade | --head | --hea )
14422    $ac_shift
14423    case $ac_optarg in
14424    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14425    esac
14426    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14427    ac_need_defaults=false;;
14428  --he | --h)
14429    # Conflict between --help and --header
14430    as_fn_error $? "ambiguous option: \`$1'
14431Try \`$0 --help' for more information.";;
14432  --help | --hel | -h )
14433    $as_echo "$ac_cs_usage"; exit ;;
14434  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14435  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14436    ac_cs_silent=: ;;
14437
14438  # This is an error.
14439  -*) as_fn_error $? "unrecognized option: \`$1'
14440Try \`$0 --help' for more information." ;;
14441
14442  *) as_fn_append ac_config_targets " $1"
14443     ac_need_defaults=false ;;
14444
14445  esac
14446  shift
14447done
14448
14449ac_configure_extra_args=
14450
14451if $ac_cs_silent; then
14452  exec 6>/dev/null
14453  ac_configure_extra_args="$ac_configure_extra_args --silent"
14454fi
14455
14456_ACEOF
14457cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14458if \$ac_cs_recheck; then
14459  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14460  shift
14461  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14462  CONFIG_SHELL='$SHELL'
14463  export CONFIG_SHELL
14464  exec "\$@"
14465fi
14466
14467_ACEOF
14468cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14469exec 5>>config.log
14470{
14471  echo
14472  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14473## Running $as_me. ##
14474_ASBOX
14475  $as_echo "$ac_log"
14476} >&5
14477
14478_ACEOF
14479cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14480#
14481# INIT-COMMANDS
14482#
14483AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14484
14485
14486# The HP-UX ksh and POSIX shell print the target directory to stdout
14487# if CDPATH is set.
14488(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14489
14490sed_quote_subst='$sed_quote_subst'
14491double_quote_subst='$double_quote_subst'
14492delay_variable_subst='$delay_variable_subst'
14493enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14494macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14495macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14496enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14497pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14498enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14499SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14500ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14501PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14502host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14503host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14504host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14505build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14506build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14507build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14508SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14509Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14510GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14511EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14512FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14513LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14514NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14515LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14516max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14517ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14518exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14519lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14520lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14521lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14522lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14523lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14524reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14525reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14526OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14527deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14528file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14529file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14530want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14531DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14532sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14533AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14534AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14535archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14536STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14537RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14538old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14539old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14540old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14541lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14542CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14543CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14544compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14545GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14546lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14547lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14548lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14549lt_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"`'
14550nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14551lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14552objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14553MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14554lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14555lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14556lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14557lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14558lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14559need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14560MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14561DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14562NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14563LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14564OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14565OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14566libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14567shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14568extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14569archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14570enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14571export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14572whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14573compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14574old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14575old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14576archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14577archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14578module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14579module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14580with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14581allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14582no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14583hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14584hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14585hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14586hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14587hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14588hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14589hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14590inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14591link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14592always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14593export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14594exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14595include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14596prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14597postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14598file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14599variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14600need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14601need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14602version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14603runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14604shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14605shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14606libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14607library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14608soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14609install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14610postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14611postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14612finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14613finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14614hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14615sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14616sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14617hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14618enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14619enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14620enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14621old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14622striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14623
14624LTCC='$LTCC'
14625LTCFLAGS='$LTCFLAGS'
14626compiler='$compiler_DEFAULT'
14627
14628# A function that is used when there is no print builtin or printf.
14629func_fallback_echo ()
14630{
14631  eval 'cat <<_LTECHO_EOF
14632\$1
14633_LTECHO_EOF'
14634}
14635
14636# Quote evaled strings.
14637for var in SHELL \
14638ECHO \
14639PATH_SEPARATOR \
14640SED \
14641GREP \
14642EGREP \
14643FGREP \
14644LD \
14645NM \
14646LN_S \
14647lt_SP2NL \
14648lt_NL2SP \
14649reload_flag \
14650OBJDUMP \
14651deplibs_check_method \
14652file_magic_cmd \
14653file_magic_glob \
14654want_nocaseglob \
14655DLLTOOL \
14656sharedlib_from_linklib_cmd \
14657AR \
14658AR_FLAGS \
14659archiver_list_spec \
14660STRIP \
14661RANLIB \
14662CC \
14663CFLAGS \
14664compiler \
14665lt_cv_sys_global_symbol_pipe \
14666lt_cv_sys_global_symbol_to_cdecl \
14667lt_cv_sys_global_symbol_to_c_name_address \
14668lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14669nm_file_list_spec \
14670lt_prog_compiler_no_builtin_flag \
14671lt_prog_compiler_pic \
14672lt_prog_compiler_wl \
14673lt_prog_compiler_static \
14674lt_cv_prog_compiler_c_o \
14675need_locks \
14676MANIFEST_TOOL \
14677DSYMUTIL \
14678NMEDIT \
14679LIPO \
14680OTOOL \
14681OTOOL64 \
14682shrext_cmds \
14683export_dynamic_flag_spec \
14684whole_archive_flag_spec \
14685compiler_needs_object \
14686with_gnu_ld \
14687allow_undefined_flag \
14688no_undefined_flag \
14689hardcode_libdir_flag_spec \
14690hardcode_libdir_separator \
14691exclude_expsyms \
14692include_expsyms \
14693file_list_spec \
14694variables_saved_for_relink \
14695libname_spec \
14696library_names_spec \
14697soname_spec \
14698install_override_mode \
14699finish_eval \
14700old_striplib \
14701striplib; do
14702    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14703    *[\\\\\\\`\\"\\\$]*)
14704      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14705      ;;
14706    *)
14707      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14708      ;;
14709    esac
14710done
14711
14712# Double-quote double-evaled strings.
14713for var in reload_cmds \
14714old_postinstall_cmds \
14715old_postuninstall_cmds \
14716old_archive_cmds \
14717extract_expsyms_cmds \
14718old_archive_from_new_cmds \
14719old_archive_from_expsyms_cmds \
14720archive_cmds \
14721archive_expsym_cmds \
14722module_cmds \
14723module_expsym_cmds \
14724export_symbols_cmds \
14725prelink_cmds \
14726postlink_cmds \
14727postinstall_cmds \
14728postuninstall_cmds \
14729finish_cmds \
14730sys_lib_search_path_spec \
14731sys_lib_dlsearch_path_spec; do
14732    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14733    *[\\\\\\\`\\"\\\$]*)
14734      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14735      ;;
14736    *)
14737      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14738      ;;
14739    esac
14740done
14741
14742ac_aux_dir='$ac_aux_dir'
14743xsi_shell='$xsi_shell'
14744lt_shell_append='$lt_shell_append'
14745
14746# See if we are running on zsh, and set the options which allow our
14747# commands through without removal of \ escapes INIT.
14748if test -n "\${ZSH_VERSION+set}" ; then
14749   setopt NO_GLOB_SUBST
14750fi
14751
14752
14753    PACKAGE='$PACKAGE'
14754    VERSION='$VERSION'
14755    TIMESTAMP='$TIMESTAMP'
14756    RM='$RM'
14757    ofile='$ofile'
14758
14759
14760
14761
14762_ACEOF
14763
14764cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14765
14766# Handling of arguments.
14767for ac_config_target in $ac_config_targets
14768do
14769  case $ac_config_target in
14770    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14771    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14772    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14773    "dee-icu-1.0.pc") CONFIG_FILES="$CONFIG_FILES dee-icu-1.0.pc" ;;
14774
14775  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14776  esac
14777done
14778
14779
14780# If the user did not use the arguments to specify the items to instantiate,
14781# then the envvar interface is used.  Set only those that are not.
14782# We use the long form for the default assignment because of an extremely
14783# bizarre bug on SunOS 4.1.3.
14784if $ac_need_defaults; then
14785  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14786  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14787  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14788fi
14789
14790# Have a temporary directory for convenience.  Make it in the build tree
14791# simply because there is no reason against having it here, and in addition,
14792# creating and moving files from /tmp can sometimes cause problems.
14793# Hook for its removal unless debugging.
14794# Note that there is a small window in which the directory will not be cleaned:
14795# after its creation but before its name has been assigned to `$tmp'.
14796$debug ||
14797{
14798  tmp= ac_tmp=
14799  trap 'exit_status=$?
14800  : "${ac_tmp:=$tmp}"
14801  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14802' 0
14803  trap 'as_fn_exit 1' 1 2 13 15
14804}
14805# Create a (secure) tmp directory for tmp files.
14806
14807{
14808  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14809  test -d "$tmp"
14810}  ||
14811{
14812  tmp=./conf$$-$RANDOM
14813  (umask 077 && mkdir "$tmp")
14814} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14815ac_tmp=$tmp
14816
14817# Set up the scripts for CONFIG_FILES section.
14818# No need to generate them if there are no CONFIG_FILES.
14819# This happens for instance with `./config.status config.h'.
14820if test -n "$CONFIG_FILES"; then
14821
14822
14823ac_cr=`echo X | tr X '\015'`
14824# On cygwin, bash can eat \r inside `` if the user requested igncr.
14825# But we know of no other shell where ac_cr would be empty at this
14826# point, so we can use a bashism as a fallback.
14827if test "x$ac_cr" = x; then
14828  eval ac_cr=\$\'\\r\'
14829fi
14830ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14831if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14832  ac_cs_awk_cr='\\r'
14833else
14834  ac_cs_awk_cr=$ac_cr
14835fi
14836
14837echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14838_ACEOF
14839
14840
14841{
14842  echo "cat >conf$$subs.awk <<_ACEOF" &&
14843  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14844  echo "_ACEOF"
14845} >conf$$subs.sh ||
14846  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14847ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14848ac_delim='%!_!# '
14849for ac_last_try in false false false false false :; do
14850  . ./conf$$subs.sh ||
14851    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14852
14853  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14854  if test $ac_delim_n = $ac_delim_num; then
14855    break
14856  elif $ac_last_try; then
14857    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14858  else
14859    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14860  fi
14861done
14862rm -f conf$$subs.sh
14863
14864cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14865cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14866_ACEOF
14867sed -n '
14868h
14869s/^/S["/; s/!.*/"]=/
14870p
14871g
14872s/^[^!]*!//
14873:repl
14874t repl
14875s/'"$ac_delim"'$//
14876t delim
14877:nl
14878h
14879s/\(.\{148\}\)..*/\1/
14880t more1
14881s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14882p
14883n
14884b repl
14885:more1
14886s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14887p
14888g
14889s/.\{148\}//
14890t nl
14891:delim
14892h
14893s/\(.\{148\}\)..*/\1/
14894t more2
14895s/["\\]/\\&/g; s/^/"/; s/$/"/
14896p
14897b
14898:more2
14899s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14900p
14901g
14902s/.\{148\}//
14903t delim
14904' <conf$$subs.awk | sed '
14905/^[^""]/{
14906  N
14907  s/\n//
14908}
14909' >>$CONFIG_STATUS || ac_write_fail=1
14910rm -f conf$$subs.awk
14911cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14912_ACAWK
14913cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14914  for (key in S) S_is_set[key] = 1
14915  FS = ""
14916
14917}
14918{
14919  line = $ 0
14920  nfields = split(line, field, "@")
14921  substed = 0
14922  len = length(field[1])
14923  for (i = 2; i < nfields; i++) {
14924    key = field[i]
14925    keylen = length(key)
14926    if (S_is_set[key]) {
14927      value = S[key]
14928      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14929      len += length(value) + length(field[++i])
14930      substed = 1
14931    } else
14932      len += 1 + keylen
14933  }
14934
14935  print line
14936}
14937
14938_ACAWK
14939_ACEOF
14940cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14941if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14942  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14943else
14944  cat
14945fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14946  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14947_ACEOF
14948
14949# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14950# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14951# trailing colons and then remove the whole line if VPATH becomes empty
14952# (actually we leave an empty line to preserve line numbers).
14953if test "x$srcdir" = x.; then
14954  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
14955h
14956s///
14957s/^/:/
14958s/[	 ]*$/:/
14959s/:\$(srcdir):/:/g
14960s/:\${srcdir}:/:/g
14961s/:@srcdir@:/:/g
14962s/^:*//
14963s/:*$//
14964x
14965s/\(=[	 ]*\).*/\1/
14966G
14967s/\n//
14968s/^[^=]*=[	 ]*$//
14969}'
14970fi
14971
14972cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14973fi # test -n "$CONFIG_FILES"
14974
14975# Set up the scripts for CONFIG_HEADERS section.
14976# No need to generate them if there are no CONFIG_HEADERS.
14977# This happens for instance with `./config.status Makefile'.
14978if test -n "$CONFIG_HEADERS"; then
14979cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14980BEGIN {
14981_ACEOF
14982
14983# Transform confdefs.h into an awk script `defines.awk', embedded as
14984# here-document in config.status, that substitutes the proper values into
14985# config.h.in to produce config.h.
14986
14987# Create a delimiter string that does not exist in confdefs.h, to ease
14988# handling of long lines.
14989ac_delim='%!_!# '
14990for ac_last_try in false false :; do
14991  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14992  if test -z "$ac_tt"; then
14993    break
14994  elif $ac_last_try; then
14995    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14996  else
14997    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14998  fi
14999done
15000
15001# For the awk script, D is an array of macro values keyed by name,
15002# likewise P contains macro parameters if any.  Preserve backslash
15003# newline sequences.
15004
15005ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15006sed -n '
15007s/.\{148\}/&'"$ac_delim"'/g
15008t rset
15009:rset
15010s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
15011t def
15012d
15013:def
15014s/\\$//
15015t bsnl
15016s/["\\]/\\&/g
15017s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15018D["\1"]=" \3"/p
15019s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
15020d
15021:bsnl
15022s/["\\]/\\&/g
15023s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15024D["\1"]=" \3\\\\\\n"\\/p
15025t cont
15026s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15027t cont
15028d
15029:cont
15030n
15031s/.\{148\}/&'"$ac_delim"'/g
15032t clear
15033:clear
15034s/\\$//
15035t bsnlc
15036s/["\\]/\\&/g; s/^/"/; s/$/"/p
15037d
15038:bsnlc
15039s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15040b cont
15041' <confdefs.h | sed '
15042s/'"$ac_delim"'/"\\\
15043"/g' >>$CONFIG_STATUS || ac_write_fail=1
15044
15045cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15046  for (key in D) D_is_set[key] = 1
15047  FS = ""
15048}
15049/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15050  line = \$ 0
15051  split(line, arg, " ")
15052  if (arg[1] == "#") {
15053    defundef = arg[2]
15054    mac1 = arg[3]
15055  } else {
15056    defundef = substr(arg[1], 2)
15057    mac1 = arg[2]
15058  }
15059  split(mac1, mac2, "(") #)
15060  macro = mac2[1]
15061  prefix = substr(line, 1, index(line, defundef) - 1)
15062  if (D_is_set[macro]) {
15063    # Preserve the white space surrounding the "#".
15064    print prefix "define", macro P[macro] D[macro]
15065    next
15066  } else {
15067    # Replace #undef with comments.  This is necessary, for example,
15068    # in the case of _POSIX_SOURCE, which is predefined and required
15069    # on some systems where configure will not decide to define it.
15070    if (defundef == "undef") {
15071      print "/*", prefix defundef, macro, "*/"
15072      next
15073    }
15074  }
15075}
15076{ print }
15077_ACAWK
15078_ACEOF
15079cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15080  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15081fi # test -n "$CONFIG_HEADERS"
15082
15083
15084eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15085shift
15086for ac_tag
15087do
15088  case $ac_tag in
15089  :[FHLC]) ac_mode=$ac_tag; continue;;
15090  esac
15091  case $ac_mode$ac_tag in
15092  :[FHL]*:*);;
15093  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15094  :[FH]-) ac_tag=-:-;;
15095  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15096  esac
15097  ac_save_IFS=$IFS
15098  IFS=:
15099  set x $ac_tag
15100  IFS=$ac_save_IFS
15101  shift
15102  ac_file=$1
15103  shift
15104
15105  case $ac_mode in
15106  :L) ac_source=$1;;
15107  :[FH])
15108    ac_file_inputs=
15109    for ac_f
15110    do
15111      case $ac_f in
15112      -) ac_f="$ac_tmp/stdin";;
15113      *) # Look for the file first in the build tree, then in the source tree
15114	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
15115	 # because $ac_f cannot contain `:'.
15116	 test -f "$ac_f" ||
15117	   case $ac_f in
15118	   [\\/$]*) false;;
15119	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15120	   esac ||
15121	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15122      esac
15123      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15124      as_fn_append ac_file_inputs " '$ac_f'"
15125    done
15126
15127    # Let's still pretend it is `configure' which instantiates (i.e., don't
15128    # use $as_me), people would be surprised to read:
15129    #    /* config.h.  Generated by config.status.  */
15130    configure_input='Generated from '`
15131	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15132	`' by configure.'
15133    if test x"$ac_file" != x-; then
15134      configure_input="$ac_file.  $configure_input"
15135      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15136$as_echo "$as_me: creating $ac_file" >&6;}
15137    fi
15138    # Neutralize special characters interpreted by sed in replacement strings.
15139    case $configure_input in #(
15140    *\&* | *\|* | *\\* )
15141       ac_sed_conf_input=`$as_echo "$configure_input" |
15142       sed 's/[\\\\&|]/\\\\&/g'`;; #(
15143    *) ac_sed_conf_input=$configure_input;;
15144    esac
15145
15146    case $ac_tag in
15147    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15148      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15149    esac
15150    ;;
15151  esac
15152
15153  ac_dir=`$as_dirname -- "$ac_file" ||
15154$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15155	 X"$ac_file" : 'X\(//\)[^/]' \| \
15156	 X"$ac_file" : 'X\(//\)$' \| \
15157	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15158$as_echo X"$ac_file" |
15159    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15160	    s//\1/
15161	    q
15162	  }
15163	  /^X\(\/\/\)[^/].*/{
15164	    s//\1/
15165	    q
15166	  }
15167	  /^X\(\/\/\)$/{
15168	    s//\1/
15169	    q
15170	  }
15171	  /^X\(\/\).*/{
15172	    s//\1/
15173	    q
15174	  }
15175	  s/.*/./; q'`
15176  as_dir="$ac_dir"; as_fn_mkdir_p
15177  ac_builddir=.
15178
15179case "$ac_dir" in
15180.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15181*)
15182  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15183  # A ".." for each directory in $ac_dir_suffix.
15184  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15185  case $ac_top_builddir_sub in
15186  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15187  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15188  esac ;;
15189esac
15190ac_abs_top_builddir=$ac_pwd
15191ac_abs_builddir=$ac_pwd$ac_dir_suffix
15192# for backward compatibility:
15193ac_top_builddir=$ac_top_build_prefix
15194
15195case $srcdir in
15196  .)  # We are building in place.
15197    ac_srcdir=.
15198    ac_top_srcdir=$ac_top_builddir_sub
15199    ac_abs_top_srcdir=$ac_pwd ;;
15200  [\\/]* | ?:[\\/]* )  # Absolute name.
15201    ac_srcdir=$srcdir$ac_dir_suffix;
15202    ac_top_srcdir=$srcdir
15203    ac_abs_top_srcdir=$srcdir ;;
15204  *) # Relative name.
15205    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15206    ac_top_srcdir=$ac_top_build_prefix$srcdir
15207    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15208esac
15209ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15210
15211
15212  case $ac_mode in
15213  :F)
15214  #
15215  # CONFIG_FILE
15216  #
15217
15218  case $INSTALL in
15219  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15220  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15221  esac
15222  ac_MKDIR_P=$MKDIR_P
15223  case $MKDIR_P in
15224  [\\/$]* | ?:[\\/]* ) ;;
15225  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15226  esac
15227_ACEOF
15228
15229cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15230# If the template does not know about datarootdir, expand it.
15231# FIXME: This hack should be removed a few years after 2.60.
15232ac_datarootdir_hack=; ac_datarootdir_seen=
15233ac_sed_dataroot='
15234/datarootdir/ {
15235  p
15236  q
15237}
15238/@datadir@/p
15239/@docdir@/p
15240/@infodir@/p
15241/@localedir@/p
15242/@mandir@/p'
15243case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15244*datarootdir*) ac_datarootdir_seen=yes;;
15245*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15246  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15247$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15248_ACEOF
15249cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15250  ac_datarootdir_hack='
15251  s&@datadir@&$datadir&g
15252  s&@docdir@&$docdir&g
15253  s&@infodir@&$infodir&g
15254  s&@localedir@&$localedir&g
15255  s&@mandir@&$mandir&g
15256  s&\\\${datarootdir}&$datarootdir&g' ;;
15257esac
15258_ACEOF
15259
15260# Neutralize VPATH when `$srcdir' = `.'.
15261# Shell code in configure.ac might set extrasub.
15262# FIXME: do we really want to maintain this feature?
15263cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15264ac_sed_extra="$ac_vpsub
15265$extrasub
15266_ACEOF
15267cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15268:t
15269/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15270s|@configure_input@|$ac_sed_conf_input|;t t
15271s&@top_builddir@&$ac_top_builddir_sub&;t t
15272s&@top_build_prefix@&$ac_top_build_prefix&;t t
15273s&@srcdir@&$ac_srcdir&;t t
15274s&@abs_srcdir@&$ac_abs_srcdir&;t t
15275s&@top_srcdir@&$ac_top_srcdir&;t t
15276s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15277s&@builddir@&$ac_builddir&;t t
15278s&@abs_builddir@&$ac_abs_builddir&;t t
15279s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15280s&@INSTALL@&$ac_INSTALL&;t t
15281s&@MKDIR_P@&$ac_MKDIR_P&;t t
15282$ac_datarootdir_hack
15283"
15284eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15285  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15286
15287test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15288  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15289  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
15290      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15291  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15292which seems to be undefined.  Please make sure it is defined" >&5
15293$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15294which seems to be undefined.  Please make sure it is defined" >&2;}
15295
15296  rm -f "$ac_tmp/stdin"
15297  case $ac_file in
15298  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15299  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15300  esac \
15301  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15302 ;;
15303  :H)
15304  #
15305  # CONFIG_HEADER
15306  #
15307  if test x"$ac_file" != x-; then
15308    {
15309      $as_echo "/* $configure_input  */" \
15310      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15311    } >"$ac_tmp/config.h" \
15312      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15313    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15314      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15315$as_echo "$as_me: $ac_file is unchanged" >&6;}
15316    else
15317      rm -f "$ac_file"
15318      mv "$ac_tmp/config.h" "$ac_file" \
15319	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15320    fi
15321  else
15322    $as_echo "/* $configure_input  */" \
15323      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15324      || as_fn_error $? "could not create -" "$LINENO" 5
15325  fi
15326# Compute "$ac_file"'s index in $config_headers.
15327_am_arg="$ac_file"
15328_am_stamp_count=1
15329for _am_header in $config_headers :; do
15330  case $_am_header in
15331    $_am_arg | $_am_arg:* )
15332      break ;;
15333    * )
15334      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15335  esac
15336done
15337echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15338$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15339	 X"$_am_arg" : 'X\(//\)[^/]' \| \
15340	 X"$_am_arg" : 'X\(//\)$' \| \
15341	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15342$as_echo X"$_am_arg" |
15343    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15344	    s//\1/
15345	    q
15346	  }
15347	  /^X\(\/\/\)[^/].*/{
15348	    s//\1/
15349	    q
15350	  }
15351	  /^X\(\/\/\)$/{
15352	    s//\1/
15353	    q
15354	  }
15355	  /^X\(\/\).*/{
15356	    s//\1/
15357	    q
15358	  }
15359	  s/.*/./; q'`/stamp-h$_am_stamp_count
15360 ;;
15361
15362  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15363$as_echo "$as_me: executing $ac_file commands" >&6;}
15364 ;;
15365  esac
15366
15367
15368  case $ac_file$ac_mode in
15369    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15370  # Older Autoconf quotes --file arguments for eval, but not when files
15371  # are listed without --file.  Let's play safe and only enable the eval
15372  # if we detect the quoting.
15373  case $CONFIG_FILES in
15374  *\'*) eval set x "$CONFIG_FILES" ;;
15375  *)   set x $CONFIG_FILES ;;
15376  esac
15377  shift
15378  for mf
15379  do
15380    # Strip MF so we end up with the name of the file.
15381    mf=`echo "$mf" | sed -e 's/:.*$//'`
15382    # Check whether this is an Automake generated Makefile or not.
15383    # We used to match only the files named 'Makefile.in', but
15384    # some people rename them; so instead we look at the file content.
15385    # Grep'ing the first line is not enough: some people post-process
15386    # each Makefile.in and add a new line on top of each file to say so.
15387    # Grep'ing the whole file is not good either: AIX grep has a line
15388    # limit of 2048, but all sed's we know have understand at least 4000.
15389    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15390      dirpart=`$as_dirname -- "$mf" ||
15391$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15392	 X"$mf" : 'X\(//\)[^/]' \| \
15393	 X"$mf" : 'X\(//\)$' \| \
15394	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15395$as_echo X"$mf" |
15396    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15397	    s//\1/
15398	    q
15399	  }
15400	  /^X\(\/\/\)[^/].*/{
15401	    s//\1/
15402	    q
15403	  }
15404	  /^X\(\/\/\)$/{
15405	    s//\1/
15406	    q
15407	  }
15408	  /^X\(\/\).*/{
15409	    s//\1/
15410	    q
15411	  }
15412	  s/.*/./; q'`
15413    else
15414      continue
15415    fi
15416    # Extract the definition of DEPDIR, am__include, and am__quote
15417    # from the Makefile without running 'make'.
15418    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15419    test -z "$DEPDIR" && continue
15420    am__include=`sed -n 's/^am__include = //p' < "$mf"`
15421    test -z "$am__include" && continue
15422    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15423    # Find all dependency output files, they are included files with
15424    # $(DEPDIR) in their names.  We invoke sed twice because it is the
15425    # simplest approach to changing $(DEPDIR) to its actual value in the
15426    # expansion.
15427    for file in `sed -n "
15428      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15429	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15430      # Make sure the directory exists.
15431      test -f "$dirpart/$file" && continue
15432      fdir=`$as_dirname -- "$file" ||
15433$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15434	 X"$file" : 'X\(//\)[^/]' \| \
15435	 X"$file" : 'X\(//\)$' \| \
15436	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15437$as_echo X"$file" |
15438    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15439	    s//\1/
15440	    q
15441	  }
15442	  /^X\(\/\/\)[^/].*/{
15443	    s//\1/
15444	    q
15445	  }
15446	  /^X\(\/\/\)$/{
15447	    s//\1/
15448	    q
15449	  }
15450	  /^X\(\/\).*/{
15451	    s//\1/
15452	    q
15453	  }
15454	  s/.*/./; q'`
15455      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15456      # echo "creating $dirpart/$file"
15457      echo '# dummy' > "$dirpart/$file"
15458    done
15459  done
15460}
15461 ;;
15462    "libtool":C)
15463
15464    # See if we are running on zsh, and set the options which allow our
15465    # commands through without removal of \ escapes.
15466    if test -n "${ZSH_VERSION+set}" ; then
15467      setopt NO_GLOB_SUBST
15468    fi
15469
15470    cfgfile="${ofile}T"
15471    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15472    $RM "$cfgfile"
15473
15474    cat <<_LT_EOF >> "$cfgfile"
15475#! $SHELL
15476
15477# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15478# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15479# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15480# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15481#
15482#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15483#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15484#                 Foundation, Inc.
15485#   Written by Gordon Matzigkeit, 1996
15486#
15487#   This file is part of GNU Libtool.
15488#
15489# GNU Libtool is free software; you can redistribute it and/or
15490# modify it under the terms of the GNU General Public License as
15491# published by the Free Software Foundation; either version 2 of
15492# the License, or (at your option) any later version.
15493#
15494# As a special exception to the GNU General Public License,
15495# if you distribute this file as part of a program or library that
15496# is built using GNU Libtool, you may include this file under the
15497# same distribution terms that you use for the rest of that program.
15498#
15499# GNU Libtool is distributed in the hope that it will be useful,
15500# but WITHOUT ANY WARRANTY; without even the implied warranty of
15501# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15502# GNU General Public License for more details.
15503#
15504# You should have received a copy of the GNU General Public License
15505# along with GNU Libtool; see the file COPYING.  If not, a copy
15506# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15507# obtained by writing to the Free Software Foundation, Inc.,
15508# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15509
15510
15511# The names of the tagged configurations supported by this script.
15512available_tags=""
15513
15514# ### BEGIN LIBTOOL CONFIG
15515
15516# Whether or not to build static libraries.
15517build_old_libs=$enable_static
15518
15519# Which release of libtool.m4 was used?
15520macro_version=$macro_version
15521macro_revision=$macro_revision
15522
15523# Whether or not to build shared libraries.
15524build_libtool_libs=$enable_shared
15525
15526# What type of objects to build.
15527pic_mode=$pic_mode
15528
15529# Whether or not to optimize for fast installation.
15530fast_install=$enable_fast_install
15531
15532# Shell to use when invoking shell scripts.
15533SHELL=$lt_SHELL
15534
15535# An echo program that protects backslashes.
15536ECHO=$lt_ECHO
15537
15538# The PATH separator for the build system.
15539PATH_SEPARATOR=$lt_PATH_SEPARATOR
15540
15541# The host system.
15542host_alias=$host_alias
15543host=$host
15544host_os=$host_os
15545
15546# The build system.
15547build_alias=$build_alias
15548build=$build
15549build_os=$build_os
15550
15551# A sed program that does not truncate output.
15552SED=$lt_SED
15553
15554# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15555Xsed="\$SED -e 1s/^X//"
15556
15557# A grep program that handles long lines.
15558GREP=$lt_GREP
15559
15560# An ERE matcher.
15561EGREP=$lt_EGREP
15562
15563# A literal string matcher.
15564FGREP=$lt_FGREP
15565
15566# A BSD- or MS-compatible name lister.
15567NM=$lt_NM
15568
15569# Whether we need soft or hard links.
15570LN_S=$lt_LN_S
15571
15572# What is the maximum length of a command?
15573max_cmd_len=$max_cmd_len
15574
15575# Object file suffix (normally "o").
15576objext=$ac_objext
15577
15578# Executable file suffix (normally "").
15579exeext=$exeext
15580
15581# whether the shell understands "unset".
15582lt_unset=$lt_unset
15583
15584# turn spaces into newlines.
15585SP2NL=$lt_lt_SP2NL
15586
15587# turn newlines into spaces.
15588NL2SP=$lt_lt_NL2SP
15589
15590# convert \$build file names to \$host format.
15591to_host_file_cmd=$lt_cv_to_host_file_cmd
15592
15593# convert \$build files to toolchain format.
15594to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15595
15596# An object symbol dumper.
15597OBJDUMP=$lt_OBJDUMP
15598
15599# Method to check whether dependent libraries are shared objects.
15600deplibs_check_method=$lt_deplibs_check_method
15601
15602# Command to use when deplibs_check_method = "file_magic".
15603file_magic_cmd=$lt_file_magic_cmd
15604
15605# How to find potential files when deplibs_check_method = "file_magic".
15606file_magic_glob=$lt_file_magic_glob
15607
15608# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15609want_nocaseglob=$lt_want_nocaseglob
15610
15611# DLL creation program.
15612DLLTOOL=$lt_DLLTOOL
15613
15614# Command to associate shared and link libraries.
15615sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15616
15617# The archiver.
15618AR=$lt_AR
15619
15620# Flags to create an archive.
15621AR_FLAGS=$lt_AR_FLAGS
15622
15623# How to feed a file listing to the archiver.
15624archiver_list_spec=$lt_archiver_list_spec
15625
15626# A symbol stripping program.
15627STRIP=$lt_STRIP
15628
15629# Commands used to install an old-style archive.
15630RANLIB=$lt_RANLIB
15631old_postinstall_cmds=$lt_old_postinstall_cmds
15632old_postuninstall_cmds=$lt_old_postuninstall_cmds
15633
15634# Whether to use a lock for old archive extraction.
15635lock_old_archive_extraction=$lock_old_archive_extraction
15636
15637# A C compiler.
15638LTCC=$lt_CC
15639
15640# LTCC compiler flags.
15641LTCFLAGS=$lt_CFLAGS
15642
15643# Take the output of nm and produce a listing of raw symbols and C names.
15644global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15645
15646# Transform the output of nm in a proper C declaration.
15647global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15648
15649# Transform the output of nm in a C name address pair.
15650global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15651
15652# Transform the output of nm in a C name address pair when lib prefix is needed.
15653global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15654
15655# Specify filename containing input files for \$NM.
15656nm_file_list_spec=$lt_nm_file_list_spec
15657
15658# The root where to search for dependent libraries,and in which our libraries should be installed.
15659lt_sysroot=$lt_sysroot
15660
15661# The name of the directory that contains temporary libtool files.
15662objdir=$objdir
15663
15664# Used to examine libraries when file_magic_cmd begins with "file".
15665MAGIC_CMD=$MAGIC_CMD
15666
15667# Must we lock files when doing compilation?
15668need_locks=$lt_need_locks
15669
15670# Manifest tool.
15671MANIFEST_TOOL=$lt_MANIFEST_TOOL
15672
15673# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15674DSYMUTIL=$lt_DSYMUTIL
15675
15676# Tool to change global to local symbols on Mac OS X.
15677NMEDIT=$lt_NMEDIT
15678
15679# Tool to manipulate fat objects and archives on Mac OS X.
15680LIPO=$lt_LIPO
15681
15682# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15683OTOOL=$lt_OTOOL
15684
15685# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15686OTOOL64=$lt_OTOOL64
15687
15688# Old archive suffix (normally "a").
15689libext=$libext
15690
15691# Shared library suffix (normally ".so").
15692shrext_cmds=$lt_shrext_cmds
15693
15694# The commands to extract the exported symbol list from a shared archive.
15695extract_expsyms_cmds=$lt_extract_expsyms_cmds
15696
15697# Variables whose values should be saved in libtool wrapper scripts and
15698# restored at link time.
15699variables_saved_for_relink=$lt_variables_saved_for_relink
15700
15701# Do we need the "lib" prefix for modules?
15702need_lib_prefix=$need_lib_prefix
15703
15704# Do we need a version for libraries?
15705need_version=$need_version
15706
15707# Library versioning type.
15708version_type=$version_type
15709
15710# Shared library runtime path variable.
15711runpath_var=$runpath_var
15712
15713# Shared library path variable.
15714shlibpath_var=$shlibpath_var
15715
15716# Is shlibpath searched before the hard-coded library search path?
15717shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15718
15719# Format of library name prefix.
15720libname_spec=$lt_libname_spec
15721
15722# List of archive names.  First name is the real one, the rest are links.
15723# The last name is the one that the linker finds with -lNAME
15724library_names_spec=$lt_library_names_spec
15725
15726# The coded name of the library, if different from the real name.
15727soname_spec=$lt_soname_spec
15728
15729# Permission mode override for installation of shared libraries.
15730install_override_mode=$lt_install_override_mode
15731
15732# Command to use after installation of a shared archive.
15733postinstall_cmds=$lt_postinstall_cmds
15734
15735# Command to use after uninstallation of a shared archive.
15736postuninstall_cmds=$lt_postuninstall_cmds
15737
15738# Commands used to finish a libtool library installation in a directory.
15739finish_cmds=$lt_finish_cmds
15740
15741# As "finish_cmds", except a single script fragment to be evaled but
15742# not shown.
15743finish_eval=$lt_finish_eval
15744
15745# Whether we should hardcode library paths into libraries.
15746hardcode_into_libs=$hardcode_into_libs
15747
15748# Compile-time system search path for libraries.
15749sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15750
15751# Run-time system search path for libraries.
15752sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15753
15754# Whether dlopen is supported.
15755dlopen_support=$enable_dlopen
15756
15757# Whether dlopen of programs is supported.
15758dlopen_self=$enable_dlopen_self
15759
15760# Whether dlopen of statically linked programs is supported.
15761dlopen_self_static=$enable_dlopen_self_static
15762
15763# Commands to strip libraries.
15764old_striplib=$lt_old_striplib
15765striplib=$lt_striplib
15766
15767
15768# The linker used to build libraries.
15769LD=$lt_LD
15770
15771# How to create reloadable object files.
15772reload_flag=$lt_reload_flag
15773reload_cmds=$lt_reload_cmds
15774
15775# Commands used to build an old-style archive.
15776old_archive_cmds=$lt_old_archive_cmds
15777
15778# A language specific compiler.
15779CC=$lt_compiler
15780
15781# Is the compiler the GNU compiler?
15782with_gcc=$GCC
15783
15784# Compiler flag to turn off builtin functions.
15785no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15786
15787# Additional compiler flags for building library objects.
15788pic_flag=$lt_lt_prog_compiler_pic
15789
15790# How to pass a linker flag through the compiler.
15791wl=$lt_lt_prog_compiler_wl
15792
15793# Compiler flag to prevent dynamic linking.
15794link_static_flag=$lt_lt_prog_compiler_static
15795
15796# Does compiler simultaneously support -c and -o options?
15797compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15798
15799# Whether or not to add -lc for building shared libraries.
15800build_libtool_need_lc=$archive_cmds_need_lc
15801
15802# Whether or not to disallow shared libs when runtime libs are static.
15803allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15804
15805# Compiler flag to allow reflexive dlopens.
15806export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15807
15808# Compiler flag to generate shared objects directly from archives.
15809whole_archive_flag_spec=$lt_whole_archive_flag_spec
15810
15811# Whether the compiler copes with passing no objects directly.
15812compiler_needs_object=$lt_compiler_needs_object
15813
15814# Create an old-style archive from a shared archive.
15815old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15816
15817# Create a temporary old-style archive to link instead of a shared archive.
15818old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15819
15820# Commands used to build a shared archive.
15821archive_cmds=$lt_archive_cmds
15822archive_expsym_cmds=$lt_archive_expsym_cmds
15823
15824# Commands used to build a loadable module if different from building
15825# a shared archive.
15826module_cmds=$lt_module_cmds
15827module_expsym_cmds=$lt_module_expsym_cmds
15828
15829# Whether we are building with GNU ld or not.
15830with_gnu_ld=$lt_with_gnu_ld
15831
15832# Flag that allows shared libraries with undefined symbols to be built.
15833allow_undefined_flag=$lt_allow_undefined_flag
15834
15835# Flag that enforces no undefined symbols.
15836no_undefined_flag=$lt_no_undefined_flag
15837
15838# Flag to hardcode \$libdir into a binary during linking.
15839# This must work even if \$libdir does not exist
15840hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15841
15842# Whether we need a single "-rpath" flag with a separated argument.
15843hardcode_libdir_separator=$lt_hardcode_libdir_separator
15844
15845# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15846# DIR into the resulting binary.
15847hardcode_direct=$hardcode_direct
15848
15849# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15850# DIR into the resulting binary and the resulting library dependency is
15851# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15852# library is relocated.
15853hardcode_direct_absolute=$hardcode_direct_absolute
15854
15855# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15856# into the resulting binary.
15857hardcode_minus_L=$hardcode_minus_L
15858
15859# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15860# into the resulting binary.
15861hardcode_shlibpath_var=$hardcode_shlibpath_var
15862
15863# Set to "yes" if building a shared library automatically hardcodes DIR
15864# into the library and all subsequent libraries and executables linked
15865# against it.
15866hardcode_automatic=$hardcode_automatic
15867
15868# Set to yes if linker adds runtime paths of dependent libraries
15869# to runtime path list.
15870inherit_rpath=$inherit_rpath
15871
15872# Whether libtool must link a program against all its dependency libraries.
15873link_all_deplibs=$link_all_deplibs
15874
15875# Set to "yes" if exported symbols are required.
15876always_export_symbols=$always_export_symbols
15877
15878# The commands to list exported symbols.
15879export_symbols_cmds=$lt_export_symbols_cmds
15880
15881# Symbols that should not be listed in the preloaded symbols.
15882exclude_expsyms=$lt_exclude_expsyms
15883
15884# Symbols that must always be exported.
15885include_expsyms=$lt_include_expsyms
15886
15887# Commands necessary for linking programs (against libraries) with templates.
15888prelink_cmds=$lt_prelink_cmds
15889
15890# Commands necessary for finishing linking programs.
15891postlink_cmds=$lt_postlink_cmds
15892
15893# Specify filename containing input files.
15894file_list_spec=$lt_file_list_spec
15895
15896# How to hardcode a shared library path into an executable.
15897hardcode_action=$hardcode_action
15898
15899# ### END LIBTOOL CONFIG
15900
15901_LT_EOF
15902
15903  case $host_os in
15904  aix3*)
15905    cat <<\_LT_EOF >> "$cfgfile"
15906# AIX sometimes has problems with the GCC collect2 program.  For some
15907# reason, if we set the COLLECT_NAMES environment variable, the problems
15908# vanish in a puff of smoke.
15909if test "X${COLLECT_NAMES+set}" != Xset; then
15910  COLLECT_NAMES=
15911  export COLLECT_NAMES
15912fi
15913_LT_EOF
15914    ;;
15915  esac
15916
15917
15918ltmain="$ac_aux_dir/ltmain.sh"
15919
15920
15921  # We use sed instead of cat because bash on DJGPP gets confused if
15922  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15923  # text mode, it properly converts lines to CR/LF.  This bash problem
15924  # is reportedly fixed, but why not run on old versions too?
15925  sed '$q' "$ltmain" >> "$cfgfile" \
15926     || (rm -f "$cfgfile"; exit 1)
15927
15928  if test x"$xsi_shell" = xyes; then
15929  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15930func_dirname ()\
15931{\
15932\    case ${1} in\
15933\      */*) func_dirname_result="${1%/*}${2}" ;;\
15934\      *  ) func_dirname_result="${3}" ;;\
15935\    esac\
15936} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15937  && mv -f "$cfgfile.tmp" "$cfgfile" \
15938    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15939test 0 -eq $? || _lt_function_replace_fail=:
15940
15941
15942  sed -e '/^func_basename ()$/,/^} # func_basename /c\
15943func_basename ()\
15944{\
15945\    func_basename_result="${1##*/}"\
15946} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15947  && mv -f "$cfgfile.tmp" "$cfgfile" \
15948    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15949test 0 -eq $? || _lt_function_replace_fail=:
15950
15951
15952  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15953func_dirname_and_basename ()\
15954{\
15955\    case ${1} in\
15956\      */*) func_dirname_result="${1%/*}${2}" ;;\
15957\      *  ) func_dirname_result="${3}" ;;\
15958\    esac\
15959\    func_basename_result="${1##*/}"\
15960} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15961  && mv -f "$cfgfile.tmp" "$cfgfile" \
15962    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15963test 0 -eq $? || _lt_function_replace_fail=:
15964
15965
15966  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15967func_stripname ()\
15968{\
15969\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15970\    # positional parameters, so assign one to ordinary parameter first.\
15971\    func_stripname_result=${3}\
15972\    func_stripname_result=${func_stripname_result#"${1}"}\
15973\    func_stripname_result=${func_stripname_result%"${2}"}\
15974} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15975  && mv -f "$cfgfile.tmp" "$cfgfile" \
15976    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15977test 0 -eq $? || _lt_function_replace_fail=:
15978
15979
15980  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15981func_split_long_opt ()\
15982{\
15983\    func_split_long_opt_name=${1%%=*}\
15984\    func_split_long_opt_arg=${1#*=}\
15985} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15986  && mv -f "$cfgfile.tmp" "$cfgfile" \
15987    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15988test 0 -eq $? || _lt_function_replace_fail=:
15989
15990
15991  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15992func_split_short_opt ()\
15993{\
15994\    func_split_short_opt_arg=${1#??}\
15995\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15996} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15997  && mv -f "$cfgfile.tmp" "$cfgfile" \
15998    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15999test 0 -eq $? || _lt_function_replace_fail=:
16000
16001
16002  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16003func_lo2o ()\
16004{\
16005\    case ${1} in\
16006\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16007\      *)    func_lo2o_result=${1} ;;\
16008\    esac\
16009} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16010  && mv -f "$cfgfile.tmp" "$cfgfile" \
16011    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16012test 0 -eq $? || _lt_function_replace_fail=:
16013
16014
16015  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16016func_xform ()\
16017{\
16018    func_xform_result=${1%.*}.lo\
16019} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16020  && mv -f "$cfgfile.tmp" "$cfgfile" \
16021    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16022test 0 -eq $? || _lt_function_replace_fail=:
16023
16024
16025  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16026func_arith ()\
16027{\
16028    func_arith_result=$(( $* ))\
16029} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16030  && mv -f "$cfgfile.tmp" "$cfgfile" \
16031    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16032test 0 -eq $? || _lt_function_replace_fail=:
16033
16034
16035  sed -e '/^func_len ()$/,/^} # func_len /c\
16036func_len ()\
16037{\
16038    func_len_result=${#1}\
16039} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16040  && mv -f "$cfgfile.tmp" "$cfgfile" \
16041    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16042test 0 -eq $? || _lt_function_replace_fail=:
16043
16044fi
16045
16046if test x"$lt_shell_append" = xyes; then
16047  sed -e '/^func_append ()$/,/^} # func_append /c\
16048func_append ()\
16049{\
16050    eval "${1}+=\\${2}"\
16051} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16052  && mv -f "$cfgfile.tmp" "$cfgfile" \
16053    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16054test 0 -eq $? || _lt_function_replace_fail=:
16055
16056
16057  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16058func_append_quoted ()\
16059{\
16060\    func_quote_for_eval "${2}"\
16061\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16062} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16063  && mv -f "$cfgfile.tmp" "$cfgfile" \
16064    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16065test 0 -eq $? || _lt_function_replace_fail=:
16066
16067
16068  # Save a `func_append' function call where possible by direct use of '+='
16069  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16070    && mv -f "$cfgfile.tmp" "$cfgfile" \
16071      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16072  test 0 -eq $? || _lt_function_replace_fail=:
16073else
16074  # Save a `func_append' function call even when '+=' is not available
16075  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16076    && mv -f "$cfgfile.tmp" "$cfgfile" \
16077      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16078  test 0 -eq $? || _lt_function_replace_fail=:
16079fi
16080
16081if test x"$_lt_function_replace_fail" = x":"; then
16082  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16083$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16084fi
16085
16086
16087   mv -f "$cfgfile" "$ofile" ||
16088    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16089  chmod +x "$ofile"
16090
16091 ;;
16092
16093  esac
16094done # for ac_tag
16095
16096
16097as_fn_exit 0
16098_ACEOF
16099ac_clean_files=$ac_clean_files_save
16100
16101test $ac_write_fail = 0 ||
16102  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16103
16104
16105# configure is writing to config.log, and then calls config.status.
16106# config.status does its own redirection, appending to config.log.
16107# Unfortunately, on DOS this fails, as config.log is still kept open
16108# by configure, so config.status won't be able to write to it; its
16109# output is simply discarded.  So we exec the FD to /dev/null,
16110# effectively closing config.log, so it can be properly (re)opened and
16111# appended to by config.status.  When coming back to configure, we
16112# need to make the FD available again.
16113if test "$no_create" != yes; then
16114  ac_cs_success=:
16115  ac_config_status_args=
16116  test "$silent" = yes &&
16117    ac_config_status_args="$ac_config_status_args --quiet"
16118  exec 5>/dev/null
16119  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16120  exec 5>>config.log
16121  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16122  # would make configure fail if this is the last instruction.
16123  $ac_cs_success || as_fn_exit 1
16124fi
16125if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16126  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16127$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16128fi
16129
16130	else
16131		as_fn_error $? "Dee ICU support requires ICU >= 4.6" "$LINENO" 5
16132	fi
16133fi
16134
16135 if test "x$enable_icu" = "xyes"; then
16136  HAVE_ICU_TRUE=
16137  HAVE_ICU_FALSE='#'
16138else
16139  HAVE_ICU_TRUE='#'
16140  HAVE_ICU_FALSE=
16141fi
16142
16143
16144ac_config_files="$ac_config_files Makefile build/Makefile build/autotools/Makefile src/Makefile bindings/Makefile bindings/python/Makefile doc/Makefile doc/reference/Makefile doc/reference/dee-1.0/Makefile dee-1.0.pc tests/Makefile tools/Makefile examples/Makefile vapi/Makefile"
16145
16146cat >confcache <<\_ACEOF
16147# This file is a shell script that caches the results of configure
16148# tests run on this system so they can be shared between configure
16149# scripts and configure runs, see configure's option --config-cache.
16150# It is not useful on other systems.  If it contains results you don't
16151# want to keep, you may remove or edit it.
16152#
16153# config.status only pays attention to the cache file if you give it
16154# the --recheck option to rerun configure.
16155#
16156# `ac_cv_env_foo' variables (set or unset) will be overridden when
16157# loading this file, other *unset* `ac_cv_foo' will be assigned the
16158# following values.
16159
16160_ACEOF
16161
16162# The following way of writing the cache mishandles newlines in values,
16163# but we know of no workaround that is simple, portable, and efficient.
16164# So, we kill variables containing newlines.
16165# Ultrix sh set writes to stderr and can't be redirected directly,
16166# and sets the high bit in the cache file unless we assign to the vars.
16167(
16168  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16169    eval ac_val=\$$ac_var
16170    case $ac_val in #(
16171    *${as_nl}*)
16172      case $ac_var in #(
16173      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16174$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16175      esac
16176      case $ac_var in #(
16177      _ | IFS | as_nl) ;; #(
16178      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16179      *) { eval $ac_var=; unset $ac_var;} ;;
16180      esac ;;
16181    esac
16182  done
16183
16184  (set) 2>&1 |
16185    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16186    *${as_nl}ac_space=\ *)
16187      # `set' does not quote correctly, so add quotes: double-quote
16188      # substitution turns \\\\ into \\, and sed turns \\ into \.
16189      sed -n \
16190	"s/'/'\\\\''/g;
16191	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16192      ;; #(
16193    *)
16194      # `set' quotes correctly as required by POSIX, so do not add quotes.
16195      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16196      ;;
16197    esac |
16198    sort
16199) |
16200  sed '
16201     /^ac_cv_env_/b end
16202     t clear
16203     :clear
16204     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16205     t end
16206     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16207     :end' >>confcache
16208if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16209  if test -w "$cache_file"; then
16210    if test "x$cache_file" != "x/dev/null"; then
16211      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16212$as_echo "$as_me: updating cache $cache_file" >&6;}
16213      if test ! -f "$cache_file" || test -h "$cache_file"; then
16214	cat confcache >"$cache_file"
16215      else
16216        case $cache_file in #(
16217        */* | ?:*)
16218	  mv -f confcache "$cache_file"$$ &&
16219	  mv -f "$cache_file"$$ "$cache_file" ;; #(
16220        *)
16221	  mv -f confcache "$cache_file" ;;
16222	esac
16223      fi
16224    fi
16225  else
16226    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16227$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16228  fi
16229fi
16230rm -f confcache
16231
16232test "x$prefix" = xNONE && prefix=$ac_default_prefix
16233# Let make expand exec_prefix.
16234test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16235
16236DEFS=-DHAVE_CONFIG_H
16237
16238ac_libobjs=
16239ac_ltlibobjs=
16240U=
16241for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16242  # 1. Remove the extension, and $U if already installed.
16243  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16244  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16245  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16246  #    will be set to the directory where LIBOBJS objects are built.
16247  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16248  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16249done
16250LIBOBJS=$ac_libobjs
16251
16252LTLIBOBJS=$ac_ltlibobjs
16253
16254
16255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16256$as_echo_n "checking that generated files are newer than configure... " >&6; }
16257   if test -n "$am_sleep_pid"; then
16258     # Hide warnings about reused PIDs.
16259     wait $am_sleep_pid 2>/dev/null
16260   fi
16261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16262$as_echo "done" >&6; }
16263 if test -n "$EXEEXT"; then
16264  am__EXEEXT_TRUE=
16265  am__EXEEXT_FALSE='#'
16266else
16267  am__EXEEXT_TRUE='#'
16268  am__EXEEXT_FALSE=
16269fi
16270
16271if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16272  as_fn_error $? "conditional \"AMDEP\" was never defined.
16273Usually this means the macro was only invoked conditionally." "$LINENO" 5
16274fi
16275if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16276  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16277Usually this means the macro was only invoked conditionally." "$LINENO" 5
16278fi
16279if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
16280  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
16281Usually this means the macro was only invoked conditionally." "$LINENO" 5
16282fi
16283if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16284  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
16285Usually this means the macro was only invoked conditionally." "$LINENO" 5
16286fi
16287if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
16288  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
16289Usually this means the macro was only invoked conditionally." "$LINENO" 5
16290fi
16291if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
16292  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
16293Usually this means the macro was only invoked conditionally." "$LINENO" 5
16294fi
16295if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
16296  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16297Usually this means the macro was only invoked conditionally." "$LINENO" 5
16298fi
16299if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
16300  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
16301Usually this means the macro was only invoked conditionally." "$LINENO" 5
16302fi
16303if test -z "${WANT_TESTS_TRUE}" && test -z "${WANT_TESTS_FALSE}"; then
16304  as_fn_error $? "conditional \"WANT_TESTS\" was never defined.
16305Usually this means the macro was only invoked conditionally." "$LINENO" 5
16306fi
16307if test -z "${HAVE_GCOV_TRUE}" && test -z "${HAVE_GCOV_FALSE}"; then
16308  as_fn_error $? "conditional \"HAVE_GCOV\" was never defined.
16309Usually this means the macro was only invoked conditionally." "$LINENO" 5
16310fi
16311if test -z "${HAVE_GCOV_TRUE}" && test -z "${HAVE_GCOV_FALSE}"; then
16312  as_fn_error $? "conditional \"HAVE_GCOV\" was never defined.
16313Usually this means the macro was only invoked conditionally." "$LINENO" 5
16314fi
16315if test -z "${HAVE_LCOV_TRUE}" && test -z "${HAVE_LCOV_FALSE}"; then
16316  as_fn_error $? "conditional \"HAVE_LCOV\" was never defined.
16317Usually this means the macro was only invoked conditionally." "$LINENO" 5
16318fi
16319if test -z "${HAVE_GCOVR_TRUE}" && test -z "${HAVE_GCOVR_FALSE}"; then
16320  as_fn_error $? "conditional \"HAVE_GCOVR\" was never defined.
16321Usually this means the macro was only invoked conditionally." "$LINENO" 5
16322fi
16323if test -z "${HAVE_GTX_TRUE}" && test -z "${HAVE_GTX_FALSE}"; then
16324  as_fn_error $? "conditional \"HAVE_GTX\" was never defined.
16325Usually this means the macro was only invoked conditionally." "$LINENO" 5
16326fi
16327if test -z "${ENABLE_TRACE_LOG_TRUE}" && test -z "${ENABLE_TRACE_LOG_FALSE}"; then
16328  as_fn_error $? "conditional \"ENABLE_TRACE_LOG\" was never defined.
16329Usually this means the macro was only invoked conditionally." "$LINENO" 5
16330fi
16331if test -z "${HAVE_VAPIGEN_TRUE}" && test -z "${HAVE_VAPIGEN_FALSE}"; then
16332  as_fn_error $? "conditional \"HAVE_VAPIGEN\" was never defined.
16333Usually this means the macro was only invoked conditionally." "$LINENO" 5
16334fi
16335if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
16336  as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
16337Usually this means the macro was only invoked conditionally." "$LINENO" 5
16338fi
16339if test -z "${HAVE_ICU_TRUE}" && test -z "${HAVE_ICU_FALSE}"; then
16340  as_fn_error $? "conditional \"HAVE_ICU\" was never defined.
16341Usually this means the macro was only invoked conditionally." "$LINENO" 5
16342fi
16343
16344: "${CONFIG_STATUS=./config.status}"
16345ac_write_fail=0
16346ac_clean_files_save=$ac_clean_files
16347ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16348{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16349$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16350as_write_fail=0
16351cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16352#! $SHELL
16353# Generated by $as_me.
16354# Run this file to recreate the current configuration.
16355# Compiler output produced by configure, useful for debugging
16356# configure, is in config.log if it exists.
16357
16358debug=false
16359ac_cs_recheck=false
16360ac_cs_silent=false
16361
16362SHELL=\${CONFIG_SHELL-$SHELL}
16363export SHELL
16364_ASEOF
16365cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16366## -------------------- ##
16367## M4sh Initialization. ##
16368## -------------------- ##
16369
16370# Be more Bourne compatible
16371DUALCASE=1; export DUALCASE # for MKS sh
16372if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16373  emulate sh
16374  NULLCMD=:
16375  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16376  # is contrary to our usage.  Disable this feature.
16377  alias -g '${1+"$@"}'='"$@"'
16378  setopt NO_GLOB_SUBST
16379else
16380  case `(set -o) 2>/dev/null` in #(
16381  *posix*) :
16382    set -o posix ;; #(
16383  *) :
16384     ;;
16385esac
16386fi
16387
16388
16389as_nl='
16390'
16391export as_nl
16392# Printing a long string crashes Solaris 7 /usr/bin/printf.
16393as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16394as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16395as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16396# Prefer a ksh shell builtin over an external printf program on Solaris,
16397# but without wasting forks for bash or zsh.
16398if test -z "$BASH_VERSION$ZSH_VERSION" \
16399    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16400  as_echo='print -r --'
16401  as_echo_n='print -rn --'
16402elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16403  as_echo='printf %s\n'
16404  as_echo_n='printf %s'
16405else
16406  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16407    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16408    as_echo_n='/usr/ucb/echo -n'
16409  else
16410    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16411    as_echo_n_body='eval
16412      arg=$1;
16413      case $arg in #(
16414      *"$as_nl"*)
16415	expr "X$arg" : "X\\(.*\\)$as_nl";
16416	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16417      esac;
16418      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16419    '
16420    export as_echo_n_body
16421    as_echo_n='sh -c $as_echo_n_body as_echo'
16422  fi
16423  export as_echo_body
16424  as_echo='sh -c $as_echo_body as_echo'
16425fi
16426
16427# The user is always right.
16428if test "${PATH_SEPARATOR+set}" != set; then
16429  PATH_SEPARATOR=:
16430  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16431    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16432      PATH_SEPARATOR=';'
16433  }
16434fi
16435
16436
16437# IFS
16438# We need space, tab and new line, in precisely that order.  Quoting is
16439# there to prevent editors from complaining about space-tab.
16440# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16441# splitting by setting IFS to empty value.)
16442IFS=" ""	$as_nl"
16443
16444# Find who we are.  Look in the path if we contain no directory separator.
16445as_myself=
16446case $0 in #((
16447  *[\\/]* ) as_myself=$0 ;;
16448  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16449for as_dir in $PATH
16450do
16451  IFS=$as_save_IFS
16452  test -z "$as_dir" && as_dir=.
16453    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16454  done
16455IFS=$as_save_IFS
16456
16457     ;;
16458esac
16459# We did not find ourselves, most probably we were run as `sh COMMAND'
16460# in which case we are not to be found in the path.
16461if test "x$as_myself" = x; then
16462  as_myself=$0
16463fi
16464if test ! -f "$as_myself"; then
16465  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16466  exit 1
16467fi
16468
16469# Unset variables that we do not need and which cause bugs (e.g. in
16470# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16471# suppresses any "Segmentation fault" message there.  '((' could
16472# trigger a bug in pdksh 5.2.14.
16473for as_var in BASH_ENV ENV MAIL MAILPATH
16474do eval test x\${$as_var+set} = xset \
16475  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16476done
16477PS1='$ '
16478PS2='> '
16479PS4='+ '
16480
16481# NLS nuisances.
16482LC_ALL=C
16483export LC_ALL
16484LANGUAGE=C
16485export LANGUAGE
16486
16487# CDPATH.
16488(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16489
16490
16491# as_fn_error STATUS ERROR [LINENO LOG_FD]
16492# ----------------------------------------
16493# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16494# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16495# script with STATUS, using 1 if that was 0.
16496as_fn_error ()
16497{
16498  as_status=$1; test $as_status -eq 0 && as_status=1
16499  if test "$4"; then
16500    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16501    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16502  fi
16503  $as_echo "$as_me: error: $2" >&2
16504  as_fn_exit $as_status
16505} # as_fn_error
16506
16507
16508# as_fn_set_status STATUS
16509# -----------------------
16510# Set $? to STATUS, without forking.
16511as_fn_set_status ()
16512{
16513  return $1
16514} # as_fn_set_status
16515
16516# as_fn_exit STATUS
16517# -----------------
16518# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16519as_fn_exit ()
16520{
16521  set +e
16522  as_fn_set_status $1
16523  exit $1
16524} # as_fn_exit
16525
16526# as_fn_unset VAR
16527# ---------------
16528# Portably unset VAR.
16529as_fn_unset ()
16530{
16531  { eval $1=; unset $1;}
16532}
16533as_unset=as_fn_unset
16534# as_fn_append VAR VALUE
16535# ----------------------
16536# Append the text in VALUE to the end of the definition contained in VAR. Take
16537# advantage of any shell optimizations that allow amortized linear growth over
16538# repeated appends, instead of the typical quadratic growth present in naive
16539# implementations.
16540if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16541  eval 'as_fn_append ()
16542  {
16543    eval $1+=\$2
16544  }'
16545else
16546  as_fn_append ()
16547  {
16548    eval $1=\$$1\$2
16549  }
16550fi # as_fn_append
16551
16552# as_fn_arith ARG...
16553# ------------------
16554# Perform arithmetic evaluation on the ARGs, and store the result in the
16555# global $as_val. Take advantage of shells that can avoid forks. The arguments
16556# must be portable across $(()) and expr.
16557if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16558  eval 'as_fn_arith ()
16559  {
16560    as_val=$(( $* ))
16561  }'
16562else
16563  as_fn_arith ()
16564  {
16565    as_val=`expr "$@" || test $? -eq 1`
16566  }
16567fi # as_fn_arith
16568
16569
16570if expr a : '\(a\)' >/dev/null 2>&1 &&
16571   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16572  as_expr=expr
16573else
16574  as_expr=false
16575fi
16576
16577if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16578  as_basename=basename
16579else
16580  as_basename=false
16581fi
16582
16583if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16584  as_dirname=dirname
16585else
16586  as_dirname=false
16587fi
16588
16589as_me=`$as_basename -- "$0" ||
16590$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16591	 X"$0" : 'X\(//\)$' \| \
16592	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16593$as_echo X/"$0" |
16594    sed '/^.*\/\([^/][^/]*\)\/*$/{
16595	    s//\1/
16596	    q
16597	  }
16598	  /^X\/\(\/\/\)$/{
16599	    s//\1/
16600	    q
16601	  }
16602	  /^X\/\(\/\).*/{
16603	    s//\1/
16604	    q
16605	  }
16606	  s/.*/./; q'`
16607
16608# Avoid depending upon Character Ranges.
16609as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16610as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16611as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16612as_cr_digits='0123456789'
16613as_cr_alnum=$as_cr_Letters$as_cr_digits
16614
16615ECHO_C= ECHO_N= ECHO_T=
16616case `echo -n x` in #(((((
16617-n*)
16618  case `echo 'xy\c'` in
16619  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
16620  xy)  ECHO_C='\c';;
16621  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16622       ECHO_T='	';;
16623  esac;;
16624*)
16625  ECHO_N='-n';;
16626esac
16627
16628rm -f conf$$ conf$$.exe conf$$.file
16629if test -d conf$$.dir; then
16630  rm -f conf$$.dir/conf$$.file
16631else
16632  rm -f conf$$.dir
16633  mkdir conf$$.dir 2>/dev/null
16634fi
16635if (echo >conf$$.file) 2>/dev/null; then
16636  if ln -s conf$$.file conf$$ 2>/dev/null; then
16637    as_ln_s='ln -s'
16638    # ... but there are two gotchas:
16639    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16640    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16641    # In both cases, we have to default to `cp -pR'.
16642    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16643      as_ln_s='cp -pR'
16644  elif ln conf$$.file conf$$ 2>/dev/null; then
16645    as_ln_s=ln
16646  else
16647    as_ln_s='cp -pR'
16648  fi
16649else
16650  as_ln_s='cp -pR'
16651fi
16652rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16653rmdir conf$$.dir 2>/dev/null
16654
16655
16656# as_fn_mkdir_p
16657# -------------
16658# Create "$as_dir" as a directory, including parents if necessary.
16659as_fn_mkdir_p ()
16660{
16661
16662  case $as_dir in #(
16663  -*) as_dir=./$as_dir;;
16664  esac
16665  test -d "$as_dir" || eval $as_mkdir_p || {
16666    as_dirs=
16667    while :; do
16668      case $as_dir in #(
16669      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16670      *) as_qdir=$as_dir;;
16671      esac
16672      as_dirs="'$as_qdir' $as_dirs"
16673      as_dir=`$as_dirname -- "$as_dir" ||
16674$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16675	 X"$as_dir" : 'X\(//\)[^/]' \| \
16676	 X"$as_dir" : 'X\(//\)$' \| \
16677	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16678$as_echo X"$as_dir" |
16679    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16680	    s//\1/
16681	    q
16682	  }
16683	  /^X\(\/\/\)[^/].*/{
16684	    s//\1/
16685	    q
16686	  }
16687	  /^X\(\/\/\)$/{
16688	    s//\1/
16689	    q
16690	  }
16691	  /^X\(\/\).*/{
16692	    s//\1/
16693	    q
16694	  }
16695	  s/.*/./; q'`
16696      test -d "$as_dir" && break
16697    done
16698    test -z "$as_dirs" || eval "mkdir $as_dirs"
16699  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16700
16701
16702} # as_fn_mkdir_p
16703if mkdir -p . 2>/dev/null; then
16704  as_mkdir_p='mkdir -p "$as_dir"'
16705else
16706  test -d ./-p && rmdir ./-p
16707  as_mkdir_p=false
16708fi
16709
16710
16711# as_fn_executable_p FILE
16712# -----------------------
16713# Test if FILE is an executable regular file.
16714as_fn_executable_p ()
16715{
16716  test -f "$1" && test -x "$1"
16717} # as_fn_executable_p
16718as_test_x='test -x'
16719as_executable_p=as_fn_executable_p
16720
16721# Sed expression to map a string onto a valid CPP name.
16722as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16723
16724# Sed expression to map a string onto a valid variable name.
16725as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16726
16727
16728exec 6>&1
16729## ----------------------------------- ##
16730## Main body of $CONFIG_STATUS script. ##
16731## ----------------------------------- ##
16732_ASEOF
16733test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16734
16735cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16736# Save the log message, to keep $0 and so on meaningful, and to
16737# report actual input values of CONFIG_FILES etc. instead of their
16738# values after options handling.
16739ac_log="
16740This file was extended by dee $as_me 1.2.7, which was
16741generated by GNU Autoconf 2.69.  Invocation command line was
16742
16743  CONFIG_FILES    = $CONFIG_FILES
16744  CONFIG_HEADERS  = $CONFIG_HEADERS
16745  CONFIG_LINKS    = $CONFIG_LINKS
16746  CONFIG_COMMANDS = $CONFIG_COMMANDS
16747  $ $0 $@
16748
16749on `(hostname || uname -n) 2>/dev/null | sed 1q`
16750"
16751
16752_ACEOF
16753
16754case $ac_config_files in *"
16755"*) set x $ac_config_files; shift; ac_config_files=$*;;
16756esac
16757
16758case $ac_config_headers in *"
16759"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16760esac
16761
16762
16763cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16764# Files that config.status was made for.
16765config_files="$ac_config_files"
16766config_headers="$ac_config_headers"
16767config_commands="$ac_config_commands"
16768
16769_ACEOF
16770
16771cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16772ac_cs_usage="\
16773\`$as_me' instantiates files and other configuration actions
16774from templates according to the current configuration.  Unless the files
16775and actions are specified as TAGs, all are instantiated by default.
16776
16777Usage: $0 [OPTION]... [TAG]...
16778
16779  -h, --help       print this help, then exit
16780  -V, --version    print version number and configuration settings, then exit
16781      --config     print configuration, then exit
16782  -q, --quiet, --silent
16783                   do not print progress messages
16784  -d, --debug      don't remove temporary files
16785      --recheck    update $as_me by reconfiguring in the same conditions
16786      --file=FILE[:TEMPLATE]
16787                   instantiate the configuration file FILE
16788      --header=FILE[:TEMPLATE]
16789                   instantiate the configuration header FILE
16790
16791Configuration files:
16792$config_files
16793
16794Configuration headers:
16795$config_headers
16796
16797Configuration commands:
16798$config_commands
16799
16800Report bugs to <https://bugs.launchpad.net/dee>."
16801
16802_ACEOF
16803cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16804ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16805ac_cs_version="\\
16806dee config.status 1.2.7
16807configured by $0, generated by GNU Autoconf 2.69,
16808  with options \\"\$ac_cs_config\\"
16809
16810Copyright (C) 2012 Free Software Foundation, Inc.
16811This config.status script is free software; the Free Software Foundation
16812gives unlimited permission to copy, distribute and modify it."
16813
16814ac_pwd='$ac_pwd'
16815srcdir='$srcdir'
16816INSTALL='$INSTALL'
16817MKDIR_P='$MKDIR_P'
16818AWK='$AWK'
16819test -n "\$AWK" || AWK=awk
16820_ACEOF
16821
16822cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16823# The default lists apply if the user does not specify any file.
16824ac_need_defaults=:
16825while test $# != 0
16826do
16827  case $1 in
16828  --*=?*)
16829    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16830    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16831    ac_shift=:
16832    ;;
16833  --*=)
16834    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16835    ac_optarg=
16836    ac_shift=:
16837    ;;
16838  *)
16839    ac_option=$1
16840    ac_optarg=$2
16841    ac_shift=shift
16842    ;;
16843  esac
16844
16845  case $ac_option in
16846  # Handling of the options.
16847  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16848    ac_cs_recheck=: ;;
16849  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16850    $as_echo "$ac_cs_version"; exit ;;
16851  --config | --confi | --conf | --con | --co | --c )
16852    $as_echo "$ac_cs_config"; exit ;;
16853  --debug | --debu | --deb | --de | --d | -d )
16854    debug=: ;;
16855  --file | --fil | --fi | --f )
16856    $ac_shift
16857    case $ac_optarg in
16858    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16859    '') as_fn_error $? "missing file argument" ;;
16860    esac
16861    as_fn_append CONFIG_FILES " '$ac_optarg'"
16862    ac_need_defaults=false;;
16863  --header | --heade | --head | --hea )
16864    $ac_shift
16865    case $ac_optarg in
16866    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16867    esac
16868    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16869    ac_need_defaults=false;;
16870  --he | --h)
16871    # Conflict between --help and --header
16872    as_fn_error $? "ambiguous option: \`$1'
16873Try \`$0 --help' for more information.";;
16874  --help | --hel | -h )
16875    $as_echo "$ac_cs_usage"; exit ;;
16876  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16877  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16878    ac_cs_silent=: ;;
16879
16880  # This is an error.
16881  -*) as_fn_error $? "unrecognized option: \`$1'
16882Try \`$0 --help' for more information." ;;
16883
16884  *) as_fn_append ac_config_targets " $1"
16885     ac_need_defaults=false ;;
16886
16887  esac
16888  shift
16889done
16890
16891ac_configure_extra_args=
16892
16893if $ac_cs_silent; then
16894  exec 6>/dev/null
16895  ac_configure_extra_args="$ac_configure_extra_args --silent"
16896fi
16897
16898_ACEOF
16899cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16900if \$ac_cs_recheck; then
16901  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16902  shift
16903  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16904  CONFIG_SHELL='$SHELL'
16905  export CONFIG_SHELL
16906  exec "\$@"
16907fi
16908
16909_ACEOF
16910cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16911exec 5>>config.log
16912{
16913  echo
16914  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16915## Running $as_me. ##
16916_ASBOX
16917  $as_echo "$ac_log"
16918} >&5
16919
16920_ACEOF
16921cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16922#
16923# INIT-COMMANDS
16924#
16925AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16926
16927
16928# The HP-UX ksh and POSIX shell print the target directory to stdout
16929# if CDPATH is set.
16930(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16931
16932sed_quote_subst='$sed_quote_subst'
16933double_quote_subst='$double_quote_subst'
16934delay_variable_subst='$delay_variable_subst'
16935enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16936macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16937macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16938enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16939pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16940enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16941SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16942ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16943PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16944host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16945host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16946host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16947build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16948build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16949build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16950SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16951Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16952GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16953EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16954FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16955LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16956NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16957LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16958max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16959ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16960exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16961lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16962lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16963lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16964lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16965lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16966reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16967reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16968OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16969deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16970file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16971file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16972want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16973DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16974sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16975AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16976AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16977archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16978STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16979RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16980old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16981old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16982old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16983lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16984CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16985CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16986compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16987GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16988lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16989lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16990lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16991lt_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"`'
16992nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16993lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16994objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16995MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16996lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16997lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16998lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16999lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17000lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17001need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17002MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17003DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17004NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17005LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17006OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17007OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17008libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17009shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17010extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17011archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17012enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17013export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17014whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17015compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17016old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17017old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17018archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17019archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17020module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17021module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17022with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17023allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17024no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17025hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17026hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17027hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17028hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17029hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17030hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17031hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17032inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17033link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17034always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17035export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17036exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17037include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17038prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17039postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17040file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17041variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17042need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17043need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17044version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17045runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17046shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17047shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17048libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17049library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17050soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17051install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17052postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17053postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17054finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17055finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17056hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17057sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17058sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17059hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17060enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17061enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17062enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17063old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17064striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17065
17066LTCC='$LTCC'
17067LTCFLAGS='$LTCFLAGS'
17068compiler='$compiler_DEFAULT'
17069
17070# A function that is used when there is no print builtin or printf.
17071func_fallback_echo ()
17072{
17073  eval 'cat <<_LTECHO_EOF
17074\$1
17075_LTECHO_EOF'
17076}
17077
17078# Quote evaled strings.
17079for var in SHELL \
17080ECHO \
17081PATH_SEPARATOR \
17082SED \
17083GREP \
17084EGREP \
17085FGREP \
17086LD \
17087NM \
17088LN_S \
17089lt_SP2NL \
17090lt_NL2SP \
17091reload_flag \
17092OBJDUMP \
17093deplibs_check_method \
17094file_magic_cmd \
17095file_magic_glob \
17096want_nocaseglob \
17097DLLTOOL \
17098sharedlib_from_linklib_cmd \
17099AR \
17100AR_FLAGS \
17101archiver_list_spec \
17102STRIP \
17103RANLIB \
17104CC \
17105CFLAGS \
17106compiler \
17107lt_cv_sys_global_symbol_pipe \
17108lt_cv_sys_global_symbol_to_cdecl \
17109lt_cv_sys_global_symbol_to_c_name_address \
17110lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17111nm_file_list_spec \
17112lt_prog_compiler_no_builtin_flag \
17113lt_prog_compiler_pic \
17114lt_prog_compiler_wl \
17115lt_prog_compiler_static \
17116lt_cv_prog_compiler_c_o \
17117need_locks \
17118MANIFEST_TOOL \
17119DSYMUTIL \
17120NMEDIT \
17121LIPO \
17122OTOOL \
17123OTOOL64 \
17124shrext_cmds \
17125export_dynamic_flag_spec \
17126whole_archive_flag_spec \
17127compiler_needs_object \
17128with_gnu_ld \
17129allow_undefined_flag \
17130no_undefined_flag \
17131hardcode_libdir_flag_spec \
17132hardcode_libdir_separator \
17133exclude_expsyms \
17134include_expsyms \
17135file_list_spec \
17136variables_saved_for_relink \
17137libname_spec \
17138library_names_spec \
17139soname_spec \
17140install_override_mode \
17141finish_eval \
17142old_striplib \
17143striplib; do
17144    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17145    *[\\\\\\\`\\"\\\$]*)
17146      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17147      ;;
17148    *)
17149      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17150      ;;
17151    esac
17152done
17153
17154# Double-quote double-evaled strings.
17155for var in reload_cmds \
17156old_postinstall_cmds \
17157old_postuninstall_cmds \
17158old_archive_cmds \
17159extract_expsyms_cmds \
17160old_archive_from_new_cmds \
17161old_archive_from_expsyms_cmds \
17162archive_cmds \
17163archive_expsym_cmds \
17164module_cmds \
17165module_expsym_cmds \
17166export_symbols_cmds \
17167prelink_cmds \
17168postlink_cmds \
17169postinstall_cmds \
17170postuninstall_cmds \
17171finish_cmds \
17172sys_lib_search_path_spec \
17173sys_lib_dlsearch_path_spec; do
17174    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17175    *[\\\\\\\`\\"\\\$]*)
17176      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17177      ;;
17178    *)
17179      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17180      ;;
17181    esac
17182done
17183
17184ac_aux_dir='$ac_aux_dir'
17185xsi_shell='$xsi_shell'
17186lt_shell_append='$lt_shell_append'
17187
17188# See if we are running on zsh, and set the options which allow our
17189# commands through without removal of \ escapes INIT.
17190if test -n "\${ZSH_VERSION+set}" ; then
17191   setopt NO_GLOB_SUBST
17192fi
17193
17194
17195    PACKAGE='$PACKAGE'
17196    VERSION='$VERSION'
17197    TIMESTAMP='$TIMESTAMP'
17198    RM='$RM'
17199    ofile='$ofile'
17200
17201ac_aux_dir='$ac_aux_dir'
17202
17203
17204
17205_ACEOF
17206
17207cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17208
17209# Handling of arguments.
17210for ac_config_target in $ac_config_targets
17211do
17212  case $ac_config_target in
17213    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17214    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17215    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17216    "dee-icu-1.0.pc") CONFIG_FILES="$CONFIG_FILES dee-icu-1.0.pc" ;;
17217    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17218    "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
17219    "build/autotools/Makefile") CONFIG_FILES="$CONFIG_FILES build/autotools/Makefile" ;;
17220    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17221    "bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;;
17222    "bindings/python/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/Makefile" ;;
17223    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17224    "doc/reference/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/Makefile" ;;
17225    "doc/reference/dee-1.0/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/dee-1.0/Makefile" ;;
17226    "dee-1.0.pc") CONFIG_FILES="$CONFIG_FILES dee-1.0.pc" ;;
17227    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17228    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
17229    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17230    "vapi/Makefile") CONFIG_FILES="$CONFIG_FILES vapi/Makefile" ;;
17231
17232  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17233  esac
17234done
17235
17236
17237# If the user did not use the arguments to specify the items to instantiate,
17238# then the envvar interface is used.  Set only those that are not.
17239# We use the long form for the default assignment because of an extremely
17240# bizarre bug on SunOS 4.1.3.
17241if $ac_need_defaults; then
17242  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17243  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17244  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17245fi
17246
17247# Have a temporary directory for convenience.  Make it in the build tree
17248# simply because there is no reason against having it here, and in addition,
17249# creating and moving files from /tmp can sometimes cause problems.
17250# Hook for its removal unless debugging.
17251# Note that there is a small window in which the directory will not be cleaned:
17252# after its creation but before its name has been assigned to `$tmp'.
17253$debug ||
17254{
17255  tmp= ac_tmp=
17256  trap 'exit_status=$?
17257  : "${ac_tmp:=$tmp}"
17258  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17259' 0
17260  trap 'as_fn_exit 1' 1 2 13 15
17261}
17262# Create a (secure) tmp directory for tmp files.
17263
17264{
17265  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17266  test -d "$tmp"
17267}  ||
17268{
17269  tmp=./conf$$-$RANDOM
17270  (umask 077 && mkdir "$tmp")
17271} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17272ac_tmp=$tmp
17273
17274# Set up the scripts for CONFIG_FILES section.
17275# No need to generate them if there are no CONFIG_FILES.
17276# This happens for instance with `./config.status config.h'.
17277if test -n "$CONFIG_FILES"; then
17278
17279
17280ac_cr=`echo X | tr X '\015'`
17281# On cygwin, bash can eat \r inside `` if the user requested igncr.
17282# But we know of no other shell where ac_cr would be empty at this
17283# point, so we can use a bashism as a fallback.
17284if test "x$ac_cr" = x; then
17285  eval ac_cr=\$\'\\r\'
17286fi
17287ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17288if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17289  ac_cs_awk_cr='\\r'
17290else
17291  ac_cs_awk_cr=$ac_cr
17292fi
17293
17294echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17295_ACEOF
17296
17297
17298{
17299  echo "cat >conf$$subs.awk <<_ACEOF" &&
17300  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17301  echo "_ACEOF"
17302} >conf$$subs.sh ||
17303  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17304ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17305ac_delim='%!_!# '
17306for ac_last_try in false false false false false :; do
17307  . ./conf$$subs.sh ||
17308    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17309
17310  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17311  if test $ac_delim_n = $ac_delim_num; then
17312    break
17313  elif $ac_last_try; then
17314    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17315  else
17316    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17317  fi
17318done
17319rm -f conf$$subs.sh
17320
17321cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17322cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17323_ACEOF
17324sed -n '
17325h
17326s/^/S["/; s/!.*/"]=/
17327p
17328g
17329s/^[^!]*!//
17330:repl
17331t repl
17332s/'"$ac_delim"'$//
17333t delim
17334:nl
17335h
17336s/\(.\{148\}\)..*/\1/
17337t more1
17338s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17339p
17340n
17341b repl
17342:more1
17343s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17344p
17345g
17346s/.\{148\}//
17347t nl
17348:delim
17349h
17350s/\(.\{148\}\)..*/\1/
17351t more2
17352s/["\\]/\\&/g; s/^/"/; s/$/"/
17353p
17354b
17355:more2
17356s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17357p
17358g
17359s/.\{148\}//
17360t delim
17361' <conf$$subs.awk | sed '
17362/^[^""]/{
17363  N
17364  s/\n//
17365}
17366' >>$CONFIG_STATUS || ac_write_fail=1
17367rm -f conf$$subs.awk
17368cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17369_ACAWK
17370cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17371  for (key in S) S_is_set[key] = 1
17372  FS = ""
17373
17374}
17375{
17376  line = $ 0
17377  nfields = split(line, field, "@")
17378  substed = 0
17379  len = length(field[1])
17380  for (i = 2; i < nfields; i++) {
17381    key = field[i]
17382    keylen = length(key)
17383    if (S_is_set[key]) {
17384      value = S[key]
17385      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17386      len += length(value) + length(field[++i])
17387      substed = 1
17388    } else
17389      len += 1 + keylen
17390  }
17391
17392  print line
17393}
17394
17395_ACAWK
17396_ACEOF
17397cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17398if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17399  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17400else
17401  cat
17402fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17403  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17404_ACEOF
17405
17406# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17407# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17408# trailing colons and then remove the whole line if VPATH becomes empty
17409# (actually we leave an empty line to preserve line numbers).
17410if test "x$srcdir" = x.; then
17411  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
17412h
17413s///
17414s/^/:/
17415s/[	 ]*$/:/
17416s/:\$(srcdir):/:/g
17417s/:\${srcdir}:/:/g
17418s/:@srcdir@:/:/g
17419s/^:*//
17420s/:*$//
17421x
17422s/\(=[	 ]*\).*/\1/
17423G
17424s/\n//
17425s/^[^=]*=[	 ]*$//
17426}'
17427fi
17428
17429cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17430fi # test -n "$CONFIG_FILES"
17431
17432# Set up the scripts for CONFIG_HEADERS section.
17433# No need to generate them if there are no CONFIG_HEADERS.
17434# This happens for instance with `./config.status Makefile'.
17435if test -n "$CONFIG_HEADERS"; then
17436cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17437BEGIN {
17438_ACEOF
17439
17440# Transform confdefs.h into an awk script `defines.awk', embedded as
17441# here-document in config.status, that substitutes the proper values into
17442# config.h.in to produce config.h.
17443
17444# Create a delimiter string that does not exist in confdefs.h, to ease
17445# handling of long lines.
17446ac_delim='%!_!# '
17447for ac_last_try in false false :; do
17448  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17449  if test -z "$ac_tt"; then
17450    break
17451  elif $ac_last_try; then
17452    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17453  else
17454    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17455  fi
17456done
17457
17458# For the awk script, D is an array of macro values keyed by name,
17459# likewise P contains macro parameters if any.  Preserve backslash
17460# newline sequences.
17461
17462ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17463sed -n '
17464s/.\{148\}/&'"$ac_delim"'/g
17465t rset
17466:rset
17467s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
17468t def
17469d
17470:def
17471s/\\$//
17472t bsnl
17473s/["\\]/\\&/g
17474s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17475D["\1"]=" \3"/p
17476s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
17477d
17478:bsnl
17479s/["\\]/\\&/g
17480s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17481D["\1"]=" \3\\\\\\n"\\/p
17482t cont
17483s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17484t cont
17485d
17486:cont
17487n
17488s/.\{148\}/&'"$ac_delim"'/g
17489t clear
17490:clear
17491s/\\$//
17492t bsnlc
17493s/["\\]/\\&/g; s/^/"/; s/$/"/p
17494d
17495:bsnlc
17496s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17497b cont
17498' <confdefs.h | sed '
17499s/'"$ac_delim"'/"\\\
17500"/g' >>$CONFIG_STATUS || ac_write_fail=1
17501
17502cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17503  for (key in D) D_is_set[key] = 1
17504  FS = ""
17505}
17506/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17507  line = \$ 0
17508  split(line, arg, " ")
17509  if (arg[1] == "#") {
17510    defundef = arg[2]
17511    mac1 = arg[3]
17512  } else {
17513    defundef = substr(arg[1], 2)
17514    mac1 = arg[2]
17515  }
17516  split(mac1, mac2, "(") #)
17517  macro = mac2[1]
17518  prefix = substr(line, 1, index(line, defundef) - 1)
17519  if (D_is_set[macro]) {
17520    # Preserve the white space surrounding the "#".
17521    print prefix "define", macro P[macro] D[macro]
17522    next
17523  } else {
17524    # Replace #undef with comments.  This is necessary, for example,
17525    # in the case of _POSIX_SOURCE, which is predefined and required
17526    # on some systems where configure will not decide to define it.
17527    if (defundef == "undef") {
17528      print "/*", prefix defundef, macro, "*/"
17529      next
17530    }
17531  }
17532}
17533{ print }
17534_ACAWK
17535_ACEOF
17536cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17537  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17538fi # test -n "$CONFIG_HEADERS"
17539
17540
17541eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17542shift
17543for ac_tag
17544do
17545  case $ac_tag in
17546  :[FHLC]) ac_mode=$ac_tag; continue;;
17547  esac
17548  case $ac_mode$ac_tag in
17549  :[FHL]*:*);;
17550  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17551  :[FH]-) ac_tag=-:-;;
17552  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17553  esac
17554  ac_save_IFS=$IFS
17555  IFS=:
17556  set x $ac_tag
17557  IFS=$ac_save_IFS
17558  shift
17559  ac_file=$1
17560  shift
17561
17562  case $ac_mode in
17563  :L) ac_source=$1;;
17564  :[FH])
17565    ac_file_inputs=
17566    for ac_f
17567    do
17568      case $ac_f in
17569      -) ac_f="$ac_tmp/stdin";;
17570      *) # Look for the file first in the build tree, then in the source tree
17571	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
17572	 # because $ac_f cannot contain `:'.
17573	 test -f "$ac_f" ||
17574	   case $ac_f in
17575	   [\\/$]*) false;;
17576	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17577	   esac ||
17578	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17579      esac
17580      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17581      as_fn_append ac_file_inputs " '$ac_f'"
17582    done
17583
17584    # Let's still pretend it is `configure' which instantiates (i.e., don't
17585    # use $as_me), people would be surprised to read:
17586    #    /* config.h.  Generated by config.status.  */
17587    configure_input='Generated from '`
17588	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17589	`' by configure.'
17590    if test x"$ac_file" != x-; then
17591      configure_input="$ac_file.  $configure_input"
17592      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17593$as_echo "$as_me: creating $ac_file" >&6;}
17594    fi
17595    # Neutralize special characters interpreted by sed in replacement strings.
17596    case $configure_input in #(
17597    *\&* | *\|* | *\\* )
17598       ac_sed_conf_input=`$as_echo "$configure_input" |
17599       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17600    *) ac_sed_conf_input=$configure_input;;
17601    esac
17602
17603    case $ac_tag in
17604    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17605      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17606    esac
17607    ;;
17608  esac
17609
17610  ac_dir=`$as_dirname -- "$ac_file" ||
17611$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17612	 X"$ac_file" : 'X\(//\)[^/]' \| \
17613	 X"$ac_file" : 'X\(//\)$' \| \
17614	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17615$as_echo X"$ac_file" |
17616    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17617	    s//\1/
17618	    q
17619	  }
17620	  /^X\(\/\/\)[^/].*/{
17621	    s//\1/
17622	    q
17623	  }
17624	  /^X\(\/\/\)$/{
17625	    s//\1/
17626	    q
17627	  }
17628	  /^X\(\/\).*/{
17629	    s//\1/
17630	    q
17631	  }
17632	  s/.*/./; q'`
17633  as_dir="$ac_dir"; as_fn_mkdir_p
17634  ac_builddir=.
17635
17636case "$ac_dir" in
17637.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17638*)
17639  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17640  # A ".." for each directory in $ac_dir_suffix.
17641  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17642  case $ac_top_builddir_sub in
17643  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17644  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17645  esac ;;
17646esac
17647ac_abs_top_builddir=$ac_pwd
17648ac_abs_builddir=$ac_pwd$ac_dir_suffix
17649# for backward compatibility:
17650ac_top_builddir=$ac_top_build_prefix
17651
17652case $srcdir in
17653  .)  # We are building in place.
17654    ac_srcdir=.
17655    ac_top_srcdir=$ac_top_builddir_sub
17656    ac_abs_top_srcdir=$ac_pwd ;;
17657  [\\/]* | ?:[\\/]* )  # Absolute name.
17658    ac_srcdir=$srcdir$ac_dir_suffix;
17659    ac_top_srcdir=$srcdir
17660    ac_abs_top_srcdir=$srcdir ;;
17661  *) # Relative name.
17662    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17663    ac_top_srcdir=$ac_top_build_prefix$srcdir
17664    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17665esac
17666ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17667
17668
17669  case $ac_mode in
17670  :F)
17671  #
17672  # CONFIG_FILE
17673  #
17674
17675  case $INSTALL in
17676  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17677  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17678  esac
17679  ac_MKDIR_P=$MKDIR_P
17680  case $MKDIR_P in
17681  [\\/$]* | ?:[\\/]* ) ;;
17682  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17683  esac
17684_ACEOF
17685
17686cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17687# If the template does not know about datarootdir, expand it.
17688# FIXME: This hack should be removed a few years after 2.60.
17689ac_datarootdir_hack=; ac_datarootdir_seen=
17690ac_sed_dataroot='
17691/datarootdir/ {
17692  p
17693  q
17694}
17695/@datadir@/p
17696/@docdir@/p
17697/@infodir@/p
17698/@localedir@/p
17699/@mandir@/p'
17700case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17701*datarootdir*) ac_datarootdir_seen=yes;;
17702*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17703  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17704$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17705_ACEOF
17706cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17707  ac_datarootdir_hack='
17708  s&@datadir@&$datadir&g
17709  s&@docdir@&$docdir&g
17710  s&@infodir@&$infodir&g
17711  s&@localedir@&$localedir&g
17712  s&@mandir@&$mandir&g
17713  s&\\\${datarootdir}&$datarootdir&g' ;;
17714esac
17715_ACEOF
17716
17717# Neutralize VPATH when `$srcdir' = `.'.
17718# Shell code in configure.ac might set extrasub.
17719# FIXME: do we really want to maintain this feature?
17720cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17721ac_sed_extra="$ac_vpsub
17722$extrasub
17723_ACEOF
17724cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17725:t
17726/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17727s|@configure_input@|$ac_sed_conf_input|;t t
17728s&@top_builddir@&$ac_top_builddir_sub&;t t
17729s&@top_build_prefix@&$ac_top_build_prefix&;t t
17730s&@srcdir@&$ac_srcdir&;t t
17731s&@abs_srcdir@&$ac_abs_srcdir&;t t
17732s&@top_srcdir@&$ac_top_srcdir&;t t
17733s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17734s&@builddir@&$ac_builddir&;t t
17735s&@abs_builddir@&$ac_abs_builddir&;t t
17736s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17737s&@INSTALL@&$ac_INSTALL&;t t
17738s&@MKDIR_P@&$ac_MKDIR_P&;t t
17739$ac_datarootdir_hack
17740"
17741eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17742  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17743
17744test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17745  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17746  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
17747      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17748  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17749which seems to be undefined.  Please make sure it is defined" >&5
17750$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17751which seems to be undefined.  Please make sure it is defined" >&2;}
17752
17753  rm -f "$ac_tmp/stdin"
17754  case $ac_file in
17755  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17756  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17757  esac \
17758  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17759 ;;
17760  :H)
17761  #
17762  # CONFIG_HEADER
17763  #
17764  if test x"$ac_file" != x-; then
17765    {
17766      $as_echo "/* $configure_input  */" \
17767      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17768    } >"$ac_tmp/config.h" \
17769      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17770    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17771      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17772$as_echo "$as_me: $ac_file is unchanged" >&6;}
17773    else
17774      rm -f "$ac_file"
17775      mv "$ac_tmp/config.h" "$ac_file" \
17776	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17777    fi
17778  else
17779    $as_echo "/* $configure_input  */" \
17780      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17781      || as_fn_error $? "could not create -" "$LINENO" 5
17782  fi
17783# Compute "$ac_file"'s index in $config_headers.
17784_am_arg="$ac_file"
17785_am_stamp_count=1
17786for _am_header in $config_headers :; do
17787  case $_am_header in
17788    $_am_arg | $_am_arg:* )
17789      break ;;
17790    * )
17791      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17792  esac
17793done
17794echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17795$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17796	 X"$_am_arg" : 'X\(//\)[^/]' \| \
17797	 X"$_am_arg" : 'X\(//\)$' \| \
17798	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17799$as_echo X"$_am_arg" |
17800    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17801	    s//\1/
17802	    q
17803	  }
17804	  /^X\(\/\/\)[^/].*/{
17805	    s//\1/
17806	    q
17807	  }
17808	  /^X\(\/\/\)$/{
17809	    s//\1/
17810	    q
17811	  }
17812	  /^X\(\/\).*/{
17813	    s//\1/
17814	    q
17815	  }
17816	  s/.*/./; q'`/stamp-h$_am_stamp_count
17817 ;;
17818
17819  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17820$as_echo "$as_me: executing $ac_file commands" >&6;}
17821 ;;
17822  esac
17823
17824
17825  case $ac_file$ac_mode in
17826    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17827  # Older Autoconf quotes --file arguments for eval, but not when files
17828  # are listed without --file.  Let's play safe and only enable the eval
17829  # if we detect the quoting.
17830  case $CONFIG_FILES in
17831  *\'*) eval set x "$CONFIG_FILES" ;;
17832  *)   set x $CONFIG_FILES ;;
17833  esac
17834  shift
17835  for mf
17836  do
17837    # Strip MF so we end up with the name of the file.
17838    mf=`echo "$mf" | sed -e 's/:.*$//'`
17839    # Check whether this is an Automake generated Makefile or not.
17840    # We used to match only the files named 'Makefile.in', but
17841    # some people rename them; so instead we look at the file content.
17842    # Grep'ing the first line is not enough: some people post-process
17843    # each Makefile.in and add a new line on top of each file to say so.
17844    # Grep'ing the whole file is not good either: AIX grep has a line
17845    # limit of 2048, but all sed's we know have understand at least 4000.
17846    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17847      dirpart=`$as_dirname -- "$mf" ||
17848$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17849	 X"$mf" : 'X\(//\)[^/]' \| \
17850	 X"$mf" : 'X\(//\)$' \| \
17851	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17852$as_echo X"$mf" |
17853    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17854	    s//\1/
17855	    q
17856	  }
17857	  /^X\(\/\/\)[^/].*/{
17858	    s//\1/
17859	    q
17860	  }
17861	  /^X\(\/\/\)$/{
17862	    s//\1/
17863	    q
17864	  }
17865	  /^X\(\/\).*/{
17866	    s//\1/
17867	    q
17868	  }
17869	  s/.*/./; q'`
17870    else
17871      continue
17872    fi
17873    # Extract the definition of DEPDIR, am__include, and am__quote
17874    # from the Makefile without running 'make'.
17875    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17876    test -z "$DEPDIR" && continue
17877    am__include=`sed -n 's/^am__include = //p' < "$mf"`
17878    test -z "$am__include" && continue
17879    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17880    # Find all dependency output files, they are included files with
17881    # $(DEPDIR) in their names.  We invoke sed twice because it is the
17882    # simplest approach to changing $(DEPDIR) to its actual value in the
17883    # expansion.
17884    for file in `sed -n "
17885      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17886	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17887      # Make sure the directory exists.
17888      test -f "$dirpart/$file" && continue
17889      fdir=`$as_dirname -- "$file" ||
17890$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17891	 X"$file" : 'X\(//\)[^/]' \| \
17892	 X"$file" : 'X\(//\)$' \| \
17893	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17894$as_echo X"$file" |
17895    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17896	    s//\1/
17897	    q
17898	  }
17899	  /^X\(\/\/\)[^/].*/{
17900	    s//\1/
17901	    q
17902	  }
17903	  /^X\(\/\/\)$/{
17904	    s//\1/
17905	    q
17906	  }
17907	  /^X\(\/\).*/{
17908	    s//\1/
17909	    q
17910	  }
17911	  s/.*/./; q'`
17912      as_dir=$dirpart/$fdir; as_fn_mkdir_p
17913      # echo "creating $dirpart/$file"
17914      echo '# dummy' > "$dirpart/$file"
17915    done
17916  done
17917}
17918 ;;
17919    "libtool":C)
17920
17921    # See if we are running on zsh, and set the options which allow our
17922    # commands through without removal of \ escapes.
17923    if test -n "${ZSH_VERSION+set}" ; then
17924      setopt NO_GLOB_SUBST
17925    fi
17926
17927    cfgfile="${ofile}T"
17928    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17929    $RM "$cfgfile"
17930
17931    cat <<_LT_EOF >> "$cfgfile"
17932#! $SHELL
17933
17934# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17935# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17936# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17937# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17938#
17939#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17940#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17941#                 Foundation, Inc.
17942#   Written by Gordon Matzigkeit, 1996
17943#
17944#   This file is part of GNU Libtool.
17945#
17946# GNU Libtool is free software; you can redistribute it and/or
17947# modify it under the terms of the GNU General Public License as
17948# published by the Free Software Foundation; either version 2 of
17949# the License, or (at your option) any later version.
17950#
17951# As a special exception to the GNU General Public License,
17952# if you distribute this file as part of a program or library that
17953# is built using GNU Libtool, you may include this file under the
17954# same distribution terms that you use for the rest of that program.
17955#
17956# GNU Libtool is distributed in the hope that it will be useful,
17957# but WITHOUT ANY WARRANTY; without even the implied warranty of
17958# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17959# GNU General Public License for more details.
17960#
17961# You should have received a copy of the GNU General Public License
17962# along with GNU Libtool; see the file COPYING.  If not, a copy
17963# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17964# obtained by writing to the Free Software Foundation, Inc.,
17965# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17966
17967
17968# The names of the tagged configurations supported by this script.
17969available_tags=""
17970
17971# ### BEGIN LIBTOOL CONFIG
17972
17973# Whether or not to build static libraries.
17974build_old_libs=$enable_static
17975
17976# Which release of libtool.m4 was used?
17977macro_version=$macro_version
17978macro_revision=$macro_revision
17979
17980# Whether or not to build shared libraries.
17981build_libtool_libs=$enable_shared
17982
17983# What type of objects to build.
17984pic_mode=$pic_mode
17985
17986# Whether or not to optimize for fast installation.
17987fast_install=$enable_fast_install
17988
17989# Shell to use when invoking shell scripts.
17990SHELL=$lt_SHELL
17991
17992# An echo program that protects backslashes.
17993ECHO=$lt_ECHO
17994
17995# The PATH separator for the build system.
17996PATH_SEPARATOR=$lt_PATH_SEPARATOR
17997
17998# The host system.
17999host_alias=$host_alias
18000host=$host
18001host_os=$host_os
18002
18003# The build system.
18004build_alias=$build_alias
18005build=$build
18006build_os=$build_os
18007
18008# A sed program that does not truncate output.
18009SED=$lt_SED
18010
18011# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18012Xsed="\$SED -e 1s/^X//"
18013
18014# A grep program that handles long lines.
18015GREP=$lt_GREP
18016
18017# An ERE matcher.
18018EGREP=$lt_EGREP
18019
18020# A literal string matcher.
18021FGREP=$lt_FGREP
18022
18023# A BSD- or MS-compatible name lister.
18024NM=$lt_NM
18025
18026# Whether we need soft or hard links.
18027LN_S=$lt_LN_S
18028
18029# What is the maximum length of a command?
18030max_cmd_len=$max_cmd_len
18031
18032# Object file suffix (normally "o").
18033objext=$ac_objext
18034
18035# Executable file suffix (normally "").
18036exeext=$exeext
18037
18038# whether the shell understands "unset".
18039lt_unset=$lt_unset
18040
18041# turn spaces into newlines.
18042SP2NL=$lt_lt_SP2NL
18043
18044# turn newlines into spaces.
18045NL2SP=$lt_lt_NL2SP
18046
18047# convert \$build file names to \$host format.
18048to_host_file_cmd=$lt_cv_to_host_file_cmd
18049
18050# convert \$build files to toolchain format.
18051to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18052
18053# An object symbol dumper.
18054OBJDUMP=$lt_OBJDUMP
18055
18056# Method to check whether dependent libraries are shared objects.
18057deplibs_check_method=$lt_deplibs_check_method
18058
18059# Command to use when deplibs_check_method = "file_magic".
18060file_magic_cmd=$lt_file_magic_cmd
18061
18062# How to find potential files when deplibs_check_method = "file_magic".
18063file_magic_glob=$lt_file_magic_glob
18064
18065# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18066want_nocaseglob=$lt_want_nocaseglob
18067
18068# DLL creation program.
18069DLLTOOL=$lt_DLLTOOL
18070
18071# Command to associate shared and link libraries.
18072sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18073
18074# The archiver.
18075AR=$lt_AR
18076
18077# Flags to create an archive.
18078AR_FLAGS=$lt_AR_FLAGS
18079
18080# How to feed a file listing to the archiver.
18081archiver_list_spec=$lt_archiver_list_spec
18082
18083# A symbol stripping program.
18084STRIP=$lt_STRIP
18085
18086# Commands used to install an old-style archive.
18087RANLIB=$lt_RANLIB
18088old_postinstall_cmds=$lt_old_postinstall_cmds
18089old_postuninstall_cmds=$lt_old_postuninstall_cmds
18090
18091# Whether to use a lock for old archive extraction.
18092lock_old_archive_extraction=$lock_old_archive_extraction
18093
18094# A C compiler.
18095LTCC=$lt_CC
18096
18097# LTCC compiler flags.
18098LTCFLAGS=$lt_CFLAGS
18099
18100# Take the output of nm and produce a listing of raw symbols and C names.
18101global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18102
18103# Transform the output of nm in a proper C declaration.
18104global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18105
18106# Transform the output of nm in a C name address pair.
18107global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18108
18109# Transform the output of nm in a C name address pair when lib prefix is needed.
18110global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18111
18112# Specify filename containing input files for \$NM.
18113nm_file_list_spec=$lt_nm_file_list_spec
18114
18115# The root where to search for dependent libraries,and in which our libraries should be installed.
18116lt_sysroot=$lt_sysroot
18117
18118# The name of the directory that contains temporary libtool files.
18119objdir=$objdir
18120
18121# Used to examine libraries when file_magic_cmd begins with "file".
18122MAGIC_CMD=$MAGIC_CMD
18123
18124# Must we lock files when doing compilation?
18125need_locks=$lt_need_locks
18126
18127# Manifest tool.
18128MANIFEST_TOOL=$lt_MANIFEST_TOOL
18129
18130# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18131DSYMUTIL=$lt_DSYMUTIL
18132
18133# Tool to change global to local symbols on Mac OS X.
18134NMEDIT=$lt_NMEDIT
18135
18136# Tool to manipulate fat objects and archives on Mac OS X.
18137LIPO=$lt_LIPO
18138
18139# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18140OTOOL=$lt_OTOOL
18141
18142# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18143OTOOL64=$lt_OTOOL64
18144
18145# Old archive suffix (normally "a").
18146libext=$libext
18147
18148# Shared library suffix (normally ".so").
18149shrext_cmds=$lt_shrext_cmds
18150
18151# The commands to extract the exported symbol list from a shared archive.
18152extract_expsyms_cmds=$lt_extract_expsyms_cmds
18153
18154# Variables whose values should be saved in libtool wrapper scripts and
18155# restored at link time.
18156variables_saved_for_relink=$lt_variables_saved_for_relink
18157
18158# Do we need the "lib" prefix for modules?
18159need_lib_prefix=$need_lib_prefix
18160
18161# Do we need a version for libraries?
18162need_version=$need_version
18163
18164# Library versioning type.
18165version_type=$version_type
18166
18167# Shared library runtime path variable.
18168runpath_var=$runpath_var
18169
18170# Shared library path variable.
18171shlibpath_var=$shlibpath_var
18172
18173# Is shlibpath searched before the hard-coded library search path?
18174shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18175
18176# Format of library name prefix.
18177libname_spec=$lt_libname_spec
18178
18179# List of archive names.  First name is the real one, the rest are links.
18180# The last name is the one that the linker finds with -lNAME
18181library_names_spec=$lt_library_names_spec
18182
18183# The coded name of the library, if different from the real name.
18184soname_spec=$lt_soname_spec
18185
18186# Permission mode override for installation of shared libraries.
18187install_override_mode=$lt_install_override_mode
18188
18189# Command to use after installation of a shared archive.
18190postinstall_cmds=$lt_postinstall_cmds
18191
18192# Command to use after uninstallation of a shared archive.
18193postuninstall_cmds=$lt_postuninstall_cmds
18194
18195# Commands used to finish a libtool library installation in a directory.
18196finish_cmds=$lt_finish_cmds
18197
18198# As "finish_cmds", except a single script fragment to be evaled but
18199# not shown.
18200finish_eval=$lt_finish_eval
18201
18202# Whether we should hardcode library paths into libraries.
18203hardcode_into_libs=$hardcode_into_libs
18204
18205# Compile-time system search path for libraries.
18206sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18207
18208# Run-time system search path for libraries.
18209sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18210
18211# Whether dlopen is supported.
18212dlopen_support=$enable_dlopen
18213
18214# Whether dlopen of programs is supported.
18215dlopen_self=$enable_dlopen_self
18216
18217# Whether dlopen of statically linked programs is supported.
18218dlopen_self_static=$enable_dlopen_self_static
18219
18220# Commands to strip libraries.
18221old_striplib=$lt_old_striplib
18222striplib=$lt_striplib
18223
18224
18225# The linker used to build libraries.
18226LD=$lt_LD
18227
18228# How to create reloadable object files.
18229reload_flag=$lt_reload_flag
18230reload_cmds=$lt_reload_cmds
18231
18232# Commands used to build an old-style archive.
18233old_archive_cmds=$lt_old_archive_cmds
18234
18235# A language specific compiler.
18236CC=$lt_compiler
18237
18238# Is the compiler the GNU compiler?
18239with_gcc=$GCC
18240
18241# Compiler flag to turn off builtin functions.
18242no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18243
18244# Additional compiler flags for building library objects.
18245pic_flag=$lt_lt_prog_compiler_pic
18246
18247# How to pass a linker flag through the compiler.
18248wl=$lt_lt_prog_compiler_wl
18249
18250# Compiler flag to prevent dynamic linking.
18251link_static_flag=$lt_lt_prog_compiler_static
18252
18253# Does compiler simultaneously support -c and -o options?
18254compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18255
18256# Whether or not to add -lc for building shared libraries.
18257build_libtool_need_lc=$archive_cmds_need_lc
18258
18259# Whether or not to disallow shared libs when runtime libs are static.
18260allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18261
18262# Compiler flag to allow reflexive dlopens.
18263export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18264
18265# Compiler flag to generate shared objects directly from archives.
18266whole_archive_flag_spec=$lt_whole_archive_flag_spec
18267
18268# Whether the compiler copes with passing no objects directly.
18269compiler_needs_object=$lt_compiler_needs_object
18270
18271# Create an old-style archive from a shared archive.
18272old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18273
18274# Create a temporary old-style archive to link instead of a shared archive.
18275old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18276
18277# Commands used to build a shared archive.
18278archive_cmds=$lt_archive_cmds
18279archive_expsym_cmds=$lt_archive_expsym_cmds
18280
18281# Commands used to build a loadable module if different from building
18282# a shared archive.
18283module_cmds=$lt_module_cmds
18284module_expsym_cmds=$lt_module_expsym_cmds
18285
18286# Whether we are building with GNU ld or not.
18287with_gnu_ld=$lt_with_gnu_ld
18288
18289# Flag that allows shared libraries with undefined symbols to be built.
18290allow_undefined_flag=$lt_allow_undefined_flag
18291
18292# Flag that enforces no undefined symbols.
18293no_undefined_flag=$lt_no_undefined_flag
18294
18295# Flag to hardcode \$libdir into a binary during linking.
18296# This must work even if \$libdir does not exist
18297hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18298
18299# Whether we need a single "-rpath" flag with a separated argument.
18300hardcode_libdir_separator=$lt_hardcode_libdir_separator
18301
18302# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18303# DIR into the resulting binary.
18304hardcode_direct=$hardcode_direct
18305
18306# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18307# DIR into the resulting binary and the resulting library dependency is
18308# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18309# library is relocated.
18310hardcode_direct_absolute=$hardcode_direct_absolute
18311
18312# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18313# into the resulting binary.
18314hardcode_minus_L=$hardcode_minus_L
18315
18316# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18317# into the resulting binary.
18318hardcode_shlibpath_var=$hardcode_shlibpath_var
18319
18320# Set to "yes" if building a shared library automatically hardcodes DIR
18321# into the library and all subsequent libraries and executables linked
18322# against it.
18323hardcode_automatic=$hardcode_automatic
18324
18325# Set to yes if linker adds runtime paths of dependent libraries
18326# to runtime path list.
18327inherit_rpath=$inherit_rpath
18328
18329# Whether libtool must link a program against all its dependency libraries.
18330link_all_deplibs=$link_all_deplibs
18331
18332# Set to "yes" if exported symbols are required.
18333always_export_symbols=$always_export_symbols
18334
18335# The commands to list exported symbols.
18336export_symbols_cmds=$lt_export_symbols_cmds
18337
18338# Symbols that should not be listed in the preloaded symbols.
18339exclude_expsyms=$lt_exclude_expsyms
18340
18341# Symbols that must always be exported.
18342include_expsyms=$lt_include_expsyms
18343
18344# Commands necessary for linking programs (against libraries) with templates.
18345prelink_cmds=$lt_prelink_cmds
18346
18347# Commands necessary for finishing linking programs.
18348postlink_cmds=$lt_postlink_cmds
18349
18350# Specify filename containing input files.
18351file_list_spec=$lt_file_list_spec
18352
18353# How to hardcode a shared library path into an executable.
18354hardcode_action=$hardcode_action
18355
18356# ### END LIBTOOL CONFIG
18357
18358_LT_EOF
18359
18360  case $host_os in
18361  aix3*)
18362    cat <<\_LT_EOF >> "$cfgfile"
18363# AIX sometimes has problems with the GCC collect2 program.  For some
18364# reason, if we set the COLLECT_NAMES environment variable, the problems
18365# vanish in a puff of smoke.
18366if test "X${COLLECT_NAMES+set}" != Xset; then
18367  COLLECT_NAMES=
18368  export COLLECT_NAMES
18369fi
18370_LT_EOF
18371    ;;
18372  esac
18373
18374
18375ltmain="$ac_aux_dir/ltmain.sh"
18376
18377
18378  # We use sed instead of cat because bash on DJGPP gets confused if
18379  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18380  # text mode, it properly converts lines to CR/LF.  This bash problem
18381  # is reportedly fixed, but why not run on old versions too?
18382  sed '$q' "$ltmain" >> "$cfgfile" \
18383     || (rm -f "$cfgfile"; exit 1)
18384
18385  if test x"$xsi_shell" = xyes; then
18386  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18387func_dirname ()\
18388{\
18389\    case ${1} in\
18390\      */*) func_dirname_result="${1%/*}${2}" ;;\
18391\      *  ) func_dirname_result="${3}" ;;\
18392\    esac\
18393} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18394  && mv -f "$cfgfile.tmp" "$cfgfile" \
18395    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18396test 0 -eq $? || _lt_function_replace_fail=:
18397
18398
18399  sed -e '/^func_basename ()$/,/^} # func_basename /c\
18400func_basename ()\
18401{\
18402\    func_basename_result="${1##*/}"\
18403} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18404  && mv -f "$cfgfile.tmp" "$cfgfile" \
18405    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18406test 0 -eq $? || _lt_function_replace_fail=:
18407
18408
18409  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18410func_dirname_and_basename ()\
18411{\
18412\    case ${1} in\
18413\      */*) func_dirname_result="${1%/*}${2}" ;;\
18414\      *  ) func_dirname_result="${3}" ;;\
18415\    esac\
18416\    func_basename_result="${1##*/}"\
18417} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18418  && mv -f "$cfgfile.tmp" "$cfgfile" \
18419    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18420test 0 -eq $? || _lt_function_replace_fail=:
18421
18422
18423  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18424func_stripname ()\
18425{\
18426\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18427\    # positional parameters, so assign one to ordinary parameter first.\
18428\    func_stripname_result=${3}\
18429\    func_stripname_result=${func_stripname_result#"${1}"}\
18430\    func_stripname_result=${func_stripname_result%"${2}"}\
18431} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18432  && mv -f "$cfgfile.tmp" "$cfgfile" \
18433    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18434test 0 -eq $? || _lt_function_replace_fail=:
18435
18436
18437  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18438func_split_long_opt ()\
18439{\
18440\    func_split_long_opt_name=${1%%=*}\
18441\    func_split_long_opt_arg=${1#*=}\
18442} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18443  && mv -f "$cfgfile.tmp" "$cfgfile" \
18444    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18445test 0 -eq $? || _lt_function_replace_fail=:
18446
18447
18448  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18449func_split_short_opt ()\
18450{\
18451\    func_split_short_opt_arg=${1#??}\
18452\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18453} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18454  && mv -f "$cfgfile.tmp" "$cfgfile" \
18455    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18456test 0 -eq $? || _lt_function_replace_fail=:
18457
18458
18459  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18460func_lo2o ()\
18461{\
18462\    case ${1} in\
18463\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18464\      *)    func_lo2o_result=${1} ;;\
18465\    esac\
18466} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18467  && mv -f "$cfgfile.tmp" "$cfgfile" \
18468    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18469test 0 -eq $? || _lt_function_replace_fail=:
18470
18471
18472  sed -e '/^func_xform ()$/,/^} # func_xform /c\
18473func_xform ()\
18474{\
18475    func_xform_result=${1%.*}.lo\
18476} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18477  && mv -f "$cfgfile.tmp" "$cfgfile" \
18478    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18479test 0 -eq $? || _lt_function_replace_fail=:
18480
18481
18482  sed -e '/^func_arith ()$/,/^} # func_arith /c\
18483func_arith ()\
18484{\
18485    func_arith_result=$(( $* ))\
18486} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18487  && mv -f "$cfgfile.tmp" "$cfgfile" \
18488    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18489test 0 -eq $? || _lt_function_replace_fail=:
18490
18491
18492  sed -e '/^func_len ()$/,/^} # func_len /c\
18493func_len ()\
18494{\
18495    func_len_result=${#1}\
18496} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18497  && mv -f "$cfgfile.tmp" "$cfgfile" \
18498    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18499test 0 -eq $? || _lt_function_replace_fail=:
18500
18501fi
18502
18503if test x"$lt_shell_append" = xyes; then
18504  sed -e '/^func_append ()$/,/^} # func_append /c\
18505func_append ()\
18506{\
18507    eval "${1}+=\\${2}"\
18508} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18509  && mv -f "$cfgfile.tmp" "$cfgfile" \
18510    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18511test 0 -eq $? || _lt_function_replace_fail=:
18512
18513
18514  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18515func_append_quoted ()\
18516{\
18517\    func_quote_for_eval "${2}"\
18518\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18519} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18520  && mv -f "$cfgfile.tmp" "$cfgfile" \
18521    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18522test 0 -eq $? || _lt_function_replace_fail=:
18523
18524
18525  # Save a `func_append' function call where possible by direct use of '+='
18526  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18527    && mv -f "$cfgfile.tmp" "$cfgfile" \
18528      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18529  test 0 -eq $? || _lt_function_replace_fail=:
18530else
18531  # Save a `func_append' function call even when '+=' is not available
18532  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18533    && mv -f "$cfgfile.tmp" "$cfgfile" \
18534      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18535  test 0 -eq $? || _lt_function_replace_fail=:
18536fi
18537
18538if test x"$_lt_function_replace_fail" = x":"; then
18539  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18540$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18541fi
18542
18543
18544   mv -f "$cfgfile" "$ofile" ||
18545    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18546  chmod +x "$ofile"
18547
18548 ;;
18549
18550  esac
18551done # for ac_tag
18552
18553
18554as_fn_exit 0
18555_ACEOF
18556ac_clean_files=$ac_clean_files_save
18557
18558test $ac_write_fail = 0 ||
18559  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18560
18561
18562# configure is writing to config.log, and then calls config.status.
18563# config.status does its own redirection, appending to config.log.
18564# Unfortunately, on DOS this fails, as config.log is still kept open
18565# by configure, so config.status won't be able to write to it; its
18566# output is simply discarded.  So we exec the FD to /dev/null,
18567# effectively closing config.log, so it can be properly (re)opened and
18568# appended to by config.status.  When coming back to configure, we
18569# need to make the FD available again.
18570if test "$no_create" != yes; then
18571  ac_cs_success=:
18572  ac_config_status_args=
18573  test "$silent" = yes &&
18574    ac_config_status_args="$ac_config_status_args --quiet"
18575  exec 5>/dev/null
18576  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18577  exec 5>>config.log
18578  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18579  # would make configure fail if this is the last instruction.
18580  $ac_cs_success || as_fn_exit 1
18581fi
18582if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18583  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18584$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18585fi
18586
18587
18588{ $as_echo "$as_me:${as_lineno-$LINENO}:
18589
18590  dee $VERSION
18591  ----------------
18592
18593  Prefix         : ${prefix}
18594
18595  ICU support    : ${enable_icu}
18596
18597  Documentation  : ${enable_gtk_doc}
18598  Introspection  : ${enable_introspection}
18599  PyGi Overrides : ${overrides_dir}
18600
18601  Tests          : ${enable_tests}
18602  Extended Tests : ${enable_extended_tests}
18603  Coverage       : ${use_gcov}
18604  Verbose logging: ${enable_trace_log}
18605
18606  Extra CFlags   : ${CPPFLAGS} $MAINTAINER_CFLAGS
18607  Extra ValaFlags: ${CPPFLAGS} $MAINTAINER_VALAFLAGS
18608" >&5
18609$as_echo "$as_me:
18610
18611  dee $VERSION
18612  ----------------
18613
18614  Prefix         : ${prefix}
18615
18616  ICU support    : ${enable_icu}
18617
18618  Documentation  : ${enable_gtk_doc}
18619  Introspection  : ${enable_introspection}
18620  PyGi Overrides : ${overrides_dir}
18621
18622  Tests          : ${enable_tests}
18623  Extended Tests : ${enable_extended_tests}
18624  Coverage       : ${use_gcov}
18625  Verbose logging: ${enable_trace_log}
18626
18627  Extra CFlags   : ${CPPFLAGS} $MAINTAINER_CFLAGS
18628  Extra ValaFlags: ${CPPFLAGS} $MAINTAINER_VALAFLAGS
18629" >&6;}
18630