1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libmatemixer 1.26.0.
4#
5# Report bugs to <https://mate-desktop.org>.
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://mate-desktop.org about your system, including
279$0: any error possibly output before this message. Then
280$0: install a modern shell, or manually run the script
281$0: 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='libmatemixer'
592PACKAGE_TARNAME='libmatemixer'
593PACKAGE_VERSION='1.26.0'
594PACKAGE_STRING='libmatemixer 1.26.0'
595PACKAGE_BUGREPORT='https://mate-desktop.org'
596PACKAGE_URL=''
597
598ac_unique_file="libmatemixer/matemixer.c"
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
635gt_needs=
636ac_subst_vars='am__EXEEXT_FALSE
637am__EXEEXT_TRUE
638LTLIBOBJS
639LIBOBJS
640OSS_LIBS
641OSS_CFLAGS
642HAVE_OSS
643HAVE_OSS_FALSE
644HAVE_OSS_TRUE
645HAVE_UDEV
646HAVE_ALSA
647HAVE_UDEV_FALSE
648HAVE_UDEV_TRUE
649HAVE_ALSA_FALSE
650HAVE_ALSA_TRUE
651UDEV_LIBS
652UDEV_CFLAGS
653ALSA_LIBS
654ALSA_CFLAGS
655HAVE_PULSEAUDIO
656HAVE_PULSEAUDIO_FALSE
657HAVE_PULSEAUDIO_TRUE
658PULSEAUDIO_LIBS
659PULSEAUDIO_CFLAGS
660HAVE_NULL
661HAVE_NULL_FALSE
662HAVE_NULL_TRUE
663GTK_DOC_USE_REBASE_FALSE
664GTK_DOC_USE_REBASE_TRUE
665GTK_DOC_USE_LIBTOOL_FALSE
666GTK_DOC_USE_LIBTOOL_TRUE
667GTK_DOC_BUILD_PDF_FALSE
668GTK_DOC_BUILD_PDF_TRUE
669GTK_DOC_BUILD_HTML_FALSE
670GTK_DOC_BUILD_HTML_TRUE
671ENABLE_GTK_DOC_FALSE
672ENABLE_GTK_DOC_TRUE
673HAVE_GTK_DOC_FALSE
674HAVE_GTK_DOC_TRUE
675GTKDOC_DEPS_LIBS
676GTKDOC_DEPS_CFLAGS
677HTML_DIR
678GTKDOC_MKPDF
679GTKDOC_REBASE
680GTKDOC_CHECK_PATH
681GTKDOC_CHECK
682GLIB_LIBS
683GLIB_CFLAGS
684PKG_CONFIG_LIBDIR
685PKG_CONFIG_PATH
686PKG_CONFIG
687POSUB
688LTLIBINTL
689LIBINTL
690INTLLIBS
691LTLIBICONV
692LIBICONV
693INTL_MACOSX_LIBS
694XGETTEXT_EXTRA_OPTIONS
695MSGMERGE
696XGETTEXT_015
697XGETTEXT
698GMSGFMT_015
699MSGFMT_015
700GMSGFMT
701MSGFMT
702GETTEXT_MACRO_VERSION
703USE_NLS
704GETTEXT_PACKAGE
705CPP
706LT_SYS_LIBRARY_PATH
707OTOOL64
708OTOOL
709LIPO
710NMEDIT
711DSYMUTIL
712MANIFEST_TOOL
713RANLIB
714ac_ct_AR
715AR
716DLLTOOL
717OBJDUMP
718LN_S
719NM
720ac_ct_DUMPBIN
721DUMPBIN
722LD
723FGREP
724EGREP
725GREP
726SED
727host_os
728host_vendor
729host_cpu
730host
731build_os
732build_vendor
733build_cpu
734build
735LIBTOOL
736WARN_CFLAGS
737am__fastdepCC_FALSE
738am__fastdepCC_TRUE
739CCDEPMODE
740am__nodep
741AMDEPBACKSLASH
742AMDEP_FALSE
743AMDEP_TRUE
744am__include
745DEPDIR
746OBJEXT
747EXEEXT
748ac_ct_CC
749CPPFLAGS
750LDFLAGS
751CFLAGS
752CC
753AM_BACKSLASH
754AM_DEFAULT_VERBOSITY
755AM_DEFAULT_V
756AM_V
757am__untar
758am__tar
759AMTAR
760am__leading_dot
761SET_MAKE
762AWK
763mkdir_p
764MKDIR_P
765INSTALL_STRIP_PROGRAM
766STRIP
767install_sh
768MAKEINFO
769AUTOHEADER
770AUTOMAKE
771AUTOCONF
772ACLOCAL
773VERSION
774PACKAGE
775CYGPATH_W
776am__isrc
777INSTALL_DATA
778INSTALL_SCRIPT
779INSTALL_PROGRAM
780LT_VERSION
781LIBMATEMIXER_VERSION
782LIBMATEMIXER_MICRO_VERSION
783LIBMATEMIXER_MINOR_VERSION
784LIBMATEMIXER_MAJOR_VERSION
785target_alias
786host_alias
787build_alias
788LIBS
789ECHO_T
790ECHO_N
791ECHO_C
792DEFS
793mandir
794localedir
795libdir
796psdir
797pdfdir
798dvidir
799htmldir
800infodir
801docdir
802oldincludedir
803includedir
804runstatedir
805localstatedir
806sharedstatedir
807sysconfdir
808datadir
809datarootdir
810libexecdir
811sbindir
812bindir
813program_transform_name
814prefix
815exec_prefix
816PACKAGE_URL
817PACKAGE_BUGREPORT
818PACKAGE_STRING
819PACKAGE_VERSION
820PACKAGE_TARNAME
821PACKAGE_NAME
822PATH_SEPARATOR
823SHELL
824am__quote'
825ac_subst_files=''
826ac_user_opts='
827enable_option_checking
828enable_silent_rules
829enable_compile_warnings
830enable_dependency_tracking
831enable_shared
832enable_static
833with_pic
834enable_fast_install
835with_aix_soname
836with_gnu_ld
837with_sysroot
838enable_libtool_lock
839enable_nls
840enable_rpath
841with_libiconv_prefix
842with_libintl_prefix
843with_html_dir
844enable_gtk_doc
845enable_gtk_doc_html
846enable_gtk_doc_pdf
847enable_null
848enable_pulseaudio
849enable_alsa
850enable_udev
851enable_oss
852'
853      ac_precious_vars='build_alias
854host_alias
855target_alias
856CC
857CFLAGS
858LDFLAGS
859LIBS
860CPPFLAGS
861LT_SYS_LIBRARY_PATH
862CPP
863PKG_CONFIG
864PKG_CONFIG_PATH
865PKG_CONFIG_LIBDIR
866GLIB_CFLAGS
867GLIB_LIBS
868GTKDOC_DEPS_CFLAGS
869GTKDOC_DEPS_LIBS
870PULSEAUDIO_CFLAGS
871PULSEAUDIO_LIBS
872ALSA_CFLAGS
873ALSA_LIBS
874UDEV_CFLAGS
875UDEV_LIBS'
876
877
878# Initialize some variables set by options.
879ac_init_help=
880ac_init_version=false
881ac_unrecognized_opts=
882ac_unrecognized_sep=
883# The variables have the same names as the options, with
884# dashes changed to underlines.
885cache_file=/dev/null
886exec_prefix=NONE
887no_create=
888no_recursion=
889prefix=NONE
890program_prefix=NONE
891program_suffix=NONE
892program_transform_name=s,x,x,
893silent=
894site=
895srcdir=
896verbose=
897x_includes=NONE
898x_libraries=NONE
899
900# Installation directory options.
901# These are left unexpanded so users can "make install exec_prefix=/foo"
902# and all the variables that are supposed to be based on exec_prefix
903# by default will actually change.
904# Use braces instead of parens because sh, perl, etc. also accept them.
905# (The list follows the same order as the GNU Coding Standards.)
906bindir='${exec_prefix}/bin'
907sbindir='${exec_prefix}/sbin'
908libexecdir='${exec_prefix}/libexec'
909datarootdir='${prefix}/share'
910datadir='${datarootdir}'
911sysconfdir='${prefix}/etc'
912sharedstatedir='${prefix}/com'
913localstatedir='${prefix}/var'
914runstatedir='${localstatedir}/run'
915includedir='${prefix}/include'
916oldincludedir='/usr/include'
917docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
918infodir='${datarootdir}/info'
919htmldir='${docdir}'
920dvidir='${docdir}'
921pdfdir='${docdir}'
922psdir='${docdir}'
923libdir='${exec_prefix}/lib'
924localedir='${datarootdir}/locale'
925mandir='${datarootdir}/man'
926
927ac_prev=
928ac_dashdash=
929for ac_option
930do
931  # If the previous option needs an argument, assign it.
932  if test -n "$ac_prev"; then
933    eval $ac_prev=\$ac_option
934    ac_prev=
935    continue
936  fi
937
938  case $ac_option in
939  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
940  *=)   ac_optarg= ;;
941  *)    ac_optarg=yes ;;
942  esac
943
944  # Accept the important Cygnus configure options, so we can diagnose typos.
945
946  case $ac_dashdash$ac_option in
947  --)
948    ac_dashdash=yes ;;
949
950  -bindir | --bindir | --bindi | --bind | --bin | --bi)
951    ac_prev=bindir ;;
952  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
953    bindir=$ac_optarg ;;
954
955  -build | --build | --buil | --bui | --bu)
956    ac_prev=build_alias ;;
957  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
958    build_alias=$ac_optarg ;;
959
960  -cache-file | --cache-file | --cache-fil | --cache-fi \
961  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
962    ac_prev=cache_file ;;
963  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
964  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
965    cache_file=$ac_optarg ;;
966
967  --config-cache | -C)
968    cache_file=config.cache ;;
969
970  -datadir | --datadir | --datadi | --datad)
971    ac_prev=datadir ;;
972  -datadir=* | --datadir=* | --datadi=* | --datad=*)
973    datadir=$ac_optarg ;;
974
975  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
976  | --dataroo | --dataro | --datar)
977    ac_prev=datarootdir ;;
978  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
979  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
980    datarootdir=$ac_optarg ;;
981
982  -disable-* | --disable-*)
983    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
984    # Reject names that are not valid shell variable names.
985    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
986      as_fn_error $? "invalid feature name: $ac_useropt"
987    ac_useropt_orig=$ac_useropt
988    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989    case $ac_user_opts in
990      *"
991"enable_$ac_useropt"
992"*) ;;
993      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
994	 ac_unrecognized_sep=', ';;
995    esac
996    eval enable_$ac_useropt=no ;;
997
998  -docdir | --docdir | --docdi | --doc | --do)
999    ac_prev=docdir ;;
1000  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1001    docdir=$ac_optarg ;;
1002
1003  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1004    ac_prev=dvidir ;;
1005  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1006    dvidir=$ac_optarg ;;
1007
1008  -enable-* | --enable-*)
1009    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1010    # Reject names that are not valid shell variable names.
1011    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1012      as_fn_error $? "invalid feature name: $ac_useropt"
1013    ac_useropt_orig=$ac_useropt
1014    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015    case $ac_user_opts in
1016      *"
1017"enable_$ac_useropt"
1018"*) ;;
1019      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1020	 ac_unrecognized_sep=', ';;
1021    esac
1022    eval enable_$ac_useropt=\$ac_optarg ;;
1023
1024  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1025  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1026  | --exec | --exe | --ex)
1027    ac_prev=exec_prefix ;;
1028  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1029  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1030  | --exec=* | --exe=* | --ex=*)
1031    exec_prefix=$ac_optarg ;;
1032
1033  -gas | --gas | --ga | --g)
1034    # Obsolete; use --with-gas.
1035    with_gas=yes ;;
1036
1037  -help | --help | --hel | --he | -h)
1038    ac_init_help=long ;;
1039  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1040    ac_init_help=recursive ;;
1041  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1042    ac_init_help=short ;;
1043
1044  -host | --host | --hos | --ho)
1045    ac_prev=host_alias ;;
1046  -host=* | --host=* | --hos=* | --ho=*)
1047    host_alias=$ac_optarg ;;
1048
1049  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1050    ac_prev=htmldir ;;
1051  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1052  | --ht=*)
1053    htmldir=$ac_optarg ;;
1054
1055  -includedir | --includedir | --includedi | --included | --include \
1056  | --includ | --inclu | --incl | --inc)
1057    ac_prev=includedir ;;
1058  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1059  | --includ=* | --inclu=* | --incl=* | --inc=*)
1060    includedir=$ac_optarg ;;
1061
1062  -infodir | --infodir | --infodi | --infod | --info | --inf)
1063    ac_prev=infodir ;;
1064  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1065    infodir=$ac_optarg ;;
1066
1067  -libdir | --libdir | --libdi | --libd)
1068    ac_prev=libdir ;;
1069  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1070    libdir=$ac_optarg ;;
1071
1072  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1073  | --libexe | --libex | --libe)
1074    ac_prev=libexecdir ;;
1075  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1076  | --libexe=* | --libex=* | --libe=*)
1077    libexecdir=$ac_optarg ;;
1078
1079  -localedir | --localedir | --localedi | --localed | --locale)
1080    ac_prev=localedir ;;
1081  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1082    localedir=$ac_optarg ;;
1083
1084  -localstatedir | --localstatedir | --localstatedi | --localstated \
1085  | --localstate | --localstat | --localsta | --localst | --locals)
1086    ac_prev=localstatedir ;;
1087  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1088  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1089    localstatedir=$ac_optarg ;;
1090
1091  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1092    ac_prev=mandir ;;
1093  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1094    mandir=$ac_optarg ;;
1095
1096  -nfp | --nfp | --nf)
1097    # Obsolete; use --without-fp.
1098    with_fp=no ;;
1099
1100  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1101  | --no-cr | --no-c | -n)
1102    no_create=yes ;;
1103
1104  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1105  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1106    no_recursion=yes ;;
1107
1108  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1109  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1110  | --oldin | --oldi | --old | --ol | --o)
1111    ac_prev=oldincludedir ;;
1112  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1113  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1114  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1115    oldincludedir=$ac_optarg ;;
1116
1117  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1118    ac_prev=prefix ;;
1119  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1120    prefix=$ac_optarg ;;
1121
1122  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1123  | --program-pre | --program-pr | --program-p)
1124    ac_prev=program_prefix ;;
1125  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1126  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1127    program_prefix=$ac_optarg ;;
1128
1129  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1130  | --program-suf | --program-su | --program-s)
1131    ac_prev=program_suffix ;;
1132  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1133  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1134    program_suffix=$ac_optarg ;;
1135
1136  -program-transform-name | --program-transform-name \
1137  | --program-transform-nam | --program-transform-na \
1138  | --program-transform-n | --program-transform- \
1139  | --program-transform | --program-transfor \
1140  | --program-transfo | --program-transf \
1141  | --program-trans | --program-tran \
1142  | --progr-tra | --program-tr | --program-t)
1143    ac_prev=program_transform_name ;;
1144  -program-transform-name=* | --program-transform-name=* \
1145  | --program-transform-nam=* | --program-transform-na=* \
1146  | --program-transform-n=* | --program-transform-=* \
1147  | --program-transform=* | --program-transfor=* \
1148  | --program-transfo=* | --program-transf=* \
1149  | --program-trans=* | --program-tran=* \
1150  | --progr-tra=* | --program-tr=* | --program-t=*)
1151    program_transform_name=$ac_optarg ;;
1152
1153  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1154    ac_prev=pdfdir ;;
1155  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1156    pdfdir=$ac_optarg ;;
1157
1158  -psdir | --psdir | --psdi | --psd | --ps)
1159    ac_prev=psdir ;;
1160  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1161    psdir=$ac_optarg ;;
1162
1163  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1164  | -silent | --silent | --silen | --sile | --sil)
1165    silent=yes ;;
1166
1167  -runstatedir | --runstatedir | --runstatedi | --runstated \
1168  | --runstate | --runstat | --runsta | --runst | --runs \
1169  | --run | --ru | --r)
1170    ac_prev=runstatedir ;;
1171  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1172  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1173  | --run=* | --ru=* | --r=*)
1174    runstatedir=$ac_optarg ;;
1175
1176  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1177    ac_prev=sbindir ;;
1178  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1179  | --sbi=* | --sb=*)
1180    sbindir=$ac_optarg ;;
1181
1182  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1183  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1184  | --sharedst | --shareds | --shared | --share | --shar \
1185  | --sha | --sh)
1186    ac_prev=sharedstatedir ;;
1187  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1188  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1189  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1190  | --sha=* | --sh=*)
1191    sharedstatedir=$ac_optarg ;;
1192
1193  -site | --site | --sit)
1194    ac_prev=site ;;
1195  -site=* | --site=* | --sit=*)
1196    site=$ac_optarg ;;
1197
1198  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1199    ac_prev=srcdir ;;
1200  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1201    srcdir=$ac_optarg ;;
1202
1203  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1204  | --syscon | --sysco | --sysc | --sys | --sy)
1205    ac_prev=sysconfdir ;;
1206  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1207  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1208    sysconfdir=$ac_optarg ;;
1209
1210  -target | --target | --targe | --targ | --tar | --ta | --t)
1211    ac_prev=target_alias ;;
1212  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1213    target_alias=$ac_optarg ;;
1214
1215  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1216    verbose=yes ;;
1217
1218  -version | --version | --versio | --versi | --vers | -V)
1219    ac_init_version=: ;;
1220
1221  -with-* | --with-*)
1222    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1223    # Reject names that are not valid shell variable names.
1224    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1225      as_fn_error $? "invalid package name: $ac_useropt"
1226    ac_useropt_orig=$ac_useropt
1227    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1228    case $ac_user_opts in
1229      *"
1230"with_$ac_useropt"
1231"*) ;;
1232      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1233	 ac_unrecognized_sep=', ';;
1234    esac
1235    eval with_$ac_useropt=\$ac_optarg ;;
1236
1237  -without-* | --without-*)
1238    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1239    # Reject names that are not valid shell variable names.
1240    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1241      as_fn_error $? "invalid package name: $ac_useropt"
1242    ac_useropt_orig=$ac_useropt
1243    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1244    case $ac_user_opts in
1245      *"
1246"with_$ac_useropt"
1247"*) ;;
1248      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1249	 ac_unrecognized_sep=', ';;
1250    esac
1251    eval with_$ac_useropt=no ;;
1252
1253  --x)
1254    # Obsolete; use --with-x.
1255    with_x=yes ;;
1256
1257  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1258  | --x-incl | --x-inc | --x-in | --x-i)
1259    ac_prev=x_includes ;;
1260  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1261  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1262    x_includes=$ac_optarg ;;
1263
1264  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1265  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1266    ac_prev=x_libraries ;;
1267  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1268  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1269    x_libraries=$ac_optarg ;;
1270
1271  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1272Try \`$0 --help' for more information"
1273    ;;
1274
1275  *=*)
1276    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1277    # Reject names that are not valid shell variable names.
1278    case $ac_envvar in #(
1279      '' | [0-9]* | *[!_$as_cr_alnum]* )
1280      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1281    esac
1282    eval $ac_envvar=\$ac_optarg
1283    export $ac_envvar ;;
1284
1285  *)
1286    # FIXME: should be removed in autoconf 3.0.
1287    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1288    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1289      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1290    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1291    ;;
1292
1293  esac
1294done
1295
1296if test -n "$ac_prev"; then
1297  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1298  as_fn_error $? "missing argument to $ac_option"
1299fi
1300
1301if test -n "$ac_unrecognized_opts"; then
1302  case $enable_option_checking in
1303    no) ;;
1304    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1305    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1306  esac
1307fi
1308
1309# Check all directory arguments for consistency.
1310for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1311		datadir sysconfdir sharedstatedir localstatedir includedir \
1312		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1313		libdir localedir mandir runstatedir
1314do
1315  eval ac_val=\$$ac_var
1316  # Remove trailing slashes.
1317  case $ac_val in
1318    */ )
1319      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1320      eval $ac_var=\$ac_val;;
1321  esac
1322  # Be sure to have absolute directory names.
1323  case $ac_val in
1324    [\\/$]* | ?:[\\/]* )  continue;;
1325    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1326  esac
1327  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1328done
1329
1330# There might be people who depend on the old broken behavior: `$host'
1331# used to hold the argument of --host etc.
1332# FIXME: To remove some day.
1333build=$build_alias
1334host=$host_alias
1335target=$target_alias
1336
1337# FIXME: To remove some day.
1338if test "x$host_alias" != x; then
1339  if test "x$build_alias" = x; then
1340    cross_compiling=maybe
1341  elif test "x$build_alias" != "x$host_alias"; then
1342    cross_compiling=yes
1343  fi
1344fi
1345
1346ac_tool_prefix=
1347test -n "$host_alias" && ac_tool_prefix=$host_alias-
1348
1349test "$silent" = yes && exec 6>/dev/null
1350
1351
1352ac_pwd=`pwd` && test -n "$ac_pwd" &&
1353ac_ls_di=`ls -di .` &&
1354ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1355  as_fn_error $? "working directory cannot be determined"
1356test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1357  as_fn_error $? "pwd does not report name of working directory"
1358
1359
1360# Find the source files, if location was not specified.
1361if test -z "$srcdir"; then
1362  ac_srcdir_defaulted=yes
1363  # Try the directory containing this script, then the parent directory.
1364  ac_confdir=`$as_dirname -- "$as_myself" ||
1365$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1366	 X"$as_myself" : 'X\(//\)[^/]' \| \
1367	 X"$as_myself" : 'X\(//\)$' \| \
1368	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1369$as_echo X"$as_myself" |
1370    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1371	    s//\1/
1372	    q
1373	  }
1374	  /^X\(\/\/\)[^/].*/{
1375	    s//\1/
1376	    q
1377	  }
1378	  /^X\(\/\/\)$/{
1379	    s//\1/
1380	    q
1381	  }
1382	  /^X\(\/\).*/{
1383	    s//\1/
1384	    q
1385	  }
1386	  s/.*/./; q'`
1387  srcdir=$ac_confdir
1388  if test ! -r "$srcdir/$ac_unique_file"; then
1389    srcdir=..
1390  fi
1391else
1392  ac_srcdir_defaulted=no
1393fi
1394if test ! -r "$srcdir/$ac_unique_file"; then
1395  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1396  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1397fi
1398ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1399ac_abs_confdir=`(
1400	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1401	pwd)`
1402# When building in place, set srcdir=.
1403if test "$ac_abs_confdir" = "$ac_pwd"; then
1404  srcdir=.
1405fi
1406# Remove unnecessary trailing slashes from srcdir.
1407# Double slashes in file names in object file debugging info
1408# mess up M-x gdb in Emacs.
1409case $srcdir in
1410*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1411esac
1412for ac_var in $ac_precious_vars; do
1413  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1414  eval ac_env_${ac_var}_value=\$${ac_var}
1415  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1416  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1417done
1418
1419#
1420# Report the --help message.
1421#
1422if test "$ac_init_help" = "long"; then
1423  # Omit some internal or obsolete options to make the list less imposing.
1424  # This message is too long to be a string in the A/UX 3.1 sh.
1425  cat <<_ACEOF
1426\`configure' configures libmatemixer 1.26.0 to adapt to many kinds of systems.
1427
1428Usage: $0 [OPTION]... [VAR=VALUE]...
1429
1430To assign environment variables (e.g., CC, CFLAGS...), specify them as
1431VAR=VALUE.  See below for descriptions of some of the useful variables.
1432
1433Defaults for the options are specified in brackets.
1434
1435Configuration:
1436  -h, --help              display this help and exit
1437      --help=short        display options specific to this package
1438      --help=recursive    display the short help of all the included packages
1439  -V, --version           display version information and exit
1440  -q, --quiet, --silent   do not print \`checking ...' messages
1441      --cache-file=FILE   cache test results in FILE [disabled]
1442  -C, --config-cache      alias for \`--cache-file=config.cache'
1443  -n, --no-create         do not create output files
1444      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1445
1446Installation directories:
1447  --prefix=PREFIX         install architecture-independent files in PREFIX
1448                          [$ac_default_prefix]
1449  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1450                          [PREFIX]
1451
1452By default, \`make install' will install all the files in
1453\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1454an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1455for instance \`--prefix=\$HOME'.
1456
1457For better control, use the options below.
1458
1459Fine tuning of the installation directories:
1460  --bindir=DIR            user executables [EPREFIX/bin]
1461  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1462  --libexecdir=DIR        program executables [EPREFIX/libexec]
1463  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1464  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1465  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1466  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1467  --libdir=DIR            object code libraries [EPREFIX/lib]
1468  --includedir=DIR        C header files [PREFIX/include]
1469  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1470  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1471  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1472  --infodir=DIR           info documentation [DATAROOTDIR/info]
1473  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1474  --mandir=DIR            man documentation [DATAROOTDIR/man]
1475  --docdir=DIR            documentation root [DATAROOTDIR/doc/libmatemixer]
1476  --htmldir=DIR           html documentation [DOCDIR]
1477  --dvidir=DIR            dvi documentation [DOCDIR]
1478  --pdfdir=DIR            pdf documentation [DOCDIR]
1479  --psdir=DIR             ps documentation [DOCDIR]
1480_ACEOF
1481
1482  cat <<\_ACEOF
1483
1484Program names:
1485  --program-prefix=PREFIX            prepend PREFIX to installed program names
1486  --program-suffix=SUFFIX            append SUFFIX to installed program names
1487  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1488
1489System types:
1490  --build=BUILD     configure for building on BUILD [guessed]
1491  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1492_ACEOF
1493fi
1494
1495if test -n "$ac_init_help"; then
1496  case $ac_init_help in
1497     short | recursive ) echo "Configuration of libmatemixer 1.26.0:";;
1498   esac
1499  cat <<\_ACEOF
1500
1501Optional Features:
1502  --disable-option-checking  ignore unrecognized --enable/--with options
1503  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1504  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1505  --enable-silent-rules   less verbose build output (undo: "make V=1")
1506  --disable-silent-rules  verbose build output (undo: "make V=0")
1507  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1508                          Turn on compiler warnings
1509  --enable-dependency-tracking
1510                          do not reject slow dependency extractors
1511  --disable-dependency-tracking
1512                          speeds up one-time build
1513  --enable-shared[=PKGS]  build shared libraries [default=yes]
1514  --enable-static[=PKGS]  build static libraries [default=yes]
1515  --enable-fast-install[=PKGS]
1516                          optimize for fast installation [default=yes]
1517  --disable-libtool-lock  avoid locking (might break parallel builds)
1518  --disable-nls           do not use Native Language Support
1519  --disable-rpath         do not hardcode runtime library paths
1520  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1521  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1522  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1523  --enable-null           Enable Null backend module [default=yes]
1524  --enable-pulseaudio     Enable PulseAudio backend module [default=auto]
1525  --enable-alsa           Enable ALSA backend module [default=auto]
1526  --enable-udev           Enable UDEV support [default=auto]
1527  --enable-oss            Enable OSS backend module [default=no]
1528
1529Optional Packages:
1530  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1531  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1532  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1533                          both]
1534  --with-aix-soname=aix|svr4|both
1535                          shared library versioning (aka "SONAME") variant to
1536                          provide on AIX, [default=aix].
1537  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1538  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1539                          compiler's sysroot if not specified).
1540  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1541  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1542  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1543  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1544  --without-libintl-prefix     don't search for libintl in includedir and libdir
1545  --with-html-dir=PATH    path to installed docs
1546
1547Some influential environment variables:
1548  CC          C compiler command
1549  CFLAGS      C compiler flags
1550  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1551              nonstandard directory <lib dir>
1552  LIBS        libraries to pass to the linker, e.g. -l<library>
1553  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1554              you have headers in a nonstandard directory <include dir>
1555  LT_SYS_LIBRARY_PATH
1556              User-defined run-time library search path.
1557  CPP         C preprocessor
1558  PKG_CONFIG  path to pkg-config utility
1559  PKG_CONFIG_PATH
1560              directories to add to pkg-config's search path
1561  PKG_CONFIG_LIBDIR
1562              path overriding pkg-config's built-in search path
1563  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1564  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1565  GTKDOC_DEPS_CFLAGS
1566              C compiler flags for GTKDOC_DEPS, overriding pkg-config
1567  GTKDOC_DEPS_LIBS
1568              linker flags for GTKDOC_DEPS, overriding pkg-config
1569  PULSEAUDIO_CFLAGS
1570              C compiler flags for PULSEAUDIO, overriding pkg-config
1571  PULSEAUDIO_LIBS
1572              linker flags for PULSEAUDIO, overriding pkg-config
1573  ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1574  ALSA_LIBS   linker flags for ALSA, overriding pkg-config
1575  UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
1576  UDEV_LIBS   linker flags for UDEV, overriding pkg-config
1577
1578Use these variables to override the choices made by `configure' or to help
1579it to find libraries and programs with nonstandard names/locations.
1580
1581Report bugs to <https://mate-desktop.org>.
1582_ACEOF
1583ac_status=$?
1584fi
1585
1586if test "$ac_init_help" = "recursive"; then
1587  # If there are subdirs, report their specific --help.
1588  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1589    test -d "$ac_dir" ||
1590      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1591      continue
1592    ac_builddir=.
1593
1594case "$ac_dir" in
1595.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1596*)
1597  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1598  # A ".." for each directory in $ac_dir_suffix.
1599  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1600  case $ac_top_builddir_sub in
1601  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1602  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1603  esac ;;
1604esac
1605ac_abs_top_builddir=$ac_pwd
1606ac_abs_builddir=$ac_pwd$ac_dir_suffix
1607# for backward compatibility:
1608ac_top_builddir=$ac_top_build_prefix
1609
1610case $srcdir in
1611  .)  # We are building in place.
1612    ac_srcdir=.
1613    ac_top_srcdir=$ac_top_builddir_sub
1614    ac_abs_top_srcdir=$ac_pwd ;;
1615  [\\/]* | ?:[\\/]* )  # Absolute name.
1616    ac_srcdir=$srcdir$ac_dir_suffix;
1617    ac_top_srcdir=$srcdir
1618    ac_abs_top_srcdir=$srcdir ;;
1619  *) # Relative name.
1620    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1621    ac_top_srcdir=$ac_top_build_prefix$srcdir
1622    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1623esac
1624ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1625
1626    cd "$ac_dir" || { ac_status=$?; continue; }
1627    # Check for guested configure.
1628    if test -f "$ac_srcdir/configure.gnu"; then
1629      echo &&
1630      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1631    elif test -f "$ac_srcdir/configure"; then
1632      echo &&
1633      $SHELL "$ac_srcdir/configure" --help=recursive
1634    else
1635      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1636    fi || ac_status=$?
1637    cd "$ac_pwd" || { ac_status=$?; break; }
1638  done
1639fi
1640
1641test -n "$ac_init_help" && exit $ac_status
1642if $ac_init_version; then
1643  cat <<\_ACEOF
1644libmatemixer configure 1.26.0
1645generated by GNU Autoconf 2.69
1646
1647Copyright (C) 2012 Free Software Foundation, Inc.
1648This configure script is free software; the Free Software Foundation
1649gives unlimited permission to copy, distribute and modify it.
1650_ACEOF
1651  exit
1652fi
1653
1654## ------------------------ ##
1655## Autoconf initialization. ##
1656## ------------------------ ##
1657
1658# ac_fn_c_try_compile LINENO
1659# --------------------------
1660# Try to compile conftest.$ac_ext, and return whether this succeeded.
1661ac_fn_c_try_compile ()
1662{
1663  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664  rm -f conftest.$ac_objext
1665  if { { ac_try="$ac_compile"
1666case "(($ac_try" in
1667  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668  *) ac_try_echo=$ac_try;;
1669esac
1670eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671$as_echo "$ac_try_echo"; } >&5
1672  (eval "$ac_compile") 2>conftest.err
1673  ac_status=$?
1674  if test -s conftest.err; then
1675    grep -v '^ *+' conftest.err >conftest.er1
1676    cat conftest.er1 >&5
1677    mv -f conftest.er1 conftest.err
1678  fi
1679  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680  test $ac_status = 0; } && {
1681	 test -z "$ac_c_werror_flag" ||
1682	 test ! -s conftest.err
1683       } && test -s conftest.$ac_objext; then :
1684  ac_retval=0
1685else
1686  $as_echo "$as_me: failed program was:" >&5
1687sed 's/^/| /' conftest.$ac_ext >&5
1688
1689	ac_retval=1
1690fi
1691  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692  as_fn_set_status $ac_retval
1693
1694} # ac_fn_c_try_compile
1695
1696# ac_fn_c_try_link LINENO
1697# -----------------------
1698# Try to link conftest.$ac_ext, and return whether this succeeded.
1699ac_fn_c_try_link ()
1700{
1701  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702  rm -f conftest.$ac_objext conftest$ac_exeext
1703  if { { ac_try="$ac_link"
1704case "(($ac_try" in
1705  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706  *) ac_try_echo=$ac_try;;
1707esac
1708eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709$as_echo "$ac_try_echo"; } >&5
1710  (eval "$ac_link") 2>conftest.err
1711  ac_status=$?
1712  if test -s conftest.err; then
1713    grep -v '^ *+' conftest.err >conftest.er1
1714    cat conftest.er1 >&5
1715    mv -f conftest.er1 conftest.err
1716  fi
1717  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718  test $ac_status = 0; } && {
1719	 test -z "$ac_c_werror_flag" ||
1720	 test ! -s conftest.err
1721       } && test -s conftest$ac_exeext && {
1722	 test "$cross_compiling" = yes ||
1723	 test -x conftest$ac_exeext
1724       }; then :
1725  ac_retval=0
1726else
1727  $as_echo "$as_me: failed program was:" >&5
1728sed 's/^/| /' conftest.$ac_ext >&5
1729
1730	ac_retval=1
1731fi
1732  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1733  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1734  # interfere with the next link command; also delete a directory that is
1735  # left behind by Apple's compiler.  We do this before executing the actions.
1736  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1737  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738  as_fn_set_status $ac_retval
1739
1740} # ac_fn_c_try_link
1741
1742# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1743# -------------------------------------------------------
1744# Tests whether HEADER exists and can be compiled using the include files in
1745# INCLUDES, setting the cache variable VAR accordingly.
1746ac_fn_c_check_header_compile ()
1747{
1748  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750$as_echo_n "checking for $2... " >&6; }
1751if eval \${$3+:} false; then :
1752  $as_echo_n "(cached) " >&6
1753else
1754  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1755/* end confdefs.h.  */
1756$4
1757#include <$2>
1758_ACEOF
1759if ac_fn_c_try_compile "$LINENO"; then :
1760  eval "$3=yes"
1761else
1762  eval "$3=no"
1763fi
1764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1765fi
1766eval ac_res=\$$3
1767	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768$as_echo "$ac_res" >&6; }
1769  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1770
1771} # ac_fn_c_check_header_compile
1772
1773# ac_fn_c_try_cpp LINENO
1774# ----------------------
1775# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1776ac_fn_c_try_cpp ()
1777{
1778  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779  if { { ac_try="$ac_cpp conftest.$ac_ext"
1780case "(($ac_try" in
1781  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1782  *) ac_try_echo=$ac_try;;
1783esac
1784eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785$as_echo "$ac_try_echo"; } >&5
1786  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1787  ac_status=$?
1788  if test -s conftest.err; then
1789    grep -v '^ *+' conftest.err >conftest.er1
1790    cat conftest.er1 >&5
1791    mv -f conftest.er1 conftest.err
1792  fi
1793  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794  test $ac_status = 0; } > conftest.i && {
1795	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1796	 test ! -s conftest.err
1797       }; then :
1798  ac_retval=0
1799else
1800  $as_echo "$as_me: failed program was:" >&5
1801sed 's/^/| /' conftest.$ac_ext >&5
1802
1803    ac_retval=1
1804fi
1805  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806  as_fn_set_status $ac_retval
1807
1808} # ac_fn_c_try_cpp
1809
1810# ac_fn_c_try_run LINENO
1811# ----------------------
1812# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1813# that executables *can* be run.
1814ac_fn_c_try_run ()
1815{
1816  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817  if { { ac_try="$ac_link"
1818case "(($ac_try" in
1819  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1820  *) ac_try_echo=$ac_try;;
1821esac
1822eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1823$as_echo "$ac_try_echo"; } >&5
1824  (eval "$ac_link") 2>&5
1825  ac_status=$?
1826  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1827  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1828  { { case "(($ac_try" in
1829  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830  *) ac_try_echo=$ac_try;;
1831esac
1832eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833$as_echo "$ac_try_echo"; } >&5
1834  (eval "$ac_try") 2>&5
1835  ac_status=$?
1836  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837  test $ac_status = 0; }; }; then :
1838  ac_retval=0
1839else
1840  $as_echo "$as_me: program exited with status $ac_status" >&5
1841       $as_echo "$as_me: failed program was:" >&5
1842sed 's/^/| /' conftest.$ac_ext >&5
1843
1844       ac_retval=$ac_status
1845fi
1846  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1847  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848  as_fn_set_status $ac_retval
1849
1850} # ac_fn_c_try_run
1851
1852# ac_fn_c_check_func LINENO FUNC VAR
1853# ----------------------------------
1854# Tests whether FUNC exists, setting the cache variable VAR accordingly
1855ac_fn_c_check_func ()
1856{
1857  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859$as_echo_n "checking for $2... " >&6; }
1860if eval \${$3+:} false; then :
1861  $as_echo_n "(cached) " >&6
1862else
1863  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864/* end confdefs.h.  */
1865/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1866   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1867#define $2 innocuous_$2
1868
1869/* System header to define __stub macros and hopefully few prototypes,
1870    which can conflict with char $2 (); below.
1871    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1872    <limits.h> exists even on freestanding compilers.  */
1873
1874#ifdef __STDC__
1875# include <limits.h>
1876#else
1877# include <assert.h>
1878#endif
1879
1880#undef $2
1881
1882/* Override any GCC internal prototype to avoid an error.
1883   Use char because int might match the return type of a GCC
1884   builtin and then its argument prototype would still apply.  */
1885#ifdef __cplusplus
1886extern "C"
1887#endif
1888char $2 ();
1889/* The GNU C library defines this for functions which it implements
1890    to always fail with ENOSYS.  Some functions are actually named
1891    something starting with __ and the normal name is an alias.  */
1892#if defined __stub_$2 || defined __stub___$2
1893choke me
1894#endif
1895
1896int
1897main ()
1898{
1899return $2 ();
1900  ;
1901  return 0;
1902}
1903_ACEOF
1904if ac_fn_c_try_link "$LINENO"; then :
1905  eval "$3=yes"
1906else
1907  eval "$3=no"
1908fi
1909rm -f core conftest.err conftest.$ac_objext \
1910    conftest$ac_exeext conftest.$ac_ext
1911fi
1912eval ac_res=\$$3
1913	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914$as_echo "$ac_res" >&6; }
1915  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916
1917} # ac_fn_c_check_func
1918
1919# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1920# -------------------------------------------------------
1921# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1922# the include files in INCLUDES and setting the cache variable VAR
1923# accordingly.
1924ac_fn_c_check_header_mongrel ()
1925{
1926  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927  if eval \${$3+:} false; then :
1928  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929$as_echo_n "checking for $2... " >&6; }
1930if eval \${$3+:} false; then :
1931  $as_echo_n "(cached) " >&6
1932fi
1933eval ac_res=\$$3
1934	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935$as_echo "$ac_res" >&6; }
1936else
1937  # Is the header compilable?
1938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1939$as_echo_n "checking $2 usability... " >&6; }
1940cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1941/* end confdefs.h.  */
1942$4
1943#include <$2>
1944_ACEOF
1945if ac_fn_c_try_compile "$LINENO"; then :
1946  ac_header_compiler=yes
1947else
1948  ac_header_compiler=no
1949fi
1950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1952$as_echo "$ac_header_compiler" >&6; }
1953
1954# Is the header present?
1955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1956$as_echo_n "checking $2 presence... " >&6; }
1957cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958/* end confdefs.h.  */
1959#include <$2>
1960_ACEOF
1961if ac_fn_c_try_cpp "$LINENO"; then :
1962  ac_header_preproc=yes
1963else
1964  ac_header_preproc=no
1965fi
1966rm -f conftest.err conftest.i conftest.$ac_ext
1967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1968$as_echo "$ac_header_preproc" >&6; }
1969
1970# So?  What about this header?
1971case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1972  yes:no: )
1973    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1974$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1975    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1976$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1977    ;;
1978  no:yes:* )
1979    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1980$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1981    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1982$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1983    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1984$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1985    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1986$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1987    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1988$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1989( $as_echo "## --------------------------------------- ##
1990## Report this to https://mate-desktop.org ##
1991## --------------------------------------- ##"
1992     ) | sed "s/^/$as_me: WARNING:     /" >&2
1993    ;;
1994esac
1995  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1996$as_echo_n "checking for $2... " >&6; }
1997if eval \${$3+:} false; then :
1998  $as_echo_n "(cached) " >&6
1999else
2000  eval "$3=\$ac_header_compiler"
2001fi
2002eval ac_res=\$$3
2003	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004$as_echo "$ac_res" >&6; }
2005fi
2006  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007
2008} # ac_fn_c_check_header_mongrel
2009cat >config.log <<_ACEOF
2010This file contains any messages produced by compilers while
2011running configure, to aid debugging if configure makes a mistake.
2012
2013It was created by libmatemixer $as_me 1.26.0, which was
2014generated by GNU Autoconf 2.69.  Invocation command line was
2015
2016  $ $0 $@
2017
2018_ACEOF
2019exec 5>>config.log
2020{
2021cat <<_ASUNAME
2022## --------- ##
2023## Platform. ##
2024## --------- ##
2025
2026hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2027uname -m = `(uname -m) 2>/dev/null || echo unknown`
2028uname -r = `(uname -r) 2>/dev/null || echo unknown`
2029uname -s = `(uname -s) 2>/dev/null || echo unknown`
2030uname -v = `(uname -v) 2>/dev/null || echo unknown`
2031
2032/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2033/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2034
2035/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2036/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2037/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2038/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2039/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2040/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2041/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2042
2043_ASUNAME
2044
2045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046for as_dir in $PATH
2047do
2048  IFS=$as_save_IFS
2049  test -z "$as_dir" && as_dir=.
2050    $as_echo "PATH: $as_dir"
2051  done
2052IFS=$as_save_IFS
2053
2054} >&5
2055
2056cat >&5 <<_ACEOF
2057
2058
2059## ----------- ##
2060## Core tests. ##
2061## ----------- ##
2062
2063_ACEOF
2064
2065
2066# Keep a trace of the command line.
2067# Strip out --no-create and --no-recursion so they do not pile up.
2068# Strip out --silent because we don't want to record it for future runs.
2069# Also quote any args containing shell meta-characters.
2070# Make two passes to allow for proper duplicate-argument suppression.
2071ac_configure_args=
2072ac_configure_args0=
2073ac_configure_args1=
2074ac_must_keep_next=false
2075for ac_pass in 1 2
2076do
2077  for ac_arg
2078  do
2079    case $ac_arg in
2080    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2081    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2082    | -silent | --silent | --silen | --sile | --sil)
2083      continue ;;
2084    *\'*)
2085      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2086    esac
2087    case $ac_pass in
2088    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2089    2)
2090      as_fn_append ac_configure_args1 " '$ac_arg'"
2091      if test $ac_must_keep_next = true; then
2092	ac_must_keep_next=false # Got value, back to normal.
2093      else
2094	case $ac_arg in
2095	  *=* | --config-cache | -C | -disable-* | --disable-* \
2096	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2097	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2098	  | -with-* | --with-* | -without-* | --without-* | --x)
2099	    case "$ac_configure_args0 " in
2100	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2101	    esac
2102	    ;;
2103	  -* ) ac_must_keep_next=true ;;
2104	esac
2105      fi
2106      as_fn_append ac_configure_args " '$ac_arg'"
2107      ;;
2108    esac
2109  done
2110done
2111{ ac_configure_args0=; unset ac_configure_args0;}
2112{ ac_configure_args1=; unset ac_configure_args1;}
2113
2114# When interrupted or exit'd, cleanup temporary files, and complete
2115# config.log.  We remove comments because anyway the quotes in there
2116# would cause problems or look ugly.
2117# WARNING: Use '\'' to represent an apostrophe within the trap.
2118# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2119trap 'exit_status=$?
2120  # Save into config.log some information that might help in debugging.
2121  {
2122    echo
2123
2124    $as_echo "## ---------------- ##
2125## Cache variables. ##
2126## ---------------- ##"
2127    echo
2128    # The following way of writing the cache mishandles newlines in values,
2129(
2130  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2131    eval ac_val=\$$ac_var
2132    case $ac_val in #(
2133    *${as_nl}*)
2134      case $ac_var in #(
2135      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2136$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2137      esac
2138      case $ac_var in #(
2139      _ | IFS | as_nl) ;; #(
2140      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2141      *) { eval $ac_var=; unset $ac_var;} ;;
2142      esac ;;
2143    esac
2144  done
2145  (set) 2>&1 |
2146    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2147    *${as_nl}ac_space=\ *)
2148      sed -n \
2149	"s/'\''/'\''\\\\'\'''\''/g;
2150	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2151      ;; #(
2152    *)
2153      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2154      ;;
2155    esac |
2156    sort
2157)
2158    echo
2159
2160    $as_echo "## ----------------- ##
2161## Output variables. ##
2162## ----------------- ##"
2163    echo
2164    for ac_var in $ac_subst_vars
2165    do
2166      eval ac_val=\$$ac_var
2167      case $ac_val in
2168      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2169      esac
2170      $as_echo "$ac_var='\''$ac_val'\''"
2171    done | sort
2172    echo
2173
2174    if test -n "$ac_subst_files"; then
2175      $as_echo "## ------------------- ##
2176## File substitutions. ##
2177## ------------------- ##"
2178      echo
2179      for ac_var in $ac_subst_files
2180      do
2181	eval ac_val=\$$ac_var
2182	case $ac_val in
2183	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2184	esac
2185	$as_echo "$ac_var='\''$ac_val'\''"
2186      done | sort
2187      echo
2188    fi
2189
2190    if test -s confdefs.h; then
2191      $as_echo "## ----------- ##
2192## confdefs.h. ##
2193## ----------- ##"
2194      echo
2195      cat confdefs.h
2196      echo
2197    fi
2198    test "$ac_signal" != 0 &&
2199      $as_echo "$as_me: caught signal $ac_signal"
2200    $as_echo "$as_me: exit $exit_status"
2201  } >&5
2202  rm -f core *.core core.conftest.* &&
2203    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2204    exit $exit_status
2205' 0
2206for ac_signal in 1 2 13 15; do
2207  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2208done
2209ac_signal=0
2210
2211# confdefs.h avoids OS command line length limits that DEFS can exceed.
2212rm -f -r conftest* confdefs.h
2213
2214$as_echo "/* confdefs.h */" > confdefs.h
2215
2216# Predefined preprocessor variables.
2217
2218cat >>confdefs.h <<_ACEOF
2219#define PACKAGE_NAME "$PACKAGE_NAME"
2220_ACEOF
2221
2222cat >>confdefs.h <<_ACEOF
2223#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2224_ACEOF
2225
2226cat >>confdefs.h <<_ACEOF
2227#define PACKAGE_VERSION "$PACKAGE_VERSION"
2228_ACEOF
2229
2230cat >>confdefs.h <<_ACEOF
2231#define PACKAGE_STRING "$PACKAGE_STRING"
2232_ACEOF
2233
2234cat >>confdefs.h <<_ACEOF
2235#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2236_ACEOF
2237
2238cat >>confdefs.h <<_ACEOF
2239#define PACKAGE_URL "$PACKAGE_URL"
2240_ACEOF
2241
2242
2243# Let the site file select an alternate cache file if it wants to.
2244# Prefer an explicitly selected file to automatically selected ones.
2245ac_site_file1=NONE
2246ac_site_file2=NONE
2247if test -n "$CONFIG_SITE"; then
2248  # We do not want a PATH search for config.site.
2249  case $CONFIG_SITE in #((
2250    -*)  ac_site_file1=./$CONFIG_SITE;;
2251    */*) ac_site_file1=$CONFIG_SITE;;
2252    *)   ac_site_file1=./$CONFIG_SITE;;
2253  esac
2254elif test "x$prefix" != xNONE; then
2255  ac_site_file1=$prefix/share/config.site
2256  ac_site_file2=$prefix/etc/config.site
2257else
2258  ac_site_file1=$ac_default_prefix/share/config.site
2259  ac_site_file2=$ac_default_prefix/etc/config.site
2260fi
2261for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2262do
2263  test "x$ac_site_file" = xNONE && continue
2264  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2265    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2266$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2267    sed 's/^/| /' "$ac_site_file" >&5
2268    . "$ac_site_file" \
2269      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2270$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2271as_fn_error $? "failed to load site script $ac_site_file
2272See \`config.log' for more details" "$LINENO" 5; }
2273  fi
2274done
2275
2276if test -r "$cache_file"; then
2277  # Some versions of bash will fail to source /dev/null (special files
2278  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2279  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2280    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2281$as_echo "$as_me: loading cache $cache_file" >&6;}
2282    case $cache_file in
2283      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2284      *)                      . "./$cache_file";;
2285    esac
2286  fi
2287else
2288  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2289$as_echo "$as_me: creating cache $cache_file" >&6;}
2290  >$cache_file
2291fi
2292
2293gt_needs="$gt_needs "
2294# Check that the precious variables saved in the cache have kept the same
2295# value.
2296ac_cache_corrupted=false
2297for ac_var in $ac_precious_vars; do
2298  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2299  eval ac_new_set=\$ac_env_${ac_var}_set
2300  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2301  eval ac_new_val=\$ac_env_${ac_var}_value
2302  case $ac_old_set,$ac_new_set in
2303    set,)
2304      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2305$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2306      ac_cache_corrupted=: ;;
2307    ,set)
2308      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2309$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2310      ac_cache_corrupted=: ;;
2311    ,);;
2312    *)
2313      if test "x$ac_old_val" != "x$ac_new_val"; then
2314	# differences in whitespace do not lead to failure.
2315	ac_old_val_w=`echo x $ac_old_val`
2316	ac_new_val_w=`echo x $ac_new_val`
2317	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2318	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2319$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2320	  ac_cache_corrupted=:
2321	else
2322	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2323$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2324	  eval $ac_var=\$ac_old_val
2325	fi
2326	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2327$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2328	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2329$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2330      fi;;
2331  esac
2332  # Pass precious variables to config.status.
2333  if test "$ac_new_set" = set; then
2334    case $ac_new_val in
2335    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2336    *) ac_arg=$ac_var=$ac_new_val ;;
2337    esac
2338    case " $ac_configure_args " in
2339      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2340      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2341    esac
2342  fi
2343done
2344if $ac_cache_corrupted; then
2345  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2346$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2347  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2348$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2349  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2350fi
2351## -------------------- ##
2352## Main body of script. ##
2353## -------------------- ##
2354
2355ac_ext=c
2356ac_cpp='$CPP $CPPFLAGS'
2357ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2358ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2359ac_compiler_gnu=$ac_cv_c_compiler_gnu
2360
2361
2362
2363# Before making a release, the LT_VERSION string should be modified.
2364# The string is of the form C:R:A.
2365# - If interfaces have been changed or added, but binary compatibility has
2366#   been preserved, change to C+1:0:A+1
2367# - If binary compatibility has been broken (eg removed or changed interfaces)
2368#   change to C+1:0:0
2369# - If the interface is the same as the previous version, change to C:R+1:A
2370
2371LT_VERSION=0:0:0
2372
2373
2374$as_echo "#define LIBMATEMIXER_MAJOR_VERSION 1" >>confdefs.h
2375
2376
2377$as_echo "#define LIBMATEMIXER_MINOR_VERSION 26" >>confdefs.h
2378
2379
2380$as_echo "#define LIBMATEMIXER_MICRO_VERSION 0" >>confdefs.h
2381
2382
2383LIBMATEMIXER_MAJOR_VERSION=1
2384
2385LIBMATEMIXER_MINOR_VERSION=26
2386
2387LIBMATEMIXER_MICRO_VERSION=0
2388
2389LIBMATEMIXER_VERSION=1.26.0
2390
2391
2392
2393
2394ac_config_headers="$ac_config_headers config.h"
2395
2396
2397ac_aux_dir=
2398for ac_dir in build-aux "$srcdir"/build-aux; do
2399  if test -f "$ac_dir/install-sh"; then
2400    ac_aux_dir=$ac_dir
2401    ac_install_sh="$ac_aux_dir/install-sh -c"
2402    break
2403  elif test -f "$ac_dir/install.sh"; then
2404    ac_aux_dir=$ac_dir
2405    ac_install_sh="$ac_aux_dir/install.sh -c"
2406    break
2407  elif test -f "$ac_dir/shtool"; then
2408    ac_aux_dir=$ac_dir
2409    ac_install_sh="$ac_aux_dir/shtool install -c"
2410    break
2411  fi
2412done
2413if test -z "$ac_aux_dir"; then
2414  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2415fi
2416
2417# These three variables are undocumented and unsupported,
2418# and are intended to be withdrawn in a future Autoconf release.
2419# They can cause serious problems if a builder's source tree is in a directory
2420# whose full name contains unusual characters.
2421ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2422ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2423ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2424
2425
2426
2427
2428am__api_version='1.16'
2429
2430# Find a good install program.  We prefer a C program (faster),
2431# so one script is as good as another.  But avoid the broken or
2432# incompatible versions:
2433# SysV /etc/install, /usr/sbin/install
2434# SunOS /usr/etc/install
2435# IRIX /sbin/install
2436# AIX /bin/install
2437# AmigaOS /C/install, which installs bootblocks on floppy discs
2438# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2439# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2440# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2441# OS/2's system install, which has a completely different semantic
2442# ./install, which can be erroneously created by make from ./install.sh.
2443# Reject install programs that cannot install multiple files.
2444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2445$as_echo_n "checking for a BSD-compatible install... " >&6; }
2446if test -z "$INSTALL"; then
2447if ${ac_cv_path_install+:} false; then :
2448  $as_echo_n "(cached) " >&6
2449else
2450  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451for as_dir in $PATH
2452do
2453  IFS=$as_save_IFS
2454  test -z "$as_dir" && as_dir=.
2455    # Account for people who put trailing slashes in PATH elements.
2456case $as_dir/ in #((
2457  ./ | .// | /[cC]/* | \
2458  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2459  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2460  /usr/ucb/* ) ;;
2461  *)
2462    # OSF1 and SCO ODT 3.0 have their own names for install.
2463    # Don't use installbsd from OSF since it installs stuff as root
2464    # by default.
2465    for ac_prog in ginstall scoinst install; do
2466      for ac_exec_ext in '' $ac_executable_extensions; do
2467	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2468	  if test $ac_prog = install &&
2469	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2470	    # AIX install.  It has an incompatible calling convention.
2471	    :
2472	  elif test $ac_prog = install &&
2473	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2474	    # program-specific install script used by HP pwplus--don't use.
2475	    :
2476	  else
2477	    rm -rf conftest.one conftest.two conftest.dir
2478	    echo one > conftest.one
2479	    echo two > conftest.two
2480	    mkdir conftest.dir
2481	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2482	      test -s conftest.one && test -s conftest.two &&
2483	      test -s conftest.dir/conftest.one &&
2484	      test -s conftest.dir/conftest.two
2485	    then
2486	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2487	      break 3
2488	    fi
2489	  fi
2490	fi
2491      done
2492    done
2493    ;;
2494esac
2495
2496  done
2497IFS=$as_save_IFS
2498
2499rm -rf conftest.one conftest.two conftest.dir
2500
2501fi
2502  if test "${ac_cv_path_install+set}" = set; then
2503    INSTALL=$ac_cv_path_install
2504  else
2505    # As a last resort, use the slow shell script.  Don't cache a
2506    # value for INSTALL within a source directory, because that will
2507    # break other packages using the cache if that directory is
2508    # removed, or if the value is a relative name.
2509    INSTALL=$ac_install_sh
2510  fi
2511fi
2512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2513$as_echo "$INSTALL" >&6; }
2514
2515# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2516# It thinks the first close brace ends the variable substitution.
2517test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2518
2519test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2520
2521test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2522
2523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2524$as_echo_n "checking whether build environment is sane... " >&6; }
2525# Reject unsafe characters in $srcdir or the absolute working directory
2526# name.  Accept space and tab only in the latter.
2527am_lf='
2528'
2529case `pwd` in
2530  *[\\\"\#\$\&\'\`$am_lf]*)
2531    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2532esac
2533case $srcdir in
2534  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2535    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2536esac
2537
2538# Do 'set' in a subshell so we don't clobber the current shell's
2539# arguments.  Must try -L first in case configure is actually a
2540# symlink; some systems play weird games with the mod time of symlinks
2541# (eg FreeBSD returns the mod time of the symlink's containing
2542# directory).
2543if (
2544   am_has_slept=no
2545   for am_try in 1 2; do
2546     echo "timestamp, slept: $am_has_slept" > conftest.file
2547     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2548     if test "$*" = "X"; then
2549	# -L didn't work.
2550	set X `ls -t "$srcdir/configure" conftest.file`
2551     fi
2552     if test "$*" != "X $srcdir/configure conftest.file" \
2553	&& test "$*" != "X conftest.file $srcdir/configure"; then
2554
2555	# If neither matched, then we have a broken ls.  This can happen
2556	# if, for instance, CONFIG_SHELL is bash and it inherits a
2557	# broken ls alias from the environment.  This has actually
2558	# happened.  Such a system could not be considered "sane".
2559	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2560  alias in your environment" "$LINENO" 5
2561     fi
2562     if test "$2" = conftest.file || test $am_try -eq 2; then
2563       break
2564     fi
2565     # Just in case.
2566     sleep 1
2567     am_has_slept=yes
2568   done
2569   test "$2" = conftest.file
2570   )
2571then
2572   # Ok.
2573   :
2574else
2575   as_fn_error $? "newly created file is older than distributed files!
2576Check your system clock" "$LINENO" 5
2577fi
2578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2579$as_echo "yes" >&6; }
2580# If we didn't sleep, we still need to ensure time stamps of config.status and
2581# generated files are strictly newer.
2582am_sleep_pid=
2583if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2584  ( sleep 1 ) &
2585  am_sleep_pid=$!
2586fi
2587
2588rm -f conftest.file
2589
2590test "$program_prefix" != NONE &&
2591  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2592# Use a double $ so make ignores it.
2593test "$program_suffix" != NONE &&
2594  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2595# Double any \ or $.
2596# By default was `s,x,x', remove it if useless.
2597ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2598program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2599
2600# Expand $ac_aux_dir to an absolute path.
2601am_aux_dir=`cd "$ac_aux_dir" && pwd`
2602
2603if test x"${MISSING+set}" != xset; then
2604  case $am_aux_dir in
2605  *\ * | *\	*)
2606    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2607  *)
2608    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2609  esac
2610fi
2611# Use eval to expand $SHELL
2612if eval "$MISSING --is-lightweight"; then
2613  am_missing_run="$MISSING "
2614else
2615  am_missing_run=
2616  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2617$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2618fi
2619
2620if test x"${install_sh+set}" != xset; then
2621  case $am_aux_dir in
2622  *\ * | *\	*)
2623    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2624  *)
2625    install_sh="\${SHELL} $am_aux_dir/install-sh"
2626  esac
2627fi
2628
2629# Installed binaries are usually stripped using 'strip' when the user
2630# run "make install-strip".  However 'strip' might not be the right
2631# tool to use in cross-compilation environments, therefore Automake
2632# will honor the 'STRIP' environment variable to overrule this program.
2633if test "$cross_compiling" != no; then
2634  if test -n "$ac_tool_prefix"; then
2635  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2636set dummy ${ac_tool_prefix}strip; ac_word=$2
2637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2638$as_echo_n "checking for $ac_word... " >&6; }
2639if ${ac_cv_prog_STRIP+:} false; then :
2640  $as_echo_n "(cached) " >&6
2641else
2642  if test -n "$STRIP"; then
2643  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2644else
2645as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646for as_dir in $PATH
2647do
2648  IFS=$as_save_IFS
2649  test -z "$as_dir" && as_dir=.
2650    for ac_exec_ext in '' $ac_executable_extensions; do
2651  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2652    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2653    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2654    break 2
2655  fi
2656done
2657  done
2658IFS=$as_save_IFS
2659
2660fi
2661fi
2662STRIP=$ac_cv_prog_STRIP
2663if test -n "$STRIP"; then
2664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2665$as_echo "$STRIP" >&6; }
2666else
2667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668$as_echo "no" >&6; }
2669fi
2670
2671
2672fi
2673if test -z "$ac_cv_prog_STRIP"; then
2674  ac_ct_STRIP=$STRIP
2675  # Extract the first word of "strip", so it can be a program name with args.
2676set dummy strip; ac_word=$2
2677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2678$as_echo_n "checking for $ac_word... " >&6; }
2679if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2680  $as_echo_n "(cached) " >&6
2681else
2682  if test -n "$ac_ct_STRIP"; then
2683  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2684else
2685as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2686for as_dir in $PATH
2687do
2688  IFS=$as_save_IFS
2689  test -z "$as_dir" && as_dir=.
2690    for ac_exec_ext in '' $ac_executable_extensions; do
2691  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2692    ac_cv_prog_ac_ct_STRIP="strip"
2693    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2694    break 2
2695  fi
2696done
2697  done
2698IFS=$as_save_IFS
2699
2700fi
2701fi
2702ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2703if test -n "$ac_ct_STRIP"; then
2704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2705$as_echo "$ac_ct_STRIP" >&6; }
2706else
2707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2708$as_echo "no" >&6; }
2709fi
2710
2711  if test "x$ac_ct_STRIP" = x; then
2712    STRIP=":"
2713  else
2714    case $cross_compiling:$ac_tool_warned in
2715yes:)
2716{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2717$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2718ac_tool_warned=yes ;;
2719esac
2720    STRIP=$ac_ct_STRIP
2721  fi
2722else
2723  STRIP="$ac_cv_prog_STRIP"
2724fi
2725
2726fi
2727INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2728
2729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2730$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2731if test -z "$MKDIR_P"; then
2732  if ${ac_cv_path_mkdir+:} false; then :
2733  $as_echo_n "(cached) " >&6
2734else
2735  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2737do
2738  IFS=$as_save_IFS
2739  test -z "$as_dir" && as_dir=.
2740    for ac_prog in mkdir gmkdir; do
2741	 for ac_exec_ext in '' $ac_executable_extensions; do
2742	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2743	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2744	     'mkdir (GNU coreutils) '* | \
2745	     'mkdir (coreutils) '* | \
2746	     'mkdir (fileutils) '4.1*)
2747	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2748	       break 3;;
2749	   esac
2750	 done
2751       done
2752  done
2753IFS=$as_save_IFS
2754
2755fi
2756
2757  test -d ./--version && rmdir ./--version
2758  if test "${ac_cv_path_mkdir+set}" = set; then
2759    MKDIR_P="$ac_cv_path_mkdir -p"
2760  else
2761    # As a last resort, use the slow shell script.  Don't cache a
2762    # value for MKDIR_P within a source directory, because that will
2763    # break other packages using the cache if that directory is
2764    # removed, or if the value is a relative name.
2765    MKDIR_P="$ac_install_sh -d"
2766  fi
2767fi
2768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2769$as_echo "$MKDIR_P" >&6; }
2770
2771for ac_prog in gawk mawk nawk awk
2772do
2773  # Extract the first word of "$ac_prog", so it can be a program name with args.
2774set dummy $ac_prog; ac_word=$2
2775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2776$as_echo_n "checking for $ac_word... " >&6; }
2777if ${ac_cv_prog_AWK+:} false; then :
2778  $as_echo_n "(cached) " >&6
2779else
2780  if test -n "$AWK"; then
2781  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2782else
2783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2784for as_dir in $PATH
2785do
2786  IFS=$as_save_IFS
2787  test -z "$as_dir" && as_dir=.
2788    for ac_exec_ext in '' $ac_executable_extensions; do
2789  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2790    ac_cv_prog_AWK="$ac_prog"
2791    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792    break 2
2793  fi
2794done
2795  done
2796IFS=$as_save_IFS
2797
2798fi
2799fi
2800AWK=$ac_cv_prog_AWK
2801if test -n "$AWK"; then
2802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2803$as_echo "$AWK" >&6; }
2804else
2805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806$as_echo "no" >&6; }
2807fi
2808
2809
2810  test -n "$AWK" && break
2811done
2812
2813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2814$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2815set x ${MAKE-make}
2816ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2817if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2818  $as_echo_n "(cached) " >&6
2819else
2820  cat >conftest.make <<\_ACEOF
2821SHELL = /bin/sh
2822all:
2823	@echo '@@@%%%=$(MAKE)=@@@%%%'
2824_ACEOF
2825# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2826case `${MAKE-make} -f conftest.make 2>/dev/null` in
2827  *@@@%%%=?*=@@@%%%*)
2828    eval ac_cv_prog_make_${ac_make}_set=yes;;
2829  *)
2830    eval ac_cv_prog_make_${ac_make}_set=no;;
2831esac
2832rm -f conftest.make
2833fi
2834if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2836$as_echo "yes" >&6; }
2837  SET_MAKE=
2838else
2839  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840$as_echo "no" >&6; }
2841  SET_MAKE="MAKE=${MAKE-make}"
2842fi
2843
2844rm -rf .tst 2>/dev/null
2845mkdir .tst 2>/dev/null
2846if test -d .tst; then
2847  am__leading_dot=.
2848else
2849  am__leading_dot=_
2850fi
2851rmdir .tst 2>/dev/null
2852
2853# Check whether --enable-silent-rules was given.
2854if test "${enable_silent_rules+set}" = set; then :
2855  enableval=$enable_silent_rules;
2856fi
2857
2858case $enable_silent_rules in # (((
2859  yes) AM_DEFAULT_VERBOSITY=0;;
2860   no) AM_DEFAULT_VERBOSITY=1;;
2861    *) AM_DEFAULT_VERBOSITY=1;;
2862esac
2863am_make=${MAKE-make}
2864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2865$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2866if ${am_cv_make_support_nested_variables+:} false; then :
2867  $as_echo_n "(cached) " >&6
2868else
2869  if $as_echo 'TRUE=$(BAR$(V))
2870BAR0=false
2871BAR1=true
2872V=1
2873am__doit:
2874	@$(TRUE)
2875.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2876  am_cv_make_support_nested_variables=yes
2877else
2878  am_cv_make_support_nested_variables=no
2879fi
2880fi
2881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2882$as_echo "$am_cv_make_support_nested_variables" >&6; }
2883if test $am_cv_make_support_nested_variables = yes; then
2884    AM_V='$(V)'
2885  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2886else
2887  AM_V=$AM_DEFAULT_VERBOSITY
2888  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2889fi
2890AM_BACKSLASH='\'
2891
2892if test "`cd $srcdir && pwd`" != "`pwd`"; then
2893  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2894  # is not polluted with repeated "-I."
2895  am__isrc=' -I$(srcdir)'
2896  # test to see if srcdir already configured
2897  if test -f $srcdir/config.status; then
2898    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2899  fi
2900fi
2901
2902# test whether we have cygpath
2903if test -z "$CYGPATH_W"; then
2904  if (cygpath --version) >/dev/null 2>/dev/null; then
2905    CYGPATH_W='cygpath -w'
2906  else
2907    CYGPATH_W=echo
2908  fi
2909fi
2910
2911
2912# Define the identity of the package.
2913 PACKAGE='libmatemixer'
2914 VERSION='1.26.0'
2915
2916
2917cat >>confdefs.h <<_ACEOF
2918#define PACKAGE "$PACKAGE"
2919_ACEOF
2920
2921
2922cat >>confdefs.h <<_ACEOF
2923#define VERSION "$VERSION"
2924_ACEOF
2925
2926# Some tools Automake needs.
2927
2928ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2929
2930
2931AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2932
2933
2934AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2935
2936
2937AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2938
2939
2940MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2941
2942# For better backward compatibility.  To be removed once Automake 1.9.x
2943# dies out for good.  For more background, see:
2944# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2945# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2946mkdir_p='$(MKDIR_P)'
2947
2948# We need awk for the "check" target (and possibly the TAP driver).  The
2949# system "awk" is bad on some platforms.
2950# Always define AMTAR for backward compatibility.  Yes, it's still used
2951# in the wild :-(  We should find a proper way to deprecate it ...
2952AMTAR='$${TAR-tar}'
2953
2954
2955# We'll loop over all known methods to create a tar archive until one works.
2956_am_tools='gnutar plaintar pax cpio none'
2957
2958# The POSIX 1988 'ustar' format is defined with fixed-size fields.
2959      # There is notably a 21 bits limit for the UID and the GID.  In fact,
2960      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2961      # and bug#13588).
2962      am_max_uid=2097151 # 2^21 - 1
2963      am_max_gid=$am_max_uid
2964      # The $UID and $GID variables are not portable, so we need to resort
2965      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
2966      # below are definitely unexpected, so allow the users to see them
2967      # (that is, avoid stderr redirection).
2968      am_uid=`id -u || echo unknown`
2969      am_gid=`id -g || echo unknown`
2970      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2971$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2972      if test $am_uid -le $am_max_uid; then
2973         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2974$as_echo "yes" >&6; }
2975      else
2976         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2977$as_echo "no" >&6; }
2978         _am_tools=none
2979      fi
2980      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2981$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2982      if test $am_gid -le $am_max_gid; then
2983         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2984$as_echo "yes" >&6; }
2985      else
2986        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987$as_echo "no" >&6; }
2988        _am_tools=none
2989      fi
2990
2991  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2992$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2993
2994  # Go ahead even if we have the value already cached.  We do so because we
2995  # need to set the values for the 'am__tar' and 'am__untar' variables.
2996  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2997
2998  for _am_tool in $_am_tools; do
2999    case $_am_tool in
3000    gnutar)
3001      for _am_tar in tar gnutar gtar; do
3002        { echo "$as_me:$LINENO: $_am_tar --version" >&5
3003   ($_am_tar --version) >&5 2>&5
3004   ac_status=$?
3005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006   (exit $ac_status); } && break
3007      done
3008      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3009      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3010      am__untar="$_am_tar -xf -"
3011      ;;
3012    plaintar)
3013      # Must skip GNU tar: if it does not support --format= it doesn't create
3014      # ustar tarball either.
3015      (tar --version) >/dev/null 2>&1 && continue
3016      am__tar='tar chf - "$$tardir"'
3017      am__tar_='tar chf - "$tardir"'
3018      am__untar='tar xf -'
3019      ;;
3020    pax)
3021      am__tar='pax -L -x ustar -w "$$tardir"'
3022      am__tar_='pax -L -x ustar -w "$tardir"'
3023      am__untar='pax -r'
3024      ;;
3025    cpio)
3026      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3027      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3028      am__untar='cpio -i -H ustar -d'
3029      ;;
3030    none)
3031      am__tar=false
3032      am__tar_=false
3033      am__untar=false
3034      ;;
3035    esac
3036
3037    # If the value was cached, stop now.  We just wanted to have am__tar
3038    # and am__untar set.
3039    test -n "${am_cv_prog_tar_ustar}" && break
3040
3041    # tar/untar a dummy directory, and stop if the command works.
3042    rm -rf conftest.dir
3043    mkdir conftest.dir
3044    echo GrepMe > conftest.dir/file
3045    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3046   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3047   ac_status=$?
3048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049   (exit $ac_status); }
3050    rm -rf conftest.dir
3051    if test -s conftest.tar; then
3052      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3053   ($am__untar <conftest.tar) >&5 2>&5
3054   ac_status=$?
3055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056   (exit $ac_status); }
3057      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3058   (cat conftest.dir/file) >&5 2>&5
3059   ac_status=$?
3060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061   (exit $ac_status); }
3062      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3063    fi
3064  done
3065  rm -rf conftest.dir
3066
3067  if ${am_cv_prog_tar_ustar+:} false; then :
3068  $as_echo_n "(cached) " >&6
3069else
3070  am_cv_prog_tar_ustar=$_am_tool
3071fi
3072
3073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3074$as_echo "$am_cv_prog_tar_ustar" >&6; }
3075
3076
3077
3078
3079
3080
3081# POSIX will say in a future version that running "rm -f" with no argument
3082# is OK; and we want to be able to make that assumption in our Makefile
3083# recipes.  So use an aggressive probe to check that the usage we want is
3084# actually supported "in the wild" to an acceptable degree.
3085# See automake bug#10828.
3086# To make any issue more visible, cause the running configure to be aborted
3087# by default if the 'rm' program in use doesn't match our expectations; the
3088# user can still override this though.
3089if rm -f && rm -fr && rm -rf; then : OK; else
3090  cat >&2 <<'END'
3091Oops!
3092
3093Your 'rm' program seems unable to run without file operands specified
3094on the command line, even when the '-f' option is present.  This is contrary
3095to the behaviour of most rm programs out there, and not conforming with
3096the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3097
3098Please tell bug-automake@gnu.org about your system, including the value
3099of your $PATH and any error possibly output before this message.  This
3100can help us improve future automake versions.
3101
3102END
3103  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3104    echo 'Configuration will proceed anyway, since you have set the' >&2
3105    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3106    echo >&2
3107  else
3108    cat >&2 <<'END'
3109Aborting the configuration process, to ensure you take notice of the issue.
3110
3111You can download and install GNU coreutils to get an 'rm' implementation
3112that behaves properly: <https://www.gnu.org/software/coreutils/>.
3113
3114If you want to complete the configuration process using your problematic
3115'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3116to "yes", and re-run configure.
3117
3118END
3119    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3120  fi
3121fi
3122
3123
3124# Use pretty build output with automake >= 1.11
3125# Disable by either passing --disable-silent-rules to configure or passing
3126# V=1 to make
3127# Check whether --enable-silent-rules was given.
3128if test "${enable_silent_rules+set}" = set; then :
3129  enableval=$enable_silent_rules;
3130fi
3131
3132case $enable_silent_rules in # (((
3133  yes) AM_DEFAULT_VERBOSITY=0;;
3134   no) AM_DEFAULT_VERBOSITY=1;;
3135    *) AM_DEFAULT_VERBOSITY=0;;
3136esac
3137am_make=${MAKE-make}
3138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3139$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3140if ${am_cv_make_support_nested_variables+:} false; then :
3141  $as_echo_n "(cached) " >&6
3142else
3143  if $as_echo 'TRUE=$(BAR$(V))
3144BAR0=false
3145BAR1=true
3146V=1
3147am__doit:
3148	@$(TRUE)
3149.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3150  am_cv_make_support_nested_variables=yes
3151else
3152  am_cv_make_support_nested_variables=no
3153fi
3154fi
3155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3156$as_echo "$am_cv_make_support_nested_variables" >&6; }
3157if test $am_cv_make_support_nested_variables = yes; then
3158    AM_V='$(V)'
3159  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3160else
3161  AM_V=$AM_DEFAULT_VERBOSITY
3162  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3163fi
3164AM_BACKSLASH='\'
3165
3166
3167# =======================================================================
3168# Compiler warnings
3169# =======================================================================
3170DEPDIR="${am__leading_dot}deps"
3171
3172ac_config_commands="$ac_config_commands depfiles"
3173
3174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3175$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3176cat > confinc.mk << 'END'
3177am__doit:
3178	@echo this is the am__doit target >confinc.out
3179.PHONY: am__doit
3180END
3181am__include="#"
3182am__quote=
3183# BSD make does it like this.
3184echo '.include "confinc.mk" # ignored' > confmf.BSD
3185# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3186echo 'include confinc.mk # ignored' > confmf.GNU
3187_am_result=no
3188for s in GNU BSD; do
3189  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3190   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3191   ac_status=$?
3192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193   (exit $ac_status); }
3194  case $?:`cat confinc.out 2>/dev/null` in #(
3195  '0:this is the am__doit target') :
3196    case $s in #(
3197  BSD) :
3198    am__include='.include' am__quote='"' ;; #(
3199  *) :
3200    am__include='include' am__quote='' ;;
3201esac ;; #(
3202  *) :
3203     ;;
3204esac
3205  if test "$am__include" != "#"; then
3206    _am_result="yes ($s style)"
3207    break
3208  fi
3209done
3210rm -f confinc.* confmf.*
3211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3212$as_echo "${_am_result}" >&6; }
3213
3214# Check whether --enable-dependency-tracking was given.
3215if test "${enable_dependency_tracking+set}" = set; then :
3216  enableval=$enable_dependency_tracking;
3217fi
3218
3219if test "x$enable_dependency_tracking" != xno; then
3220  am_depcomp="$ac_aux_dir/depcomp"
3221  AMDEPBACKSLASH='\'
3222  am__nodep='_no'
3223fi
3224 if test "x$enable_dependency_tracking" != xno; then
3225  AMDEP_TRUE=
3226  AMDEP_FALSE='#'
3227else
3228  AMDEP_TRUE='#'
3229  AMDEP_FALSE=
3230fi
3231
3232
3233ac_ext=c
3234ac_cpp='$CPP $CPPFLAGS'
3235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3237ac_compiler_gnu=$ac_cv_c_compiler_gnu
3238if test -n "$ac_tool_prefix"; then
3239  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3240set dummy ${ac_tool_prefix}gcc; ac_word=$2
3241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242$as_echo_n "checking for $ac_word... " >&6; }
3243if ${ac_cv_prog_CC+:} false; then :
3244  $as_echo_n "(cached) " >&6
3245else
3246  if test -n "$CC"; then
3247  ac_cv_prog_CC="$CC" # Let the user override the test.
3248else
3249as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3250for as_dir in $PATH
3251do
3252  IFS=$as_save_IFS
3253  test -z "$as_dir" && as_dir=.
3254    for ac_exec_ext in '' $ac_executable_extensions; do
3255  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3256    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3257    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258    break 2
3259  fi
3260done
3261  done
3262IFS=$as_save_IFS
3263
3264fi
3265fi
3266CC=$ac_cv_prog_CC
3267if test -n "$CC"; then
3268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3269$as_echo "$CC" >&6; }
3270else
3271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272$as_echo "no" >&6; }
3273fi
3274
3275
3276fi
3277if test -z "$ac_cv_prog_CC"; then
3278  ac_ct_CC=$CC
3279  # Extract the first word of "gcc", so it can be a program name with args.
3280set dummy gcc; ac_word=$2
3281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3282$as_echo_n "checking for $ac_word... " >&6; }
3283if ${ac_cv_prog_ac_ct_CC+:} false; then :
3284  $as_echo_n "(cached) " >&6
3285else
3286  if test -n "$ac_ct_CC"; then
3287  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3288else
3289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3290for as_dir in $PATH
3291do
3292  IFS=$as_save_IFS
3293  test -z "$as_dir" && as_dir=.
3294    for ac_exec_ext in '' $ac_executable_extensions; do
3295  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3296    ac_cv_prog_ac_ct_CC="gcc"
3297    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3298    break 2
3299  fi
3300done
3301  done
3302IFS=$as_save_IFS
3303
3304fi
3305fi
3306ac_ct_CC=$ac_cv_prog_ac_ct_CC
3307if test -n "$ac_ct_CC"; then
3308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3309$as_echo "$ac_ct_CC" >&6; }
3310else
3311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3312$as_echo "no" >&6; }
3313fi
3314
3315  if test "x$ac_ct_CC" = x; then
3316    CC=""
3317  else
3318    case $cross_compiling:$ac_tool_warned in
3319yes:)
3320{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3321$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3322ac_tool_warned=yes ;;
3323esac
3324    CC=$ac_ct_CC
3325  fi
3326else
3327  CC="$ac_cv_prog_CC"
3328fi
3329
3330if test -z "$CC"; then
3331          if test -n "$ac_tool_prefix"; then
3332    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3333set dummy ${ac_tool_prefix}cc; ac_word=$2
3334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3335$as_echo_n "checking for $ac_word... " >&6; }
3336if ${ac_cv_prog_CC+:} false; then :
3337  $as_echo_n "(cached) " >&6
3338else
3339  if test -n "$CC"; then
3340  ac_cv_prog_CC="$CC" # Let the user override the test.
3341else
3342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3343for as_dir in $PATH
3344do
3345  IFS=$as_save_IFS
3346  test -z "$as_dir" && as_dir=.
3347    for ac_exec_ext in '' $ac_executable_extensions; do
3348  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3349    ac_cv_prog_CC="${ac_tool_prefix}cc"
3350    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3351    break 2
3352  fi
3353done
3354  done
3355IFS=$as_save_IFS
3356
3357fi
3358fi
3359CC=$ac_cv_prog_CC
3360if test -n "$CC"; then
3361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3362$as_echo "$CC" >&6; }
3363else
3364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365$as_echo "no" >&6; }
3366fi
3367
3368
3369  fi
3370fi
3371if test -z "$CC"; then
3372  # Extract the first word of "cc", so it can be a program name with args.
3373set dummy cc; ac_word=$2
3374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3375$as_echo_n "checking for $ac_word... " >&6; }
3376if ${ac_cv_prog_CC+:} false; then :
3377  $as_echo_n "(cached) " >&6
3378else
3379  if test -n "$CC"; then
3380  ac_cv_prog_CC="$CC" # Let the user override the test.
3381else
3382  ac_prog_rejected=no
3383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3384for as_dir in $PATH
3385do
3386  IFS=$as_save_IFS
3387  test -z "$as_dir" && as_dir=.
3388    for ac_exec_ext in '' $ac_executable_extensions; do
3389  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3390    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3391       ac_prog_rejected=yes
3392       continue
3393     fi
3394    ac_cv_prog_CC="cc"
3395    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3396    break 2
3397  fi
3398done
3399  done
3400IFS=$as_save_IFS
3401
3402if test $ac_prog_rejected = yes; then
3403  # We found a bogon in the path, so make sure we never use it.
3404  set dummy $ac_cv_prog_CC
3405  shift
3406  if test $# != 0; then
3407    # We chose a different compiler from the bogus one.
3408    # However, it has the same basename, so the bogon will be chosen
3409    # first if we set CC to just the basename; use the full file name.
3410    shift
3411    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3412  fi
3413fi
3414fi
3415fi
3416CC=$ac_cv_prog_CC
3417if test -n "$CC"; then
3418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3419$as_echo "$CC" >&6; }
3420else
3421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422$as_echo "no" >&6; }
3423fi
3424
3425
3426fi
3427if test -z "$CC"; then
3428  if test -n "$ac_tool_prefix"; then
3429  for ac_prog in cl.exe
3430  do
3431    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3432set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3434$as_echo_n "checking for $ac_word... " >&6; }
3435if ${ac_cv_prog_CC+:} false; then :
3436  $as_echo_n "(cached) " >&6
3437else
3438  if test -n "$CC"; then
3439  ac_cv_prog_CC="$CC" # Let the user override the test.
3440else
3441as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442for as_dir in $PATH
3443do
3444  IFS=$as_save_IFS
3445  test -z "$as_dir" && as_dir=.
3446    for ac_exec_ext in '' $ac_executable_extensions; do
3447  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3448    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3449    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3450    break 2
3451  fi
3452done
3453  done
3454IFS=$as_save_IFS
3455
3456fi
3457fi
3458CC=$ac_cv_prog_CC
3459if test -n "$CC"; then
3460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3461$as_echo "$CC" >&6; }
3462else
3463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3464$as_echo "no" >&6; }
3465fi
3466
3467
3468    test -n "$CC" && break
3469  done
3470fi
3471if test -z "$CC"; then
3472  ac_ct_CC=$CC
3473  for ac_prog in cl.exe
3474do
3475  # Extract the first word of "$ac_prog", so it can be a program name with args.
3476set dummy $ac_prog; ac_word=$2
3477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3478$as_echo_n "checking for $ac_word... " >&6; }
3479if ${ac_cv_prog_ac_ct_CC+:} false; then :
3480  $as_echo_n "(cached) " >&6
3481else
3482  if test -n "$ac_ct_CC"; then
3483  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3484else
3485as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486for as_dir in $PATH
3487do
3488  IFS=$as_save_IFS
3489  test -z "$as_dir" && as_dir=.
3490    for ac_exec_ext in '' $ac_executable_extensions; do
3491  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3492    ac_cv_prog_ac_ct_CC="$ac_prog"
3493    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3494    break 2
3495  fi
3496done
3497  done
3498IFS=$as_save_IFS
3499
3500fi
3501fi
3502ac_ct_CC=$ac_cv_prog_ac_ct_CC
3503if test -n "$ac_ct_CC"; then
3504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3505$as_echo "$ac_ct_CC" >&6; }
3506else
3507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3508$as_echo "no" >&6; }
3509fi
3510
3511
3512  test -n "$ac_ct_CC" && break
3513done
3514
3515  if test "x$ac_ct_CC" = x; then
3516    CC=""
3517  else
3518    case $cross_compiling:$ac_tool_warned in
3519yes:)
3520{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3521$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3522ac_tool_warned=yes ;;
3523esac
3524    CC=$ac_ct_CC
3525  fi
3526fi
3527
3528fi
3529
3530
3531test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3532$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3533as_fn_error $? "no acceptable C compiler found in \$PATH
3534See \`config.log' for more details" "$LINENO" 5; }
3535
3536# Provide some information about the compiler.
3537$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3538set X $ac_compile
3539ac_compiler=$2
3540for ac_option in --version -v -V -qversion; do
3541  { { ac_try="$ac_compiler $ac_option >&5"
3542case "(($ac_try" in
3543  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3544  *) ac_try_echo=$ac_try;;
3545esac
3546eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3547$as_echo "$ac_try_echo"; } >&5
3548  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3549  ac_status=$?
3550  if test -s conftest.err; then
3551    sed '10a\
3552... rest of stderr output deleted ...
3553         10q' conftest.err >conftest.er1
3554    cat conftest.er1 >&5
3555  fi
3556  rm -f conftest.er1 conftest.err
3557  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3558  test $ac_status = 0; }
3559done
3560
3561cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562/* end confdefs.h.  */
3563
3564int
3565main ()
3566{
3567
3568  ;
3569  return 0;
3570}
3571_ACEOF
3572ac_clean_files_save=$ac_clean_files
3573ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3574# Try to create an executable without -o first, disregard a.out.
3575# It will help us diagnose broken compilers, and finding out an intuition
3576# of exeext.
3577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3578$as_echo_n "checking whether the C compiler works... " >&6; }
3579ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3580
3581# The possible output files:
3582ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3583
3584ac_rmfiles=
3585for ac_file in $ac_files
3586do
3587  case $ac_file in
3588    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3589    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3590  esac
3591done
3592rm -f $ac_rmfiles
3593
3594if { { ac_try="$ac_link_default"
3595case "(($ac_try" in
3596  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597  *) ac_try_echo=$ac_try;;
3598esac
3599eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3600$as_echo "$ac_try_echo"; } >&5
3601  (eval "$ac_link_default") 2>&5
3602  ac_status=$?
3603  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3604  test $ac_status = 0; }; then :
3605  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3606# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3607# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3608# so that the user can short-circuit this test for compilers unknown to
3609# Autoconf.
3610for ac_file in $ac_files ''
3611do
3612  test -f "$ac_file" || continue
3613  case $ac_file in
3614    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3615	;;
3616    [ab].out )
3617	# We found the default executable, but exeext='' is most
3618	# certainly right.
3619	break;;
3620    *.* )
3621	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3622	then :; else
3623	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3624	fi
3625	# We set ac_cv_exeext here because the later test for it is not
3626	# safe: cross compilers may not add the suffix if given an `-o'
3627	# argument, so we may need to know it at that point already.
3628	# Even if this section looks crufty: it has the advantage of
3629	# actually working.
3630	break;;
3631    * )
3632	break;;
3633  esac
3634done
3635test "$ac_cv_exeext" = no && ac_cv_exeext=
3636
3637else
3638  ac_file=''
3639fi
3640if test -z "$ac_file"; then :
3641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642$as_echo "no" >&6; }
3643$as_echo "$as_me: failed program was:" >&5
3644sed 's/^/| /' conftest.$ac_ext >&5
3645
3646{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3647$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3648as_fn_error 77 "C compiler cannot create executables
3649See \`config.log' for more details" "$LINENO" 5; }
3650else
3651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3652$as_echo "yes" >&6; }
3653fi
3654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3655$as_echo_n "checking for C compiler default output file name... " >&6; }
3656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3657$as_echo "$ac_file" >&6; }
3658ac_exeext=$ac_cv_exeext
3659
3660rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3661ac_clean_files=$ac_clean_files_save
3662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3663$as_echo_n "checking for suffix of executables... " >&6; }
3664if { { ac_try="$ac_link"
3665case "(($ac_try" in
3666  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3667  *) ac_try_echo=$ac_try;;
3668esac
3669eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3670$as_echo "$ac_try_echo"; } >&5
3671  (eval "$ac_link") 2>&5
3672  ac_status=$?
3673  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3674  test $ac_status = 0; }; then :
3675  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3676# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3677# work properly (i.e., refer to `conftest.exe'), while it won't with
3678# `rm'.
3679for ac_file in conftest.exe conftest conftest.*; do
3680  test -f "$ac_file" || continue
3681  case $ac_file in
3682    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3683    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3684	  break;;
3685    * ) break;;
3686  esac
3687done
3688else
3689  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3690$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3691as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3692See \`config.log' for more details" "$LINENO" 5; }
3693fi
3694rm -f conftest conftest$ac_cv_exeext
3695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3696$as_echo "$ac_cv_exeext" >&6; }
3697
3698rm -f conftest.$ac_ext
3699EXEEXT=$ac_cv_exeext
3700ac_exeext=$EXEEXT
3701cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702/* end confdefs.h.  */
3703#include <stdio.h>
3704int
3705main ()
3706{
3707FILE *f = fopen ("conftest.out", "w");
3708 return ferror (f) || fclose (f) != 0;
3709
3710  ;
3711  return 0;
3712}
3713_ACEOF
3714ac_clean_files="$ac_clean_files conftest.out"
3715# Check that the compiler produces executables we can run.  If not, either
3716# the compiler is broken, or we cross compile.
3717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3718$as_echo_n "checking whether we are cross compiling... " >&6; }
3719if test "$cross_compiling" != yes; then
3720  { { ac_try="$ac_link"
3721case "(($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_link") 2>&5
3728  ac_status=$?
3729  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3730  test $ac_status = 0; }
3731  if { ac_try='./conftest$ac_cv_exeext'
3732  { { case "(($ac_try" in
3733  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3734  *) ac_try_echo=$ac_try;;
3735esac
3736eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3737$as_echo "$ac_try_echo"; } >&5
3738  (eval "$ac_try") 2>&5
3739  ac_status=$?
3740  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3741  test $ac_status = 0; }; }; then
3742    cross_compiling=no
3743  else
3744    if test "$cross_compiling" = maybe; then
3745	cross_compiling=yes
3746    else
3747	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3748$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3749as_fn_error $? "cannot run C compiled programs.
3750If you meant to cross compile, use \`--host'.
3751See \`config.log' for more details" "$LINENO" 5; }
3752    fi
3753  fi
3754fi
3755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3756$as_echo "$cross_compiling" >&6; }
3757
3758rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3759ac_clean_files=$ac_clean_files_save
3760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3761$as_echo_n "checking for suffix of object files... " >&6; }
3762if ${ac_cv_objext+:} false; then :
3763  $as_echo_n "(cached) " >&6
3764else
3765  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3766/* end confdefs.h.  */
3767
3768int
3769main ()
3770{
3771
3772  ;
3773  return 0;
3774}
3775_ACEOF
3776rm -f conftest.o conftest.obj
3777if { { ac_try="$ac_compile"
3778case "(($ac_try" in
3779  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3780  *) ac_try_echo=$ac_try;;
3781esac
3782eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3783$as_echo "$ac_try_echo"; } >&5
3784  (eval "$ac_compile") 2>&5
3785  ac_status=$?
3786  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3787  test $ac_status = 0; }; then :
3788  for ac_file in conftest.o conftest.obj conftest.*; do
3789  test -f "$ac_file" || continue;
3790  case $ac_file in
3791    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3792    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3793       break;;
3794  esac
3795done
3796else
3797  $as_echo "$as_me: failed program was:" >&5
3798sed 's/^/| /' conftest.$ac_ext >&5
3799
3800{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3801$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3802as_fn_error $? "cannot compute suffix of object files: cannot compile
3803See \`config.log' for more details" "$LINENO" 5; }
3804fi
3805rm -f conftest.$ac_cv_objext conftest.$ac_ext
3806fi
3807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3808$as_echo "$ac_cv_objext" >&6; }
3809OBJEXT=$ac_cv_objext
3810ac_objext=$OBJEXT
3811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3812$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3813if ${ac_cv_c_compiler_gnu+:} false; then :
3814  $as_echo_n "(cached) " >&6
3815else
3816  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3817/* end confdefs.h.  */
3818
3819int
3820main ()
3821{
3822#ifndef __GNUC__
3823       choke me
3824#endif
3825
3826  ;
3827  return 0;
3828}
3829_ACEOF
3830if ac_fn_c_try_compile "$LINENO"; then :
3831  ac_compiler_gnu=yes
3832else
3833  ac_compiler_gnu=no
3834fi
3835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3836ac_cv_c_compiler_gnu=$ac_compiler_gnu
3837
3838fi
3839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3840$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3841if test $ac_compiler_gnu = yes; then
3842  GCC=yes
3843else
3844  GCC=
3845fi
3846ac_test_CFLAGS=${CFLAGS+set}
3847ac_save_CFLAGS=$CFLAGS
3848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3849$as_echo_n "checking whether $CC accepts -g... " >&6; }
3850if ${ac_cv_prog_cc_g+:} false; then :
3851  $as_echo_n "(cached) " >&6
3852else
3853  ac_save_c_werror_flag=$ac_c_werror_flag
3854   ac_c_werror_flag=yes
3855   ac_cv_prog_cc_g=no
3856   CFLAGS="-g"
3857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858/* end confdefs.h.  */
3859
3860int
3861main ()
3862{
3863
3864  ;
3865  return 0;
3866}
3867_ACEOF
3868if ac_fn_c_try_compile "$LINENO"; then :
3869  ac_cv_prog_cc_g=yes
3870else
3871  CFLAGS=""
3872      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873/* end confdefs.h.  */
3874
3875int
3876main ()
3877{
3878
3879  ;
3880  return 0;
3881}
3882_ACEOF
3883if ac_fn_c_try_compile "$LINENO"; then :
3884
3885else
3886  ac_c_werror_flag=$ac_save_c_werror_flag
3887	 CFLAGS="-g"
3888	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3889/* end confdefs.h.  */
3890
3891int
3892main ()
3893{
3894
3895  ;
3896  return 0;
3897}
3898_ACEOF
3899if ac_fn_c_try_compile "$LINENO"; then :
3900  ac_cv_prog_cc_g=yes
3901fi
3902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3903fi
3904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3905fi
3906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3907   ac_c_werror_flag=$ac_save_c_werror_flag
3908fi
3909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3910$as_echo "$ac_cv_prog_cc_g" >&6; }
3911if test "$ac_test_CFLAGS" = set; then
3912  CFLAGS=$ac_save_CFLAGS
3913elif test $ac_cv_prog_cc_g = yes; then
3914  if test "$GCC" = yes; then
3915    CFLAGS="-g -O2"
3916  else
3917    CFLAGS="-g"
3918  fi
3919else
3920  if test "$GCC" = yes; then
3921    CFLAGS="-O2"
3922  else
3923    CFLAGS=
3924  fi
3925fi
3926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3927$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3928if ${ac_cv_prog_cc_c89+:} false; then :
3929  $as_echo_n "(cached) " >&6
3930else
3931  ac_cv_prog_cc_c89=no
3932ac_save_CC=$CC
3933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934/* end confdefs.h.  */
3935#include <stdarg.h>
3936#include <stdio.h>
3937struct stat;
3938/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3939struct buf { int x; };
3940FILE * (*rcsopen) (struct buf *, struct stat *, int);
3941static char *e (p, i)
3942     char **p;
3943     int i;
3944{
3945  return p[i];
3946}
3947static char *f (char * (*g) (char **, int), char **p, ...)
3948{
3949  char *s;
3950  va_list v;
3951  va_start (v,p);
3952  s = g (p, va_arg (v,int));
3953  va_end (v);
3954  return s;
3955}
3956
3957/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3958   function prototypes and stuff, but not '\xHH' hex character constants.
3959   These don't provoke an error unfortunately, instead are silently treated
3960   as 'x'.  The following induces an error, until -std is added to get
3961   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3962   array size at least.  It's necessary to write '\x00'==0 to get something
3963   that's true only with -std.  */
3964int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3965
3966/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3967   inside strings and character constants.  */
3968#define FOO(x) 'x'
3969int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3970
3971int test (int i, double x);
3972struct s1 {int (*f) (int a);};
3973struct s2 {int (*f) (double a);};
3974int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3975int argc;
3976char **argv;
3977int
3978main ()
3979{
3980return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3981  ;
3982  return 0;
3983}
3984_ACEOF
3985for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3986	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3987do
3988  CC="$ac_save_CC $ac_arg"
3989  if ac_fn_c_try_compile "$LINENO"; then :
3990  ac_cv_prog_cc_c89=$ac_arg
3991fi
3992rm -f core conftest.err conftest.$ac_objext
3993  test "x$ac_cv_prog_cc_c89" != "xno" && break
3994done
3995rm -f conftest.$ac_ext
3996CC=$ac_save_CC
3997
3998fi
3999# AC_CACHE_VAL
4000case "x$ac_cv_prog_cc_c89" in
4001  x)
4002    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4003$as_echo "none needed" >&6; } ;;
4004  xno)
4005    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4006$as_echo "unsupported" >&6; } ;;
4007  *)
4008    CC="$CC $ac_cv_prog_cc_c89"
4009    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4010$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4011esac
4012if test "x$ac_cv_prog_cc_c89" != xno; then :
4013
4014fi
4015
4016ac_ext=c
4017ac_cpp='$CPP $CPPFLAGS'
4018ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4019ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4020ac_compiler_gnu=$ac_cv_c_compiler_gnu
4021
4022ac_ext=c
4023ac_cpp='$CPP $CPPFLAGS'
4024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4025ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4026ac_compiler_gnu=$ac_cv_c_compiler_gnu
4027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4028$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4029if ${am_cv_prog_cc_c_o+:} false; then :
4030  $as_echo_n "(cached) " >&6
4031else
4032  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4033/* end confdefs.h.  */
4034
4035int
4036main ()
4037{
4038
4039  ;
4040  return 0;
4041}
4042_ACEOF
4043  # Make sure it works both with $CC and with simple cc.
4044  # Following AC_PROG_CC_C_O, we do the test twice because some
4045  # compilers refuse to overwrite an existing .o file with -o,
4046  # though they will create one.
4047  am_cv_prog_cc_c_o=yes
4048  for am_i in 1 2; do
4049    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4050   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4051   ac_status=$?
4052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053   (exit $ac_status); } \
4054         && test -f conftest2.$ac_objext; then
4055      : OK
4056    else
4057      am_cv_prog_cc_c_o=no
4058      break
4059    fi
4060  done
4061  rm -f core conftest*
4062  unset am_i
4063fi
4064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4065$as_echo "$am_cv_prog_cc_c_o" >&6; }
4066if test "$am_cv_prog_cc_c_o" != yes; then
4067   # Losing compiler, so override with the script.
4068   # FIXME: It is wrong to rewrite CC.
4069   # But if we don't then we get into trouble of one sort or another.
4070   # A longer-term fix would be to have automake use am__CC in this case,
4071   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4072   CC="$am_aux_dir/compile $CC"
4073fi
4074ac_ext=c
4075ac_cpp='$CPP $CPPFLAGS'
4076ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4077ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4078ac_compiler_gnu=$ac_cv_c_compiler_gnu
4079
4080
4081depcc="$CC"   am_compiler_list=
4082
4083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4084$as_echo_n "checking dependency style of $depcc... " >&6; }
4085if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4086  $as_echo_n "(cached) " >&6
4087else
4088  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4089  # We make a subdir and do the tests there.  Otherwise we can end up
4090  # making bogus files that we don't know about and never remove.  For
4091  # instance it was reported that on HP-UX the gcc test will end up
4092  # making a dummy file named 'D' -- because '-MD' means "put the output
4093  # in D".
4094  rm -rf conftest.dir
4095  mkdir conftest.dir
4096  # Copy depcomp to subdir because otherwise we won't find it if we're
4097  # using a relative directory.
4098  cp "$am_depcomp" conftest.dir
4099  cd conftest.dir
4100  # We will build objects and dependencies in a subdirectory because
4101  # it helps to detect inapplicable dependency modes.  For instance
4102  # both Tru64's cc and ICC support -MD to output dependencies as a
4103  # side effect of compilation, but ICC will put the dependencies in
4104  # the current directory while Tru64 will put them in the object
4105  # directory.
4106  mkdir sub
4107
4108  am_cv_CC_dependencies_compiler_type=none
4109  if test "$am_compiler_list" = ""; then
4110     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4111  fi
4112  am__universal=false
4113  case " $depcc " in #(
4114     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4115     esac
4116
4117  for depmode in $am_compiler_list; do
4118    # Setup a source with many dependencies, because some compilers
4119    # like to wrap large dependency lists on column 80 (with \), and
4120    # we should not choose a depcomp mode which is confused by this.
4121    #
4122    # We need to recreate these files for each test, as the compiler may
4123    # overwrite some of them when testing with obscure command lines.
4124    # This happens at least with the AIX C compiler.
4125    : > sub/conftest.c
4126    for i in 1 2 3 4 5 6; do
4127      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4128      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4129      # Solaris 10 /bin/sh.
4130      echo '/* dummy */' > sub/conftst$i.h
4131    done
4132    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4133
4134    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4135    # mode.  It turns out that the SunPro C++ compiler does not properly
4136    # handle '-M -o', and we need to detect this.  Also, some Intel
4137    # versions had trouble with output in subdirs.
4138    am__obj=sub/conftest.${OBJEXT-o}
4139    am__minus_obj="-o $am__obj"
4140    case $depmode in
4141    gcc)
4142      # This depmode causes a compiler race in universal mode.
4143      test "$am__universal" = false || continue
4144      ;;
4145    nosideeffect)
4146      # After this tag, mechanisms are not by side-effect, so they'll
4147      # only be used when explicitly requested.
4148      if test "x$enable_dependency_tracking" = xyes; then
4149	continue
4150      else
4151	break
4152      fi
4153      ;;
4154    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4155      # This compiler won't grok '-c -o', but also, the minuso test has
4156      # not run yet.  These depmodes are late enough in the game, and
4157      # so weak that their functioning should not be impacted.
4158      am__obj=conftest.${OBJEXT-o}
4159      am__minus_obj=
4160      ;;
4161    none) break ;;
4162    esac
4163    if depmode=$depmode \
4164       source=sub/conftest.c object=$am__obj \
4165       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4166       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4167         >/dev/null 2>conftest.err &&
4168       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4169       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4170       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4171       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4172      # icc doesn't choke on unknown options, it will just issue warnings
4173      # or remarks (even with -Werror).  So we grep stderr for any message
4174      # that says an option was ignored or not supported.
4175      # When given -MP, icc 7.0 and 7.1 complain thusly:
4176      #   icc: Command line warning: ignoring option '-M'; no argument required
4177      # The diagnosis changed in icc 8.0:
4178      #   icc: Command line remark: option '-MP' not supported
4179      if (grep 'ignoring option' conftest.err ||
4180          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4181        am_cv_CC_dependencies_compiler_type=$depmode
4182        break
4183      fi
4184    fi
4185  done
4186
4187  cd ..
4188  rm -rf conftest.dir
4189else
4190  am_cv_CC_dependencies_compiler_type=none
4191fi
4192
4193fi
4194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4195$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4196CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4197
4198 if
4199  test "x$enable_dependency_tracking" != xno \
4200  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4201  am__fastdepCC_TRUE=
4202  am__fastdepCC_FALSE='#'
4203else
4204  am__fastdepCC_TRUE='#'
4205  am__fastdepCC_FALSE=
4206fi
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216    # Check whether --enable-compile-warnings was given.
4217if test "${enable_compile_warnings+set}" = set; then :
4218  enableval=$enable_compile_warnings;
4219else
4220  enable_compile_warnings="yes"
4221fi
4222
4223
4224    ac_ext=c
4225ac_cpp='$CPP $CPPFLAGS'
4226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4228ac_compiler_gnu=$ac_cv_c_compiler_gnu
4229
4230
4231    case "$enable_compile_warnings" in
4232    no)
4233	warning_flags=
4234	;;
4235    minimum)
4236	warning_flags="-Wall"
4237	;;
4238    yes)
4239	warning_flags="-Wall -Wmissing-prototypes"
4240	;;
4241    maximum|error)
4242	warning_flags="-Wall -Wmissing-prototypes -Wbad-function-cast -Wcast-align -Wextra -Wno-unused-parameter -Wformat-nonliteral -Wmissing-declarations -Wmissing-field-initializers -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Werror=format-security"
4243	if test "$enable_compile_warnings" = "error" ; then
4244	    warning_flags="$warning_flags -Werror"
4245	fi
4246	;;
4247    *)
4248	as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
4249	;;
4250    esac
4251
4252    # Always pass -Werror=unknown-warning-option to get Clang to fail on bad
4253    # flags, otherwise they are always appended to the warn_cflags variable, and
4254    # Clang warns on them for every compilation unit.
4255    # If this is passed to GCC, it will explode, so the flag must be enabled
4256    # conditionally.
4257    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5
4258$as_echo_n "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; }
4259if ${ax_cv_check_cflags___Werror_unknown_warning_option+:} false; then :
4260  $as_echo_n "(cached) " >&6
4261else
4262
4263  ax_check_save_flags=$CFLAGS
4264  CFLAGS="$CFLAGS  -Werror=unknown-warning-option"
4265  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4266/* end confdefs.h.  */
4267
4268int
4269main ()
4270{
4271
4272  ;
4273  return 0;
4274}
4275_ACEOF
4276if ac_fn_c_try_compile "$LINENO"; then :
4277  ax_cv_check_cflags___Werror_unknown_warning_option=yes
4278else
4279  ax_cv_check_cflags___Werror_unknown_warning_option=no
4280fi
4281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4282  CFLAGS=$ax_check_save_flags
4283fi
4284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5
4285$as_echo "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; }
4286if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes; then :
4287
4288        compiler_flags_test="-Werror=unknown-warning-option"
4289
4290else
4291
4292        compiler_flags_test=""
4293
4294fi
4295
4296
4297    for flag in $warning_flags; do
4298         as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$compiler_flags_test_$flag" | $as_tr_sh`
4299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
4300$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
4301if eval \${$as_CACHEVAR+:} false; then :
4302  $as_echo_n "(cached) " >&6
4303else
4304
4305  ax_check_save_flags=$CFLAGS
4306  CFLAGS="$CFLAGS $compiler_flags_test $flag"
4307  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4308/* end confdefs.h.  */
4309
4310int
4311main ()
4312{
4313
4314  ;
4315  return 0;
4316}
4317_ACEOF
4318if ac_fn_c_try_compile "$LINENO"; then :
4319  eval "$as_CACHEVAR=yes"
4320else
4321  eval "$as_CACHEVAR=no"
4322fi
4323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4324  CFLAGS=$ax_check_save_flags
4325fi
4326eval ac_res=\$$as_CACHEVAR
4327	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4328$as_echo "$ac_res" >&6; }
4329if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
4330
4331if ${WARN_CFLAGS+:} false; then :
4332
4333  case " $WARN_CFLAGS " in #(
4334  *" $flag "*) :
4335    { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
4336  (: WARN_CFLAGS already contains $flag) 2>&5
4337  ac_status=$?
4338  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4339  test $ac_status = 0; } ;; #(
4340  *) :
4341
4342     as_fn_append WARN_CFLAGS " $flag"
4343     { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
4344  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
4345  ac_status=$?
4346  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4347  test $ac_status = 0; }
4348     ;;
4349esac
4350
4351else
4352
4353  WARN_CFLAGS=$flag
4354  { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
4355  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
4356  ac_status=$?
4357  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4358  test $ac_status = 0; }
4359
4360fi
4361
4362else
4363  :
4364fi
4365
4366    done
4367
4368    { $as_echo "$as_me:${as_lineno-$LINENO}: checking flags to pass to the C compiler $CC" >&5
4369$as_echo_n "checking flags to pass to the C compiler $CC... " >&6; }
4370    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS}" >&5
4371$as_echo "${WARN_CFLAGS}" >&6; }
4372
4373    ac_ext=c
4374ac_cpp='$CPP $CPPFLAGS'
4375ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4376ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4377ac_compiler_gnu=$ac_cv_c_compiler_gnu
4378
4379
4380
4381
4382# Checks for required programs.
4383ac_ext=c
4384ac_cpp='$CPP $CPPFLAGS'
4385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4387ac_compiler_gnu=$ac_cv_c_compiler_gnu
4388if test -n "$ac_tool_prefix"; then
4389  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4390set dummy ${ac_tool_prefix}gcc; ac_word=$2
4391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392$as_echo_n "checking for $ac_word... " >&6; }
4393if ${ac_cv_prog_CC+:} false; then :
4394  $as_echo_n "(cached) " >&6
4395else
4396  if test -n "$CC"; then
4397  ac_cv_prog_CC="$CC" # Let the user override the test.
4398else
4399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4400for as_dir in $PATH
4401do
4402  IFS=$as_save_IFS
4403  test -z "$as_dir" && as_dir=.
4404    for ac_exec_ext in '' $ac_executable_extensions; do
4405  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4406    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4407    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4408    break 2
4409  fi
4410done
4411  done
4412IFS=$as_save_IFS
4413
4414fi
4415fi
4416CC=$ac_cv_prog_CC
4417if test -n "$CC"; then
4418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4419$as_echo "$CC" >&6; }
4420else
4421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422$as_echo "no" >&6; }
4423fi
4424
4425
4426fi
4427if test -z "$ac_cv_prog_CC"; then
4428  ac_ct_CC=$CC
4429  # Extract the first word of "gcc", so it can be a program name with args.
4430set dummy gcc; ac_word=$2
4431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4432$as_echo_n "checking for $ac_word... " >&6; }
4433if ${ac_cv_prog_ac_ct_CC+:} false; then :
4434  $as_echo_n "(cached) " >&6
4435else
4436  if test -n "$ac_ct_CC"; then
4437  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4438else
4439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440for as_dir in $PATH
4441do
4442  IFS=$as_save_IFS
4443  test -z "$as_dir" && as_dir=.
4444    for ac_exec_ext in '' $ac_executable_extensions; do
4445  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4446    ac_cv_prog_ac_ct_CC="gcc"
4447    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4448    break 2
4449  fi
4450done
4451  done
4452IFS=$as_save_IFS
4453
4454fi
4455fi
4456ac_ct_CC=$ac_cv_prog_ac_ct_CC
4457if test -n "$ac_ct_CC"; then
4458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4459$as_echo "$ac_ct_CC" >&6; }
4460else
4461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462$as_echo "no" >&6; }
4463fi
4464
4465  if test "x$ac_ct_CC" = x; then
4466    CC=""
4467  else
4468    case $cross_compiling:$ac_tool_warned in
4469yes:)
4470{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4471$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4472ac_tool_warned=yes ;;
4473esac
4474    CC=$ac_ct_CC
4475  fi
4476else
4477  CC="$ac_cv_prog_CC"
4478fi
4479
4480if test -z "$CC"; then
4481          if test -n "$ac_tool_prefix"; then
4482    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4483set dummy ${ac_tool_prefix}cc; ac_word=$2
4484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4485$as_echo_n "checking for $ac_word... " >&6; }
4486if ${ac_cv_prog_CC+:} false; then :
4487  $as_echo_n "(cached) " >&6
4488else
4489  if test -n "$CC"; then
4490  ac_cv_prog_CC="$CC" # Let the user override the test.
4491else
4492as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4493for as_dir in $PATH
4494do
4495  IFS=$as_save_IFS
4496  test -z "$as_dir" && as_dir=.
4497    for ac_exec_ext in '' $ac_executable_extensions; do
4498  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4499    ac_cv_prog_CC="${ac_tool_prefix}cc"
4500    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4501    break 2
4502  fi
4503done
4504  done
4505IFS=$as_save_IFS
4506
4507fi
4508fi
4509CC=$ac_cv_prog_CC
4510if test -n "$CC"; then
4511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4512$as_echo "$CC" >&6; }
4513else
4514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4515$as_echo "no" >&6; }
4516fi
4517
4518
4519  fi
4520fi
4521if test -z "$CC"; then
4522  # Extract the first word of "cc", so it can be a program name with args.
4523set dummy cc; ac_word=$2
4524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525$as_echo_n "checking for $ac_word... " >&6; }
4526if ${ac_cv_prog_CC+:} false; then :
4527  $as_echo_n "(cached) " >&6
4528else
4529  if test -n "$CC"; then
4530  ac_cv_prog_CC="$CC" # Let the user override the test.
4531else
4532  ac_prog_rejected=no
4533as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4534for as_dir in $PATH
4535do
4536  IFS=$as_save_IFS
4537  test -z "$as_dir" && as_dir=.
4538    for ac_exec_ext in '' $ac_executable_extensions; do
4539  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4540    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4541       ac_prog_rejected=yes
4542       continue
4543     fi
4544    ac_cv_prog_CC="cc"
4545    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4546    break 2
4547  fi
4548done
4549  done
4550IFS=$as_save_IFS
4551
4552if test $ac_prog_rejected = yes; then
4553  # We found a bogon in the path, so make sure we never use it.
4554  set dummy $ac_cv_prog_CC
4555  shift
4556  if test $# != 0; then
4557    # We chose a different compiler from the bogus one.
4558    # However, it has the same basename, so the bogon will be chosen
4559    # first if we set CC to just the basename; use the full file name.
4560    shift
4561    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4562  fi
4563fi
4564fi
4565fi
4566CC=$ac_cv_prog_CC
4567if test -n "$CC"; then
4568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4569$as_echo "$CC" >&6; }
4570else
4571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572$as_echo "no" >&6; }
4573fi
4574
4575
4576fi
4577if test -z "$CC"; then
4578  if test -n "$ac_tool_prefix"; then
4579  for ac_prog in cl.exe
4580  do
4581    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4582set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4584$as_echo_n "checking for $ac_word... " >&6; }
4585if ${ac_cv_prog_CC+:} false; then :
4586  $as_echo_n "(cached) " >&6
4587else
4588  if test -n "$CC"; then
4589  ac_cv_prog_CC="$CC" # Let the user override the test.
4590else
4591as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592for as_dir in $PATH
4593do
4594  IFS=$as_save_IFS
4595  test -z "$as_dir" && as_dir=.
4596    for ac_exec_ext in '' $ac_executable_extensions; do
4597  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4598    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4599    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4600    break 2
4601  fi
4602done
4603  done
4604IFS=$as_save_IFS
4605
4606fi
4607fi
4608CC=$ac_cv_prog_CC
4609if test -n "$CC"; then
4610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4611$as_echo "$CC" >&6; }
4612else
4613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4614$as_echo "no" >&6; }
4615fi
4616
4617
4618    test -n "$CC" && break
4619  done
4620fi
4621if test -z "$CC"; then
4622  ac_ct_CC=$CC
4623  for ac_prog in cl.exe
4624do
4625  # Extract the first word of "$ac_prog", so it can be a program name with args.
4626set dummy $ac_prog; ac_word=$2
4627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4628$as_echo_n "checking for $ac_word... " >&6; }
4629if ${ac_cv_prog_ac_ct_CC+:} false; then :
4630  $as_echo_n "(cached) " >&6
4631else
4632  if test -n "$ac_ct_CC"; then
4633  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4634else
4635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4636for as_dir in $PATH
4637do
4638  IFS=$as_save_IFS
4639  test -z "$as_dir" && as_dir=.
4640    for ac_exec_ext in '' $ac_executable_extensions; do
4641  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4642    ac_cv_prog_ac_ct_CC="$ac_prog"
4643    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4644    break 2
4645  fi
4646done
4647  done
4648IFS=$as_save_IFS
4649
4650fi
4651fi
4652ac_ct_CC=$ac_cv_prog_ac_ct_CC
4653if test -n "$ac_ct_CC"; then
4654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4655$as_echo "$ac_ct_CC" >&6; }
4656else
4657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4658$as_echo "no" >&6; }
4659fi
4660
4661
4662  test -n "$ac_ct_CC" && break
4663done
4664
4665  if test "x$ac_ct_CC" = x; then
4666    CC=""
4667  else
4668    case $cross_compiling:$ac_tool_warned in
4669yes:)
4670{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4671$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4672ac_tool_warned=yes ;;
4673esac
4674    CC=$ac_ct_CC
4675  fi
4676fi
4677
4678fi
4679
4680
4681test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4682$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4683as_fn_error $? "no acceptable C compiler found in \$PATH
4684See \`config.log' for more details" "$LINENO" 5; }
4685
4686# Provide some information about the compiler.
4687$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4688set X $ac_compile
4689ac_compiler=$2
4690for ac_option in --version -v -V -qversion; do
4691  { { ac_try="$ac_compiler $ac_option >&5"
4692case "(($ac_try" in
4693  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4694  *) ac_try_echo=$ac_try;;
4695esac
4696eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4697$as_echo "$ac_try_echo"; } >&5
4698  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4699  ac_status=$?
4700  if test -s conftest.err; then
4701    sed '10a\
4702... rest of stderr output deleted ...
4703         10q' conftest.err >conftest.er1
4704    cat conftest.er1 >&5
4705  fi
4706  rm -f conftest.er1 conftest.err
4707  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4708  test $ac_status = 0; }
4709done
4710
4711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4712$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4713if ${ac_cv_c_compiler_gnu+:} false; then :
4714  $as_echo_n "(cached) " >&6
4715else
4716  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4717/* end confdefs.h.  */
4718
4719int
4720main ()
4721{
4722#ifndef __GNUC__
4723       choke me
4724#endif
4725
4726  ;
4727  return 0;
4728}
4729_ACEOF
4730if ac_fn_c_try_compile "$LINENO"; then :
4731  ac_compiler_gnu=yes
4732else
4733  ac_compiler_gnu=no
4734fi
4735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4736ac_cv_c_compiler_gnu=$ac_compiler_gnu
4737
4738fi
4739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4740$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4741if test $ac_compiler_gnu = yes; then
4742  GCC=yes
4743else
4744  GCC=
4745fi
4746ac_test_CFLAGS=${CFLAGS+set}
4747ac_save_CFLAGS=$CFLAGS
4748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4749$as_echo_n "checking whether $CC accepts -g... " >&6; }
4750if ${ac_cv_prog_cc_g+:} false; then :
4751  $as_echo_n "(cached) " >&6
4752else
4753  ac_save_c_werror_flag=$ac_c_werror_flag
4754   ac_c_werror_flag=yes
4755   ac_cv_prog_cc_g=no
4756   CFLAGS="-g"
4757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4758/* end confdefs.h.  */
4759
4760int
4761main ()
4762{
4763
4764  ;
4765  return 0;
4766}
4767_ACEOF
4768if ac_fn_c_try_compile "$LINENO"; then :
4769  ac_cv_prog_cc_g=yes
4770else
4771  CFLAGS=""
4772      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773/* end confdefs.h.  */
4774
4775int
4776main ()
4777{
4778
4779  ;
4780  return 0;
4781}
4782_ACEOF
4783if ac_fn_c_try_compile "$LINENO"; then :
4784
4785else
4786  ac_c_werror_flag=$ac_save_c_werror_flag
4787	 CFLAGS="-g"
4788	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4789/* end confdefs.h.  */
4790
4791int
4792main ()
4793{
4794
4795  ;
4796  return 0;
4797}
4798_ACEOF
4799if ac_fn_c_try_compile "$LINENO"; then :
4800  ac_cv_prog_cc_g=yes
4801fi
4802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4803fi
4804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4805fi
4806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4807   ac_c_werror_flag=$ac_save_c_werror_flag
4808fi
4809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4810$as_echo "$ac_cv_prog_cc_g" >&6; }
4811if test "$ac_test_CFLAGS" = set; then
4812  CFLAGS=$ac_save_CFLAGS
4813elif test $ac_cv_prog_cc_g = yes; then
4814  if test "$GCC" = yes; then
4815    CFLAGS="-g -O2"
4816  else
4817    CFLAGS="-g"
4818  fi
4819else
4820  if test "$GCC" = yes; then
4821    CFLAGS="-O2"
4822  else
4823    CFLAGS=
4824  fi
4825fi
4826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4827$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4828if ${ac_cv_prog_cc_c89+:} false; then :
4829  $as_echo_n "(cached) " >&6
4830else
4831  ac_cv_prog_cc_c89=no
4832ac_save_CC=$CC
4833cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4834/* end confdefs.h.  */
4835#include <stdarg.h>
4836#include <stdio.h>
4837struct stat;
4838/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4839struct buf { int x; };
4840FILE * (*rcsopen) (struct buf *, struct stat *, int);
4841static char *e (p, i)
4842     char **p;
4843     int i;
4844{
4845  return p[i];
4846}
4847static char *f (char * (*g) (char **, int), char **p, ...)
4848{
4849  char *s;
4850  va_list v;
4851  va_start (v,p);
4852  s = g (p, va_arg (v,int));
4853  va_end (v);
4854  return s;
4855}
4856
4857/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4858   function prototypes and stuff, but not '\xHH' hex character constants.
4859   These don't provoke an error unfortunately, instead are silently treated
4860   as 'x'.  The following induces an error, until -std is added to get
4861   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4862   array size at least.  It's necessary to write '\x00'==0 to get something
4863   that's true only with -std.  */
4864int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4865
4866/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4867   inside strings and character constants.  */
4868#define FOO(x) 'x'
4869int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4870
4871int test (int i, double x);
4872struct s1 {int (*f) (int a);};
4873struct s2 {int (*f) (double a);};
4874int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4875int argc;
4876char **argv;
4877int
4878main ()
4879{
4880return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4881  ;
4882  return 0;
4883}
4884_ACEOF
4885for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4886	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4887do
4888  CC="$ac_save_CC $ac_arg"
4889  if ac_fn_c_try_compile "$LINENO"; then :
4890  ac_cv_prog_cc_c89=$ac_arg
4891fi
4892rm -f core conftest.err conftest.$ac_objext
4893  test "x$ac_cv_prog_cc_c89" != "xno" && break
4894done
4895rm -f conftest.$ac_ext
4896CC=$ac_save_CC
4897
4898fi
4899# AC_CACHE_VAL
4900case "x$ac_cv_prog_cc_c89" in
4901  x)
4902    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4903$as_echo "none needed" >&6; } ;;
4904  xno)
4905    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4906$as_echo "unsupported" >&6; } ;;
4907  *)
4908    CC="$CC $ac_cv_prog_cc_c89"
4909    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4910$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4911esac
4912if test "x$ac_cv_prog_cc_c89" != xno; then :
4913
4914fi
4915
4916ac_ext=c
4917ac_cpp='$CPP $CPPFLAGS'
4918ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4919ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4920ac_compiler_gnu=$ac_cv_c_compiler_gnu
4921
4922ac_ext=c
4923ac_cpp='$CPP $CPPFLAGS'
4924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4926ac_compiler_gnu=$ac_cv_c_compiler_gnu
4927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4928$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4929if ${am_cv_prog_cc_c_o+:} false; then :
4930  $as_echo_n "(cached) " >&6
4931else
4932  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4933/* end confdefs.h.  */
4934
4935int
4936main ()
4937{
4938
4939  ;
4940  return 0;
4941}
4942_ACEOF
4943  # Make sure it works both with $CC and with simple cc.
4944  # Following AC_PROG_CC_C_O, we do the test twice because some
4945  # compilers refuse to overwrite an existing .o file with -o,
4946  # though they will create one.
4947  am_cv_prog_cc_c_o=yes
4948  for am_i in 1 2; do
4949    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4950   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4951   ac_status=$?
4952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953   (exit $ac_status); } \
4954         && test -f conftest2.$ac_objext; then
4955      : OK
4956    else
4957      am_cv_prog_cc_c_o=no
4958      break
4959    fi
4960  done
4961  rm -f core conftest*
4962  unset am_i
4963fi
4964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4965$as_echo "$am_cv_prog_cc_c_o" >&6; }
4966if test "$am_cv_prog_cc_c_o" != yes; then
4967   # Losing compiler, so override with the script.
4968   # FIXME: It is wrong to rewrite CC.
4969   # But if we don't then we get into trouble of one sort or another.
4970   # A longer-term fix would be to have automake use am__CC in this case,
4971   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4972   CC="$am_aux_dir/compile $CC"
4973fi
4974ac_ext=c
4975ac_cpp='$CPP $CPPFLAGS'
4976ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4977ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4978ac_compiler_gnu=$ac_cv_c_compiler_gnu
4979
4980
4981depcc="$CC"   am_compiler_list=
4982
4983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4984$as_echo_n "checking dependency style of $depcc... " >&6; }
4985if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4986  $as_echo_n "(cached) " >&6
4987else
4988  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4989  # We make a subdir and do the tests there.  Otherwise we can end up
4990  # making bogus files that we don't know about and never remove.  For
4991  # instance it was reported that on HP-UX the gcc test will end up
4992  # making a dummy file named 'D' -- because '-MD' means "put the output
4993  # in D".
4994  rm -rf conftest.dir
4995  mkdir conftest.dir
4996  # Copy depcomp to subdir because otherwise we won't find it if we're
4997  # using a relative directory.
4998  cp "$am_depcomp" conftest.dir
4999  cd conftest.dir
5000  # We will build objects and dependencies in a subdirectory because
5001  # it helps to detect inapplicable dependency modes.  For instance
5002  # both Tru64's cc and ICC support -MD to output dependencies as a
5003  # side effect of compilation, but ICC will put the dependencies in
5004  # the current directory while Tru64 will put them in the object
5005  # directory.
5006  mkdir sub
5007
5008  am_cv_CC_dependencies_compiler_type=none
5009  if test "$am_compiler_list" = ""; then
5010     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5011  fi
5012  am__universal=false
5013  case " $depcc " in #(
5014     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5015     esac
5016
5017  for depmode in $am_compiler_list; do
5018    # Setup a source with many dependencies, because some compilers
5019    # like to wrap large dependency lists on column 80 (with \), and
5020    # we should not choose a depcomp mode which is confused by this.
5021    #
5022    # We need to recreate these files for each test, as the compiler may
5023    # overwrite some of them when testing with obscure command lines.
5024    # This happens at least with the AIX C compiler.
5025    : > sub/conftest.c
5026    for i in 1 2 3 4 5 6; do
5027      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5028      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5029      # Solaris 10 /bin/sh.
5030      echo '/* dummy */' > sub/conftst$i.h
5031    done
5032    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5033
5034    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5035    # mode.  It turns out that the SunPro C++ compiler does not properly
5036    # handle '-M -o', and we need to detect this.  Also, some Intel
5037    # versions had trouble with output in subdirs.
5038    am__obj=sub/conftest.${OBJEXT-o}
5039    am__minus_obj="-o $am__obj"
5040    case $depmode in
5041    gcc)
5042      # This depmode causes a compiler race in universal mode.
5043      test "$am__universal" = false || continue
5044      ;;
5045    nosideeffect)
5046      # After this tag, mechanisms are not by side-effect, so they'll
5047      # only be used when explicitly requested.
5048      if test "x$enable_dependency_tracking" = xyes; then
5049	continue
5050      else
5051	break
5052      fi
5053      ;;
5054    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5055      # This compiler won't grok '-c -o', but also, the minuso test has
5056      # not run yet.  These depmodes are late enough in the game, and
5057      # so weak that their functioning should not be impacted.
5058      am__obj=conftest.${OBJEXT-o}
5059      am__minus_obj=
5060      ;;
5061    none) break ;;
5062    esac
5063    if depmode=$depmode \
5064       source=sub/conftest.c object=$am__obj \
5065       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5066       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5067         >/dev/null 2>conftest.err &&
5068       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5069       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5070       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5071       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5072      # icc doesn't choke on unknown options, it will just issue warnings
5073      # or remarks (even with -Werror).  So we grep stderr for any message
5074      # that says an option was ignored or not supported.
5075      # When given -MP, icc 7.0 and 7.1 complain thusly:
5076      #   icc: Command line warning: ignoring option '-M'; no argument required
5077      # The diagnosis changed in icc 8.0:
5078      #   icc: Command line remark: option '-MP' not supported
5079      if (grep 'ignoring option' conftest.err ||
5080          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5081        am_cv_CC_dependencies_compiler_type=$depmode
5082        break
5083      fi
5084    fi
5085  done
5086
5087  cd ..
5088  rm -rf conftest.dir
5089else
5090  am_cv_CC_dependencies_compiler_type=none
5091fi
5092
5093fi
5094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5095$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5096CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5097
5098 if
5099  test "x$enable_dependency_tracking" != xno \
5100  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5101  am__fastdepCC_TRUE=
5102  am__fastdepCC_FALSE='#'
5103else
5104  am__fastdepCC_TRUE='#'
5105  am__fastdepCC_FALSE=
5106fi
5107
5108
5109
5110
5111
5112# =======================================================================
5113# Libtool
5114# =======================================================================
5115
5116
5117case `pwd` in
5118  *\ * | *\	*)
5119    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5120$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5121esac
5122
5123
5124
5125macro_version='2.4.6'
5126macro_revision='2.4.6'
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140ltmain=$ac_aux_dir/ltmain.sh
5141
5142# Make sure we can run config.sub.
5143$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5144  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5145
5146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5147$as_echo_n "checking build system type... " >&6; }
5148if ${ac_cv_build+:} false; then :
5149  $as_echo_n "(cached) " >&6
5150else
5151  ac_build_alias=$build_alias
5152test "x$ac_build_alias" = x &&
5153  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5154test "x$ac_build_alias" = x &&
5155  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5156ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5157  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5158
5159fi
5160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5161$as_echo "$ac_cv_build" >&6; }
5162case $ac_cv_build in
5163*-*-*) ;;
5164*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5165esac
5166build=$ac_cv_build
5167ac_save_IFS=$IFS; IFS='-'
5168set x $ac_cv_build
5169shift
5170build_cpu=$1
5171build_vendor=$2
5172shift; shift
5173# Remember, the first character of IFS is used to create $*,
5174# except with old shells:
5175build_os=$*
5176IFS=$ac_save_IFS
5177case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5178
5179
5180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5181$as_echo_n "checking host system type... " >&6; }
5182if ${ac_cv_host+:} false; then :
5183  $as_echo_n "(cached) " >&6
5184else
5185  if test "x$host_alias" = x; then
5186  ac_cv_host=$ac_cv_build
5187else
5188  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5189    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5190fi
5191
5192fi
5193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5194$as_echo "$ac_cv_host" >&6; }
5195case $ac_cv_host in
5196*-*-*) ;;
5197*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5198esac
5199host=$ac_cv_host
5200ac_save_IFS=$IFS; IFS='-'
5201set x $ac_cv_host
5202shift
5203host_cpu=$1
5204host_vendor=$2
5205shift; shift
5206# Remember, the first character of IFS is used to create $*,
5207# except with old shells:
5208host_os=$*
5209IFS=$ac_save_IFS
5210case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5211
5212
5213# Backslashify metacharacters that are still active within
5214# double-quoted strings.
5215sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5216
5217# Same as above, but do not quote variable references.
5218double_quote_subst='s/\(["`\\]\)/\\\1/g'
5219
5220# Sed substitution to delay expansion of an escaped shell variable in a
5221# double_quote_subst'ed string.
5222delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5223
5224# Sed substitution to delay expansion of an escaped single quote.
5225delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5226
5227# Sed substitution to avoid accidental globbing in evaled expressions
5228no_glob_subst='s/\*/\\\*/g'
5229
5230ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5231ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5232ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5233
5234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5235$as_echo_n "checking how to print strings... " >&6; }
5236# Test print first, because it will be a builtin if present.
5237if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5238   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5239  ECHO='print -r --'
5240elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5241  ECHO='printf %s\n'
5242else
5243  # Use this function as a fallback that always works.
5244  func_fallback_echo ()
5245  {
5246    eval 'cat <<_LTECHO_EOF
5247$1
5248_LTECHO_EOF'
5249  }
5250  ECHO='func_fallback_echo'
5251fi
5252
5253# func_echo_all arg...
5254# Invoke $ECHO with all args, space-separated.
5255func_echo_all ()
5256{
5257    $ECHO ""
5258}
5259
5260case $ECHO in
5261  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5262$as_echo "printf" >&6; } ;;
5263  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5264$as_echo "print -r" >&6; } ;;
5265  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5266$as_echo "cat" >&6; } ;;
5267esac
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5283$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5284if ${ac_cv_path_SED+:} false; then :
5285  $as_echo_n "(cached) " >&6
5286else
5287            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5288     for ac_i in 1 2 3 4 5 6 7; do
5289       ac_script="$ac_script$as_nl$ac_script"
5290     done
5291     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5292     { ac_script=; unset ac_script;}
5293     if test -z "$SED"; then
5294  ac_path_SED_found=false
5295  # Loop through the user's path and test for each of PROGNAME-LIST
5296  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5297for as_dir in $PATH
5298do
5299  IFS=$as_save_IFS
5300  test -z "$as_dir" && as_dir=.
5301    for ac_prog in sed gsed; do
5302    for ac_exec_ext in '' $ac_executable_extensions; do
5303      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5304      as_fn_executable_p "$ac_path_SED" || continue
5305# Check for GNU ac_path_SED and select it if it is found.
5306  # Check for GNU $ac_path_SED
5307case `"$ac_path_SED" --version 2>&1` in
5308*GNU*)
5309  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5310*)
5311  ac_count=0
5312  $as_echo_n 0123456789 >"conftest.in"
5313  while :
5314  do
5315    cat "conftest.in" "conftest.in" >"conftest.tmp"
5316    mv "conftest.tmp" "conftest.in"
5317    cp "conftest.in" "conftest.nl"
5318    $as_echo '' >> "conftest.nl"
5319    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5320    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5321    as_fn_arith $ac_count + 1 && ac_count=$as_val
5322    if test $ac_count -gt ${ac_path_SED_max-0}; then
5323      # Best one so far, save it but keep looking for a better one
5324      ac_cv_path_SED="$ac_path_SED"
5325      ac_path_SED_max=$ac_count
5326    fi
5327    # 10*(2^10) chars as input seems more than enough
5328    test $ac_count -gt 10 && break
5329  done
5330  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5331esac
5332
5333      $ac_path_SED_found && break 3
5334    done
5335  done
5336  done
5337IFS=$as_save_IFS
5338  if test -z "$ac_cv_path_SED"; then
5339    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5340  fi
5341else
5342  ac_cv_path_SED=$SED
5343fi
5344
5345fi
5346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5347$as_echo "$ac_cv_path_SED" >&6; }
5348 SED="$ac_cv_path_SED"
5349  rm -f conftest.sed
5350
5351test -z "$SED" && SED=sed
5352Xsed="$SED -e 1s/^X//"
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5365$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5366if ${ac_cv_path_GREP+:} false; then :
5367  $as_echo_n "(cached) " >&6
5368else
5369  if test -z "$GREP"; then
5370  ac_path_GREP_found=false
5371  # Loop through the user's path and test for each of PROGNAME-LIST
5372  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5374do
5375  IFS=$as_save_IFS
5376  test -z "$as_dir" && as_dir=.
5377    for ac_prog in grep ggrep; do
5378    for ac_exec_ext in '' $ac_executable_extensions; do
5379      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5380      as_fn_executable_p "$ac_path_GREP" || continue
5381# Check for GNU ac_path_GREP and select it if it is found.
5382  # Check for GNU $ac_path_GREP
5383case `"$ac_path_GREP" --version 2>&1` in
5384*GNU*)
5385  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5386*)
5387  ac_count=0
5388  $as_echo_n 0123456789 >"conftest.in"
5389  while :
5390  do
5391    cat "conftest.in" "conftest.in" >"conftest.tmp"
5392    mv "conftest.tmp" "conftest.in"
5393    cp "conftest.in" "conftest.nl"
5394    $as_echo 'GREP' >> "conftest.nl"
5395    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5396    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5397    as_fn_arith $ac_count + 1 && ac_count=$as_val
5398    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5399      # Best one so far, save it but keep looking for a better one
5400      ac_cv_path_GREP="$ac_path_GREP"
5401      ac_path_GREP_max=$ac_count
5402    fi
5403    # 10*(2^10) chars as input seems more than enough
5404    test $ac_count -gt 10 && break
5405  done
5406  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5407esac
5408
5409      $ac_path_GREP_found && break 3
5410    done
5411  done
5412  done
5413IFS=$as_save_IFS
5414  if test -z "$ac_cv_path_GREP"; then
5415    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5416  fi
5417else
5418  ac_cv_path_GREP=$GREP
5419fi
5420
5421fi
5422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5423$as_echo "$ac_cv_path_GREP" >&6; }
5424 GREP="$ac_cv_path_GREP"
5425
5426
5427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5428$as_echo_n "checking for egrep... " >&6; }
5429if ${ac_cv_path_EGREP+:} false; then :
5430  $as_echo_n "(cached) " >&6
5431else
5432  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5433   then ac_cv_path_EGREP="$GREP -E"
5434   else
5435     if test -z "$EGREP"; then
5436  ac_path_EGREP_found=false
5437  # Loop through the user's path and test for each of PROGNAME-LIST
5438  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5440do
5441  IFS=$as_save_IFS
5442  test -z "$as_dir" && as_dir=.
5443    for ac_prog in egrep; do
5444    for ac_exec_ext in '' $ac_executable_extensions; do
5445      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5446      as_fn_executable_p "$ac_path_EGREP" || continue
5447# Check for GNU ac_path_EGREP and select it if it is found.
5448  # Check for GNU $ac_path_EGREP
5449case `"$ac_path_EGREP" --version 2>&1` in
5450*GNU*)
5451  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5452*)
5453  ac_count=0
5454  $as_echo_n 0123456789 >"conftest.in"
5455  while :
5456  do
5457    cat "conftest.in" "conftest.in" >"conftest.tmp"
5458    mv "conftest.tmp" "conftest.in"
5459    cp "conftest.in" "conftest.nl"
5460    $as_echo 'EGREP' >> "conftest.nl"
5461    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5462    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5463    as_fn_arith $ac_count + 1 && ac_count=$as_val
5464    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5465      # Best one so far, save it but keep looking for a better one
5466      ac_cv_path_EGREP="$ac_path_EGREP"
5467      ac_path_EGREP_max=$ac_count
5468    fi
5469    # 10*(2^10) chars as input seems more than enough
5470    test $ac_count -gt 10 && break
5471  done
5472  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5473esac
5474
5475      $ac_path_EGREP_found && break 3
5476    done
5477  done
5478  done
5479IFS=$as_save_IFS
5480  if test -z "$ac_cv_path_EGREP"; then
5481    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5482  fi
5483else
5484  ac_cv_path_EGREP=$EGREP
5485fi
5486
5487   fi
5488fi
5489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5490$as_echo "$ac_cv_path_EGREP" >&6; }
5491 EGREP="$ac_cv_path_EGREP"
5492
5493
5494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5495$as_echo_n "checking for fgrep... " >&6; }
5496if ${ac_cv_path_FGREP+:} false; then :
5497  $as_echo_n "(cached) " >&6
5498else
5499  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5500   then ac_cv_path_FGREP="$GREP -F"
5501   else
5502     if test -z "$FGREP"; then
5503  ac_path_FGREP_found=false
5504  # Loop through the user's path and test for each of PROGNAME-LIST
5505  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5507do
5508  IFS=$as_save_IFS
5509  test -z "$as_dir" && as_dir=.
5510    for ac_prog in fgrep; do
5511    for ac_exec_ext in '' $ac_executable_extensions; do
5512      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5513      as_fn_executable_p "$ac_path_FGREP" || continue
5514# Check for GNU ac_path_FGREP and select it if it is found.
5515  # Check for GNU $ac_path_FGREP
5516case `"$ac_path_FGREP" --version 2>&1` in
5517*GNU*)
5518  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5519*)
5520  ac_count=0
5521  $as_echo_n 0123456789 >"conftest.in"
5522  while :
5523  do
5524    cat "conftest.in" "conftest.in" >"conftest.tmp"
5525    mv "conftest.tmp" "conftest.in"
5526    cp "conftest.in" "conftest.nl"
5527    $as_echo 'FGREP' >> "conftest.nl"
5528    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5529    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5530    as_fn_arith $ac_count + 1 && ac_count=$as_val
5531    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5532      # Best one so far, save it but keep looking for a better one
5533      ac_cv_path_FGREP="$ac_path_FGREP"
5534      ac_path_FGREP_max=$ac_count
5535    fi
5536    # 10*(2^10) chars as input seems more than enough
5537    test $ac_count -gt 10 && break
5538  done
5539  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5540esac
5541
5542      $ac_path_FGREP_found && break 3
5543    done
5544  done
5545  done
5546IFS=$as_save_IFS
5547  if test -z "$ac_cv_path_FGREP"; then
5548    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5549  fi
5550else
5551  ac_cv_path_FGREP=$FGREP
5552fi
5553
5554   fi
5555fi
5556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5557$as_echo "$ac_cv_path_FGREP" >&6; }
5558 FGREP="$ac_cv_path_FGREP"
5559
5560
5561test -z "$GREP" && GREP=grep
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581# Check whether --with-gnu-ld was given.
5582if test "${with_gnu_ld+set}" = set; then :
5583  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5584else
5585  with_gnu_ld=no
5586fi
5587
5588ac_prog=ld
5589if test yes = "$GCC"; then
5590  # Check if gcc -print-prog-name=ld gives a path.
5591  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5592$as_echo_n "checking for ld used by $CC... " >&6; }
5593  case $host in
5594  *-*-mingw*)
5595    # gcc leaves a trailing carriage return, which upsets mingw
5596    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5597  *)
5598    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5599  esac
5600  case $ac_prog in
5601    # Accept absolute paths.
5602    [\\/]* | ?:[\\/]*)
5603      re_direlt='/[^/][^/]*/\.\./'
5604      # Canonicalize the pathname of ld
5605      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5606      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5607	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5608      done
5609      test -z "$LD" && LD=$ac_prog
5610      ;;
5611  "")
5612    # If it fails, then pretend we aren't using GCC.
5613    ac_prog=ld
5614    ;;
5615  *)
5616    # If it is relative, then search for the first ld in PATH.
5617    with_gnu_ld=unknown
5618    ;;
5619  esac
5620elif test yes = "$with_gnu_ld"; then
5621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5622$as_echo_n "checking for GNU ld... " >&6; }
5623else
5624  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5625$as_echo_n "checking for non-GNU ld... " >&6; }
5626fi
5627if ${lt_cv_path_LD+:} false; then :
5628  $as_echo_n "(cached) " >&6
5629else
5630  if test -z "$LD"; then
5631  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5632  for ac_dir in $PATH; do
5633    IFS=$lt_save_ifs
5634    test -z "$ac_dir" && ac_dir=.
5635    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5636      lt_cv_path_LD=$ac_dir/$ac_prog
5637      # Check to see if the program is GNU ld.  I'd rather use --version,
5638      # but apparently some variants of GNU ld only accept -v.
5639      # Break only if it was the GNU/non-GNU ld that we prefer.
5640      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5641      *GNU* | *'with BFD'*)
5642	test no != "$with_gnu_ld" && break
5643	;;
5644      *)
5645	test yes != "$with_gnu_ld" && break
5646	;;
5647      esac
5648    fi
5649  done
5650  IFS=$lt_save_ifs
5651else
5652  lt_cv_path_LD=$LD # Let the user override the test with a path.
5653fi
5654fi
5655
5656LD=$lt_cv_path_LD
5657if test -n "$LD"; then
5658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5659$as_echo "$LD" >&6; }
5660else
5661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5662$as_echo "no" >&6; }
5663fi
5664test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5666$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5667if ${lt_cv_prog_gnu_ld+:} false; then :
5668  $as_echo_n "(cached) " >&6
5669else
5670  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5671case `$LD -v 2>&1 </dev/null` in
5672*GNU* | *'with BFD'*)
5673  lt_cv_prog_gnu_ld=yes
5674  ;;
5675*)
5676  lt_cv_prog_gnu_ld=no
5677  ;;
5678esac
5679fi
5680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5681$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5682with_gnu_ld=$lt_cv_prog_gnu_ld
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5693$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5694if ${lt_cv_path_NM+:} false; then :
5695  $as_echo_n "(cached) " >&6
5696else
5697  if test -n "$NM"; then
5698  # Let the user override the test.
5699  lt_cv_path_NM=$NM
5700else
5701  lt_nm_to_check=${ac_tool_prefix}nm
5702  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5703    lt_nm_to_check="$lt_nm_to_check nm"
5704  fi
5705  for lt_tmp_nm in $lt_nm_to_check; do
5706    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5707    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5708      IFS=$lt_save_ifs
5709      test -z "$ac_dir" && ac_dir=.
5710      tmp_nm=$ac_dir/$lt_tmp_nm
5711      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5712	# Check to see if the nm accepts a BSD-compat flag.
5713	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5714	#   nm: unknown option "B" ignored
5715	# Tru64's nm complains that /dev/null is an invalid object file
5716	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5717	case $build_os in
5718	mingw*) lt_bad_file=conftest.nm/nofile ;;
5719	*) lt_bad_file=/dev/null ;;
5720	esac
5721	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5722	*$lt_bad_file* | *'Invalid file or object type'*)
5723	  lt_cv_path_NM="$tmp_nm -B"
5724	  break 2
5725	  ;;
5726	*)
5727	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5728	  */dev/null*)
5729	    lt_cv_path_NM="$tmp_nm -p"
5730	    break 2
5731	    ;;
5732	  *)
5733	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5734	    continue # so that we can try to find one that supports BSD flags
5735	    ;;
5736	  esac
5737	  ;;
5738	esac
5739      fi
5740    done
5741    IFS=$lt_save_ifs
5742  done
5743  : ${lt_cv_path_NM=no}
5744fi
5745fi
5746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5747$as_echo "$lt_cv_path_NM" >&6; }
5748if test no != "$lt_cv_path_NM"; then
5749  NM=$lt_cv_path_NM
5750else
5751  # Didn't find any BSD compatible name lister, look for dumpbin.
5752  if test -n "$DUMPBIN"; then :
5753    # Let the user override the test.
5754  else
5755    if test -n "$ac_tool_prefix"; then
5756  for ac_prog in dumpbin "link -dump"
5757  do
5758    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5759set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5761$as_echo_n "checking for $ac_word... " >&6; }
5762if ${ac_cv_prog_DUMPBIN+:} false; then :
5763  $as_echo_n "(cached) " >&6
5764else
5765  if test -n "$DUMPBIN"; then
5766  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5767else
5768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769for as_dir in $PATH
5770do
5771  IFS=$as_save_IFS
5772  test -z "$as_dir" && as_dir=.
5773    for ac_exec_ext in '' $ac_executable_extensions; do
5774  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5775    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5776    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5777    break 2
5778  fi
5779done
5780  done
5781IFS=$as_save_IFS
5782
5783fi
5784fi
5785DUMPBIN=$ac_cv_prog_DUMPBIN
5786if test -n "$DUMPBIN"; then
5787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5788$as_echo "$DUMPBIN" >&6; }
5789else
5790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5791$as_echo "no" >&6; }
5792fi
5793
5794
5795    test -n "$DUMPBIN" && break
5796  done
5797fi
5798if test -z "$DUMPBIN"; then
5799  ac_ct_DUMPBIN=$DUMPBIN
5800  for ac_prog in dumpbin "link -dump"
5801do
5802  # Extract the first word of "$ac_prog", so it can be a program name with args.
5803set dummy $ac_prog; ac_word=$2
5804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5805$as_echo_n "checking for $ac_word... " >&6; }
5806if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5807  $as_echo_n "(cached) " >&6
5808else
5809  if test -n "$ac_ct_DUMPBIN"; then
5810  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5811else
5812as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5813for as_dir in $PATH
5814do
5815  IFS=$as_save_IFS
5816  test -z "$as_dir" && as_dir=.
5817    for ac_exec_ext in '' $ac_executable_extensions; do
5818  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5819    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5820    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5821    break 2
5822  fi
5823done
5824  done
5825IFS=$as_save_IFS
5826
5827fi
5828fi
5829ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5830if test -n "$ac_ct_DUMPBIN"; then
5831  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5832$as_echo "$ac_ct_DUMPBIN" >&6; }
5833else
5834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5835$as_echo "no" >&6; }
5836fi
5837
5838
5839  test -n "$ac_ct_DUMPBIN" && break
5840done
5841
5842  if test "x$ac_ct_DUMPBIN" = x; then
5843    DUMPBIN=":"
5844  else
5845    case $cross_compiling:$ac_tool_warned in
5846yes:)
5847{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5848$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5849ac_tool_warned=yes ;;
5850esac
5851    DUMPBIN=$ac_ct_DUMPBIN
5852  fi
5853fi
5854
5855    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5856    *COFF*)
5857      DUMPBIN="$DUMPBIN -symbols -headers"
5858      ;;
5859    *)
5860      DUMPBIN=:
5861      ;;
5862    esac
5863  fi
5864
5865  if test : != "$DUMPBIN"; then
5866    NM=$DUMPBIN
5867  fi
5868fi
5869test -z "$NM" && NM=nm
5870
5871
5872
5873
5874
5875
5876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5877$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5878if ${lt_cv_nm_interface+:} false; then :
5879  $as_echo_n "(cached) " >&6
5880else
5881  lt_cv_nm_interface="BSD nm"
5882  echo "int some_variable = 0;" > conftest.$ac_ext
5883  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5884  (eval "$ac_compile" 2>conftest.err)
5885  cat conftest.err >&5
5886  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5887  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5888  cat conftest.err >&5
5889  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5890  cat conftest.out >&5
5891  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5892    lt_cv_nm_interface="MS dumpbin"
5893  fi
5894  rm -f conftest*
5895fi
5896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5897$as_echo "$lt_cv_nm_interface" >&6; }
5898
5899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5900$as_echo_n "checking whether ln -s works... " >&6; }
5901LN_S=$as_ln_s
5902if test "$LN_S" = "ln -s"; then
5903  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5904$as_echo "yes" >&6; }
5905else
5906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5907$as_echo "no, using $LN_S" >&6; }
5908fi
5909
5910# find the maximum length of command line arguments
5911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5912$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5913if ${lt_cv_sys_max_cmd_len+:} false; then :
5914  $as_echo_n "(cached) " >&6
5915else
5916    i=0
5917  teststring=ABCD
5918
5919  case $build_os in
5920  msdosdjgpp*)
5921    # On DJGPP, this test can blow up pretty badly due to problems in libc
5922    # (any single argument exceeding 2000 bytes causes a buffer overrun
5923    # during glob expansion).  Even if it were fixed, the result of this
5924    # check would be larger than it should be.
5925    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5926    ;;
5927
5928  gnu*)
5929    # Under GNU Hurd, this test is not required because there is
5930    # no limit to the length of command line arguments.
5931    # Libtool will interpret -1 as no limit whatsoever
5932    lt_cv_sys_max_cmd_len=-1;
5933    ;;
5934
5935  cygwin* | mingw* | cegcc*)
5936    # On Win9x/ME, this test blows up -- it succeeds, but takes
5937    # about 5 minutes as the teststring grows exponentially.
5938    # Worse, since 9x/ME are not pre-emptively multitasking,
5939    # you end up with a "frozen" computer, even though with patience
5940    # the test eventually succeeds (with a max line length of 256k).
5941    # Instead, let's just punt: use the minimum linelength reported by
5942    # all of the supported platforms: 8192 (on NT/2K/XP).
5943    lt_cv_sys_max_cmd_len=8192;
5944    ;;
5945
5946  mint*)
5947    # On MiNT this can take a long time and run out of memory.
5948    lt_cv_sys_max_cmd_len=8192;
5949    ;;
5950
5951  amigaos*)
5952    # On AmigaOS with pdksh, this test takes hours, literally.
5953    # So we just punt and use a minimum line length of 8192.
5954    lt_cv_sys_max_cmd_len=8192;
5955    ;;
5956
5957  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5958    # This has been around since 386BSD, at least.  Likely further.
5959    if test -x /sbin/sysctl; then
5960      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5961    elif test -x /usr/sbin/sysctl; then
5962      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5963    else
5964      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5965    fi
5966    # And add a safety zone
5967    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5968    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5969    ;;
5970
5971  interix*)
5972    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5973    lt_cv_sys_max_cmd_len=196608
5974    ;;
5975
5976  os2*)
5977    # The test takes a long time on OS/2.
5978    lt_cv_sys_max_cmd_len=8192
5979    ;;
5980
5981  osf*)
5982    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5983    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5984    # nice to cause kernel panics so lets avoid the loop below.
5985    # First set a reasonable default.
5986    lt_cv_sys_max_cmd_len=16384
5987    #
5988    if test -x /sbin/sysconfig; then
5989      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5990        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5991      esac
5992    fi
5993    ;;
5994  sco3.2v5*)
5995    lt_cv_sys_max_cmd_len=102400
5996    ;;
5997  sysv5* | sco5v6* | sysv4.2uw2*)
5998    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5999    if test -n "$kargmax"; then
6000      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6001    else
6002      lt_cv_sys_max_cmd_len=32768
6003    fi
6004    ;;
6005  *)
6006    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6007    if test -n "$lt_cv_sys_max_cmd_len" && \
6008       test undefined != "$lt_cv_sys_max_cmd_len"; then
6009      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6010      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6011    else
6012      # Make teststring a little bigger before we do anything with it.
6013      # a 1K string should be a reasonable start.
6014      for i in 1 2 3 4 5 6 7 8; do
6015        teststring=$teststring$teststring
6016      done
6017      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6018      # If test is not a shell built-in, we'll probably end up computing a
6019      # maximum length that is only half of the actual maximum length, but
6020      # we can't tell.
6021      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6022	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6023	      test 17 != "$i" # 1/2 MB should be enough
6024      do
6025        i=`expr $i + 1`
6026        teststring=$teststring$teststring
6027      done
6028      # Only check the string length outside the loop.
6029      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6030      teststring=
6031      # Add a significant safety factor because C++ compilers can tack on
6032      # massive amounts of additional arguments before passing them to the
6033      # linker.  It appears as though 1/2 is a usable value.
6034      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6035    fi
6036    ;;
6037  esac
6038
6039fi
6040
6041if test -n "$lt_cv_sys_max_cmd_len"; then
6042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6043$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6044else
6045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6046$as_echo "none" >&6; }
6047fi
6048max_cmd_len=$lt_cv_sys_max_cmd_len
6049
6050
6051
6052
6053
6054
6055: ${CP="cp -f"}
6056: ${MV="mv -f"}
6057: ${RM="rm -f"}
6058
6059if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6060  lt_unset=unset
6061else
6062  lt_unset=false
6063fi
6064
6065
6066
6067
6068
6069# test EBCDIC or ASCII
6070case `echo X|tr X '\101'` in
6071 A) # ASCII based system
6072    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6073  lt_SP2NL='tr \040 \012'
6074  lt_NL2SP='tr \015\012 \040\040'
6075  ;;
6076 *) # EBCDIC based system
6077  lt_SP2NL='tr \100 \n'
6078  lt_NL2SP='tr \r\n \100\100'
6079  ;;
6080esac
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6091$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6092if ${lt_cv_to_host_file_cmd+:} false; then :
6093  $as_echo_n "(cached) " >&6
6094else
6095  case $host in
6096  *-*-mingw* )
6097    case $build in
6098      *-*-mingw* ) # actually msys
6099        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6100        ;;
6101      *-*-cygwin* )
6102        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6103        ;;
6104      * ) # otherwise, assume *nix
6105        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6106        ;;
6107    esac
6108    ;;
6109  *-*-cygwin* )
6110    case $build in
6111      *-*-mingw* ) # actually msys
6112        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6113        ;;
6114      *-*-cygwin* )
6115        lt_cv_to_host_file_cmd=func_convert_file_noop
6116        ;;
6117      * ) # otherwise, assume *nix
6118        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6119        ;;
6120    esac
6121    ;;
6122  * ) # unhandled hosts (and "normal" native builds)
6123    lt_cv_to_host_file_cmd=func_convert_file_noop
6124    ;;
6125esac
6126
6127fi
6128
6129to_host_file_cmd=$lt_cv_to_host_file_cmd
6130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6131$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6132
6133
6134
6135
6136
6137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6138$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6139if ${lt_cv_to_tool_file_cmd+:} false; then :
6140  $as_echo_n "(cached) " >&6
6141else
6142  #assume ordinary cross tools, or native build.
6143lt_cv_to_tool_file_cmd=func_convert_file_noop
6144case $host in
6145  *-*-mingw* )
6146    case $build in
6147      *-*-mingw* ) # actually msys
6148        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6149        ;;
6150    esac
6151    ;;
6152esac
6153
6154fi
6155
6156to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6158$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6159
6160
6161
6162
6163
6164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6165$as_echo_n "checking for $LD option to reload object files... " >&6; }
6166if ${lt_cv_ld_reload_flag+:} false; then :
6167  $as_echo_n "(cached) " >&6
6168else
6169  lt_cv_ld_reload_flag='-r'
6170fi
6171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6172$as_echo "$lt_cv_ld_reload_flag" >&6; }
6173reload_flag=$lt_cv_ld_reload_flag
6174case $reload_flag in
6175"" | " "*) ;;
6176*) reload_flag=" $reload_flag" ;;
6177esac
6178reload_cmds='$LD$reload_flag -o $output$reload_objs'
6179case $host_os in
6180  cygwin* | mingw* | pw32* | cegcc*)
6181    if test yes != "$GCC"; then
6182      reload_cmds=false
6183    fi
6184    ;;
6185  darwin*)
6186    if test yes = "$GCC"; then
6187      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6188    else
6189      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6190    fi
6191    ;;
6192esac
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202if test -n "$ac_tool_prefix"; then
6203  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6204set dummy ${ac_tool_prefix}objdump; ac_word=$2
6205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6206$as_echo_n "checking for $ac_word... " >&6; }
6207if ${ac_cv_prog_OBJDUMP+:} false; then :
6208  $as_echo_n "(cached) " >&6
6209else
6210  if test -n "$OBJDUMP"; then
6211  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6212else
6213as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214for as_dir in $PATH
6215do
6216  IFS=$as_save_IFS
6217  test -z "$as_dir" && as_dir=.
6218    for ac_exec_ext in '' $ac_executable_extensions; do
6219  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6220    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6221    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6222    break 2
6223  fi
6224done
6225  done
6226IFS=$as_save_IFS
6227
6228fi
6229fi
6230OBJDUMP=$ac_cv_prog_OBJDUMP
6231if test -n "$OBJDUMP"; then
6232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6233$as_echo "$OBJDUMP" >&6; }
6234else
6235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236$as_echo "no" >&6; }
6237fi
6238
6239
6240fi
6241if test -z "$ac_cv_prog_OBJDUMP"; then
6242  ac_ct_OBJDUMP=$OBJDUMP
6243  # Extract the first word of "objdump", so it can be a program name with args.
6244set dummy objdump; ac_word=$2
6245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246$as_echo_n "checking for $ac_word... " >&6; }
6247if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6248  $as_echo_n "(cached) " >&6
6249else
6250  if test -n "$ac_ct_OBJDUMP"; then
6251  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6252else
6253as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6254for as_dir in $PATH
6255do
6256  IFS=$as_save_IFS
6257  test -z "$as_dir" && as_dir=.
6258    for ac_exec_ext in '' $ac_executable_extensions; do
6259  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6260    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6261    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6262    break 2
6263  fi
6264done
6265  done
6266IFS=$as_save_IFS
6267
6268fi
6269fi
6270ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6271if test -n "$ac_ct_OBJDUMP"; then
6272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6273$as_echo "$ac_ct_OBJDUMP" >&6; }
6274else
6275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6276$as_echo "no" >&6; }
6277fi
6278
6279  if test "x$ac_ct_OBJDUMP" = x; then
6280    OBJDUMP="false"
6281  else
6282    case $cross_compiling:$ac_tool_warned in
6283yes:)
6284{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6285$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6286ac_tool_warned=yes ;;
6287esac
6288    OBJDUMP=$ac_ct_OBJDUMP
6289  fi
6290else
6291  OBJDUMP="$ac_cv_prog_OBJDUMP"
6292fi
6293
6294test -z "$OBJDUMP" && OBJDUMP=objdump
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6305$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6306if ${lt_cv_deplibs_check_method+:} false; then :
6307  $as_echo_n "(cached) " >&6
6308else
6309  lt_cv_file_magic_cmd='$MAGIC_CMD'
6310lt_cv_file_magic_test_file=
6311lt_cv_deplibs_check_method='unknown'
6312# Need to set the preceding variable on all platforms that support
6313# interlibrary dependencies.
6314# 'none' -- dependencies not supported.
6315# 'unknown' -- same as none, but documents that we really don't know.
6316# 'pass_all' -- all dependencies passed with no checks.
6317# 'test_compile' -- check by making test program.
6318# 'file_magic [[regex]]' -- check by looking for files in library path
6319# that responds to the $file_magic_cmd with a given extended regex.
6320# If you have 'file' or equivalent on your system and you're not sure
6321# whether 'pass_all' will *always* work, you probably want this one.
6322
6323case $host_os in
6324aix[4-9]*)
6325  lt_cv_deplibs_check_method=pass_all
6326  ;;
6327
6328beos*)
6329  lt_cv_deplibs_check_method=pass_all
6330  ;;
6331
6332bsdi[45]*)
6333  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6334  lt_cv_file_magic_cmd='/usr/bin/file -L'
6335  lt_cv_file_magic_test_file=/shlib/libc.so
6336  ;;
6337
6338cygwin*)
6339  # func_win32_libid is a shell function defined in ltmain.sh
6340  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6341  lt_cv_file_magic_cmd='func_win32_libid'
6342  ;;
6343
6344mingw* | pw32*)
6345  # Base MSYS/MinGW do not provide the 'file' command needed by
6346  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6347  # unless we find 'file', for example because we are cross-compiling.
6348  if ( file / ) >/dev/null 2>&1; then
6349    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6350    lt_cv_file_magic_cmd='func_win32_libid'
6351  else
6352    # Keep this pattern in sync with the one in func_win32_libid.
6353    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6354    lt_cv_file_magic_cmd='$OBJDUMP -f'
6355  fi
6356  ;;
6357
6358cegcc*)
6359  # use the weaker test based on 'objdump'. See mingw*.
6360  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6361  lt_cv_file_magic_cmd='$OBJDUMP -f'
6362  ;;
6363
6364darwin* | rhapsody*)
6365  lt_cv_deplibs_check_method=pass_all
6366  ;;
6367
6368freebsd* | dragonfly*)
6369  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6370    case $host_cpu in
6371    i*86 )
6372      # Not sure whether the presence of OpenBSD here was a mistake.
6373      # Let's accept both of them until this is cleared up.
6374      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6375      lt_cv_file_magic_cmd=/usr/bin/file
6376      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6377      ;;
6378    esac
6379  else
6380    lt_cv_deplibs_check_method=pass_all
6381  fi
6382  ;;
6383
6384haiku*)
6385  lt_cv_deplibs_check_method=pass_all
6386  ;;
6387
6388hpux10.20* | hpux11*)
6389  lt_cv_file_magic_cmd=/usr/bin/file
6390  case $host_cpu in
6391  ia64*)
6392    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6393    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6394    ;;
6395  hppa*64*)
6396    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]'
6397    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6398    ;;
6399  *)
6400    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6401    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6402    ;;
6403  esac
6404  ;;
6405
6406interix[3-9]*)
6407  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6408  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6409  ;;
6410
6411irix5* | irix6* | nonstopux*)
6412  case $LD in
6413  *-32|*"-32 ") libmagic=32-bit;;
6414  *-n32|*"-n32 ") libmagic=N32;;
6415  *-64|*"-64 ") libmagic=64-bit;;
6416  *) libmagic=never-match;;
6417  esac
6418  lt_cv_deplibs_check_method=pass_all
6419  ;;
6420
6421# This must be glibc/ELF.
6422linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6423  lt_cv_deplibs_check_method=pass_all
6424  ;;
6425
6426netbsd*)
6427  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6428    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6429  else
6430    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6431  fi
6432  ;;
6433
6434newos6*)
6435  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6436  lt_cv_file_magic_cmd=/usr/bin/file
6437  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6438  ;;
6439
6440*nto* | *qnx*)
6441  lt_cv_deplibs_check_method=pass_all
6442  ;;
6443
6444openbsd* | bitrig*)
6445  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6446    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6447  else
6448    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6449  fi
6450  ;;
6451
6452osf3* | osf4* | osf5*)
6453  lt_cv_deplibs_check_method=pass_all
6454  ;;
6455
6456rdos*)
6457  lt_cv_deplibs_check_method=pass_all
6458  ;;
6459
6460solaris*)
6461  lt_cv_deplibs_check_method=pass_all
6462  ;;
6463
6464sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6465  lt_cv_deplibs_check_method=pass_all
6466  ;;
6467
6468sysv4 | sysv4.3*)
6469  case $host_vendor in
6470  motorola)
6471    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]'
6472    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6473    ;;
6474  ncr)
6475    lt_cv_deplibs_check_method=pass_all
6476    ;;
6477  sequent)
6478    lt_cv_file_magic_cmd='/bin/file'
6479    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6480    ;;
6481  sni)
6482    lt_cv_file_magic_cmd='/bin/file'
6483    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6484    lt_cv_file_magic_test_file=/lib/libc.so
6485    ;;
6486  siemens)
6487    lt_cv_deplibs_check_method=pass_all
6488    ;;
6489  pc)
6490    lt_cv_deplibs_check_method=pass_all
6491    ;;
6492  esac
6493  ;;
6494
6495tpf*)
6496  lt_cv_deplibs_check_method=pass_all
6497  ;;
6498os2*)
6499  lt_cv_deplibs_check_method=pass_all
6500  ;;
6501esac
6502
6503fi
6504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6505$as_echo "$lt_cv_deplibs_check_method" >&6; }
6506
6507file_magic_glob=
6508want_nocaseglob=no
6509if test "$build" = "$host"; then
6510  case $host_os in
6511  mingw* | pw32*)
6512    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6513      want_nocaseglob=yes
6514    else
6515      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6516    fi
6517    ;;
6518  esac
6519fi
6520
6521file_magic_cmd=$lt_cv_file_magic_cmd
6522deplibs_check_method=$lt_cv_deplibs_check_method
6523test -z "$deplibs_check_method" && deplibs_check_method=unknown
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546if test -n "$ac_tool_prefix"; then
6547  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6548set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6550$as_echo_n "checking for $ac_word... " >&6; }
6551if ${ac_cv_prog_DLLTOOL+:} false; then :
6552  $as_echo_n "(cached) " >&6
6553else
6554  if test -n "$DLLTOOL"; then
6555  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6556else
6557as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558for as_dir in $PATH
6559do
6560  IFS=$as_save_IFS
6561  test -z "$as_dir" && as_dir=.
6562    for ac_exec_ext in '' $ac_executable_extensions; do
6563  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6564    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6565    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566    break 2
6567  fi
6568done
6569  done
6570IFS=$as_save_IFS
6571
6572fi
6573fi
6574DLLTOOL=$ac_cv_prog_DLLTOOL
6575if test -n "$DLLTOOL"; then
6576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6577$as_echo "$DLLTOOL" >&6; }
6578else
6579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580$as_echo "no" >&6; }
6581fi
6582
6583
6584fi
6585if test -z "$ac_cv_prog_DLLTOOL"; then
6586  ac_ct_DLLTOOL=$DLLTOOL
6587  # Extract the first word of "dlltool", so it can be a program name with args.
6588set dummy dlltool; ac_word=$2
6589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6590$as_echo_n "checking for $ac_word... " >&6; }
6591if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6592  $as_echo_n "(cached) " >&6
6593else
6594  if test -n "$ac_ct_DLLTOOL"; then
6595  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6596else
6597as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6598for as_dir in $PATH
6599do
6600  IFS=$as_save_IFS
6601  test -z "$as_dir" && as_dir=.
6602    for ac_exec_ext in '' $ac_executable_extensions; do
6603  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6604    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6605    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6606    break 2
6607  fi
6608done
6609  done
6610IFS=$as_save_IFS
6611
6612fi
6613fi
6614ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6615if test -n "$ac_ct_DLLTOOL"; then
6616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6617$as_echo "$ac_ct_DLLTOOL" >&6; }
6618else
6619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6620$as_echo "no" >&6; }
6621fi
6622
6623  if test "x$ac_ct_DLLTOOL" = x; then
6624    DLLTOOL="false"
6625  else
6626    case $cross_compiling:$ac_tool_warned in
6627yes:)
6628{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6629$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6630ac_tool_warned=yes ;;
6631esac
6632    DLLTOOL=$ac_ct_DLLTOOL
6633  fi
6634else
6635  DLLTOOL="$ac_cv_prog_DLLTOOL"
6636fi
6637
6638test -z "$DLLTOOL" && DLLTOOL=dlltool
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6650$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6651if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6652  $as_echo_n "(cached) " >&6
6653else
6654  lt_cv_sharedlib_from_linklib_cmd='unknown'
6655
6656case $host_os in
6657cygwin* | mingw* | pw32* | cegcc*)
6658  # two different shell functions defined in ltmain.sh;
6659  # decide which one to use based on capabilities of $DLLTOOL
6660  case `$DLLTOOL --help 2>&1` in
6661  *--identify-strict*)
6662    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6663    ;;
6664  *)
6665    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6666    ;;
6667  esac
6668  ;;
6669*)
6670  # fallback: assume linklib IS sharedlib
6671  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6672  ;;
6673esac
6674
6675fi
6676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6677$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6678sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6679test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6680
6681
6682
6683
6684
6685
6686
6687if test -n "$ac_tool_prefix"; then
6688  for ac_prog in ar
6689  do
6690    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6691set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6693$as_echo_n "checking for $ac_word... " >&6; }
6694if ${ac_cv_prog_AR+:} false; then :
6695  $as_echo_n "(cached) " >&6
6696else
6697  if test -n "$AR"; then
6698  ac_cv_prog_AR="$AR" # Let the user override the test.
6699else
6700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6701for as_dir in $PATH
6702do
6703  IFS=$as_save_IFS
6704  test -z "$as_dir" && as_dir=.
6705    for ac_exec_ext in '' $ac_executable_extensions; do
6706  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6707    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6708    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6709    break 2
6710  fi
6711done
6712  done
6713IFS=$as_save_IFS
6714
6715fi
6716fi
6717AR=$ac_cv_prog_AR
6718if test -n "$AR"; then
6719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6720$as_echo "$AR" >&6; }
6721else
6722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6723$as_echo "no" >&6; }
6724fi
6725
6726
6727    test -n "$AR" && break
6728  done
6729fi
6730if test -z "$AR"; then
6731  ac_ct_AR=$AR
6732  for ac_prog in ar
6733do
6734  # Extract the first word of "$ac_prog", so it can be a program name with args.
6735set dummy $ac_prog; ac_word=$2
6736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6737$as_echo_n "checking for $ac_word... " >&6; }
6738if ${ac_cv_prog_ac_ct_AR+:} false; then :
6739  $as_echo_n "(cached) " >&6
6740else
6741  if test -n "$ac_ct_AR"; then
6742  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6743else
6744as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745for as_dir in $PATH
6746do
6747  IFS=$as_save_IFS
6748  test -z "$as_dir" && as_dir=.
6749    for ac_exec_ext in '' $ac_executable_extensions; do
6750  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6751    ac_cv_prog_ac_ct_AR="$ac_prog"
6752    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6753    break 2
6754  fi
6755done
6756  done
6757IFS=$as_save_IFS
6758
6759fi
6760fi
6761ac_ct_AR=$ac_cv_prog_ac_ct_AR
6762if test -n "$ac_ct_AR"; then
6763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6764$as_echo "$ac_ct_AR" >&6; }
6765else
6766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767$as_echo "no" >&6; }
6768fi
6769
6770
6771  test -n "$ac_ct_AR" && break
6772done
6773
6774  if test "x$ac_ct_AR" = x; then
6775    AR="false"
6776  else
6777    case $cross_compiling:$ac_tool_warned in
6778yes:)
6779{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6780$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6781ac_tool_warned=yes ;;
6782esac
6783    AR=$ac_ct_AR
6784  fi
6785fi
6786
6787: ${AR=ar}
6788: ${AR_FLAGS=cru}
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6801$as_echo_n "checking for archiver @FILE support... " >&6; }
6802if ${lt_cv_ar_at_file+:} false; then :
6803  $as_echo_n "(cached) " >&6
6804else
6805  lt_cv_ar_at_file=no
6806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6807/* end confdefs.h.  */
6808
6809int
6810main ()
6811{
6812
6813  ;
6814  return 0;
6815}
6816_ACEOF
6817if ac_fn_c_try_compile "$LINENO"; then :
6818  echo conftest.$ac_objext > conftest.lst
6819      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6820      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6821  (eval $lt_ar_try) 2>&5
6822  ac_status=$?
6823  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6824  test $ac_status = 0; }
6825      if test 0 -eq "$ac_status"; then
6826	# Ensure the archiver fails upon bogus file names.
6827	rm -f conftest.$ac_objext libconftest.a
6828	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6829  (eval $lt_ar_try) 2>&5
6830  ac_status=$?
6831  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6832  test $ac_status = 0; }
6833	if test 0 -ne "$ac_status"; then
6834          lt_cv_ar_at_file=@
6835        fi
6836      fi
6837      rm -f conftest.* libconftest.a
6838
6839fi
6840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6841
6842fi
6843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6844$as_echo "$lt_cv_ar_at_file" >&6; }
6845
6846if test no = "$lt_cv_ar_at_file"; then
6847  archiver_list_spec=
6848else
6849  archiver_list_spec=$lt_cv_ar_at_file
6850fi
6851
6852
6853
6854
6855
6856
6857
6858if test -n "$ac_tool_prefix"; then
6859  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6860set dummy ${ac_tool_prefix}strip; ac_word=$2
6861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6862$as_echo_n "checking for $ac_word... " >&6; }
6863if ${ac_cv_prog_STRIP+:} false; then :
6864  $as_echo_n "(cached) " >&6
6865else
6866  if test -n "$STRIP"; then
6867  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6868else
6869as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6870for as_dir in $PATH
6871do
6872  IFS=$as_save_IFS
6873  test -z "$as_dir" && as_dir=.
6874    for ac_exec_ext in '' $ac_executable_extensions; do
6875  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6876    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6877    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6878    break 2
6879  fi
6880done
6881  done
6882IFS=$as_save_IFS
6883
6884fi
6885fi
6886STRIP=$ac_cv_prog_STRIP
6887if test -n "$STRIP"; then
6888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6889$as_echo "$STRIP" >&6; }
6890else
6891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6892$as_echo "no" >&6; }
6893fi
6894
6895
6896fi
6897if test -z "$ac_cv_prog_STRIP"; then
6898  ac_ct_STRIP=$STRIP
6899  # Extract the first word of "strip", so it can be a program name with args.
6900set dummy strip; ac_word=$2
6901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6902$as_echo_n "checking for $ac_word... " >&6; }
6903if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6904  $as_echo_n "(cached) " >&6
6905else
6906  if test -n "$ac_ct_STRIP"; then
6907  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6908else
6909as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6910for as_dir in $PATH
6911do
6912  IFS=$as_save_IFS
6913  test -z "$as_dir" && as_dir=.
6914    for ac_exec_ext in '' $ac_executable_extensions; do
6915  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6916    ac_cv_prog_ac_ct_STRIP="strip"
6917    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6918    break 2
6919  fi
6920done
6921  done
6922IFS=$as_save_IFS
6923
6924fi
6925fi
6926ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6927if test -n "$ac_ct_STRIP"; then
6928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6929$as_echo "$ac_ct_STRIP" >&6; }
6930else
6931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6932$as_echo "no" >&6; }
6933fi
6934
6935  if test "x$ac_ct_STRIP" = x; then
6936    STRIP=":"
6937  else
6938    case $cross_compiling:$ac_tool_warned in
6939yes:)
6940{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6941$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6942ac_tool_warned=yes ;;
6943esac
6944    STRIP=$ac_ct_STRIP
6945  fi
6946else
6947  STRIP="$ac_cv_prog_STRIP"
6948fi
6949
6950test -z "$STRIP" && STRIP=:
6951
6952
6953
6954
6955
6956
6957if test -n "$ac_tool_prefix"; then
6958  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6959set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961$as_echo_n "checking for $ac_word... " >&6; }
6962if ${ac_cv_prog_RANLIB+:} false; then :
6963  $as_echo_n "(cached) " >&6
6964else
6965  if test -n "$RANLIB"; then
6966  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6967else
6968as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6969for as_dir in $PATH
6970do
6971  IFS=$as_save_IFS
6972  test -z "$as_dir" && as_dir=.
6973    for ac_exec_ext in '' $ac_executable_extensions; do
6974  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6975    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6976    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6977    break 2
6978  fi
6979done
6980  done
6981IFS=$as_save_IFS
6982
6983fi
6984fi
6985RANLIB=$ac_cv_prog_RANLIB
6986if test -n "$RANLIB"; then
6987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6988$as_echo "$RANLIB" >&6; }
6989else
6990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991$as_echo "no" >&6; }
6992fi
6993
6994
6995fi
6996if test -z "$ac_cv_prog_RANLIB"; then
6997  ac_ct_RANLIB=$RANLIB
6998  # Extract the first word of "ranlib", so it can be a program name with args.
6999set dummy ranlib; ac_word=$2
7000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001$as_echo_n "checking for $ac_word... " >&6; }
7002if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7003  $as_echo_n "(cached) " >&6
7004else
7005  if test -n "$ac_ct_RANLIB"; then
7006  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7007else
7008as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7009for as_dir in $PATH
7010do
7011  IFS=$as_save_IFS
7012  test -z "$as_dir" && as_dir=.
7013    for ac_exec_ext in '' $ac_executable_extensions; do
7014  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7015    ac_cv_prog_ac_ct_RANLIB="ranlib"
7016    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7017    break 2
7018  fi
7019done
7020  done
7021IFS=$as_save_IFS
7022
7023fi
7024fi
7025ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7026if test -n "$ac_ct_RANLIB"; then
7027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7028$as_echo "$ac_ct_RANLIB" >&6; }
7029else
7030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031$as_echo "no" >&6; }
7032fi
7033
7034  if test "x$ac_ct_RANLIB" = x; then
7035    RANLIB=":"
7036  else
7037    case $cross_compiling:$ac_tool_warned in
7038yes:)
7039{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7040$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7041ac_tool_warned=yes ;;
7042esac
7043    RANLIB=$ac_ct_RANLIB
7044  fi
7045else
7046  RANLIB="$ac_cv_prog_RANLIB"
7047fi
7048
7049test -z "$RANLIB" && RANLIB=:
7050
7051
7052
7053
7054
7055
7056# Determine commands to create old-style static archives.
7057old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7058old_postinstall_cmds='chmod 644 $oldlib'
7059old_postuninstall_cmds=
7060
7061if test -n "$RANLIB"; then
7062  case $host_os in
7063  bitrig* | openbsd*)
7064    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7065    ;;
7066  *)
7067    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7068    ;;
7069  esac
7070  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7071fi
7072
7073case $host_os in
7074  darwin*)
7075    lock_old_archive_extraction=yes ;;
7076  *)
7077    lock_old_archive_extraction=no ;;
7078esac
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118# If no C compiler was specified, use CC.
7119LTCC=${LTCC-"$CC"}
7120
7121# If no C compiler flags were specified, use CFLAGS.
7122LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7123
7124# Allow CC to be a program name with arguments.
7125compiler=$CC
7126
7127
7128# Check for command to grab the raw symbol name followed by C symbol from nm.
7129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7130$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7131if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7132  $as_echo_n "(cached) " >&6
7133else
7134
7135# These are sane defaults that work on at least a few old systems.
7136# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7137
7138# Character class describing NM global symbol codes.
7139symcode='[BCDEGRST]'
7140
7141# Regexp to match symbols that can be accessed directly from C.
7142sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7143
7144# Define system-specific variables.
7145case $host_os in
7146aix*)
7147  symcode='[BCDT]'
7148  ;;
7149cygwin* | mingw* | pw32* | cegcc*)
7150  symcode='[ABCDGISTW]'
7151  ;;
7152hpux*)
7153  if test ia64 = "$host_cpu"; then
7154    symcode='[ABCDEGRST]'
7155  fi
7156  ;;
7157irix* | nonstopux*)
7158  symcode='[BCDEGRST]'
7159  ;;
7160osf*)
7161  symcode='[BCDEGQRST]'
7162  ;;
7163solaris*)
7164  symcode='[BDRT]'
7165  ;;
7166sco3.2v5*)
7167  symcode='[DT]'
7168  ;;
7169sysv4.2uw2*)
7170  symcode='[DT]'
7171  ;;
7172sysv5* | sco5v6* | unixware* | OpenUNIX*)
7173  symcode='[ABDT]'
7174  ;;
7175sysv4)
7176  symcode='[DFNSTU]'
7177  ;;
7178esac
7179
7180# If we're using GNU nm, then use its standard symbol codes.
7181case `$NM -V 2>&1` in
7182*GNU* | *'with BFD'*)
7183  symcode='[ABCDGIRSTW]' ;;
7184esac
7185
7186if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7187  # Gets list of data symbols to import.
7188  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7189  # Adjust the below global symbol transforms to fixup imported variables.
7190  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7191  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7192  lt_c_name_lib_hook="\
7193  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7194  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7195else
7196  # Disable hooks by default.
7197  lt_cv_sys_global_symbol_to_import=
7198  lt_cdecl_hook=
7199  lt_c_name_hook=
7200  lt_c_name_lib_hook=
7201fi
7202
7203# Transform an extracted symbol line into a proper C declaration.
7204# Some systems (esp. on ia64) link data and code symbols differently,
7205# so use this general approach.
7206lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7207$lt_cdecl_hook\
7208" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7209" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7210
7211# Transform an extracted symbol line into symbol name and symbol address
7212lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7213$lt_c_name_hook\
7214" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7215" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7216
7217# Transform an extracted symbol line into symbol name with lib prefix and
7218# symbol address.
7219lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7220$lt_c_name_lib_hook\
7221" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7222" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7223" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7224
7225# Handle CRLF in mingw tool chain
7226opt_cr=
7227case $build_os in
7228mingw*)
7229  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7230  ;;
7231esac
7232
7233# Try without a prefix underscore, then with it.
7234for ac_symprfx in "" "_"; do
7235
7236  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7237  symxfrm="\\1 $ac_symprfx\\2 \\2"
7238
7239  # Write the raw and C identifiers.
7240  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7241    # Fake it for dumpbin and say T for any non-static function,
7242    # D for any global variable and I for any imported variable.
7243    # Also find C++ and __fastcall symbols from MSVC++,
7244    # which start with @ or ?.
7245    lt_cv_sys_global_symbol_pipe="$AWK '"\
7246"     {last_section=section; section=\$ 3};"\
7247"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7248"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7249"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7250"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7251"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7252"     \$ 0!~/External *\|/{next};"\
7253"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7254"     {if(hide[section]) next};"\
7255"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7256"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7257"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7258"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7259"     ' prfx=^$ac_symprfx"
7260  else
7261    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7262  fi
7263  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7264
7265  # Check to see that the pipe works correctly.
7266  pipe_works=no
7267
7268  rm -f conftest*
7269  cat > conftest.$ac_ext <<_LT_EOF
7270#ifdef __cplusplus
7271extern "C" {
7272#endif
7273char nm_test_var;
7274void nm_test_func(void);
7275void nm_test_func(void){}
7276#ifdef __cplusplus
7277}
7278#endif
7279int main(){nm_test_var='a';nm_test_func();return(0);}
7280_LT_EOF
7281
7282  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7283  (eval $ac_compile) 2>&5
7284  ac_status=$?
7285  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7286  test $ac_status = 0; }; then
7287    # Now try to grab the symbols.
7288    nlist=conftest.nm
7289    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7290  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7291  ac_status=$?
7292  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7293  test $ac_status = 0; } && test -s "$nlist"; then
7294      # Try sorting and uniquifying the output.
7295      if sort "$nlist" | uniq > "$nlist"T; then
7296	mv -f "$nlist"T "$nlist"
7297      else
7298	rm -f "$nlist"T
7299      fi
7300
7301      # Make sure that we snagged all the symbols we need.
7302      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7303	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7304	  cat <<_LT_EOF > conftest.$ac_ext
7305/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7306#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7307/* DATA imports from DLLs on WIN32 can't be const, because runtime
7308   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7309# define LT_DLSYM_CONST
7310#elif defined __osf__
7311/* This system does not cope well with relocations in const data.  */
7312# define LT_DLSYM_CONST
7313#else
7314# define LT_DLSYM_CONST const
7315#endif
7316
7317#ifdef __cplusplus
7318extern "C" {
7319#endif
7320
7321_LT_EOF
7322	  # Now generate the symbol file.
7323	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7324
7325	  cat <<_LT_EOF >> conftest.$ac_ext
7326
7327/* The mapping between symbol names and symbols.  */
7328LT_DLSYM_CONST struct {
7329  const char *name;
7330  void       *address;
7331}
7332lt__PROGRAM__LTX_preloaded_symbols[] =
7333{
7334  { "@PROGRAM@", (void *) 0 },
7335_LT_EOF
7336	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7337	  cat <<\_LT_EOF >> conftest.$ac_ext
7338  {0, (void *) 0}
7339};
7340
7341/* This works around a problem in FreeBSD linker */
7342#ifdef FREEBSD_WORKAROUND
7343static const void *lt_preloaded_setup() {
7344  return lt__PROGRAM__LTX_preloaded_symbols;
7345}
7346#endif
7347
7348#ifdef __cplusplus
7349}
7350#endif
7351_LT_EOF
7352	  # Now try linking the two files.
7353	  mv conftest.$ac_objext conftstm.$ac_objext
7354	  lt_globsym_save_LIBS=$LIBS
7355	  lt_globsym_save_CFLAGS=$CFLAGS
7356	  LIBS=conftstm.$ac_objext
7357	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7358	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7359  (eval $ac_link) 2>&5
7360  ac_status=$?
7361  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7362  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7363	    pipe_works=yes
7364	  fi
7365	  LIBS=$lt_globsym_save_LIBS
7366	  CFLAGS=$lt_globsym_save_CFLAGS
7367	else
7368	  echo "cannot find nm_test_func in $nlist" >&5
7369	fi
7370      else
7371	echo "cannot find nm_test_var in $nlist" >&5
7372      fi
7373    else
7374      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7375    fi
7376  else
7377    echo "$progname: failed program was:" >&5
7378    cat conftest.$ac_ext >&5
7379  fi
7380  rm -rf conftest* conftst*
7381
7382  # Do not use the global_symbol_pipe unless it works.
7383  if test yes = "$pipe_works"; then
7384    break
7385  else
7386    lt_cv_sys_global_symbol_pipe=
7387  fi
7388done
7389
7390fi
7391
7392if test -z "$lt_cv_sys_global_symbol_pipe"; then
7393  lt_cv_sys_global_symbol_to_cdecl=
7394fi
7395if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7397$as_echo "failed" >&6; }
7398else
7399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7400$as_echo "ok" >&6; }
7401fi
7402
7403# Response file support.
7404if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7405  nm_file_list_spec='@'
7406elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7407  nm_file_list_spec='@'
7408fi
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7447$as_echo_n "checking for sysroot... " >&6; }
7448
7449# Check whether --with-sysroot was given.
7450if test "${with_sysroot+set}" = set; then :
7451  withval=$with_sysroot;
7452else
7453  with_sysroot=no
7454fi
7455
7456
7457lt_sysroot=
7458case $with_sysroot in #(
7459 yes)
7460   if test yes = "$GCC"; then
7461     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7462   fi
7463   ;; #(
7464 /*)
7465   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7466   ;; #(
7467 no|'')
7468   ;; #(
7469 *)
7470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7471$as_echo "$with_sysroot" >&6; }
7472   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7473   ;;
7474esac
7475
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7477$as_echo "${lt_sysroot:-no}" >&6; }
7478
7479
7480
7481
7482
7483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7484$as_echo_n "checking for a working dd... " >&6; }
7485if ${ac_cv_path_lt_DD+:} false; then :
7486  $as_echo_n "(cached) " >&6
7487else
7488  printf 0123456789abcdef0123456789abcdef >conftest.i
7489cat conftest.i conftest.i >conftest2.i
7490: ${lt_DD:=$DD}
7491if test -z "$lt_DD"; then
7492  ac_path_lt_DD_found=false
7493  # Loop through the user's path and test for each of PROGNAME-LIST
7494  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7495for as_dir in $PATH
7496do
7497  IFS=$as_save_IFS
7498  test -z "$as_dir" && as_dir=.
7499    for ac_prog in dd; do
7500    for ac_exec_ext in '' $ac_executable_extensions; do
7501      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7502      as_fn_executable_p "$ac_path_lt_DD" || continue
7503if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7504  cmp -s conftest.i conftest.out \
7505  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7506fi
7507      $ac_path_lt_DD_found && break 3
7508    done
7509  done
7510  done
7511IFS=$as_save_IFS
7512  if test -z "$ac_cv_path_lt_DD"; then
7513    :
7514  fi
7515else
7516  ac_cv_path_lt_DD=$lt_DD
7517fi
7518
7519rm -f conftest.i conftest2.i conftest.out
7520fi
7521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7522$as_echo "$ac_cv_path_lt_DD" >&6; }
7523
7524
7525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7526$as_echo_n "checking how to truncate binary pipes... " >&6; }
7527if ${lt_cv_truncate_bin+:} false; then :
7528  $as_echo_n "(cached) " >&6
7529else
7530  printf 0123456789abcdef0123456789abcdef >conftest.i
7531cat conftest.i conftest.i >conftest2.i
7532lt_cv_truncate_bin=
7533if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7534  cmp -s conftest.i conftest.out \
7535  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7536fi
7537rm -f conftest.i conftest2.i conftest.out
7538test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7539fi
7540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7541$as_echo "$lt_cv_truncate_bin" >&6; }
7542
7543
7544
7545
7546
7547
7548
7549# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7550func_cc_basename ()
7551{
7552    for cc_temp in $*""; do
7553      case $cc_temp in
7554        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7555        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7556        \-*) ;;
7557        *) break;;
7558      esac
7559    done
7560    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7561}
7562
7563# Check whether --enable-libtool-lock was given.
7564if test "${enable_libtool_lock+set}" = set; then :
7565  enableval=$enable_libtool_lock;
7566fi
7567
7568test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7569
7570# Some flags need to be propagated to the compiler or linker for good
7571# libtool support.
7572case $host in
7573ia64-*-hpux*)
7574  # Find out what ABI is being produced by ac_compile, and set mode
7575  # options accordingly.
7576  echo 'int i;' > conftest.$ac_ext
7577  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7578  (eval $ac_compile) 2>&5
7579  ac_status=$?
7580  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7581  test $ac_status = 0; }; then
7582    case `/usr/bin/file conftest.$ac_objext` in
7583      *ELF-32*)
7584	HPUX_IA64_MODE=32
7585	;;
7586      *ELF-64*)
7587	HPUX_IA64_MODE=64
7588	;;
7589    esac
7590  fi
7591  rm -rf conftest*
7592  ;;
7593*-*-irix6*)
7594  # Find out what ABI is being produced by ac_compile, and set linker
7595  # options accordingly.
7596  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7597  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7598  (eval $ac_compile) 2>&5
7599  ac_status=$?
7600  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7601  test $ac_status = 0; }; then
7602    if test yes = "$lt_cv_prog_gnu_ld"; then
7603      case `/usr/bin/file conftest.$ac_objext` in
7604	*32-bit*)
7605	  LD="${LD-ld} -melf32bsmip"
7606	  ;;
7607	*N32*)
7608	  LD="${LD-ld} -melf32bmipn32"
7609	  ;;
7610	*64-bit*)
7611	  LD="${LD-ld} -melf64bmip"
7612	;;
7613      esac
7614    else
7615      case `/usr/bin/file conftest.$ac_objext` in
7616	*32-bit*)
7617	  LD="${LD-ld} -32"
7618	  ;;
7619	*N32*)
7620	  LD="${LD-ld} -n32"
7621	  ;;
7622	*64-bit*)
7623	  LD="${LD-ld} -64"
7624	  ;;
7625      esac
7626    fi
7627  fi
7628  rm -rf conftest*
7629  ;;
7630
7631mips64*-*linux*)
7632  # Find out what ABI is being produced by ac_compile, and set linker
7633  # options accordingly.
7634  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7635  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7636  (eval $ac_compile) 2>&5
7637  ac_status=$?
7638  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7639  test $ac_status = 0; }; then
7640    emul=elf
7641    case `/usr/bin/file conftest.$ac_objext` in
7642      *32-bit*)
7643	emul="${emul}32"
7644	;;
7645      *64-bit*)
7646	emul="${emul}64"
7647	;;
7648    esac
7649    case `/usr/bin/file conftest.$ac_objext` in
7650      *MSB*)
7651	emul="${emul}btsmip"
7652	;;
7653      *LSB*)
7654	emul="${emul}ltsmip"
7655	;;
7656    esac
7657    case `/usr/bin/file conftest.$ac_objext` in
7658      *N32*)
7659	emul="${emul}n32"
7660	;;
7661    esac
7662    LD="${LD-ld} -m $emul"
7663  fi
7664  rm -rf conftest*
7665  ;;
7666
7667x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7668s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7669  # Find out what ABI is being produced by ac_compile, and set linker
7670  # options accordingly.  Note that the listed cases only cover the
7671  # situations where additional linker options are needed (such as when
7672  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7673  # vice versa); the common cases where no linker options are needed do
7674  # not appear in the list.
7675  echo 'int i;' > conftest.$ac_ext
7676  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7677  (eval $ac_compile) 2>&5
7678  ac_status=$?
7679  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7680  test $ac_status = 0; }; then
7681    case `/usr/bin/file conftest.o` in
7682      *32-bit*)
7683	case $host in
7684	  x86_64-*kfreebsd*-gnu)
7685	    LD="${LD-ld} -m elf_i386_fbsd"
7686	    ;;
7687	  x86_64-*linux*)
7688	    case `/usr/bin/file conftest.o` in
7689	      *x86-64*)
7690		LD="${LD-ld} -m elf32_x86_64"
7691		;;
7692	      *)
7693		LD="${LD-ld} -m elf_i386"
7694		;;
7695	    esac
7696	    ;;
7697	  powerpc64le-*linux*)
7698	    LD="${LD-ld} -m elf32lppclinux"
7699	    ;;
7700	  powerpc64-*linux*)
7701	    LD="${LD-ld} -m elf32ppclinux"
7702	    ;;
7703	  s390x-*linux*)
7704	    LD="${LD-ld} -m elf_s390"
7705	    ;;
7706	  sparc64-*linux*)
7707	    LD="${LD-ld} -m elf32_sparc"
7708	    ;;
7709	esac
7710	;;
7711      *64-bit*)
7712	case $host in
7713	  x86_64-*kfreebsd*-gnu)
7714	    LD="${LD-ld} -m elf_x86_64_fbsd"
7715	    ;;
7716	  x86_64-*linux*)
7717	    LD="${LD-ld} -m elf_x86_64"
7718	    ;;
7719	  powerpcle-*linux*)
7720	    LD="${LD-ld} -m elf64lppc"
7721	    ;;
7722	  powerpc-*linux*)
7723	    LD="${LD-ld} -m elf64ppc"
7724	    ;;
7725	  s390*-*linux*|s390*-*tpf*)
7726	    LD="${LD-ld} -m elf64_s390"
7727	    ;;
7728	  sparc*-*linux*)
7729	    LD="${LD-ld} -m elf64_sparc"
7730	    ;;
7731	esac
7732	;;
7733    esac
7734  fi
7735  rm -rf conftest*
7736  ;;
7737
7738*-*-sco3.2v5*)
7739  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7740  SAVE_CFLAGS=$CFLAGS
7741  CFLAGS="$CFLAGS -belf"
7742  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7743$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7744if ${lt_cv_cc_needs_belf+:} false; then :
7745  $as_echo_n "(cached) " >&6
7746else
7747  ac_ext=c
7748ac_cpp='$CPP $CPPFLAGS'
7749ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7750ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7751ac_compiler_gnu=$ac_cv_c_compiler_gnu
7752
7753     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7754/* end confdefs.h.  */
7755
7756int
7757main ()
7758{
7759
7760  ;
7761  return 0;
7762}
7763_ACEOF
7764if ac_fn_c_try_link "$LINENO"; then :
7765  lt_cv_cc_needs_belf=yes
7766else
7767  lt_cv_cc_needs_belf=no
7768fi
7769rm -f core conftest.err conftest.$ac_objext \
7770    conftest$ac_exeext conftest.$ac_ext
7771     ac_ext=c
7772ac_cpp='$CPP $CPPFLAGS'
7773ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7774ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7775ac_compiler_gnu=$ac_cv_c_compiler_gnu
7776
7777fi
7778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7779$as_echo "$lt_cv_cc_needs_belf" >&6; }
7780  if test yes != "$lt_cv_cc_needs_belf"; then
7781    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7782    CFLAGS=$SAVE_CFLAGS
7783  fi
7784  ;;
7785*-*solaris*)
7786  # Find out what ABI is being produced by ac_compile, and set linker
7787  # options accordingly.
7788  echo 'int i;' > conftest.$ac_ext
7789  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7790  (eval $ac_compile) 2>&5
7791  ac_status=$?
7792  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7793  test $ac_status = 0; }; then
7794    case `/usr/bin/file conftest.o` in
7795    *64-bit*)
7796      case $lt_cv_prog_gnu_ld in
7797      yes*)
7798        case $host in
7799        i?86-*-solaris*|x86_64-*-solaris*)
7800          LD="${LD-ld} -m elf_x86_64"
7801          ;;
7802        sparc*-*-solaris*)
7803          LD="${LD-ld} -m elf64_sparc"
7804          ;;
7805        esac
7806        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7807        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7808          LD=${LD-ld}_sol2
7809        fi
7810        ;;
7811      *)
7812	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7813	  LD="${LD-ld} -64"
7814	fi
7815	;;
7816      esac
7817      ;;
7818    esac
7819  fi
7820  rm -rf conftest*
7821  ;;
7822esac
7823
7824need_locks=$enable_libtool_lock
7825
7826if test -n "$ac_tool_prefix"; then
7827  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7828set dummy ${ac_tool_prefix}mt; ac_word=$2
7829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7830$as_echo_n "checking for $ac_word... " >&6; }
7831if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7832  $as_echo_n "(cached) " >&6
7833else
7834  if test -n "$MANIFEST_TOOL"; then
7835  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7836else
7837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7838for as_dir in $PATH
7839do
7840  IFS=$as_save_IFS
7841  test -z "$as_dir" && as_dir=.
7842    for ac_exec_ext in '' $ac_executable_extensions; do
7843  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7844    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7846    break 2
7847  fi
7848done
7849  done
7850IFS=$as_save_IFS
7851
7852fi
7853fi
7854MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7855if test -n "$MANIFEST_TOOL"; then
7856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7857$as_echo "$MANIFEST_TOOL" >&6; }
7858else
7859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7860$as_echo "no" >&6; }
7861fi
7862
7863
7864fi
7865if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7866  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7867  # Extract the first word of "mt", so it can be a program name with args.
7868set dummy mt; ac_word=$2
7869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7870$as_echo_n "checking for $ac_word... " >&6; }
7871if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7872  $as_echo_n "(cached) " >&6
7873else
7874  if test -n "$ac_ct_MANIFEST_TOOL"; then
7875  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7876else
7877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7878for as_dir in $PATH
7879do
7880  IFS=$as_save_IFS
7881  test -z "$as_dir" && as_dir=.
7882    for ac_exec_ext in '' $ac_executable_extensions; do
7883  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7884    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7885    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7886    break 2
7887  fi
7888done
7889  done
7890IFS=$as_save_IFS
7891
7892fi
7893fi
7894ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7895if test -n "$ac_ct_MANIFEST_TOOL"; then
7896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7897$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7898else
7899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7900$as_echo "no" >&6; }
7901fi
7902
7903  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7904    MANIFEST_TOOL=":"
7905  else
7906    case $cross_compiling:$ac_tool_warned in
7907yes:)
7908{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7909$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7910ac_tool_warned=yes ;;
7911esac
7912    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7913  fi
7914else
7915  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7916fi
7917
7918test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7920$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7921if ${lt_cv_path_mainfest_tool+:} false; then :
7922  $as_echo_n "(cached) " >&6
7923else
7924  lt_cv_path_mainfest_tool=no
7925  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7926  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7927  cat conftest.err >&5
7928  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7929    lt_cv_path_mainfest_tool=yes
7930  fi
7931  rm -f conftest*
7932fi
7933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7934$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7935if test yes != "$lt_cv_path_mainfest_tool"; then
7936  MANIFEST_TOOL=:
7937fi
7938
7939
7940
7941
7942
7943
7944  case $host_os in
7945    rhapsody* | darwin*)
7946    if test -n "$ac_tool_prefix"; then
7947  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7948set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7950$as_echo_n "checking for $ac_word... " >&6; }
7951if ${ac_cv_prog_DSYMUTIL+:} false; then :
7952  $as_echo_n "(cached) " >&6
7953else
7954  if test -n "$DSYMUTIL"; then
7955  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7956else
7957as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7958for as_dir in $PATH
7959do
7960  IFS=$as_save_IFS
7961  test -z "$as_dir" && as_dir=.
7962    for ac_exec_ext in '' $ac_executable_extensions; do
7963  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7964    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7965    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7966    break 2
7967  fi
7968done
7969  done
7970IFS=$as_save_IFS
7971
7972fi
7973fi
7974DSYMUTIL=$ac_cv_prog_DSYMUTIL
7975if test -n "$DSYMUTIL"; then
7976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7977$as_echo "$DSYMUTIL" >&6; }
7978else
7979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7980$as_echo "no" >&6; }
7981fi
7982
7983
7984fi
7985if test -z "$ac_cv_prog_DSYMUTIL"; then
7986  ac_ct_DSYMUTIL=$DSYMUTIL
7987  # Extract the first word of "dsymutil", so it can be a program name with args.
7988set dummy dsymutil; ac_word=$2
7989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7990$as_echo_n "checking for $ac_word... " >&6; }
7991if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7992  $as_echo_n "(cached) " >&6
7993else
7994  if test -n "$ac_ct_DSYMUTIL"; then
7995  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7996else
7997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7998for as_dir in $PATH
7999do
8000  IFS=$as_save_IFS
8001  test -z "$as_dir" && as_dir=.
8002    for ac_exec_ext in '' $ac_executable_extensions; do
8003  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8004    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8005    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8006    break 2
8007  fi
8008done
8009  done
8010IFS=$as_save_IFS
8011
8012fi
8013fi
8014ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8015if test -n "$ac_ct_DSYMUTIL"; then
8016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8017$as_echo "$ac_ct_DSYMUTIL" >&6; }
8018else
8019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8020$as_echo "no" >&6; }
8021fi
8022
8023  if test "x$ac_ct_DSYMUTIL" = x; then
8024    DSYMUTIL=":"
8025  else
8026    case $cross_compiling:$ac_tool_warned in
8027yes:)
8028{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8029$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8030ac_tool_warned=yes ;;
8031esac
8032    DSYMUTIL=$ac_ct_DSYMUTIL
8033  fi
8034else
8035  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8036fi
8037
8038    if test -n "$ac_tool_prefix"; then
8039  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8040set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8042$as_echo_n "checking for $ac_word... " >&6; }
8043if ${ac_cv_prog_NMEDIT+:} false; then :
8044  $as_echo_n "(cached) " >&6
8045else
8046  if test -n "$NMEDIT"; then
8047  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8048else
8049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8050for as_dir in $PATH
8051do
8052  IFS=$as_save_IFS
8053  test -z "$as_dir" && as_dir=.
8054    for ac_exec_ext in '' $ac_executable_extensions; do
8055  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8056    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8057    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8058    break 2
8059  fi
8060done
8061  done
8062IFS=$as_save_IFS
8063
8064fi
8065fi
8066NMEDIT=$ac_cv_prog_NMEDIT
8067if test -n "$NMEDIT"; then
8068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8069$as_echo "$NMEDIT" >&6; }
8070else
8071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8072$as_echo "no" >&6; }
8073fi
8074
8075
8076fi
8077if test -z "$ac_cv_prog_NMEDIT"; then
8078  ac_ct_NMEDIT=$NMEDIT
8079  # Extract the first word of "nmedit", so it can be a program name with args.
8080set dummy nmedit; ac_word=$2
8081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8082$as_echo_n "checking for $ac_word... " >&6; }
8083if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8084  $as_echo_n "(cached) " >&6
8085else
8086  if test -n "$ac_ct_NMEDIT"; then
8087  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8088else
8089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8090for as_dir in $PATH
8091do
8092  IFS=$as_save_IFS
8093  test -z "$as_dir" && as_dir=.
8094    for ac_exec_ext in '' $ac_executable_extensions; do
8095  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8096    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8097    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8098    break 2
8099  fi
8100done
8101  done
8102IFS=$as_save_IFS
8103
8104fi
8105fi
8106ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8107if test -n "$ac_ct_NMEDIT"; then
8108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8109$as_echo "$ac_ct_NMEDIT" >&6; }
8110else
8111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8112$as_echo "no" >&6; }
8113fi
8114
8115  if test "x$ac_ct_NMEDIT" = x; then
8116    NMEDIT=":"
8117  else
8118    case $cross_compiling:$ac_tool_warned in
8119yes:)
8120{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8121$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8122ac_tool_warned=yes ;;
8123esac
8124    NMEDIT=$ac_ct_NMEDIT
8125  fi
8126else
8127  NMEDIT="$ac_cv_prog_NMEDIT"
8128fi
8129
8130    if test -n "$ac_tool_prefix"; then
8131  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8132set dummy ${ac_tool_prefix}lipo; ac_word=$2
8133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8134$as_echo_n "checking for $ac_word... " >&6; }
8135if ${ac_cv_prog_LIPO+:} false; then :
8136  $as_echo_n "(cached) " >&6
8137else
8138  if test -n "$LIPO"; then
8139  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8140else
8141as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8142for as_dir in $PATH
8143do
8144  IFS=$as_save_IFS
8145  test -z "$as_dir" && as_dir=.
8146    for ac_exec_ext in '' $ac_executable_extensions; do
8147  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8148    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8149    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8150    break 2
8151  fi
8152done
8153  done
8154IFS=$as_save_IFS
8155
8156fi
8157fi
8158LIPO=$ac_cv_prog_LIPO
8159if test -n "$LIPO"; then
8160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8161$as_echo "$LIPO" >&6; }
8162else
8163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8164$as_echo "no" >&6; }
8165fi
8166
8167
8168fi
8169if test -z "$ac_cv_prog_LIPO"; then
8170  ac_ct_LIPO=$LIPO
8171  # Extract the first word of "lipo", so it can be a program name with args.
8172set dummy lipo; ac_word=$2
8173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8174$as_echo_n "checking for $ac_word... " >&6; }
8175if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8176  $as_echo_n "(cached) " >&6
8177else
8178  if test -n "$ac_ct_LIPO"; then
8179  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8180else
8181as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8182for as_dir in $PATH
8183do
8184  IFS=$as_save_IFS
8185  test -z "$as_dir" && as_dir=.
8186    for ac_exec_ext in '' $ac_executable_extensions; do
8187  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8188    ac_cv_prog_ac_ct_LIPO="lipo"
8189    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8190    break 2
8191  fi
8192done
8193  done
8194IFS=$as_save_IFS
8195
8196fi
8197fi
8198ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8199if test -n "$ac_ct_LIPO"; then
8200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8201$as_echo "$ac_ct_LIPO" >&6; }
8202else
8203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8204$as_echo "no" >&6; }
8205fi
8206
8207  if test "x$ac_ct_LIPO" = x; then
8208    LIPO=":"
8209  else
8210    case $cross_compiling:$ac_tool_warned in
8211yes:)
8212{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8213$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8214ac_tool_warned=yes ;;
8215esac
8216    LIPO=$ac_ct_LIPO
8217  fi
8218else
8219  LIPO="$ac_cv_prog_LIPO"
8220fi
8221
8222    if test -n "$ac_tool_prefix"; then
8223  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8224set dummy ${ac_tool_prefix}otool; ac_word=$2
8225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8226$as_echo_n "checking for $ac_word... " >&6; }
8227if ${ac_cv_prog_OTOOL+:} false; then :
8228  $as_echo_n "(cached) " >&6
8229else
8230  if test -n "$OTOOL"; then
8231  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8232else
8233as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8234for as_dir in $PATH
8235do
8236  IFS=$as_save_IFS
8237  test -z "$as_dir" && as_dir=.
8238    for ac_exec_ext in '' $ac_executable_extensions; do
8239  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8240    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8241    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8242    break 2
8243  fi
8244done
8245  done
8246IFS=$as_save_IFS
8247
8248fi
8249fi
8250OTOOL=$ac_cv_prog_OTOOL
8251if test -n "$OTOOL"; then
8252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8253$as_echo "$OTOOL" >&6; }
8254else
8255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8256$as_echo "no" >&6; }
8257fi
8258
8259
8260fi
8261if test -z "$ac_cv_prog_OTOOL"; then
8262  ac_ct_OTOOL=$OTOOL
8263  # Extract the first word of "otool", so it can be a program name with args.
8264set dummy otool; ac_word=$2
8265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8266$as_echo_n "checking for $ac_word... " >&6; }
8267if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8268  $as_echo_n "(cached) " >&6
8269else
8270  if test -n "$ac_ct_OTOOL"; then
8271  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8272else
8273as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8274for as_dir in $PATH
8275do
8276  IFS=$as_save_IFS
8277  test -z "$as_dir" && as_dir=.
8278    for ac_exec_ext in '' $ac_executable_extensions; do
8279  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8280    ac_cv_prog_ac_ct_OTOOL="otool"
8281    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8282    break 2
8283  fi
8284done
8285  done
8286IFS=$as_save_IFS
8287
8288fi
8289fi
8290ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8291if test -n "$ac_ct_OTOOL"; then
8292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8293$as_echo "$ac_ct_OTOOL" >&6; }
8294else
8295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8296$as_echo "no" >&6; }
8297fi
8298
8299  if test "x$ac_ct_OTOOL" = x; then
8300    OTOOL=":"
8301  else
8302    case $cross_compiling:$ac_tool_warned in
8303yes:)
8304{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8305$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8306ac_tool_warned=yes ;;
8307esac
8308    OTOOL=$ac_ct_OTOOL
8309  fi
8310else
8311  OTOOL="$ac_cv_prog_OTOOL"
8312fi
8313
8314    if test -n "$ac_tool_prefix"; then
8315  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8316set dummy ${ac_tool_prefix}otool64; ac_word=$2
8317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8318$as_echo_n "checking for $ac_word... " >&6; }
8319if ${ac_cv_prog_OTOOL64+:} false; then :
8320  $as_echo_n "(cached) " >&6
8321else
8322  if test -n "$OTOOL64"; then
8323  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8324else
8325as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8326for as_dir in $PATH
8327do
8328  IFS=$as_save_IFS
8329  test -z "$as_dir" && as_dir=.
8330    for ac_exec_ext in '' $ac_executable_extensions; do
8331  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8332    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8333    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8334    break 2
8335  fi
8336done
8337  done
8338IFS=$as_save_IFS
8339
8340fi
8341fi
8342OTOOL64=$ac_cv_prog_OTOOL64
8343if test -n "$OTOOL64"; then
8344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8345$as_echo "$OTOOL64" >&6; }
8346else
8347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8348$as_echo "no" >&6; }
8349fi
8350
8351
8352fi
8353if test -z "$ac_cv_prog_OTOOL64"; then
8354  ac_ct_OTOOL64=$OTOOL64
8355  # Extract the first word of "otool64", so it can be a program name with args.
8356set dummy otool64; ac_word=$2
8357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8358$as_echo_n "checking for $ac_word... " >&6; }
8359if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8360  $as_echo_n "(cached) " >&6
8361else
8362  if test -n "$ac_ct_OTOOL64"; then
8363  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8364else
8365as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8366for as_dir in $PATH
8367do
8368  IFS=$as_save_IFS
8369  test -z "$as_dir" && as_dir=.
8370    for ac_exec_ext in '' $ac_executable_extensions; do
8371  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8372    ac_cv_prog_ac_ct_OTOOL64="otool64"
8373    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8374    break 2
8375  fi
8376done
8377  done
8378IFS=$as_save_IFS
8379
8380fi
8381fi
8382ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8383if test -n "$ac_ct_OTOOL64"; then
8384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8385$as_echo "$ac_ct_OTOOL64" >&6; }
8386else
8387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388$as_echo "no" >&6; }
8389fi
8390
8391  if test "x$ac_ct_OTOOL64" = x; then
8392    OTOOL64=":"
8393  else
8394    case $cross_compiling:$ac_tool_warned in
8395yes:)
8396{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8397$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8398ac_tool_warned=yes ;;
8399esac
8400    OTOOL64=$ac_ct_OTOOL64
8401  fi
8402else
8403  OTOOL64="$ac_cv_prog_OTOOL64"
8404fi
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8433$as_echo_n "checking for -single_module linker flag... " >&6; }
8434if ${lt_cv_apple_cc_single_mod+:} false; then :
8435  $as_echo_n "(cached) " >&6
8436else
8437  lt_cv_apple_cc_single_mod=no
8438      if test -z "$LT_MULTI_MODULE"; then
8439	# By default we will add the -single_module flag. You can override
8440	# by either setting the environment variable LT_MULTI_MODULE
8441	# non-empty at configure time, or by adding -multi_module to the
8442	# link flags.
8443	rm -rf libconftest.dylib*
8444	echo "int foo(void){return 1;}" > conftest.c
8445	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8446-dynamiclib -Wl,-single_module conftest.c" >&5
8447	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8448	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8449        _lt_result=$?
8450	# If there is a non-empty error log, and "single_module"
8451	# appears in it, assume the flag caused a linker warning
8452        if test -s conftest.err && $GREP single_module conftest.err; then
8453	  cat conftest.err >&5
8454	# Otherwise, if the output was created with a 0 exit code from
8455	# the compiler, it worked.
8456	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8457	  lt_cv_apple_cc_single_mod=yes
8458	else
8459	  cat conftest.err >&5
8460	fi
8461	rm -rf libconftest.dylib*
8462	rm -f conftest.*
8463      fi
8464fi
8465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8466$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8467
8468    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8469$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8470if ${lt_cv_ld_exported_symbols_list+:} false; then :
8471  $as_echo_n "(cached) " >&6
8472else
8473  lt_cv_ld_exported_symbols_list=no
8474      save_LDFLAGS=$LDFLAGS
8475      echo "_main" > conftest.sym
8476      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8477      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478/* end confdefs.h.  */
8479
8480int
8481main ()
8482{
8483
8484  ;
8485  return 0;
8486}
8487_ACEOF
8488if ac_fn_c_try_link "$LINENO"; then :
8489  lt_cv_ld_exported_symbols_list=yes
8490else
8491  lt_cv_ld_exported_symbols_list=no
8492fi
8493rm -f core conftest.err conftest.$ac_objext \
8494    conftest$ac_exeext conftest.$ac_ext
8495	LDFLAGS=$save_LDFLAGS
8496
8497fi
8498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8499$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8500
8501    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8502$as_echo_n "checking for -force_load linker flag... " >&6; }
8503if ${lt_cv_ld_force_load+:} false; then :
8504  $as_echo_n "(cached) " >&6
8505else
8506  lt_cv_ld_force_load=no
8507      cat > conftest.c << _LT_EOF
8508int forced_loaded() { return 2;}
8509_LT_EOF
8510      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8511      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8512      echo "$AR cru libconftest.a conftest.o" >&5
8513      $AR cru libconftest.a conftest.o 2>&5
8514      echo "$RANLIB libconftest.a" >&5
8515      $RANLIB libconftest.a 2>&5
8516      cat > conftest.c << _LT_EOF
8517int main() { return 0;}
8518_LT_EOF
8519      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8520      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8521      _lt_result=$?
8522      if test -s conftest.err && $GREP force_load conftest.err; then
8523	cat conftest.err >&5
8524      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8525	lt_cv_ld_force_load=yes
8526      else
8527	cat conftest.err >&5
8528      fi
8529        rm -f conftest.err libconftest.a conftest conftest.c
8530        rm -rf conftest.dSYM
8531
8532fi
8533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8534$as_echo "$lt_cv_ld_force_load" >&6; }
8535    case $host_os in
8536    rhapsody* | darwin1.[012])
8537      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8538    darwin1.*)
8539      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8540    darwin*) # darwin 5.x on
8541      # if running on 10.5 or later, the deployment target defaults
8542      # to the OS version, if on x86, and 10.4, the deployment
8543      # target defaults to 10.4. Don't you love it?
8544      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8545	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8546	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8547	10.[012][,.]*)
8548	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8549	10.*)
8550	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8551      esac
8552    ;;
8553  esac
8554    if test yes = "$lt_cv_apple_cc_single_mod"; then
8555      _lt_dar_single_mod='$single_module'
8556    fi
8557    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8558      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8559    else
8560      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8561    fi
8562    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8563      _lt_dsymutil='~$DSYMUTIL $lib || :'
8564    else
8565      _lt_dsymutil=
8566    fi
8567    ;;
8568  esac
8569
8570# func_munge_path_list VARIABLE PATH
8571# -----------------------------------
8572# VARIABLE is name of variable containing _space_ separated list of
8573# directories to be munged by the contents of PATH, which is string
8574# having a format:
8575# "DIR[:DIR]:"
8576#       string "DIR[ DIR]" will be prepended to VARIABLE
8577# ":DIR[:DIR]"
8578#       string "DIR[ DIR]" will be appended to VARIABLE
8579# "DIRP[:DIRP]::[DIRA:]DIRA"
8580#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8581#       "DIRA[ DIRA]" will be appended to VARIABLE
8582# "DIR[:DIR]"
8583#       VARIABLE will be replaced by "DIR[ DIR]"
8584func_munge_path_list ()
8585{
8586    case x$2 in
8587    x)
8588        ;;
8589    *:)
8590        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8591        ;;
8592    x:*)
8593        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8594        ;;
8595    *::*)
8596        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8597        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8598        ;;
8599    *)
8600        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8601        ;;
8602    esac
8603}
8604
8605ac_ext=c
8606ac_cpp='$CPP $CPPFLAGS'
8607ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8608ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8609ac_compiler_gnu=$ac_cv_c_compiler_gnu
8610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8611$as_echo_n "checking how to run the C preprocessor... " >&6; }
8612# On Suns, sometimes $CPP names a directory.
8613if test -n "$CPP" && test -d "$CPP"; then
8614  CPP=
8615fi
8616if test -z "$CPP"; then
8617  if ${ac_cv_prog_CPP+:} false; then :
8618  $as_echo_n "(cached) " >&6
8619else
8620      # Double quotes because CPP needs to be expanded
8621    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8622    do
8623      ac_preproc_ok=false
8624for ac_c_preproc_warn_flag in '' yes
8625do
8626  # Use a header file that comes with gcc, so configuring glibc
8627  # with a fresh cross-compiler works.
8628  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8629  # <limits.h> exists even on freestanding compilers.
8630  # On the NeXT, cc -E runs the code through the compiler's parser,
8631  # not just through cpp. "Syntax error" is here to catch this case.
8632  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8633/* end confdefs.h.  */
8634#ifdef __STDC__
8635# include <limits.h>
8636#else
8637# include <assert.h>
8638#endif
8639		     Syntax error
8640_ACEOF
8641if ac_fn_c_try_cpp "$LINENO"; then :
8642
8643else
8644  # Broken: fails on valid input.
8645continue
8646fi
8647rm -f conftest.err conftest.i conftest.$ac_ext
8648
8649  # OK, works on sane cases.  Now check whether nonexistent headers
8650  # can be detected and how.
8651  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8652/* end confdefs.h.  */
8653#include <ac_nonexistent.h>
8654_ACEOF
8655if ac_fn_c_try_cpp "$LINENO"; then :
8656  # Broken: success on invalid input.
8657continue
8658else
8659  # Passes both tests.
8660ac_preproc_ok=:
8661break
8662fi
8663rm -f conftest.err conftest.i conftest.$ac_ext
8664
8665done
8666# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8667rm -f conftest.i conftest.err conftest.$ac_ext
8668if $ac_preproc_ok; then :
8669  break
8670fi
8671
8672    done
8673    ac_cv_prog_CPP=$CPP
8674
8675fi
8676  CPP=$ac_cv_prog_CPP
8677else
8678  ac_cv_prog_CPP=$CPP
8679fi
8680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8681$as_echo "$CPP" >&6; }
8682ac_preproc_ok=false
8683for ac_c_preproc_warn_flag in '' yes
8684do
8685  # Use a header file that comes with gcc, so configuring glibc
8686  # with a fresh cross-compiler works.
8687  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8688  # <limits.h> exists even on freestanding compilers.
8689  # On the NeXT, cc -E runs the code through the compiler's parser,
8690  # not just through cpp. "Syntax error" is here to catch this case.
8691  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8692/* end confdefs.h.  */
8693#ifdef __STDC__
8694# include <limits.h>
8695#else
8696# include <assert.h>
8697#endif
8698		     Syntax error
8699_ACEOF
8700if ac_fn_c_try_cpp "$LINENO"; then :
8701
8702else
8703  # Broken: fails on valid input.
8704continue
8705fi
8706rm -f conftest.err conftest.i conftest.$ac_ext
8707
8708  # OK, works on sane cases.  Now check whether nonexistent headers
8709  # can be detected and how.
8710  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8711/* end confdefs.h.  */
8712#include <ac_nonexistent.h>
8713_ACEOF
8714if ac_fn_c_try_cpp "$LINENO"; then :
8715  # Broken: success on invalid input.
8716continue
8717else
8718  # Passes both tests.
8719ac_preproc_ok=:
8720break
8721fi
8722rm -f conftest.err conftest.i conftest.$ac_ext
8723
8724done
8725# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8726rm -f conftest.i conftest.err conftest.$ac_ext
8727if $ac_preproc_ok; then :
8728
8729else
8730  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8731$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8732as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8733See \`config.log' for more details" "$LINENO" 5; }
8734fi
8735
8736ac_ext=c
8737ac_cpp='$CPP $CPPFLAGS'
8738ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8739ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8740ac_compiler_gnu=$ac_cv_c_compiler_gnu
8741
8742
8743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8744$as_echo_n "checking for ANSI C header files... " >&6; }
8745if ${ac_cv_header_stdc+:} false; then :
8746  $as_echo_n "(cached) " >&6
8747else
8748  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8749/* end confdefs.h.  */
8750#include <stdlib.h>
8751#include <stdarg.h>
8752#include <string.h>
8753#include <float.h>
8754
8755int
8756main ()
8757{
8758
8759  ;
8760  return 0;
8761}
8762_ACEOF
8763if ac_fn_c_try_compile "$LINENO"; then :
8764  ac_cv_header_stdc=yes
8765else
8766  ac_cv_header_stdc=no
8767fi
8768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8769
8770if test $ac_cv_header_stdc = yes; then
8771  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8772  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8773/* end confdefs.h.  */
8774#include <string.h>
8775
8776_ACEOF
8777if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8778  $EGREP "memchr" >/dev/null 2>&1; then :
8779
8780else
8781  ac_cv_header_stdc=no
8782fi
8783rm -f conftest*
8784
8785fi
8786
8787if test $ac_cv_header_stdc = yes; then
8788  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8789  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8790/* end confdefs.h.  */
8791#include <stdlib.h>
8792
8793_ACEOF
8794if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8795  $EGREP "free" >/dev/null 2>&1; then :
8796
8797else
8798  ac_cv_header_stdc=no
8799fi
8800rm -f conftest*
8801
8802fi
8803
8804if test $ac_cv_header_stdc = yes; then
8805  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8806  if test "$cross_compiling" = yes; then :
8807  :
8808else
8809  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8810/* end confdefs.h.  */
8811#include <ctype.h>
8812#include <stdlib.h>
8813#if ((' ' & 0x0FF) == 0x020)
8814# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8815# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8816#else
8817# define ISLOWER(c) \
8818		   (('a' <= (c) && (c) <= 'i') \
8819		     || ('j' <= (c) && (c) <= 'r') \
8820		     || ('s' <= (c) && (c) <= 'z'))
8821# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8822#endif
8823
8824#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8825int
8826main ()
8827{
8828  int i;
8829  for (i = 0; i < 256; i++)
8830    if (XOR (islower (i), ISLOWER (i))
8831	|| toupper (i) != TOUPPER (i))
8832      return 2;
8833  return 0;
8834}
8835_ACEOF
8836if ac_fn_c_try_run "$LINENO"; then :
8837
8838else
8839  ac_cv_header_stdc=no
8840fi
8841rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8842  conftest.$ac_objext conftest.beam conftest.$ac_ext
8843fi
8844
8845fi
8846fi
8847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8848$as_echo "$ac_cv_header_stdc" >&6; }
8849if test $ac_cv_header_stdc = yes; then
8850
8851$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8852
8853fi
8854
8855# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8856for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8857		  inttypes.h stdint.h unistd.h
8858do :
8859  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8860ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8861"
8862if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8863  cat >>confdefs.h <<_ACEOF
8864#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8865_ACEOF
8866
8867fi
8868
8869done
8870
8871
8872for ac_header in dlfcn.h
8873do :
8874  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8875"
8876if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8877  cat >>confdefs.h <<_ACEOF
8878#define HAVE_DLFCN_H 1
8879_ACEOF
8880
8881fi
8882
8883done
8884
8885
8886
8887
8888
8889# Set options
8890
8891
8892
8893        enable_dlopen=no
8894
8895
8896  enable_win32_dll=no
8897
8898
8899            # Check whether --enable-shared was given.
8900if test "${enable_shared+set}" = set; then :
8901  enableval=$enable_shared; p=${PACKAGE-default}
8902    case $enableval in
8903    yes) enable_shared=yes ;;
8904    no) enable_shared=no ;;
8905    *)
8906      enable_shared=no
8907      # Look at the argument we got.  We use all the common list separators.
8908      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8909      for pkg in $enableval; do
8910	IFS=$lt_save_ifs
8911	if test "X$pkg" = "X$p"; then
8912	  enable_shared=yes
8913	fi
8914      done
8915      IFS=$lt_save_ifs
8916      ;;
8917    esac
8918else
8919  enable_shared=yes
8920fi
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930  # Check whether --enable-static was given.
8931if test "${enable_static+set}" = set; then :
8932  enableval=$enable_static; p=${PACKAGE-default}
8933    case $enableval in
8934    yes) enable_static=yes ;;
8935    no) enable_static=no ;;
8936    *)
8937     enable_static=no
8938      # Look at the argument we got.  We use all the common list separators.
8939      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8940      for pkg in $enableval; do
8941	IFS=$lt_save_ifs
8942	if test "X$pkg" = "X$p"; then
8943	  enable_static=yes
8944	fi
8945      done
8946      IFS=$lt_save_ifs
8947      ;;
8948    esac
8949else
8950  enable_static=yes
8951fi
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962# Check whether --with-pic was given.
8963if test "${with_pic+set}" = set; then :
8964  withval=$with_pic; lt_p=${PACKAGE-default}
8965    case $withval in
8966    yes|no) pic_mode=$withval ;;
8967    *)
8968      pic_mode=default
8969      # Look at the argument we got.  We use all the common list separators.
8970      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8971      for lt_pkg in $withval; do
8972	IFS=$lt_save_ifs
8973	if test "X$lt_pkg" = "X$lt_p"; then
8974	  pic_mode=yes
8975	fi
8976      done
8977      IFS=$lt_save_ifs
8978      ;;
8979    esac
8980else
8981  pic_mode=default
8982fi
8983
8984
8985
8986
8987
8988
8989
8990
8991  # Check whether --enable-fast-install was given.
8992if test "${enable_fast_install+set}" = set; then :
8993  enableval=$enable_fast_install; p=${PACKAGE-default}
8994    case $enableval in
8995    yes) enable_fast_install=yes ;;
8996    no) enable_fast_install=no ;;
8997    *)
8998      enable_fast_install=no
8999      # Look at the argument we got.  We use all the common list separators.
9000      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9001      for pkg in $enableval; do
9002	IFS=$lt_save_ifs
9003	if test "X$pkg" = "X$p"; then
9004	  enable_fast_install=yes
9005	fi
9006      done
9007      IFS=$lt_save_ifs
9008      ;;
9009    esac
9010else
9011  enable_fast_install=yes
9012fi
9013
9014
9015
9016
9017
9018
9019
9020
9021  shared_archive_member_spec=
9022case $host,$enable_shared in
9023power*-*-aix[5-9]*,yes)
9024  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9025$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9026
9027# Check whether --with-aix-soname was given.
9028if test "${with_aix_soname+set}" = set; then :
9029  withval=$with_aix_soname; case $withval in
9030    aix|svr4|both)
9031      ;;
9032    *)
9033      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9034      ;;
9035    esac
9036    lt_cv_with_aix_soname=$with_aix_soname
9037else
9038  if ${lt_cv_with_aix_soname+:} false; then :
9039  $as_echo_n "(cached) " >&6
9040else
9041  lt_cv_with_aix_soname=aix
9042fi
9043
9044    with_aix_soname=$lt_cv_with_aix_soname
9045fi
9046
9047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9048$as_echo "$with_aix_soname" >&6; }
9049  if test aix != "$with_aix_soname"; then
9050    # For the AIX way of multilib, we name the shared archive member
9051    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9052    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9053    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9054    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9055    if test 64 = "${OBJECT_MODE-32}"; then
9056      shared_archive_member_spec=shr_64
9057    else
9058      shared_archive_member_spec=shr
9059    fi
9060  fi
9061  ;;
9062*)
9063  with_aix_soname=aix
9064  ;;
9065esac
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076# This can be used to rebuild libtool when needed
9077LIBTOOL_DEPS=$ltmain
9078
9079# Always use our own libtool.
9080LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111test -z "$LN_S" && LN_S="ln -s"
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126if test -n "${ZSH_VERSION+set}"; then
9127   setopt NO_GLOB_SUBST
9128fi
9129
9130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9131$as_echo_n "checking for objdir... " >&6; }
9132if ${lt_cv_objdir+:} false; then :
9133  $as_echo_n "(cached) " >&6
9134else
9135  rm -f .libs 2>/dev/null
9136mkdir .libs 2>/dev/null
9137if test -d .libs; then
9138  lt_cv_objdir=.libs
9139else
9140  # MS-DOS does not allow filenames that begin with a dot.
9141  lt_cv_objdir=_libs
9142fi
9143rmdir .libs 2>/dev/null
9144fi
9145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9146$as_echo "$lt_cv_objdir" >&6; }
9147objdir=$lt_cv_objdir
9148
9149
9150
9151
9152
9153cat >>confdefs.h <<_ACEOF
9154#define LT_OBJDIR "$lt_cv_objdir/"
9155_ACEOF
9156
9157
9158
9159
9160case $host_os in
9161aix3*)
9162  # AIX sometimes has problems with the GCC collect2 program.  For some
9163  # reason, if we set the COLLECT_NAMES environment variable, the problems
9164  # vanish in a puff of smoke.
9165  if test set != "${COLLECT_NAMES+set}"; then
9166    COLLECT_NAMES=
9167    export COLLECT_NAMES
9168  fi
9169  ;;
9170esac
9171
9172# Global variables:
9173ofile=libtool
9174can_build_shared=yes
9175
9176# All known linkers require a '.a' archive for static linking (except MSVC,
9177# which needs '.lib').
9178libext=a
9179
9180with_gnu_ld=$lt_cv_prog_gnu_ld
9181
9182old_CC=$CC
9183old_CFLAGS=$CFLAGS
9184
9185# Set sane defaults for various variables
9186test -z "$CC" && CC=cc
9187test -z "$LTCC" && LTCC=$CC
9188test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9189test -z "$LD" && LD=ld
9190test -z "$ac_objext" && ac_objext=o
9191
9192func_cc_basename $compiler
9193cc_basename=$func_cc_basename_result
9194
9195
9196# Only perform the check for file, if the check method requires it
9197test -z "$MAGIC_CMD" && MAGIC_CMD=file
9198case $deplibs_check_method in
9199file_magic*)
9200  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9201    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9202$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9203if ${lt_cv_path_MAGIC_CMD+:} false; then :
9204  $as_echo_n "(cached) " >&6
9205else
9206  case $MAGIC_CMD in
9207[\\/*] |  ?:[\\/]*)
9208  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9209  ;;
9210*)
9211  lt_save_MAGIC_CMD=$MAGIC_CMD
9212  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9213  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9214  for ac_dir in $ac_dummy; do
9215    IFS=$lt_save_ifs
9216    test -z "$ac_dir" && ac_dir=.
9217    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9218      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9219      if test -n "$file_magic_test_file"; then
9220	case $deplibs_check_method in
9221	"file_magic "*)
9222	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9223	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9224	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9225	    $EGREP "$file_magic_regex" > /dev/null; then
9226	    :
9227	  else
9228	    cat <<_LT_EOF 1>&2
9229
9230*** Warning: the command libtool uses to detect shared libraries,
9231*** $file_magic_cmd, produces output that libtool cannot recognize.
9232*** The result is that libtool may fail to recognize shared libraries
9233*** as such.  This will affect the creation of libtool libraries that
9234*** depend on shared libraries, but programs linked with such libtool
9235*** libraries will work regardless of this problem.  Nevertheless, you
9236*** may want to report the problem to your system manager and/or to
9237*** bug-libtool@gnu.org
9238
9239_LT_EOF
9240	  fi ;;
9241	esac
9242      fi
9243      break
9244    fi
9245  done
9246  IFS=$lt_save_ifs
9247  MAGIC_CMD=$lt_save_MAGIC_CMD
9248  ;;
9249esac
9250fi
9251
9252MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9253if test -n "$MAGIC_CMD"; then
9254  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9255$as_echo "$MAGIC_CMD" >&6; }
9256else
9257  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9258$as_echo "no" >&6; }
9259fi
9260
9261
9262
9263
9264
9265if test -z "$lt_cv_path_MAGIC_CMD"; then
9266  if test -n "$ac_tool_prefix"; then
9267    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9268$as_echo_n "checking for file... " >&6; }
9269if ${lt_cv_path_MAGIC_CMD+:} false; then :
9270  $as_echo_n "(cached) " >&6
9271else
9272  case $MAGIC_CMD in
9273[\\/*] |  ?:[\\/]*)
9274  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9275  ;;
9276*)
9277  lt_save_MAGIC_CMD=$MAGIC_CMD
9278  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9279  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9280  for ac_dir in $ac_dummy; do
9281    IFS=$lt_save_ifs
9282    test -z "$ac_dir" && ac_dir=.
9283    if test -f "$ac_dir/file"; then
9284      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9285      if test -n "$file_magic_test_file"; then
9286	case $deplibs_check_method in
9287	"file_magic "*)
9288	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9289	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9290	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9291	    $EGREP "$file_magic_regex" > /dev/null; then
9292	    :
9293	  else
9294	    cat <<_LT_EOF 1>&2
9295
9296*** Warning: the command libtool uses to detect shared libraries,
9297*** $file_magic_cmd, produces output that libtool cannot recognize.
9298*** The result is that libtool may fail to recognize shared libraries
9299*** as such.  This will affect the creation of libtool libraries that
9300*** depend on shared libraries, but programs linked with such libtool
9301*** libraries will work regardless of this problem.  Nevertheless, you
9302*** may want to report the problem to your system manager and/or to
9303*** bug-libtool@gnu.org
9304
9305_LT_EOF
9306	  fi ;;
9307	esac
9308      fi
9309      break
9310    fi
9311  done
9312  IFS=$lt_save_ifs
9313  MAGIC_CMD=$lt_save_MAGIC_CMD
9314  ;;
9315esac
9316fi
9317
9318MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9319if test -n "$MAGIC_CMD"; then
9320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9321$as_echo "$MAGIC_CMD" >&6; }
9322else
9323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9324$as_echo "no" >&6; }
9325fi
9326
9327
9328  else
9329    MAGIC_CMD=:
9330  fi
9331fi
9332
9333  fi
9334  ;;
9335esac
9336
9337# Use C for the default configuration in the libtool script
9338
9339lt_save_CC=$CC
9340ac_ext=c
9341ac_cpp='$CPP $CPPFLAGS'
9342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9344ac_compiler_gnu=$ac_cv_c_compiler_gnu
9345
9346
9347# Source file extension for C test sources.
9348ac_ext=c
9349
9350# Object file extension for compiled C test sources.
9351objext=o
9352objext=$objext
9353
9354# Code to be used in simple compile tests
9355lt_simple_compile_test_code="int some_variable = 0;"
9356
9357# Code to be used in simple link tests
9358lt_simple_link_test_code='int main(){return(0);}'
9359
9360
9361
9362
9363
9364
9365
9366# If no C compiler was specified, use CC.
9367LTCC=${LTCC-"$CC"}
9368
9369# If no C compiler flags were specified, use CFLAGS.
9370LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9371
9372# Allow CC to be a program name with arguments.
9373compiler=$CC
9374
9375# Save the default compiler, since it gets overwritten when the other
9376# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9377compiler_DEFAULT=$CC
9378
9379# save warnings/boilerplate of simple test code
9380ac_outfile=conftest.$ac_objext
9381echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9382eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9383_lt_compiler_boilerplate=`cat conftest.err`
9384$RM conftest*
9385
9386ac_outfile=conftest.$ac_objext
9387echo "$lt_simple_link_test_code" >conftest.$ac_ext
9388eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9389_lt_linker_boilerplate=`cat conftest.err`
9390$RM -r conftest*
9391
9392
9393## CAVEAT EMPTOR:
9394## There is no encapsulation within the following macros, do not change
9395## the running order or otherwise move them around unless you know exactly
9396## what you are doing...
9397if test -n "$compiler"; then
9398
9399lt_prog_compiler_no_builtin_flag=
9400
9401if test yes = "$GCC"; then
9402  case $cc_basename in
9403  nvcc*)
9404    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9405  *)
9406    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9407  esac
9408
9409  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9410$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9411if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9412  $as_echo_n "(cached) " >&6
9413else
9414  lt_cv_prog_compiler_rtti_exceptions=no
9415   ac_outfile=conftest.$ac_objext
9416   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9417   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9418   # Insert the option either (1) after the last *FLAGS variable, or
9419   # (2) before a word containing "conftest.", or (3) at the end.
9420   # Note that $ac_compile itself does not contain backslashes and begins
9421   # with a dollar sign (not a hyphen), so the echo should work correctly.
9422   # The option is referenced via a variable to avoid confusing sed.
9423   lt_compile=`echo "$ac_compile" | $SED \
9424   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9425   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9426   -e 's:$: $lt_compiler_flag:'`
9427   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9428   (eval "$lt_compile" 2>conftest.err)
9429   ac_status=$?
9430   cat conftest.err >&5
9431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432   if (exit $ac_status) && test -s "$ac_outfile"; then
9433     # The compiler can only warn and ignore the option if not recognized
9434     # So say no if there are warnings other than the usual output.
9435     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9436     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9437     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9438       lt_cv_prog_compiler_rtti_exceptions=yes
9439     fi
9440   fi
9441   $RM conftest*
9442
9443fi
9444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9445$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9446
9447if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9448    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9449else
9450    :
9451fi
9452
9453fi
9454
9455
9456
9457
9458
9459
9460  lt_prog_compiler_wl=
9461lt_prog_compiler_pic=
9462lt_prog_compiler_static=
9463
9464
9465  if test yes = "$GCC"; then
9466    lt_prog_compiler_wl='-Wl,'
9467    lt_prog_compiler_static='-static'
9468
9469    case $host_os in
9470      aix*)
9471      # All AIX code is PIC.
9472      if test ia64 = "$host_cpu"; then
9473	# AIX 5 now supports IA64 processor
9474	lt_prog_compiler_static='-Bstatic'
9475      fi
9476      lt_prog_compiler_pic='-fPIC'
9477      ;;
9478
9479    amigaos*)
9480      case $host_cpu in
9481      powerpc)
9482            # see comment about AmigaOS4 .so support
9483            lt_prog_compiler_pic='-fPIC'
9484        ;;
9485      m68k)
9486            # FIXME: we need at least 68020 code to build shared libraries, but
9487            # adding the '-m68020' flag to GCC prevents building anything better,
9488            # like '-m68040'.
9489            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9490        ;;
9491      esac
9492      ;;
9493
9494    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9495      # PIC is the default for these OSes.
9496      ;;
9497
9498    mingw* | cygwin* | pw32* | os2* | cegcc*)
9499      # This hack is so that the source file can tell whether it is being
9500      # built for inclusion in a dll (and should export symbols for example).
9501      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9502      # (--disable-auto-import) libraries
9503      lt_prog_compiler_pic='-DDLL_EXPORT'
9504      case $host_os in
9505      os2*)
9506	lt_prog_compiler_static='$wl-static'
9507	;;
9508      esac
9509      ;;
9510
9511    darwin* | rhapsody*)
9512      # PIC is the default on this platform
9513      # Common symbols not allowed in MH_DYLIB files
9514      lt_prog_compiler_pic='-fno-common'
9515      ;;
9516
9517    haiku*)
9518      # PIC is the default for Haiku.
9519      # The "-static" flag exists, but is broken.
9520      lt_prog_compiler_static=
9521      ;;
9522
9523    hpux*)
9524      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9525      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9526      # sets the default TLS model and affects inlining.
9527      case $host_cpu in
9528      hppa*64*)
9529	# +Z the default
9530	;;
9531      *)
9532	lt_prog_compiler_pic='-fPIC'
9533	;;
9534      esac
9535      ;;
9536
9537    interix[3-9]*)
9538      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9539      # Instead, we relocate shared libraries at runtime.
9540      ;;
9541
9542    msdosdjgpp*)
9543      # Just because we use GCC doesn't mean we suddenly get shared libraries
9544      # on systems that don't support them.
9545      lt_prog_compiler_can_build_shared=no
9546      enable_shared=no
9547      ;;
9548
9549    *nto* | *qnx*)
9550      # QNX uses GNU C++, but need to define -shared option too, otherwise
9551      # it will coredump.
9552      lt_prog_compiler_pic='-fPIC -shared'
9553      ;;
9554
9555    sysv4*MP*)
9556      if test -d /usr/nec; then
9557	lt_prog_compiler_pic=-Kconform_pic
9558      fi
9559      ;;
9560
9561    *)
9562      lt_prog_compiler_pic='-fPIC'
9563      ;;
9564    esac
9565
9566    case $cc_basename in
9567    nvcc*) # Cuda Compiler Driver 2.2
9568      lt_prog_compiler_wl='-Xlinker '
9569      if test -n "$lt_prog_compiler_pic"; then
9570        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9571      fi
9572      ;;
9573    esac
9574  else
9575    # PORTME Check for flag to pass linker flags through the system compiler.
9576    case $host_os in
9577    aix*)
9578      lt_prog_compiler_wl='-Wl,'
9579      if test ia64 = "$host_cpu"; then
9580	# AIX 5 now supports IA64 processor
9581	lt_prog_compiler_static='-Bstatic'
9582      else
9583	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9584      fi
9585      ;;
9586
9587    darwin* | rhapsody*)
9588      # PIC is the default on this platform
9589      # Common symbols not allowed in MH_DYLIB files
9590      lt_prog_compiler_pic='-fno-common'
9591      case $cc_basename in
9592      nagfor*)
9593        # NAG Fortran compiler
9594        lt_prog_compiler_wl='-Wl,-Wl,,'
9595        lt_prog_compiler_pic='-PIC'
9596        lt_prog_compiler_static='-Bstatic'
9597        ;;
9598      esac
9599      ;;
9600
9601    mingw* | cygwin* | pw32* | os2* | cegcc*)
9602      # This hack is so that the source file can tell whether it is being
9603      # built for inclusion in a dll (and should export symbols for example).
9604      lt_prog_compiler_pic='-DDLL_EXPORT'
9605      case $host_os in
9606      os2*)
9607	lt_prog_compiler_static='$wl-static'
9608	;;
9609      esac
9610      ;;
9611
9612    hpux9* | hpux10* | hpux11*)
9613      lt_prog_compiler_wl='-Wl,'
9614      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9615      # not for PA HP-UX.
9616      case $host_cpu in
9617      hppa*64*|ia64*)
9618	# +Z the default
9619	;;
9620      *)
9621	lt_prog_compiler_pic='+Z'
9622	;;
9623      esac
9624      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9625      lt_prog_compiler_static='$wl-a ${wl}archive'
9626      ;;
9627
9628    irix5* | irix6* | nonstopux*)
9629      lt_prog_compiler_wl='-Wl,'
9630      # PIC (with -KPIC) is the default.
9631      lt_prog_compiler_static='-non_shared'
9632      ;;
9633
9634    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9635      case $cc_basename in
9636      # old Intel for x86_64, which still supported -KPIC.
9637      ecc*)
9638	lt_prog_compiler_wl='-Wl,'
9639	lt_prog_compiler_pic='-KPIC'
9640	lt_prog_compiler_static='-static'
9641        ;;
9642      # icc used to be incompatible with GCC.
9643      # ICC 10 doesn't accept -KPIC any more.
9644      icc* | ifort*)
9645	lt_prog_compiler_wl='-Wl,'
9646	lt_prog_compiler_pic='-fPIC'
9647	lt_prog_compiler_static='-static'
9648        ;;
9649      # Lahey Fortran 8.1.
9650      lf95*)
9651	lt_prog_compiler_wl='-Wl,'
9652	lt_prog_compiler_pic='--shared'
9653	lt_prog_compiler_static='--static'
9654	;;
9655      nagfor*)
9656	# NAG Fortran compiler
9657	lt_prog_compiler_wl='-Wl,-Wl,,'
9658	lt_prog_compiler_pic='-PIC'
9659	lt_prog_compiler_static='-Bstatic'
9660	;;
9661      tcc*)
9662	# Fabrice Bellard et al's Tiny C Compiler
9663	lt_prog_compiler_wl='-Wl,'
9664	lt_prog_compiler_pic='-fPIC'
9665	lt_prog_compiler_static='-static'
9666	;;
9667      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9668        # Portland Group compilers (*not* the Pentium gcc compiler,
9669	# which looks to be a dead project)
9670	lt_prog_compiler_wl='-Wl,'
9671	lt_prog_compiler_pic='-fpic'
9672	lt_prog_compiler_static='-Bstatic'
9673        ;;
9674      ccc*)
9675        lt_prog_compiler_wl='-Wl,'
9676        # All Alpha code is PIC.
9677        lt_prog_compiler_static='-non_shared'
9678        ;;
9679      xl* | bgxl* | bgf* | mpixl*)
9680	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9681	lt_prog_compiler_wl='-Wl,'
9682	lt_prog_compiler_pic='-qpic'
9683	lt_prog_compiler_static='-qstaticlink'
9684	;;
9685      *)
9686	case `$CC -V 2>&1 | sed 5q` in
9687	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9688	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9689	  lt_prog_compiler_pic='-KPIC'
9690	  lt_prog_compiler_static='-Bstatic'
9691	  lt_prog_compiler_wl=''
9692	  ;;
9693	*Sun\ F* | *Sun*Fortran*)
9694	  lt_prog_compiler_pic='-KPIC'
9695	  lt_prog_compiler_static='-Bstatic'
9696	  lt_prog_compiler_wl='-Qoption ld '
9697	  ;;
9698	*Sun\ C*)
9699	  # Sun C 5.9
9700	  lt_prog_compiler_pic='-KPIC'
9701	  lt_prog_compiler_static='-Bstatic'
9702	  lt_prog_compiler_wl='-Wl,'
9703	  ;;
9704        *Intel*\ [CF]*Compiler*)
9705	  lt_prog_compiler_wl='-Wl,'
9706	  lt_prog_compiler_pic='-fPIC'
9707	  lt_prog_compiler_static='-static'
9708	  ;;
9709	*Portland\ Group*)
9710	  lt_prog_compiler_wl='-Wl,'
9711	  lt_prog_compiler_pic='-fpic'
9712	  lt_prog_compiler_static='-Bstatic'
9713	  ;;
9714	esac
9715	;;
9716      esac
9717      ;;
9718
9719    newsos6)
9720      lt_prog_compiler_pic='-KPIC'
9721      lt_prog_compiler_static='-Bstatic'
9722      ;;
9723
9724    *nto* | *qnx*)
9725      # QNX uses GNU C++, but need to define -shared option too, otherwise
9726      # it will coredump.
9727      lt_prog_compiler_pic='-fPIC -shared'
9728      ;;
9729
9730    osf3* | osf4* | osf5*)
9731      lt_prog_compiler_wl='-Wl,'
9732      # All OSF/1 code is PIC.
9733      lt_prog_compiler_static='-non_shared'
9734      ;;
9735
9736    rdos*)
9737      lt_prog_compiler_static='-non_shared'
9738      ;;
9739
9740    solaris*)
9741      lt_prog_compiler_pic='-KPIC'
9742      lt_prog_compiler_static='-Bstatic'
9743      case $cc_basename in
9744      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9745	lt_prog_compiler_wl='-Qoption ld ';;
9746      *)
9747	lt_prog_compiler_wl='-Wl,';;
9748      esac
9749      ;;
9750
9751    sunos4*)
9752      lt_prog_compiler_wl='-Qoption ld '
9753      lt_prog_compiler_pic='-PIC'
9754      lt_prog_compiler_static='-Bstatic'
9755      ;;
9756
9757    sysv4 | sysv4.2uw2* | sysv4.3*)
9758      lt_prog_compiler_wl='-Wl,'
9759      lt_prog_compiler_pic='-KPIC'
9760      lt_prog_compiler_static='-Bstatic'
9761      ;;
9762
9763    sysv4*MP*)
9764      if test -d /usr/nec; then
9765	lt_prog_compiler_pic='-Kconform_pic'
9766	lt_prog_compiler_static='-Bstatic'
9767      fi
9768      ;;
9769
9770    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9771      lt_prog_compiler_wl='-Wl,'
9772      lt_prog_compiler_pic='-KPIC'
9773      lt_prog_compiler_static='-Bstatic'
9774      ;;
9775
9776    unicos*)
9777      lt_prog_compiler_wl='-Wl,'
9778      lt_prog_compiler_can_build_shared=no
9779      ;;
9780
9781    uts4*)
9782      lt_prog_compiler_pic='-pic'
9783      lt_prog_compiler_static='-Bstatic'
9784      ;;
9785
9786    *)
9787      lt_prog_compiler_can_build_shared=no
9788      ;;
9789    esac
9790  fi
9791
9792case $host_os in
9793  # For platforms that do not support PIC, -DPIC is meaningless:
9794  *djgpp*)
9795    lt_prog_compiler_pic=
9796    ;;
9797  *)
9798    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9799    ;;
9800esac
9801
9802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9803$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9804if ${lt_cv_prog_compiler_pic+:} false; then :
9805  $as_echo_n "(cached) " >&6
9806else
9807  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9808fi
9809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9810$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9811lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9812
9813#
9814# Check to make sure the PIC flag actually works.
9815#
9816if test -n "$lt_prog_compiler_pic"; then
9817  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9818$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9819if ${lt_cv_prog_compiler_pic_works+:} false; then :
9820  $as_echo_n "(cached) " >&6
9821else
9822  lt_cv_prog_compiler_pic_works=no
9823   ac_outfile=conftest.$ac_objext
9824   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9825   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9826   # Insert the option either (1) after the last *FLAGS variable, or
9827   # (2) before a word containing "conftest.", or (3) at the end.
9828   # Note that $ac_compile itself does not contain backslashes and begins
9829   # with a dollar sign (not a hyphen), so the echo should work correctly.
9830   # The option is referenced via a variable to avoid confusing sed.
9831   lt_compile=`echo "$ac_compile" | $SED \
9832   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9833   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9834   -e 's:$: $lt_compiler_flag:'`
9835   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9836   (eval "$lt_compile" 2>conftest.err)
9837   ac_status=$?
9838   cat conftest.err >&5
9839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840   if (exit $ac_status) && test -s "$ac_outfile"; then
9841     # The compiler can only warn and ignore the option if not recognized
9842     # So say no if there are warnings other than the usual output.
9843     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9844     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9845     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9846       lt_cv_prog_compiler_pic_works=yes
9847     fi
9848   fi
9849   $RM conftest*
9850
9851fi
9852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9853$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9854
9855if test yes = "$lt_cv_prog_compiler_pic_works"; then
9856    case $lt_prog_compiler_pic in
9857     "" | " "*) ;;
9858     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9859     esac
9860else
9861    lt_prog_compiler_pic=
9862     lt_prog_compiler_can_build_shared=no
9863fi
9864
9865fi
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877#
9878# Check to make sure the static flag actually works.
9879#
9880wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9882$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9883if ${lt_cv_prog_compiler_static_works+:} false; then :
9884  $as_echo_n "(cached) " >&6
9885else
9886  lt_cv_prog_compiler_static_works=no
9887   save_LDFLAGS=$LDFLAGS
9888   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9889   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9890   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9891     # The linker can only warn and ignore the option if not recognized
9892     # So say no if there are warnings
9893     if test -s conftest.err; then
9894       # Append any errors to the config.log.
9895       cat conftest.err 1>&5
9896       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9897       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9898       if diff conftest.exp conftest.er2 >/dev/null; then
9899         lt_cv_prog_compiler_static_works=yes
9900       fi
9901     else
9902       lt_cv_prog_compiler_static_works=yes
9903     fi
9904   fi
9905   $RM -r conftest*
9906   LDFLAGS=$save_LDFLAGS
9907
9908fi
9909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9910$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9911
9912if test yes = "$lt_cv_prog_compiler_static_works"; then
9913    :
9914else
9915    lt_prog_compiler_static=
9916fi
9917
9918
9919
9920
9921
9922
9923
9924  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9925$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9926if ${lt_cv_prog_compiler_c_o+:} false; then :
9927  $as_echo_n "(cached) " >&6
9928else
9929  lt_cv_prog_compiler_c_o=no
9930   $RM -r conftest 2>/dev/null
9931   mkdir conftest
9932   cd conftest
9933   mkdir out
9934   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9935
9936   lt_compiler_flag="-o out/conftest2.$ac_objext"
9937   # Insert the option either (1) after the last *FLAGS variable, or
9938   # (2) before a word containing "conftest.", or (3) at the end.
9939   # Note that $ac_compile itself does not contain backslashes and begins
9940   # with a dollar sign (not a hyphen), so the echo should work correctly.
9941   lt_compile=`echo "$ac_compile" | $SED \
9942   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9943   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9944   -e 's:$: $lt_compiler_flag:'`
9945   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9946   (eval "$lt_compile" 2>out/conftest.err)
9947   ac_status=$?
9948   cat out/conftest.err >&5
9949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9951   then
9952     # The compiler can only warn and ignore the option if not recognized
9953     # So say no if there are warnings
9954     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9955     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9956     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9957       lt_cv_prog_compiler_c_o=yes
9958     fi
9959   fi
9960   chmod u+w . 2>&5
9961   $RM conftest*
9962   # SGI C++ compiler will create directory out/ii_files/ for
9963   # template instantiation
9964   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9965   $RM out/* && rmdir out
9966   cd ..
9967   $RM -r conftest
9968   $RM conftest*
9969
9970fi
9971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9972$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9973
9974
9975
9976
9977
9978
9979  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9980$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9981if ${lt_cv_prog_compiler_c_o+:} false; then :
9982  $as_echo_n "(cached) " >&6
9983else
9984  lt_cv_prog_compiler_c_o=no
9985   $RM -r conftest 2>/dev/null
9986   mkdir conftest
9987   cd conftest
9988   mkdir out
9989   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9990
9991   lt_compiler_flag="-o out/conftest2.$ac_objext"
9992   # Insert the option either (1) after the last *FLAGS variable, or
9993   # (2) before a word containing "conftest.", or (3) at the end.
9994   # Note that $ac_compile itself does not contain backslashes and begins
9995   # with a dollar sign (not a hyphen), so the echo should work correctly.
9996   lt_compile=`echo "$ac_compile" | $SED \
9997   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9998   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9999   -e 's:$: $lt_compiler_flag:'`
10000   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10001   (eval "$lt_compile" 2>out/conftest.err)
10002   ac_status=$?
10003   cat out/conftest.err >&5
10004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10005   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10006   then
10007     # The compiler can only warn and ignore the option if not recognized
10008     # So say no if there are warnings
10009     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10010     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10011     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10012       lt_cv_prog_compiler_c_o=yes
10013     fi
10014   fi
10015   chmod u+w . 2>&5
10016   $RM conftest*
10017   # SGI C++ compiler will create directory out/ii_files/ for
10018   # template instantiation
10019   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10020   $RM out/* && rmdir out
10021   cd ..
10022   $RM -r conftest
10023   $RM conftest*
10024
10025fi
10026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10027$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10028
10029
10030
10031
10032hard_links=nottested
10033if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10034  # do not overwrite the value of need_locks provided by the user
10035  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10036$as_echo_n "checking if we can lock with hard links... " >&6; }
10037  hard_links=yes
10038  $RM conftest*
10039  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10040  touch conftest.a
10041  ln conftest.a conftest.b 2>&5 || hard_links=no
10042  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10044$as_echo "$hard_links" >&6; }
10045  if test no = "$hard_links"; then
10046    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10047$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10048    need_locks=warn
10049  fi
10050else
10051  need_locks=no
10052fi
10053
10054
10055
10056
10057
10058
10059  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10060$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10061
10062  runpath_var=
10063  allow_undefined_flag=
10064  always_export_symbols=no
10065  archive_cmds=
10066  archive_expsym_cmds=
10067  compiler_needs_object=no
10068  enable_shared_with_static_runtimes=no
10069  export_dynamic_flag_spec=
10070  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10071  hardcode_automatic=no
10072  hardcode_direct=no
10073  hardcode_direct_absolute=no
10074  hardcode_libdir_flag_spec=
10075  hardcode_libdir_separator=
10076  hardcode_minus_L=no
10077  hardcode_shlibpath_var=unsupported
10078  inherit_rpath=no
10079  link_all_deplibs=unknown
10080  module_cmds=
10081  module_expsym_cmds=
10082  old_archive_from_new_cmds=
10083  old_archive_from_expsyms_cmds=
10084  thread_safe_flag_spec=
10085  whole_archive_flag_spec=
10086  # include_expsyms should be a list of space-separated symbols to be *always*
10087  # included in the symbol list
10088  include_expsyms=
10089  # exclude_expsyms can be an extended regexp of symbols to exclude
10090  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10091  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10092  # as well as any symbol that contains 'd'.
10093  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10094  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10095  # platforms (ab)use it in PIC code, but their linkers get confused if
10096  # the symbol is explicitly referenced.  Since portable code cannot
10097  # rely on this symbol name, it's probably fine to never include it in
10098  # preloaded symbol tables.
10099  # Exclude shared library initialization/finalization symbols.
10100  extract_expsyms_cmds=
10101
10102  case $host_os in
10103  cygwin* | mingw* | pw32* | cegcc*)
10104    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10105    # When not using gcc, we currently assume that we are using
10106    # Microsoft Visual C++.
10107    if test yes != "$GCC"; then
10108      with_gnu_ld=no
10109    fi
10110    ;;
10111  interix*)
10112    # we just hope/assume this is gcc and not c89 (= MSVC++)
10113    with_gnu_ld=yes
10114    ;;
10115  openbsd* | bitrig*)
10116    with_gnu_ld=no
10117    ;;
10118  esac
10119
10120  ld_shlibs=yes
10121
10122  # On some targets, GNU ld is compatible enough with the native linker
10123  # that we're better off using the native interface for both.
10124  lt_use_gnu_ld_interface=no
10125  if test yes = "$with_gnu_ld"; then
10126    case $host_os in
10127      aix*)
10128	# The AIX port of GNU ld has always aspired to compatibility
10129	# with the native linker.  However, as the warning in the GNU ld
10130	# block says, versions before 2.19.5* couldn't really create working
10131	# shared libraries, regardless of the interface used.
10132	case `$LD -v 2>&1` in
10133	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10134	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10135	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10136	  *)
10137	    lt_use_gnu_ld_interface=yes
10138	    ;;
10139	esac
10140	;;
10141      *)
10142	lt_use_gnu_ld_interface=yes
10143	;;
10144    esac
10145  fi
10146
10147  if test yes = "$lt_use_gnu_ld_interface"; then
10148    # If archive_cmds runs LD, not CC, wlarc should be empty
10149    wlarc='$wl'
10150
10151    # Set some defaults for GNU ld with shared library support. These
10152    # are reset later if shared libraries are not supported. Putting them
10153    # here allows them to be overridden if necessary.
10154    runpath_var=LD_RUN_PATH
10155    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10156    export_dynamic_flag_spec='$wl--export-dynamic'
10157    # ancient GNU ld didn't support --whole-archive et. al.
10158    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10159      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10160    else
10161      whole_archive_flag_spec=
10162    fi
10163    supports_anon_versioning=no
10164    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10165      *GNU\ gold*) supports_anon_versioning=yes ;;
10166      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10167      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10168      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10169      *\ 2.11.*) ;; # other 2.11 versions
10170      *) supports_anon_versioning=yes ;;
10171    esac
10172
10173    # See if GNU ld supports shared libraries.
10174    case $host_os in
10175    aix[3-9]*)
10176      # On AIX/PPC, the GNU linker is very broken
10177      if test ia64 != "$host_cpu"; then
10178	ld_shlibs=no
10179	cat <<_LT_EOF 1>&2
10180
10181*** Warning: the GNU linker, at least up to release 2.19, is reported
10182*** to be unable to reliably create shared libraries on AIX.
10183*** Therefore, libtool is disabling shared libraries support.  If you
10184*** really care for shared libraries, you may want to install binutils
10185*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10186*** You will then need to restart the configuration process.
10187
10188_LT_EOF
10189      fi
10190      ;;
10191
10192    amigaos*)
10193      case $host_cpu in
10194      powerpc)
10195            # see comment about AmigaOS4 .so support
10196            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10197            archive_expsym_cmds=''
10198        ;;
10199      m68k)
10200            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)'
10201            hardcode_libdir_flag_spec='-L$libdir'
10202            hardcode_minus_L=yes
10203        ;;
10204      esac
10205      ;;
10206
10207    beos*)
10208      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10209	allow_undefined_flag=unsupported
10210	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10211	# support --undefined.  This deserves some investigation.  FIXME
10212	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10213      else
10214	ld_shlibs=no
10215      fi
10216      ;;
10217
10218    cygwin* | mingw* | pw32* | cegcc*)
10219      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10220      # as there is no search path for DLLs.
10221      hardcode_libdir_flag_spec='-L$libdir'
10222      export_dynamic_flag_spec='$wl--export-all-symbols'
10223      allow_undefined_flag=unsupported
10224      always_export_symbols=no
10225      enable_shared_with_static_runtimes=yes
10226      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'
10227      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10228
10229      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10230        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10231	# If the export-symbols file already is a .def file, use it as
10232	# is; otherwise, prepend EXPORTS...
10233	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10234          cp $export_symbols $output_objdir/$soname.def;
10235        else
10236          echo EXPORTS > $output_objdir/$soname.def;
10237          cat $export_symbols >> $output_objdir/$soname.def;
10238        fi~
10239        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10240      else
10241	ld_shlibs=no
10242      fi
10243      ;;
10244
10245    haiku*)
10246      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10247      link_all_deplibs=yes
10248      ;;
10249
10250    os2*)
10251      hardcode_libdir_flag_spec='-L$libdir'
10252      hardcode_minus_L=yes
10253      allow_undefined_flag=unsupported
10254      shrext_cmds=.dll
10255      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10256	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10257	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10258	$ECHO EXPORTS >> $output_objdir/$libname.def~
10259	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10260	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10261	emximp -o $lib $output_objdir/$libname.def'
10262      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10263	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10264	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10265	$ECHO EXPORTS >> $output_objdir/$libname.def~
10266	prefix_cmds="$SED"~
10267	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10268	  prefix_cmds="$prefix_cmds -e 1d";
10269	fi~
10270	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10271	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10272	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10273	emximp -o $lib $output_objdir/$libname.def'
10274      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10275      enable_shared_with_static_runtimes=yes
10276      ;;
10277
10278    interix[3-9]*)
10279      hardcode_direct=no
10280      hardcode_shlibpath_var=no
10281      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10282      export_dynamic_flag_spec='$wl-E'
10283      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10284      # Instead, shared libraries are loaded at an image base (0x10000000 by
10285      # default) and relocated if they conflict, which is a slow very memory
10286      # consuming and fragmenting process.  To avoid this, we pick a random,
10287      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10288      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10289      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10290      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'
10291      ;;
10292
10293    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10294      tmp_diet=no
10295      if test linux-dietlibc = "$host_os"; then
10296	case $cc_basename in
10297	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10298	esac
10299      fi
10300      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10301	 && test no = "$tmp_diet"
10302      then
10303	tmp_addflag=' $pic_flag'
10304	tmp_sharedflag='-shared'
10305	case $cc_basename,$host_cpu in
10306        pgcc*)				# Portland Group C compiler
10307	  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'
10308	  tmp_addflag=' $pic_flag'
10309	  ;;
10310	pgf77* | pgf90* | pgf95* | pgfortran*)
10311					# Portland Group f77 and f90 compilers
10312	  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'
10313	  tmp_addflag=' $pic_flag -Mnomain' ;;
10314	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10315	  tmp_addflag=' -i_dynamic' ;;
10316	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10317	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10318	ifc* | ifort*)			# Intel Fortran compiler
10319	  tmp_addflag=' -nofor_main' ;;
10320	lf95*)				# Lahey Fortran 8.1
10321	  whole_archive_flag_spec=
10322	  tmp_sharedflag='--shared' ;;
10323        nagfor*)                        # NAGFOR 5.3
10324          tmp_sharedflag='-Wl,-shared' ;;
10325	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10326	  tmp_sharedflag='-qmkshrobj'
10327	  tmp_addflag= ;;
10328	nvcc*)	# Cuda Compiler Driver 2.2
10329	  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'
10330	  compiler_needs_object=yes
10331	  ;;
10332	esac
10333	case `$CC -V 2>&1 | sed 5q` in
10334	*Sun\ C*)			# Sun C 5.9
10335	  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'
10336	  compiler_needs_object=yes
10337	  tmp_sharedflag='-G' ;;
10338	*Sun\ F*)			# Sun Fortran 8.3
10339	  tmp_sharedflag='-G' ;;
10340	esac
10341	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10342
10343        if test yes = "$supports_anon_versioning"; then
10344          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10345            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10346            echo "local: *; };" >> $output_objdir/$libname.ver~
10347            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10348        fi
10349
10350	case $cc_basename in
10351	tcc*)
10352	  export_dynamic_flag_spec='-rdynamic'
10353	  ;;
10354	xlf* | bgf* | bgxlf* | mpixlf*)
10355	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10356	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10357	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10358	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10359	  if test yes = "$supports_anon_versioning"; then
10360	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10361              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10362              echo "local: *; };" >> $output_objdir/$libname.ver~
10363              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10364	  fi
10365	  ;;
10366	esac
10367      else
10368        ld_shlibs=no
10369      fi
10370      ;;
10371
10372    netbsd*)
10373      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10374	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10375	wlarc=
10376      else
10377	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10378	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10379      fi
10380      ;;
10381
10382    solaris*)
10383      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10384	ld_shlibs=no
10385	cat <<_LT_EOF 1>&2
10386
10387*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10388*** create shared libraries on Solaris systems.  Therefore, libtool
10389*** is disabling shared libraries support.  We urge you to upgrade GNU
10390*** binutils to release 2.9.1 or newer.  Another option is to modify
10391*** your PATH or compiler configuration so that the native linker is
10392*** used, and then restart.
10393
10394_LT_EOF
10395      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10396	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10397	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10398      else
10399	ld_shlibs=no
10400      fi
10401      ;;
10402
10403    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10404      case `$LD -v 2>&1` in
10405        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10406	ld_shlibs=no
10407	cat <<_LT_EOF 1>&2
10408
10409*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10410*** reliably create shared libraries on SCO systems.  Therefore, libtool
10411*** is disabling shared libraries support.  We urge you to upgrade GNU
10412*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10413*** your PATH or compiler configuration so that the native linker is
10414*** used, and then restart.
10415
10416_LT_EOF
10417	;;
10418	*)
10419	  # For security reasons, it is highly recommended that you always
10420	  # use absolute paths for naming shared libraries, and exclude the
10421	  # DT_RUNPATH tag from executables and libraries.  But doing so
10422	  # requires that you compile everything twice, which is a pain.
10423	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10424	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10425	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10426	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10427	  else
10428	    ld_shlibs=no
10429	  fi
10430	;;
10431      esac
10432      ;;
10433
10434    sunos4*)
10435      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10436      wlarc=
10437      hardcode_direct=yes
10438      hardcode_shlibpath_var=no
10439      ;;
10440
10441    *)
10442      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10443	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10444	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10445      else
10446	ld_shlibs=no
10447      fi
10448      ;;
10449    esac
10450
10451    if test no = "$ld_shlibs"; then
10452      runpath_var=
10453      hardcode_libdir_flag_spec=
10454      export_dynamic_flag_spec=
10455      whole_archive_flag_spec=
10456    fi
10457  else
10458    # PORTME fill in a description of your system's linker (not GNU ld)
10459    case $host_os in
10460    aix3*)
10461      allow_undefined_flag=unsupported
10462      always_export_symbols=yes
10463      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'
10464      # Note: this linker hardcodes the directories in LIBPATH if there
10465      # are no directories specified by -L.
10466      hardcode_minus_L=yes
10467      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10468	# Neither direct hardcoding nor static linking is supported with a
10469	# broken collect2.
10470	hardcode_direct=unsupported
10471      fi
10472      ;;
10473
10474    aix[4-9]*)
10475      if test ia64 = "$host_cpu"; then
10476	# On IA64, the linker does run time linking by default, so we don't
10477	# have to do anything special.
10478	aix_use_runtimelinking=no
10479	exp_sym_flag='-Bexport'
10480	no_entry_flag=
10481      else
10482	# If we're using GNU nm, then we don't want the "-C" option.
10483	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10484	# Without the "-l" option, or with the "-B" option, AIX nm treats
10485	# weak defined symbols like other global defined symbols, whereas
10486	# GNU nm marks them as "W".
10487	# While the 'weak' keyword is ignored in the Export File, we need
10488	# it in the Import File for the 'aix-soname' feature, so we have
10489	# to replace the "-B" option with "-P" for AIX nm.
10490	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10491	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10492	else
10493	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10494	fi
10495	aix_use_runtimelinking=no
10496
10497	# Test if we are trying to use run time linking or normal
10498	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10499	# have runtime linking enabled, and use it for executables.
10500	# For shared libraries, we enable/disable runtime linking
10501	# depending on the kind of the shared library created -
10502	# when "with_aix_soname,aix_use_runtimelinking" is:
10503	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10504	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10505	#            lib.a           static archive
10506	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10507	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10508	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10509	#            lib.a(lib.so.V) shared, rtl:no
10510	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10511	#            lib.a           static archive
10512	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10513	  for ld_flag in $LDFLAGS; do
10514	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10515	    aix_use_runtimelinking=yes
10516	    break
10517	  fi
10518	  done
10519	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10520	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10521	    # so we don't have lib.a shared libs to link our executables.
10522	    # We have to force runtime linking in this case.
10523	    aix_use_runtimelinking=yes
10524	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10525	  fi
10526	  ;;
10527	esac
10528
10529	exp_sym_flag='-bexport'
10530	no_entry_flag='-bnoentry'
10531      fi
10532
10533      # When large executables or shared objects are built, AIX ld can
10534      # have problems creating the table of contents.  If linking a library
10535      # or program results in "error TOC overflow" add -mminimal-toc to
10536      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10537      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10538
10539      archive_cmds=''
10540      hardcode_direct=yes
10541      hardcode_direct_absolute=yes
10542      hardcode_libdir_separator=':'
10543      link_all_deplibs=yes
10544      file_list_spec='$wl-f,'
10545      case $with_aix_soname,$aix_use_runtimelinking in
10546      aix,*) ;; # traditional, no import file
10547      svr4,* | *,yes) # use import file
10548	# The Import File defines what to hardcode.
10549	hardcode_direct=no
10550	hardcode_direct_absolute=no
10551	;;
10552      esac
10553
10554      if test yes = "$GCC"; then
10555	case $host_os in aix4.[012]|aix4.[012].*)
10556	# We only want to do this on AIX 4.2 and lower, the check
10557	# below for broken collect2 doesn't work under 4.3+
10558	  collect2name=`$CC -print-prog-name=collect2`
10559	  if test -f "$collect2name" &&
10560	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10561	  then
10562	  # We have reworked collect2
10563	  :
10564	  else
10565	  # We have old collect2
10566	  hardcode_direct=unsupported
10567	  # It fails to find uninstalled libraries when the uninstalled
10568	  # path is not listed in the libpath.  Setting hardcode_minus_L
10569	  # to unsupported forces relinking
10570	  hardcode_minus_L=yes
10571	  hardcode_libdir_flag_spec='-L$libdir'
10572	  hardcode_libdir_separator=
10573	  fi
10574	  ;;
10575	esac
10576	shared_flag='-shared'
10577	if test yes = "$aix_use_runtimelinking"; then
10578	  shared_flag="$shared_flag "'$wl-G'
10579	fi
10580	# Need to ensure runtime linking is disabled for the traditional
10581	# shared library, or the linker may eventually find shared libraries
10582	# /with/ Import File - we do not want to mix them.
10583	shared_flag_aix='-shared'
10584	shared_flag_svr4='-shared $wl-G'
10585      else
10586	# not using gcc
10587	if test ia64 = "$host_cpu"; then
10588	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10589	# chokes on -Wl,-G. The following line is correct:
10590	  shared_flag='-G'
10591	else
10592	  if test yes = "$aix_use_runtimelinking"; then
10593	    shared_flag='$wl-G'
10594	  else
10595	    shared_flag='$wl-bM:SRE'
10596	  fi
10597	  shared_flag_aix='$wl-bM:SRE'
10598	  shared_flag_svr4='$wl-G'
10599	fi
10600      fi
10601
10602      export_dynamic_flag_spec='$wl-bexpall'
10603      # It seems that -bexpall does not export symbols beginning with
10604      # underscore (_), so it is better to generate a list of symbols to export.
10605      always_export_symbols=yes
10606      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10607	# Warning - without using the other runtime loading flags (-brtl),
10608	# -berok will link without error, but may produce a broken library.
10609	allow_undefined_flag='-berok'
10610        # Determine the default libpath from the value encoded in an
10611        # empty executable.
10612        if test set = "${lt_cv_aix_libpath+set}"; then
10613  aix_libpath=$lt_cv_aix_libpath
10614else
10615  if ${lt_cv_aix_libpath_+:} false; then :
10616  $as_echo_n "(cached) " >&6
10617else
10618  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10619/* end confdefs.h.  */
10620
10621int
10622main ()
10623{
10624
10625  ;
10626  return 0;
10627}
10628_ACEOF
10629if ac_fn_c_try_link "$LINENO"; then :
10630
10631  lt_aix_libpath_sed='
10632      /Import File Strings/,/^$/ {
10633	  /^0/ {
10634	      s/^0  *\([^ ]*\) *$/\1/
10635	      p
10636	  }
10637      }'
10638  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10639  # Check for a 64-bit object if we didn't find anything.
10640  if test -z "$lt_cv_aix_libpath_"; then
10641    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10642  fi
10643fi
10644rm -f core conftest.err conftest.$ac_objext \
10645    conftest$ac_exeext conftest.$ac_ext
10646  if test -z "$lt_cv_aix_libpath_"; then
10647    lt_cv_aix_libpath_=/usr/lib:/lib
10648  fi
10649
10650fi
10651
10652  aix_libpath=$lt_cv_aix_libpath_
10653fi
10654
10655        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10656        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10657      else
10658	if test ia64 = "$host_cpu"; then
10659	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10660	  allow_undefined_flag="-z nodefs"
10661	  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"
10662	else
10663	 # Determine the default libpath from the value encoded in an
10664	 # empty executable.
10665	 if test set = "${lt_cv_aix_libpath+set}"; then
10666  aix_libpath=$lt_cv_aix_libpath
10667else
10668  if ${lt_cv_aix_libpath_+:} false; then :
10669  $as_echo_n "(cached) " >&6
10670else
10671  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672/* end confdefs.h.  */
10673
10674int
10675main ()
10676{
10677
10678  ;
10679  return 0;
10680}
10681_ACEOF
10682if ac_fn_c_try_link "$LINENO"; then :
10683
10684  lt_aix_libpath_sed='
10685      /Import File Strings/,/^$/ {
10686	  /^0/ {
10687	      s/^0  *\([^ ]*\) *$/\1/
10688	      p
10689	  }
10690      }'
10691  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10692  # Check for a 64-bit object if we didn't find anything.
10693  if test -z "$lt_cv_aix_libpath_"; then
10694    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10695  fi
10696fi
10697rm -f core conftest.err conftest.$ac_objext \
10698    conftest$ac_exeext conftest.$ac_ext
10699  if test -z "$lt_cv_aix_libpath_"; then
10700    lt_cv_aix_libpath_=/usr/lib:/lib
10701  fi
10702
10703fi
10704
10705  aix_libpath=$lt_cv_aix_libpath_
10706fi
10707
10708	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10709	  # Warning - without using the other run time loading flags,
10710	  # -berok will link without error, but may produce a broken library.
10711	  no_undefined_flag=' $wl-bernotok'
10712	  allow_undefined_flag=' $wl-berok'
10713	  if test yes = "$with_gnu_ld"; then
10714	    # We only use this code for GNU lds that support --whole-archive.
10715	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10716	  else
10717	    # Exported symbols can be pulled into shared objects from archives
10718	    whole_archive_flag_spec='$convenience'
10719	  fi
10720	  archive_cmds_need_lc=yes
10721	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10722	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10723	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10724	  if test svr4 != "$with_aix_soname"; then
10725	    # This is similar to how AIX traditionally builds its shared libraries.
10726	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10727	  fi
10728	  if test aix != "$with_aix_soname"; then
10729	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10730	  else
10731	    # used by -dlpreopen to get the symbols
10732	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10733	  fi
10734	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10735	fi
10736      fi
10737      ;;
10738
10739    amigaos*)
10740      case $host_cpu in
10741      powerpc)
10742            # see comment about AmigaOS4 .so support
10743            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10744            archive_expsym_cmds=''
10745        ;;
10746      m68k)
10747            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)'
10748            hardcode_libdir_flag_spec='-L$libdir'
10749            hardcode_minus_L=yes
10750        ;;
10751      esac
10752      ;;
10753
10754    bsdi[45]*)
10755      export_dynamic_flag_spec=-rdynamic
10756      ;;
10757
10758    cygwin* | mingw* | pw32* | cegcc*)
10759      # When not using gcc, we currently assume that we are using
10760      # Microsoft Visual C++.
10761      # hardcode_libdir_flag_spec is actually meaningless, as there is
10762      # no search path for DLLs.
10763      case $cc_basename in
10764      cl*)
10765	# Native MSVC
10766	hardcode_libdir_flag_spec=' '
10767	allow_undefined_flag=unsupported
10768	always_export_symbols=yes
10769	file_list_spec='@'
10770	# Tell ltmain to make .lib files, not .a files.
10771	libext=lib
10772	# Tell ltmain to make .dll files, not .so files.
10773	shrext_cmds=.dll
10774	# FIXME: Setting linknames here is a bad hack.
10775	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10776	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10777            cp "$export_symbols" "$output_objdir/$soname.def";
10778            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10779          else
10780            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10781          fi~
10782          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10783          linknames='
10784	# The linker will not automatically build a static lib if we build a DLL.
10785	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10786	enable_shared_with_static_runtimes=yes
10787	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10788	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10789	# Don't use ranlib
10790	old_postinstall_cmds='chmod 644 $oldlib'
10791	postlink_cmds='lt_outputfile="@OUTPUT@"~
10792          lt_tool_outputfile="@TOOL_OUTPUT@"~
10793          case $lt_outputfile in
10794            *.exe|*.EXE) ;;
10795            *)
10796              lt_outputfile=$lt_outputfile.exe
10797              lt_tool_outputfile=$lt_tool_outputfile.exe
10798              ;;
10799          esac~
10800          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10801            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10802            $RM "$lt_outputfile.manifest";
10803          fi'
10804	;;
10805      *)
10806	# Assume MSVC wrapper
10807	hardcode_libdir_flag_spec=' '
10808	allow_undefined_flag=unsupported
10809	# Tell ltmain to make .lib files, not .a files.
10810	libext=lib
10811	# Tell ltmain to make .dll files, not .so files.
10812	shrext_cmds=.dll
10813	# FIXME: Setting linknames here is a bad hack.
10814	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10815	# The linker will automatically build a .lib file if we build a DLL.
10816	old_archive_from_new_cmds='true'
10817	# FIXME: Should let the user specify the lib program.
10818	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10819	enable_shared_with_static_runtimes=yes
10820	;;
10821      esac
10822      ;;
10823
10824    darwin* | rhapsody*)
10825
10826
10827  archive_cmds_need_lc=no
10828  hardcode_direct=no
10829  hardcode_automatic=yes
10830  hardcode_shlibpath_var=unsupported
10831  if test yes = "$lt_cv_ld_force_load"; then
10832    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\"`'
10833
10834  else
10835    whole_archive_flag_spec=''
10836  fi
10837  link_all_deplibs=yes
10838  allow_undefined_flag=$_lt_dar_allow_undefined
10839  case $cc_basename in
10840     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10841     *) _lt_dar_can_shared=$GCC ;;
10842  esac
10843  if test yes = "$_lt_dar_can_shared"; then
10844    output_verbose_link_cmd=func_echo_all
10845    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10846    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10847    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"
10848    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"
10849
10850  else
10851  ld_shlibs=no
10852  fi
10853
10854      ;;
10855
10856    dgux*)
10857      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10858      hardcode_libdir_flag_spec='-L$libdir'
10859      hardcode_shlibpath_var=no
10860      ;;
10861
10862    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10863    # support.  Future versions do this automatically, but an explicit c++rt0.o
10864    # does not break anything, and helps significantly (at the cost of a little
10865    # extra space).
10866    freebsd2.2*)
10867      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10868      hardcode_libdir_flag_spec='-R$libdir'
10869      hardcode_direct=yes
10870      hardcode_shlibpath_var=no
10871      ;;
10872
10873    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10874    freebsd2.*)
10875      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10876      hardcode_direct=yes
10877      hardcode_minus_L=yes
10878      hardcode_shlibpath_var=no
10879      ;;
10880
10881    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10882    freebsd* | dragonfly*)
10883      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10884      hardcode_libdir_flag_spec='-R$libdir'
10885      hardcode_direct=yes
10886      hardcode_shlibpath_var=no
10887      ;;
10888
10889    hpux9*)
10890      if test yes = "$GCC"; then
10891	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10892      else
10893	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10894      fi
10895      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10896      hardcode_libdir_separator=:
10897      hardcode_direct=yes
10898
10899      # hardcode_minus_L: Not really in the search PATH,
10900      # but as the default location of the library.
10901      hardcode_minus_L=yes
10902      export_dynamic_flag_spec='$wl-E'
10903      ;;
10904
10905    hpux10*)
10906      if test yes,no = "$GCC,$with_gnu_ld"; then
10907	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10908      else
10909	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10910      fi
10911      if test no = "$with_gnu_ld"; then
10912	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10913	hardcode_libdir_separator=:
10914	hardcode_direct=yes
10915	hardcode_direct_absolute=yes
10916	export_dynamic_flag_spec='$wl-E'
10917	# hardcode_minus_L: Not really in the search PATH,
10918	# but as the default location of the library.
10919	hardcode_minus_L=yes
10920      fi
10921      ;;
10922
10923    hpux11*)
10924      if test yes,no = "$GCC,$with_gnu_ld"; then
10925	case $host_cpu in
10926	hppa*64*)
10927	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10928	  ;;
10929	ia64*)
10930	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10931	  ;;
10932	*)
10933	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10934	  ;;
10935	esac
10936      else
10937	case $host_cpu in
10938	hppa*64*)
10939	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10940	  ;;
10941	ia64*)
10942	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10943	  ;;
10944	*)
10945
10946	  # Older versions of the 11.00 compiler do not understand -b yet
10947	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10948	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10949$as_echo_n "checking if $CC understands -b... " >&6; }
10950if ${lt_cv_prog_compiler__b+:} false; then :
10951  $as_echo_n "(cached) " >&6
10952else
10953  lt_cv_prog_compiler__b=no
10954   save_LDFLAGS=$LDFLAGS
10955   LDFLAGS="$LDFLAGS -b"
10956   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10957   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10958     # The linker can only warn and ignore the option if not recognized
10959     # So say no if there are warnings
10960     if test -s conftest.err; then
10961       # Append any errors to the config.log.
10962       cat conftest.err 1>&5
10963       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10964       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10965       if diff conftest.exp conftest.er2 >/dev/null; then
10966         lt_cv_prog_compiler__b=yes
10967       fi
10968     else
10969       lt_cv_prog_compiler__b=yes
10970     fi
10971   fi
10972   $RM -r conftest*
10973   LDFLAGS=$save_LDFLAGS
10974
10975fi
10976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10977$as_echo "$lt_cv_prog_compiler__b" >&6; }
10978
10979if test yes = "$lt_cv_prog_compiler__b"; then
10980    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10981else
10982    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10983fi
10984
10985	  ;;
10986	esac
10987      fi
10988      if test no = "$with_gnu_ld"; then
10989	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10990	hardcode_libdir_separator=:
10991
10992	case $host_cpu in
10993	hppa*64*|ia64*)
10994	  hardcode_direct=no
10995	  hardcode_shlibpath_var=no
10996	  ;;
10997	*)
10998	  hardcode_direct=yes
10999	  hardcode_direct_absolute=yes
11000	  export_dynamic_flag_spec='$wl-E'
11001
11002	  # hardcode_minus_L: Not really in the search PATH,
11003	  # but as the default location of the library.
11004	  hardcode_minus_L=yes
11005	  ;;
11006	esac
11007      fi
11008      ;;
11009
11010    irix5* | irix6* | nonstopux*)
11011      if test yes = "$GCC"; then
11012	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'
11013	# Try to use the -exported_symbol ld option, if it does not
11014	# work, assume that -exports_file does not work either and
11015	# implicitly export all symbols.
11016	# This should be the same for all languages, so no per-tag cache variable.
11017	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11018$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11019if ${lt_cv_irix_exported_symbol+:} false; then :
11020  $as_echo_n "(cached) " >&6
11021else
11022  save_LDFLAGS=$LDFLAGS
11023	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11024	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11025/* end confdefs.h.  */
11026int foo (void) { return 0; }
11027_ACEOF
11028if ac_fn_c_try_link "$LINENO"; then :
11029  lt_cv_irix_exported_symbol=yes
11030else
11031  lt_cv_irix_exported_symbol=no
11032fi
11033rm -f core conftest.err conftest.$ac_objext \
11034    conftest$ac_exeext conftest.$ac_ext
11035           LDFLAGS=$save_LDFLAGS
11036fi
11037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11038$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11039	if test yes = "$lt_cv_irix_exported_symbol"; then
11040          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'
11041	fi
11042      else
11043	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'
11044	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'
11045      fi
11046      archive_cmds_need_lc='no'
11047      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11048      hardcode_libdir_separator=:
11049      inherit_rpath=yes
11050      link_all_deplibs=yes
11051      ;;
11052
11053    linux*)
11054      case $cc_basename in
11055      tcc*)
11056	# Fabrice Bellard et al's Tiny C Compiler
11057	ld_shlibs=yes
11058	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11059	;;
11060      esac
11061      ;;
11062
11063    netbsd*)
11064      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11065	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11066      else
11067	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11068      fi
11069      hardcode_libdir_flag_spec='-R$libdir'
11070      hardcode_direct=yes
11071      hardcode_shlibpath_var=no
11072      ;;
11073
11074    newsos6)
11075      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11076      hardcode_direct=yes
11077      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11078      hardcode_libdir_separator=:
11079      hardcode_shlibpath_var=no
11080      ;;
11081
11082    *nto* | *qnx*)
11083      ;;
11084
11085    openbsd* | bitrig*)
11086      if test -f /usr/libexec/ld.so; then
11087	hardcode_direct=yes
11088	hardcode_shlibpath_var=no
11089	hardcode_direct_absolute=yes
11090	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11091	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11092	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11093	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11094	  export_dynamic_flag_spec='$wl-E'
11095	else
11096	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11097	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11098	fi
11099      else
11100	ld_shlibs=no
11101      fi
11102      ;;
11103
11104    os2*)
11105      hardcode_libdir_flag_spec='-L$libdir'
11106      hardcode_minus_L=yes
11107      allow_undefined_flag=unsupported
11108      shrext_cmds=.dll
11109      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11110	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11111	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11112	$ECHO EXPORTS >> $output_objdir/$libname.def~
11113	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11114	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11115	emximp -o $lib $output_objdir/$libname.def'
11116      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11117	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11118	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11119	$ECHO EXPORTS >> $output_objdir/$libname.def~
11120	prefix_cmds="$SED"~
11121	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11122	  prefix_cmds="$prefix_cmds -e 1d";
11123	fi~
11124	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11125	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11126	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11127	emximp -o $lib $output_objdir/$libname.def'
11128      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11129      enable_shared_with_static_runtimes=yes
11130      ;;
11131
11132    osf3*)
11133      if test yes = "$GCC"; then
11134	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11135	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'
11136      else
11137	allow_undefined_flag=' -expect_unresolved \*'
11138	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'
11139      fi
11140      archive_cmds_need_lc='no'
11141      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11142      hardcode_libdir_separator=:
11143      ;;
11144
11145    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11146      if test yes = "$GCC"; then
11147	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11148	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'
11149	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11150      else
11151	allow_undefined_flag=' -expect_unresolved \*'
11152	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'
11153	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~
11154          $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'
11155
11156	# Both c and cxx compiler support -rpath directly
11157	hardcode_libdir_flag_spec='-rpath $libdir'
11158      fi
11159      archive_cmds_need_lc='no'
11160      hardcode_libdir_separator=:
11161      ;;
11162
11163    solaris*)
11164      no_undefined_flag=' -z defs'
11165      if test yes = "$GCC"; then
11166	wlarc='$wl'
11167	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11168	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11169          $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'
11170      else
11171	case `$CC -V 2>&1` in
11172	*"Compilers 5.0"*)
11173	  wlarc=''
11174	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11175	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11176            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11177	  ;;
11178	*)
11179	  wlarc='$wl'
11180	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11181	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11182            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11183	  ;;
11184	esac
11185      fi
11186      hardcode_libdir_flag_spec='-R$libdir'
11187      hardcode_shlibpath_var=no
11188      case $host_os in
11189      solaris2.[0-5] | solaris2.[0-5].*) ;;
11190      *)
11191	# The compiler driver will combine and reorder linker options,
11192	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11193	# but is careful enough not to reorder.
11194	# Supported since Solaris 2.6 (maybe 2.5.1?)
11195	if test yes = "$GCC"; then
11196	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11197	else
11198	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11199	fi
11200	;;
11201      esac
11202      link_all_deplibs=yes
11203      ;;
11204
11205    sunos4*)
11206      if test sequent = "$host_vendor"; then
11207	# Use $CC to link under sequent, because it throws in some extra .o
11208	# files that make .init and .fini sections work.
11209	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11210      else
11211	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11212      fi
11213      hardcode_libdir_flag_spec='-L$libdir'
11214      hardcode_direct=yes
11215      hardcode_minus_L=yes
11216      hardcode_shlibpath_var=no
11217      ;;
11218
11219    sysv4)
11220      case $host_vendor in
11221	sni)
11222	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11223	  hardcode_direct=yes # is this really true???
11224	;;
11225	siemens)
11226	  ## LD is ld it makes a PLAMLIB
11227	  ## CC just makes a GrossModule.
11228	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11229	  reload_cmds='$CC -r -o $output$reload_objs'
11230	  hardcode_direct=no
11231        ;;
11232	motorola)
11233	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11234	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11235	;;
11236      esac
11237      runpath_var='LD_RUN_PATH'
11238      hardcode_shlibpath_var=no
11239      ;;
11240
11241    sysv4.3*)
11242      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11243      hardcode_shlibpath_var=no
11244      export_dynamic_flag_spec='-Bexport'
11245      ;;
11246
11247    sysv4*MP*)
11248      if test -d /usr/nec; then
11249	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11250	hardcode_shlibpath_var=no
11251	runpath_var=LD_RUN_PATH
11252	hardcode_runpath_var=yes
11253	ld_shlibs=yes
11254      fi
11255      ;;
11256
11257    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11258      no_undefined_flag='$wl-z,text'
11259      archive_cmds_need_lc=no
11260      hardcode_shlibpath_var=no
11261      runpath_var='LD_RUN_PATH'
11262
11263      if test yes = "$GCC"; then
11264	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11265	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11266      else
11267	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11268	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11269      fi
11270      ;;
11271
11272    sysv5* | sco3.2v5* | sco5v6*)
11273      # Note: We CANNOT use -z defs as we might desire, because we do not
11274      # link with -lc, and that would cause any symbols used from libc to
11275      # always be unresolved, which means just about no library would
11276      # ever link correctly.  If we're not using GNU ld we use -z text
11277      # though, which does catch some bad symbols but isn't as heavy-handed
11278      # as -z defs.
11279      no_undefined_flag='$wl-z,text'
11280      allow_undefined_flag='$wl-z,nodefs'
11281      archive_cmds_need_lc=no
11282      hardcode_shlibpath_var=no
11283      hardcode_libdir_flag_spec='$wl-R,$libdir'
11284      hardcode_libdir_separator=':'
11285      link_all_deplibs=yes
11286      export_dynamic_flag_spec='$wl-Bexport'
11287      runpath_var='LD_RUN_PATH'
11288
11289      if test yes = "$GCC"; then
11290	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11291	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11292      else
11293	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11294	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11295      fi
11296      ;;
11297
11298    uts4*)
11299      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11300      hardcode_libdir_flag_spec='-L$libdir'
11301      hardcode_shlibpath_var=no
11302      ;;
11303
11304    *)
11305      ld_shlibs=no
11306      ;;
11307    esac
11308
11309    if test sni = "$host_vendor"; then
11310      case $host in
11311      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11312	export_dynamic_flag_spec='$wl-Blargedynsym'
11313	;;
11314      esac
11315    fi
11316  fi
11317
11318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11319$as_echo "$ld_shlibs" >&6; }
11320test no = "$ld_shlibs" && can_build_shared=no
11321
11322with_gnu_ld=$with_gnu_ld
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338#
11339# Do we need to explicitly link libc?
11340#
11341case "x$archive_cmds_need_lc" in
11342x|xyes)
11343  # Assume -lc should be added
11344  archive_cmds_need_lc=yes
11345
11346  if test yes,yes = "$GCC,$enable_shared"; then
11347    case $archive_cmds in
11348    *'~'*)
11349      # FIXME: we may have to deal with multi-command sequences.
11350      ;;
11351    '$CC '*)
11352      # Test whether the compiler implicitly links with -lc since on some
11353      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11354      # to ld, don't add -lc before -lgcc.
11355      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11356$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11357if ${lt_cv_archive_cmds_need_lc+:} false; then :
11358  $as_echo_n "(cached) " >&6
11359else
11360  $RM conftest*
11361	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11362
11363	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11364  (eval $ac_compile) 2>&5
11365  ac_status=$?
11366  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11367  test $ac_status = 0; } 2>conftest.err; then
11368	  soname=conftest
11369	  lib=conftest
11370	  libobjs=conftest.$ac_objext
11371	  deplibs=
11372	  wl=$lt_prog_compiler_wl
11373	  pic_flag=$lt_prog_compiler_pic
11374	  compiler_flags=-v
11375	  linker_flags=-v
11376	  verstring=
11377	  output_objdir=.
11378	  libname=conftest
11379	  lt_save_allow_undefined_flag=$allow_undefined_flag
11380	  allow_undefined_flag=
11381	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11382  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11383  ac_status=$?
11384  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11385  test $ac_status = 0; }
11386	  then
11387	    lt_cv_archive_cmds_need_lc=no
11388	  else
11389	    lt_cv_archive_cmds_need_lc=yes
11390	  fi
11391	  allow_undefined_flag=$lt_save_allow_undefined_flag
11392	else
11393	  cat conftest.err 1>&5
11394	fi
11395	$RM conftest*
11396
11397fi
11398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11399$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11400      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11401      ;;
11402    esac
11403  fi
11404  ;;
11405esac
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11559$as_echo_n "checking dynamic linker characteristics... " >&6; }
11560
11561if test yes = "$GCC"; then
11562  case $host_os in
11563    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11564    *) lt_awk_arg='/^libraries:/' ;;
11565  esac
11566  case $host_os in
11567    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11568    *) lt_sed_strip_eq='s|=/|/|g' ;;
11569  esac
11570  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11571  case $lt_search_path_spec in
11572  *\;*)
11573    # if the path contains ";" then we assume it to be the separator
11574    # otherwise default to the standard path separator (i.e. ":") - it is
11575    # assumed that no part of a normal pathname contains ";" but that should
11576    # okay in the real world where ";" in dirpaths is itself problematic.
11577    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11578    ;;
11579  *)
11580    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11581    ;;
11582  esac
11583  # Ok, now we have the path, separated by spaces, we can step through it
11584  # and add multilib dir if necessary...
11585  lt_tmp_lt_search_path_spec=
11586  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11587  # ...but if some path component already ends with the multilib dir we assume
11588  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11589  case "$lt_multi_os_dir; $lt_search_path_spec " in
11590  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11591    lt_multi_os_dir=
11592    ;;
11593  esac
11594  for lt_sys_path in $lt_search_path_spec; do
11595    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11596      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11597    elif test -n "$lt_multi_os_dir"; then
11598      test -d "$lt_sys_path" && \
11599	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11600    fi
11601  done
11602  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11603BEGIN {RS = " "; FS = "/|\n";} {
11604  lt_foo = "";
11605  lt_count = 0;
11606  for (lt_i = NF; lt_i > 0; lt_i--) {
11607    if ($lt_i != "" && $lt_i != ".") {
11608      if ($lt_i == "..") {
11609        lt_count++;
11610      } else {
11611        if (lt_count == 0) {
11612          lt_foo = "/" $lt_i lt_foo;
11613        } else {
11614          lt_count--;
11615        }
11616      }
11617    }
11618  }
11619  if (lt_foo != "") { lt_freq[lt_foo]++; }
11620  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11621}'`
11622  # AWK program above erroneously prepends '/' to C:/dos/paths
11623  # for these hosts.
11624  case $host_os in
11625    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11626      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11627  esac
11628  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11629else
11630  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11631fi
11632library_names_spec=
11633libname_spec='lib$name'
11634soname_spec=
11635shrext_cmds=.so
11636postinstall_cmds=
11637postuninstall_cmds=
11638finish_cmds=
11639finish_eval=
11640shlibpath_var=
11641shlibpath_overrides_runpath=unknown
11642version_type=none
11643dynamic_linker="$host_os ld.so"
11644sys_lib_dlsearch_path_spec="/lib /usr/lib"
11645need_lib_prefix=unknown
11646hardcode_into_libs=no
11647
11648# when you set need_version to no, make sure it does not cause -set_version
11649# flags to be left without arguments
11650need_version=unknown
11651
11652
11653
11654case $host_os in
11655aix3*)
11656  version_type=linux # correct to gnu/linux during the next big refactor
11657  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11658  shlibpath_var=LIBPATH
11659
11660  # AIX 3 has no versioning support, so we append a major version to the name.
11661  soname_spec='$libname$release$shared_ext$major'
11662  ;;
11663
11664aix[4-9]*)
11665  version_type=linux # correct to gnu/linux during the next big refactor
11666  need_lib_prefix=no
11667  need_version=no
11668  hardcode_into_libs=yes
11669  if test ia64 = "$host_cpu"; then
11670    # AIX 5 supports IA64
11671    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11672    shlibpath_var=LD_LIBRARY_PATH
11673  else
11674    # With GCC up to 2.95.x, collect2 would create an import file
11675    # for dependence libraries.  The import file would start with
11676    # the line '#! .'.  This would cause the generated library to
11677    # depend on '.', always an invalid library.  This was fixed in
11678    # development snapshots of GCC prior to 3.0.
11679    case $host_os in
11680      aix4 | aix4.[01] | aix4.[01].*)
11681      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11682	   echo ' yes '
11683	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11684	:
11685      else
11686	can_build_shared=no
11687      fi
11688      ;;
11689    esac
11690    # Using Import Files as archive members, it is possible to support
11691    # filename-based versioning of shared library archives on AIX. While
11692    # this would work for both with and without runtime linking, it will
11693    # prevent static linking of such archives. So we do filename-based
11694    # shared library versioning with .so extension only, which is used
11695    # when both runtime linking and shared linking is enabled.
11696    # Unfortunately, runtime linking may impact performance, so we do
11697    # not want this to be the default eventually. Also, we use the
11698    # versioned .so libs for executables only if there is the -brtl
11699    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11700    # To allow for filename-based versioning support, we need to create
11701    # libNAME.so.V as an archive file, containing:
11702    # *) an Import File, referring to the versioned filename of the
11703    #    archive as well as the shared archive member, telling the
11704    #    bitwidth (32 or 64) of that shared object, and providing the
11705    #    list of exported symbols of that shared object, eventually
11706    #    decorated with the 'weak' keyword
11707    # *) the shared object with the F_LOADONLY flag set, to really avoid
11708    #    it being seen by the linker.
11709    # At run time we better use the real file rather than another symlink,
11710    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11711
11712    case $with_aix_soname,$aix_use_runtimelinking in
11713    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11714    # soname into executable. Probably we can add versioning support to
11715    # collect2, so additional links can be useful in future.
11716    aix,yes) # traditional libtool
11717      dynamic_linker='AIX unversionable lib.so'
11718      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11719      # instead of lib<name>.a to let people know that these are not
11720      # typical AIX shared libraries.
11721      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11722      ;;
11723    aix,no) # traditional AIX only
11724      dynamic_linker='AIX lib.a(lib.so.V)'
11725      # We preserve .a as extension for shared libraries through AIX4.2
11726      # and later when we are not doing run time linking.
11727      library_names_spec='$libname$release.a $libname.a'
11728      soname_spec='$libname$release$shared_ext$major'
11729      ;;
11730    svr4,*) # full svr4 only
11731      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11732      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11733      # We do not specify a path in Import Files, so LIBPATH fires.
11734      shlibpath_overrides_runpath=yes
11735      ;;
11736    *,yes) # both, prefer svr4
11737      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11738      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11739      # unpreferred sharedlib libNAME.a needs extra handling
11740      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11741      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11742      # We do not specify a path in Import Files, so LIBPATH fires.
11743      shlibpath_overrides_runpath=yes
11744      ;;
11745    *,no) # both, prefer aix
11746      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11747      library_names_spec='$libname$release.a $libname.a'
11748      soname_spec='$libname$release$shared_ext$major'
11749      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11750      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11751      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11752      ;;
11753    esac
11754    shlibpath_var=LIBPATH
11755  fi
11756  ;;
11757
11758amigaos*)
11759  case $host_cpu in
11760  powerpc)
11761    # Since July 2007 AmigaOS4 officially supports .so libraries.
11762    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11763    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11764    ;;
11765  m68k)
11766    library_names_spec='$libname.ixlibrary $libname.a'
11767    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11768    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11769    ;;
11770  esac
11771  ;;
11772
11773beos*)
11774  library_names_spec='$libname$shared_ext'
11775  dynamic_linker="$host_os ld.so"
11776  shlibpath_var=LIBRARY_PATH
11777  ;;
11778
11779bsdi[45]*)
11780  version_type=linux # correct to gnu/linux during the next big refactor
11781  need_version=no
11782  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11783  soname_spec='$libname$release$shared_ext$major'
11784  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11785  shlibpath_var=LD_LIBRARY_PATH
11786  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11787  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11788  # the default ld.so.conf also contains /usr/contrib/lib and
11789  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11790  # libtool to hard-code these into programs
11791  ;;
11792
11793cygwin* | mingw* | pw32* | cegcc*)
11794  version_type=windows
11795  shrext_cmds=.dll
11796  need_version=no
11797  need_lib_prefix=no
11798
11799  case $GCC,$cc_basename in
11800  yes,*)
11801    # gcc
11802    library_names_spec='$libname.dll.a'
11803    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11804    postinstall_cmds='base_file=`basename \$file`~
11805      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11806      dldir=$destdir/`dirname \$dlpath`~
11807      test -d \$dldir || mkdir -p \$dldir~
11808      $install_prog $dir/$dlname \$dldir/$dlname~
11809      chmod a+x \$dldir/$dlname~
11810      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11811        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11812      fi'
11813    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11814      dlpath=$dir/\$dldll~
11815       $RM \$dlpath'
11816    shlibpath_overrides_runpath=yes
11817
11818    case $host_os in
11819    cygwin*)
11820      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11821      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11822
11823      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11824      ;;
11825    mingw* | cegcc*)
11826      # MinGW DLLs use traditional 'lib' prefix
11827      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11828      ;;
11829    pw32*)
11830      # pw32 DLLs use 'pw' prefix rather than 'lib'
11831      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11832      ;;
11833    esac
11834    dynamic_linker='Win32 ld.exe'
11835    ;;
11836
11837  *,cl*)
11838    # Native MSVC
11839    libname_spec='$name'
11840    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11841    library_names_spec='$libname.dll.lib'
11842
11843    case $build_os in
11844    mingw*)
11845      sys_lib_search_path_spec=
11846      lt_save_ifs=$IFS
11847      IFS=';'
11848      for lt_path in $LIB
11849      do
11850        IFS=$lt_save_ifs
11851        # Let DOS variable expansion print the short 8.3 style file name.
11852        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11853        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11854      done
11855      IFS=$lt_save_ifs
11856      # Convert to MSYS style.
11857      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11858      ;;
11859    cygwin*)
11860      # Convert to unix form, then to dos form, then back to unix form
11861      # but this time dos style (no spaces!) so that the unix form looks
11862      # like /cygdrive/c/PROGRA~1:/cygdr...
11863      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11864      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11865      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11866      ;;
11867    *)
11868      sys_lib_search_path_spec=$LIB
11869      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11870        # It is most probably a Windows format PATH.
11871        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11872      else
11873        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11874      fi
11875      # FIXME: find the short name or the path components, as spaces are
11876      # common. (e.g. "Program Files" -> "PROGRA~1")
11877      ;;
11878    esac
11879
11880    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11881    postinstall_cmds='base_file=`basename \$file`~
11882      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11883      dldir=$destdir/`dirname \$dlpath`~
11884      test -d \$dldir || mkdir -p \$dldir~
11885      $install_prog $dir/$dlname \$dldir/$dlname'
11886    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11887      dlpath=$dir/\$dldll~
11888       $RM \$dlpath'
11889    shlibpath_overrides_runpath=yes
11890    dynamic_linker='Win32 link.exe'
11891    ;;
11892
11893  *)
11894    # Assume MSVC wrapper
11895    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11896    dynamic_linker='Win32 ld.exe'
11897    ;;
11898  esac
11899  # FIXME: first we should search . and the directory the executable is in
11900  shlibpath_var=PATH
11901  ;;
11902
11903darwin* | rhapsody*)
11904  dynamic_linker="$host_os dyld"
11905  version_type=darwin
11906  need_lib_prefix=no
11907  need_version=no
11908  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11909  soname_spec='$libname$release$major$shared_ext'
11910  shlibpath_overrides_runpath=yes
11911  shlibpath_var=DYLD_LIBRARY_PATH
11912  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11913
11914  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11915  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11916  ;;
11917
11918dgux*)
11919  version_type=linux # correct to gnu/linux during the next big refactor
11920  need_lib_prefix=no
11921  need_version=no
11922  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11923  soname_spec='$libname$release$shared_ext$major'
11924  shlibpath_var=LD_LIBRARY_PATH
11925  ;;
11926
11927freebsd* | dragonfly*)
11928  # DragonFly does not have aout.  When/if they implement a new
11929  # versioning mechanism, adjust this.
11930  if test -x /usr/bin/objformat; then
11931    objformat=`/usr/bin/objformat`
11932  else
11933    case $host_os in
11934    freebsd[23].*) objformat=aout ;;
11935    *) objformat=elf ;;
11936    esac
11937  fi
11938  version_type=freebsd-$objformat
11939  case $version_type in
11940    freebsd-elf*)
11941      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11942      soname_spec='$libname$release$shared_ext$major'
11943      need_version=no
11944      need_lib_prefix=no
11945      ;;
11946    freebsd-*)
11947      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11948      need_version=yes
11949      ;;
11950  esac
11951  shlibpath_var=LD_LIBRARY_PATH
11952  case $host_os in
11953  freebsd2.*)
11954    shlibpath_overrides_runpath=yes
11955    ;;
11956  freebsd3.[01]* | freebsdelf3.[01]*)
11957    shlibpath_overrides_runpath=yes
11958    hardcode_into_libs=yes
11959    ;;
11960  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11961  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11962    shlibpath_overrides_runpath=no
11963    hardcode_into_libs=yes
11964    ;;
11965  *) # from 4.6 on, and DragonFly
11966    shlibpath_overrides_runpath=yes
11967    hardcode_into_libs=yes
11968    ;;
11969  esac
11970  ;;
11971
11972haiku*)
11973  version_type=linux # correct to gnu/linux during the next big refactor
11974  need_lib_prefix=no
11975  need_version=no
11976  dynamic_linker="$host_os runtime_loader"
11977  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11978  soname_spec='$libname$release$shared_ext$major'
11979  shlibpath_var=LIBRARY_PATH
11980  shlibpath_overrides_runpath=no
11981  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11982  hardcode_into_libs=yes
11983  ;;
11984
11985hpux9* | hpux10* | hpux11*)
11986  # Give a soname corresponding to the major version so that dld.sl refuses to
11987  # link against other versions.
11988  version_type=sunos
11989  need_lib_prefix=no
11990  need_version=no
11991  case $host_cpu in
11992  ia64*)
11993    shrext_cmds='.so'
11994    hardcode_into_libs=yes
11995    dynamic_linker="$host_os dld.so"
11996    shlibpath_var=LD_LIBRARY_PATH
11997    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11998    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11999    soname_spec='$libname$release$shared_ext$major'
12000    if test 32 = "$HPUX_IA64_MODE"; then
12001      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12002      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12003    else
12004      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12005      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12006    fi
12007    ;;
12008  hppa*64*)
12009    shrext_cmds='.sl'
12010    hardcode_into_libs=yes
12011    dynamic_linker="$host_os dld.sl"
12012    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12013    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12014    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12015    soname_spec='$libname$release$shared_ext$major'
12016    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12017    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12018    ;;
12019  *)
12020    shrext_cmds='.sl'
12021    dynamic_linker="$host_os dld.sl"
12022    shlibpath_var=SHLIB_PATH
12023    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12024    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12025    soname_spec='$libname$release$shared_ext$major'
12026    ;;
12027  esac
12028  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12029  postinstall_cmds='chmod 555 $lib'
12030  # or fails outright, so override atomically:
12031  install_override_mode=555
12032  ;;
12033
12034interix[3-9]*)
12035  version_type=linux # correct to gnu/linux during the next big refactor
12036  need_lib_prefix=no
12037  need_version=no
12038  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12039  soname_spec='$libname$release$shared_ext$major'
12040  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12041  shlibpath_var=LD_LIBRARY_PATH
12042  shlibpath_overrides_runpath=no
12043  hardcode_into_libs=yes
12044  ;;
12045
12046irix5* | irix6* | nonstopux*)
12047  case $host_os in
12048    nonstopux*) version_type=nonstopux ;;
12049    *)
12050	if test yes = "$lt_cv_prog_gnu_ld"; then
12051		version_type=linux # correct to gnu/linux during the next big refactor
12052	else
12053		version_type=irix
12054	fi ;;
12055  esac
12056  need_lib_prefix=no
12057  need_version=no
12058  soname_spec='$libname$release$shared_ext$major'
12059  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12060  case $host_os in
12061  irix5* | nonstopux*)
12062    libsuff= shlibsuff=
12063    ;;
12064  *)
12065    case $LD in # libtool.m4 will add one of these switches to LD
12066    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12067      libsuff= shlibsuff= libmagic=32-bit;;
12068    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12069      libsuff=32 shlibsuff=N32 libmagic=N32;;
12070    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12071      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12072    *) libsuff= shlibsuff= libmagic=never-match;;
12073    esac
12074    ;;
12075  esac
12076  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12077  shlibpath_overrides_runpath=no
12078  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12079  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12080  hardcode_into_libs=yes
12081  ;;
12082
12083# No shared lib support for Linux oldld, aout, or coff.
12084linux*oldld* | linux*aout* | linux*coff*)
12085  dynamic_linker=no
12086  ;;
12087
12088linux*android*)
12089  version_type=none # Android doesn't support versioned libraries.
12090  need_lib_prefix=no
12091  need_version=no
12092  library_names_spec='$libname$release$shared_ext'
12093  soname_spec='$libname$release$shared_ext'
12094  finish_cmds=
12095  shlibpath_var=LD_LIBRARY_PATH
12096  shlibpath_overrides_runpath=yes
12097
12098  # This implies no fast_install, which is unacceptable.
12099  # Some rework will be needed to allow for fast_install
12100  # before this can be enabled.
12101  hardcode_into_libs=yes
12102
12103  dynamic_linker='Android linker'
12104  # Don't embed -rpath directories since the linker doesn't support them.
12105  hardcode_libdir_flag_spec='-L$libdir'
12106  ;;
12107
12108# This must be glibc/ELF.
12109linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12110  version_type=linux # correct to gnu/linux during the next big refactor
12111  need_lib_prefix=no
12112  need_version=no
12113  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12114  soname_spec='$libname$release$shared_ext$major'
12115  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12116  shlibpath_var=LD_LIBRARY_PATH
12117  shlibpath_overrides_runpath=no
12118
12119  # Some binutils ld are patched to set DT_RUNPATH
12120  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12121  $as_echo_n "(cached) " >&6
12122else
12123  lt_cv_shlibpath_overrides_runpath=no
12124    save_LDFLAGS=$LDFLAGS
12125    save_libdir=$libdir
12126    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12127	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12128    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12129/* end confdefs.h.  */
12130
12131int
12132main ()
12133{
12134
12135  ;
12136  return 0;
12137}
12138_ACEOF
12139if ac_fn_c_try_link "$LINENO"; then :
12140  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12141  lt_cv_shlibpath_overrides_runpath=yes
12142fi
12143fi
12144rm -f core conftest.err conftest.$ac_objext \
12145    conftest$ac_exeext conftest.$ac_ext
12146    LDFLAGS=$save_LDFLAGS
12147    libdir=$save_libdir
12148
12149fi
12150
12151  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12152
12153  # This implies no fast_install, which is unacceptable.
12154  # Some rework will be needed to allow for fast_install
12155  # before this can be enabled.
12156  hardcode_into_libs=yes
12157
12158  # Add ABI-specific directories to the system library path.
12159  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12160
12161  # Ideally, we could use ldconfig to report *all* directores which are
12162  # searched for libraries, however this is still not possible.  Aside from not
12163  # being certain /sbin/ldconfig is available, command
12164  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12165  # even though it is searched at run-time.  Try to do the best guess by
12166  # appending ld.so.conf contents (and includes) to the search path.
12167  if test -f /etc/ld.so.conf; then
12168    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' ' '`
12169    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12170  fi
12171
12172  # We used to test for /lib/ld.so.1 and disable shared libraries on
12173  # powerpc, because MkLinux only supported shared libraries with the
12174  # GNU dynamic linker.  Since this was broken with cross compilers,
12175  # most powerpc-linux boxes support dynamic linking these days and
12176  # people can always --disable-shared, the test was removed, and we
12177  # assume the GNU/Linux dynamic linker is in use.
12178  dynamic_linker='GNU/Linux ld.so'
12179  ;;
12180
12181netbsd*)
12182  version_type=sunos
12183  need_lib_prefix=no
12184  need_version=no
12185  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12186    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12187    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12188    dynamic_linker='NetBSD (a.out) ld.so'
12189  else
12190    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12191    soname_spec='$libname$release$shared_ext$major'
12192    dynamic_linker='NetBSD ld.elf_so'
12193  fi
12194  shlibpath_var=LD_LIBRARY_PATH
12195  shlibpath_overrides_runpath=yes
12196  hardcode_into_libs=yes
12197  ;;
12198
12199newsos6)
12200  version_type=linux # correct to gnu/linux during the next big refactor
12201  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12202  shlibpath_var=LD_LIBRARY_PATH
12203  shlibpath_overrides_runpath=yes
12204  ;;
12205
12206*nto* | *qnx*)
12207  version_type=qnx
12208  need_lib_prefix=no
12209  need_version=no
12210  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12211  soname_spec='$libname$release$shared_ext$major'
12212  shlibpath_var=LD_LIBRARY_PATH
12213  shlibpath_overrides_runpath=no
12214  hardcode_into_libs=yes
12215  dynamic_linker='ldqnx.so'
12216  ;;
12217
12218openbsd* | bitrig*)
12219  version_type=sunos
12220  sys_lib_dlsearch_path_spec=/usr/lib
12221  need_lib_prefix=no
12222  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12223    need_version=no
12224  else
12225    need_version=yes
12226  fi
12227  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12228  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12229  shlibpath_var=LD_LIBRARY_PATH
12230  shlibpath_overrides_runpath=yes
12231  ;;
12232
12233os2*)
12234  libname_spec='$name'
12235  version_type=windows
12236  shrext_cmds=.dll
12237  need_version=no
12238  need_lib_prefix=no
12239  # OS/2 can only load a DLL with a base name of 8 characters or less.
12240  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12241    v=$($ECHO $release$versuffix | tr -d .-);
12242    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12243    $ECHO $n$v`$shared_ext'
12244  library_names_spec='${libname}_dll.$libext'
12245  dynamic_linker='OS/2 ld.exe'
12246  shlibpath_var=BEGINLIBPATH
12247  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12248  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12249  postinstall_cmds='base_file=`basename \$file`~
12250    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12251    dldir=$destdir/`dirname \$dlpath`~
12252    test -d \$dldir || mkdir -p \$dldir~
12253    $install_prog $dir/$dlname \$dldir/$dlname~
12254    chmod a+x \$dldir/$dlname~
12255    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12256      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12257    fi'
12258  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12259    dlpath=$dir/\$dldll~
12260    $RM \$dlpath'
12261  ;;
12262
12263osf3* | osf4* | osf5*)
12264  version_type=osf
12265  need_lib_prefix=no
12266  need_version=no
12267  soname_spec='$libname$release$shared_ext$major'
12268  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12269  shlibpath_var=LD_LIBRARY_PATH
12270  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12271  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12272  ;;
12273
12274rdos*)
12275  dynamic_linker=no
12276  ;;
12277
12278solaris*)
12279  version_type=linux # correct to gnu/linux during the next big refactor
12280  need_lib_prefix=no
12281  need_version=no
12282  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12283  soname_spec='$libname$release$shared_ext$major'
12284  shlibpath_var=LD_LIBRARY_PATH
12285  shlibpath_overrides_runpath=yes
12286  hardcode_into_libs=yes
12287  # ldd complains unless libraries are executable
12288  postinstall_cmds='chmod +x $lib'
12289  ;;
12290
12291sunos4*)
12292  version_type=sunos
12293  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12294  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12295  shlibpath_var=LD_LIBRARY_PATH
12296  shlibpath_overrides_runpath=yes
12297  if test yes = "$with_gnu_ld"; then
12298    need_lib_prefix=no
12299  fi
12300  need_version=yes
12301  ;;
12302
12303sysv4 | sysv4.3*)
12304  version_type=linux # correct to gnu/linux during the next big refactor
12305  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12306  soname_spec='$libname$release$shared_ext$major'
12307  shlibpath_var=LD_LIBRARY_PATH
12308  case $host_vendor in
12309    sni)
12310      shlibpath_overrides_runpath=no
12311      need_lib_prefix=no
12312      runpath_var=LD_RUN_PATH
12313      ;;
12314    siemens)
12315      need_lib_prefix=no
12316      ;;
12317    motorola)
12318      need_lib_prefix=no
12319      need_version=no
12320      shlibpath_overrides_runpath=no
12321      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12322      ;;
12323  esac
12324  ;;
12325
12326sysv4*MP*)
12327  if test -d /usr/nec; then
12328    version_type=linux # correct to gnu/linux during the next big refactor
12329    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12330    soname_spec='$libname$shared_ext.$major'
12331    shlibpath_var=LD_LIBRARY_PATH
12332  fi
12333  ;;
12334
12335sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12336  version_type=sco
12337  need_lib_prefix=no
12338  need_version=no
12339  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12340  soname_spec='$libname$release$shared_ext$major'
12341  shlibpath_var=LD_LIBRARY_PATH
12342  shlibpath_overrides_runpath=yes
12343  hardcode_into_libs=yes
12344  if test yes = "$with_gnu_ld"; then
12345    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12346  else
12347    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12348    case $host_os in
12349      sco3.2v5*)
12350        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12351	;;
12352    esac
12353  fi
12354  sys_lib_dlsearch_path_spec='/usr/lib'
12355  ;;
12356
12357tpf*)
12358  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12359  version_type=linux # correct to gnu/linux during the next big refactor
12360  need_lib_prefix=no
12361  need_version=no
12362  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12363  shlibpath_var=LD_LIBRARY_PATH
12364  shlibpath_overrides_runpath=no
12365  hardcode_into_libs=yes
12366  ;;
12367
12368uts4*)
12369  version_type=linux # correct to gnu/linux during the next big refactor
12370  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12371  soname_spec='$libname$release$shared_ext$major'
12372  shlibpath_var=LD_LIBRARY_PATH
12373  ;;
12374
12375*)
12376  dynamic_linker=no
12377  ;;
12378esac
12379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12380$as_echo "$dynamic_linker" >&6; }
12381test no = "$dynamic_linker" && can_build_shared=no
12382
12383variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12384if test yes = "$GCC"; then
12385  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12386fi
12387
12388if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12389  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12390fi
12391
12392if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12393  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12394fi
12395
12396# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12397configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12398
12399# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12400func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12401
12402# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12403configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12502$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12503hardcode_action=
12504if test -n "$hardcode_libdir_flag_spec" ||
12505   test -n "$runpath_var" ||
12506   test yes = "$hardcode_automatic"; then
12507
12508  # We can hardcode non-existent directories.
12509  if test no != "$hardcode_direct" &&
12510     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12511     # have to relink, otherwise we might link with an installed library
12512     # when we should be linking with a yet-to-be-installed one
12513     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12514     test no != "$hardcode_minus_L"; then
12515    # Linking always hardcodes the temporary library directory.
12516    hardcode_action=relink
12517  else
12518    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12519    hardcode_action=immediate
12520  fi
12521else
12522  # We cannot hardcode anything, or else we can only hardcode existing
12523  # directories.
12524  hardcode_action=unsupported
12525fi
12526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12527$as_echo "$hardcode_action" >&6; }
12528
12529if test relink = "$hardcode_action" ||
12530   test yes = "$inherit_rpath"; then
12531  # Fast installation is not supported
12532  enable_fast_install=no
12533elif test yes = "$shlibpath_overrides_runpath" ||
12534     test no = "$enable_shared"; then
12535  # Fast installation is not necessary
12536  enable_fast_install=needless
12537fi
12538
12539
12540
12541
12542
12543
12544  if test yes != "$enable_dlopen"; then
12545  enable_dlopen=unknown
12546  enable_dlopen_self=unknown
12547  enable_dlopen_self_static=unknown
12548else
12549  lt_cv_dlopen=no
12550  lt_cv_dlopen_libs=
12551
12552  case $host_os in
12553  beos*)
12554    lt_cv_dlopen=load_add_on
12555    lt_cv_dlopen_libs=
12556    lt_cv_dlopen_self=yes
12557    ;;
12558
12559  mingw* | pw32* | cegcc*)
12560    lt_cv_dlopen=LoadLibrary
12561    lt_cv_dlopen_libs=
12562    ;;
12563
12564  cygwin*)
12565    lt_cv_dlopen=dlopen
12566    lt_cv_dlopen_libs=
12567    ;;
12568
12569  darwin*)
12570    # if libdl is installed we need to link against it
12571    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12572$as_echo_n "checking for dlopen in -ldl... " >&6; }
12573if ${ac_cv_lib_dl_dlopen+:} false; then :
12574  $as_echo_n "(cached) " >&6
12575else
12576  ac_check_lib_save_LIBS=$LIBS
12577LIBS="-ldl  $LIBS"
12578cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12579/* end confdefs.h.  */
12580
12581/* Override any GCC internal prototype to avoid an error.
12582   Use char because int might match the return type of a GCC
12583   builtin and then its argument prototype would still apply.  */
12584#ifdef __cplusplus
12585extern "C"
12586#endif
12587char dlopen ();
12588int
12589main ()
12590{
12591return dlopen ();
12592  ;
12593  return 0;
12594}
12595_ACEOF
12596if ac_fn_c_try_link "$LINENO"; then :
12597  ac_cv_lib_dl_dlopen=yes
12598else
12599  ac_cv_lib_dl_dlopen=no
12600fi
12601rm -f core conftest.err conftest.$ac_objext \
12602    conftest$ac_exeext conftest.$ac_ext
12603LIBS=$ac_check_lib_save_LIBS
12604fi
12605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12606$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12607if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12608  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12609else
12610
12611    lt_cv_dlopen=dyld
12612    lt_cv_dlopen_libs=
12613    lt_cv_dlopen_self=yes
12614
12615fi
12616
12617    ;;
12618
12619  tpf*)
12620    # Don't try to run any link tests for TPF.  We know it's impossible
12621    # because TPF is a cross-compiler, and we know how we open DSOs.
12622    lt_cv_dlopen=dlopen
12623    lt_cv_dlopen_libs=
12624    lt_cv_dlopen_self=no
12625    ;;
12626
12627  *)
12628    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12629if test "x$ac_cv_func_shl_load" = xyes; then :
12630  lt_cv_dlopen=shl_load
12631else
12632  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12633$as_echo_n "checking for shl_load in -ldld... " >&6; }
12634if ${ac_cv_lib_dld_shl_load+:} false; then :
12635  $as_echo_n "(cached) " >&6
12636else
12637  ac_check_lib_save_LIBS=$LIBS
12638LIBS="-ldld  $LIBS"
12639cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12640/* end confdefs.h.  */
12641
12642/* Override any GCC internal prototype to avoid an error.
12643   Use char because int might match the return type of a GCC
12644   builtin and then its argument prototype would still apply.  */
12645#ifdef __cplusplus
12646extern "C"
12647#endif
12648char shl_load ();
12649int
12650main ()
12651{
12652return shl_load ();
12653  ;
12654  return 0;
12655}
12656_ACEOF
12657if ac_fn_c_try_link "$LINENO"; then :
12658  ac_cv_lib_dld_shl_load=yes
12659else
12660  ac_cv_lib_dld_shl_load=no
12661fi
12662rm -f core conftest.err conftest.$ac_objext \
12663    conftest$ac_exeext conftest.$ac_ext
12664LIBS=$ac_check_lib_save_LIBS
12665fi
12666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12667$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12668if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12669  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12670else
12671  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12672if test "x$ac_cv_func_dlopen" = xyes; then :
12673  lt_cv_dlopen=dlopen
12674else
12675  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12676$as_echo_n "checking for dlopen in -ldl... " >&6; }
12677if ${ac_cv_lib_dl_dlopen+:} false; then :
12678  $as_echo_n "(cached) " >&6
12679else
12680  ac_check_lib_save_LIBS=$LIBS
12681LIBS="-ldl  $LIBS"
12682cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12683/* end confdefs.h.  */
12684
12685/* Override any GCC internal prototype to avoid an error.
12686   Use char because int might match the return type of a GCC
12687   builtin and then its argument prototype would still apply.  */
12688#ifdef __cplusplus
12689extern "C"
12690#endif
12691char dlopen ();
12692int
12693main ()
12694{
12695return dlopen ();
12696  ;
12697  return 0;
12698}
12699_ACEOF
12700if ac_fn_c_try_link "$LINENO"; then :
12701  ac_cv_lib_dl_dlopen=yes
12702else
12703  ac_cv_lib_dl_dlopen=no
12704fi
12705rm -f core conftest.err conftest.$ac_objext \
12706    conftest$ac_exeext conftest.$ac_ext
12707LIBS=$ac_check_lib_save_LIBS
12708fi
12709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12710$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12711if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12712  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12713else
12714  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12715$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12716if ${ac_cv_lib_svld_dlopen+:} false; then :
12717  $as_echo_n "(cached) " >&6
12718else
12719  ac_check_lib_save_LIBS=$LIBS
12720LIBS="-lsvld  $LIBS"
12721cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12722/* end confdefs.h.  */
12723
12724/* Override any GCC internal prototype to avoid an error.
12725   Use char because int might match the return type of a GCC
12726   builtin and then its argument prototype would still apply.  */
12727#ifdef __cplusplus
12728extern "C"
12729#endif
12730char dlopen ();
12731int
12732main ()
12733{
12734return dlopen ();
12735  ;
12736  return 0;
12737}
12738_ACEOF
12739if ac_fn_c_try_link "$LINENO"; then :
12740  ac_cv_lib_svld_dlopen=yes
12741else
12742  ac_cv_lib_svld_dlopen=no
12743fi
12744rm -f core conftest.err conftest.$ac_objext \
12745    conftest$ac_exeext conftest.$ac_ext
12746LIBS=$ac_check_lib_save_LIBS
12747fi
12748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12749$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12750if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12751  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12752else
12753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12754$as_echo_n "checking for dld_link in -ldld... " >&6; }
12755if ${ac_cv_lib_dld_dld_link+:} false; then :
12756  $as_echo_n "(cached) " >&6
12757else
12758  ac_check_lib_save_LIBS=$LIBS
12759LIBS="-ldld  $LIBS"
12760cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12761/* end confdefs.h.  */
12762
12763/* Override any GCC internal prototype to avoid an error.
12764   Use char because int might match the return type of a GCC
12765   builtin and then its argument prototype would still apply.  */
12766#ifdef __cplusplus
12767extern "C"
12768#endif
12769char dld_link ();
12770int
12771main ()
12772{
12773return dld_link ();
12774  ;
12775  return 0;
12776}
12777_ACEOF
12778if ac_fn_c_try_link "$LINENO"; then :
12779  ac_cv_lib_dld_dld_link=yes
12780else
12781  ac_cv_lib_dld_dld_link=no
12782fi
12783rm -f core conftest.err conftest.$ac_objext \
12784    conftest$ac_exeext conftest.$ac_ext
12785LIBS=$ac_check_lib_save_LIBS
12786fi
12787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12788$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12789if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12790  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12791fi
12792
12793
12794fi
12795
12796
12797fi
12798
12799
12800fi
12801
12802
12803fi
12804
12805
12806fi
12807
12808    ;;
12809  esac
12810
12811  if test no = "$lt_cv_dlopen"; then
12812    enable_dlopen=no
12813  else
12814    enable_dlopen=yes
12815  fi
12816
12817  case $lt_cv_dlopen in
12818  dlopen)
12819    save_CPPFLAGS=$CPPFLAGS
12820    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12821
12822    save_LDFLAGS=$LDFLAGS
12823    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12824
12825    save_LIBS=$LIBS
12826    LIBS="$lt_cv_dlopen_libs $LIBS"
12827
12828    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12829$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12830if ${lt_cv_dlopen_self+:} false; then :
12831  $as_echo_n "(cached) " >&6
12832else
12833  	  if test yes = "$cross_compiling"; then :
12834  lt_cv_dlopen_self=cross
12835else
12836  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12837  lt_status=$lt_dlunknown
12838  cat > conftest.$ac_ext <<_LT_EOF
12839#line $LINENO "configure"
12840#include "confdefs.h"
12841
12842#if HAVE_DLFCN_H
12843#include <dlfcn.h>
12844#endif
12845
12846#include <stdio.h>
12847
12848#ifdef RTLD_GLOBAL
12849#  define LT_DLGLOBAL		RTLD_GLOBAL
12850#else
12851#  ifdef DL_GLOBAL
12852#    define LT_DLGLOBAL		DL_GLOBAL
12853#  else
12854#    define LT_DLGLOBAL		0
12855#  endif
12856#endif
12857
12858/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12859   find out it does not work in some platform. */
12860#ifndef LT_DLLAZY_OR_NOW
12861#  ifdef RTLD_LAZY
12862#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12863#  else
12864#    ifdef DL_LAZY
12865#      define LT_DLLAZY_OR_NOW		DL_LAZY
12866#    else
12867#      ifdef RTLD_NOW
12868#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12869#      else
12870#        ifdef DL_NOW
12871#          define LT_DLLAZY_OR_NOW	DL_NOW
12872#        else
12873#          define LT_DLLAZY_OR_NOW	0
12874#        endif
12875#      endif
12876#    endif
12877#  endif
12878#endif
12879
12880/* When -fvisibility=hidden is used, assume the code has been annotated
12881   correspondingly for the symbols needed.  */
12882#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12883int fnord () __attribute__((visibility("default")));
12884#endif
12885
12886int fnord () { return 42; }
12887int main ()
12888{
12889  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12890  int status = $lt_dlunknown;
12891
12892  if (self)
12893    {
12894      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12895      else
12896        {
12897	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12898          else puts (dlerror ());
12899	}
12900      /* dlclose (self); */
12901    }
12902  else
12903    puts (dlerror ());
12904
12905  return status;
12906}
12907_LT_EOF
12908  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12909  (eval $ac_link) 2>&5
12910  ac_status=$?
12911  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12912  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12913    (./conftest; exit; ) >&5 2>/dev/null
12914    lt_status=$?
12915    case x$lt_status in
12916      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12917      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12918      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12919    esac
12920  else :
12921    # compilation failed
12922    lt_cv_dlopen_self=no
12923  fi
12924fi
12925rm -fr conftest*
12926
12927
12928fi
12929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12930$as_echo "$lt_cv_dlopen_self" >&6; }
12931
12932    if test yes = "$lt_cv_dlopen_self"; then
12933      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12934      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12935$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12936if ${lt_cv_dlopen_self_static+:} false; then :
12937  $as_echo_n "(cached) " >&6
12938else
12939  	  if test yes = "$cross_compiling"; then :
12940  lt_cv_dlopen_self_static=cross
12941else
12942  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12943  lt_status=$lt_dlunknown
12944  cat > conftest.$ac_ext <<_LT_EOF
12945#line $LINENO "configure"
12946#include "confdefs.h"
12947
12948#if HAVE_DLFCN_H
12949#include <dlfcn.h>
12950#endif
12951
12952#include <stdio.h>
12953
12954#ifdef RTLD_GLOBAL
12955#  define LT_DLGLOBAL		RTLD_GLOBAL
12956#else
12957#  ifdef DL_GLOBAL
12958#    define LT_DLGLOBAL		DL_GLOBAL
12959#  else
12960#    define LT_DLGLOBAL		0
12961#  endif
12962#endif
12963
12964/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12965   find out it does not work in some platform. */
12966#ifndef LT_DLLAZY_OR_NOW
12967#  ifdef RTLD_LAZY
12968#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12969#  else
12970#    ifdef DL_LAZY
12971#      define LT_DLLAZY_OR_NOW		DL_LAZY
12972#    else
12973#      ifdef RTLD_NOW
12974#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12975#      else
12976#        ifdef DL_NOW
12977#          define LT_DLLAZY_OR_NOW	DL_NOW
12978#        else
12979#          define LT_DLLAZY_OR_NOW	0
12980#        endif
12981#      endif
12982#    endif
12983#  endif
12984#endif
12985
12986/* When -fvisibility=hidden is used, assume the code has been annotated
12987   correspondingly for the symbols needed.  */
12988#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12989int fnord () __attribute__((visibility("default")));
12990#endif
12991
12992int fnord () { return 42; }
12993int main ()
12994{
12995  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12996  int status = $lt_dlunknown;
12997
12998  if (self)
12999    {
13000      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13001      else
13002        {
13003	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13004          else puts (dlerror ());
13005	}
13006      /* dlclose (self); */
13007    }
13008  else
13009    puts (dlerror ());
13010
13011  return status;
13012}
13013_LT_EOF
13014  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13015  (eval $ac_link) 2>&5
13016  ac_status=$?
13017  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13018  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13019    (./conftest; exit; ) >&5 2>/dev/null
13020    lt_status=$?
13021    case x$lt_status in
13022      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13023      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13024      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13025    esac
13026  else :
13027    # compilation failed
13028    lt_cv_dlopen_self_static=no
13029  fi
13030fi
13031rm -fr conftest*
13032
13033
13034fi
13035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13036$as_echo "$lt_cv_dlopen_self_static" >&6; }
13037    fi
13038
13039    CPPFLAGS=$save_CPPFLAGS
13040    LDFLAGS=$save_LDFLAGS
13041    LIBS=$save_LIBS
13042    ;;
13043  esac
13044
13045  case $lt_cv_dlopen_self in
13046  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13047  *) enable_dlopen_self=unknown ;;
13048  esac
13049
13050  case $lt_cv_dlopen_self_static in
13051  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13052  *) enable_dlopen_self_static=unknown ;;
13053  esac
13054fi
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072striplib=
13073old_striplib=
13074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13075$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13076if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13077  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13078  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13080$as_echo "yes" >&6; }
13081else
13082# FIXME - insert some real tests, host_os isn't really good enough
13083  case $host_os in
13084  darwin*)
13085    if test -n "$STRIP"; then
13086      striplib="$STRIP -x"
13087      old_striplib="$STRIP -S"
13088      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13089$as_echo "yes" >&6; }
13090    else
13091      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13092$as_echo "no" >&6; }
13093    fi
13094    ;;
13095  *)
13096    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13097$as_echo "no" >&6; }
13098    ;;
13099  esac
13100fi
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113  # Report what library types will actually be built
13114  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13115$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13117$as_echo "$can_build_shared" >&6; }
13118
13119  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13120$as_echo_n "checking whether to build shared libraries... " >&6; }
13121  test no = "$can_build_shared" && enable_shared=no
13122
13123  # On AIX, shared libraries and static libraries use the same namespace, and
13124  # are all built from PIC.
13125  case $host_os in
13126  aix3*)
13127    test yes = "$enable_shared" && enable_static=no
13128    if test -n "$RANLIB"; then
13129      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13130      postinstall_cmds='$RANLIB $lib'
13131    fi
13132    ;;
13133
13134  aix[4-9]*)
13135    if test ia64 != "$host_cpu"; then
13136      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13137      yes,aix,yes) ;;			# shared object as lib.so file only
13138      yes,svr4,*) ;;			# shared object as lib.so archive member only
13139      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13140      esac
13141    fi
13142    ;;
13143  esac
13144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13145$as_echo "$enable_shared" >&6; }
13146
13147  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13148$as_echo_n "checking whether to build static libraries... " >&6; }
13149  # Make sure either enable_shared or enable_static is yes.
13150  test yes = "$enable_shared" || enable_static=yes
13151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13152$as_echo "$enable_static" >&6; }
13153
13154
13155
13156
13157fi
13158ac_ext=c
13159ac_cpp='$CPP $CPPFLAGS'
13160ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13161ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13162ac_compiler_gnu=$ac_cv_c_compiler_gnu
13163
13164CC=$lt_save_CC
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180        ac_config_commands="$ac_config_commands libtool"
13181
13182
13183
13184
13185# Only expand once:
13186
13187
13188
13189# =======================================================================
13190# Gettext
13191# =======================================================================
13192
13193GETTEXT_PACKAGE=libmatemixer
13194
13195
13196cat >>confdefs.h <<_ACEOF
13197#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13198_ACEOF
13199
13200
13201
13202
13203  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13204$as_echo_n "checking whether NLS is requested... " >&6; }
13205    # Check whether --enable-nls was given.
13206if test "${enable_nls+set}" = set; then :
13207  enableval=$enable_nls; USE_NLS=$enableval
13208else
13209  USE_NLS=yes
13210fi
13211
13212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13213$as_echo "$USE_NLS" >&6; }
13214
13215
13216
13217
13218      GETTEXT_MACRO_VERSION=0.19
13219
13220
13221
13222
13223# Prepare PATH_SEPARATOR.
13224# The user is always right.
13225if test "${PATH_SEPARATOR+set}" != set; then
13226  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
13227  # contains only /bin. Note that ksh looks also at the FPATH variable,
13228  # so we have to set that as well for the test.
13229  PATH_SEPARATOR=:
13230  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13231    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13232           || PATH_SEPARATOR=';'
13233       }
13234fi
13235
13236# Find out how to test for executable files. Don't use a zero-byte file,
13237# as systems may use methods other than mode bits to determine executability.
13238cat >conf$$.file <<_ASEOF
13239#! /bin/sh
13240exit 0
13241_ASEOF
13242chmod +x conf$$.file
13243if test -x conf$$.file >/dev/null 2>&1; then
13244  ac_executable_p="test -x"
13245else
13246  ac_executable_p="test -f"
13247fi
13248rm -f conf$$.file
13249
13250# Extract the first word of "msgfmt", so it can be a program name with args.
13251set dummy msgfmt; ac_word=$2
13252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13253$as_echo_n "checking for $ac_word... " >&6; }
13254if ${ac_cv_path_MSGFMT+:} false; then :
13255  $as_echo_n "(cached) " >&6
13256else
13257  case "$MSGFMT" in
13258  [\\/]* | ?:[\\/]*)
13259    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13260    ;;
13261  *)
13262    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13263    for ac_dir in $PATH; do
13264      IFS="$ac_save_IFS"
13265      test -z "$ac_dir" && ac_dir=.
13266      for ac_exec_ext in '' $ac_executable_extensions; do
13267        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13268          echo "$as_me: trying $ac_dir/$ac_word..." >&5
13269          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
13270     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13271            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13272            break 2
13273          fi
13274        fi
13275      done
13276    done
13277    IFS="$ac_save_IFS"
13278  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13279    ;;
13280esac
13281fi
13282MSGFMT="$ac_cv_path_MSGFMT"
13283if test "$MSGFMT" != ":"; then
13284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13285$as_echo "$MSGFMT" >&6; }
13286else
13287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13288$as_echo "no" >&6; }
13289fi
13290
13291  # Extract the first word of "gmsgfmt", so it can be a program name with args.
13292set dummy gmsgfmt; ac_word=$2
13293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13294$as_echo_n "checking for $ac_word... " >&6; }
13295if ${ac_cv_path_GMSGFMT+:} false; then :
13296  $as_echo_n "(cached) " >&6
13297else
13298  case $GMSGFMT in
13299  [\\/]* | ?:[\\/]*)
13300  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13301  ;;
13302  *)
13303  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13304for as_dir in $PATH
13305do
13306  IFS=$as_save_IFS
13307  test -z "$as_dir" && as_dir=.
13308    for ac_exec_ext in '' $ac_executable_extensions; do
13309  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13310    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13311    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13312    break 2
13313  fi
13314done
13315  done
13316IFS=$as_save_IFS
13317
13318  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13319  ;;
13320esac
13321fi
13322GMSGFMT=$ac_cv_path_GMSGFMT
13323if test -n "$GMSGFMT"; then
13324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13325$as_echo "$GMSGFMT" >&6; }
13326else
13327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13328$as_echo "no" >&6; }
13329fi
13330
13331
13332
13333    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13334    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
13335    *) MSGFMT_015=$MSGFMT ;;
13336  esac
13337
13338  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13339    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
13340    *) GMSGFMT_015=$GMSGFMT ;;
13341  esac
13342
13343
13344
13345# Prepare PATH_SEPARATOR.
13346# The user is always right.
13347if test "${PATH_SEPARATOR+set}" != set; then
13348  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
13349  # contains only /bin. Note that ksh looks also at the FPATH variable,
13350  # so we have to set that as well for the test.
13351  PATH_SEPARATOR=:
13352  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13353    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13354           || PATH_SEPARATOR=';'
13355       }
13356fi
13357
13358# Find out how to test for executable files. Don't use a zero-byte file,
13359# as systems may use methods other than mode bits to determine executability.
13360cat >conf$$.file <<_ASEOF
13361#! /bin/sh
13362exit 0
13363_ASEOF
13364chmod +x conf$$.file
13365if test -x conf$$.file >/dev/null 2>&1; then
13366  ac_executable_p="test -x"
13367else
13368  ac_executable_p="test -f"
13369fi
13370rm -f conf$$.file
13371
13372# Extract the first word of "xgettext", so it can be a program name with args.
13373set dummy xgettext; ac_word=$2
13374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13375$as_echo_n "checking for $ac_word... " >&6; }
13376if ${ac_cv_path_XGETTEXT+:} false; then :
13377  $as_echo_n "(cached) " >&6
13378else
13379  case "$XGETTEXT" in
13380  [\\/]* | ?:[\\/]*)
13381    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13382    ;;
13383  *)
13384    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13385    for ac_dir in $PATH; do
13386      IFS="$ac_save_IFS"
13387      test -z "$ac_dir" && ac_dir=.
13388      for ac_exec_ext in '' $ac_executable_extensions; do
13389        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13390          echo "$as_me: trying $ac_dir/$ac_word..." >&5
13391          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13392     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13393            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13394            break 2
13395          fi
13396        fi
13397      done
13398    done
13399    IFS="$ac_save_IFS"
13400  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13401    ;;
13402esac
13403fi
13404XGETTEXT="$ac_cv_path_XGETTEXT"
13405if test "$XGETTEXT" != ":"; then
13406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13407$as_echo "$XGETTEXT" >&6; }
13408else
13409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13410$as_echo "no" >&6; }
13411fi
13412
13413    rm -f messages.po
13414
13415    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13416    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13417    *) XGETTEXT_015=$XGETTEXT ;;
13418  esac
13419
13420
13421
13422# Prepare PATH_SEPARATOR.
13423# The user is always right.
13424if test "${PATH_SEPARATOR+set}" != set; then
13425  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
13426  # contains only /bin. Note that ksh looks also at the FPATH variable,
13427  # so we have to set that as well for the test.
13428  PATH_SEPARATOR=:
13429  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13430    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13431           || PATH_SEPARATOR=';'
13432       }
13433fi
13434
13435# Find out how to test for executable files. Don't use a zero-byte file,
13436# as systems may use methods other than mode bits to determine executability.
13437cat >conf$$.file <<_ASEOF
13438#! /bin/sh
13439exit 0
13440_ASEOF
13441chmod +x conf$$.file
13442if test -x conf$$.file >/dev/null 2>&1; then
13443  ac_executable_p="test -x"
13444else
13445  ac_executable_p="test -f"
13446fi
13447rm -f conf$$.file
13448
13449# Extract the first word of "msgmerge", so it can be a program name with args.
13450set dummy msgmerge; ac_word=$2
13451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13452$as_echo_n "checking for $ac_word... " >&6; }
13453if ${ac_cv_path_MSGMERGE+:} false; then :
13454  $as_echo_n "(cached) " >&6
13455else
13456  case "$MSGMERGE" in
13457  [\\/]* | ?:[\\/]*)
13458    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13459    ;;
13460  *)
13461    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13462    for ac_dir in $PATH; do
13463      IFS="$ac_save_IFS"
13464      test -z "$ac_dir" && ac_dir=.
13465      for ac_exec_ext in '' $ac_executable_extensions; do
13466        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13467          echo "$as_me: trying $ac_dir/$ac_word..." >&5
13468          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13469            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13470            break 2
13471          fi
13472        fi
13473      done
13474    done
13475    IFS="$ac_save_IFS"
13476  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13477    ;;
13478esac
13479fi
13480MSGMERGE="$ac_cv_path_MSGMERGE"
13481if test "$MSGMERGE" != ":"; then
13482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13483$as_echo "$MSGMERGE" >&6; }
13484else
13485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13486$as_echo "no" >&6; }
13487fi
13488
13489
13490        test -n "$localedir" || localedir='${datadir}/locale'
13491
13492
13493    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13494
13495
13496  ac_config_commands="$ac_config_commands po-directories"
13497
13498
13499
13500      if test "X$prefix" = "XNONE"; then
13501    acl_final_prefix="$ac_default_prefix"
13502  else
13503    acl_final_prefix="$prefix"
13504  fi
13505  if test "X$exec_prefix" = "XNONE"; then
13506    acl_final_exec_prefix='${prefix}'
13507  else
13508    acl_final_exec_prefix="$exec_prefix"
13509  fi
13510  acl_save_prefix="$prefix"
13511  prefix="$acl_final_prefix"
13512  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13513  prefix="$acl_save_prefix"
13514
13515
13516
13517# Check whether --with-gnu-ld was given.
13518if test "${with_gnu_ld+set}" = set; then :
13519  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13520else
13521  with_gnu_ld=no
13522fi
13523
13524# Prepare PATH_SEPARATOR.
13525# The user is always right.
13526if test "${PATH_SEPARATOR+set}" != set; then
13527  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
13528  # contains only /bin. Note that ksh looks also at the FPATH variable,
13529  # so we have to set that as well for the test.
13530  PATH_SEPARATOR=:
13531  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13532    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13533           || PATH_SEPARATOR=';'
13534       }
13535fi
13536
13537ac_prog=ld
13538if test "$GCC" = yes; then
13539  # Check if gcc -print-prog-name=ld gives a path.
13540  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13541$as_echo_n "checking for ld used by $CC... " >&6; }
13542  case $host in
13543  *-*-mingw*)
13544    # gcc leaves a trailing carriage return which upsets mingw
13545    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13546  *)
13547    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13548  esac
13549  case $ac_prog in
13550    # Accept absolute paths.
13551    [\\/]* | ?:[\\/]*)
13552      re_direlt='/[^/][^/]*/\.\./'
13553      # Canonicalize the pathname of ld
13554      ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
13555      while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
13556        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13557      done
13558      test -z "$LD" && LD="$ac_prog"
13559      ;;
13560  "")
13561    # If it fails, then pretend we aren't using GCC.
13562    ac_prog=ld
13563    ;;
13564  *)
13565    # If it is relative, then search for the first ld in PATH.
13566    with_gnu_ld=unknown
13567    ;;
13568  esac
13569elif test "$with_gnu_ld" = yes; then
13570  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13571$as_echo_n "checking for GNU ld... " >&6; }
13572else
13573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13574$as_echo_n "checking for non-GNU ld... " >&6; }
13575fi
13576if ${acl_cv_path_LD+:} false; then :
13577  $as_echo_n "(cached) " >&6
13578else
13579  if test -z "$LD"; then
13580  acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13581  for ac_dir in $PATH; do
13582    IFS="$acl_save_ifs"
13583    test -z "$ac_dir" && ac_dir=.
13584    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13585      acl_cv_path_LD="$ac_dir/$ac_prog"
13586      # Check to see if the program is GNU ld.  I'd rather use --version,
13587      # but apparently some variants of GNU ld only accept -v.
13588      # Break only if it was the GNU/non-GNU ld that we prefer.
13589      case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
13590      *GNU* | *'with BFD'*)
13591        test "$with_gnu_ld" != no && break
13592        ;;
13593      *)
13594        test "$with_gnu_ld" != yes && break
13595        ;;
13596      esac
13597    fi
13598  done
13599  IFS="$acl_save_ifs"
13600else
13601  acl_cv_path_LD="$LD" # Let the user override the test with a path.
13602fi
13603fi
13604
13605LD="$acl_cv_path_LD"
13606if test -n "$LD"; then
13607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13608$as_echo "$LD" >&6; }
13609else
13610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13611$as_echo "no" >&6; }
13612fi
13613test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13615$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13616if ${acl_cv_prog_gnu_ld+:} false; then :
13617  $as_echo_n "(cached) " >&6
13618else
13619  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13620case `$LD -v 2>&1 </dev/null` in
13621*GNU* | *'with BFD'*)
13622  acl_cv_prog_gnu_ld=yes
13623  ;;
13624*)
13625  acl_cv_prog_gnu_ld=no
13626  ;;
13627esac
13628fi
13629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13630$as_echo "$acl_cv_prog_gnu_ld" >&6; }
13631with_gnu_ld=$acl_cv_prog_gnu_ld
13632
13633
13634
13635
13636                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13637$as_echo_n "checking for shared library run path origin... " >&6; }
13638if ${acl_cv_rpath+:} false; then :
13639  $as_echo_n "(cached) " >&6
13640else
13641
13642    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13643    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13644    . ./conftest.sh
13645    rm -f ./conftest.sh
13646    acl_cv_rpath=done
13647
13648fi
13649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13650$as_echo "$acl_cv_rpath" >&6; }
13651  wl="$acl_cv_wl"
13652  acl_libext="$acl_cv_libext"
13653  acl_shlibext="$acl_cv_shlibext"
13654  acl_libname_spec="$acl_cv_libname_spec"
13655  acl_library_names_spec="$acl_cv_library_names_spec"
13656  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13657  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13658  acl_hardcode_direct="$acl_cv_hardcode_direct"
13659  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13660    # Check whether --enable-rpath was given.
13661if test "${enable_rpath+set}" = set; then :
13662  enableval=$enable_rpath; :
13663else
13664  enable_rpath=yes
13665fi
13666
13667
13668
13669
13670  acl_libdirstem=lib
13671  acl_libdirstem2=
13672  case "$host_os" in
13673    solaris*)
13674                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
13675$as_echo_n "checking for 64-bit host... " >&6; }
13676if ${gl_cv_solaris_64bit+:} false; then :
13677  $as_echo_n "(cached) " >&6
13678else
13679  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13680/* end confdefs.h.  */
13681
13682#ifdef _LP64
13683sixtyfour bits
13684#endif
13685
13686_ACEOF
13687if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13688  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
13689  gl_cv_solaris_64bit=yes
13690else
13691  gl_cv_solaris_64bit=no
13692fi
13693rm -f conftest*
13694
13695
13696fi
13697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
13698$as_echo "$gl_cv_solaris_64bit" >&6; }
13699      if test $gl_cv_solaris_64bit = yes; then
13700        acl_libdirstem=lib/64
13701        case "$host_cpu" in
13702          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
13703          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
13704        esac
13705      fi
13706      ;;
13707    *)
13708      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13709      if test -n "$searchpath"; then
13710        acl_save_IFS="${IFS= 	}"; IFS=":"
13711        for searchdir in $searchpath; do
13712          if test -d "$searchdir"; then
13713            case "$searchdir" in
13714              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13715              */../ | */.. )
13716                # Better ignore directories of this form. They are misleading.
13717                ;;
13718              *) searchdir=`cd "$searchdir" && pwd`
13719                 case "$searchdir" in
13720                   */lib64 ) acl_libdirstem=lib64 ;;
13721                 esac ;;
13722            esac
13723          fi
13724        done
13725        IFS="$acl_save_IFS"
13726      fi
13727      ;;
13728  esac
13729  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742    use_additional=yes
13743
13744  acl_save_prefix="$prefix"
13745  prefix="$acl_final_prefix"
13746  acl_save_exec_prefix="$exec_prefix"
13747  exec_prefix="$acl_final_exec_prefix"
13748
13749    eval additional_includedir=\"$includedir\"
13750    eval additional_libdir=\"$libdir\"
13751
13752  exec_prefix="$acl_save_exec_prefix"
13753  prefix="$acl_save_prefix"
13754
13755
13756# Check whether --with-libiconv-prefix was given.
13757if test "${with_libiconv_prefix+set}" = set; then :
13758  withval=$with_libiconv_prefix;
13759    if test "X$withval" = "Xno"; then
13760      use_additional=no
13761    else
13762      if test "X$withval" = "X"; then
13763
13764  acl_save_prefix="$prefix"
13765  prefix="$acl_final_prefix"
13766  acl_save_exec_prefix="$exec_prefix"
13767  exec_prefix="$acl_final_exec_prefix"
13768
13769          eval additional_includedir=\"$includedir\"
13770          eval additional_libdir=\"$libdir\"
13771
13772  exec_prefix="$acl_save_exec_prefix"
13773  prefix="$acl_save_prefix"
13774
13775      else
13776        additional_includedir="$withval/include"
13777        additional_libdir="$withval/$acl_libdirstem"
13778        if test "$acl_libdirstem2" != "$acl_libdirstem" \
13779           && ! test -d "$withval/$acl_libdirstem"; then
13780          additional_libdir="$withval/$acl_libdirstem2"
13781        fi
13782      fi
13783    fi
13784
13785fi
13786
13787      LIBICONV=
13788  LTLIBICONV=
13789  INCICONV=
13790  LIBICONV_PREFIX=
13791      HAVE_LIBICONV=
13792  rpathdirs=
13793  ltrpathdirs=
13794  names_already_handled=
13795  names_next_round='iconv '
13796  while test -n "$names_next_round"; do
13797    names_this_round="$names_next_round"
13798    names_next_round=
13799    for name in $names_this_round; do
13800      already_handled=
13801      for n in $names_already_handled; do
13802        if test "$n" = "$name"; then
13803          already_handled=yes
13804          break
13805        fi
13806      done
13807      if test -z "$already_handled"; then
13808        names_already_handled="$names_already_handled $name"
13809                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
13810        eval value=\"\$HAVE_LIB$uppername\"
13811        if test -n "$value"; then
13812          if test "$value" = yes; then
13813            eval value=\"\$LIB$uppername\"
13814            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13815            eval value=\"\$LTLIB$uppername\"
13816            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13817          else
13818                                    :
13819          fi
13820        else
13821                              found_dir=
13822          found_la=
13823          found_so=
13824          found_a=
13825          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
13826          if test -n "$acl_shlibext"; then
13827            shrext=".$acl_shlibext"             # typically: shrext=.so
13828          else
13829            shrext=
13830          fi
13831          if test $use_additional = yes; then
13832            dir="$additional_libdir"
13833                                    if test -n "$acl_shlibext"; then
13834              if test -f "$dir/$libname$shrext"; then
13835                found_dir="$dir"
13836                found_so="$dir/$libname$shrext"
13837              else
13838                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13839                  ver=`(cd "$dir" && \
13840                        for f in "$libname$shrext".*; do echo "$f"; done \
13841                        | sed -e "s,^$libname$shrext\\\\.,," \
13842                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13843                        | sed 1q ) 2>/dev/null`
13844                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13845                    found_dir="$dir"
13846                    found_so="$dir/$libname$shrext.$ver"
13847                  fi
13848                else
13849                  eval library_names=\"$acl_library_names_spec\"
13850                  for f in $library_names; do
13851                    if test -f "$dir/$f"; then
13852                      found_dir="$dir"
13853                      found_so="$dir/$f"
13854                      break
13855                    fi
13856                  done
13857                fi
13858              fi
13859            fi
13860                        if test "X$found_dir" = "X"; then
13861              if test -f "$dir/$libname.$acl_libext"; then
13862                found_dir="$dir"
13863                found_a="$dir/$libname.$acl_libext"
13864              fi
13865            fi
13866            if test "X$found_dir" != "X"; then
13867              if test -f "$dir/$libname.la"; then
13868                found_la="$dir/$libname.la"
13869              fi
13870            fi
13871          fi
13872          if test "X$found_dir" = "X"; then
13873            for x in $LDFLAGS $LTLIBICONV; do
13874
13875  acl_save_prefix="$prefix"
13876  prefix="$acl_final_prefix"
13877  acl_save_exec_prefix="$exec_prefix"
13878  exec_prefix="$acl_final_exec_prefix"
13879  eval x=\"$x\"
13880  exec_prefix="$acl_save_exec_prefix"
13881  prefix="$acl_save_prefix"
13882
13883              case "$x" in
13884                -L*)
13885                  dir=`echo "X$x" | sed -e 's/^X-L//'`
13886                                    if test -n "$acl_shlibext"; then
13887                    if test -f "$dir/$libname$shrext"; then
13888                      found_dir="$dir"
13889                      found_so="$dir/$libname$shrext"
13890                    else
13891                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13892                        ver=`(cd "$dir" && \
13893                              for f in "$libname$shrext".*; do echo "$f"; done \
13894                              | sed -e "s,^$libname$shrext\\\\.,," \
13895                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13896                              | sed 1q ) 2>/dev/null`
13897                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13898                          found_dir="$dir"
13899                          found_so="$dir/$libname$shrext.$ver"
13900                        fi
13901                      else
13902                        eval library_names=\"$acl_library_names_spec\"
13903                        for f in $library_names; do
13904                          if test -f "$dir/$f"; then
13905                            found_dir="$dir"
13906                            found_so="$dir/$f"
13907                            break
13908                          fi
13909                        done
13910                      fi
13911                    fi
13912                  fi
13913                                    if test "X$found_dir" = "X"; then
13914                    if test -f "$dir/$libname.$acl_libext"; then
13915                      found_dir="$dir"
13916                      found_a="$dir/$libname.$acl_libext"
13917                    fi
13918                  fi
13919                  if test "X$found_dir" != "X"; then
13920                    if test -f "$dir/$libname.la"; then
13921                      found_la="$dir/$libname.la"
13922                    fi
13923                  fi
13924                  ;;
13925              esac
13926              if test "X$found_dir" != "X"; then
13927                break
13928              fi
13929            done
13930          fi
13931          if test "X$found_dir" != "X"; then
13932                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13933            if test "X$found_so" != "X"; then
13934                                                        if test "$enable_rpath" = no \
13935                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
13936                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
13937                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13938              else
13939                                                                                haveit=
13940                for x in $ltrpathdirs; do
13941                  if test "X$x" = "X$found_dir"; then
13942                    haveit=yes
13943                    break
13944                  fi
13945                done
13946                if test -z "$haveit"; then
13947                  ltrpathdirs="$ltrpathdirs $found_dir"
13948                fi
13949                                if test "$acl_hardcode_direct" = yes; then
13950                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13951                else
13952                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13953                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13954                                                            haveit=
13955                    for x in $rpathdirs; do
13956                      if test "X$x" = "X$found_dir"; then
13957                        haveit=yes
13958                        break
13959                      fi
13960                    done
13961                    if test -z "$haveit"; then
13962                      rpathdirs="$rpathdirs $found_dir"
13963                    fi
13964                  else
13965                                                                                haveit=
13966                    for x in $LDFLAGS $LIBICONV; do
13967
13968  acl_save_prefix="$prefix"
13969  prefix="$acl_final_prefix"
13970  acl_save_exec_prefix="$exec_prefix"
13971  exec_prefix="$acl_final_exec_prefix"
13972  eval x=\"$x\"
13973  exec_prefix="$acl_save_exec_prefix"
13974  prefix="$acl_save_prefix"
13975
13976                      if test "X$x" = "X-L$found_dir"; then
13977                        haveit=yes
13978                        break
13979                      fi
13980                    done
13981                    if test -z "$haveit"; then
13982                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13983                    fi
13984                    if test "$acl_hardcode_minus_L" != no; then
13985                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13986                    else
13987                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13988                    fi
13989                  fi
13990                fi
13991              fi
13992            else
13993              if test "X$found_a" != "X"; then
13994                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13995              else
13996                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13997              fi
13998            fi
13999                        additional_includedir=
14000            case "$found_dir" in
14001              */$acl_libdirstem | */$acl_libdirstem/)
14002                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14003                if test "$name" = 'iconv'; then
14004                  LIBICONV_PREFIX="$basedir"
14005                fi
14006                additional_includedir="$basedir/include"
14007                ;;
14008              */$acl_libdirstem2 | */$acl_libdirstem2/)
14009                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14010                if test "$name" = 'iconv'; then
14011                  LIBICONV_PREFIX="$basedir"
14012                fi
14013                additional_includedir="$basedir/include"
14014                ;;
14015            esac
14016            if test "X$additional_includedir" != "X"; then
14017                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
14018                haveit=
14019                if test "X$additional_includedir" = "X/usr/local/include"; then
14020                  if test -n "$GCC"; then
14021                    case $host_os in
14022                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14023                    esac
14024                  fi
14025                fi
14026                if test -z "$haveit"; then
14027                  for x in $CPPFLAGS $INCICONV; do
14028
14029  acl_save_prefix="$prefix"
14030  prefix="$acl_final_prefix"
14031  acl_save_exec_prefix="$exec_prefix"
14032  exec_prefix="$acl_final_exec_prefix"
14033  eval x=\"$x\"
14034  exec_prefix="$acl_save_exec_prefix"
14035  prefix="$acl_save_prefix"
14036
14037                    if test "X$x" = "X-I$additional_includedir"; then
14038                      haveit=yes
14039                      break
14040                    fi
14041                  done
14042                  if test -z "$haveit"; then
14043                    if test -d "$additional_includedir"; then
14044                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14045                    fi
14046                  fi
14047                fi
14048              fi
14049            fi
14050                        if test -n "$found_la"; then
14051                                                        save_libdir="$libdir"
14052              case "$found_la" in
14053                */* | *\\*) . "$found_la" ;;
14054                *) . "./$found_la" ;;
14055              esac
14056              libdir="$save_libdir"
14057                            for dep in $dependency_libs; do
14058                case "$dep" in
14059                  -L*)
14060                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14061                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
14062                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
14063                      haveit=
14064                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
14065                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
14066                        if test -n "$GCC"; then
14067                          case $host_os in
14068                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14069                          esac
14070                        fi
14071                      fi
14072                      if test -z "$haveit"; then
14073                        haveit=
14074                        for x in $LDFLAGS $LIBICONV; do
14075
14076  acl_save_prefix="$prefix"
14077  prefix="$acl_final_prefix"
14078  acl_save_exec_prefix="$exec_prefix"
14079  exec_prefix="$acl_final_exec_prefix"
14080  eval x=\"$x\"
14081  exec_prefix="$acl_save_exec_prefix"
14082  prefix="$acl_save_prefix"
14083
14084                          if test "X$x" = "X-L$additional_libdir"; then
14085                            haveit=yes
14086                            break
14087                          fi
14088                        done
14089                        if test -z "$haveit"; then
14090                          if test -d "$additional_libdir"; then
14091                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14092                          fi
14093                        fi
14094                        haveit=
14095                        for x in $LDFLAGS $LTLIBICONV; do
14096
14097  acl_save_prefix="$prefix"
14098  prefix="$acl_final_prefix"
14099  acl_save_exec_prefix="$exec_prefix"
14100  exec_prefix="$acl_final_exec_prefix"
14101  eval x=\"$x\"
14102  exec_prefix="$acl_save_exec_prefix"
14103  prefix="$acl_save_prefix"
14104
14105                          if test "X$x" = "X-L$additional_libdir"; then
14106                            haveit=yes
14107                            break
14108                          fi
14109                        done
14110                        if test -z "$haveit"; then
14111                          if test -d "$additional_libdir"; then
14112                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14113                          fi
14114                        fi
14115                      fi
14116                    fi
14117                    ;;
14118                  -R*)
14119                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
14120                    if test "$enable_rpath" != no; then
14121                                                                  haveit=
14122                      for x in $rpathdirs; do
14123                        if test "X$x" = "X$dir"; then
14124                          haveit=yes
14125                          break
14126                        fi
14127                      done
14128                      if test -z "$haveit"; then
14129                        rpathdirs="$rpathdirs $dir"
14130                      fi
14131                                                                  haveit=
14132                      for x in $ltrpathdirs; do
14133                        if test "X$x" = "X$dir"; then
14134                          haveit=yes
14135                          break
14136                        fi
14137                      done
14138                      if test -z "$haveit"; then
14139                        ltrpathdirs="$ltrpathdirs $dir"
14140                      fi
14141                    fi
14142                    ;;
14143                  -l*)
14144                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14145                    ;;
14146                  *.la)
14147                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14148                    ;;
14149                  *)
14150                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
14151                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14152                    ;;
14153                esac
14154              done
14155            fi
14156          else
14157                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14158            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14159          fi
14160        fi
14161      fi
14162    done
14163  done
14164  if test "X$rpathdirs" != "X"; then
14165    if test -n "$acl_hardcode_libdir_separator"; then
14166                        alldirs=
14167      for found_dir in $rpathdirs; do
14168        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14169      done
14170            acl_save_libdir="$libdir"
14171      libdir="$alldirs"
14172      eval flag=\"$acl_hardcode_libdir_flag_spec\"
14173      libdir="$acl_save_libdir"
14174      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14175    else
14176            for found_dir in $rpathdirs; do
14177        acl_save_libdir="$libdir"
14178        libdir="$found_dir"
14179        eval flag=\"$acl_hardcode_libdir_flag_spec\"
14180        libdir="$acl_save_libdir"
14181        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14182      done
14183    fi
14184  fi
14185  if test "X$ltrpathdirs" != "X"; then
14186            for found_dir in $ltrpathdirs; do
14187      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14188    done
14189  fi
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14222$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14223if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14224  $as_echo_n "(cached) " >&6
14225else
14226  gt_save_LIBS="$LIBS"
14227     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14228     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14229/* end confdefs.h.  */
14230#include <CoreFoundation/CFPreferences.h>
14231int
14232main ()
14233{
14234CFPreferencesCopyAppValue(NULL, NULL)
14235  ;
14236  return 0;
14237}
14238_ACEOF
14239if ac_fn_c_try_link "$LINENO"; then :
14240  gt_cv_func_CFPreferencesCopyAppValue=yes
14241else
14242  gt_cv_func_CFPreferencesCopyAppValue=no
14243fi
14244rm -f core conftest.err conftest.$ac_objext \
14245    conftest$ac_exeext conftest.$ac_ext
14246     LIBS="$gt_save_LIBS"
14247fi
14248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14249$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14250  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14251
14252$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14253
14254  fi
14255    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14256$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14257if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14258  $as_echo_n "(cached) " >&6
14259else
14260  gt_save_LIBS="$LIBS"
14261     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14262     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14263/* end confdefs.h.  */
14264#include <CoreFoundation/CFLocale.h>
14265int
14266main ()
14267{
14268CFLocaleCopyCurrent();
14269  ;
14270  return 0;
14271}
14272_ACEOF
14273if ac_fn_c_try_link "$LINENO"; then :
14274  gt_cv_func_CFLocaleCopyCurrent=yes
14275else
14276  gt_cv_func_CFLocaleCopyCurrent=no
14277fi
14278rm -f core conftest.err conftest.$ac_objext \
14279    conftest$ac_exeext conftest.$ac_ext
14280     LIBS="$gt_save_LIBS"
14281fi
14282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14283$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14284  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14285
14286$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14287
14288  fi
14289  INTL_MACOSX_LIBS=
14290  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14291    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14292  fi
14293
14294
14295
14296
14297
14298
14299  LIBINTL=
14300  LTLIBINTL=
14301  POSUB=
14302
14303    case " $gt_needs " in
14304    *" need-formatstring-macros "*) gt_api_version=3 ;;
14305    *" need-ngettext "*) gt_api_version=2 ;;
14306    *) gt_api_version=1 ;;
14307  esac
14308  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
14309  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
14310
14311    if test "$USE_NLS" = "yes"; then
14312    gt_use_preinstalled_gnugettext=no
14313
14314
14315        if test $gt_api_version -ge 3; then
14316          gt_revision_test_code='
14317#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14318#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14319#endif
14320typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14321'
14322        else
14323          gt_revision_test_code=
14324        fi
14325        if test $gt_api_version -ge 2; then
14326          gt_expression_test_code=' + * ngettext ("", "", 0)'
14327        else
14328          gt_expression_test_code=
14329        fi
14330
14331        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14332$as_echo_n "checking for GNU gettext in libc... " >&6; }
14333if eval \${$gt_func_gnugettext_libc+:} false; then :
14334  $as_echo_n "(cached) " >&6
14335else
14336  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337/* end confdefs.h.  */
14338
14339#include <libintl.h>
14340#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14341extern int _nl_msg_cat_cntr;
14342extern int *_nl_domain_bindings;
14343#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
14344#else
14345#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
14346#endif
14347$gt_revision_test_code
14348
14349int
14350main ()
14351{
14352
14353bindtextdomain ("", "");
14354return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
14355
14356  ;
14357  return 0;
14358}
14359_ACEOF
14360if ac_fn_c_try_link "$LINENO"; then :
14361  eval "$gt_func_gnugettext_libc=yes"
14362else
14363  eval "$gt_func_gnugettext_libc=no"
14364fi
14365rm -f core conftest.err conftest.$ac_objext \
14366    conftest$ac_exeext conftest.$ac_ext
14367fi
14368eval ac_res=\$$gt_func_gnugettext_libc
14369	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14370$as_echo "$ac_res" >&6; }
14371
14372        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14373
14374
14375
14376
14377
14378          am_save_CPPFLAGS="$CPPFLAGS"
14379
14380  for element in $INCICONV; do
14381    haveit=
14382    for x in $CPPFLAGS; do
14383
14384  acl_save_prefix="$prefix"
14385  prefix="$acl_final_prefix"
14386  acl_save_exec_prefix="$exec_prefix"
14387  exec_prefix="$acl_final_exec_prefix"
14388  eval x=\"$x\"
14389  exec_prefix="$acl_save_exec_prefix"
14390  prefix="$acl_save_prefix"
14391
14392      if test "X$x" = "X$element"; then
14393        haveit=yes
14394        break
14395      fi
14396    done
14397    if test -z "$haveit"; then
14398      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14399    fi
14400  done
14401
14402
14403  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14404$as_echo_n "checking for iconv... " >&6; }
14405if ${am_cv_func_iconv+:} false; then :
14406  $as_echo_n "(cached) " >&6
14407else
14408
14409    am_cv_func_iconv="no, consider installing GNU libiconv"
14410    am_cv_lib_iconv=no
14411    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14412/* end confdefs.h.  */
14413
14414#include <stdlib.h>
14415#include <iconv.h>
14416
14417int
14418main ()
14419{
14420iconv_t cd = iconv_open("","");
14421           iconv(cd,NULL,NULL,NULL,NULL);
14422           iconv_close(cd);
14423  ;
14424  return 0;
14425}
14426_ACEOF
14427if ac_fn_c_try_link "$LINENO"; then :
14428  am_cv_func_iconv=yes
14429fi
14430rm -f core conftest.err conftest.$ac_objext \
14431    conftest$ac_exeext conftest.$ac_ext
14432    if test "$am_cv_func_iconv" != yes; then
14433      am_save_LIBS="$LIBS"
14434      LIBS="$LIBS $LIBICONV"
14435      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14436/* end confdefs.h.  */
14437
14438#include <stdlib.h>
14439#include <iconv.h>
14440
14441int
14442main ()
14443{
14444iconv_t cd = iconv_open("","");
14445             iconv(cd,NULL,NULL,NULL,NULL);
14446             iconv_close(cd);
14447  ;
14448  return 0;
14449}
14450_ACEOF
14451if ac_fn_c_try_link "$LINENO"; then :
14452  am_cv_lib_iconv=yes
14453        am_cv_func_iconv=yes
14454fi
14455rm -f core conftest.err conftest.$ac_objext \
14456    conftest$ac_exeext conftest.$ac_ext
14457      LIBS="$am_save_LIBS"
14458    fi
14459
14460fi
14461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14462$as_echo "$am_cv_func_iconv" >&6; }
14463  if test "$am_cv_func_iconv" = yes; then
14464    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14465$as_echo_n "checking for working iconv... " >&6; }
14466if ${am_cv_func_iconv_works+:} false; then :
14467  $as_echo_n "(cached) " >&6
14468else
14469
14470                  am_save_LIBS="$LIBS"
14471      if test $am_cv_lib_iconv = yes; then
14472        LIBS="$LIBS $LIBICONV"
14473      fi
14474      am_cv_func_iconv_works=no
14475      for ac_iconv_const in '' 'const'; do
14476        if test "$cross_compiling" = yes; then :
14477  case "$host_os" in
14478             aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14479             *)            am_cv_func_iconv_works="guessing yes" ;;
14480           esac
14481else
14482  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483/* end confdefs.h.  */
14484
14485#include <iconv.h>
14486#include <string.h>
14487
14488#ifndef ICONV_CONST
14489# define ICONV_CONST $ac_iconv_const
14490#endif
14491
14492int
14493main ()
14494{
14495int result = 0;
14496  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14497     returns.  */
14498  {
14499    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14500    if (cd_utf8_to_88591 != (iconv_t)(-1))
14501      {
14502        static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
14503        char buf[10];
14504        ICONV_CONST char *inptr = input;
14505        size_t inbytesleft = strlen (input);
14506        char *outptr = buf;
14507        size_t outbytesleft = sizeof (buf);
14508        size_t res = iconv (cd_utf8_to_88591,
14509                            &inptr, &inbytesleft,
14510                            &outptr, &outbytesleft);
14511        if (res == 0)
14512          result |= 1;
14513        iconv_close (cd_utf8_to_88591);
14514      }
14515  }
14516  /* Test against Solaris 10 bug: Failures are not distinguishable from
14517     successful returns.  */
14518  {
14519    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
14520    if (cd_ascii_to_88591 != (iconv_t)(-1))
14521      {
14522        static ICONV_CONST char input[] = "\263";
14523        char buf[10];
14524        ICONV_CONST char *inptr = input;
14525        size_t inbytesleft = strlen (input);
14526        char *outptr = buf;
14527        size_t outbytesleft = sizeof (buf);
14528        size_t res = iconv (cd_ascii_to_88591,
14529                            &inptr, &inbytesleft,
14530                            &outptr, &outbytesleft);
14531        if (res == 0)
14532          result |= 2;
14533        iconv_close (cd_ascii_to_88591);
14534      }
14535  }
14536  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
14537  {
14538    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
14539    if (cd_88591_to_utf8 != (iconv_t)(-1))
14540      {
14541        static ICONV_CONST char input[] = "\304";
14542        static char buf[2] = { (char)0xDE, (char)0xAD };
14543        ICONV_CONST char *inptr = input;
14544        size_t inbytesleft = 1;
14545        char *outptr = buf;
14546        size_t outbytesleft = 1;
14547        size_t res = iconv (cd_88591_to_utf8,
14548                            &inptr, &inbytesleft,
14549                            &outptr, &outbytesleft);
14550        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
14551          result |= 4;
14552        iconv_close (cd_88591_to_utf8);
14553      }
14554  }
14555#if 0 /* This bug could be worked around by the caller.  */
14556  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
14557  {
14558    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14559    if (cd_88591_to_utf8 != (iconv_t)(-1))
14560      {
14561        static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14562        char buf[50];
14563        ICONV_CONST char *inptr = input;
14564        size_t inbytesleft = strlen (input);
14565        char *outptr = buf;
14566        size_t outbytesleft = sizeof (buf);
14567        size_t res = iconv (cd_88591_to_utf8,
14568                            &inptr, &inbytesleft,
14569                            &outptr, &outbytesleft);
14570        if ((int)res > 0)
14571          result |= 8;
14572        iconv_close (cd_88591_to_utf8);
14573      }
14574  }
14575#endif
14576  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14577     provided.  */
14578  if (/* Try standardized names.  */
14579      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14580      /* Try IRIX, OSF/1 names.  */
14581      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14582      /* Try AIX names.  */
14583      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14584      /* Try HP-UX names.  */
14585      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14586    result |= 16;
14587  return result;
14588
14589  ;
14590  return 0;
14591}
14592_ACEOF
14593if ac_fn_c_try_run "$LINENO"; then :
14594  am_cv_func_iconv_works=yes
14595fi
14596rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14597  conftest.$ac_objext conftest.beam conftest.$ac_ext
14598fi
14599
14600        test "$am_cv_func_iconv_works" = no || break
14601      done
14602      LIBS="$am_save_LIBS"
14603
14604fi
14605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14606$as_echo "$am_cv_func_iconv_works" >&6; }
14607    case "$am_cv_func_iconv_works" in
14608      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14609      *)   am_func_iconv=yes ;;
14610    esac
14611  else
14612    am_func_iconv=no am_cv_lib_iconv=no
14613  fi
14614  if test "$am_func_iconv" = yes; then
14615
14616$as_echo "#define HAVE_ICONV 1" >>confdefs.h
14617
14618  fi
14619  if test "$am_cv_lib_iconv" = yes; then
14620    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14621$as_echo_n "checking how to link with libiconv... " >&6; }
14622    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14623$as_echo "$LIBICONV" >&6; }
14624  else
14625            CPPFLAGS="$am_save_CPPFLAGS"
14626    LIBICONV=
14627    LTLIBICONV=
14628  fi
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640    use_additional=yes
14641
14642  acl_save_prefix="$prefix"
14643  prefix="$acl_final_prefix"
14644  acl_save_exec_prefix="$exec_prefix"
14645  exec_prefix="$acl_final_exec_prefix"
14646
14647    eval additional_includedir=\"$includedir\"
14648    eval additional_libdir=\"$libdir\"
14649
14650  exec_prefix="$acl_save_exec_prefix"
14651  prefix="$acl_save_prefix"
14652
14653
14654# Check whether --with-libintl-prefix was given.
14655if test "${with_libintl_prefix+set}" = set; then :
14656  withval=$with_libintl_prefix;
14657    if test "X$withval" = "Xno"; then
14658      use_additional=no
14659    else
14660      if test "X$withval" = "X"; then
14661
14662  acl_save_prefix="$prefix"
14663  prefix="$acl_final_prefix"
14664  acl_save_exec_prefix="$exec_prefix"
14665  exec_prefix="$acl_final_exec_prefix"
14666
14667          eval additional_includedir=\"$includedir\"
14668          eval additional_libdir=\"$libdir\"
14669
14670  exec_prefix="$acl_save_exec_prefix"
14671  prefix="$acl_save_prefix"
14672
14673      else
14674        additional_includedir="$withval/include"
14675        additional_libdir="$withval/$acl_libdirstem"
14676        if test "$acl_libdirstem2" != "$acl_libdirstem" \
14677           && ! test -d "$withval/$acl_libdirstem"; then
14678          additional_libdir="$withval/$acl_libdirstem2"
14679        fi
14680      fi
14681    fi
14682
14683fi
14684
14685      LIBINTL=
14686  LTLIBINTL=
14687  INCINTL=
14688  LIBINTL_PREFIX=
14689      HAVE_LIBINTL=
14690  rpathdirs=
14691  ltrpathdirs=
14692  names_already_handled=
14693  names_next_round='intl '
14694  while test -n "$names_next_round"; do
14695    names_this_round="$names_next_round"
14696    names_next_round=
14697    for name in $names_this_round; do
14698      already_handled=
14699      for n in $names_already_handled; do
14700        if test "$n" = "$name"; then
14701          already_handled=yes
14702          break
14703        fi
14704      done
14705      if test -z "$already_handled"; then
14706        names_already_handled="$names_already_handled $name"
14707                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
14708        eval value=\"\$HAVE_LIB$uppername\"
14709        if test -n "$value"; then
14710          if test "$value" = yes; then
14711            eval value=\"\$LIB$uppername\"
14712            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14713            eval value=\"\$LTLIB$uppername\"
14714            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14715          else
14716                                    :
14717          fi
14718        else
14719                              found_dir=
14720          found_la=
14721          found_so=
14722          found_a=
14723          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
14724          if test -n "$acl_shlibext"; then
14725            shrext=".$acl_shlibext"             # typically: shrext=.so
14726          else
14727            shrext=
14728          fi
14729          if test $use_additional = yes; then
14730            dir="$additional_libdir"
14731                                    if test -n "$acl_shlibext"; then
14732              if test -f "$dir/$libname$shrext"; then
14733                found_dir="$dir"
14734                found_so="$dir/$libname$shrext"
14735              else
14736                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14737                  ver=`(cd "$dir" && \
14738                        for f in "$libname$shrext".*; do echo "$f"; done \
14739                        | sed -e "s,^$libname$shrext\\\\.,," \
14740                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14741                        | sed 1q ) 2>/dev/null`
14742                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14743                    found_dir="$dir"
14744                    found_so="$dir/$libname$shrext.$ver"
14745                  fi
14746                else
14747                  eval library_names=\"$acl_library_names_spec\"
14748                  for f in $library_names; do
14749                    if test -f "$dir/$f"; then
14750                      found_dir="$dir"
14751                      found_so="$dir/$f"
14752                      break
14753                    fi
14754                  done
14755                fi
14756              fi
14757            fi
14758                        if test "X$found_dir" = "X"; then
14759              if test -f "$dir/$libname.$acl_libext"; then
14760                found_dir="$dir"
14761                found_a="$dir/$libname.$acl_libext"
14762              fi
14763            fi
14764            if test "X$found_dir" != "X"; then
14765              if test -f "$dir/$libname.la"; then
14766                found_la="$dir/$libname.la"
14767              fi
14768            fi
14769          fi
14770          if test "X$found_dir" = "X"; then
14771            for x in $LDFLAGS $LTLIBINTL; do
14772
14773  acl_save_prefix="$prefix"
14774  prefix="$acl_final_prefix"
14775  acl_save_exec_prefix="$exec_prefix"
14776  exec_prefix="$acl_final_exec_prefix"
14777  eval x=\"$x\"
14778  exec_prefix="$acl_save_exec_prefix"
14779  prefix="$acl_save_prefix"
14780
14781              case "$x" in
14782                -L*)
14783                  dir=`echo "X$x" | sed -e 's/^X-L//'`
14784                                    if test -n "$acl_shlibext"; then
14785                    if test -f "$dir/$libname$shrext"; then
14786                      found_dir="$dir"
14787                      found_so="$dir/$libname$shrext"
14788                    else
14789                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14790                        ver=`(cd "$dir" && \
14791                              for f in "$libname$shrext".*; do echo "$f"; done \
14792                              | sed -e "s,^$libname$shrext\\\\.,," \
14793                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14794                              | sed 1q ) 2>/dev/null`
14795                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14796                          found_dir="$dir"
14797                          found_so="$dir/$libname$shrext.$ver"
14798                        fi
14799                      else
14800                        eval library_names=\"$acl_library_names_spec\"
14801                        for f in $library_names; do
14802                          if test -f "$dir/$f"; then
14803                            found_dir="$dir"
14804                            found_so="$dir/$f"
14805                            break
14806                          fi
14807                        done
14808                      fi
14809                    fi
14810                  fi
14811                                    if test "X$found_dir" = "X"; then
14812                    if test -f "$dir/$libname.$acl_libext"; then
14813                      found_dir="$dir"
14814                      found_a="$dir/$libname.$acl_libext"
14815                    fi
14816                  fi
14817                  if test "X$found_dir" != "X"; then
14818                    if test -f "$dir/$libname.la"; then
14819                      found_la="$dir/$libname.la"
14820                    fi
14821                  fi
14822                  ;;
14823              esac
14824              if test "X$found_dir" != "X"; then
14825                break
14826              fi
14827            done
14828          fi
14829          if test "X$found_dir" != "X"; then
14830                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14831            if test "X$found_so" != "X"; then
14832                                                        if test "$enable_rpath" = no \
14833                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
14834                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
14835                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14836              else
14837                                                                                haveit=
14838                for x in $ltrpathdirs; do
14839                  if test "X$x" = "X$found_dir"; then
14840                    haveit=yes
14841                    break
14842                  fi
14843                done
14844                if test -z "$haveit"; then
14845                  ltrpathdirs="$ltrpathdirs $found_dir"
14846                fi
14847                                if test "$acl_hardcode_direct" = yes; then
14848                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14849                else
14850                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14851                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14852                                                            haveit=
14853                    for x in $rpathdirs; do
14854                      if test "X$x" = "X$found_dir"; then
14855                        haveit=yes
14856                        break
14857                      fi
14858                    done
14859                    if test -z "$haveit"; then
14860                      rpathdirs="$rpathdirs $found_dir"
14861                    fi
14862                  else
14863                                                                                haveit=
14864                    for x in $LDFLAGS $LIBINTL; do
14865
14866  acl_save_prefix="$prefix"
14867  prefix="$acl_final_prefix"
14868  acl_save_exec_prefix="$exec_prefix"
14869  exec_prefix="$acl_final_exec_prefix"
14870  eval x=\"$x\"
14871  exec_prefix="$acl_save_exec_prefix"
14872  prefix="$acl_save_prefix"
14873
14874                      if test "X$x" = "X-L$found_dir"; then
14875                        haveit=yes
14876                        break
14877                      fi
14878                    done
14879                    if test -z "$haveit"; then
14880                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14881                    fi
14882                    if test "$acl_hardcode_minus_L" != no; then
14883                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14884                    else
14885                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14886                    fi
14887                  fi
14888                fi
14889              fi
14890            else
14891              if test "X$found_a" != "X"; then
14892                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14893              else
14894                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14895              fi
14896            fi
14897                        additional_includedir=
14898            case "$found_dir" in
14899              */$acl_libdirstem | */$acl_libdirstem/)
14900                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14901                if test "$name" = 'intl'; then
14902                  LIBINTL_PREFIX="$basedir"
14903                fi
14904                additional_includedir="$basedir/include"
14905                ;;
14906              */$acl_libdirstem2 | */$acl_libdirstem2/)
14907                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14908                if test "$name" = 'intl'; then
14909                  LIBINTL_PREFIX="$basedir"
14910                fi
14911                additional_includedir="$basedir/include"
14912                ;;
14913            esac
14914            if test "X$additional_includedir" != "X"; then
14915                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
14916                haveit=
14917                if test "X$additional_includedir" = "X/usr/local/include"; then
14918                  if test -n "$GCC"; then
14919                    case $host_os in
14920                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14921                    esac
14922                  fi
14923                fi
14924                if test -z "$haveit"; then
14925                  for x in $CPPFLAGS $INCINTL; do
14926
14927  acl_save_prefix="$prefix"
14928  prefix="$acl_final_prefix"
14929  acl_save_exec_prefix="$exec_prefix"
14930  exec_prefix="$acl_final_exec_prefix"
14931  eval x=\"$x\"
14932  exec_prefix="$acl_save_exec_prefix"
14933  prefix="$acl_save_prefix"
14934
14935                    if test "X$x" = "X-I$additional_includedir"; then
14936                      haveit=yes
14937                      break
14938                    fi
14939                  done
14940                  if test -z "$haveit"; then
14941                    if test -d "$additional_includedir"; then
14942                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14943                    fi
14944                  fi
14945                fi
14946              fi
14947            fi
14948                        if test -n "$found_la"; then
14949                                                        save_libdir="$libdir"
14950              case "$found_la" in
14951                */* | *\\*) . "$found_la" ;;
14952                *) . "./$found_la" ;;
14953              esac
14954              libdir="$save_libdir"
14955                            for dep in $dependency_libs; do
14956                case "$dep" in
14957                  -L*)
14958                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14959                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
14960                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
14961                      haveit=
14962                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
14963                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
14964                        if test -n "$GCC"; then
14965                          case $host_os in
14966                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14967                          esac
14968                        fi
14969                      fi
14970                      if test -z "$haveit"; then
14971                        haveit=
14972                        for x in $LDFLAGS $LIBINTL; do
14973
14974  acl_save_prefix="$prefix"
14975  prefix="$acl_final_prefix"
14976  acl_save_exec_prefix="$exec_prefix"
14977  exec_prefix="$acl_final_exec_prefix"
14978  eval x=\"$x\"
14979  exec_prefix="$acl_save_exec_prefix"
14980  prefix="$acl_save_prefix"
14981
14982                          if test "X$x" = "X-L$additional_libdir"; then
14983                            haveit=yes
14984                            break
14985                          fi
14986                        done
14987                        if test -z "$haveit"; then
14988                          if test -d "$additional_libdir"; then
14989                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14990                          fi
14991                        fi
14992                        haveit=
14993                        for x in $LDFLAGS $LTLIBINTL; do
14994
14995  acl_save_prefix="$prefix"
14996  prefix="$acl_final_prefix"
14997  acl_save_exec_prefix="$exec_prefix"
14998  exec_prefix="$acl_final_exec_prefix"
14999  eval x=\"$x\"
15000  exec_prefix="$acl_save_exec_prefix"
15001  prefix="$acl_save_prefix"
15002
15003                          if test "X$x" = "X-L$additional_libdir"; then
15004                            haveit=yes
15005                            break
15006                          fi
15007                        done
15008                        if test -z "$haveit"; then
15009                          if test -d "$additional_libdir"; then
15010                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15011                          fi
15012                        fi
15013                      fi
15014                    fi
15015                    ;;
15016                  -R*)
15017                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
15018                    if test "$enable_rpath" != no; then
15019                                                                  haveit=
15020                      for x in $rpathdirs; do
15021                        if test "X$x" = "X$dir"; then
15022                          haveit=yes
15023                          break
15024                        fi
15025                      done
15026                      if test -z "$haveit"; then
15027                        rpathdirs="$rpathdirs $dir"
15028                      fi
15029                                                                  haveit=
15030                      for x in $ltrpathdirs; do
15031                        if test "X$x" = "X$dir"; then
15032                          haveit=yes
15033                          break
15034                        fi
15035                      done
15036                      if test -z "$haveit"; then
15037                        ltrpathdirs="$ltrpathdirs $dir"
15038                      fi
15039                    fi
15040                    ;;
15041                  -l*)
15042                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15043                    ;;
15044                  *.la)
15045                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15046                    ;;
15047                  *)
15048                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
15049                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15050                    ;;
15051                esac
15052              done
15053            fi
15054          else
15055                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15056            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15057          fi
15058        fi
15059      fi
15060    done
15061  done
15062  if test "X$rpathdirs" != "X"; then
15063    if test -n "$acl_hardcode_libdir_separator"; then
15064                        alldirs=
15065      for found_dir in $rpathdirs; do
15066        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15067      done
15068            acl_save_libdir="$libdir"
15069      libdir="$alldirs"
15070      eval flag=\"$acl_hardcode_libdir_flag_spec\"
15071      libdir="$acl_save_libdir"
15072      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15073    else
15074            for found_dir in $rpathdirs; do
15075        acl_save_libdir="$libdir"
15076        libdir="$found_dir"
15077        eval flag=\"$acl_hardcode_libdir_flag_spec\"
15078        libdir="$acl_save_libdir"
15079        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15080      done
15081    fi
15082  fi
15083  if test "X$ltrpathdirs" != "X"; then
15084            for found_dir in $ltrpathdirs; do
15085      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15086    done
15087  fi
15088
15089
15090
15091
15092
15093
15094          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15095$as_echo_n "checking for GNU gettext in libintl... " >&6; }
15096if eval \${$gt_func_gnugettext_libintl+:} false; then :
15097  $as_echo_n "(cached) " >&6
15098else
15099  gt_save_CPPFLAGS="$CPPFLAGS"
15100            CPPFLAGS="$CPPFLAGS $INCINTL"
15101            gt_save_LIBS="$LIBS"
15102            LIBS="$LIBS $LIBINTL"
15103                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15104/* end confdefs.h.  */
15105
15106#include <libintl.h>
15107#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15108extern int _nl_msg_cat_cntr;
15109extern
15110#ifdef __cplusplus
15111"C"
15112#endif
15113const char *_nl_expand_alias (const char *);
15114#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
15115#else
15116#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
15117#endif
15118$gt_revision_test_code
15119
15120int
15121main ()
15122{
15123
15124bindtextdomain ("", "");
15125return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
15126
15127  ;
15128  return 0;
15129}
15130_ACEOF
15131if ac_fn_c_try_link "$LINENO"; then :
15132  eval "$gt_func_gnugettext_libintl=yes"
15133else
15134  eval "$gt_func_gnugettext_libintl=no"
15135fi
15136rm -f core conftest.err conftest.$ac_objext \
15137    conftest$ac_exeext conftest.$ac_ext
15138                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15139              LIBS="$LIBS $LIBICONV"
15140              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15141/* end confdefs.h.  */
15142
15143#include <libintl.h>
15144#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15145extern int _nl_msg_cat_cntr;
15146extern
15147#ifdef __cplusplus
15148"C"
15149#endif
15150const char *_nl_expand_alias (const char *);
15151#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
15152#else
15153#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
15154#endif
15155$gt_revision_test_code
15156
15157int
15158main ()
15159{
15160
15161bindtextdomain ("", "");
15162return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
15163
15164  ;
15165  return 0;
15166}
15167_ACEOF
15168if ac_fn_c_try_link "$LINENO"; then :
15169  LIBINTL="$LIBINTL $LIBICONV"
15170                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
15171                 eval "$gt_func_gnugettext_libintl=yes"
15172
15173fi
15174rm -f core conftest.err conftest.$ac_objext \
15175    conftest$ac_exeext conftest.$ac_ext
15176            fi
15177            CPPFLAGS="$gt_save_CPPFLAGS"
15178            LIBS="$gt_save_LIBS"
15179fi
15180eval ac_res=\$$gt_func_gnugettext_libintl
15181	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15182$as_echo "$ac_res" >&6; }
15183        fi
15184
15185                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15186           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15187                && test "$PACKAGE" != gettext-runtime \
15188                && test "$PACKAGE" != gettext-tools; }; then
15189          gt_use_preinstalled_gnugettext=yes
15190        else
15191                    LIBINTL=
15192          LTLIBINTL=
15193          INCINTL=
15194        fi
15195
15196
15197
15198    if test -n "$INTL_MACOSX_LIBS"; then
15199      if test "$gt_use_preinstalled_gnugettext" = "yes" \
15200         || test "$nls_cv_use_gnu_gettext" = "yes"; then
15201                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
15202        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
15203      fi
15204    fi
15205
15206    if test "$gt_use_preinstalled_gnugettext" = "yes" \
15207       || test "$nls_cv_use_gnu_gettext" = "yes"; then
15208
15209$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15210
15211    else
15212      USE_NLS=no
15213    fi
15214  fi
15215
15216  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15217$as_echo_n "checking whether to use NLS... " >&6; }
15218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15219$as_echo "$USE_NLS" >&6; }
15220  if test "$USE_NLS" = "yes"; then
15221    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15222$as_echo_n "checking where the gettext function comes from... " >&6; }
15223    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15224      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15225        gt_source="external libintl"
15226      else
15227        gt_source="libc"
15228      fi
15229    else
15230      gt_source="included intl directory"
15231    fi
15232    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15233$as_echo "$gt_source" >&6; }
15234  fi
15235
15236  if test "$USE_NLS" = "yes"; then
15237
15238    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15239      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15240        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15241$as_echo_n "checking how to link with libintl... " >&6; }
15242        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15243$as_echo "$LIBINTL" >&6; }
15244
15245  for element in $INCINTL; do
15246    haveit=
15247    for x in $CPPFLAGS; do
15248
15249  acl_save_prefix="$prefix"
15250  prefix="$acl_final_prefix"
15251  acl_save_exec_prefix="$exec_prefix"
15252  exec_prefix="$acl_final_exec_prefix"
15253  eval x=\"$x\"
15254  exec_prefix="$acl_save_exec_prefix"
15255  prefix="$acl_save_prefix"
15256
15257      if test "X$x" = "X$element"; then
15258        haveit=yes
15259        break
15260      fi
15261    done
15262    if test -z "$haveit"; then
15263      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15264    fi
15265  done
15266
15267      fi
15268
15269
15270$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15271
15272
15273$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15274
15275    fi
15276
15277        POSUB=po
15278  fi
15279
15280
15281
15282    INTLLIBS="$LIBINTL"
15283
15284
15285
15286
15287
15288
15289
15290# =======================================================================
15291# Check for required packages
15292# =======================================================================
15293
15294
15295
15296
15297
15298
15299
15300if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15301	if test -n "$ac_tool_prefix"; then
15302  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15303set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15305$as_echo_n "checking for $ac_word... " >&6; }
15306if ${ac_cv_path_PKG_CONFIG+:} false; then :
15307  $as_echo_n "(cached) " >&6
15308else
15309  case $PKG_CONFIG in
15310  [\\/]* | ?:[\\/]*)
15311  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15312  ;;
15313  *)
15314  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15315for as_dir in $PATH
15316do
15317  IFS=$as_save_IFS
15318  test -z "$as_dir" && as_dir=.
15319    for ac_exec_ext in '' $ac_executable_extensions; do
15320  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15321    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15322    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15323    break 2
15324  fi
15325done
15326  done
15327IFS=$as_save_IFS
15328
15329  ;;
15330esac
15331fi
15332PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15333if test -n "$PKG_CONFIG"; then
15334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15335$as_echo "$PKG_CONFIG" >&6; }
15336else
15337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15338$as_echo "no" >&6; }
15339fi
15340
15341
15342fi
15343if test -z "$ac_cv_path_PKG_CONFIG"; then
15344  ac_pt_PKG_CONFIG=$PKG_CONFIG
15345  # Extract the first word of "pkg-config", so it can be a program name with args.
15346set dummy pkg-config; ac_word=$2
15347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15348$as_echo_n "checking for $ac_word... " >&6; }
15349if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15350  $as_echo_n "(cached) " >&6
15351else
15352  case $ac_pt_PKG_CONFIG in
15353  [\\/]* | ?:[\\/]*)
15354  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15355  ;;
15356  *)
15357  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15358for as_dir in $PATH
15359do
15360  IFS=$as_save_IFS
15361  test -z "$as_dir" && as_dir=.
15362    for ac_exec_ext in '' $ac_executable_extensions; do
15363  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15364    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15365    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15366    break 2
15367  fi
15368done
15369  done
15370IFS=$as_save_IFS
15371
15372  ;;
15373esac
15374fi
15375ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15376if test -n "$ac_pt_PKG_CONFIG"; then
15377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15378$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15379else
15380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15381$as_echo "no" >&6; }
15382fi
15383
15384  if test "x$ac_pt_PKG_CONFIG" = x; then
15385    PKG_CONFIG=""
15386  else
15387    case $cross_compiling:$ac_tool_warned in
15388yes:)
15389{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15390$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15391ac_tool_warned=yes ;;
15392esac
15393    PKG_CONFIG=$ac_pt_PKG_CONFIG
15394  fi
15395else
15396  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15397fi
15398
15399fi
15400if test -n "$PKG_CONFIG"; then
15401	_pkg_min_version=0.9.0
15402	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15403$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15404	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15405		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15406$as_echo "yes" >&6; }
15407	else
15408		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15409$as_echo "no" >&6; }
15410		PKG_CONFIG=""
15411	fi
15412fi
15413
15414GLIB_REQUIRED_VERSION=2.50.0
15415
15416
15417pkg_failed=no
15418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
15419$as_echo_n "checking for GLIB... " >&6; }
15420
15421if test -n "$GLIB_CFLAGS"; then
15422    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
15423 elif test -n "$PKG_CONFIG"; then
15424    if test -n "$PKG_CONFIG" && \
15425    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15426        glib-2.0 >= \$GLIB_REQUIRED_VERSION
15427        gobject-2.0 >= \$GLIB_REQUIRED_VERSION
15428        gmodule-2.0 >= \$GLIB_REQUIRED_VERSION
15429\""; } >&5
15430  ($PKG_CONFIG --exists --print-errors "
15431        glib-2.0 >= $GLIB_REQUIRED_VERSION
15432        gobject-2.0 >= $GLIB_REQUIRED_VERSION
15433        gmodule-2.0 >= $GLIB_REQUIRED_VERSION
15434") 2>&5
15435  ac_status=$?
15436  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15437  test $ac_status = 0; }; then
15438  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "
15439        glib-2.0 >= $GLIB_REQUIRED_VERSION
15440        gobject-2.0 >= $GLIB_REQUIRED_VERSION
15441        gmodule-2.0 >= $GLIB_REQUIRED_VERSION
15442" 2>/dev/null`
15443		      test "x$?" != "x0" && pkg_failed=yes
15444else
15445  pkg_failed=yes
15446fi
15447 else
15448    pkg_failed=untried
15449fi
15450if test -n "$GLIB_LIBS"; then
15451    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
15452 elif test -n "$PKG_CONFIG"; then
15453    if test -n "$PKG_CONFIG" && \
15454    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15455        glib-2.0 >= \$GLIB_REQUIRED_VERSION
15456        gobject-2.0 >= \$GLIB_REQUIRED_VERSION
15457        gmodule-2.0 >= \$GLIB_REQUIRED_VERSION
15458\""; } >&5
15459  ($PKG_CONFIG --exists --print-errors "
15460        glib-2.0 >= $GLIB_REQUIRED_VERSION
15461        gobject-2.0 >= $GLIB_REQUIRED_VERSION
15462        gmodule-2.0 >= $GLIB_REQUIRED_VERSION
15463") 2>&5
15464  ac_status=$?
15465  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15466  test $ac_status = 0; }; then
15467  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "
15468        glib-2.0 >= $GLIB_REQUIRED_VERSION
15469        gobject-2.0 >= $GLIB_REQUIRED_VERSION
15470        gmodule-2.0 >= $GLIB_REQUIRED_VERSION
15471" 2>/dev/null`
15472		      test "x$?" != "x0" && pkg_failed=yes
15473else
15474  pkg_failed=yes
15475fi
15476 else
15477    pkg_failed=untried
15478fi
15479
15480
15481
15482if test $pkg_failed = yes; then
15483   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15484$as_echo "no" >&6; }
15485
15486if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15487        _pkg_short_errors_supported=yes
15488else
15489        _pkg_short_errors_supported=no
15490fi
15491        if test $_pkg_short_errors_supported = yes; then
15492	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15493        glib-2.0 >= $GLIB_REQUIRED_VERSION
15494        gobject-2.0 >= $GLIB_REQUIRED_VERSION
15495        gmodule-2.0 >= $GLIB_REQUIRED_VERSION
15496" 2>&1`
15497        else
15498	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15499        glib-2.0 >= $GLIB_REQUIRED_VERSION
15500        gobject-2.0 >= $GLIB_REQUIRED_VERSION
15501        gmodule-2.0 >= $GLIB_REQUIRED_VERSION
15502" 2>&1`
15503        fi
15504	# Put the nasty error message in config.log where it belongs
15505	echo "$GLIB_PKG_ERRORS" >&5
15506
15507	as_fn_error $? "Package requirements (
15508        glib-2.0 >= $GLIB_REQUIRED_VERSION
15509        gobject-2.0 >= $GLIB_REQUIRED_VERSION
15510        gmodule-2.0 >= $GLIB_REQUIRED_VERSION
15511) were not met:
15512
15513$GLIB_PKG_ERRORS
15514
15515Consider adjusting the PKG_CONFIG_PATH environment variable if you
15516installed software in a non-standard prefix.
15517
15518Alternatively, you may set the environment variables GLIB_CFLAGS
15519and GLIB_LIBS to avoid the need to call pkg-config.
15520See the pkg-config man page for more details." "$LINENO" 5
15521elif test $pkg_failed = untried; then
15522     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15523$as_echo "no" >&6; }
15524	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15525$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15526as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15527is in your PATH or set the PKG_CONFIG environment variable to the full
15528path to pkg-config.
15529
15530Alternatively, you may set the environment variables GLIB_CFLAGS
15531and GLIB_LIBS to avoid the need to call pkg-config.
15532See the pkg-config man page for more details.
15533
15534To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15535See \`config.log' for more details" "$LINENO" 5; }
15536else
15537	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
15538	GLIB_LIBS=$pkg_cv_GLIB_LIBS
15539        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15540$as_echo "yes" >&6; }
15541
15542fi
15543
15544
15545
15546
15547  gtk_doc_requires="gtk-doc >= 1.10"
15548  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
15549$as_echo_n "checking for gtk-doc... " >&6; }
15550  if test -n "$PKG_CONFIG" && \
15551    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
15552  ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
15553  ac_status=$?
15554  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15555  test $ac_status = 0; }; then
15556  have_gtk_doc=yes
15557else
15558  have_gtk_doc=no
15559fi
15560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
15561$as_echo "$have_gtk_doc" >&6; }
15562
15563  if test "$have_gtk_doc" = "no"; then
15564      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15565  You will not be able to create source packages with 'make dist'
15566  because $gtk_doc_requires is not found." >&5
15567$as_echo "$as_me: WARNING:
15568  You will not be able to create source packages with 'make dist'
15569  because $gtk_doc_requires is not found." >&2;}
15570  fi
15571
15572            # Extract the first word of "gtkdoc-check", so it can be a program name with args.
15573set dummy gtkdoc-check; ac_word=$2
15574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15575$as_echo_n "checking for $ac_word... " >&6; }
15576if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
15577  $as_echo_n "(cached) " >&6
15578else
15579  if test -n "$GTKDOC_CHECK"; then
15580  ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
15581else
15582as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15583for as_dir in $PATH
15584do
15585  IFS=$as_save_IFS
15586  test -z "$as_dir" && as_dir=.
15587    for ac_exec_ext in '' $ac_executable_extensions; do
15588  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15589    ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
15590    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15591    break 2
15592  fi
15593done
15594  done
15595IFS=$as_save_IFS
15596
15597fi
15598fi
15599GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
15600if test -n "$GTKDOC_CHECK"; then
15601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
15602$as_echo "$GTKDOC_CHECK" >&6; }
15603else
15604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15605$as_echo "no" >&6; }
15606fi
15607
15608
15609  # Extract the first word of "gtkdoc-check", so it can be a program name with args.
15610set dummy gtkdoc-check; ac_word=$2
15611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15612$as_echo_n "checking for $ac_word... " >&6; }
15613if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
15614  $as_echo_n "(cached) " >&6
15615else
15616  case $GTKDOC_CHECK_PATH in
15617  [\\/]* | ?:[\\/]*)
15618  ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
15619  ;;
15620  *)
15621  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15622for as_dir in $PATH
15623do
15624  IFS=$as_save_IFS
15625  test -z "$as_dir" && as_dir=.
15626    for ac_exec_ext in '' $ac_executable_extensions; do
15627  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15628    ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
15629    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15630    break 2
15631  fi
15632done
15633  done
15634IFS=$as_save_IFS
15635
15636  ;;
15637esac
15638fi
15639GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
15640if test -n "$GTKDOC_CHECK_PATH"; then
15641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
15642$as_echo "$GTKDOC_CHECK_PATH" >&6; }
15643else
15644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15645$as_echo "no" >&6; }
15646fi
15647
15648
15649  for ac_prog in gtkdoc-rebase
15650do
15651  # Extract the first word of "$ac_prog", so it can be a program name with args.
15652set dummy $ac_prog; ac_word=$2
15653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15654$as_echo_n "checking for $ac_word... " >&6; }
15655if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
15656  $as_echo_n "(cached) " >&6
15657else
15658  case $GTKDOC_REBASE in
15659  [\\/]* | ?:[\\/]*)
15660  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
15661  ;;
15662  *)
15663  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15664for as_dir in $PATH
15665do
15666  IFS=$as_save_IFS
15667  test -z "$as_dir" && as_dir=.
15668    for ac_exec_ext in '' $ac_executable_extensions; do
15669  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15670    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
15671    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15672    break 2
15673  fi
15674done
15675  done
15676IFS=$as_save_IFS
15677
15678  ;;
15679esac
15680fi
15681GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
15682if test -n "$GTKDOC_REBASE"; then
15683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
15684$as_echo "$GTKDOC_REBASE" >&6; }
15685else
15686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15687$as_echo "no" >&6; }
15688fi
15689
15690
15691  test -n "$GTKDOC_REBASE" && break
15692done
15693test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
15694
15695  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
15696set dummy gtkdoc-mkpdf; ac_word=$2
15697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15698$as_echo_n "checking for $ac_word... " >&6; }
15699if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
15700  $as_echo_n "(cached) " >&6
15701else
15702  case $GTKDOC_MKPDF in
15703  [\\/]* | ?:[\\/]*)
15704  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
15705  ;;
15706  *)
15707  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15708for as_dir in $PATH
15709do
15710  IFS=$as_save_IFS
15711  test -z "$as_dir" && as_dir=.
15712    for ac_exec_ext in '' $ac_executable_extensions; do
15713  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15714    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
15715    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15716    break 2
15717  fi
15718done
15719  done
15720IFS=$as_save_IFS
15721
15722  ;;
15723esac
15724fi
15725GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
15726if test -n "$GTKDOC_MKPDF"; then
15727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
15728$as_echo "$GTKDOC_MKPDF" >&6; }
15729else
15730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15731$as_echo "no" >&6; }
15732fi
15733
15734
15735
15736
15737# Check whether --with-html-dir was given.
15738if test "${with_html_dir+set}" = set; then :
15739  withval=$with_html_dir;
15740else
15741  with_html_dir='${datadir}/gtk-doc/html'
15742fi
15743
15744  HTML_DIR="$with_html_dir"
15745
15746
15747    # Check whether --enable-gtk-doc was given.
15748if test "${enable_gtk_doc+set}" = set; then :
15749  enableval=$enable_gtk_doc;
15750else
15751  enable_gtk_doc=no
15752fi
15753
15754
15755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
15756$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
15757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
15758$as_echo "$enable_gtk_doc" >&6; }
15759
15760  if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
15761    as_fn_error $? "
15762  You must have $gtk_doc_requires installed to build documentation for
15763  $PACKAGE_NAME. Please install gtk-doc or disable building the
15764  documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
15765  fi
15766
15767    if test "x$PACKAGE_NAME" != "xglib"; then
15768
15769pkg_failed=no
15770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
15771$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
15772
15773if test -n "$GTKDOC_DEPS_CFLAGS"; then
15774    pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
15775 elif test -n "$PKG_CONFIG"; then
15776    if test -n "$PKG_CONFIG" && \
15777    { { $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
15778  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
15779  ac_status=$?
15780  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15781  test $ac_status = 0; }; then
15782  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
15783		      test "x$?" != "x0" && pkg_failed=yes
15784else
15785  pkg_failed=yes
15786fi
15787 else
15788    pkg_failed=untried
15789fi
15790if test -n "$GTKDOC_DEPS_LIBS"; then
15791    pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
15792 elif test -n "$PKG_CONFIG"; then
15793    if test -n "$PKG_CONFIG" && \
15794    { { $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
15795  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
15796  ac_status=$?
15797  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15798  test $ac_status = 0; }; then
15799  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
15800		      test "x$?" != "x0" && pkg_failed=yes
15801else
15802  pkg_failed=yes
15803fi
15804 else
15805    pkg_failed=untried
15806fi
15807
15808
15809
15810if test $pkg_failed = yes; then
15811   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15812$as_echo "no" >&6; }
15813
15814if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15815        _pkg_short_errors_supported=yes
15816else
15817        _pkg_short_errors_supported=no
15818fi
15819        if test $_pkg_short_errors_supported = yes; then
15820	        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`
15821        else
15822	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
15823        fi
15824	# Put the nasty error message in config.log where it belongs
15825	echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
15826
15827	:
15828elif test $pkg_failed = untried; then
15829     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15830$as_echo "no" >&6; }
15831	:
15832else
15833	GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
15834	GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
15835        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15836$as_echo "yes" >&6; }
15837
15838fi
15839  fi
15840
15841    # Check whether --enable-gtk-doc-html was given.
15842if test "${enable_gtk_doc_html+set}" = set; then :
15843  enableval=$enable_gtk_doc_html;
15844else
15845  enable_gtk_doc_html=yes
15846fi
15847
15848    # Check whether --enable-gtk-doc-pdf was given.
15849if test "${enable_gtk_doc_pdf+set}" = set; then :
15850  enableval=$enable_gtk_doc_pdf;
15851else
15852  enable_gtk_doc_pdf=no
15853fi
15854
15855
15856  if test -z "$GTKDOC_MKPDF"; then
15857    enable_gtk_doc_pdf=no
15858  fi
15859
15860  if test -z "$AM_DEFAULT_VERBOSITY"; then
15861    AM_DEFAULT_VERBOSITY=1
15862  fi
15863
15864
15865   if test x$have_gtk_doc = xyes; then
15866  HAVE_GTK_DOC_TRUE=
15867  HAVE_GTK_DOC_FALSE='#'
15868else
15869  HAVE_GTK_DOC_TRUE='#'
15870  HAVE_GTK_DOC_FALSE=
15871fi
15872
15873   if test x$enable_gtk_doc = xyes; then
15874  ENABLE_GTK_DOC_TRUE=
15875  ENABLE_GTK_DOC_FALSE='#'
15876else
15877  ENABLE_GTK_DOC_TRUE='#'
15878  ENABLE_GTK_DOC_FALSE=
15879fi
15880
15881   if test x$enable_gtk_doc_html = xyes; then
15882  GTK_DOC_BUILD_HTML_TRUE=
15883  GTK_DOC_BUILD_HTML_FALSE='#'
15884else
15885  GTK_DOC_BUILD_HTML_TRUE='#'
15886  GTK_DOC_BUILD_HTML_FALSE=
15887fi
15888
15889   if test x$enable_gtk_doc_pdf = xyes; then
15890  GTK_DOC_BUILD_PDF_TRUE=
15891  GTK_DOC_BUILD_PDF_FALSE='#'
15892else
15893  GTK_DOC_BUILD_PDF_TRUE='#'
15894  GTK_DOC_BUILD_PDF_FALSE=
15895fi
15896
15897   if test -n "$LIBTOOL"; then
15898  GTK_DOC_USE_LIBTOOL_TRUE=
15899  GTK_DOC_USE_LIBTOOL_FALSE='#'
15900else
15901  GTK_DOC_USE_LIBTOOL_TRUE='#'
15902  GTK_DOC_USE_LIBTOOL_FALSE=
15903fi
15904
15905   if test -n "$GTKDOC_REBASE"; then
15906  GTK_DOC_USE_REBASE_TRUE=
15907  GTK_DOC_USE_REBASE_FALSE='#'
15908else
15909  GTK_DOC_USE_REBASE_TRUE='#'
15910  GTK_DOC_USE_REBASE_FALSE=
15911fi
15912
15913
15914
15915# =======================================================================
15916# Check for backend module support
15917# =======================================================================
15918# -----------------------------------------------------------------------
15919# Null
15920# -----------------------------------------------------------------------
15921# Check whether --enable-null was given.
15922if test "${enable_null+set}" = set; then :
15923  enableval=$enable_null; enable_null=$enableval
15924else
15925  enable_null=yes
15926fi
15927
15928
15929have_null=no
15930if test "x$enable_null" != "xno" ; then
15931
15932$as_echo "#define HAVE_NULL /**/" >>confdefs.h
15933
15934  have_null=yes
15935fi
15936
15937 if test "x$have_null" = "xyes"; then
15938  HAVE_NULL_TRUE=
15939  HAVE_NULL_FALSE='#'
15940else
15941  HAVE_NULL_TRUE='#'
15942  HAVE_NULL_FALSE=
15943fi
15944
15945
15946
15947# -----------------------------------------------------------------------
15948# PulseAudio
15949# -----------------------------------------------------------------------
15950PA_REQUIRED_VERSION=5.0.0
15951
15952# Check whether --enable-pulseaudio was given.
15953if test "${enable_pulseaudio+set}" = set; then :
15954  enableval=$enable_pulseaudio; enable_pulseaudio=$enableval
15955else
15956  enable_pulseaudio=auto
15957fi
15958
15959
15960have_pulseaudio=no
15961if test "x$enable_pulseaudio" != "xno"; then
15962
15963pkg_failed=no
15964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSEAUDIO" >&5
15965$as_echo_n "checking for PULSEAUDIO... " >&6; }
15966
15967if test -n "$PULSEAUDIO_CFLAGS"; then
15968    pkg_cv_PULSEAUDIO_CFLAGS="$PULSEAUDIO_CFLAGS"
15969 elif test -n "$PKG_CONFIG"; then
15970    if test -n "$PKG_CONFIG" && \
15971    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15972          libpulse >= \$PA_REQUIRED_VERSION
15973          libpulse-mainloop-glib >= \$PA_REQUIRED_VERSION
15974          \""; } >&5
15975  ($PKG_CONFIG --exists --print-errors "
15976          libpulse >= $PA_REQUIRED_VERSION
15977          libpulse-mainloop-glib >= $PA_REQUIRED_VERSION
15978          ") 2>&5
15979  ac_status=$?
15980  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15981  test $ac_status = 0; }; then
15982  pkg_cv_PULSEAUDIO_CFLAGS=`$PKG_CONFIG --cflags "
15983          libpulse >= $PA_REQUIRED_VERSION
15984          libpulse-mainloop-glib >= $PA_REQUIRED_VERSION
15985          " 2>/dev/null`
15986		      test "x$?" != "x0" && pkg_failed=yes
15987else
15988  pkg_failed=yes
15989fi
15990 else
15991    pkg_failed=untried
15992fi
15993if test -n "$PULSEAUDIO_LIBS"; then
15994    pkg_cv_PULSEAUDIO_LIBS="$PULSEAUDIO_LIBS"
15995 elif test -n "$PKG_CONFIG"; then
15996    if test -n "$PKG_CONFIG" && \
15997    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15998          libpulse >= \$PA_REQUIRED_VERSION
15999          libpulse-mainloop-glib >= \$PA_REQUIRED_VERSION
16000          \""; } >&5
16001  ($PKG_CONFIG --exists --print-errors "
16002          libpulse >= $PA_REQUIRED_VERSION
16003          libpulse-mainloop-glib >= $PA_REQUIRED_VERSION
16004          ") 2>&5
16005  ac_status=$?
16006  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16007  test $ac_status = 0; }; then
16008  pkg_cv_PULSEAUDIO_LIBS=`$PKG_CONFIG --libs "
16009          libpulse >= $PA_REQUIRED_VERSION
16010          libpulse-mainloop-glib >= $PA_REQUIRED_VERSION
16011          " 2>/dev/null`
16012		      test "x$?" != "x0" && pkg_failed=yes
16013else
16014  pkg_failed=yes
16015fi
16016 else
16017    pkg_failed=untried
16018fi
16019
16020
16021
16022if test $pkg_failed = yes; then
16023   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16024$as_echo "no" >&6; }
16025
16026if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16027        _pkg_short_errors_supported=yes
16028else
16029        _pkg_short_errors_supported=no
16030fi
16031        if test $_pkg_short_errors_supported = yes; then
16032	        PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16033          libpulse >= $PA_REQUIRED_VERSION
16034          libpulse-mainloop-glib >= $PA_REQUIRED_VERSION
16035          " 2>&1`
16036        else
16037	        PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16038          libpulse >= $PA_REQUIRED_VERSION
16039          libpulse-mainloop-glib >= $PA_REQUIRED_VERSION
16040          " 2>&1`
16041        fi
16042	# Put the nasty error message in config.log where it belongs
16043	echo "$PULSEAUDIO_PKG_ERRORS" >&5
16044
16045	have_pulseaudio=no
16046elif test $pkg_failed = untried; then
16047     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16048$as_echo "no" >&6; }
16049	have_pulseaudio=no
16050else
16051	PULSEAUDIO_CFLAGS=$pkg_cv_PULSEAUDIO_CFLAGS
16052	PULSEAUDIO_LIBS=$pkg_cv_PULSEAUDIO_LIBS
16053        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16054$as_echo "yes" >&6; }
16055	have_pulseaudio=yes
16056fi
16057
16058  if test "x$have_pulseaudio" = "xyes"; then
16059
16060$as_echo "#define HAVE_PULSEAUDIO /**/" >>confdefs.h
16061
16062  else
16063    if test "x$enable_pulseaudio" = "xyes"; then
16064      as_fn_error $? "PulseAudio support explicitly requested but dependencies not found" "$LINENO" 5
16065    else
16066      { $as_echo "$as_me:${as_lineno-$LINENO}: PulseAudio dependencies not found, the module will not be built" >&5
16067$as_echo "$as_me: PulseAudio dependencies not found, the module will not be built" >&6;}
16068    fi
16069  fi
16070fi
16071
16072 if test "x$have_pulseaudio" = "xyes"; then
16073  HAVE_PULSEAUDIO_TRUE=
16074  HAVE_PULSEAUDIO_FALSE='#'
16075else
16076  HAVE_PULSEAUDIO_TRUE='#'
16077  HAVE_PULSEAUDIO_FALSE=
16078fi
16079
16080
16081
16082
16083
16084
16085# -----------------------------------------------------------------------
16086# ALSA
16087# -----------------------------------------------------------------------
16088# This is set accordingly to the version reported by liboss4-salsa
16089ALSA_REQUIRED_VERSION=1.0.5
16090
16091# Check whether --enable-alsa was given.
16092if test "${enable_alsa+set}" = set; then :
16093  enableval=$enable_alsa; enable_alsa=$enableval
16094else
16095  enable_alsa=auto
16096fi
16097
16098
16099have_alsa=no
16100if test "x$enable_alsa" != "xno"; then
16101
16102pkg_failed=no
16103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
16104$as_echo_n "checking for ALSA... " >&6; }
16105
16106if test -n "$ALSA_CFLAGS"; then
16107    pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
16108 elif test -n "$PKG_CONFIG"; then
16109    if test -n "$PKG_CONFIG" && \
16110    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16111          alsa >= \$ALSA_REQUIRED_VERSION
16112          gthread-2.0 >= \$GLIB_REQUIRED_VERSION
16113          \""; } >&5
16114  ($PKG_CONFIG --exists --print-errors "
16115          alsa >= $ALSA_REQUIRED_VERSION
16116          gthread-2.0 >= $GLIB_REQUIRED_VERSION
16117          ") 2>&5
16118  ac_status=$?
16119  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16120  test $ac_status = 0; }; then
16121  pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "
16122          alsa >= $ALSA_REQUIRED_VERSION
16123          gthread-2.0 >= $GLIB_REQUIRED_VERSION
16124          " 2>/dev/null`
16125		      test "x$?" != "x0" && pkg_failed=yes
16126else
16127  pkg_failed=yes
16128fi
16129 else
16130    pkg_failed=untried
16131fi
16132if test -n "$ALSA_LIBS"; then
16133    pkg_cv_ALSA_LIBS="$ALSA_LIBS"
16134 elif test -n "$PKG_CONFIG"; then
16135    if test -n "$PKG_CONFIG" && \
16136    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16137          alsa >= \$ALSA_REQUIRED_VERSION
16138          gthread-2.0 >= \$GLIB_REQUIRED_VERSION
16139          \""; } >&5
16140  ($PKG_CONFIG --exists --print-errors "
16141          alsa >= $ALSA_REQUIRED_VERSION
16142          gthread-2.0 >= $GLIB_REQUIRED_VERSION
16143          ") 2>&5
16144  ac_status=$?
16145  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16146  test $ac_status = 0; }; then
16147  pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "
16148          alsa >= $ALSA_REQUIRED_VERSION
16149          gthread-2.0 >= $GLIB_REQUIRED_VERSION
16150          " 2>/dev/null`
16151		      test "x$?" != "x0" && pkg_failed=yes
16152else
16153  pkg_failed=yes
16154fi
16155 else
16156    pkg_failed=untried
16157fi
16158
16159
16160
16161if test $pkg_failed = yes; then
16162   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16163$as_echo "no" >&6; }
16164
16165if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16166        _pkg_short_errors_supported=yes
16167else
16168        _pkg_short_errors_supported=no
16169fi
16170        if test $_pkg_short_errors_supported = yes; then
16171	        ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16172          alsa >= $ALSA_REQUIRED_VERSION
16173          gthread-2.0 >= $GLIB_REQUIRED_VERSION
16174          " 2>&1`
16175        else
16176	        ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16177          alsa >= $ALSA_REQUIRED_VERSION
16178          gthread-2.0 >= $GLIB_REQUIRED_VERSION
16179          " 2>&1`
16180        fi
16181	# Put the nasty error message in config.log where it belongs
16182	echo "$ALSA_PKG_ERRORS" >&5
16183
16184	have_alsa=no
16185elif test $pkg_failed = untried; then
16186     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16187$as_echo "no" >&6; }
16188	have_alsa=no
16189else
16190	ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
16191	ALSA_LIBS=$pkg_cv_ALSA_LIBS
16192        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16193$as_echo "yes" >&6; }
16194	have_alsa=yes
16195fi
16196
16197  if test "x$have_alsa" = "xyes"; then
16198
16199$as_echo "#define HAVE_ALSA /**/" >>confdefs.h
16200
16201  else
16202    if test "x$enable_alsa" = "xyes"; then
16203      as_fn_error $? "ALSA support explicitly requested but dependencies not found" "$LINENO" 5
16204    else
16205      { $as_echo "$as_me:${as_lineno-$LINENO}: ALSA dependencies not found, the module will not be built" >&5
16206$as_echo "$as_me: ALSA dependencies not found, the module will not be built" >&6;}
16207    fi
16208  fi
16209fi
16210
16211# Check whether --enable-udev was given.
16212if test "${enable_udev+set}" = set; then :
16213  enableval=$enable_udev; enable_udev=$enableval
16214else
16215  enable_udev=auto
16216fi
16217
16218
16219have_udev=no
16220if test "x$enable_udev" != "xno" -a \
16221        "x$have_alsa" = "xyes"; then
16222
16223pkg_failed=no
16224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
16225$as_echo_n "checking for UDEV... " >&6; }
16226
16227if test -n "$UDEV_CFLAGS"; then
16228    pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
16229 elif test -n "$PKG_CONFIG"; then
16230    if test -n "$PKG_CONFIG" && \
16231    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
16232  ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
16233  ac_status=$?
16234  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16235  test $ac_status = 0; }; then
16236  pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
16237		      test "x$?" != "x0" && pkg_failed=yes
16238else
16239  pkg_failed=yes
16240fi
16241 else
16242    pkg_failed=untried
16243fi
16244if test -n "$UDEV_LIBS"; then
16245    pkg_cv_UDEV_LIBS="$UDEV_LIBS"
16246 elif test -n "$PKG_CONFIG"; then
16247    if test -n "$PKG_CONFIG" && \
16248    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
16249  ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
16250  ac_status=$?
16251  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16252  test $ac_status = 0; }; then
16253  pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
16254		      test "x$?" != "x0" && pkg_failed=yes
16255else
16256  pkg_failed=yes
16257fi
16258 else
16259    pkg_failed=untried
16260fi
16261
16262
16263
16264if test $pkg_failed = yes; then
16265   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16266$as_echo "no" >&6; }
16267
16268if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16269        _pkg_short_errors_supported=yes
16270else
16271        _pkg_short_errors_supported=no
16272fi
16273        if test $_pkg_short_errors_supported = yes; then
16274	        UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev" 2>&1`
16275        else
16276	        UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev" 2>&1`
16277        fi
16278	# Put the nasty error message in config.log where it belongs
16279	echo "$UDEV_PKG_ERRORS" >&5
16280
16281	have_udev=no
16282elif test $pkg_failed = untried; then
16283     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16284$as_echo "no" >&6; }
16285	have_udev=no
16286else
16287	UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
16288	UDEV_LIBS=$pkg_cv_UDEV_LIBS
16289        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16290$as_echo "yes" >&6; }
16291	have_udev=yes
16292fi
16293  if test "x$have_udev" = "xyes"; then
16294
16295$as_echo "#define HAVE_UDEV /**/" >>confdefs.h
16296
16297  else
16298    if test "x$enable_udev" = "xyes"; then
16299      as_fn_error $? "UDEV support explicitly requested but dependencies not found" "$LINENO" 5
16300    else
16301      { $as_echo "$as_me:${as_lineno-$LINENO}: UDEV dependencies not found, the module will not be built" >&5
16302$as_echo "$as_me: UDEV dependencies not found, the module will not be built" >&6;}
16303    fi
16304  fi
16305fi
16306
16307 if test "x$have_alsa" = "xyes"; then
16308  HAVE_ALSA_TRUE=
16309  HAVE_ALSA_FALSE='#'
16310else
16311  HAVE_ALSA_TRUE='#'
16312  HAVE_ALSA_FALSE=
16313fi
16314
16315 if test "x$have_udev" = "xyes"; then
16316  HAVE_UDEV_TRUE=
16317  HAVE_UDEV_FALSE='#'
16318else
16319  HAVE_UDEV_TRUE='#'
16320  HAVE_UDEV_FALSE=
16321fi
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331# -----------------------------------------------------------------------
16332# OSS
16333# -----------------------------------------------------------------------
16334# Check whether --enable-oss was given.
16335if test "${enable_oss+set}" = set; then :
16336  enableval=$enable_oss; enable_oss=$enableval
16337else
16338  enable_oss=no
16339fi
16340
16341
16342have_oss=no
16343if test "x$enable_oss" != "xno"; then
16344  for ac_header in soundcard.h sys/soundcard.h machine/soundcard.h
16345do :
16346  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16347ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16348if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16349  cat >>confdefs.h <<_ACEOF
16350#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16351_ACEOF
16352
16353fi
16354
16355done
16356
16357  if test "x$ac_cv_header_soundcard_h" = "xyes" -o \
16358          "x$ac_cv_header_sys_soundcard_h" = "xyes" -o \
16359          "x$ac_cv_header_machine_soundcard_h" = "xyes"; then
16360    have_oss=yes
16361    for ac_header in sys/ioctl.h sys/stat.h sys/types.h errno.h fcntl.h
16362do :
16363  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16364ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16365if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16366  cat >>confdefs.h <<_ACEOF
16367#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16368_ACEOF
16369
16370else
16371
16372      have_oss=no
16373      break
16374
16375fi
16376
16377done
16378
16379  fi
16380
16381  if test "x$have_oss" = "xyes"; then
16382    # NetBSD/OpenBSD require -lossaudio, other OSS implementations do not have
16383    # this library
16384    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
16385$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
16386if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
16387  $as_echo_n "(cached) " >&6
16388else
16389  ac_check_lib_save_LIBS=$LIBS
16390LIBS="-lossaudio  $LIBS"
16391cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16392/* end confdefs.h.  */
16393
16394/* Override any GCC internal prototype to avoid an error.
16395   Use char because int might match the return type of a GCC
16396   builtin and then its argument prototype would still apply.  */
16397#ifdef __cplusplus
16398extern "C"
16399#endif
16400char _oss_ioctl ();
16401int
16402main ()
16403{
16404return _oss_ioctl ();
16405  ;
16406  return 0;
16407}
16408_ACEOF
16409if ac_fn_c_try_link "$LINENO"; then :
16410  ac_cv_lib_ossaudio__oss_ioctl=yes
16411else
16412  ac_cv_lib_ossaudio__oss_ioctl=no
16413fi
16414rm -f core conftest.err conftest.$ac_objext \
16415    conftest$ac_exeext conftest.$ac_ext
16416LIBS=$ac_check_lib_save_LIBS
16417fi
16418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
16419$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
16420if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
16421  OSS_LIBS="-lossaudio"
16422fi
16423
16424
16425
16426$as_echo "#define HAVE_OSS /**/" >>confdefs.h
16427
16428  else
16429    if test "x$enable_oss" = "xyes"; then
16430      as_fn_error $? "OSS support explicitly requested but dependencies not found" "$LINENO" 5
16431    else
16432      { $as_echo "$as_me:${as_lineno-$LINENO}: OSS dependencies not found, the module will not be built" >&5
16433$as_echo "$as_me: OSS dependencies not found, the module will not be built" >&6;}
16434    fi
16435  fi
16436fi
16437
16438 if test "x$have_oss" = "xyes"; then
16439  HAVE_OSS_TRUE=
16440  HAVE_OSS_FALSE='#'
16441else
16442  HAVE_OSS_TRUE='#'
16443  HAVE_OSS_FALSE=
16444fi
16445
16446
16447
16448
16449
16450
16451# =======================================================================
16452# Finish
16453# =======================================================================
16454ac_config_files="$ac_config_files Makefile libmatemixer/Makefile backends/Makefile backends/null/Makefile backends/pulse/Makefile backends/alsa/Makefile backends/oss/Makefile data/Makefile data/libmatemixer.pc docs/Makefile docs/reference/Makefile docs/reference/version.xml examples/Makefile po/Makefile.in"
16455
16456
16457cat >confcache <<\_ACEOF
16458# This file is a shell script that caches the results of configure
16459# tests run on this system so they can be shared between configure
16460# scripts and configure runs, see configure's option --config-cache.
16461# It is not useful on other systems.  If it contains results you don't
16462# want to keep, you may remove or edit it.
16463#
16464# config.status only pays attention to the cache file if you give it
16465# the --recheck option to rerun configure.
16466#
16467# `ac_cv_env_foo' variables (set or unset) will be overridden when
16468# loading this file, other *unset* `ac_cv_foo' will be assigned the
16469# following values.
16470
16471_ACEOF
16472
16473# The following way of writing the cache mishandles newlines in values,
16474# but we know of no workaround that is simple, portable, and efficient.
16475# So, we kill variables containing newlines.
16476# Ultrix sh set writes to stderr and can't be redirected directly,
16477# and sets the high bit in the cache file unless we assign to the vars.
16478(
16479  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16480    eval ac_val=\$$ac_var
16481    case $ac_val in #(
16482    *${as_nl}*)
16483      case $ac_var in #(
16484      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16485$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16486      esac
16487      case $ac_var in #(
16488      _ | IFS | as_nl) ;; #(
16489      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16490      *) { eval $ac_var=; unset $ac_var;} ;;
16491      esac ;;
16492    esac
16493  done
16494
16495  (set) 2>&1 |
16496    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16497    *${as_nl}ac_space=\ *)
16498      # `set' does not quote correctly, so add quotes: double-quote
16499      # substitution turns \\\\ into \\, and sed turns \\ into \.
16500      sed -n \
16501	"s/'/'\\\\''/g;
16502	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16503      ;; #(
16504    *)
16505      # `set' quotes correctly as required by POSIX, so do not add quotes.
16506      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16507      ;;
16508    esac |
16509    sort
16510) |
16511  sed '
16512     /^ac_cv_env_/b end
16513     t clear
16514     :clear
16515     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16516     t end
16517     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16518     :end' >>confcache
16519if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16520  if test -w "$cache_file"; then
16521    if test "x$cache_file" != "x/dev/null"; then
16522      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16523$as_echo "$as_me: updating cache $cache_file" >&6;}
16524      if test ! -f "$cache_file" || test -h "$cache_file"; then
16525	cat confcache >"$cache_file"
16526      else
16527        case $cache_file in #(
16528        */* | ?:*)
16529	  mv -f confcache "$cache_file"$$ &&
16530	  mv -f "$cache_file"$$ "$cache_file" ;; #(
16531        *)
16532	  mv -f confcache "$cache_file" ;;
16533	esac
16534      fi
16535    fi
16536  else
16537    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16538$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16539  fi
16540fi
16541rm -f confcache
16542
16543test "x$prefix" = xNONE && prefix=$ac_default_prefix
16544# Let make expand exec_prefix.
16545test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16546
16547DEFS=-DHAVE_CONFIG_H
16548
16549ac_libobjs=
16550ac_ltlibobjs=
16551U=
16552for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16553  # 1. Remove the extension, and $U if already installed.
16554  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16555  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16556  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16557  #    will be set to the directory where LIBOBJS objects are built.
16558  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16559  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16560done
16561LIBOBJS=$ac_libobjs
16562
16563LTLIBOBJS=$ac_ltlibobjs
16564
16565
16566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16567$as_echo_n "checking that generated files are newer than configure... " >&6; }
16568   if test -n "$am_sleep_pid"; then
16569     # Hide warnings about reused PIDs.
16570     wait $am_sleep_pid 2>/dev/null
16571   fi
16572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16573$as_echo "done" >&6; }
16574 if test -n "$EXEEXT"; then
16575  am__EXEEXT_TRUE=
16576  am__EXEEXT_FALSE='#'
16577else
16578  am__EXEEXT_TRUE='#'
16579  am__EXEEXT_FALSE=
16580fi
16581
16582if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16583  as_fn_error $? "conditional \"AMDEP\" was never defined.
16584Usually this means the macro was only invoked conditionally." "$LINENO" 5
16585fi
16586if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16587  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16588Usually this means the macro was only invoked conditionally." "$LINENO" 5
16589fi
16590if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16591  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16592Usually this means the macro was only invoked conditionally." "$LINENO" 5
16593fi
16594if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
16595  as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
16596Usually this means the macro was only invoked conditionally." "$LINENO" 5
16597fi
16598if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16599  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
16600Usually this means the macro was only invoked conditionally." "$LINENO" 5
16601fi
16602if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
16603  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
16604Usually this means the macro was only invoked conditionally." "$LINENO" 5
16605fi
16606if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
16607  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
16608Usually this means the macro was only invoked conditionally." "$LINENO" 5
16609fi
16610if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
16611  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16612Usually this means the macro was only invoked conditionally." "$LINENO" 5
16613fi
16614if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
16615  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
16616Usually this means the macro was only invoked conditionally." "$LINENO" 5
16617fi
16618if test -z "${HAVE_NULL_TRUE}" && test -z "${HAVE_NULL_FALSE}"; then
16619  as_fn_error $? "conditional \"HAVE_NULL\" was never defined.
16620Usually this means the macro was only invoked conditionally." "$LINENO" 5
16621fi
16622if test -z "${HAVE_PULSEAUDIO_TRUE}" && test -z "${HAVE_PULSEAUDIO_FALSE}"; then
16623  as_fn_error $? "conditional \"HAVE_PULSEAUDIO\" was never defined.
16624Usually this means the macro was only invoked conditionally." "$LINENO" 5
16625fi
16626if test -z "${HAVE_ALSA_TRUE}" && test -z "${HAVE_ALSA_FALSE}"; then
16627  as_fn_error $? "conditional \"HAVE_ALSA\" was never defined.
16628Usually this means the macro was only invoked conditionally." "$LINENO" 5
16629fi
16630if test -z "${HAVE_UDEV_TRUE}" && test -z "${HAVE_UDEV_FALSE}"; then
16631  as_fn_error $? "conditional \"HAVE_UDEV\" was never defined.
16632Usually this means the macro was only invoked conditionally." "$LINENO" 5
16633fi
16634if test -z "${HAVE_OSS_TRUE}" && test -z "${HAVE_OSS_FALSE}"; then
16635  as_fn_error $? "conditional \"HAVE_OSS\" was never defined.
16636Usually this means the macro was only invoked conditionally." "$LINENO" 5
16637fi
16638
16639: "${CONFIG_STATUS=./config.status}"
16640ac_write_fail=0
16641ac_clean_files_save=$ac_clean_files
16642ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16643{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16644$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16645as_write_fail=0
16646cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16647#! $SHELL
16648# Generated by $as_me.
16649# Run this file to recreate the current configuration.
16650# Compiler output produced by configure, useful for debugging
16651# configure, is in config.log if it exists.
16652
16653debug=false
16654ac_cs_recheck=false
16655ac_cs_silent=false
16656
16657SHELL=\${CONFIG_SHELL-$SHELL}
16658export SHELL
16659_ASEOF
16660cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16661## -------------------- ##
16662## M4sh Initialization. ##
16663## -------------------- ##
16664
16665# Be more Bourne compatible
16666DUALCASE=1; export DUALCASE # for MKS sh
16667if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16668  emulate sh
16669  NULLCMD=:
16670  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16671  # is contrary to our usage.  Disable this feature.
16672  alias -g '${1+"$@"}'='"$@"'
16673  setopt NO_GLOB_SUBST
16674else
16675  case `(set -o) 2>/dev/null` in #(
16676  *posix*) :
16677    set -o posix ;; #(
16678  *) :
16679     ;;
16680esac
16681fi
16682
16683
16684as_nl='
16685'
16686export as_nl
16687# Printing a long string crashes Solaris 7 /usr/bin/printf.
16688as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16689as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16690as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16691# Prefer a ksh shell builtin over an external printf program on Solaris,
16692# but without wasting forks for bash or zsh.
16693if test -z "$BASH_VERSION$ZSH_VERSION" \
16694    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16695  as_echo='print -r --'
16696  as_echo_n='print -rn --'
16697elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16698  as_echo='printf %s\n'
16699  as_echo_n='printf %s'
16700else
16701  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16702    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16703    as_echo_n='/usr/ucb/echo -n'
16704  else
16705    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16706    as_echo_n_body='eval
16707      arg=$1;
16708      case $arg in #(
16709      *"$as_nl"*)
16710	expr "X$arg" : "X\\(.*\\)$as_nl";
16711	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16712      esac;
16713      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16714    '
16715    export as_echo_n_body
16716    as_echo_n='sh -c $as_echo_n_body as_echo'
16717  fi
16718  export as_echo_body
16719  as_echo='sh -c $as_echo_body as_echo'
16720fi
16721
16722# The user is always right.
16723if test "${PATH_SEPARATOR+set}" != set; then
16724  PATH_SEPARATOR=:
16725  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16726    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16727      PATH_SEPARATOR=';'
16728  }
16729fi
16730
16731
16732# IFS
16733# We need space, tab and new line, in precisely that order.  Quoting is
16734# there to prevent editors from complaining about space-tab.
16735# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16736# splitting by setting IFS to empty value.)
16737IFS=" ""	$as_nl"
16738
16739# Find who we are.  Look in the path if we contain no directory separator.
16740as_myself=
16741case $0 in #((
16742  *[\\/]* ) as_myself=$0 ;;
16743  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16744for as_dir in $PATH
16745do
16746  IFS=$as_save_IFS
16747  test -z "$as_dir" && as_dir=.
16748    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16749  done
16750IFS=$as_save_IFS
16751
16752     ;;
16753esac
16754# We did not find ourselves, most probably we were run as `sh COMMAND'
16755# in which case we are not to be found in the path.
16756if test "x$as_myself" = x; then
16757  as_myself=$0
16758fi
16759if test ! -f "$as_myself"; then
16760  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16761  exit 1
16762fi
16763
16764# Unset variables that we do not need and which cause bugs (e.g. in
16765# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16766# suppresses any "Segmentation fault" message there.  '((' could
16767# trigger a bug in pdksh 5.2.14.
16768for as_var in BASH_ENV ENV MAIL MAILPATH
16769do eval test x\${$as_var+set} = xset \
16770  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16771done
16772PS1='$ '
16773PS2='> '
16774PS4='+ '
16775
16776# NLS nuisances.
16777LC_ALL=C
16778export LC_ALL
16779LANGUAGE=C
16780export LANGUAGE
16781
16782# CDPATH.
16783(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16784
16785
16786# as_fn_error STATUS ERROR [LINENO LOG_FD]
16787# ----------------------------------------
16788# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16789# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16790# script with STATUS, using 1 if that was 0.
16791as_fn_error ()
16792{
16793  as_status=$1; test $as_status -eq 0 && as_status=1
16794  if test "$4"; then
16795    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16796    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16797  fi
16798  $as_echo "$as_me: error: $2" >&2
16799  as_fn_exit $as_status
16800} # as_fn_error
16801
16802
16803# as_fn_set_status STATUS
16804# -----------------------
16805# Set $? to STATUS, without forking.
16806as_fn_set_status ()
16807{
16808  return $1
16809} # as_fn_set_status
16810
16811# as_fn_exit STATUS
16812# -----------------
16813# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16814as_fn_exit ()
16815{
16816  set +e
16817  as_fn_set_status $1
16818  exit $1
16819} # as_fn_exit
16820
16821# as_fn_unset VAR
16822# ---------------
16823# Portably unset VAR.
16824as_fn_unset ()
16825{
16826  { eval $1=; unset $1;}
16827}
16828as_unset=as_fn_unset
16829# as_fn_append VAR VALUE
16830# ----------------------
16831# Append the text in VALUE to the end of the definition contained in VAR. Take
16832# advantage of any shell optimizations that allow amortized linear growth over
16833# repeated appends, instead of the typical quadratic growth present in naive
16834# implementations.
16835if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16836  eval 'as_fn_append ()
16837  {
16838    eval $1+=\$2
16839  }'
16840else
16841  as_fn_append ()
16842  {
16843    eval $1=\$$1\$2
16844  }
16845fi # as_fn_append
16846
16847# as_fn_arith ARG...
16848# ------------------
16849# Perform arithmetic evaluation on the ARGs, and store the result in the
16850# global $as_val. Take advantage of shells that can avoid forks. The arguments
16851# must be portable across $(()) and expr.
16852if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16853  eval 'as_fn_arith ()
16854  {
16855    as_val=$(( $* ))
16856  }'
16857else
16858  as_fn_arith ()
16859  {
16860    as_val=`expr "$@" || test $? -eq 1`
16861  }
16862fi # as_fn_arith
16863
16864
16865if expr a : '\(a\)' >/dev/null 2>&1 &&
16866   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16867  as_expr=expr
16868else
16869  as_expr=false
16870fi
16871
16872if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16873  as_basename=basename
16874else
16875  as_basename=false
16876fi
16877
16878if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16879  as_dirname=dirname
16880else
16881  as_dirname=false
16882fi
16883
16884as_me=`$as_basename -- "$0" ||
16885$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16886	 X"$0" : 'X\(//\)$' \| \
16887	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16888$as_echo X/"$0" |
16889    sed '/^.*\/\([^/][^/]*\)\/*$/{
16890	    s//\1/
16891	    q
16892	  }
16893	  /^X\/\(\/\/\)$/{
16894	    s//\1/
16895	    q
16896	  }
16897	  /^X\/\(\/\).*/{
16898	    s//\1/
16899	    q
16900	  }
16901	  s/.*/./; q'`
16902
16903# Avoid depending upon Character Ranges.
16904as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16905as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16906as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16907as_cr_digits='0123456789'
16908as_cr_alnum=$as_cr_Letters$as_cr_digits
16909
16910ECHO_C= ECHO_N= ECHO_T=
16911case `echo -n x` in #(((((
16912-n*)
16913  case `echo 'xy\c'` in
16914  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
16915  xy)  ECHO_C='\c';;
16916  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16917       ECHO_T='	';;
16918  esac;;
16919*)
16920  ECHO_N='-n';;
16921esac
16922
16923rm -f conf$$ conf$$.exe conf$$.file
16924if test -d conf$$.dir; then
16925  rm -f conf$$.dir/conf$$.file
16926else
16927  rm -f conf$$.dir
16928  mkdir conf$$.dir 2>/dev/null
16929fi
16930if (echo >conf$$.file) 2>/dev/null; then
16931  if ln -s conf$$.file conf$$ 2>/dev/null; then
16932    as_ln_s='ln -s'
16933    # ... but there are two gotchas:
16934    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16935    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16936    # In both cases, we have to default to `cp -pR'.
16937    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16938      as_ln_s='cp -pR'
16939  elif ln conf$$.file conf$$ 2>/dev/null; then
16940    as_ln_s=ln
16941  else
16942    as_ln_s='cp -pR'
16943  fi
16944else
16945  as_ln_s='cp -pR'
16946fi
16947rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16948rmdir conf$$.dir 2>/dev/null
16949
16950
16951# as_fn_mkdir_p
16952# -------------
16953# Create "$as_dir" as a directory, including parents if necessary.
16954as_fn_mkdir_p ()
16955{
16956
16957  case $as_dir in #(
16958  -*) as_dir=./$as_dir;;
16959  esac
16960  test -d "$as_dir" || eval $as_mkdir_p || {
16961    as_dirs=
16962    while :; do
16963      case $as_dir in #(
16964      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16965      *) as_qdir=$as_dir;;
16966      esac
16967      as_dirs="'$as_qdir' $as_dirs"
16968      as_dir=`$as_dirname -- "$as_dir" ||
16969$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16970	 X"$as_dir" : 'X\(//\)[^/]' \| \
16971	 X"$as_dir" : 'X\(//\)$' \| \
16972	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16973$as_echo X"$as_dir" |
16974    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16975	    s//\1/
16976	    q
16977	  }
16978	  /^X\(\/\/\)[^/].*/{
16979	    s//\1/
16980	    q
16981	  }
16982	  /^X\(\/\/\)$/{
16983	    s//\1/
16984	    q
16985	  }
16986	  /^X\(\/\).*/{
16987	    s//\1/
16988	    q
16989	  }
16990	  s/.*/./; q'`
16991      test -d "$as_dir" && break
16992    done
16993    test -z "$as_dirs" || eval "mkdir $as_dirs"
16994  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16995
16996
16997} # as_fn_mkdir_p
16998if mkdir -p . 2>/dev/null; then
16999  as_mkdir_p='mkdir -p "$as_dir"'
17000else
17001  test -d ./-p && rmdir ./-p
17002  as_mkdir_p=false
17003fi
17004
17005
17006# as_fn_executable_p FILE
17007# -----------------------
17008# Test if FILE is an executable regular file.
17009as_fn_executable_p ()
17010{
17011  test -f "$1" && test -x "$1"
17012} # as_fn_executable_p
17013as_test_x='test -x'
17014as_executable_p=as_fn_executable_p
17015
17016# Sed expression to map a string onto a valid CPP name.
17017as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17018
17019# Sed expression to map a string onto a valid variable name.
17020as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17021
17022
17023exec 6>&1
17024## ----------------------------------- ##
17025## Main body of $CONFIG_STATUS script. ##
17026## ----------------------------------- ##
17027_ASEOF
17028test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17029
17030cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17031# Save the log message, to keep $0 and so on meaningful, and to
17032# report actual input values of CONFIG_FILES etc. instead of their
17033# values after options handling.
17034ac_log="
17035This file was extended by libmatemixer $as_me 1.26.0, which was
17036generated by GNU Autoconf 2.69.  Invocation command line was
17037
17038  CONFIG_FILES    = $CONFIG_FILES
17039  CONFIG_HEADERS  = $CONFIG_HEADERS
17040  CONFIG_LINKS    = $CONFIG_LINKS
17041  CONFIG_COMMANDS = $CONFIG_COMMANDS
17042  $ $0 $@
17043
17044on `(hostname || uname -n) 2>/dev/null | sed 1q`
17045"
17046
17047_ACEOF
17048
17049case $ac_config_files in *"
17050"*) set x $ac_config_files; shift; ac_config_files=$*;;
17051esac
17052
17053case $ac_config_headers in *"
17054"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17055esac
17056
17057
17058cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17059# Files that config.status was made for.
17060config_files="$ac_config_files"
17061config_headers="$ac_config_headers"
17062config_commands="$ac_config_commands"
17063
17064_ACEOF
17065
17066cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17067ac_cs_usage="\
17068\`$as_me' instantiates files and other configuration actions
17069from templates according to the current configuration.  Unless the files
17070and actions are specified as TAGs, all are instantiated by default.
17071
17072Usage: $0 [OPTION]... [TAG]...
17073
17074  -h, --help       print this help, then exit
17075  -V, --version    print version number and configuration settings, then exit
17076      --config     print configuration, then exit
17077  -q, --quiet, --silent
17078                   do not print progress messages
17079  -d, --debug      don't remove temporary files
17080      --recheck    update $as_me by reconfiguring in the same conditions
17081      --file=FILE[:TEMPLATE]
17082                   instantiate the configuration file FILE
17083      --header=FILE[:TEMPLATE]
17084                   instantiate the configuration header FILE
17085
17086Configuration files:
17087$config_files
17088
17089Configuration headers:
17090$config_headers
17091
17092Configuration commands:
17093$config_commands
17094
17095Report bugs to <https://mate-desktop.org>."
17096
17097_ACEOF
17098cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17099ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17100ac_cs_version="\\
17101libmatemixer config.status 1.26.0
17102configured by $0, generated by GNU Autoconf 2.69,
17103  with options \\"\$ac_cs_config\\"
17104
17105Copyright (C) 2012 Free Software Foundation, Inc.
17106This config.status script is free software; the Free Software Foundation
17107gives unlimited permission to copy, distribute and modify it."
17108
17109ac_pwd='$ac_pwd'
17110srcdir='$srcdir'
17111INSTALL='$INSTALL'
17112MKDIR_P='$MKDIR_P'
17113AWK='$AWK'
17114test -n "\$AWK" || AWK=awk
17115_ACEOF
17116
17117cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17118# The default lists apply if the user does not specify any file.
17119ac_need_defaults=:
17120while test $# != 0
17121do
17122  case $1 in
17123  --*=?*)
17124    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17125    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17126    ac_shift=:
17127    ;;
17128  --*=)
17129    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17130    ac_optarg=
17131    ac_shift=:
17132    ;;
17133  *)
17134    ac_option=$1
17135    ac_optarg=$2
17136    ac_shift=shift
17137    ;;
17138  esac
17139
17140  case $ac_option in
17141  # Handling of the options.
17142  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17143    ac_cs_recheck=: ;;
17144  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17145    $as_echo "$ac_cs_version"; exit ;;
17146  --config | --confi | --conf | --con | --co | --c )
17147    $as_echo "$ac_cs_config"; exit ;;
17148  --debug | --debu | --deb | --de | --d | -d )
17149    debug=: ;;
17150  --file | --fil | --fi | --f )
17151    $ac_shift
17152    case $ac_optarg in
17153    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17154    '') as_fn_error $? "missing file argument" ;;
17155    esac
17156    as_fn_append CONFIG_FILES " '$ac_optarg'"
17157    ac_need_defaults=false;;
17158  --header | --heade | --head | --hea )
17159    $ac_shift
17160    case $ac_optarg in
17161    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17162    esac
17163    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17164    ac_need_defaults=false;;
17165  --he | --h)
17166    # Conflict between --help and --header
17167    as_fn_error $? "ambiguous option: \`$1'
17168Try \`$0 --help' for more information.";;
17169  --help | --hel | -h )
17170    $as_echo "$ac_cs_usage"; exit ;;
17171  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17172  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17173    ac_cs_silent=: ;;
17174
17175  # This is an error.
17176  -*) as_fn_error $? "unrecognized option: \`$1'
17177Try \`$0 --help' for more information." ;;
17178
17179  *) as_fn_append ac_config_targets " $1"
17180     ac_need_defaults=false ;;
17181
17182  esac
17183  shift
17184done
17185
17186ac_configure_extra_args=
17187
17188if $ac_cs_silent; then
17189  exec 6>/dev/null
17190  ac_configure_extra_args="$ac_configure_extra_args --silent"
17191fi
17192
17193_ACEOF
17194cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17195if \$ac_cs_recheck; then
17196  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17197  shift
17198  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17199  CONFIG_SHELL='$SHELL'
17200  export CONFIG_SHELL
17201  exec "\$@"
17202fi
17203
17204_ACEOF
17205cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17206exec 5>>config.log
17207{
17208  echo
17209  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17210## Running $as_me. ##
17211_ASBOX
17212  $as_echo "$ac_log"
17213} >&5
17214
17215_ACEOF
17216cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17217#
17218# INIT-COMMANDS
17219#
17220AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17221
17222
17223# The HP-UX ksh and POSIX shell print the target directory to stdout
17224# if CDPATH is set.
17225(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17226
17227sed_quote_subst='$sed_quote_subst'
17228double_quote_subst='$double_quote_subst'
17229delay_variable_subst='$delay_variable_subst'
17230macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17231macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17232enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17233enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17234pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17235enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17236shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17237SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17238ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17239PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17240host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17241host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17242host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17243build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17244build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17245build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17246SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17247Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17248GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17249EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17250FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17251LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17252NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17253LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17254max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17255ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17256exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17257lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17258lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17259lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17260lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17261lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17262reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17263reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17264OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17265deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17266file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17267file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17268want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17269DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17270sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17271AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17272AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17273archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17274STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17275RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17276old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17277old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17278old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17279lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17280CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17281CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17282compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17283GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17284lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17285lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17286lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17287lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17288lt_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"`'
17289lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17290nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17291lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17292lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17293objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17294MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17295lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17296lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17297lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17298lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17299lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17300need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17301MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17302DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17303NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17304LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17305OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17306OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17307libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17308shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17309extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17310archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17311enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17312export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17313whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17314compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17315old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17316old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17317archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17318archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17319module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17320module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17321with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17322allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17323no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17324hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17325hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17326hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17327hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17328hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17329hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17330hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17331inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17332link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17333always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17334export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17335exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17336include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17337prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17338postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17339file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17340variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17341need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17342need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17343version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17344runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17345shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17346shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17347libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17348library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17349soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17350install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17351postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17352postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17353finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17354finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17355hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17356sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17357configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17358configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17359hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17360enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17361enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17362enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17363old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17364striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17365
17366LTCC='$LTCC'
17367LTCFLAGS='$LTCFLAGS'
17368compiler='$compiler_DEFAULT'
17369
17370# A function that is used when there is no print builtin or printf.
17371func_fallback_echo ()
17372{
17373  eval 'cat <<_LTECHO_EOF
17374\$1
17375_LTECHO_EOF'
17376}
17377
17378# Quote evaled strings.
17379for var in SHELL \
17380ECHO \
17381PATH_SEPARATOR \
17382SED \
17383GREP \
17384EGREP \
17385FGREP \
17386LD \
17387NM \
17388LN_S \
17389lt_SP2NL \
17390lt_NL2SP \
17391reload_flag \
17392OBJDUMP \
17393deplibs_check_method \
17394file_magic_cmd \
17395file_magic_glob \
17396want_nocaseglob \
17397DLLTOOL \
17398sharedlib_from_linklib_cmd \
17399AR \
17400AR_FLAGS \
17401archiver_list_spec \
17402STRIP \
17403RANLIB \
17404CC \
17405CFLAGS \
17406compiler \
17407lt_cv_sys_global_symbol_pipe \
17408lt_cv_sys_global_symbol_to_cdecl \
17409lt_cv_sys_global_symbol_to_import \
17410lt_cv_sys_global_symbol_to_c_name_address \
17411lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17412lt_cv_nm_interface \
17413nm_file_list_spec \
17414lt_cv_truncate_bin \
17415lt_prog_compiler_no_builtin_flag \
17416lt_prog_compiler_pic \
17417lt_prog_compiler_wl \
17418lt_prog_compiler_static \
17419lt_cv_prog_compiler_c_o \
17420need_locks \
17421MANIFEST_TOOL \
17422DSYMUTIL \
17423NMEDIT \
17424LIPO \
17425OTOOL \
17426OTOOL64 \
17427shrext_cmds \
17428export_dynamic_flag_spec \
17429whole_archive_flag_spec \
17430compiler_needs_object \
17431with_gnu_ld \
17432allow_undefined_flag \
17433no_undefined_flag \
17434hardcode_libdir_flag_spec \
17435hardcode_libdir_separator \
17436exclude_expsyms \
17437include_expsyms \
17438file_list_spec \
17439variables_saved_for_relink \
17440libname_spec \
17441library_names_spec \
17442soname_spec \
17443install_override_mode \
17444finish_eval \
17445old_striplib \
17446striplib; do
17447    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17448    *[\\\\\\\`\\"\\\$]*)
17449      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17450      ;;
17451    *)
17452      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17453      ;;
17454    esac
17455done
17456
17457# Double-quote double-evaled strings.
17458for var in reload_cmds \
17459old_postinstall_cmds \
17460old_postuninstall_cmds \
17461old_archive_cmds \
17462extract_expsyms_cmds \
17463old_archive_from_new_cmds \
17464old_archive_from_expsyms_cmds \
17465archive_cmds \
17466archive_expsym_cmds \
17467module_cmds \
17468module_expsym_cmds \
17469export_symbols_cmds \
17470prelink_cmds \
17471postlink_cmds \
17472postinstall_cmds \
17473postuninstall_cmds \
17474finish_cmds \
17475sys_lib_search_path_spec \
17476configure_time_dlsearch_path \
17477configure_time_lt_sys_library_path; do
17478    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17479    *[\\\\\\\`\\"\\\$]*)
17480      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17481      ;;
17482    *)
17483      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17484      ;;
17485    esac
17486done
17487
17488ac_aux_dir='$ac_aux_dir'
17489
17490# See if we are running on zsh, and set the options that allow our
17491# commands through without removal of \ escapes INIT.
17492if test -n "\${ZSH_VERSION+set}"; then
17493   setopt NO_GLOB_SUBST
17494fi
17495
17496
17497    PACKAGE='$PACKAGE'
17498    VERSION='$VERSION'
17499    RM='$RM'
17500    ofile='$ofile'
17501
17502
17503
17504# Capture the value of obsolete ALL_LINGUAS because we need it to compute
17505    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17506    # from automake < 1.5.
17507    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17508    # Capture the value of LINGUAS because we need it to compute CATALOGS.
17509    LINGUAS="${LINGUAS-%UNSET%}"
17510
17511
17512_ACEOF
17513
17514cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17515
17516# Handling of arguments.
17517for ac_config_target in $ac_config_targets
17518do
17519  case $ac_config_target in
17520    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17521    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17522    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17523    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17524    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17525    "libmatemixer/Makefile") CONFIG_FILES="$CONFIG_FILES libmatemixer/Makefile" ;;
17526    "backends/Makefile") CONFIG_FILES="$CONFIG_FILES backends/Makefile" ;;
17527    "backends/null/Makefile") CONFIG_FILES="$CONFIG_FILES backends/null/Makefile" ;;
17528    "backends/pulse/Makefile") CONFIG_FILES="$CONFIG_FILES backends/pulse/Makefile" ;;
17529    "backends/alsa/Makefile") CONFIG_FILES="$CONFIG_FILES backends/alsa/Makefile" ;;
17530    "backends/oss/Makefile") CONFIG_FILES="$CONFIG_FILES backends/oss/Makefile" ;;
17531    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
17532    "data/libmatemixer.pc") CONFIG_FILES="$CONFIG_FILES data/libmatemixer.pc" ;;
17533    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17534    "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
17535    "docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
17536    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17537    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17538
17539  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17540  esac
17541done
17542
17543
17544# If the user did not use the arguments to specify the items to instantiate,
17545# then the envvar interface is used.  Set only those that are not.
17546# We use the long form for the default assignment because of an extremely
17547# bizarre bug on SunOS 4.1.3.
17548if $ac_need_defaults; then
17549  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17550  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17551  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17552fi
17553
17554# Have a temporary directory for convenience.  Make it in the build tree
17555# simply because there is no reason against having it here, and in addition,
17556# creating and moving files from /tmp can sometimes cause problems.
17557# Hook for its removal unless debugging.
17558# Note that there is a small window in which the directory will not be cleaned:
17559# after its creation but before its name has been assigned to `$tmp'.
17560$debug ||
17561{
17562  tmp= ac_tmp=
17563  trap 'exit_status=$?
17564  : "${ac_tmp:=$tmp}"
17565  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17566' 0
17567  trap 'as_fn_exit 1' 1 2 13 15
17568}
17569# Create a (secure) tmp directory for tmp files.
17570
17571{
17572  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17573  test -d "$tmp"
17574}  ||
17575{
17576  tmp=./conf$$-$RANDOM
17577  (umask 077 && mkdir "$tmp")
17578} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17579ac_tmp=$tmp
17580
17581# Set up the scripts for CONFIG_FILES section.
17582# No need to generate them if there are no CONFIG_FILES.
17583# This happens for instance with `./config.status config.h'.
17584if test -n "$CONFIG_FILES"; then
17585
17586
17587ac_cr=`echo X | tr X '\015'`
17588# On cygwin, bash can eat \r inside `` if the user requested igncr.
17589# But we know of no other shell where ac_cr would be empty at this
17590# point, so we can use a bashism as a fallback.
17591if test "x$ac_cr" = x; then
17592  eval ac_cr=\$\'\\r\'
17593fi
17594ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17595if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17596  ac_cs_awk_cr='\\r'
17597else
17598  ac_cs_awk_cr=$ac_cr
17599fi
17600
17601echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17602_ACEOF
17603
17604
17605{
17606  echo "cat >conf$$subs.awk <<_ACEOF" &&
17607  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17608  echo "_ACEOF"
17609} >conf$$subs.sh ||
17610  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17611ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17612ac_delim='%!_!# '
17613for ac_last_try in false false false false false :; do
17614  . ./conf$$subs.sh ||
17615    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17616
17617  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17618  if test $ac_delim_n = $ac_delim_num; then
17619    break
17620  elif $ac_last_try; then
17621    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17622  else
17623    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17624  fi
17625done
17626rm -f conf$$subs.sh
17627
17628cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17629cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17630_ACEOF
17631sed -n '
17632h
17633s/^/S["/; s/!.*/"]=/
17634p
17635g
17636s/^[^!]*!//
17637:repl
17638t repl
17639s/'"$ac_delim"'$//
17640t delim
17641:nl
17642h
17643s/\(.\{148\}\)..*/\1/
17644t more1
17645s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17646p
17647n
17648b repl
17649:more1
17650s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17651p
17652g
17653s/.\{148\}//
17654t nl
17655:delim
17656h
17657s/\(.\{148\}\)..*/\1/
17658t more2
17659s/["\\]/\\&/g; s/^/"/; s/$/"/
17660p
17661b
17662:more2
17663s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17664p
17665g
17666s/.\{148\}//
17667t delim
17668' <conf$$subs.awk | sed '
17669/^[^""]/{
17670  N
17671  s/\n//
17672}
17673' >>$CONFIG_STATUS || ac_write_fail=1
17674rm -f conf$$subs.awk
17675cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17676_ACAWK
17677cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17678  for (key in S) S_is_set[key] = 1
17679  FS = ""
17680
17681}
17682{
17683  line = $ 0
17684  nfields = split(line, field, "@")
17685  substed = 0
17686  len = length(field[1])
17687  for (i = 2; i < nfields; i++) {
17688    key = field[i]
17689    keylen = length(key)
17690    if (S_is_set[key]) {
17691      value = S[key]
17692      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17693      len += length(value) + length(field[++i])
17694      substed = 1
17695    } else
17696      len += 1 + keylen
17697  }
17698
17699  print line
17700}
17701
17702_ACAWK
17703_ACEOF
17704cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17705if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17706  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17707else
17708  cat
17709fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17710  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17711_ACEOF
17712
17713# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17714# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17715# trailing colons and then remove the whole line if VPATH becomes empty
17716# (actually we leave an empty line to preserve line numbers).
17717if test "x$srcdir" = x.; then
17718  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
17719h
17720s///
17721s/^/:/
17722s/[	 ]*$/:/
17723s/:\$(srcdir):/:/g
17724s/:\${srcdir}:/:/g
17725s/:@srcdir@:/:/g
17726s/^:*//
17727s/:*$//
17728x
17729s/\(=[	 ]*\).*/\1/
17730G
17731s/\n//
17732s/^[^=]*=[	 ]*$//
17733}'
17734fi
17735
17736cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17737fi # test -n "$CONFIG_FILES"
17738
17739# Set up the scripts for CONFIG_HEADERS section.
17740# No need to generate them if there are no CONFIG_HEADERS.
17741# This happens for instance with `./config.status Makefile'.
17742if test -n "$CONFIG_HEADERS"; then
17743cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17744BEGIN {
17745_ACEOF
17746
17747# Transform confdefs.h into an awk script `defines.awk', embedded as
17748# here-document in config.status, that substitutes the proper values into
17749# config.h.in to produce config.h.
17750
17751# Create a delimiter string that does not exist in confdefs.h, to ease
17752# handling of long lines.
17753ac_delim='%!_!# '
17754for ac_last_try in false false :; do
17755  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17756  if test -z "$ac_tt"; then
17757    break
17758  elif $ac_last_try; then
17759    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17760  else
17761    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17762  fi
17763done
17764
17765# For the awk script, D is an array of macro values keyed by name,
17766# likewise P contains macro parameters if any.  Preserve backslash
17767# newline sequences.
17768
17769ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17770sed -n '
17771s/.\{148\}/&'"$ac_delim"'/g
17772t rset
17773:rset
17774s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
17775t def
17776d
17777:def
17778s/\\$//
17779t bsnl
17780s/["\\]/\\&/g
17781s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17782D["\1"]=" \3"/p
17783s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
17784d
17785:bsnl
17786s/["\\]/\\&/g
17787s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17788D["\1"]=" \3\\\\\\n"\\/p
17789t cont
17790s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17791t cont
17792d
17793:cont
17794n
17795s/.\{148\}/&'"$ac_delim"'/g
17796t clear
17797:clear
17798s/\\$//
17799t bsnlc
17800s/["\\]/\\&/g; s/^/"/; s/$/"/p
17801d
17802:bsnlc
17803s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17804b cont
17805' <confdefs.h | sed '
17806s/'"$ac_delim"'/"\\\
17807"/g' >>$CONFIG_STATUS || ac_write_fail=1
17808
17809cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17810  for (key in D) D_is_set[key] = 1
17811  FS = ""
17812}
17813/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17814  line = \$ 0
17815  split(line, arg, " ")
17816  if (arg[1] == "#") {
17817    defundef = arg[2]
17818    mac1 = arg[3]
17819  } else {
17820    defundef = substr(arg[1], 2)
17821    mac1 = arg[2]
17822  }
17823  split(mac1, mac2, "(") #)
17824  macro = mac2[1]
17825  prefix = substr(line, 1, index(line, defundef) - 1)
17826  if (D_is_set[macro]) {
17827    # Preserve the white space surrounding the "#".
17828    print prefix "define", macro P[macro] D[macro]
17829    next
17830  } else {
17831    # Replace #undef with comments.  This is necessary, for example,
17832    # in the case of _POSIX_SOURCE, which is predefined and required
17833    # on some systems where configure will not decide to define it.
17834    if (defundef == "undef") {
17835      print "/*", prefix defundef, macro, "*/"
17836      next
17837    }
17838  }
17839}
17840{ print }
17841_ACAWK
17842_ACEOF
17843cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17844  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17845fi # test -n "$CONFIG_HEADERS"
17846
17847
17848eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17849shift
17850for ac_tag
17851do
17852  case $ac_tag in
17853  :[FHLC]) ac_mode=$ac_tag; continue;;
17854  esac
17855  case $ac_mode$ac_tag in
17856  :[FHL]*:*);;
17857  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17858  :[FH]-) ac_tag=-:-;;
17859  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17860  esac
17861  ac_save_IFS=$IFS
17862  IFS=:
17863  set x $ac_tag
17864  IFS=$ac_save_IFS
17865  shift
17866  ac_file=$1
17867  shift
17868
17869  case $ac_mode in
17870  :L) ac_source=$1;;
17871  :[FH])
17872    ac_file_inputs=
17873    for ac_f
17874    do
17875      case $ac_f in
17876      -) ac_f="$ac_tmp/stdin";;
17877      *) # Look for the file first in the build tree, then in the source tree
17878	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
17879	 # because $ac_f cannot contain `:'.
17880	 test -f "$ac_f" ||
17881	   case $ac_f in
17882	   [\\/$]*) false;;
17883	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17884	   esac ||
17885	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17886      esac
17887      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17888      as_fn_append ac_file_inputs " '$ac_f'"
17889    done
17890
17891    # Let's still pretend it is `configure' which instantiates (i.e., don't
17892    # use $as_me), people would be surprised to read:
17893    #    /* config.h.  Generated by config.status.  */
17894    configure_input='Generated from '`
17895	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17896	`' by configure.'
17897    if test x"$ac_file" != x-; then
17898      configure_input="$ac_file.  $configure_input"
17899      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17900$as_echo "$as_me: creating $ac_file" >&6;}
17901    fi
17902    # Neutralize special characters interpreted by sed in replacement strings.
17903    case $configure_input in #(
17904    *\&* | *\|* | *\\* )
17905       ac_sed_conf_input=`$as_echo "$configure_input" |
17906       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17907    *) ac_sed_conf_input=$configure_input;;
17908    esac
17909
17910    case $ac_tag in
17911    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17912      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17913    esac
17914    ;;
17915  esac
17916
17917  ac_dir=`$as_dirname -- "$ac_file" ||
17918$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17919	 X"$ac_file" : 'X\(//\)[^/]' \| \
17920	 X"$ac_file" : 'X\(//\)$' \| \
17921	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17922$as_echo X"$ac_file" |
17923    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17924	    s//\1/
17925	    q
17926	  }
17927	  /^X\(\/\/\)[^/].*/{
17928	    s//\1/
17929	    q
17930	  }
17931	  /^X\(\/\/\)$/{
17932	    s//\1/
17933	    q
17934	  }
17935	  /^X\(\/\).*/{
17936	    s//\1/
17937	    q
17938	  }
17939	  s/.*/./; q'`
17940  as_dir="$ac_dir"; as_fn_mkdir_p
17941  ac_builddir=.
17942
17943case "$ac_dir" in
17944.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17945*)
17946  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17947  # A ".." for each directory in $ac_dir_suffix.
17948  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17949  case $ac_top_builddir_sub in
17950  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17951  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17952  esac ;;
17953esac
17954ac_abs_top_builddir=$ac_pwd
17955ac_abs_builddir=$ac_pwd$ac_dir_suffix
17956# for backward compatibility:
17957ac_top_builddir=$ac_top_build_prefix
17958
17959case $srcdir in
17960  .)  # We are building in place.
17961    ac_srcdir=.
17962    ac_top_srcdir=$ac_top_builddir_sub
17963    ac_abs_top_srcdir=$ac_pwd ;;
17964  [\\/]* | ?:[\\/]* )  # Absolute name.
17965    ac_srcdir=$srcdir$ac_dir_suffix;
17966    ac_top_srcdir=$srcdir
17967    ac_abs_top_srcdir=$srcdir ;;
17968  *) # Relative name.
17969    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17970    ac_top_srcdir=$ac_top_build_prefix$srcdir
17971    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17972esac
17973ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17974
17975
17976  case $ac_mode in
17977  :F)
17978  #
17979  # CONFIG_FILE
17980  #
17981
17982  case $INSTALL in
17983  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17984  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17985  esac
17986  ac_MKDIR_P=$MKDIR_P
17987  case $MKDIR_P in
17988  [\\/$]* | ?:[\\/]* ) ;;
17989  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17990  esac
17991_ACEOF
17992
17993cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17994# If the template does not know about datarootdir, expand it.
17995# FIXME: This hack should be removed a few years after 2.60.
17996ac_datarootdir_hack=; ac_datarootdir_seen=
17997ac_sed_dataroot='
17998/datarootdir/ {
17999  p
18000  q
18001}
18002/@datadir@/p
18003/@docdir@/p
18004/@infodir@/p
18005/@localedir@/p
18006/@mandir@/p'
18007case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18008*datarootdir*) ac_datarootdir_seen=yes;;
18009*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18010  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18011$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18012_ACEOF
18013cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18014  ac_datarootdir_hack='
18015  s&@datadir@&$datadir&g
18016  s&@docdir@&$docdir&g
18017  s&@infodir@&$infodir&g
18018  s&@localedir@&$localedir&g
18019  s&@mandir@&$mandir&g
18020  s&\\\${datarootdir}&$datarootdir&g' ;;
18021esac
18022_ACEOF
18023
18024# Neutralize VPATH when `$srcdir' = `.'.
18025# Shell code in configure.ac might set extrasub.
18026# FIXME: do we really want to maintain this feature?
18027cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18028ac_sed_extra="$ac_vpsub
18029$extrasub
18030_ACEOF
18031cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18032:t
18033/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18034s|@configure_input@|$ac_sed_conf_input|;t t
18035s&@top_builddir@&$ac_top_builddir_sub&;t t
18036s&@top_build_prefix@&$ac_top_build_prefix&;t t
18037s&@srcdir@&$ac_srcdir&;t t
18038s&@abs_srcdir@&$ac_abs_srcdir&;t t
18039s&@top_srcdir@&$ac_top_srcdir&;t t
18040s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18041s&@builddir@&$ac_builddir&;t t
18042s&@abs_builddir@&$ac_abs_builddir&;t t
18043s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18044s&@INSTALL@&$ac_INSTALL&;t t
18045s&@MKDIR_P@&$ac_MKDIR_P&;t t
18046$ac_datarootdir_hack
18047"
18048eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18049  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18050
18051test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18052  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18053  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
18054      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18055  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18056which seems to be undefined.  Please make sure it is defined" >&5
18057$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18058which seems to be undefined.  Please make sure it is defined" >&2;}
18059
18060  rm -f "$ac_tmp/stdin"
18061  case $ac_file in
18062  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18063  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18064  esac \
18065  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18066 ;;
18067  :H)
18068  #
18069  # CONFIG_HEADER
18070  #
18071  if test x"$ac_file" != x-; then
18072    {
18073      $as_echo "/* $configure_input  */" \
18074      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18075    } >"$ac_tmp/config.h" \
18076      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18077    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18078      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18079$as_echo "$as_me: $ac_file is unchanged" >&6;}
18080    else
18081      rm -f "$ac_file"
18082      mv "$ac_tmp/config.h" "$ac_file" \
18083	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
18084    fi
18085  else
18086    $as_echo "/* $configure_input  */" \
18087      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18088      || as_fn_error $? "could not create -" "$LINENO" 5
18089  fi
18090# Compute "$ac_file"'s index in $config_headers.
18091_am_arg="$ac_file"
18092_am_stamp_count=1
18093for _am_header in $config_headers :; do
18094  case $_am_header in
18095    $_am_arg | $_am_arg:* )
18096      break ;;
18097    * )
18098      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18099  esac
18100done
18101echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18102$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18103	 X"$_am_arg" : 'X\(//\)[^/]' \| \
18104	 X"$_am_arg" : 'X\(//\)$' \| \
18105	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18106$as_echo X"$_am_arg" |
18107    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18108	    s//\1/
18109	    q
18110	  }
18111	  /^X\(\/\/\)[^/].*/{
18112	    s//\1/
18113	    q
18114	  }
18115	  /^X\(\/\/\)$/{
18116	    s//\1/
18117	    q
18118	  }
18119	  /^X\(\/\).*/{
18120	    s//\1/
18121	    q
18122	  }
18123	  s/.*/./; q'`/stamp-h$_am_stamp_count
18124 ;;
18125
18126  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18127$as_echo "$as_me: executing $ac_file commands" >&6;}
18128 ;;
18129  esac
18130
18131
18132  case $ac_file$ac_mode in
18133    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18134  # Older Autoconf quotes --file arguments for eval, but not when files
18135  # are listed without --file.  Let's play safe and only enable the eval
18136  # if we detect the quoting.
18137  # TODO: see whether this extra hack can be removed once we start
18138  # requiring Autoconf 2.70 or later.
18139  case $CONFIG_FILES in #(
18140  *\'*) :
18141    eval set x "$CONFIG_FILES" ;; #(
18142  *) :
18143    set x $CONFIG_FILES ;; #(
18144  *) :
18145     ;;
18146esac
18147  shift
18148  # Used to flag and report bootstrapping failures.
18149  am_rc=0
18150  for am_mf
18151  do
18152    # Strip MF so we end up with the name of the file.
18153    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
18154    # Check whether this is an Automake generated Makefile which includes
18155    # dependency-tracking related rules and includes.
18156    # Grep'ing the whole file directly is not great: AIX grep has a line
18157    # limit of 2048, but all sed's we know have understand at least 4000.
18158    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18159      || continue
18160    am_dirpart=`$as_dirname -- "$am_mf" ||
18161$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18162	 X"$am_mf" : 'X\(//\)[^/]' \| \
18163	 X"$am_mf" : 'X\(//\)$' \| \
18164	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18165$as_echo X"$am_mf" |
18166    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18167	    s//\1/
18168	    q
18169	  }
18170	  /^X\(\/\/\)[^/].*/{
18171	    s//\1/
18172	    q
18173	  }
18174	  /^X\(\/\/\)$/{
18175	    s//\1/
18176	    q
18177	  }
18178	  /^X\(\/\).*/{
18179	    s//\1/
18180	    q
18181	  }
18182	  s/.*/./; q'`
18183    am_filepart=`$as_basename -- "$am_mf" ||
18184$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
18185	 X"$am_mf" : 'X\(//\)$' \| \
18186	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18187$as_echo X/"$am_mf" |
18188    sed '/^.*\/\([^/][^/]*\)\/*$/{
18189	    s//\1/
18190	    q
18191	  }
18192	  /^X\/\(\/\/\)$/{
18193	    s//\1/
18194	    q
18195	  }
18196	  /^X\/\(\/\).*/{
18197	    s//\1/
18198	    q
18199	  }
18200	  s/.*/./; q'`
18201    { echo "$as_me:$LINENO: cd "$am_dirpart" \
18202      && sed -e '/# am--include-marker/d' "$am_filepart" \
18203        | $MAKE -f - am--depfiles" >&5
18204   (cd "$am_dirpart" \
18205      && sed -e '/# am--include-marker/d' "$am_filepart" \
18206        | $MAKE -f - am--depfiles) >&5 2>&5
18207   ac_status=$?
18208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209   (exit $ac_status); } || am_rc=$?
18210  done
18211  if test $am_rc -ne 0; then
18212    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18213$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18214as_fn_error $? "Something went wrong bootstrapping makefile fragments
18215    for automatic dependency tracking.  If GNU make was not used, consider
18216    re-running the configure script with MAKE=\"gmake\" (or whatever is
18217    necessary).  You can also try re-running configure with the
18218    '--disable-dependency-tracking' option to at least be able to build
18219    the package (albeit without support for automatic dependency tracking).
18220See \`config.log' for more details" "$LINENO" 5; }
18221  fi
18222  { am_dirpart=; unset am_dirpart;}
18223  { am_filepart=; unset am_filepart;}
18224  { am_mf=; unset am_mf;}
18225  { am_rc=; unset am_rc;}
18226  rm -f conftest-deps.mk
18227}
18228 ;;
18229    "libtool":C)
18230
18231    # See if we are running on zsh, and set the options that allow our
18232    # commands through without removal of \ escapes.
18233    if test -n "${ZSH_VERSION+set}"; then
18234      setopt NO_GLOB_SUBST
18235    fi
18236
18237    cfgfile=${ofile}T
18238    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18239    $RM "$cfgfile"
18240
18241    cat <<_LT_EOF >> "$cfgfile"
18242#! $SHELL
18243# Generated automatically by $as_me ($PACKAGE) $VERSION
18244# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18245# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18246
18247# Provide generalized library-building support services.
18248# Written by Gordon Matzigkeit, 1996
18249
18250# Copyright (C) 2014 Free Software Foundation, Inc.
18251# This is free software; see the source for copying conditions.  There is NO
18252# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18253
18254# GNU Libtool is free software; you can redistribute it and/or modify
18255# it under the terms of the GNU General Public License as published by
18256# the Free Software Foundation; either version 2 of of the License, or
18257# (at your option) any later version.
18258#
18259# As a special exception to the GNU General Public License, if you
18260# distribute this file as part of a program or library that is built
18261# using GNU Libtool, you may include this file under the  same
18262# distribution terms that you use for the rest of that program.
18263#
18264# GNU Libtool is distributed in the hope that it will be useful, but
18265# WITHOUT ANY WARRANTY; without even the implied warranty of
18266# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18267# GNU General Public License for more details.
18268#
18269# You should have received a copy of the GNU General Public License
18270# along with this program.  If not, see <http://www.gnu.org/licenses/>.
18271
18272
18273# The names of the tagged configurations supported by this script.
18274available_tags=''
18275
18276# Configured defaults for sys_lib_dlsearch_path munging.
18277: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18278
18279# ### BEGIN LIBTOOL CONFIG
18280
18281# Which release of libtool.m4 was used?
18282macro_version=$macro_version
18283macro_revision=$macro_revision
18284
18285# Whether or not to build shared libraries.
18286build_libtool_libs=$enable_shared
18287
18288# Whether or not to build static libraries.
18289build_old_libs=$enable_static
18290
18291# What type of objects to build.
18292pic_mode=$pic_mode
18293
18294# Whether or not to optimize for fast installation.
18295fast_install=$enable_fast_install
18296
18297# Shared archive member basename,for filename based shared library versioning on AIX.
18298shared_archive_member_spec=$shared_archive_member_spec
18299
18300# Shell to use when invoking shell scripts.
18301SHELL=$lt_SHELL
18302
18303# An echo program that protects backslashes.
18304ECHO=$lt_ECHO
18305
18306# The PATH separator for the build system.
18307PATH_SEPARATOR=$lt_PATH_SEPARATOR
18308
18309# The host system.
18310host_alias=$host_alias
18311host=$host
18312host_os=$host_os
18313
18314# The build system.
18315build_alias=$build_alias
18316build=$build
18317build_os=$build_os
18318
18319# A sed program that does not truncate output.
18320SED=$lt_SED
18321
18322# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18323Xsed="\$SED -e 1s/^X//"
18324
18325# A grep program that handles long lines.
18326GREP=$lt_GREP
18327
18328# An ERE matcher.
18329EGREP=$lt_EGREP
18330
18331# A literal string matcher.
18332FGREP=$lt_FGREP
18333
18334# A BSD- or MS-compatible name lister.
18335NM=$lt_NM
18336
18337# Whether we need soft or hard links.
18338LN_S=$lt_LN_S
18339
18340# What is the maximum length of a command?
18341max_cmd_len=$max_cmd_len
18342
18343# Object file suffix (normally "o").
18344objext=$ac_objext
18345
18346# Executable file suffix (normally "").
18347exeext=$exeext
18348
18349# whether the shell understands "unset".
18350lt_unset=$lt_unset
18351
18352# turn spaces into newlines.
18353SP2NL=$lt_lt_SP2NL
18354
18355# turn newlines into spaces.
18356NL2SP=$lt_lt_NL2SP
18357
18358# convert \$build file names to \$host format.
18359to_host_file_cmd=$lt_cv_to_host_file_cmd
18360
18361# convert \$build files to toolchain format.
18362to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18363
18364# An object symbol dumper.
18365OBJDUMP=$lt_OBJDUMP
18366
18367# Method to check whether dependent libraries are shared objects.
18368deplibs_check_method=$lt_deplibs_check_method
18369
18370# Command to use when deplibs_check_method = "file_magic".
18371file_magic_cmd=$lt_file_magic_cmd
18372
18373# How to find potential files when deplibs_check_method = "file_magic".
18374file_magic_glob=$lt_file_magic_glob
18375
18376# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18377want_nocaseglob=$lt_want_nocaseglob
18378
18379# DLL creation program.
18380DLLTOOL=$lt_DLLTOOL
18381
18382# Command to associate shared and link libraries.
18383sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18384
18385# The archiver.
18386AR=$lt_AR
18387
18388# Flags to create an archive.
18389AR_FLAGS=$lt_AR_FLAGS
18390
18391# How to feed a file listing to the archiver.
18392archiver_list_spec=$lt_archiver_list_spec
18393
18394# A symbol stripping program.
18395STRIP=$lt_STRIP
18396
18397# Commands used to install an old-style archive.
18398RANLIB=$lt_RANLIB
18399old_postinstall_cmds=$lt_old_postinstall_cmds
18400old_postuninstall_cmds=$lt_old_postuninstall_cmds
18401
18402# Whether to use a lock for old archive extraction.
18403lock_old_archive_extraction=$lock_old_archive_extraction
18404
18405# A C compiler.
18406LTCC=$lt_CC
18407
18408# LTCC compiler flags.
18409LTCFLAGS=$lt_CFLAGS
18410
18411# Take the output of nm and produce a listing of raw symbols and C names.
18412global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18413
18414# Transform the output of nm in a proper C declaration.
18415global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18416
18417# Transform the output of nm into a list of symbols to manually relocate.
18418global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18419
18420# Transform the output of nm in a C name address pair.
18421global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18422
18423# Transform the output of nm in a C name address pair when lib prefix is needed.
18424global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18425
18426# The name lister interface.
18427nm_interface=$lt_lt_cv_nm_interface
18428
18429# Specify filename containing input files for \$NM.
18430nm_file_list_spec=$lt_nm_file_list_spec
18431
18432# The root where to search for dependent libraries,and where our libraries should be installed.
18433lt_sysroot=$lt_sysroot
18434
18435# Command to truncate a binary pipe.
18436lt_truncate_bin=$lt_lt_cv_truncate_bin
18437
18438# The name of the directory that contains temporary libtool files.
18439objdir=$objdir
18440
18441# Used to examine libraries when file_magic_cmd begins with "file".
18442MAGIC_CMD=$MAGIC_CMD
18443
18444# Must we lock files when doing compilation?
18445need_locks=$lt_need_locks
18446
18447# Manifest tool.
18448MANIFEST_TOOL=$lt_MANIFEST_TOOL
18449
18450# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18451DSYMUTIL=$lt_DSYMUTIL
18452
18453# Tool to change global to local symbols on Mac OS X.
18454NMEDIT=$lt_NMEDIT
18455
18456# Tool to manipulate fat objects and archives on Mac OS X.
18457LIPO=$lt_LIPO
18458
18459# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18460OTOOL=$lt_OTOOL
18461
18462# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18463OTOOL64=$lt_OTOOL64
18464
18465# Old archive suffix (normally "a").
18466libext=$libext
18467
18468# Shared library suffix (normally ".so").
18469shrext_cmds=$lt_shrext_cmds
18470
18471# The commands to extract the exported symbol list from a shared archive.
18472extract_expsyms_cmds=$lt_extract_expsyms_cmds
18473
18474# Variables whose values should be saved in libtool wrapper scripts and
18475# restored at link time.
18476variables_saved_for_relink=$lt_variables_saved_for_relink
18477
18478# Do we need the "lib" prefix for modules?
18479need_lib_prefix=$need_lib_prefix
18480
18481# Do we need a version for libraries?
18482need_version=$need_version
18483
18484# Library versioning type.
18485version_type=$version_type
18486
18487# Shared library runtime path variable.
18488runpath_var=$runpath_var
18489
18490# Shared library path variable.
18491shlibpath_var=$shlibpath_var
18492
18493# Is shlibpath searched before the hard-coded library search path?
18494shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18495
18496# Format of library name prefix.
18497libname_spec=$lt_libname_spec
18498
18499# List of archive names.  First name is the real one, the rest are links.
18500# The last name is the one that the linker finds with -lNAME
18501library_names_spec=$lt_library_names_spec
18502
18503# The coded name of the library, if different from the real name.
18504soname_spec=$lt_soname_spec
18505
18506# Permission mode override for installation of shared libraries.
18507install_override_mode=$lt_install_override_mode
18508
18509# Command to use after installation of a shared archive.
18510postinstall_cmds=$lt_postinstall_cmds
18511
18512# Command to use after uninstallation of a shared archive.
18513postuninstall_cmds=$lt_postuninstall_cmds
18514
18515# Commands used to finish a libtool library installation in a directory.
18516finish_cmds=$lt_finish_cmds
18517
18518# As "finish_cmds", except a single script fragment to be evaled but
18519# not shown.
18520finish_eval=$lt_finish_eval
18521
18522# Whether we should hardcode library paths into libraries.
18523hardcode_into_libs=$hardcode_into_libs
18524
18525# Compile-time system search path for libraries.
18526sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18527
18528# Detected run-time system search path for libraries.
18529sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
18530
18531# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
18532configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
18533
18534# Whether dlopen is supported.
18535dlopen_support=$enable_dlopen
18536
18537# Whether dlopen of programs is supported.
18538dlopen_self=$enable_dlopen_self
18539
18540# Whether dlopen of statically linked programs is supported.
18541dlopen_self_static=$enable_dlopen_self_static
18542
18543# Commands to strip libraries.
18544old_striplib=$lt_old_striplib
18545striplib=$lt_striplib
18546
18547
18548# The linker used to build libraries.
18549LD=$lt_LD
18550
18551# How to create reloadable object files.
18552reload_flag=$lt_reload_flag
18553reload_cmds=$lt_reload_cmds
18554
18555# Commands used to build an old-style archive.
18556old_archive_cmds=$lt_old_archive_cmds
18557
18558# A language specific compiler.
18559CC=$lt_compiler
18560
18561# Is the compiler the GNU compiler?
18562with_gcc=$GCC
18563
18564# Compiler flag to turn off builtin functions.
18565no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18566
18567# Additional compiler flags for building library objects.
18568pic_flag=$lt_lt_prog_compiler_pic
18569
18570# How to pass a linker flag through the compiler.
18571wl=$lt_lt_prog_compiler_wl
18572
18573# Compiler flag to prevent dynamic linking.
18574link_static_flag=$lt_lt_prog_compiler_static
18575
18576# Does compiler simultaneously support -c and -o options?
18577compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18578
18579# Whether or not to add -lc for building shared libraries.
18580build_libtool_need_lc=$archive_cmds_need_lc
18581
18582# Whether or not to disallow shared libs when runtime libs are static.
18583allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18584
18585# Compiler flag to allow reflexive dlopens.
18586export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18587
18588# Compiler flag to generate shared objects directly from archives.
18589whole_archive_flag_spec=$lt_whole_archive_flag_spec
18590
18591# Whether the compiler copes with passing no objects directly.
18592compiler_needs_object=$lt_compiler_needs_object
18593
18594# Create an old-style archive from a shared archive.
18595old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18596
18597# Create a temporary old-style archive to link instead of a shared archive.
18598old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18599
18600# Commands used to build a shared archive.
18601archive_cmds=$lt_archive_cmds
18602archive_expsym_cmds=$lt_archive_expsym_cmds
18603
18604# Commands used to build a loadable module if different from building
18605# a shared archive.
18606module_cmds=$lt_module_cmds
18607module_expsym_cmds=$lt_module_expsym_cmds
18608
18609# Whether we are building with GNU ld or not.
18610with_gnu_ld=$lt_with_gnu_ld
18611
18612# Flag that allows shared libraries with undefined symbols to be built.
18613allow_undefined_flag=$lt_allow_undefined_flag
18614
18615# Flag that enforces no undefined symbols.
18616no_undefined_flag=$lt_no_undefined_flag
18617
18618# Flag to hardcode \$libdir into a binary during linking.
18619# This must work even if \$libdir does not exist
18620hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18621
18622# Whether we need a single "-rpath" flag with a separated argument.
18623hardcode_libdir_separator=$lt_hardcode_libdir_separator
18624
18625# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18626# DIR into the resulting binary.
18627hardcode_direct=$hardcode_direct
18628
18629# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18630# DIR into the resulting binary and the resulting library dependency is
18631# "absolute",i.e impossible to change by setting \$shlibpath_var if the
18632# library is relocated.
18633hardcode_direct_absolute=$hardcode_direct_absolute
18634
18635# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18636# into the resulting binary.
18637hardcode_minus_L=$hardcode_minus_L
18638
18639# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18640# into the resulting binary.
18641hardcode_shlibpath_var=$hardcode_shlibpath_var
18642
18643# Set to "yes" if building a shared library automatically hardcodes DIR
18644# into the library and all subsequent libraries and executables linked
18645# against it.
18646hardcode_automatic=$hardcode_automatic
18647
18648# Set to yes if linker adds runtime paths of dependent libraries
18649# to runtime path list.
18650inherit_rpath=$inherit_rpath
18651
18652# Whether libtool must link a program against all its dependency libraries.
18653link_all_deplibs=$link_all_deplibs
18654
18655# Set to "yes" if exported symbols are required.
18656always_export_symbols=$always_export_symbols
18657
18658# The commands to list exported symbols.
18659export_symbols_cmds=$lt_export_symbols_cmds
18660
18661# Symbols that should not be listed in the preloaded symbols.
18662exclude_expsyms=$lt_exclude_expsyms
18663
18664# Symbols that must always be exported.
18665include_expsyms=$lt_include_expsyms
18666
18667# Commands necessary for linking programs (against libraries) with templates.
18668prelink_cmds=$lt_prelink_cmds
18669
18670# Commands necessary for finishing linking programs.
18671postlink_cmds=$lt_postlink_cmds
18672
18673# Specify filename containing input files.
18674file_list_spec=$lt_file_list_spec
18675
18676# How to hardcode a shared library path into an executable.
18677hardcode_action=$hardcode_action
18678
18679# ### END LIBTOOL CONFIG
18680
18681_LT_EOF
18682
18683    cat <<'_LT_EOF' >> "$cfgfile"
18684
18685# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
18686
18687# func_munge_path_list VARIABLE PATH
18688# -----------------------------------
18689# VARIABLE is name of variable containing _space_ separated list of
18690# directories to be munged by the contents of PATH, which is string
18691# having a format:
18692# "DIR[:DIR]:"
18693#       string "DIR[ DIR]" will be prepended to VARIABLE
18694# ":DIR[:DIR]"
18695#       string "DIR[ DIR]" will be appended to VARIABLE
18696# "DIRP[:DIRP]::[DIRA:]DIRA"
18697#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
18698#       "DIRA[ DIRA]" will be appended to VARIABLE
18699# "DIR[:DIR]"
18700#       VARIABLE will be replaced by "DIR[ DIR]"
18701func_munge_path_list ()
18702{
18703    case x$2 in
18704    x)
18705        ;;
18706    *:)
18707        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
18708        ;;
18709    x:*)
18710        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
18711        ;;
18712    *::*)
18713        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
18714        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
18715        ;;
18716    *)
18717        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
18718        ;;
18719    esac
18720}
18721
18722
18723# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
18724func_cc_basename ()
18725{
18726    for cc_temp in $*""; do
18727      case $cc_temp in
18728        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18729        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18730        \-*) ;;
18731        *) break;;
18732      esac
18733    done
18734    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18735}
18736
18737
18738# ### END FUNCTIONS SHARED WITH CONFIGURE
18739
18740_LT_EOF
18741
18742  case $host_os in
18743  aix3*)
18744    cat <<\_LT_EOF >> "$cfgfile"
18745# AIX sometimes has problems with the GCC collect2 program.  For some
18746# reason, if we set the COLLECT_NAMES environment variable, the problems
18747# vanish in a puff of smoke.
18748if test set != "${COLLECT_NAMES+set}"; then
18749  COLLECT_NAMES=
18750  export COLLECT_NAMES
18751fi
18752_LT_EOF
18753    ;;
18754  esac
18755
18756
18757ltmain=$ac_aux_dir/ltmain.sh
18758
18759
18760  # We use sed instead of cat because bash on DJGPP gets confused if
18761  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18762  # text mode, it properly converts lines to CR/LF.  This bash problem
18763  # is reportedly fixed, but why not run on old versions too?
18764  sed '$q' "$ltmain" >> "$cfgfile" \
18765     || (rm -f "$cfgfile"; exit 1)
18766
18767   mv -f "$cfgfile" "$ofile" ||
18768    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18769  chmod +x "$ofile"
18770
18771 ;;
18772    "po-directories":C)
18773    for ac_file in $CONFIG_FILES; do
18774      # Support "outfile[:infile[:infile...]]"
18775      case "$ac_file" in
18776        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18777      esac
18778      # PO directories have a Makefile.in generated from Makefile.in.in.
18779      case "$ac_file" in */Makefile.in)
18780        # Adjust a relative srcdir.
18781        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18782        ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
18783        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18784        # In autoconf-2.13 it is called $ac_given_srcdir.
18785        # In autoconf-2.50 it is called $srcdir.
18786        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18787        case "$ac_given_srcdir" in
18788          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18789          /*) top_srcdir="$ac_given_srcdir" ;;
18790          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
18791        esac
18792        # Treat a directory as a PO directory if and only if it has a
18793        # POTFILES.in file. This allows packages to have multiple PO
18794        # directories under different names or in different locations.
18795        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18796          rm -f "$ac_dir/POTFILES"
18797          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18798          gt_tab=`printf '\t'`
18799          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18800          POMAKEFILEDEPS="POTFILES.in"
18801          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18802          # on $ac_dir but don't depend on user-specified configuration
18803          # parameters.
18804          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18805            # The LINGUAS file contains the set of available languages.
18806            if test -n "$OBSOLETE_ALL_LINGUAS"; then
18807              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18808            fi
18809            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18810            # Hide the ALL_LINGUAS assignment from automake < 1.5.
18811            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18812            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18813          else
18814            # The set of available languages was given in configure.in.
18815            # Hide the ALL_LINGUAS assignment from automake < 1.5.
18816            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18817          fi
18818          # Compute POFILES
18819          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18820          # Compute UPDATEPOFILES
18821          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18822          # Compute DUMMYPOFILES
18823          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18824          # Compute GMOFILES
18825          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18826          case "$ac_given_srcdir" in
18827            .) srcdirpre= ;;
18828            *) srcdirpre='$(srcdir)/' ;;
18829          esac
18830          POFILES=
18831          UPDATEPOFILES=
18832          DUMMYPOFILES=
18833          GMOFILES=
18834          for lang in $ALL_LINGUAS; do
18835            POFILES="$POFILES $srcdirpre$lang.po"
18836            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18837            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18838            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18839          done
18840          # CATALOGS depends on both $ac_dir and the user's LINGUAS
18841          # environment variable.
18842          INST_LINGUAS=
18843          if test -n "$ALL_LINGUAS"; then
18844            for presentlang in $ALL_LINGUAS; do
18845              useit=no
18846              if test "%UNSET%" != "$LINGUAS"; then
18847                desiredlanguages="$LINGUAS"
18848              else
18849                desiredlanguages="$ALL_LINGUAS"
18850              fi
18851              for desiredlang in $desiredlanguages; do
18852                # Use the presentlang catalog if desiredlang is
18853                #   a. equal to presentlang, or
18854                #   b. a variant of presentlang (because in this case,
18855                #      presentlang can be used as a fallback for messages
18856                #      which are not translated in the desiredlang catalog).
18857                case "$desiredlang" in
18858                  "$presentlang"*) useit=yes;;
18859                esac
18860              done
18861              if test $useit = yes; then
18862                INST_LINGUAS="$INST_LINGUAS $presentlang"
18863              fi
18864            done
18865          fi
18866          CATALOGS=
18867          if test -n "$INST_LINGUAS"; then
18868            for lang in $INST_LINGUAS; do
18869              CATALOGS="$CATALOGS $lang.gmo"
18870            done
18871          fi
18872          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18873          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
18874          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18875            if test -f "$f"; then
18876              case "$f" in
18877                *.orig | *.bak | *~) ;;
18878                *) cat "$f" >> "$ac_dir/Makefile" ;;
18879              esac
18880            fi
18881          done
18882        fi
18883        ;;
18884      esac
18885    done ;;
18886
18887  esac
18888done # for ac_tag
18889
18890
18891as_fn_exit 0
18892_ACEOF
18893ac_clean_files=$ac_clean_files_save
18894
18895test $ac_write_fail = 0 ||
18896  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18897
18898
18899# configure is writing to config.log, and then calls config.status.
18900# config.status does its own redirection, appending to config.log.
18901# Unfortunately, on DOS this fails, as config.log is still kept open
18902# by configure, so config.status won't be able to write to it; its
18903# output is simply discarded.  So we exec the FD to /dev/null,
18904# effectively closing config.log, so it can be properly (re)opened and
18905# appended to by config.status.  When coming back to configure, we
18906# need to make the FD available again.
18907if test "$no_create" != yes; then
18908  ac_cs_success=:
18909  ac_config_status_args=
18910  test "$silent" = yes &&
18911    ac_config_status_args="$ac_config_status_args --quiet"
18912  exec 5>/dev/null
18913  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18914  exec 5>>config.log
18915  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18916  # would make configure fail if this is the last instruction.
18917  $ac_cs_success || as_fn_exit 1
18918fi
18919if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18920  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18921$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18922fi
18923
18924
18925echo "
18926
18927                    ${PACKAGE} ${VERSION}
18928                    ============
18929
18930
18931        Prefix:                      ${prefix}
18932        Source code location:        ${srcdir}
18933        Compiler:                    ${CC}
18934        Compiler flags:              ${CFLAGS}
18935        Warning flags:               ${WARN_CFLAGS}
18936
18937        Build Null module:           $have_null
18938        Build PulseAudio module:     $have_pulseaudio
18939        Build ALSA module:           $have_alsa (udev: $have_udev)
18940        Build OSS module:            $have_oss
18941"
18942