1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for GStreamer Ugly Plug-ins 1.16.2.
4#
5# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
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: http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
279$0: about your system, including any error possibly output
280$0: before this message. Then install a modern shell, or
281$0: manually run the script under such a shell if you do
282$0: have one."
283  fi
284  exit 1
285fi
286fi
287fi
288SHELL=${CONFIG_SHELL-/bin/sh}
289export SHELL
290# Unset more variables known to interfere with behavior of common tools.
291CLICOLOR_FORCE= GREP_OPTIONS=
292unset CLICOLOR_FORCE GREP_OPTIONS
293
294## --------------------- ##
295## M4sh Shell Functions. ##
296## --------------------- ##
297# as_fn_unset VAR
298# ---------------
299# Portably unset VAR.
300as_fn_unset ()
301{
302  { eval $1=; unset $1;}
303}
304as_unset=as_fn_unset
305
306# as_fn_set_status STATUS
307# -----------------------
308# Set $? to STATUS, without forking.
309as_fn_set_status ()
310{
311  return $1
312} # as_fn_set_status
313
314# as_fn_exit STATUS
315# -----------------
316# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317as_fn_exit ()
318{
319  set +e
320  as_fn_set_status $1
321  exit $1
322} # as_fn_exit
323
324# as_fn_mkdir_p
325# -------------
326# Create "$as_dir" as a directory, including parents if necessary.
327as_fn_mkdir_p ()
328{
329
330  case $as_dir in #(
331  -*) as_dir=./$as_dir;;
332  esac
333  test -d "$as_dir" || eval $as_mkdir_p || {
334    as_dirs=
335    while :; do
336      case $as_dir in #(
337      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338      *) as_qdir=$as_dir;;
339      esac
340      as_dirs="'$as_qdir' $as_dirs"
341      as_dir=`$as_dirname -- "$as_dir" ||
342$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343	 X"$as_dir" : 'X\(//\)[^/]' \| \
344	 X"$as_dir" : 'X\(//\)$' \| \
345	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346$as_echo X"$as_dir" |
347    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\/\)[^/].*/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\/\)$/{
356	    s//\1/
357	    q
358	  }
359	  /^X\(\/\).*/{
360	    s//\1/
361	    q
362	  }
363	  s/.*/./; q'`
364      test -d "$as_dir" && break
365    done
366    test -z "$as_dirs" || eval "mkdir $as_dirs"
367  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370} # as_fn_mkdir_p
371
372# as_fn_executable_p FILE
373# -----------------------
374# Test if FILE is an executable regular file.
375as_fn_executable_p ()
376{
377  test -f "$1" && test -x "$1"
378} # as_fn_executable_p
379# as_fn_append VAR VALUE
380# ----------------------
381# Append the text in VALUE to the end of the definition contained in VAR. Take
382# advantage of any shell optimizations that allow amortized linear growth over
383# repeated appends, instead of the typical quadratic growth present in naive
384# implementations.
385if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386  eval 'as_fn_append ()
387  {
388    eval $1+=\$2
389  }'
390else
391  as_fn_append ()
392  {
393    eval $1=\$$1\$2
394  }
395fi # as_fn_append
396
397# as_fn_arith ARG...
398# ------------------
399# Perform arithmetic evaluation on the ARGs, and store the result in the
400# global $as_val. Take advantage of shells that can avoid forks. The arguments
401# must be portable across $(()) and expr.
402if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403  eval 'as_fn_arith ()
404  {
405    as_val=$(( $* ))
406  }'
407else
408  as_fn_arith ()
409  {
410    as_val=`expr "$@" || test $? -eq 1`
411  }
412fi # as_fn_arith
413
414
415# as_fn_error STATUS ERROR [LINENO LOG_FD]
416# ----------------------------------------
417# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419# script with STATUS, using 1 if that was 0.
420as_fn_error ()
421{
422  as_status=$1; test $as_status -eq 0 && as_status=1
423  if test "$4"; then
424    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426  fi
427  $as_echo "$as_me: error: $2" >&2
428  as_fn_exit $as_status
429} # as_fn_error
430
431if expr a : '\(a\)' >/dev/null 2>&1 &&
432   test "X`expr 00001 : '.*\(...\)'`" = X001; then
433  as_expr=expr
434else
435  as_expr=false
436fi
437
438if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439  as_basename=basename
440else
441  as_basename=false
442fi
443
444if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445  as_dirname=dirname
446else
447  as_dirname=false
448fi
449
450as_me=`$as_basename -- "$0" ||
451$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452	 X"$0" : 'X\(//\)$' \| \
453	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454$as_echo X/"$0" |
455    sed '/^.*\/\([^/][^/]*\)\/*$/{
456	    s//\1/
457	    q
458	  }
459	  /^X\/\(\/\/\)$/{
460	    s//\1/
461	    q
462	  }
463	  /^X\/\(\/\).*/{
464	    s//\1/
465	    q
466	  }
467	  s/.*/./; q'`
468
469# Avoid depending upon Character Ranges.
470as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473as_cr_digits='0123456789'
474as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477  as_lineno_1=$LINENO as_lineno_1a=$LINENO
478  as_lineno_2=$LINENO as_lineno_2a=$LINENO
479  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482  sed -n '
483    p
484    /[$]LINENO/=
485  ' <$as_myself |
486    sed '
487      s/[$]LINENO.*/&-/
488      t lineno
489      b
490      :lineno
491      N
492      :loop
493      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494      t loop
495      s/-\n.*//
496    ' >$as_me.lineno &&
497  chmod +x "$as_me.lineno" ||
498    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501  # already done that, so ensure we don't try to do so again and fall
502  # in an infinite loop.  This has already happened in practice.
503  _as_can_reexec=no; export _as_can_reexec
504  # Don't try to exec as it changes $[0], causing all sort of problems
505  # (the dirname of $[0] is not the place where we might find the
506  # original and so on.  Autoconf is especially sensitive to this).
507  . "./$as_me.lineno"
508  # Exit status is that of the last command.
509  exit
510}
511
512ECHO_C= ECHO_N= ECHO_T=
513case `echo -n x` in #(((((
514-n*)
515  case `echo 'xy\c'` in
516  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
517  xy)  ECHO_C='\c';;
518  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519       ECHO_T='	';;
520  esac;;
521*)
522  ECHO_N='-n';;
523esac
524
525rm -f conf$$ conf$$.exe conf$$.file
526if test -d conf$$.dir; then
527  rm -f conf$$.dir/conf$$.file
528else
529  rm -f conf$$.dir
530  mkdir conf$$.dir 2>/dev/null
531fi
532if (echo >conf$$.file) 2>/dev/null; then
533  if ln -s conf$$.file conf$$ 2>/dev/null; then
534    as_ln_s='ln -s'
535    # ... but there are two gotchas:
536    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538    # In both cases, we have to default to `cp -pR'.
539    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540      as_ln_s='cp -pR'
541  elif ln conf$$.file conf$$ 2>/dev/null; then
542    as_ln_s=ln
543  else
544    as_ln_s='cp -pR'
545  fi
546else
547  as_ln_s='cp -pR'
548fi
549rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550rmdir conf$$.dir 2>/dev/null
551
552if mkdir -p . 2>/dev/null; then
553  as_mkdir_p='mkdir -p "$as_dir"'
554else
555  test -d ./-p && rmdir ./-p
556  as_mkdir_p=false
557fi
558
559as_test_x='test -x'
560as_executable_p=as_fn_executable_p
561
562# Sed expression to map a string onto a valid CPP name.
563as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565# Sed expression to map a string onto a valid variable name.
566as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571test -n "$DJDIR" || exec 7<&0 </dev/null
572exec 6>&1
573
574# Name of the host.
575# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576# so uname gets run too.
577ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579#
580# Initializations.
581#
582ac_default_prefix=/usr/local
583ac_clean_files=
584ac_config_libobj_dir=.
585LIBOBJS=
586cross_compiling=no
587subdirs=
588MFLAGS=
589MAKEFLAGS=
590
591# Identity of this package.
592PACKAGE_NAME='GStreamer Ugly Plug-ins'
593PACKAGE_TARNAME='gst-plugins-ugly'
594PACKAGE_VERSION='1.16.2'
595PACKAGE_STRING='GStreamer Ugly Plug-ins 1.16.2'
596PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
597PACKAGE_URL=''
598
599ac_unique_file="gst/asfdemux/gstasfdemux.c"
600# Factoring default headers for most tests.
601ac_includes_default="\
602#include <stdio.h>
603#ifdef HAVE_SYS_TYPES_H
604# include <sys/types.h>
605#endif
606#ifdef HAVE_SYS_STAT_H
607# include <sys/stat.h>
608#endif
609#ifdef STDC_HEADERS
610# include <stdlib.h>
611# include <stddef.h>
612#else
613# ifdef HAVE_STDLIB_H
614#  include <stdlib.h>
615# endif
616#endif
617#ifdef HAVE_STRING_H
618# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619#  include <memory.h>
620# endif
621# include <string.h>
622#endif
623#ifdef HAVE_STRINGS_H
624# include <strings.h>
625#endif
626#ifdef HAVE_INTTYPES_H
627# include <inttypes.h>
628#endif
629#ifdef HAVE_STDINT_H
630# include <stdint.h>
631#endif
632#ifdef HAVE_UNISTD_H
633# include <unistd.h>
634#endif"
635
636gt_needs=
637ac_subst_vars='am__EXEEXT_FALSE
638am__EXEEXT_TRUE
639LTLIBOBJS
640LIBOBJS
641GST_PLUGIN_LDFLAGS
642GST_ALL_LDFLAGS
643GST_CXXFLAGS
644GST_OPTION_CXXFLAGS
645GST_OPTION_CFLAGS
646EXTRA_CFLAGS
647VISIBILITY_CXXFLAGS
648VISIBILITY_CFLAGS
649DEPRECATED_CFLAGS
650PROFILE_CFLAGS
651USE_X264_FALSE
652USE_X264_TRUE
653X264_LIBS
654X264_CFLAGS
655USE_SIDPLAY_FALSE
656USE_SIDPLAY_TRUE
657SIDPLAY_LIBS
658SIDPLAY_CFLAGS
659USE_MPEG2DEC_FALSE
660USE_MPEG2DEC_TRUE
661MPEG2DEC_LIBS
662MPEG2DEC_CFLAGS
663USE_DVDREAD_FALSE
664USE_DVDREAD_TRUE
665DVDREAD_LIBS
666HAVE_DVDREAD
667USE_CDIO_FALSE
668USE_CDIO_TRUE
669CDIO_LIBS
670CDIO_CFLAGS
671USE_AMRWB_FALSE
672USE_AMRWB_TRUE
673AMRWB_LIBS
674AMRWB_CFLAGS
675USE_AMRNB_FALSE
676USE_AMRNB_TRUE
677AMRNB_LIBS
678AMRNB_CFLAGS
679USE_A52DEC_FALSE
680USE_A52DEC_TRUE
681A52DEC_LIBS
682A52DEC_CFLAGS
683WIN32_LIBS
684USE_PLUGIN_REALMEDIA_FALSE
685USE_PLUGIN_REALMEDIA_TRUE
686USE_PLUGIN_XINGMUX_FALSE
687USE_PLUGIN_XINGMUX_TRUE
688USE_PLUGIN_DVDSUB_FALSE
689USE_PLUGIN_DVDSUB_TRUE
690USE_PLUGIN_DVDLPCMDEC_FALSE
691USE_PLUGIN_DVDLPCMDEC_TRUE
692USE_PLUGIN_ASFDEMUX_FALSE
693USE_PLUGIN_ASFDEMUX_TRUE
694DEFAULT_VISUALIZER
695DEFAULT_VIDEOSRC
696DEFAULT_VIDEOSINK
697DEFAULT_AUDIOSRC
698DEFAULT_AUDIOSINK
699GST_LEVEL_DEFAULT
700ERROR_CXXFLAGS
701WARNING_CXXFLAGS
702ERROR_CFLAGS
703WARNING_CFLAGS
704plugindir
705PLUGINDIR
706GST_LICENSE
707GMODULE_NO_EXPORT_LIBS
708GMODULE_NO_EXPORT_CFLAGS
709GSTPB_PREFIX
710GST_PREFIX
711GLIB_PREFIX
712HAVE_GST_CHECK_FALSE
713HAVE_GST_CHECK_TRUE
714GSTPB_PLUGINS_DIR
715GST_PLUGINS_BASE_DIR
716GST_PLUGINS_BASE_LIBS
717GST_PLUGINS_BASE_CFLAGS
718GST_CHECK_LIBS
719GST_CHECK_CFLAGS
720GST_BASE_LIBS
721GST_BASE_CFLAGS
722GST_PLUGINS_DIR
723GST_TOOLS_DIR
724GST_LIBS
725GST_CFLAGS
726HAVE_ORCC_FALSE
727HAVE_ORCC_TRUE
728HAVE_ORC_FALSE
729HAVE_ORC_TRUE
730ORCC_FLAGS
731ORCC
732ORC_LIBS
733ORC_CFLAGS
734GIO_LDFLAGS
735GIO_LIBS
736GIO_CFLAGS
737GLIB_EXTRA_CFLAGS
738GLIB_MKENUMS
739GLIB_GENMARSHAL
740GLIB_LIBS
741GLIB_CFLAGS
742GLIB_REQ
743LIBM
744ENABLE_PLUGIN_DOCS_FALSE
745ENABLE_PLUGIN_DOCS_TRUE
746pkgpyexecdir
747pyexecdir
748pkgpythondir
749pythondir
750PYTHON_PLATFORM
751PYTHON_EXEC_PREFIX
752PYTHON_PREFIX
753PYTHON_VERSION
754PYTHON
755GTK_DOC_USE_LIBTOOL_FALSE
756GTK_DOC_USE_LIBTOOL_TRUE
757GTK_DOC_BUILD_PDF_FALSE
758GTK_DOC_BUILD_PDF_TRUE
759GTK_DOC_BUILD_HTML_FALSE
760GTK_DOC_BUILD_HTML_TRUE
761ENABLE_GTK_DOC_FALSE
762ENABLE_GTK_DOC_TRUE
763GTKDOC_DEPS_LIBS
764GTKDOC_DEPS_CFLAGS
765HTML_DIR
766GTKDOC_MKPDF
767GTKDOC_REBASE
768GTKDOC_CHECK
769HAVE_VALGRIND_FALSE
770HAVE_VALGRIND_TRUE
771VALGRIND_PATH
772HAVE_CXX
773CXXCPP
774am__fastdepCXX_FALSE
775am__fastdepCXX_TRUE
776CXXDEPMODE
777ac_ct_CXX
778CXX
779HAVE_CPU_CRISV32_FALSE
780HAVE_CPU_CRISV32_TRUE
781HAVE_CPU_CRIS_FALSE
782HAVE_CPU_CRIS_TRUE
783HAVE_CPU_X86_64_FALSE
784HAVE_CPU_X86_64_TRUE
785HAVE_CPU_M68K_FALSE
786HAVE_CPU_M68K_TRUE
787HAVE_CPU_IA64_FALSE
788HAVE_CPU_IA64_TRUE
789HAVE_CPU_S390_FALSE
790HAVE_CPU_S390_TRUE
791HAVE_CPU_MIPS_FALSE
792HAVE_CPU_MIPS_TRUE
793HAVE_CPU_HPPA_FALSE
794HAVE_CPU_HPPA_TRUE
795HAVE_CPU_SPARC_FALSE
796HAVE_CPU_SPARC_TRUE
797HAVE_CPU_ARM_FALSE
798HAVE_CPU_ARM_TRUE
799HAVE_CPU_ARC_FALSE
800HAVE_CPU_ARC_TRUE
801HAVE_CPU_ALPHA_FALSE
802HAVE_CPU_ALPHA_TRUE
803HAVE_CPU_PPC64_FALSE
804HAVE_CPU_PPC64_TRUE
805HAVE_CPU_PPC_FALSE
806HAVE_CPU_PPC_TRUE
807HAVE_CPU_I386_FALSE
808HAVE_CPU_I386_TRUE
809BUILD_EXPERIMENTAL_FALSE
810BUILD_EXPERIMENTAL_TRUE
811USE_EXPERIMENTAL_FALSE
812USE_EXPERIMENTAL_TRUE
813BUILD_EXTERNAL_FALSE
814BUILD_EXTERNAL_TRUE
815USE_EXTERNAL_FALSE
816USE_EXTERNAL_TRUE
817GST_PLUGINS_NONPORTED
818GST_PLUGINS_SELECTED
819GST_PLUGINS_ALL
820GST_PACKAGE_ORIGIN
821GST_PACKAGE_NAME
822BUILD_EXAMPLES_FALSE
823BUILD_EXAMPLES_TRUE
824GST_GCOV_ENABLED_FALSE
825GST_GCOV_ENABLED_TRUE
826CCASFLAGS
827FFLAGS
828CXXFLAGS
829GCOV
830GCOV_LIBS
831GCOV_CFLAGS
832VALGRIND_LIBS
833VALGRIND_CFLAGS
834PKG_CONFIG
835LOCALEDIR
836GETTEXT_PACKAGE
837POSUB
838LTLIBINTL
839LIBINTL
840INTLLIBS
841LTLIBICONV
842LIBICONV
843INTL_MACOSX_LIBS
844XGETTEXT_EXTRA_OPTIONS
845MSGMERGE
846XGETTEXT_015
847XGETTEXT
848GMSGFMT_015
849MSGFMT_015
850GMSGFMT
851MSGFMT
852GETTEXT_MACRO_VERSION
853USE_NLS
854ACLOCAL_AMFLAGS
855CPP
856LT_SYS_LIBRARY_PATH
857OTOOL64
858OTOOL
859LIPO
860NMEDIT
861DSYMUTIL
862MANIFEST_TOOL
863RANLIB
864ac_ct_AR
865AR
866LN_S
867NM
868ac_ct_DUMPBIN
869DUMPBIN
870LD
871FGREP
872EGREP
873GREP
874SED
875am__fastdepCC_FALSE
876am__fastdepCC_TRUE
877CCDEPMODE
878am__nodep
879AMDEPBACKSLASH
880AMDEP_FALSE
881AMDEP_TRUE
882am__include
883DEPDIR
884OBJEXT
885EXEEXT
886ac_ct_CC
887CPPFLAGS
888LDFLAGS
889CFLAGS
890CC
891LIBTOOL
892OBJDUMP
893DLLTOOL
894AS
895GST_LT_LDFLAGS
896GST_LIBVERSION
897GST_AGE
898GST_REVISION
899GST_CURRENT
900GST_API_VERSION
901MAINT
902MAINTAINER_MODE_FALSE
903MAINTAINER_MODE_TRUE
904PACKAGE_VERSION_RELEASE
905PACKAGE_VERSION_NANO
906PACKAGE_VERSION_MICRO
907PACKAGE_VERSION_MINOR
908PACKAGE_VERSION_MAJOR
909AM_BACKSLASH
910AM_DEFAULT_VERBOSITY
911AM_DEFAULT_V
912AM_V
913am__untar
914am__tar
915AMTAR
916am__leading_dot
917SET_MAKE
918AWK
919mkdir_p
920MKDIR_P
921INSTALL_STRIP_PROGRAM
922STRIP
923install_sh
924MAKEINFO
925AUTOHEADER
926AUTOMAKE
927AUTOCONF
928ACLOCAL
929VERSION
930PACKAGE
931CYGPATH_W
932am__isrc
933INSTALL_DATA
934INSTALL_SCRIPT
935INSTALL_PROGRAM
936target_os
937target_vendor
938target_cpu
939target
940host_os
941host_vendor
942host_cpu
943host
944build_os
945build_vendor
946build_cpu
947build
948target_alias
949host_alias
950build_alias
951LIBS
952ECHO_T
953ECHO_N
954ECHO_C
955DEFS
956mandir
957localedir
958libdir
959psdir
960pdfdir
961dvidir
962htmldir
963infodir
964docdir
965oldincludedir
966includedir
967runstatedir
968localstatedir
969sharedstatedir
970sysconfdir
971datadir
972datarootdir
973libexecdir
974sbindir
975bindir
976program_transform_name
977prefix
978exec_prefix
979PACKAGE_URL
980PACKAGE_BUGREPORT
981PACKAGE_STRING
982PACKAGE_VERSION
983PACKAGE_TARNAME
984PACKAGE_NAME
985PATH_SEPARATOR
986SHELL
987am__quote'
988ac_subst_files=''
989ac_user_opts='
990enable_option_checking
991enable_silent_rules
992enable_maintainer_mode
993enable_static
994enable_shared
995with_pic
996enable_fast_install
997with_aix_soname
998enable_dependency_tracking
999with_gnu_ld
1000with_sysroot
1001enable_libtool_lock
1002with_autoconf
1003with_autoheader
1004with_automake
1005with_aclocal
1006enable_nls
1007enable_rpath
1008with_libiconv_prefix
1009with_libintl_prefix
1010enable_fatal_warnings
1011enable_extra_check
1012enable_debug
1013enable_profiling
1014enable_valgrind
1015enable_gcov
1016enable_examples
1017with_pkg_config_path
1018with_package_name
1019with_package_origin
1020with_plugins
1021enable_external
1022enable_experimental
1023enable_largefile
1024with_html_dir
1025enable_gtk_doc
1026enable_gtk_doc_html
1027enable_gtk_doc_pdf
1028enable_gobject_cast_checks
1029enable_glib_asserts
1030enable_orc
1031enable_Bsymbolic
1032with_default_audiosink
1033with_default_audiosrc
1034with_default_videosink
1035with_default_videosrc
1036with_default_visualizer
1037enable_asfdemux
1038enable_dvdlpcmdec
1039enable_dvdsub
1040enable_xingmux
1041enable_realmedia
1042enable_a52dec
1043with_a52dec_prefix
1044enable_amrnb
1045enable_amrwb
1046enable_cdio
1047enable_dvdread
1048enable_mpeg2dec
1049enable_sidplay
1050enable_x264
1051with_x264_libraries
1052'
1053      ac_precious_vars='build_alias
1054host_alias
1055target_alias
1056CC
1057CFLAGS
1058LDFLAGS
1059LIBS
1060CPPFLAGS
1061LT_SYS_LIBRARY_PATH
1062CPP
1063PKG_CONFIG
1064VALGRIND_CFLAGS
1065VALGRIND_LIBS
1066CXX
1067CXXFLAGS
1068CCC
1069CXXCPP
1070GTKDOC_DEPS_CFLAGS
1071GTKDOC_DEPS_LIBS
1072PYTHON
1073GLIB_CFLAGS
1074GLIB_LIBS
1075GIO_CFLAGS
1076GIO_LIBS
1077ORC_CFLAGS
1078ORC_LIBS
1079GST_CFLAGS
1080GST_LIBS
1081GST_BASE_CFLAGS
1082GST_BASE_LIBS
1083GST_CHECK_CFLAGS
1084GST_CHECK_LIBS
1085GST_PLUGINS_BASE_CFLAGS
1086GST_PLUGINS_BASE_LIBS
1087GMODULE_NO_EXPORT_CFLAGS
1088GMODULE_NO_EXPORT_LIBS
1089AMRNB_CFLAGS
1090AMRNB_LIBS
1091AMRWB_CFLAGS
1092AMRWB_LIBS
1093CDIO_CFLAGS
1094CDIO_LIBS
1095MPEG2DEC_CFLAGS
1096MPEG2DEC_LIBS
1097X264_CFLAGS
1098X264_LIBS'
1099
1100
1101# Initialize some variables set by options.
1102ac_init_help=
1103ac_init_version=false
1104ac_unrecognized_opts=
1105ac_unrecognized_sep=
1106# The variables have the same names as the options, with
1107# dashes changed to underlines.
1108cache_file=/dev/null
1109exec_prefix=NONE
1110no_create=
1111no_recursion=
1112prefix=NONE
1113program_prefix=NONE
1114program_suffix=NONE
1115program_transform_name=s,x,x,
1116silent=
1117site=
1118srcdir=
1119verbose=
1120x_includes=NONE
1121x_libraries=NONE
1122
1123# Installation directory options.
1124# These are left unexpanded so users can "make install exec_prefix=/foo"
1125# and all the variables that are supposed to be based on exec_prefix
1126# by default will actually change.
1127# Use braces instead of parens because sh, perl, etc. also accept them.
1128# (The list follows the same order as the GNU Coding Standards.)
1129bindir='${exec_prefix}/bin'
1130sbindir='${exec_prefix}/sbin'
1131libexecdir='${exec_prefix}/libexec'
1132datarootdir='${prefix}/share'
1133datadir='${datarootdir}'
1134sysconfdir='${prefix}/etc'
1135sharedstatedir='${prefix}/com'
1136localstatedir='${prefix}/var'
1137runstatedir='${localstatedir}/run'
1138includedir='${prefix}/include'
1139oldincludedir='/usr/include'
1140docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1141infodir='${datarootdir}/info'
1142htmldir='${docdir}'
1143dvidir='${docdir}'
1144pdfdir='${docdir}'
1145psdir='${docdir}'
1146libdir='${exec_prefix}/lib'
1147localedir='${datarootdir}/locale'
1148mandir='${datarootdir}/man'
1149
1150ac_prev=
1151ac_dashdash=
1152for ac_option
1153do
1154  # If the previous option needs an argument, assign it.
1155  if test -n "$ac_prev"; then
1156    eval $ac_prev=\$ac_option
1157    ac_prev=
1158    continue
1159  fi
1160
1161  case $ac_option in
1162  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1163  *=)   ac_optarg= ;;
1164  *)    ac_optarg=yes ;;
1165  esac
1166
1167  # Accept the important Cygnus configure options, so we can diagnose typos.
1168
1169  case $ac_dashdash$ac_option in
1170  --)
1171    ac_dashdash=yes ;;
1172
1173  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1174    ac_prev=bindir ;;
1175  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1176    bindir=$ac_optarg ;;
1177
1178  -build | --build | --buil | --bui | --bu)
1179    ac_prev=build_alias ;;
1180  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1181    build_alias=$ac_optarg ;;
1182
1183  -cache-file | --cache-file | --cache-fil | --cache-fi \
1184  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1185    ac_prev=cache_file ;;
1186  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1187  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1188    cache_file=$ac_optarg ;;
1189
1190  --config-cache | -C)
1191    cache_file=config.cache ;;
1192
1193  -datadir | --datadir | --datadi | --datad)
1194    ac_prev=datadir ;;
1195  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1196    datadir=$ac_optarg ;;
1197
1198  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1199  | --dataroo | --dataro | --datar)
1200    ac_prev=datarootdir ;;
1201  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1202  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1203    datarootdir=$ac_optarg ;;
1204
1205  -disable-* | --disable-*)
1206    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1207    # Reject names that are not valid shell variable names.
1208    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1209      as_fn_error $? "invalid feature name: $ac_useropt"
1210    ac_useropt_orig=$ac_useropt
1211    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1212    case $ac_user_opts in
1213      *"
1214"enable_$ac_useropt"
1215"*) ;;
1216      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1217	 ac_unrecognized_sep=', ';;
1218    esac
1219    eval enable_$ac_useropt=no ;;
1220
1221  -docdir | --docdir | --docdi | --doc | --do)
1222    ac_prev=docdir ;;
1223  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1224    docdir=$ac_optarg ;;
1225
1226  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1227    ac_prev=dvidir ;;
1228  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1229    dvidir=$ac_optarg ;;
1230
1231  -enable-* | --enable-*)
1232    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1233    # Reject names that are not valid shell variable names.
1234    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1235      as_fn_error $? "invalid feature name: $ac_useropt"
1236    ac_useropt_orig=$ac_useropt
1237    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1238    case $ac_user_opts in
1239      *"
1240"enable_$ac_useropt"
1241"*) ;;
1242      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1243	 ac_unrecognized_sep=', ';;
1244    esac
1245    eval enable_$ac_useropt=\$ac_optarg ;;
1246
1247  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1248  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1249  | --exec | --exe | --ex)
1250    ac_prev=exec_prefix ;;
1251  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1252  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1253  | --exec=* | --exe=* | --ex=*)
1254    exec_prefix=$ac_optarg ;;
1255
1256  -gas | --gas | --ga | --g)
1257    # Obsolete; use --with-gas.
1258    with_gas=yes ;;
1259
1260  -help | --help | --hel | --he | -h)
1261    ac_init_help=long ;;
1262  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1263    ac_init_help=recursive ;;
1264  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1265    ac_init_help=short ;;
1266
1267  -host | --host | --hos | --ho)
1268    ac_prev=host_alias ;;
1269  -host=* | --host=* | --hos=* | --ho=*)
1270    host_alias=$ac_optarg ;;
1271
1272  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1273    ac_prev=htmldir ;;
1274  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1275  | --ht=*)
1276    htmldir=$ac_optarg ;;
1277
1278  -includedir | --includedir | --includedi | --included | --include \
1279  | --includ | --inclu | --incl | --inc)
1280    ac_prev=includedir ;;
1281  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1282  | --includ=* | --inclu=* | --incl=* | --inc=*)
1283    includedir=$ac_optarg ;;
1284
1285  -infodir | --infodir | --infodi | --infod | --info | --inf)
1286    ac_prev=infodir ;;
1287  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1288    infodir=$ac_optarg ;;
1289
1290  -libdir | --libdir | --libdi | --libd)
1291    ac_prev=libdir ;;
1292  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1293    libdir=$ac_optarg ;;
1294
1295  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1296  | --libexe | --libex | --libe)
1297    ac_prev=libexecdir ;;
1298  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1299  | --libexe=* | --libex=* | --libe=*)
1300    libexecdir=$ac_optarg ;;
1301
1302  -localedir | --localedir | --localedi | --localed | --locale)
1303    ac_prev=localedir ;;
1304  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1305    localedir=$ac_optarg ;;
1306
1307  -localstatedir | --localstatedir | --localstatedi | --localstated \
1308  | --localstate | --localstat | --localsta | --localst | --locals)
1309    ac_prev=localstatedir ;;
1310  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1311  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1312    localstatedir=$ac_optarg ;;
1313
1314  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1315    ac_prev=mandir ;;
1316  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1317    mandir=$ac_optarg ;;
1318
1319  -nfp | --nfp | --nf)
1320    # Obsolete; use --without-fp.
1321    with_fp=no ;;
1322
1323  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1324  | --no-cr | --no-c | -n)
1325    no_create=yes ;;
1326
1327  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1328  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1329    no_recursion=yes ;;
1330
1331  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1332  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1333  | --oldin | --oldi | --old | --ol | --o)
1334    ac_prev=oldincludedir ;;
1335  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1336  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1337  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1338    oldincludedir=$ac_optarg ;;
1339
1340  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1341    ac_prev=prefix ;;
1342  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1343    prefix=$ac_optarg ;;
1344
1345  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1346  | --program-pre | --program-pr | --program-p)
1347    ac_prev=program_prefix ;;
1348  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1349  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1350    program_prefix=$ac_optarg ;;
1351
1352  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1353  | --program-suf | --program-su | --program-s)
1354    ac_prev=program_suffix ;;
1355  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1356  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1357    program_suffix=$ac_optarg ;;
1358
1359  -program-transform-name | --program-transform-name \
1360  | --program-transform-nam | --program-transform-na \
1361  | --program-transform-n | --program-transform- \
1362  | --program-transform | --program-transfor \
1363  | --program-transfo | --program-transf \
1364  | --program-trans | --program-tran \
1365  | --progr-tra | --program-tr | --program-t)
1366    ac_prev=program_transform_name ;;
1367  -program-transform-name=* | --program-transform-name=* \
1368  | --program-transform-nam=* | --program-transform-na=* \
1369  | --program-transform-n=* | --program-transform-=* \
1370  | --program-transform=* | --program-transfor=* \
1371  | --program-transfo=* | --program-transf=* \
1372  | --program-trans=* | --program-tran=* \
1373  | --progr-tra=* | --program-tr=* | --program-t=*)
1374    program_transform_name=$ac_optarg ;;
1375
1376  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1377    ac_prev=pdfdir ;;
1378  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1379    pdfdir=$ac_optarg ;;
1380
1381  -psdir | --psdir | --psdi | --psd | --ps)
1382    ac_prev=psdir ;;
1383  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1384    psdir=$ac_optarg ;;
1385
1386  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1387  | -silent | --silent | --silen | --sile | --sil)
1388    silent=yes ;;
1389
1390  -runstatedir | --runstatedir | --runstatedi | --runstated \
1391  | --runstate | --runstat | --runsta | --runst | --runs \
1392  | --run | --ru | --r)
1393    ac_prev=runstatedir ;;
1394  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1395  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1396  | --run=* | --ru=* | --r=*)
1397    runstatedir=$ac_optarg ;;
1398
1399  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1400    ac_prev=sbindir ;;
1401  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1402  | --sbi=* | --sb=*)
1403    sbindir=$ac_optarg ;;
1404
1405  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1406  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1407  | --sharedst | --shareds | --shared | --share | --shar \
1408  | --sha | --sh)
1409    ac_prev=sharedstatedir ;;
1410  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1411  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1412  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1413  | --sha=* | --sh=*)
1414    sharedstatedir=$ac_optarg ;;
1415
1416  -site | --site | --sit)
1417    ac_prev=site ;;
1418  -site=* | --site=* | --sit=*)
1419    site=$ac_optarg ;;
1420
1421  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1422    ac_prev=srcdir ;;
1423  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1424    srcdir=$ac_optarg ;;
1425
1426  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1427  | --syscon | --sysco | --sysc | --sys | --sy)
1428    ac_prev=sysconfdir ;;
1429  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1430  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1431    sysconfdir=$ac_optarg ;;
1432
1433  -target | --target | --targe | --targ | --tar | --ta | --t)
1434    ac_prev=target_alias ;;
1435  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1436    target_alias=$ac_optarg ;;
1437
1438  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1439    verbose=yes ;;
1440
1441  -version | --version | --versio | --versi | --vers | -V)
1442    ac_init_version=: ;;
1443
1444  -with-* | --with-*)
1445    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1446    # Reject names that are not valid shell variable names.
1447    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1448      as_fn_error $? "invalid package name: $ac_useropt"
1449    ac_useropt_orig=$ac_useropt
1450    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1451    case $ac_user_opts in
1452      *"
1453"with_$ac_useropt"
1454"*) ;;
1455      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1456	 ac_unrecognized_sep=', ';;
1457    esac
1458    eval with_$ac_useropt=\$ac_optarg ;;
1459
1460  -without-* | --without-*)
1461    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1462    # Reject names that are not valid shell variable names.
1463    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1464      as_fn_error $? "invalid package name: $ac_useropt"
1465    ac_useropt_orig=$ac_useropt
1466    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1467    case $ac_user_opts in
1468      *"
1469"with_$ac_useropt"
1470"*) ;;
1471      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1472	 ac_unrecognized_sep=', ';;
1473    esac
1474    eval with_$ac_useropt=no ;;
1475
1476  --x)
1477    # Obsolete; use --with-x.
1478    with_x=yes ;;
1479
1480  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1481  | --x-incl | --x-inc | --x-in | --x-i)
1482    ac_prev=x_includes ;;
1483  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1484  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1485    x_includes=$ac_optarg ;;
1486
1487  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1488  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1489    ac_prev=x_libraries ;;
1490  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1491  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1492    x_libraries=$ac_optarg ;;
1493
1494  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1495Try \`$0 --help' for more information"
1496    ;;
1497
1498  *=*)
1499    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1500    # Reject names that are not valid shell variable names.
1501    case $ac_envvar in #(
1502      '' | [0-9]* | *[!_$as_cr_alnum]* )
1503      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1504    esac
1505    eval $ac_envvar=\$ac_optarg
1506    export $ac_envvar ;;
1507
1508  *)
1509    # FIXME: should be removed in autoconf 3.0.
1510    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1511    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1512      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1513    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1514    ;;
1515
1516  esac
1517done
1518
1519if test -n "$ac_prev"; then
1520  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1521  as_fn_error $? "missing argument to $ac_option"
1522fi
1523
1524if test -n "$ac_unrecognized_opts"; then
1525  case $enable_option_checking in
1526    no) ;;
1527    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1528    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1529  esac
1530fi
1531
1532# Check all directory arguments for consistency.
1533for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1534		datadir sysconfdir sharedstatedir localstatedir includedir \
1535		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1536		libdir localedir mandir runstatedir
1537do
1538  eval ac_val=\$$ac_var
1539  # Remove trailing slashes.
1540  case $ac_val in
1541    */ )
1542      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1543      eval $ac_var=\$ac_val;;
1544  esac
1545  # Be sure to have absolute directory names.
1546  case $ac_val in
1547    [\\/$]* | ?:[\\/]* )  continue;;
1548    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1549  esac
1550  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1551done
1552
1553# There might be people who depend on the old broken behavior: `$host'
1554# used to hold the argument of --host etc.
1555# FIXME: To remove some day.
1556build=$build_alias
1557host=$host_alias
1558target=$target_alias
1559
1560# FIXME: To remove some day.
1561if test "x$host_alias" != x; then
1562  if test "x$build_alias" = x; then
1563    cross_compiling=maybe
1564  elif test "x$build_alias" != "x$host_alias"; then
1565    cross_compiling=yes
1566  fi
1567fi
1568
1569ac_tool_prefix=
1570test -n "$host_alias" && ac_tool_prefix=$host_alias-
1571
1572test "$silent" = yes && exec 6>/dev/null
1573
1574
1575ac_pwd=`pwd` && test -n "$ac_pwd" &&
1576ac_ls_di=`ls -di .` &&
1577ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1578  as_fn_error $? "working directory cannot be determined"
1579test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1580  as_fn_error $? "pwd does not report name of working directory"
1581
1582
1583# Find the source files, if location was not specified.
1584if test -z "$srcdir"; then
1585  ac_srcdir_defaulted=yes
1586  # Try the directory containing this script, then the parent directory.
1587  ac_confdir=`$as_dirname -- "$as_myself" ||
1588$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1589	 X"$as_myself" : 'X\(//\)[^/]' \| \
1590	 X"$as_myself" : 'X\(//\)$' \| \
1591	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1592$as_echo X"$as_myself" |
1593    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1594	    s//\1/
1595	    q
1596	  }
1597	  /^X\(\/\/\)[^/].*/{
1598	    s//\1/
1599	    q
1600	  }
1601	  /^X\(\/\/\)$/{
1602	    s//\1/
1603	    q
1604	  }
1605	  /^X\(\/\).*/{
1606	    s//\1/
1607	    q
1608	  }
1609	  s/.*/./; q'`
1610  srcdir=$ac_confdir
1611  if test ! -r "$srcdir/$ac_unique_file"; then
1612    srcdir=..
1613  fi
1614else
1615  ac_srcdir_defaulted=no
1616fi
1617if test ! -r "$srcdir/$ac_unique_file"; then
1618  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1619  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1620fi
1621ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1622ac_abs_confdir=`(
1623	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1624	pwd)`
1625# When building in place, set srcdir=.
1626if test "$ac_abs_confdir" = "$ac_pwd"; then
1627  srcdir=.
1628fi
1629# Remove unnecessary trailing slashes from srcdir.
1630# Double slashes in file names in object file debugging info
1631# mess up M-x gdb in Emacs.
1632case $srcdir in
1633*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1634esac
1635for ac_var in $ac_precious_vars; do
1636  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1637  eval ac_env_${ac_var}_value=\$${ac_var}
1638  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1639  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1640done
1641
1642#
1643# Report the --help message.
1644#
1645if test "$ac_init_help" = "long"; then
1646  # Omit some internal or obsolete options to make the list less imposing.
1647  # This message is too long to be a string in the A/UX 3.1 sh.
1648  cat <<_ACEOF
1649\`configure' configures GStreamer Ugly Plug-ins 1.16.2 to adapt to many kinds of systems.
1650
1651Usage: $0 [OPTION]... [VAR=VALUE]...
1652
1653To assign environment variables (e.g., CC, CFLAGS...), specify them as
1654VAR=VALUE.  See below for descriptions of some of the useful variables.
1655
1656Defaults for the options are specified in brackets.
1657
1658Configuration:
1659  -h, --help              display this help and exit
1660      --help=short        display options specific to this package
1661      --help=recursive    display the short help of all the included packages
1662  -V, --version           display version information and exit
1663  -q, --quiet, --silent   do not print \`checking ...' messages
1664      --cache-file=FILE   cache test results in FILE [disabled]
1665  -C, --config-cache      alias for \`--cache-file=config.cache'
1666  -n, --no-create         do not create output files
1667      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1668
1669Installation directories:
1670  --prefix=PREFIX         install architecture-independent files in PREFIX
1671                          [$ac_default_prefix]
1672  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1673                          [PREFIX]
1674
1675By default, \`make install' will install all the files in
1676\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1677an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1678for instance \`--prefix=\$HOME'.
1679
1680For better control, use the options below.
1681
1682Fine tuning of the installation directories:
1683  --bindir=DIR            user executables [EPREFIX/bin]
1684  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1685  --libexecdir=DIR        program executables [EPREFIX/libexec]
1686  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1687  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1688  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1689  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1690  --libdir=DIR            object code libraries [EPREFIX/lib]
1691  --includedir=DIR        C header files [PREFIX/include]
1692  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1693  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1694  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1695  --infodir=DIR           info documentation [DATAROOTDIR/info]
1696  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1697  --mandir=DIR            man documentation [DATAROOTDIR/man]
1698  --docdir=DIR            documentation root
1699                          [DATAROOTDIR/doc/gst-plugins-ugly]
1700  --htmldir=DIR           html documentation [DOCDIR]
1701  --dvidir=DIR            dvi documentation [DOCDIR]
1702  --pdfdir=DIR            pdf documentation [DOCDIR]
1703  --psdir=DIR             ps documentation [DOCDIR]
1704_ACEOF
1705
1706  cat <<\_ACEOF
1707
1708Program names:
1709  --program-prefix=PREFIX            prepend PREFIX to installed program names
1710  --program-suffix=SUFFIX            append SUFFIX to installed program names
1711  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1712
1713System types:
1714  --build=BUILD     configure for building on BUILD [guessed]
1715  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1716  --target=TARGET   configure for building compilers for TARGET [HOST]
1717_ACEOF
1718fi
1719
1720if test -n "$ac_init_help"; then
1721  case $ac_init_help in
1722     short | recursive ) echo "Configuration of GStreamer Ugly Plug-ins 1.16.2:";;
1723   esac
1724  cat <<\_ACEOF
1725
1726Optional Features:
1727  --disable-option-checking  ignore unrecognized --enable/--with options
1728  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1729  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1730  --enable-silent-rules   less verbose build output (undo: "make V=1")
1731  --disable-silent-rules  verbose build output (undo: "make V=0")
1732  --disable-maintainer-mode
1733                          disable make rules and dependencies not useful (and
1734                          sometimes confusing) to the casual installer
1735  --enable-static[=PKGS]  build static libraries [default=no]
1736  --enable-shared[=PKGS]  build shared libraries [default=yes]
1737  --enable-fast-install[=PKGS]
1738                          optimize for fast installation [default=yes]
1739  --enable-dependency-tracking
1740                          do not reject slow dependency extractors
1741  --disable-dependency-tracking
1742                          speeds up one-time build
1743  --disable-libtool-lock  avoid locking (might break parallel builds)
1744  --disable-nls           do not use Native Language Support
1745  --disable-rpath         do not hardcode runtime library paths
1746  --disable-fatal-warnings
1747                          Don't turn compiler warnings into fatal errors
1748  --enable-extra-checks   Enable extra runtime checks
1749  --disable-debug         disable addition of -g debugging info
1750  --enable-profiling      adds -pg to compiler commandline, for profiling
1751  --disable-valgrind      disable run-time valgrind detection
1752  --enable-gcov           compile with coverage profiling instrumentation (gcc
1753                          only)
1754  --disable-examples      disable building examples
1755  --disable-external           disable building of plug-ins with external deps
1756  --enable-experimental        enable building of experimental plug-ins
1757  --disable-largefile     omit support for large files
1758  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1759  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1760  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1761  --enable-gobject-cast-checks=[no/auto/yes]
1762                          Enable GObject cast checks
1763  --enable-glib-asserts=[no/yes]
1764                          Enable GLib assertion
1765  --enable-orc            use Orc if installed
1766  --disable-Bsymbolic     avoid linking with -Bsymbolic
1767  --disable-asfdemux      disable dependency-less asfdemux plugin
1768  --disable-dvdlpcmdec    disable dependency-less dvdlpcmdec plugin
1769  --disable-dvdsub        disable dependency-less dvdsub plugin
1770  --disable-xingmux       disable dependency-less xingmux plugin
1771  --disable-realmedia     disable dependency-less realmedia plugin
1772  --disable-a52dec             disable a52dec: a52dec
1773  --disable-amrnb              disable amrnb library: amrnb
1774  --disable-amrwb              disable amrwb library: amrwbdec
1775  --disable-cdio               disable cdio library: cdio
1776  --disable-dvdread            disable dvdread library: dvdreadsrc
1777  --disable-mpeg2dec           disable mpeg2dec: mpeg2dec
1778  --disable-sidplay            disable libsidplay: sid
1779  --disable-x264               disable x264 plug-in: x264
1780
1781Optional Packages:
1782  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1783  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1784  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1785                          both]
1786  --with-aix-soname=aix|svr4|both
1787                          shared library versioning (aka "SONAME") variant to
1788                          provide on AIX, [default=aix].
1789  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1790  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1791                          compiler's sysroot if not specified).
1792  --with-autoconf         use a different autoconf for regeneration of
1793                          Makefiles
1794  --with-autoheader       use a different autoheader for regeneration of
1795                          Makefiles
1796  --with-automake         use a different automake for regeneration of
1797                          Makefiles
1798  --with-aclocal          use a different aclocal for regeneration of
1799                          Makefiles
1800  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1801  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1802  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1803  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1804  --without-libintl-prefix     don't search for libintl in includedir and libdir
1805  --with-pkg-config-path  colon-separated list of pkg-config(1) dirs
1806  --with-package-name     specify package name to use in plugins
1807  --with-package-origin   specify package origin URL to use in plugins
1808  --with-plugins          comma-separated list of dependencyless plug-ins to
1809                          compile
1810  --with-html-dir=PATH    path to installed docs
1811  --with-default-audiosink
1812                          specify default audio sink
1813  --with-default-audiosrc specify default audio source
1814  --with-default-videosink
1815                          specify default video sink
1816  --with-default-videosrc specify default video source
1817  --with-default-visualizer
1818                          specify default visualizer
1819  --with-a52dec-prefix=PFX
1820                          prefix where a52dec is installed (optional)
1821  --with-x264-libraries=PATHS
1822                          Colon separated list of additional x264 library
1823                          paths, e.g. for 10-bit version
1824
1825Some influential environment variables:
1826  CC          C compiler command
1827  CFLAGS      C compiler flags
1828  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1829              nonstandard directory <lib dir>
1830  LIBS        libraries to pass to the linker, e.g. -l<library>
1831  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1832              you have headers in a nonstandard directory <include dir>
1833  LT_SYS_LIBRARY_PATH
1834              User-defined run-time library search path.
1835  CPP         C preprocessor
1836  PKG_CONFIG  path to pkg-config utility
1837  VALGRIND_CFLAGS
1838              C compiler flags for VALGRIND, overriding pkg-config
1839  VALGRIND_LIBS
1840              linker flags for VALGRIND, overriding pkg-config
1841  CXX         C++ compiler command
1842  CXXFLAGS    C++ compiler flags
1843  CXXCPP      C++ preprocessor
1844  GTKDOC_DEPS_CFLAGS
1845              C compiler flags for GTKDOC_DEPS, overriding pkg-config
1846  GTKDOC_DEPS_LIBS
1847              linker flags for GTKDOC_DEPS, overriding pkg-config
1848  PYTHON      the Python interpreter
1849  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1850  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1851  GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1852  GIO_LIBS    linker flags for GIO, overriding pkg-config
1853  ORC_CFLAGS  C compiler flags for ORC, overriding pkg-config
1854  ORC_LIBS    linker flags for ORC, overriding pkg-config
1855  GST_CFLAGS  C compiler flags for GST, overriding pkg-config
1856  GST_LIBS    linker flags for GST, overriding pkg-config
1857  GST_BASE_CFLAGS
1858              C compiler flags for GST_BASE, overriding pkg-config
1859  GST_BASE_LIBS
1860              linker flags for GST_BASE, overriding pkg-config
1861  GST_CHECK_CFLAGS
1862              C compiler flags for GST_CHECK, overriding pkg-config
1863  GST_CHECK_LIBS
1864              linker flags for GST_CHECK, overriding pkg-config
1865  GST_PLUGINS_BASE_CFLAGS
1866              C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
1867  GST_PLUGINS_BASE_LIBS
1868              linker flags for GST_PLUGINS_BASE, overriding pkg-config
1869  GMODULE_NO_EXPORT_CFLAGS
1870              C compiler flags for GMODULE_NO_EXPORT, overriding pkg-config
1871  GMODULE_NO_EXPORT_LIBS
1872              linker flags for GMODULE_NO_EXPORT, overriding pkg-config
1873  AMRNB_CFLAGS
1874              C compiler flags for AMRNB, overriding pkg-config
1875  AMRNB_LIBS  linker flags for AMRNB, overriding pkg-config
1876  AMRWB_CFLAGS
1877              C compiler flags for AMRWB, overriding pkg-config
1878  AMRWB_LIBS  linker flags for AMRWB, overriding pkg-config
1879  CDIO_CFLAGS C compiler flags for CDIO, overriding pkg-config
1880  CDIO_LIBS   linker flags for CDIO, overriding pkg-config
1881  MPEG2DEC_CFLAGS
1882              C compiler flags for MPEG2DEC, overriding pkg-config
1883  MPEG2DEC_LIBS
1884              linker flags for MPEG2DEC, overriding pkg-config
1885  X264_CFLAGS C compiler flags for X264, overriding pkg-config
1886  X264_LIBS   linker flags for X264, overriding pkg-config
1887
1888Use these variables to override the choices made by `configure' or to help
1889it to find libraries and programs with nonstandard names/locations.
1890
1891Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
1892_ACEOF
1893ac_status=$?
1894fi
1895
1896if test "$ac_init_help" = "recursive"; then
1897  # If there are subdirs, report their specific --help.
1898  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1899    test -d "$ac_dir" ||
1900      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1901      continue
1902    ac_builddir=.
1903
1904case "$ac_dir" in
1905.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1906*)
1907  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1908  # A ".." for each directory in $ac_dir_suffix.
1909  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1910  case $ac_top_builddir_sub in
1911  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1912  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1913  esac ;;
1914esac
1915ac_abs_top_builddir=$ac_pwd
1916ac_abs_builddir=$ac_pwd$ac_dir_suffix
1917# for backward compatibility:
1918ac_top_builddir=$ac_top_build_prefix
1919
1920case $srcdir in
1921  .)  # We are building in place.
1922    ac_srcdir=.
1923    ac_top_srcdir=$ac_top_builddir_sub
1924    ac_abs_top_srcdir=$ac_pwd ;;
1925  [\\/]* | ?:[\\/]* )  # Absolute name.
1926    ac_srcdir=$srcdir$ac_dir_suffix;
1927    ac_top_srcdir=$srcdir
1928    ac_abs_top_srcdir=$srcdir ;;
1929  *) # Relative name.
1930    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1931    ac_top_srcdir=$ac_top_build_prefix$srcdir
1932    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1933esac
1934ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1935
1936    cd "$ac_dir" || { ac_status=$?; continue; }
1937    # Check for guested configure.
1938    if test -f "$ac_srcdir/configure.gnu"; then
1939      echo &&
1940      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1941    elif test -f "$ac_srcdir/configure"; then
1942      echo &&
1943      $SHELL "$ac_srcdir/configure" --help=recursive
1944    else
1945      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1946    fi || ac_status=$?
1947    cd "$ac_pwd" || { ac_status=$?; break; }
1948  done
1949fi
1950
1951test -n "$ac_init_help" && exit $ac_status
1952if $ac_init_version; then
1953  cat <<\_ACEOF
1954GStreamer Ugly Plug-ins configure 1.16.2
1955generated by GNU Autoconf 2.69
1956
1957Copyright (C) 2012 Free Software Foundation, Inc.
1958This configure script is free software; the Free Software Foundation
1959gives unlimited permission to copy, distribute and modify it.
1960_ACEOF
1961  exit
1962fi
1963
1964## ------------------------ ##
1965## Autoconf initialization. ##
1966## ------------------------ ##
1967
1968# ac_fn_c_try_compile LINENO
1969# --------------------------
1970# Try to compile conftest.$ac_ext, and return whether this succeeded.
1971ac_fn_c_try_compile ()
1972{
1973  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974  rm -f conftest.$ac_objext
1975  if { { ac_try="$ac_compile"
1976case "(($ac_try" in
1977  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978  *) ac_try_echo=$ac_try;;
1979esac
1980eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1981$as_echo "$ac_try_echo"; } >&5
1982  (eval "$ac_compile") 2>conftest.err
1983  ac_status=$?
1984  if test -s conftest.err; then
1985    grep -v '^ *+' conftest.err >conftest.er1
1986    cat conftest.er1 >&5
1987    mv -f conftest.er1 conftest.err
1988  fi
1989  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1990  test $ac_status = 0; } && {
1991	 test -z "$ac_c_werror_flag" ||
1992	 test ! -s conftest.err
1993       } && test -s conftest.$ac_objext; then :
1994  ac_retval=0
1995else
1996  $as_echo "$as_me: failed program was:" >&5
1997sed 's/^/| /' conftest.$ac_ext >&5
1998
1999	ac_retval=1
2000fi
2001  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2002  as_fn_set_status $ac_retval
2003
2004} # ac_fn_c_try_compile
2005
2006# ac_fn_c_try_link LINENO
2007# -----------------------
2008# Try to link conftest.$ac_ext, and return whether this succeeded.
2009ac_fn_c_try_link ()
2010{
2011  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012  rm -f conftest.$ac_objext conftest$ac_exeext
2013  if { { ac_try="$ac_link"
2014case "(($ac_try" in
2015  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2016  *) ac_try_echo=$ac_try;;
2017esac
2018eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2019$as_echo "$ac_try_echo"; } >&5
2020  (eval "$ac_link") 2>conftest.err
2021  ac_status=$?
2022  if test -s conftest.err; then
2023    grep -v '^ *+' conftest.err >conftest.er1
2024    cat conftest.er1 >&5
2025    mv -f conftest.er1 conftest.err
2026  fi
2027  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2028  test $ac_status = 0; } && {
2029	 test -z "$ac_c_werror_flag" ||
2030	 test ! -s conftest.err
2031       } && test -s conftest$ac_exeext && {
2032	 test "$cross_compiling" = yes ||
2033	 test -x conftest$ac_exeext
2034       }; then :
2035  ac_retval=0
2036else
2037  $as_echo "$as_me: failed program was:" >&5
2038sed 's/^/| /' conftest.$ac_ext >&5
2039
2040	ac_retval=1
2041fi
2042  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2043  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2044  # interfere with the next link command; also delete a directory that is
2045  # left behind by Apple's compiler.  We do this before executing the actions.
2046  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2047  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2048  as_fn_set_status $ac_retval
2049
2050} # ac_fn_c_try_link
2051
2052# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2053# -------------------------------------------------------
2054# Tests whether HEADER exists and can be compiled using the include files in
2055# INCLUDES, setting the cache variable VAR accordingly.
2056ac_fn_c_check_header_compile ()
2057{
2058  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060$as_echo_n "checking for $2... " >&6; }
2061if eval \${$3+:} false; then :
2062  $as_echo_n "(cached) " >&6
2063else
2064  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065/* end confdefs.h.  */
2066$4
2067#include <$2>
2068_ACEOF
2069if ac_fn_c_try_compile "$LINENO"; then :
2070  eval "$3=yes"
2071else
2072  eval "$3=no"
2073fi
2074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2075fi
2076eval ac_res=\$$3
2077	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2078$as_echo "$ac_res" >&6; }
2079  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2080
2081} # ac_fn_c_check_header_compile
2082
2083# ac_fn_c_try_cpp LINENO
2084# ----------------------
2085# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2086ac_fn_c_try_cpp ()
2087{
2088  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089  if { { ac_try="$ac_cpp conftest.$ac_ext"
2090case "(($ac_try" in
2091  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2092  *) ac_try_echo=$ac_try;;
2093esac
2094eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2095$as_echo "$ac_try_echo"; } >&5
2096  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2097  ac_status=$?
2098  if test -s conftest.err; then
2099    grep -v '^ *+' conftest.err >conftest.er1
2100    cat conftest.er1 >&5
2101    mv -f conftest.er1 conftest.err
2102  fi
2103  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2104  test $ac_status = 0; } > conftest.i && {
2105	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2106	 test ! -s conftest.err
2107       }; then :
2108  ac_retval=0
2109else
2110  $as_echo "$as_me: failed program was:" >&5
2111sed 's/^/| /' conftest.$ac_ext >&5
2112
2113    ac_retval=1
2114fi
2115  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2116  as_fn_set_status $ac_retval
2117
2118} # ac_fn_c_try_cpp
2119
2120# ac_fn_c_try_run LINENO
2121# ----------------------
2122# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2123# that executables *can* be run.
2124ac_fn_c_try_run ()
2125{
2126  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2127  if { { ac_try="$ac_link"
2128case "(($ac_try" in
2129  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2130  *) ac_try_echo=$ac_try;;
2131esac
2132eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2133$as_echo "$ac_try_echo"; } >&5
2134  (eval "$ac_link") 2>&5
2135  ac_status=$?
2136  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2137  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2138  { { case "(($ac_try" in
2139  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2140  *) ac_try_echo=$ac_try;;
2141esac
2142eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2143$as_echo "$ac_try_echo"; } >&5
2144  (eval "$ac_try") 2>&5
2145  ac_status=$?
2146  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2147  test $ac_status = 0; }; }; then :
2148  ac_retval=0
2149else
2150  $as_echo "$as_me: program exited with status $ac_status" >&5
2151       $as_echo "$as_me: failed program was:" >&5
2152sed 's/^/| /' conftest.$ac_ext >&5
2153
2154       ac_retval=$ac_status
2155fi
2156  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2157  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2158  as_fn_set_status $ac_retval
2159
2160} # ac_fn_c_try_run
2161
2162# ac_fn_c_check_func LINENO FUNC VAR
2163# ----------------------------------
2164# Tests whether FUNC exists, setting the cache variable VAR accordingly
2165ac_fn_c_check_func ()
2166{
2167  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2168  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2169$as_echo_n "checking for $2... " >&6; }
2170if eval \${$3+:} false; then :
2171  $as_echo_n "(cached) " >&6
2172else
2173  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2174/* end confdefs.h.  */
2175/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2176   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2177#define $2 innocuous_$2
2178
2179/* System header to define __stub macros and hopefully few prototypes,
2180    which can conflict with char $2 (); below.
2181    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2182    <limits.h> exists even on freestanding compilers.  */
2183
2184#ifdef __STDC__
2185# include <limits.h>
2186#else
2187# include <assert.h>
2188#endif
2189
2190#undef $2
2191
2192/* Override any GCC internal prototype to avoid an error.
2193   Use char because int might match the return type of a GCC
2194   builtin and then its argument prototype would still apply.  */
2195#ifdef __cplusplus
2196extern "C"
2197#endif
2198char $2 ();
2199/* The GNU C library defines this for functions which it implements
2200    to always fail with ENOSYS.  Some functions are actually named
2201    something starting with __ and the normal name is an alias.  */
2202#if defined __stub_$2 || defined __stub___$2
2203choke me
2204#endif
2205
2206int
2207main ()
2208{
2209return $2 ();
2210  ;
2211  return 0;
2212}
2213_ACEOF
2214if ac_fn_c_try_link "$LINENO"; then :
2215  eval "$3=yes"
2216else
2217  eval "$3=no"
2218fi
2219rm -f core conftest.err conftest.$ac_objext \
2220    conftest$ac_exeext conftest.$ac_ext
2221fi
2222eval ac_res=\$$3
2223	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2224$as_echo "$ac_res" >&6; }
2225  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2226
2227} # ac_fn_c_check_func
2228
2229# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2230# ---------------------------------------------
2231# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2232# accordingly.
2233ac_fn_c_check_decl ()
2234{
2235  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2236  as_decl_name=`echo $2|sed 's/ *(.*//'`
2237  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2238  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2239$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2240if eval \${$3+:} false; then :
2241  $as_echo_n "(cached) " >&6
2242else
2243  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2244/* end confdefs.h.  */
2245$4
2246int
2247main ()
2248{
2249#ifndef $as_decl_name
2250#ifdef __cplusplus
2251  (void) $as_decl_use;
2252#else
2253  (void) $as_decl_name;
2254#endif
2255#endif
2256
2257  ;
2258  return 0;
2259}
2260_ACEOF
2261if ac_fn_c_try_compile "$LINENO"; then :
2262  eval "$3=yes"
2263else
2264  eval "$3=no"
2265fi
2266rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2267fi
2268eval ac_res=\$$3
2269	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2270$as_echo "$ac_res" >&6; }
2271  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2272
2273} # ac_fn_c_check_decl
2274
2275# ac_fn_cxx_try_compile LINENO
2276# ----------------------------
2277# Try to compile conftest.$ac_ext, and return whether this succeeded.
2278ac_fn_cxx_try_compile ()
2279{
2280  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2281  rm -f conftest.$ac_objext
2282  if { { ac_try="$ac_compile"
2283case "(($ac_try" in
2284  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2285  *) ac_try_echo=$ac_try;;
2286esac
2287eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2288$as_echo "$ac_try_echo"; } >&5
2289  (eval "$ac_compile") 2>conftest.err
2290  ac_status=$?
2291  if test -s conftest.err; then
2292    grep -v '^ *+' conftest.err >conftest.er1
2293    cat conftest.er1 >&5
2294    mv -f conftest.er1 conftest.err
2295  fi
2296  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2297  test $ac_status = 0; } && {
2298	 test -z "$ac_cxx_werror_flag" ||
2299	 test ! -s conftest.err
2300       } && test -s conftest.$ac_objext; then :
2301  ac_retval=0
2302else
2303  $as_echo "$as_me: failed program was:" >&5
2304sed 's/^/| /' conftest.$ac_ext >&5
2305
2306	ac_retval=1
2307fi
2308  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2309  as_fn_set_status $ac_retval
2310
2311} # ac_fn_cxx_try_compile
2312
2313# ac_fn_cxx_try_cpp LINENO
2314# ------------------------
2315# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2316ac_fn_cxx_try_cpp ()
2317{
2318  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2319  if { { ac_try="$ac_cpp conftest.$ac_ext"
2320case "(($ac_try" in
2321  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2322  *) ac_try_echo=$ac_try;;
2323esac
2324eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2325$as_echo "$ac_try_echo"; } >&5
2326  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2327  ac_status=$?
2328  if test -s conftest.err; then
2329    grep -v '^ *+' conftest.err >conftest.er1
2330    cat conftest.er1 >&5
2331    mv -f conftest.er1 conftest.err
2332  fi
2333  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2334  test $ac_status = 0; } > conftest.i && {
2335	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2336	 test ! -s conftest.err
2337       }; then :
2338  ac_retval=0
2339else
2340  $as_echo "$as_me: failed program was:" >&5
2341sed 's/^/| /' conftest.$ac_ext >&5
2342
2343    ac_retval=1
2344fi
2345  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2346  as_fn_set_status $ac_retval
2347
2348} # ac_fn_cxx_try_cpp
2349
2350# ac_fn_cxx_try_link LINENO
2351# -------------------------
2352# Try to link conftest.$ac_ext, and return whether this succeeded.
2353ac_fn_cxx_try_link ()
2354{
2355  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2356  rm -f conftest.$ac_objext conftest$ac_exeext
2357  if { { ac_try="$ac_link"
2358case "(($ac_try" in
2359  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2360  *) ac_try_echo=$ac_try;;
2361esac
2362eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2363$as_echo "$ac_try_echo"; } >&5
2364  (eval "$ac_link") 2>conftest.err
2365  ac_status=$?
2366  if test -s conftest.err; then
2367    grep -v '^ *+' conftest.err >conftest.er1
2368    cat conftest.er1 >&5
2369    mv -f conftest.er1 conftest.err
2370  fi
2371  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2372  test $ac_status = 0; } && {
2373	 test -z "$ac_cxx_werror_flag" ||
2374	 test ! -s conftest.err
2375       } && test -s conftest$ac_exeext && {
2376	 test "$cross_compiling" = yes ||
2377	 test -x conftest$ac_exeext
2378       }; then :
2379  ac_retval=0
2380else
2381  $as_echo "$as_me: failed program was:" >&5
2382sed 's/^/| /' conftest.$ac_ext >&5
2383
2384	ac_retval=1
2385fi
2386  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2387  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2388  # interfere with the next link command; also delete a directory that is
2389  # left behind by Apple's compiler.  We do this before executing the actions.
2390  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2391  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2392  as_fn_set_status $ac_retval
2393
2394} # ac_fn_cxx_try_link
2395
2396# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2397# -------------------------------------------
2398# Tests whether TYPE exists after having included INCLUDES, setting cache
2399# variable VAR accordingly.
2400ac_fn_c_check_type ()
2401{
2402  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2403  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2404$as_echo_n "checking for $2... " >&6; }
2405if eval \${$3+:} false; then :
2406  $as_echo_n "(cached) " >&6
2407else
2408  eval "$3=no"
2409  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2410/* end confdefs.h.  */
2411$4
2412int
2413main ()
2414{
2415if (sizeof ($2))
2416	 return 0;
2417  ;
2418  return 0;
2419}
2420_ACEOF
2421if ac_fn_c_try_compile "$LINENO"; then :
2422  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2423/* end confdefs.h.  */
2424$4
2425int
2426main ()
2427{
2428if (sizeof (($2)))
2429	    return 0;
2430  ;
2431  return 0;
2432}
2433_ACEOF
2434if ac_fn_c_try_compile "$LINENO"; then :
2435
2436else
2437  eval "$3=yes"
2438fi
2439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2440fi
2441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2442fi
2443eval ac_res=\$$3
2444	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2445$as_echo "$ac_res" >&6; }
2446  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2447
2448} # ac_fn_c_check_type
2449
2450# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2451# --------------------------------------------
2452# Tries to find the compile-time value of EXPR in a program that includes
2453# INCLUDES, setting VAR accordingly. Returns whether the value could be
2454# computed
2455ac_fn_c_compute_int ()
2456{
2457  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2458  if test "$cross_compiling" = yes; then
2459    # Depending upon the size, compute the lo and hi bounds.
2460cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2461/* end confdefs.h.  */
2462$4
2463int
2464main ()
2465{
2466static int test_array [1 - 2 * !(($2) >= 0)];
2467test_array [0] = 0;
2468return test_array [0];
2469
2470  ;
2471  return 0;
2472}
2473_ACEOF
2474if ac_fn_c_try_compile "$LINENO"; then :
2475  ac_lo=0 ac_mid=0
2476  while :; do
2477    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478/* end confdefs.h.  */
2479$4
2480int
2481main ()
2482{
2483static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2484test_array [0] = 0;
2485return test_array [0];
2486
2487  ;
2488  return 0;
2489}
2490_ACEOF
2491if ac_fn_c_try_compile "$LINENO"; then :
2492  ac_hi=$ac_mid; break
2493else
2494  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2495			if test $ac_lo -le $ac_mid; then
2496			  ac_lo= ac_hi=
2497			  break
2498			fi
2499			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2500fi
2501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2502  done
2503else
2504  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2505/* end confdefs.h.  */
2506$4
2507int
2508main ()
2509{
2510static int test_array [1 - 2 * !(($2) < 0)];
2511test_array [0] = 0;
2512return test_array [0];
2513
2514  ;
2515  return 0;
2516}
2517_ACEOF
2518if ac_fn_c_try_compile "$LINENO"; then :
2519  ac_hi=-1 ac_mid=-1
2520  while :; do
2521    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2522/* end confdefs.h.  */
2523$4
2524int
2525main ()
2526{
2527static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2528test_array [0] = 0;
2529return test_array [0];
2530
2531  ;
2532  return 0;
2533}
2534_ACEOF
2535if ac_fn_c_try_compile "$LINENO"; then :
2536  ac_lo=$ac_mid; break
2537else
2538  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2539			if test $ac_mid -le $ac_hi; then
2540			  ac_lo= ac_hi=
2541			  break
2542			fi
2543			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2544fi
2545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2546  done
2547else
2548  ac_lo= ac_hi=
2549fi
2550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2551fi
2552rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2553# Binary search between lo and hi bounds.
2554while test "x$ac_lo" != "x$ac_hi"; do
2555  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2556  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2557/* end confdefs.h.  */
2558$4
2559int
2560main ()
2561{
2562static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2563test_array [0] = 0;
2564return test_array [0];
2565
2566  ;
2567  return 0;
2568}
2569_ACEOF
2570if ac_fn_c_try_compile "$LINENO"; then :
2571  ac_hi=$ac_mid
2572else
2573  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2574fi
2575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2576done
2577case $ac_lo in #((
2578?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2579'') ac_retval=1 ;;
2580esac
2581  else
2582    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2583/* end confdefs.h.  */
2584$4
2585static long int longval () { return $2; }
2586static unsigned long int ulongval () { return $2; }
2587#include <stdio.h>
2588#include <stdlib.h>
2589int
2590main ()
2591{
2592
2593  FILE *f = fopen ("conftest.val", "w");
2594  if (! f)
2595    return 1;
2596  if (($2) < 0)
2597    {
2598      long int i = longval ();
2599      if (i != ($2))
2600	return 1;
2601      fprintf (f, "%ld", i);
2602    }
2603  else
2604    {
2605      unsigned long int i = ulongval ();
2606      if (i != ($2))
2607	return 1;
2608      fprintf (f, "%lu", i);
2609    }
2610  /* Do not output a trailing newline, as this causes \r\n confusion
2611     on some platforms.  */
2612  return ferror (f) || fclose (f) != 0;
2613
2614  ;
2615  return 0;
2616}
2617_ACEOF
2618if ac_fn_c_try_run "$LINENO"; then :
2619  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2620else
2621  ac_retval=1
2622fi
2623rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2624  conftest.$ac_objext conftest.beam conftest.$ac_ext
2625rm -f conftest.val
2626
2627  fi
2628  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2629  as_fn_set_status $ac_retval
2630
2631} # ac_fn_c_compute_int
2632
2633# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2634# -------------------------------------------------------
2635# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2636# the include files in INCLUDES and setting the cache variable VAR
2637# accordingly.
2638ac_fn_c_check_header_mongrel ()
2639{
2640  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2641  if eval \${$3+:} false; then :
2642  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2643$as_echo_n "checking for $2... " >&6; }
2644if eval \${$3+:} false; then :
2645  $as_echo_n "(cached) " >&6
2646fi
2647eval ac_res=\$$3
2648	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2649$as_echo "$ac_res" >&6; }
2650else
2651  # Is the header compilable?
2652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2653$as_echo_n "checking $2 usability... " >&6; }
2654cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2655/* end confdefs.h.  */
2656$4
2657#include <$2>
2658_ACEOF
2659if ac_fn_c_try_compile "$LINENO"; then :
2660  ac_header_compiler=yes
2661else
2662  ac_header_compiler=no
2663fi
2664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2666$as_echo "$ac_header_compiler" >&6; }
2667
2668# Is the header present?
2669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2670$as_echo_n "checking $2 presence... " >&6; }
2671cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2672/* end confdefs.h.  */
2673#include <$2>
2674_ACEOF
2675if ac_fn_c_try_cpp "$LINENO"; then :
2676  ac_header_preproc=yes
2677else
2678  ac_header_preproc=no
2679fi
2680rm -f conftest.err conftest.i conftest.$ac_ext
2681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2682$as_echo "$ac_header_preproc" >&6; }
2683
2684# So?  What about this header?
2685case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2686  yes:no: )
2687    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2688$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2689    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2690$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2691    ;;
2692  no:yes:* )
2693    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2694$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2695    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2696$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2697    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2698$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2699    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2700$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2701    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2702$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2703( $as_echo "## ------------------------------------------------------------------------ ##
2704## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2705## ------------------------------------------------------------------------ ##"
2706     ) | sed "s/^/$as_me: WARNING:     /" >&2
2707    ;;
2708esac
2709  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2710$as_echo_n "checking for $2... " >&6; }
2711if eval \${$3+:} false; then :
2712  $as_echo_n "(cached) " >&6
2713else
2714  eval "$3=\$ac_header_compiler"
2715fi
2716eval ac_res=\$$3
2717	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2718$as_echo "$ac_res" >&6; }
2719fi
2720  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2721
2722} # ac_fn_c_check_header_mongrel
2723
2724# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2725# ---------------------------------------------------------
2726# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2727# the include files in INCLUDES and setting the cache variable VAR
2728# accordingly.
2729ac_fn_cxx_check_header_mongrel ()
2730{
2731  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2732  if eval \${$3+:} false; then :
2733  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2734$as_echo_n "checking for $2... " >&6; }
2735if eval \${$3+:} false; then :
2736  $as_echo_n "(cached) " >&6
2737fi
2738eval ac_res=\$$3
2739	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2740$as_echo "$ac_res" >&6; }
2741else
2742  # Is the header compilable?
2743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2744$as_echo_n "checking $2 usability... " >&6; }
2745cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2746/* end confdefs.h.  */
2747$4
2748#include <$2>
2749_ACEOF
2750if ac_fn_cxx_try_compile "$LINENO"; then :
2751  ac_header_compiler=yes
2752else
2753  ac_header_compiler=no
2754fi
2755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2757$as_echo "$ac_header_compiler" >&6; }
2758
2759# Is the header present?
2760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2761$as_echo_n "checking $2 presence... " >&6; }
2762cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2763/* end confdefs.h.  */
2764#include <$2>
2765_ACEOF
2766if ac_fn_cxx_try_cpp "$LINENO"; then :
2767  ac_header_preproc=yes
2768else
2769  ac_header_preproc=no
2770fi
2771rm -f conftest.err conftest.i conftest.$ac_ext
2772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2773$as_echo "$ac_header_preproc" >&6; }
2774
2775# So?  What about this header?
2776case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2777  yes:no: )
2778    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2779$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2780    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2781$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2782    ;;
2783  no:yes:* )
2784    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2785$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2786    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2787$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2788    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2789$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2790    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2791$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2792    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2793$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2794( $as_echo "## ------------------------------------------------------------------------ ##
2795## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2796## ------------------------------------------------------------------------ ##"
2797     ) | sed "s/^/$as_me: WARNING:     /" >&2
2798    ;;
2799esac
2800  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2801$as_echo_n "checking for $2... " >&6; }
2802if eval \${$3+:} false; then :
2803  $as_echo_n "(cached) " >&6
2804else
2805  eval "$3=\$ac_header_compiler"
2806fi
2807eval ac_res=\$$3
2808	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2809$as_echo "$ac_res" >&6; }
2810fi
2811  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2812
2813} # ac_fn_cxx_check_header_mongrel
2814cat >config.log <<_ACEOF
2815This file contains any messages produced by compilers while
2816running configure, to aid debugging if configure makes a mistake.
2817
2818It was created by GStreamer Ugly Plug-ins $as_me 1.16.2, which was
2819generated by GNU Autoconf 2.69.  Invocation command line was
2820
2821  $ $0 $@
2822
2823_ACEOF
2824exec 5>>config.log
2825{
2826cat <<_ASUNAME
2827## --------- ##
2828## Platform. ##
2829## --------- ##
2830
2831hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2832uname -m = `(uname -m) 2>/dev/null || echo unknown`
2833uname -r = `(uname -r) 2>/dev/null || echo unknown`
2834uname -s = `(uname -s) 2>/dev/null || echo unknown`
2835uname -v = `(uname -v) 2>/dev/null || echo unknown`
2836
2837/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2838/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2839
2840/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2841/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2842/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2843/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2844/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2845/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2846/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2847
2848_ASUNAME
2849
2850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851for as_dir in $PATH
2852do
2853  IFS=$as_save_IFS
2854  test -z "$as_dir" && as_dir=.
2855    $as_echo "PATH: $as_dir"
2856  done
2857IFS=$as_save_IFS
2858
2859} >&5
2860
2861cat >&5 <<_ACEOF
2862
2863
2864## ----------- ##
2865## Core tests. ##
2866## ----------- ##
2867
2868_ACEOF
2869
2870
2871# Keep a trace of the command line.
2872# Strip out --no-create and --no-recursion so they do not pile up.
2873# Strip out --silent because we don't want to record it for future runs.
2874# Also quote any args containing shell meta-characters.
2875# Make two passes to allow for proper duplicate-argument suppression.
2876ac_configure_args=
2877ac_configure_args0=
2878ac_configure_args1=
2879ac_must_keep_next=false
2880for ac_pass in 1 2
2881do
2882  for ac_arg
2883  do
2884    case $ac_arg in
2885    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2886    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2887    | -silent | --silent | --silen | --sile | --sil)
2888      continue ;;
2889    *\'*)
2890      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2891    esac
2892    case $ac_pass in
2893    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2894    2)
2895      as_fn_append ac_configure_args1 " '$ac_arg'"
2896      if test $ac_must_keep_next = true; then
2897	ac_must_keep_next=false # Got value, back to normal.
2898      else
2899	case $ac_arg in
2900	  *=* | --config-cache | -C | -disable-* | --disable-* \
2901	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2902	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2903	  | -with-* | --with-* | -without-* | --without-* | --x)
2904	    case "$ac_configure_args0 " in
2905	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2906	    esac
2907	    ;;
2908	  -* ) ac_must_keep_next=true ;;
2909	esac
2910      fi
2911      as_fn_append ac_configure_args " '$ac_arg'"
2912      ;;
2913    esac
2914  done
2915done
2916{ ac_configure_args0=; unset ac_configure_args0;}
2917{ ac_configure_args1=; unset ac_configure_args1;}
2918
2919# When interrupted or exit'd, cleanup temporary files, and complete
2920# config.log.  We remove comments because anyway the quotes in there
2921# would cause problems or look ugly.
2922# WARNING: Use '\'' to represent an apostrophe within the trap.
2923# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2924trap 'exit_status=$?
2925  # Save into config.log some information that might help in debugging.
2926  {
2927    echo
2928
2929    $as_echo "## ---------------- ##
2930## Cache variables. ##
2931## ---------------- ##"
2932    echo
2933    # The following way of writing the cache mishandles newlines in values,
2934(
2935  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2936    eval ac_val=\$$ac_var
2937    case $ac_val in #(
2938    *${as_nl}*)
2939      case $ac_var in #(
2940      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2941$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2942      esac
2943      case $ac_var in #(
2944      _ | IFS | as_nl) ;; #(
2945      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2946      *) { eval $ac_var=; unset $ac_var;} ;;
2947      esac ;;
2948    esac
2949  done
2950  (set) 2>&1 |
2951    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2952    *${as_nl}ac_space=\ *)
2953      sed -n \
2954	"s/'\''/'\''\\\\'\'''\''/g;
2955	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2956      ;; #(
2957    *)
2958      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2959      ;;
2960    esac |
2961    sort
2962)
2963    echo
2964
2965    $as_echo "## ----------------- ##
2966## Output variables. ##
2967## ----------------- ##"
2968    echo
2969    for ac_var in $ac_subst_vars
2970    do
2971      eval ac_val=\$$ac_var
2972      case $ac_val in
2973      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2974      esac
2975      $as_echo "$ac_var='\''$ac_val'\''"
2976    done | sort
2977    echo
2978
2979    if test -n "$ac_subst_files"; then
2980      $as_echo "## ------------------- ##
2981## File substitutions. ##
2982## ------------------- ##"
2983      echo
2984      for ac_var in $ac_subst_files
2985      do
2986	eval ac_val=\$$ac_var
2987	case $ac_val in
2988	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2989	esac
2990	$as_echo "$ac_var='\''$ac_val'\''"
2991      done | sort
2992      echo
2993    fi
2994
2995    if test -s confdefs.h; then
2996      $as_echo "## ----------- ##
2997## confdefs.h. ##
2998## ----------- ##"
2999      echo
3000      cat confdefs.h
3001      echo
3002    fi
3003    test "$ac_signal" != 0 &&
3004      $as_echo "$as_me: caught signal $ac_signal"
3005    $as_echo "$as_me: exit $exit_status"
3006  } >&5
3007  rm -f core *.core core.conftest.* &&
3008    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3009    exit $exit_status
3010' 0
3011for ac_signal in 1 2 13 15; do
3012  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3013done
3014ac_signal=0
3015
3016# confdefs.h avoids OS command line length limits that DEFS can exceed.
3017rm -f -r conftest* confdefs.h
3018
3019$as_echo "/* confdefs.h */" > confdefs.h
3020
3021# Predefined preprocessor variables.
3022
3023cat >>confdefs.h <<_ACEOF
3024#define PACKAGE_NAME "$PACKAGE_NAME"
3025_ACEOF
3026
3027cat >>confdefs.h <<_ACEOF
3028#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3029_ACEOF
3030
3031cat >>confdefs.h <<_ACEOF
3032#define PACKAGE_VERSION "$PACKAGE_VERSION"
3033_ACEOF
3034
3035cat >>confdefs.h <<_ACEOF
3036#define PACKAGE_STRING "$PACKAGE_STRING"
3037_ACEOF
3038
3039cat >>confdefs.h <<_ACEOF
3040#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3041_ACEOF
3042
3043cat >>confdefs.h <<_ACEOF
3044#define PACKAGE_URL "$PACKAGE_URL"
3045_ACEOF
3046
3047
3048# Let the site file select an alternate cache file if it wants to.
3049# Prefer an explicitly selected file to automatically selected ones.
3050ac_site_file1=NONE
3051ac_site_file2=NONE
3052if test -n "$CONFIG_SITE"; then
3053  # We do not want a PATH search for config.site.
3054  case $CONFIG_SITE in #((
3055    -*)  ac_site_file1=./$CONFIG_SITE;;
3056    */*) ac_site_file1=$CONFIG_SITE;;
3057    *)   ac_site_file1=./$CONFIG_SITE;;
3058  esac
3059elif test "x$prefix" != xNONE; then
3060  ac_site_file1=$prefix/share/config.site
3061  ac_site_file2=$prefix/etc/config.site
3062else
3063  ac_site_file1=$ac_default_prefix/share/config.site
3064  ac_site_file2=$ac_default_prefix/etc/config.site
3065fi
3066for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3067do
3068  test "x$ac_site_file" = xNONE && continue
3069  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3070    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3071$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3072    sed 's/^/| /' "$ac_site_file" >&5
3073    . "$ac_site_file" \
3074      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3075$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3076as_fn_error $? "failed to load site script $ac_site_file
3077See \`config.log' for more details" "$LINENO" 5; }
3078  fi
3079done
3080
3081if test -r "$cache_file"; then
3082  # Some versions of bash will fail to source /dev/null (special files
3083  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3084  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3085    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3086$as_echo "$as_me: loading cache $cache_file" >&6;}
3087    case $cache_file in
3088      [\\/]* | ?:[\\/]* ) . "$cache_file";;
3089      *)                      . "./$cache_file";;
3090    esac
3091  fi
3092else
3093  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3094$as_echo "$as_me: creating cache $cache_file" >&6;}
3095  >$cache_file
3096fi
3097
3098gt_needs="$gt_needs "
3099# Check that the precious variables saved in the cache have kept the same
3100# value.
3101ac_cache_corrupted=false
3102for ac_var in $ac_precious_vars; do
3103  eval ac_old_set=\$ac_cv_env_${ac_var}_set
3104  eval ac_new_set=\$ac_env_${ac_var}_set
3105  eval ac_old_val=\$ac_cv_env_${ac_var}_value
3106  eval ac_new_val=\$ac_env_${ac_var}_value
3107  case $ac_old_set,$ac_new_set in
3108    set,)
3109      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3110$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3111      ac_cache_corrupted=: ;;
3112    ,set)
3113      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3114$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3115      ac_cache_corrupted=: ;;
3116    ,);;
3117    *)
3118      if test "x$ac_old_val" != "x$ac_new_val"; then
3119	# differences in whitespace do not lead to failure.
3120	ac_old_val_w=`echo x $ac_old_val`
3121	ac_new_val_w=`echo x $ac_new_val`
3122	if test "$ac_old_val_w" != "$ac_new_val_w"; then
3123	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3124$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3125	  ac_cache_corrupted=:
3126	else
3127	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3128$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3129	  eval $ac_var=\$ac_old_val
3130	fi
3131	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3132$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3133	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3134$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3135      fi;;
3136  esac
3137  # Pass precious variables to config.status.
3138  if test "$ac_new_set" = set; then
3139    case $ac_new_val in
3140    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3141    *) ac_arg=$ac_var=$ac_new_val ;;
3142    esac
3143    case " $ac_configure_args " in
3144      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3145      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3146    esac
3147  fi
3148done
3149if $ac_cache_corrupted; then
3150  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3151$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3152  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3153$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3154  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3155fi
3156## -------------------- ##
3157## Main body of script. ##
3158## -------------------- ##
3159
3160ac_ext=c
3161ac_cpp='$CPP $CPPFLAGS'
3162ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3163ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3164ac_compiler_gnu=$ac_cv_c_compiler_gnu
3165
3166
3167
3168ac_aux_dir=
3169for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3170  if test -f "$ac_dir/install-sh"; then
3171    ac_aux_dir=$ac_dir
3172    ac_install_sh="$ac_aux_dir/install-sh -c"
3173    break
3174  elif test -f "$ac_dir/install.sh"; then
3175    ac_aux_dir=$ac_dir
3176    ac_install_sh="$ac_aux_dir/install.sh -c"
3177    break
3178  elif test -f "$ac_dir/shtool"; then
3179    ac_aux_dir=$ac_dir
3180    ac_install_sh="$ac_aux_dir/shtool install -c"
3181    break
3182  fi
3183done
3184if test -z "$ac_aux_dir"; then
3185  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3186fi
3187
3188# These three variables are undocumented and unsupported,
3189# and are intended to be withdrawn in a future Autoconf release.
3190# They can cause serious problems if a builder's source tree is in a directory
3191# whose full name contains unusual characters.
3192ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3193ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3194ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3195
3196
3197# Make sure we can run config.sub.
3198$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3199  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3200
3201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3202$as_echo_n "checking build system type... " >&6; }
3203if ${ac_cv_build+:} false; then :
3204  $as_echo_n "(cached) " >&6
3205else
3206  ac_build_alias=$build_alias
3207test "x$ac_build_alias" = x &&
3208  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3209test "x$ac_build_alias" = x &&
3210  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3211ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3212  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3213
3214fi
3215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3216$as_echo "$ac_cv_build" >&6; }
3217case $ac_cv_build in
3218*-*-*) ;;
3219*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3220esac
3221build=$ac_cv_build
3222ac_save_IFS=$IFS; IFS='-'
3223set x $ac_cv_build
3224shift
3225build_cpu=$1
3226build_vendor=$2
3227shift; shift
3228# Remember, the first character of IFS is used to create $*,
3229# except with old shells:
3230build_os=$*
3231IFS=$ac_save_IFS
3232case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3233
3234
3235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3236$as_echo_n "checking host system type... " >&6; }
3237if ${ac_cv_host+:} false; then :
3238  $as_echo_n "(cached) " >&6
3239else
3240  if test "x$host_alias" = x; then
3241  ac_cv_host=$ac_cv_build
3242else
3243  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3244    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3245fi
3246
3247fi
3248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3249$as_echo "$ac_cv_host" >&6; }
3250case $ac_cv_host in
3251*-*-*) ;;
3252*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3253esac
3254host=$ac_cv_host
3255ac_save_IFS=$IFS; IFS='-'
3256set x $ac_cv_host
3257shift
3258host_cpu=$1
3259host_vendor=$2
3260shift; shift
3261# Remember, the first character of IFS is used to create $*,
3262# except with old shells:
3263host_os=$*
3264IFS=$ac_save_IFS
3265case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3266
3267
3268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3269$as_echo_n "checking target system type... " >&6; }
3270if ${ac_cv_target+:} false; then :
3271  $as_echo_n "(cached) " >&6
3272else
3273  if test "x$target_alias" = x; then
3274  ac_cv_target=$ac_cv_host
3275else
3276  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3277    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3278fi
3279
3280fi
3281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3282$as_echo "$ac_cv_target" >&6; }
3283case $ac_cv_target in
3284*-*-*) ;;
3285*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3286esac
3287target=$ac_cv_target
3288ac_save_IFS=$IFS; IFS='-'
3289set x $ac_cv_target
3290shift
3291target_cpu=$1
3292target_vendor=$2
3293shift; shift
3294# Remember, the first character of IFS is used to create $*,
3295# except with old shells:
3296target_os=$*
3297IFS=$ac_save_IFS
3298case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3299
3300
3301# The aliases save the names the user supplied, while $host etc.
3302# will get canonicalized.
3303test -n "$target_alias" &&
3304  test "$program_prefix$program_suffix$program_transform_name" = \
3305    NONENONEs,x,x, &&
3306  program_prefix=${target_alias}-
3307
3308
3309
3310
3311am__api_version='1.16'
3312
3313# Find a good install program.  We prefer a C program (faster),
3314# so one script is as good as another.  But avoid the broken or
3315# incompatible versions:
3316# SysV /etc/install, /usr/sbin/install
3317# SunOS /usr/etc/install
3318# IRIX /sbin/install
3319# AIX /bin/install
3320# AmigaOS /C/install, which installs bootblocks on floppy discs
3321# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3322# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3323# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3324# OS/2's system install, which has a completely different semantic
3325# ./install, which can be erroneously created by make from ./install.sh.
3326# Reject install programs that cannot install multiple files.
3327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3328$as_echo_n "checking for a BSD-compatible install... " >&6; }
3329if test -z "$INSTALL"; then
3330if ${ac_cv_path_install+:} false; then :
3331  $as_echo_n "(cached) " >&6
3332else
3333  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334for as_dir in $PATH
3335do
3336  IFS=$as_save_IFS
3337  test -z "$as_dir" && as_dir=.
3338    # Account for people who put trailing slashes in PATH elements.
3339case $as_dir/ in #((
3340  ./ | .// | /[cC]/* | \
3341  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3342  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3343  /usr/ucb/* ) ;;
3344  *)
3345    # OSF1 and SCO ODT 3.0 have their own names for install.
3346    # Don't use installbsd from OSF since it installs stuff as root
3347    # by default.
3348    for ac_prog in ginstall scoinst install; do
3349      for ac_exec_ext in '' $ac_executable_extensions; do
3350	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3351	  if test $ac_prog = install &&
3352	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3353	    # AIX install.  It has an incompatible calling convention.
3354	    :
3355	  elif test $ac_prog = install &&
3356	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3357	    # program-specific install script used by HP pwplus--don't use.
3358	    :
3359	  else
3360	    rm -rf conftest.one conftest.two conftest.dir
3361	    echo one > conftest.one
3362	    echo two > conftest.two
3363	    mkdir conftest.dir
3364	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3365	      test -s conftest.one && test -s conftest.two &&
3366	      test -s conftest.dir/conftest.one &&
3367	      test -s conftest.dir/conftest.two
3368	    then
3369	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3370	      break 3
3371	    fi
3372	  fi
3373	fi
3374      done
3375    done
3376    ;;
3377esac
3378
3379  done
3380IFS=$as_save_IFS
3381
3382rm -rf conftest.one conftest.two conftest.dir
3383
3384fi
3385  if test "${ac_cv_path_install+set}" = set; then
3386    INSTALL=$ac_cv_path_install
3387  else
3388    # As a last resort, use the slow shell script.  Don't cache a
3389    # value for INSTALL within a source directory, because that will
3390    # break other packages using the cache if that directory is
3391    # removed, or if the value is a relative name.
3392    INSTALL=$ac_install_sh
3393  fi
3394fi
3395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3396$as_echo "$INSTALL" >&6; }
3397
3398# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3399# It thinks the first close brace ends the variable substitution.
3400test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3401
3402test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3403
3404test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3405
3406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3407$as_echo_n "checking whether build environment is sane... " >&6; }
3408# Reject unsafe characters in $srcdir or the absolute working directory
3409# name.  Accept space and tab only in the latter.
3410am_lf='
3411'
3412case `pwd` in
3413  *[\\\"\#\$\&\'\`$am_lf]*)
3414    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3415esac
3416case $srcdir in
3417  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3418    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3419esac
3420
3421# Do 'set' in a subshell so we don't clobber the current shell's
3422# arguments.  Must try -L first in case configure is actually a
3423# symlink; some systems play weird games with the mod time of symlinks
3424# (eg FreeBSD returns the mod time of the symlink's containing
3425# directory).
3426if (
3427   am_has_slept=no
3428   for am_try in 1 2; do
3429     echo "timestamp, slept: $am_has_slept" > conftest.file
3430     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3431     if test "$*" = "X"; then
3432	# -L didn't work.
3433	set X `ls -t "$srcdir/configure" conftest.file`
3434     fi
3435     if test "$*" != "X $srcdir/configure conftest.file" \
3436	&& test "$*" != "X conftest.file $srcdir/configure"; then
3437
3438	# If neither matched, then we have a broken ls.  This can happen
3439	# if, for instance, CONFIG_SHELL is bash and it inherits a
3440	# broken ls alias from the environment.  This has actually
3441	# happened.  Such a system could not be considered "sane".
3442	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3443  alias in your environment" "$LINENO" 5
3444     fi
3445     if test "$2" = conftest.file || test $am_try -eq 2; then
3446       break
3447     fi
3448     # Just in case.
3449     sleep 1
3450     am_has_slept=yes
3451   done
3452   test "$2" = conftest.file
3453   )
3454then
3455   # Ok.
3456   :
3457else
3458   as_fn_error $? "newly created file is older than distributed files!
3459Check your system clock" "$LINENO" 5
3460fi
3461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3462$as_echo "yes" >&6; }
3463# If we didn't sleep, we still need to ensure time stamps of config.status and
3464# generated files are strictly newer.
3465am_sleep_pid=
3466if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3467  ( sleep 1 ) &
3468  am_sleep_pid=$!
3469fi
3470
3471rm -f conftest.file
3472
3473test "$program_prefix" != NONE &&
3474  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3475# Use a double $ so make ignores it.
3476test "$program_suffix" != NONE &&
3477  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3478# Double any \ or $.
3479# By default was `s,x,x', remove it if useless.
3480ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3481program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3482
3483# Expand $ac_aux_dir to an absolute path.
3484am_aux_dir=`cd "$ac_aux_dir" && pwd`
3485
3486if test x"${MISSING+set}" != xset; then
3487  case $am_aux_dir in
3488  *\ * | *\	*)
3489    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3490  *)
3491    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3492  esac
3493fi
3494# Use eval to expand $SHELL
3495if eval "$MISSING --is-lightweight"; then
3496  am_missing_run="$MISSING "
3497else
3498  am_missing_run=
3499  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3500$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3501fi
3502
3503if test x"${install_sh+set}" != xset; then
3504  case $am_aux_dir in
3505  *\ * | *\	*)
3506    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3507  *)
3508    install_sh="\${SHELL} $am_aux_dir/install-sh"
3509  esac
3510fi
3511
3512# Installed binaries are usually stripped using 'strip' when the user
3513# run "make install-strip".  However 'strip' might not be the right
3514# tool to use in cross-compilation environments, therefore Automake
3515# will honor the 'STRIP' environment variable to overrule this program.
3516if test "$cross_compiling" != no; then
3517  if test -n "$ac_tool_prefix"; then
3518  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3519set dummy ${ac_tool_prefix}strip; ac_word=$2
3520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3521$as_echo_n "checking for $ac_word... " >&6; }
3522if ${ac_cv_prog_STRIP+:} false; then :
3523  $as_echo_n "(cached) " >&6
3524else
3525  if test -n "$STRIP"; then
3526  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3527else
3528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3529for as_dir in $PATH
3530do
3531  IFS=$as_save_IFS
3532  test -z "$as_dir" && as_dir=.
3533    for ac_exec_ext in '' $ac_executable_extensions; do
3534  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3535    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3536    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3537    break 2
3538  fi
3539done
3540  done
3541IFS=$as_save_IFS
3542
3543fi
3544fi
3545STRIP=$ac_cv_prog_STRIP
3546if test -n "$STRIP"; then
3547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3548$as_echo "$STRIP" >&6; }
3549else
3550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3551$as_echo "no" >&6; }
3552fi
3553
3554
3555fi
3556if test -z "$ac_cv_prog_STRIP"; then
3557  ac_ct_STRIP=$STRIP
3558  # Extract the first word of "strip", so it can be a program name with args.
3559set dummy strip; ac_word=$2
3560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3561$as_echo_n "checking for $ac_word... " >&6; }
3562if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3563  $as_echo_n "(cached) " >&6
3564else
3565  if test -n "$ac_ct_STRIP"; then
3566  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3567else
3568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569for as_dir in $PATH
3570do
3571  IFS=$as_save_IFS
3572  test -z "$as_dir" && as_dir=.
3573    for ac_exec_ext in '' $ac_executable_extensions; do
3574  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3575    ac_cv_prog_ac_ct_STRIP="strip"
3576    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3577    break 2
3578  fi
3579done
3580  done
3581IFS=$as_save_IFS
3582
3583fi
3584fi
3585ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3586if test -n "$ac_ct_STRIP"; then
3587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3588$as_echo "$ac_ct_STRIP" >&6; }
3589else
3590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3591$as_echo "no" >&6; }
3592fi
3593
3594  if test "x$ac_ct_STRIP" = x; then
3595    STRIP=":"
3596  else
3597    case $cross_compiling:$ac_tool_warned in
3598yes:)
3599{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3600$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3601ac_tool_warned=yes ;;
3602esac
3603    STRIP=$ac_ct_STRIP
3604  fi
3605else
3606  STRIP="$ac_cv_prog_STRIP"
3607fi
3608
3609fi
3610INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3611
3612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3613$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3614if test -z "$MKDIR_P"; then
3615  if ${ac_cv_path_mkdir+:} false; then :
3616  $as_echo_n "(cached) " >&6
3617else
3618  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3619for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3620do
3621  IFS=$as_save_IFS
3622  test -z "$as_dir" && as_dir=.
3623    for ac_prog in mkdir gmkdir; do
3624	 for ac_exec_ext in '' $ac_executable_extensions; do
3625	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3626	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3627	     'mkdir (GNU coreutils) '* | \
3628	     'mkdir (coreutils) '* | \
3629	     'mkdir (fileutils) '4.1*)
3630	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3631	       break 3;;
3632	   esac
3633	 done
3634       done
3635  done
3636IFS=$as_save_IFS
3637
3638fi
3639
3640  test -d ./--version && rmdir ./--version
3641  if test "${ac_cv_path_mkdir+set}" = set; then
3642    MKDIR_P="$ac_cv_path_mkdir -p"
3643  else
3644    # As a last resort, use the slow shell script.  Don't cache a
3645    # value for MKDIR_P within a source directory, because that will
3646    # break other packages using the cache if that directory is
3647    # removed, or if the value is a relative name.
3648    MKDIR_P="$ac_install_sh -d"
3649  fi
3650fi
3651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3652$as_echo "$MKDIR_P" >&6; }
3653
3654for ac_prog in gawk mawk nawk awk
3655do
3656  # Extract the first word of "$ac_prog", so it can be a program name with args.
3657set dummy $ac_prog; ac_word=$2
3658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659$as_echo_n "checking for $ac_word... " >&6; }
3660if ${ac_cv_prog_AWK+:} false; then :
3661  $as_echo_n "(cached) " >&6
3662else
3663  if test -n "$AWK"; then
3664  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3665else
3666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667for as_dir in $PATH
3668do
3669  IFS=$as_save_IFS
3670  test -z "$as_dir" && as_dir=.
3671    for ac_exec_ext in '' $ac_executable_extensions; do
3672  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3673    ac_cv_prog_AWK="$ac_prog"
3674    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675    break 2
3676  fi
3677done
3678  done
3679IFS=$as_save_IFS
3680
3681fi
3682fi
3683AWK=$ac_cv_prog_AWK
3684if test -n "$AWK"; then
3685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3686$as_echo "$AWK" >&6; }
3687else
3688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689$as_echo "no" >&6; }
3690fi
3691
3692
3693  test -n "$AWK" && break
3694done
3695
3696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3697$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3698set x ${MAKE-make}
3699ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3700if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3701  $as_echo_n "(cached) " >&6
3702else
3703  cat >conftest.make <<\_ACEOF
3704SHELL = /bin/sh
3705all:
3706	@echo '@@@%%%=$(MAKE)=@@@%%%'
3707_ACEOF
3708# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3709case `${MAKE-make} -f conftest.make 2>/dev/null` in
3710  *@@@%%%=?*=@@@%%%*)
3711    eval ac_cv_prog_make_${ac_make}_set=yes;;
3712  *)
3713    eval ac_cv_prog_make_${ac_make}_set=no;;
3714esac
3715rm -f conftest.make
3716fi
3717if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3719$as_echo "yes" >&6; }
3720  SET_MAKE=
3721else
3722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723$as_echo "no" >&6; }
3724  SET_MAKE="MAKE=${MAKE-make}"
3725fi
3726
3727rm -rf .tst 2>/dev/null
3728mkdir .tst 2>/dev/null
3729if test -d .tst; then
3730  am__leading_dot=.
3731else
3732  am__leading_dot=_
3733fi
3734rmdir .tst 2>/dev/null
3735
3736# Check whether --enable-silent-rules was given.
3737if test "${enable_silent_rules+set}" = set; then :
3738  enableval=$enable_silent_rules;
3739fi
3740
3741case $enable_silent_rules in # (((
3742  yes) AM_DEFAULT_VERBOSITY=0;;
3743   no) AM_DEFAULT_VERBOSITY=1;;
3744    *) AM_DEFAULT_VERBOSITY=1;;
3745esac
3746am_make=${MAKE-make}
3747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3748$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3749if ${am_cv_make_support_nested_variables+:} false; then :
3750  $as_echo_n "(cached) " >&6
3751else
3752  if $as_echo 'TRUE=$(BAR$(V))
3753BAR0=false
3754BAR1=true
3755V=1
3756am__doit:
3757	@$(TRUE)
3758.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3759  am_cv_make_support_nested_variables=yes
3760else
3761  am_cv_make_support_nested_variables=no
3762fi
3763fi
3764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3765$as_echo "$am_cv_make_support_nested_variables" >&6; }
3766if test $am_cv_make_support_nested_variables = yes; then
3767    AM_V='$(V)'
3768  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3769else
3770  AM_V=$AM_DEFAULT_VERBOSITY
3771  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3772fi
3773AM_BACKSLASH='\'
3774
3775if test "`cd $srcdir && pwd`" != "`pwd`"; then
3776  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3777  # is not polluted with repeated "-I."
3778  am__isrc=' -I$(srcdir)'
3779  # test to see if srcdir already configured
3780  if test -f $srcdir/config.status; then
3781    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3782  fi
3783fi
3784
3785# test whether we have cygpath
3786if test -z "$CYGPATH_W"; then
3787  if (cygpath --version) >/dev/null 2>/dev/null; then
3788    CYGPATH_W='cygpath -w'
3789  else
3790    CYGPATH_W=echo
3791  fi
3792fi
3793
3794
3795# Define the identity of the package.
3796 PACKAGE='gst-plugins-ugly'
3797 VERSION='1.16.2'
3798
3799
3800cat >>confdefs.h <<_ACEOF
3801#define PACKAGE "$PACKAGE"
3802_ACEOF
3803
3804
3805cat >>confdefs.h <<_ACEOF
3806#define VERSION "$VERSION"
3807_ACEOF
3808
3809# Some tools Automake needs.
3810
3811ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3812
3813
3814AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3815
3816
3817AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3818
3819
3820AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3821
3822
3823MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3824
3825# For better backward compatibility.  To be removed once Automake 1.9.x
3826# dies out for good.  For more background, see:
3827# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3828# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3829mkdir_p='$(MKDIR_P)'
3830
3831# We need awk for the "check" target (and possibly the TAP driver).  The
3832# system "awk" is bad on some platforms.
3833# Always define AMTAR for backward compatibility.  Yes, it's still used
3834# in the wild :-(  We should find a proper way to deprecate it ...
3835AMTAR='$${TAR-tar}'
3836
3837
3838# We'll loop over all known methods to create a tar archive until one works.
3839_am_tools='gnutar plaintar pax cpio none'
3840
3841# The POSIX 1988 'ustar' format is defined with fixed-size fields.
3842      # There is notably a 21 bits limit for the UID and the GID.  In fact,
3843      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3844      # and bug#13588).
3845      am_max_uid=2097151 # 2^21 - 1
3846      am_max_gid=$am_max_uid
3847      # The $UID and $GID variables are not portable, so we need to resort
3848      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
3849      # below are definitely unexpected, so allow the users to see them
3850      # (that is, avoid stderr redirection).
3851      am_uid=`id -u || echo unknown`
3852      am_gid=`id -g || echo unknown`
3853      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3854$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3855      if test $am_uid -le $am_max_uid; then
3856         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3857$as_echo "yes" >&6; }
3858      else
3859         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860$as_echo "no" >&6; }
3861         _am_tools=none
3862      fi
3863      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3864$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3865      if test $am_gid -le $am_max_gid; then
3866         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3867$as_echo "yes" >&6; }
3868      else
3869        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870$as_echo "no" >&6; }
3871        _am_tools=none
3872      fi
3873
3874  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3875$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3876
3877  # Go ahead even if we have the value already cached.  We do so because we
3878  # need to set the values for the 'am__tar' and 'am__untar' variables.
3879  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3880
3881  for _am_tool in $_am_tools; do
3882    case $_am_tool in
3883    gnutar)
3884      for _am_tar in tar gnutar gtar; do
3885        { echo "$as_me:$LINENO: $_am_tar --version" >&5
3886   ($_am_tar --version) >&5 2>&5
3887   ac_status=$?
3888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889   (exit $ac_status); } && break
3890      done
3891      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3892      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3893      am__untar="$_am_tar -xf -"
3894      ;;
3895    plaintar)
3896      # Must skip GNU tar: if it does not support --format= it doesn't create
3897      # ustar tarball either.
3898      (tar --version) >/dev/null 2>&1 && continue
3899      am__tar='tar chf - "$$tardir"'
3900      am__tar_='tar chf - "$tardir"'
3901      am__untar='tar xf -'
3902      ;;
3903    pax)
3904      am__tar='pax -L -x ustar -w "$$tardir"'
3905      am__tar_='pax -L -x ustar -w "$tardir"'
3906      am__untar='pax -r'
3907      ;;
3908    cpio)
3909      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3910      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3911      am__untar='cpio -i -H ustar -d'
3912      ;;
3913    none)
3914      am__tar=false
3915      am__tar_=false
3916      am__untar=false
3917      ;;
3918    esac
3919
3920    # If the value was cached, stop now.  We just wanted to have am__tar
3921    # and am__untar set.
3922    test -n "${am_cv_prog_tar_ustar}" && break
3923
3924    # tar/untar a dummy directory, and stop if the command works.
3925    rm -rf conftest.dir
3926    mkdir conftest.dir
3927    echo GrepMe > conftest.dir/file
3928    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3929   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3930   ac_status=$?
3931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932   (exit $ac_status); }
3933    rm -rf conftest.dir
3934    if test -s conftest.tar; then
3935      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3936   ($am__untar <conftest.tar) >&5 2>&5
3937   ac_status=$?
3938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939   (exit $ac_status); }
3940      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3941   (cat conftest.dir/file) >&5 2>&5
3942   ac_status=$?
3943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944   (exit $ac_status); }
3945      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3946    fi
3947  done
3948  rm -rf conftest.dir
3949
3950  if ${am_cv_prog_tar_ustar+:} false; then :
3951  $as_echo_n "(cached) " >&6
3952else
3953  am_cv_prog_tar_ustar=$_am_tool
3954fi
3955
3956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3957$as_echo "$am_cv_prog_tar_ustar" >&6; }
3958
3959
3960
3961
3962
3963
3964# POSIX will say in a future version that running "rm -f" with no argument
3965# is OK; and we want to be able to make that assumption in our Makefile
3966# recipes.  So use an aggressive probe to check that the usage we want is
3967# actually supported "in the wild" to an acceptable degree.
3968# See automake bug#10828.
3969# To make any issue more visible, cause the running configure to be aborted
3970# by default if the 'rm' program in use doesn't match our expectations; the
3971# user can still override this though.
3972if rm -f && rm -fr && rm -rf; then : OK; else
3973  cat >&2 <<'END'
3974Oops!
3975
3976Your 'rm' program seems unable to run without file operands specified
3977on the command line, even when the '-f' option is present.  This is contrary
3978to the behaviour of most rm programs out there, and not conforming with
3979the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3980
3981Please tell bug-automake@gnu.org about your system, including the value
3982of your $PATH and any error possibly output before this message.  This
3983can help us improve future automake versions.
3984
3985END
3986  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3987    echo 'Configuration will proceed anyway, since you have set the' >&2
3988    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3989    echo >&2
3990  else
3991    cat >&2 <<'END'
3992Aborting the configuration process, to ensure you take notice of the issue.
3993
3994You can download and install GNU coreutils to get an 'rm' implementation
3995that behaves properly: <https://www.gnu.org/software/coreutils/>.
3996
3997If you want to complete the configuration process using your problematic
3998'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3999to "yes", and re-run configure.
4000
4001END
4002    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4003  fi
4004fi
4005
4006
4007
4008  PACKAGE_VERSION_MAJOR=$(echo 1.16.2 | cut -d'.' -f1)
4009  PACKAGE_VERSION_MINOR=$(echo 1.16.2 | cut -d'.' -f2)
4010  PACKAGE_VERSION_MICRO=$(echo 1.16.2 | cut -d'.' -f3)
4011
4012
4013
4014
4015
4016
4017
4018  { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
4019$as_echo_n "checking nano version... " >&6; }
4020
4021  NANO=$(echo 1.16.2 | cut -d'.' -f4)
4022
4023  if test x"$NANO" = x || test "x$NANO" = "x0" ; then
4024    { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
4025$as_echo "0 (release)" >&6; }
4026    NANO=0
4027    PACKAGE_VERSION_RELEASE=1
4028    GST_GIT="no"
4029  else
4030    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
4031$as_echo "$NANO" >&6; }
4032    PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
4033    if test "x$NANO" != "x1" ; then
4034       GST_GIT="no"
4035    else
4036       GST_GIT="yes"
4037    fi
4038  fi
4039  PACKAGE_VERSION_NANO=$NANO
4040
4041
4042
4043
4044
4045
4046ac_config_headers="$ac_config_headers config.h"
4047
4048
4049
4050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4051$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4052    # Check whether --enable-maintainer-mode was given.
4053if test "${enable_maintainer_mode+set}" = set; then :
4054  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4055else
4056  USE_MAINTAINER_MODE=yes
4057fi
4058
4059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4060$as_echo "$USE_MAINTAINER_MODE" >&6; }
4061   if test $USE_MAINTAINER_MODE = yes; then
4062  MAINTAINER_MODE_TRUE=
4063  MAINTAINER_MODE_FALSE='#'
4064else
4065  MAINTAINER_MODE_TRUE='#'
4066  MAINTAINER_MODE_FALSE=
4067fi
4068
4069  MAINT=$MAINTAINER_MODE_TRUE
4070
4071
4072
4073
4074
4075# Check whether --enable-silent-rules was given.
4076if test "${enable_silent_rules+set}" = set; then :
4077  enableval=$enable_silent_rules;
4078fi
4079
4080case $enable_silent_rules in # (((
4081  yes) AM_DEFAULT_VERBOSITY=0;;
4082   no) AM_DEFAULT_VERBOSITY=1;;
4083    *) AM_DEFAULT_VERBOSITY=0;;
4084esac
4085am_make=${MAKE-make}
4086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4087$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4088if ${am_cv_make_support_nested_variables+:} false; then :
4089  $as_echo_n "(cached) " >&6
4090else
4091  if $as_echo 'TRUE=$(BAR$(V))
4092BAR0=false
4093BAR1=true
4094V=1
4095am__doit:
4096	@$(TRUE)
4097.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4098  am_cv_make_support_nested_variables=yes
4099else
4100  am_cv_make_support_nested_variables=no
4101fi
4102fi
4103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4104$as_echo "$am_cv_make_support_nested_variables" >&6; }
4105if test $am_cv_make_support_nested_variables = yes; then
4106    AM_V='$(V)'
4107  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4108else
4109  AM_V=$AM_DEFAULT_VERBOSITY
4110  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4111fi
4112AM_BACKSLASH='\'
4113
4114
4115GST_API_VERSION=1.0
4116
4117
4118cat >>confdefs.h <<_ACEOF
4119#define GST_API_VERSION "$GST_API_VERSION"
4120_ACEOF
4121
4122
4123case `pwd` in
4124  *\ * | *\	*)
4125    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4126$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4127esac
4128
4129
4130
4131macro_version='2.4.6'
4132macro_revision='2.4.6'
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146ltmain=$ac_aux_dir/ltmain.sh
4147
4148# Backslashify metacharacters that are still active within
4149# double-quoted strings.
4150sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4151
4152# Same as above, but do not quote variable references.
4153double_quote_subst='s/\(["`\\]\)/\\\1/g'
4154
4155# Sed substitution to delay expansion of an escaped shell variable in a
4156# double_quote_subst'ed string.
4157delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4158
4159# Sed substitution to delay expansion of an escaped single quote.
4160delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4161
4162# Sed substitution to avoid accidental globbing in evaled expressions
4163no_glob_subst='s/\*/\\\*/g'
4164
4165ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4166ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4167ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4168
4169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4170$as_echo_n "checking how to print strings... " >&6; }
4171# Test print first, because it will be a builtin if present.
4172if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4173   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4174  ECHO='print -r --'
4175elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4176  ECHO='printf %s\n'
4177else
4178  # Use this function as a fallback that always works.
4179  func_fallback_echo ()
4180  {
4181    eval 'cat <<_LTECHO_EOF
4182$1
4183_LTECHO_EOF'
4184  }
4185  ECHO='func_fallback_echo'
4186fi
4187
4188# func_echo_all arg...
4189# Invoke $ECHO with all args, space-separated.
4190func_echo_all ()
4191{
4192    $ECHO ""
4193}
4194
4195case $ECHO in
4196  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4197$as_echo "printf" >&6; } ;;
4198  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4199$as_echo "print -r" >&6; } ;;
4200  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4201$as_echo "cat" >&6; } ;;
4202esac
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217DEPDIR="${am__leading_dot}deps"
4218
4219ac_config_commands="$ac_config_commands depfiles"
4220
4221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4222$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4223cat > confinc.mk << 'END'
4224am__doit:
4225	@echo this is the am__doit target >confinc.out
4226.PHONY: am__doit
4227END
4228am__include="#"
4229am__quote=
4230# BSD make does it like this.
4231echo '.include "confinc.mk" # ignored' > confmf.BSD
4232# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4233echo 'include confinc.mk # ignored' > confmf.GNU
4234_am_result=no
4235for s in GNU BSD; do
4236  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4237   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4238   ac_status=$?
4239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240   (exit $ac_status); }
4241  case $?:`cat confinc.out 2>/dev/null` in #(
4242  '0:this is the am__doit target') :
4243    case $s in #(
4244  BSD) :
4245    am__include='.include' am__quote='"' ;; #(
4246  *) :
4247    am__include='include' am__quote='' ;;
4248esac ;; #(
4249  *) :
4250     ;;
4251esac
4252  if test "$am__include" != "#"; then
4253    _am_result="yes ($s style)"
4254    break
4255  fi
4256done
4257rm -f confinc.* confmf.*
4258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4259$as_echo "${_am_result}" >&6; }
4260
4261# Check whether --enable-dependency-tracking was given.
4262if test "${enable_dependency_tracking+set}" = set; then :
4263  enableval=$enable_dependency_tracking;
4264fi
4265
4266if test "x$enable_dependency_tracking" != xno; then
4267  am_depcomp="$ac_aux_dir/depcomp"
4268  AMDEPBACKSLASH='\'
4269  am__nodep='_no'
4270fi
4271 if test "x$enable_dependency_tracking" != xno; then
4272  AMDEP_TRUE=
4273  AMDEP_FALSE='#'
4274else
4275  AMDEP_TRUE='#'
4276  AMDEP_FALSE=
4277fi
4278
4279
4280ac_ext=c
4281ac_cpp='$CPP $CPPFLAGS'
4282ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4283ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4284ac_compiler_gnu=$ac_cv_c_compiler_gnu
4285if test -n "$ac_tool_prefix"; then
4286  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4287set dummy ${ac_tool_prefix}gcc; ac_word=$2
4288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4289$as_echo_n "checking for $ac_word... " >&6; }
4290if ${ac_cv_prog_CC+:} false; then :
4291  $as_echo_n "(cached) " >&6
4292else
4293  if test -n "$CC"; then
4294  ac_cv_prog_CC="$CC" # Let the user override the test.
4295else
4296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297for as_dir in $PATH
4298do
4299  IFS=$as_save_IFS
4300  test -z "$as_dir" && as_dir=.
4301    for ac_exec_ext in '' $ac_executable_extensions; do
4302  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4303    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4304    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4305    break 2
4306  fi
4307done
4308  done
4309IFS=$as_save_IFS
4310
4311fi
4312fi
4313CC=$ac_cv_prog_CC
4314if test -n "$CC"; then
4315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4316$as_echo "$CC" >&6; }
4317else
4318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4319$as_echo "no" >&6; }
4320fi
4321
4322
4323fi
4324if test -z "$ac_cv_prog_CC"; then
4325  ac_ct_CC=$CC
4326  # Extract the first word of "gcc", so it can be a program name with args.
4327set dummy gcc; ac_word=$2
4328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4329$as_echo_n "checking for $ac_word... " >&6; }
4330if ${ac_cv_prog_ac_ct_CC+:} false; then :
4331  $as_echo_n "(cached) " >&6
4332else
4333  if test -n "$ac_ct_CC"; then
4334  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4335else
4336as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4337for as_dir in $PATH
4338do
4339  IFS=$as_save_IFS
4340  test -z "$as_dir" && as_dir=.
4341    for ac_exec_ext in '' $ac_executable_extensions; do
4342  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4343    ac_cv_prog_ac_ct_CC="gcc"
4344    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4345    break 2
4346  fi
4347done
4348  done
4349IFS=$as_save_IFS
4350
4351fi
4352fi
4353ac_ct_CC=$ac_cv_prog_ac_ct_CC
4354if test -n "$ac_ct_CC"; then
4355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4356$as_echo "$ac_ct_CC" >&6; }
4357else
4358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4359$as_echo "no" >&6; }
4360fi
4361
4362  if test "x$ac_ct_CC" = x; then
4363    CC=""
4364  else
4365    case $cross_compiling:$ac_tool_warned in
4366yes:)
4367{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4368$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4369ac_tool_warned=yes ;;
4370esac
4371    CC=$ac_ct_CC
4372  fi
4373else
4374  CC="$ac_cv_prog_CC"
4375fi
4376
4377if test -z "$CC"; then
4378          if test -n "$ac_tool_prefix"; then
4379    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4380set dummy ${ac_tool_prefix}cc; ac_word=$2
4381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4382$as_echo_n "checking for $ac_word... " >&6; }
4383if ${ac_cv_prog_CC+:} false; then :
4384  $as_echo_n "(cached) " >&6
4385else
4386  if test -n "$CC"; then
4387  ac_cv_prog_CC="$CC" # Let the user override the test.
4388else
4389as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4390for as_dir in $PATH
4391do
4392  IFS=$as_save_IFS
4393  test -z "$as_dir" && as_dir=.
4394    for ac_exec_ext in '' $ac_executable_extensions; do
4395  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4396    ac_cv_prog_CC="${ac_tool_prefix}cc"
4397    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4398    break 2
4399  fi
4400done
4401  done
4402IFS=$as_save_IFS
4403
4404fi
4405fi
4406CC=$ac_cv_prog_CC
4407if test -n "$CC"; then
4408  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4409$as_echo "$CC" >&6; }
4410else
4411  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4412$as_echo "no" >&6; }
4413fi
4414
4415
4416  fi
4417fi
4418if test -z "$CC"; then
4419  # Extract the first word of "cc", so it can be a program name with args.
4420set dummy cc; ac_word=$2
4421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4422$as_echo_n "checking for $ac_word... " >&6; }
4423if ${ac_cv_prog_CC+:} false; then :
4424  $as_echo_n "(cached) " >&6
4425else
4426  if test -n "$CC"; then
4427  ac_cv_prog_CC="$CC" # Let the user override the test.
4428else
4429  ac_prog_rejected=no
4430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4431for as_dir in $PATH
4432do
4433  IFS=$as_save_IFS
4434  test -z "$as_dir" && as_dir=.
4435    for ac_exec_ext in '' $ac_executable_extensions; do
4436  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4437    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4438       ac_prog_rejected=yes
4439       continue
4440     fi
4441    ac_cv_prog_CC="cc"
4442    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4443    break 2
4444  fi
4445done
4446  done
4447IFS=$as_save_IFS
4448
4449if test $ac_prog_rejected = yes; then
4450  # We found a bogon in the path, so make sure we never use it.
4451  set dummy $ac_cv_prog_CC
4452  shift
4453  if test $# != 0; then
4454    # We chose a different compiler from the bogus one.
4455    # However, it has the same basename, so the bogon will be chosen
4456    # first if we set CC to just the basename; use the full file name.
4457    shift
4458    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4459  fi
4460fi
4461fi
4462fi
4463CC=$ac_cv_prog_CC
4464if test -n "$CC"; then
4465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4466$as_echo "$CC" >&6; }
4467else
4468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4469$as_echo "no" >&6; }
4470fi
4471
4472
4473fi
4474if test -z "$CC"; then
4475  if test -n "$ac_tool_prefix"; then
4476  for ac_prog in cl.exe
4477  do
4478    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4479set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481$as_echo_n "checking for $ac_word... " >&6; }
4482if ${ac_cv_prog_CC+:} false; then :
4483  $as_echo_n "(cached) " >&6
4484else
4485  if test -n "$CC"; then
4486  ac_cv_prog_CC="$CC" # Let the user override the test.
4487else
4488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489for as_dir in $PATH
4490do
4491  IFS=$as_save_IFS
4492  test -z "$as_dir" && as_dir=.
4493    for ac_exec_ext in '' $ac_executable_extensions; do
4494  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4496    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497    break 2
4498  fi
4499done
4500  done
4501IFS=$as_save_IFS
4502
4503fi
4504fi
4505CC=$ac_cv_prog_CC
4506if test -n "$CC"; then
4507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4508$as_echo "$CC" >&6; }
4509else
4510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511$as_echo "no" >&6; }
4512fi
4513
4514
4515    test -n "$CC" && break
4516  done
4517fi
4518if test -z "$CC"; then
4519  ac_ct_CC=$CC
4520  for ac_prog in cl.exe
4521do
4522  # Extract the first word of "$ac_prog", so it can be a program name with args.
4523set dummy $ac_prog; 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_ac_ct_CC+:} false; then :
4527  $as_echo_n "(cached) " >&6
4528else
4529  if test -n "$ac_ct_CC"; then
4530  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4531else
4532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533for as_dir in $PATH
4534do
4535  IFS=$as_save_IFS
4536  test -z "$as_dir" && as_dir=.
4537    for ac_exec_ext in '' $ac_executable_extensions; do
4538  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4539    ac_cv_prog_ac_ct_CC="$ac_prog"
4540    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4541    break 2
4542  fi
4543done
4544  done
4545IFS=$as_save_IFS
4546
4547fi
4548fi
4549ac_ct_CC=$ac_cv_prog_ac_ct_CC
4550if test -n "$ac_ct_CC"; then
4551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4552$as_echo "$ac_ct_CC" >&6; }
4553else
4554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555$as_echo "no" >&6; }
4556fi
4557
4558
4559  test -n "$ac_ct_CC" && break
4560done
4561
4562  if test "x$ac_ct_CC" = x; then
4563    CC=""
4564  else
4565    case $cross_compiling:$ac_tool_warned in
4566yes:)
4567{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4568$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4569ac_tool_warned=yes ;;
4570esac
4571    CC=$ac_ct_CC
4572  fi
4573fi
4574
4575fi
4576
4577
4578test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4579$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4580as_fn_error $? "no acceptable C compiler found in \$PATH
4581See \`config.log' for more details" "$LINENO" 5; }
4582
4583# Provide some information about the compiler.
4584$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4585set X $ac_compile
4586ac_compiler=$2
4587for ac_option in --version -v -V -qversion; do
4588  { { ac_try="$ac_compiler $ac_option >&5"
4589case "(($ac_try" in
4590  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4591  *) ac_try_echo=$ac_try;;
4592esac
4593eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4594$as_echo "$ac_try_echo"; } >&5
4595  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4596  ac_status=$?
4597  if test -s conftest.err; then
4598    sed '10a\
4599... rest of stderr output deleted ...
4600         10q' conftest.err >conftest.er1
4601    cat conftest.er1 >&5
4602  fi
4603  rm -f conftest.er1 conftest.err
4604  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4605  test $ac_status = 0; }
4606done
4607
4608cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609/* end confdefs.h.  */
4610
4611int
4612main ()
4613{
4614
4615  ;
4616  return 0;
4617}
4618_ACEOF
4619ac_clean_files_save=$ac_clean_files
4620ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4621# Try to create an executable without -o first, disregard a.out.
4622# It will help us diagnose broken compilers, and finding out an intuition
4623# of exeext.
4624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4625$as_echo_n "checking whether the C compiler works... " >&6; }
4626ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4627
4628# The possible output files:
4629ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4630
4631ac_rmfiles=
4632for ac_file in $ac_files
4633do
4634  case $ac_file in
4635    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4636    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4637  esac
4638done
4639rm -f $ac_rmfiles
4640
4641if { { ac_try="$ac_link_default"
4642case "(($ac_try" in
4643  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4644  *) ac_try_echo=$ac_try;;
4645esac
4646eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4647$as_echo "$ac_try_echo"; } >&5
4648  (eval "$ac_link_default") 2>&5
4649  ac_status=$?
4650  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4651  test $ac_status = 0; }; then :
4652  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4653# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4654# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4655# so that the user can short-circuit this test for compilers unknown to
4656# Autoconf.
4657for ac_file in $ac_files ''
4658do
4659  test -f "$ac_file" || continue
4660  case $ac_file in
4661    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4662	;;
4663    [ab].out )
4664	# We found the default executable, but exeext='' is most
4665	# certainly right.
4666	break;;
4667    *.* )
4668	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4669	then :; else
4670	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4671	fi
4672	# We set ac_cv_exeext here because the later test for it is not
4673	# safe: cross compilers may not add the suffix if given an `-o'
4674	# argument, so we may need to know it at that point already.
4675	# Even if this section looks crufty: it has the advantage of
4676	# actually working.
4677	break;;
4678    * )
4679	break;;
4680  esac
4681done
4682test "$ac_cv_exeext" = no && ac_cv_exeext=
4683
4684else
4685  ac_file=''
4686fi
4687if test -z "$ac_file"; then :
4688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689$as_echo "no" >&6; }
4690$as_echo "$as_me: failed program was:" >&5
4691sed 's/^/| /' conftest.$ac_ext >&5
4692
4693{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4694$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4695as_fn_error 77 "C compiler cannot create executables
4696See \`config.log' for more details" "$LINENO" 5; }
4697else
4698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4699$as_echo "yes" >&6; }
4700fi
4701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4702$as_echo_n "checking for C compiler default output file name... " >&6; }
4703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4704$as_echo "$ac_file" >&6; }
4705ac_exeext=$ac_cv_exeext
4706
4707rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4708ac_clean_files=$ac_clean_files_save
4709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4710$as_echo_n "checking for suffix of executables... " >&6; }
4711if { { ac_try="$ac_link"
4712case "(($ac_try" in
4713  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4714  *) ac_try_echo=$ac_try;;
4715esac
4716eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4717$as_echo "$ac_try_echo"; } >&5
4718  (eval "$ac_link") 2>&5
4719  ac_status=$?
4720  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4721  test $ac_status = 0; }; then :
4722  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4723# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4724# work properly (i.e., refer to `conftest.exe'), while it won't with
4725# `rm'.
4726for ac_file in conftest.exe conftest conftest.*; do
4727  test -f "$ac_file" || continue
4728  case $ac_file in
4729    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4730    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4731	  break;;
4732    * ) break;;
4733  esac
4734done
4735else
4736  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4737$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4738as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4739See \`config.log' for more details" "$LINENO" 5; }
4740fi
4741rm -f conftest conftest$ac_cv_exeext
4742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4743$as_echo "$ac_cv_exeext" >&6; }
4744
4745rm -f conftest.$ac_ext
4746EXEEXT=$ac_cv_exeext
4747ac_exeext=$EXEEXT
4748cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4749/* end confdefs.h.  */
4750#include <stdio.h>
4751int
4752main ()
4753{
4754FILE *f = fopen ("conftest.out", "w");
4755 return ferror (f) || fclose (f) != 0;
4756
4757  ;
4758  return 0;
4759}
4760_ACEOF
4761ac_clean_files="$ac_clean_files conftest.out"
4762# Check that the compiler produces executables we can run.  If not, either
4763# the compiler is broken, or we cross compile.
4764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4765$as_echo_n "checking whether we are cross compiling... " >&6; }
4766if test "$cross_compiling" != yes; then
4767  { { ac_try="$ac_link"
4768case "(($ac_try" in
4769  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4770  *) ac_try_echo=$ac_try;;
4771esac
4772eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4773$as_echo "$ac_try_echo"; } >&5
4774  (eval "$ac_link") 2>&5
4775  ac_status=$?
4776  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4777  test $ac_status = 0; }
4778  if { ac_try='./conftest$ac_cv_exeext'
4779  { { case "(($ac_try" in
4780  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4781  *) ac_try_echo=$ac_try;;
4782esac
4783eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4784$as_echo "$ac_try_echo"; } >&5
4785  (eval "$ac_try") 2>&5
4786  ac_status=$?
4787  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4788  test $ac_status = 0; }; }; then
4789    cross_compiling=no
4790  else
4791    if test "$cross_compiling" = maybe; then
4792	cross_compiling=yes
4793    else
4794	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4795$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4796as_fn_error $? "cannot run C compiled programs.
4797If you meant to cross compile, use \`--host'.
4798See \`config.log' for more details" "$LINENO" 5; }
4799    fi
4800  fi
4801fi
4802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4803$as_echo "$cross_compiling" >&6; }
4804
4805rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4806ac_clean_files=$ac_clean_files_save
4807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4808$as_echo_n "checking for suffix of object files... " >&6; }
4809if ${ac_cv_objext+:} false; then :
4810  $as_echo_n "(cached) " >&6
4811else
4812  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4813/* end confdefs.h.  */
4814
4815int
4816main ()
4817{
4818
4819  ;
4820  return 0;
4821}
4822_ACEOF
4823rm -f conftest.o conftest.obj
4824if { { ac_try="$ac_compile"
4825case "(($ac_try" in
4826  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4827  *) ac_try_echo=$ac_try;;
4828esac
4829eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4830$as_echo "$ac_try_echo"; } >&5
4831  (eval "$ac_compile") 2>&5
4832  ac_status=$?
4833  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4834  test $ac_status = 0; }; then :
4835  for ac_file in conftest.o conftest.obj conftest.*; do
4836  test -f "$ac_file" || continue;
4837  case $ac_file in
4838    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4839    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4840       break;;
4841  esac
4842done
4843else
4844  $as_echo "$as_me: failed program was:" >&5
4845sed 's/^/| /' conftest.$ac_ext >&5
4846
4847{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4848$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4849as_fn_error $? "cannot compute suffix of object files: cannot compile
4850See \`config.log' for more details" "$LINENO" 5; }
4851fi
4852rm -f conftest.$ac_cv_objext conftest.$ac_ext
4853fi
4854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4855$as_echo "$ac_cv_objext" >&6; }
4856OBJEXT=$ac_cv_objext
4857ac_objext=$OBJEXT
4858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4859$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4860if ${ac_cv_c_compiler_gnu+:} false; then :
4861  $as_echo_n "(cached) " >&6
4862else
4863  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864/* end confdefs.h.  */
4865
4866int
4867main ()
4868{
4869#ifndef __GNUC__
4870       choke me
4871#endif
4872
4873  ;
4874  return 0;
4875}
4876_ACEOF
4877if ac_fn_c_try_compile "$LINENO"; then :
4878  ac_compiler_gnu=yes
4879else
4880  ac_compiler_gnu=no
4881fi
4882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4883ac_cv_c_compiler_gnu=$ac_compiler_gnu
4884
4885fi
4886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4887$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4888if test $ac_compiler_gnu = yes; then
4889  GCC=yes
4890else
4891  GCC=
4892fi
4893ac_test_CFLAGS=${CFLAGS+set}
4894ac_save_CFLAGS=$CFLAGS
4895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4896$as_echo_n "checking whether $CC accepts -g... " >&6; }
4897if ${ac_cv_prog_cc_g+:} false; then :
4898  $as_echo_n "(cached) " >&6
4899else
4900  ac_save_c_werror_flag=$ac_c_werror_flag
4901   ac_c_werror_flag=yes
4902   ac_cv_prog_cc_g=no
4903   CFLAGS="-g"
4904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905/* end confdefs.h.  */
4906
4907int
4908main ()
4909{
4910
4911  ;
4912  return 0;
4913}
4914_ACEOF
4915if ac_fn_c_try_compile "$LINENO"; then :
4916  ac_cv_prog_cc_g=yes
4917else
4918  CFLAGS=""
4919      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4920/* end confdefs.h.  */
4921
4922int
4923main ()
4924{
4925
4926  ;
4927  return 0;
4928}
4929_ACEOF
4930if ac_fn_c_try_compile "$LINENO"; then :
4931
4932else
4933  ac_c_werror_flag=$ac_save_c_werror_flag
4934	 CFLAGS="-g"
4935	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4936/* end confdefs.h.  */
4937
4938int
4939main ()
4940{
4941
4942  ;
4943  return 0;
4944}
4945_ACEOF
4946if ac_fn_c_try_compile "$LINENO"; then :
4947  ac_cv_prog_cc_g=yes
4948fi
4949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4950fi
4951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4952fi
4953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4954   ac_c_werror_flag=$ac_save_c_werror_flag
4955fi
4956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4957$as_echo "$ac_cv_prog_cc_g" >&6; }
4958if test "$ac_test_CFLAGS" = set; then
4959  CFLAGS=$ac_save_CFLAGS
4960elif test $ac_cv_prog_cc_g = yes; then
4961  if test "$GCC" = yes; then
4962    CFLAGS="-g -O2"
4963  else
4964    CFLAGS="-g"
4965  fi
4966else
4967  if test "$GCC" = yes; then
4968    CFLAGS="-O2"
4969  else
4970    CFLAGS=
4971  fi
4972fi
4973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4974$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4975if ${ac_cv_prog_cc_c89+:} false; then :
4976  $as_echo_n "(cached) " >&6
4977else
4978  ac_cv_prog_cc_c89=no
4979ac_save_CC=$CC
4980cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4981/* end confdefs.h.  */
4982#include <stdarg.h>
4983#include <stdio.h>
4984struct stat;
4985/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4986struct buf { int x; };
4987FILE * (*rcsopen) (struct buf *, struct stat *, int);
4988static char *e (p, i)
4989     char **p;
4990     int i;
4991{
4992  return p[i];
4993}
4994static char *f (char * (*g) (char **, int), char **p, ...)
4995{
4996  char *s;
4997  va_list v;
4998  va_start (v,p);
4999  s = g (p, va_arg (v,int));
5000  va_end (v);
5001  return s;
5002}
5003
5004/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5005   function prototypes and stuff, but not '\xHH' hex character constants.
5006   These don't provoke an error unfortunately, instead are silently treated
5007   as 'x'.  The following induces an error, until -std is added to get
5008   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5009   array size at least.  It's necessary to write '\x00'==0 to get something
5010   that's true only with -std.  */
5011int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5012
5013/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5014   inside strings and character constants.  */
5015#define FOO(x) 'x'
5016int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5017
5018int test (int i, double x);
5019struct s1 {int (*f) (int a);};
5020struct s2 {int (*f) (double a);};
5021int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5022int argc;
5023char **argv;
5024int
5025main ()
5026{
5027return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5028  ;
5029  return 0;
5030}
5031_ACEOF
5032for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5033	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5034do
5035  CC="$ac_save_CC $ac_arg"
5036  if ac_fn_c_try_compile "$LINENO"; then :
5037  ac_cv_prog_cc_c89=$ac_arg
5038fi
5039rm -f core conftest.err conftest.$ac_objext
5040  test "x$ac_cv_prog_cc_c89" != "xno" && break
5041done
5042rm -f conftest.$ac_ext
5043CC=$ac_save_CC
5044
5045fi
5046# AC_CACHE_VAL
5047case "x$ac_cv_prog_cc_c89" in
5048  x)
5049    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5050$as_echo "none needed" >&6; } ;;
5051  xno)
5052    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5053$as_echo "unsupported" >&6; } ;;
5054  *)
5055    CC="$CC $ac_cv_prog_cc_c89"
5056    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5057$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5058esac
5059if test "x$ac_cv_prog_cc_c89" != xno; then :
5060
5061fi
5062
5063ac_ext=c
5064ac_cpp='$CPP $CPPFLAGS'
5065ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5066ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5067ac_compiler_gnu=$ac_cv_c_compiler_gnu
5068
5069ac_ext=c
5070ac_cpp='$CPP $CPPFLAGS'
5071ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5072ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5073ac_compiler_gnu=$ac_cv_c_compiler_gnu
5074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5075$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5076if ${am_cv_prog_cc_c_o+:} false; then :
5077  $as_echo_n "(cached) " >&6
5078else
5079  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5080/* end confdefs.h.  */
5081
5082int
5083main ()
5084{
5085
5086  ;
5087  return 0;
5088}
5089_ACEOF
5090  # Make sure it works both with $CC and with simple cc.
5091  # Following AC_PROG_CC_C_O, we do the test twice because some
5092  # compilers refuse to overwrite an existing .o file with -o,
5093  # though they will create one.
5094  am_cv_prog_cc_c_o=yes
5095  for am_i in 1 2; do
5096    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5097   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5098   ac_status=$?
5099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100   (exit $ac_status); } \
5101         && test -f conftest2.$ac_objext; then
5102      : OK
5103    else
5104      am_cv_prog_cc_c_o=no
5105      break
5106    fi
5107  done
5108  rm -f core conftest*
5109  unset am_i
5110fi
5111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5112$as_echo "$am_cv_prog_cc_c_o" >&6; }
5113if test "$am_cv_prog_cc_c_o" != yes; then
5114   # Losing compiler, so override with the script.
5115   # FIXME: It is wrong to rewrite CC.
5116   # But if we don't then we get into trouble of one sort or another.
5117   # A longer-term fix would be to have automake use am__CC in this case,
5118   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5119   CC="$am_aux_dir/compile $CC"
5120fi
5121ac_ext=c
5122ac_cpp='$CPP $CPPFLAGS'
5123ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5124ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5125ac_compiler_gnu=$ac_cv_c_compiler_gnu
5126
5127
5128depcc="$CC"   am_compiler_list=
5129
5130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5131$as_echo_n "checking dependency style of $depcc... " >&6; }
5132if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5133  $as_echo_n "(cached) " >&6
5134else
5135  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5136  # We make a subdir and do the tests there.  Otherwise we can end up
5137  # making bogus files that we don't know about and never remove.  For
5138  # instance it was reported that on HP-UX the gcc test will end up
5139  # making a dummy file named 'D' -- because '-MD' means "put the output
5140  # in D".
5141  rm -rf conftest.dir
5142  mkdir conftest.dir
5143  # Copy depcomp to subdir because otherwise we won't find it if we're
5144  # using a relative directory.
5145  cp "$am_depcomp" conftest.dir
5146  cd conftest.dir
5147  # We will build objects and dependencies in a subdirectory because
5148  # it helps to detect inapplicable dependency modes.  For instance
5149  # both Tru64's cc and ICC support -MD to output dependencies as a
5150  # side effect of compilation, but ICC will put the dependencies in
5151  # the current directory while Tru64 will put them in the object
5152  # directory.
5153  mkdir sub
5154
5155  am_cv_CC_dependencies_compiler_type=none
5156  if test "$am_compiler_list" = ""; then
5157     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5158  fi
5159  am__universal=false
5160  case " $depcc " in #(
5161     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5162     esac
5163
5164  for depmode in $am_compiler_list; do
5165    # Setup a source with many dependencies, because some compilers
5166    # like to wrap large dependency lists on column 80 (with \), and
5167    # we should not choose a depcomp mode which is confused by this.
5168    #
5169    # We need to recreate these files for each test, as the compiler may
5170    # overwrite some of them when testing with obscure command lines.
5171    # This happens at least with the AIX C compiler.
5172    : > sub/conftest.c
5173    for i in 1 2 3 4 5 6; do
5174      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5175      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5176      # Solaris 10 /bin/sh.
5177      echo '/* dummy */' > sub/conftst$i.h
5178    done
5179    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5180
5181    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5182    # mode.  It turns out that the SunPro C++ compiler does not properly
5183    # handle '-M -o', and we need to detect this.  Also, some Intel
5184    # versions had trouble with output in subdirs.
5185    am__obj=sub/conftest.${OBJEXT-o}
5186    am__minus_obj="-o $am__obj"
5187    case $depmode in
5188    gcc)
5189      # This depmode causes a compiler race in universal mode.
5190      test "$am__universal" = false || continue
5191      ;;
5192    nosideeffect)
5193      # After this tag, mechanisms are not by side-effect, so they'll
5194      # only be used when explicitly requested.
5195      if test "x$enable_dependency_tracking" = xyes; then
5196	continue
5197      else
5198	break
5199      fi
5200      ;;
5201    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5202      # This compiler won't grok '-c -o', but also, the minuso test has
5203      # not run yet.  These depmodes are late enough in the game, and
5204      # so weak that their functioning should not be impacted.
5205      am__obj=conftest.${OBJEXT-o}
5206      am__minus_obj=
5207      ;;
5208    none) break ;;
5209    esac
5210    if depmode=$depmode \
5211       source=sub/conftest.c object=$am__obj \
5212       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5213       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5214         >/dev/null 2>conftest.err &&
5215       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5216       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5217       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5218       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5219      # icc doesn't choke on unknown options, it will just issue warnings
5220      # or remarks (even with -Werror).  So we grep stderr for any message
5221      # that says an option was ignored or not supported.
5222      # When given -MP, icc 7.0 and 7.1 complain thusly:
5223      #   icc: Command line warning: ignoring option '-M'; no argument required
5224      # The diagnosis changed in icc 8.0:
5225      #   icc: Command line remark: option '-MP' not supported
5226      if (grep 'ignoring option' conftest.err ||
5227          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5228        am_cv_CC_dependencies_compiler_type=$depmode
5229        break
5230      fi
5231    fi
5232  done
5233
5234  cd ..
5235  rm -rf conftest.dir
5236else
5237  am_cv_CC_dependencies_compiler_type=none
5238fi
5239
5240fi
5241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5242$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5243CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5244
5245 if
5246  test "x$enable_dependency_tracking" != xno \
5247  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5248  am__fastdepCC_TRUE=
5249  am__fastdepCC_FALSE='#'
5250else
5251  am__fastdepCC_TRUE='#'
5252  am__fastdepCC_FALSE=
5253fi
5254
5255
5256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5257$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5258if ${ac_cv_path_SED+:} false; then :
5259  $as_echo_n "(cached) " >&6
5260else
5261            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5262     for ac_i in 1 2 3 4 5 6 7; do
5263       ac_script="$ac_script$as_nl$ac_script"
5264     done
5265     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5266     { ac_script=; unset ac_script;}
5267     if test -z "$SED"; then
5268  ac_path_SED_found=false
5269  # Loop through the user's path and test for each of PROGNAME-LIST
5270  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271for as_dir in $PATH
5272do
5273  IFS=$as_save_IFS
5274  test -z "$as_dir" && as_dir=.
5275    for ac_prog in sed gsed; do
5276    for ac_exec_ext in '' $ac_executable_extensions; do
5277      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5278      as_fn_executable_p "$ac_path_SED" || continue
5279# Check for GNU ac_path_SED and select it if it is found.
5280  # Check for GNU $ac_path_SED
5281case `"$ac_path_SED" --version 2>&1` in
5282*GNU*)
5283  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5284*)
5285  ac_count=0
5286  $as_echo_n 0123456789 >"conftest.in"
5287  while :
5288  do
5289    cat "conftest.in" "conftest.in" >"conftest.tmp"
5290    mv "conftest.tmp" "conftest.in"
5291    cp "conftest.in" "conftest.nl"
5292    $as_echo '' >> "conftest.nl"
5293    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5294    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5295    as_fn_arith $ac_count + 1 && ac_count=$as_val
5296    if test $ac_count -gt ${ac_path_SED_max-0}; then
5297      # Best one so far, save it but keep looking for a better one
5298      ac_cv_path_SED="$ac_path_SED"
5299      ac_path_SED_max=$ac_count
5300    fi
5301    # 10*(2^10) chars as input seems more than enough
5302    test $ac_count -gt 10 && break
5303  done
5304  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5305esac
5306
5307      $ac_path_SED_found && break 3
5308    done
5309  done
5310  done
5311IFS=$as_save_IFS
5312  if test -z "$ac_cv_path_SED"; then
5313    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5314  fi
5315else
5316  ac_cv_path_SED=$SED
5317fi
5318
5319fi
5320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5321$as_echo "$ac_cv_path_SED" >&6; }
5322 SED="$ac_cv_path_SED"
5323  rm -f conftest.sed
5324
5325test -z "$SED" && SED=sed
5326Xsed="$SED -e 1s/^X//"
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5339$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5340if ${ac_cv_path_GREP+:} false; then :
5341  $as_echo_n "(cached) " >&6
5342else
5343  if test -z "$GREP"; then
5344  ac_path_GREP_found=false
5345  # Loop through the user's path and test for each of PROGNAME-LIST
5346  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5348do
5349  IFS=$as_save_IFS
5350  test -z "$as_dir" && as_dir=.
5351    for ac_prog in grep ggrep; do
5352    for ac_exec_ext in '' $ac_executable_extensions; do
5353      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5354      as_fn_executable_p "$ac_path_GREP" || continue
5355# Check for GNU ac_path_GREP and select it if it is found.
5356  # Check for GNU $ac_path_GREP
5357case `"$ac_path_GREP" --version 2>&1` in
5358*GNU*)
5359  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5360*)
5361  ac_count=0
5362  $as_echo_n 0123456789 >"conftest.in"
5363  while :
5364  do
5365    cat "conftest.in" "conftest.in" >"conftest.tmp"
5366    mv "conftest.tmp" "conftest.in"
5367    cp "conftest.in" "conftest.nl"
5368    $as_echo 'GREP' >> "conftest.nl"
5369    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5370    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5371    as_fn_arith $ac_count + 1 && ac_count=$as_val
5372    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5373      # Best one so far, save it but keep looking for a better one
5374      ac_cv_path_GREP="$ac_path_GREP"
5375      ac_path_GREP_max=$ac_count
5376    fi
5377    # 10*(2^10) chars as input seems more than enough
5378    test $ac_count -gt 10 && break
5379  done
5380  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5381esac
5382
5383      $ac_path_GREP_found && break 3
5384    done
5385  done
5386  done
5387IFS=$as_save_IFS
5388  if test -z "$ac_cv_path_GREP"; then
5389    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5390  fi
5391else
5392  ac_cv_path_GREP=$GREP
5393fi
5394
5395fi
5396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5397$as_echo "$ac_cv_path_GREP" >&6; }
5398 GREP="$ac_cv_path_GREP"
5399
5400
5401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5402$as_echo_n "checking for egrep... " >&6; }
5403if ${ac_cv_path_EGREP+:} false; then :
5404  $as_echo_n "(cached) " >&6
5405else
5406  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5407   then ac_cv_path_EGREP="$GREP -E"
5408   else
5409     if test -z "$EGREP"; then
5410  ac_path_EGREP_found=false
5411  # Loop through the user's path and test for each of PROGNAME-LIST
5412  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5414do
5415  IFS=$as_save_IFS
5416  test -z "$as_dir" && as_dir=.
5417    for ac_prog in egrep; do
5418    for ac_exec_ext in '' $ac_executable_extensions; do
5419      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5420      as_fn_executable_p "$ac_path_EGREP" || continue
5421# Check for GNU ac_path_EGREP and select it if it is found.
5422  # Check for GNU $ac_path_EGREP
5423case `"$ac_path_EGREP" --version 2>&1` in
5424*GNU*)
5425  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5426*)
5427  ac_count=0
5428  $as_echo_n 0123456789 >"conftest.in"
5429  while :
5430  do
5431    cat "conftest.in" "conftest.in" >"conftest.tmp"
5432    mv "conftest.tmp" "conftest.in"
5433    cp "conftest.in" "conftest.nl"
5434    $as_echo 'EGREP' >> "conftest.nl"
5435    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437    as_fn_arith $ac_count + 1 && ac_count=$as_val
5438    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5439      # Best one so far, save it but keep looking for a better one
5440      ac_cv_path_EGREP="$ac_path_EGREP"
5441      ac_path_EGREP_max=$ac_count
5442    fi
5443    # 10*(2^10) chars as input seems more than enough
5444    test $ac_count -gt 10 && break
5445  done
5446  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5447esac
5448
5449      $ac_path_EGREP_found && break 3
5450    done
5451  done
5452  done
5453IFS=$as_save_IFS
5454  if test -z "$ac_cv_path_EGREP"; then
5455    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5456  fi
5457else
5458  ac_cv_path_EGREP=$EGREP
5459fi
5460
5461   fi
5462fi
5463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5464$as_echo "$ac_cv_path_EGREP" >&6; }
5465 EGREP="$ac_cv_path_EGREP"
5466
5467
5468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5469$as_echo_n "checking for fgrep... " >&6; }
5470if ${ac_cv_path_FGREP+:} false; then :
5471  $as_echo_n "(cached) " >&6
5472else
5473  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5474   then ac_cv_path_FGREP="$GREP -F"
5475   else
5476     if test -z "$FGREP"; then
5477  ac_path_FGREP_found=false
5478  # Loop through the user's path and test for each of PROGNAME-LIST
5479  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5481do
5482  IFS=$as_save_IFS
5483  test -z "$as_dir" && as_dir=.
5484    for ac_prog in fgrep; do
5485    for ac_exec_ext in '' $ac_executable_extensions; do
5486      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5487      as_fn_executable_p "$ac_path_FGREP" || continue
5488# Check for GNU ac_path_FGREP and select it if it is found.
5489  # Check for GNU $ac_path_FGREP
5490case `"$ac_path_FGREP" --version 2>&1` in
5491*GNU*)
5492  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5493*)
5494  ac_count=0
5495  $as_echo_n 0123456789 >"conftest.in"
5496  while :
5497  do
5498    cat "conftest.in" "conftest.in" >"conftest.tmp"
5499    mv "conftest.tmp" "conftest.in"
5500    cp "conftest.in" "conftest.nl"
5501    $as_echo 'FGREP' >> "conftest.nl"
5502    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5503    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5504    as_fn_arith $ac_count + 1 && ac_count=$as_val
5505    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5506      # Best one so far, save it but keep looking for a better one
5507      ac_cv_path_FGREP="$ac_path_FGREP"
5508      ac_path_FGREP_max=$ac_count
5509    fi
5510    # 10*(2^10) chars as input seems more than enough
5511    test $ac_count -gt 10 && break
5512  done
5513  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5514esac
5515
5516      $ac_path_FGREP_found && break 3
5517    done
5518  done
5519  done
5520IFS=$as_save_IFS
5521  if test -z "$ac_cv_path_FGREP"; then
5522    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5523  fi
5524else
5525  ac_cv_path_FGREP=$FGREP
5526fi
5527
5528   fi
5529fi
5530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5531$as_echo "$ac_cv_path_FGREP" >&6; }
5532 FGREP="$ac_cv_path_FGREP"
5533
5534
5535test -z "$GREP" && GREP=grep
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555# Check whether --with-gnu-ld was given.
5556if test "${with_gnu_ld+set}" = set; then :
5557  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5558else
5559  with_gnu_ld=no
5560fi
5561
5562ac_prog=ld
5563if test yes = "$GCC"; then
5564  # Check if gcc -print-prog-name=ld gives a path.
5565  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5566$as_echo_n "checking for ld used by $CC... " >&6; }
5567  case $host in
5568  *-*-mingw*)
5569    # gcc leaves a trailing carriage return, which upsets mingw
5570    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5571  *)
5572    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5573  esac
5574  case $ac_prog in
5575    # Accept absolute paths.
5576    [\\/]* | ?:[\\/]*)
5577      re_direlt='/[^/][^/]*/\.\./'
5578      # Canonicalize the pathname of ld
5579      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5580      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5581	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5582      done
5583      test -z "$LD" && LD=$ac_prog
5584      ;;
5585  "")
5586    # If it fails, then pretend we aren't using GCC.
5587    ac_prog=ld
5588    ;;
5589  *)
5590    # If it is relative, then search for the first ld in PATH.
5591    with_gnu_ld=unknown
5592    ;;
5593  esac
5594elif test yes = "$with_gnu_ld"; then
5595  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5596$as_echo_n "checking for GNU ld... " >&6; }
5597else
5598  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5599$as_echo_n "checking for non-GNU ld... " >&6; }
5600fi
5601if ${lt_cv_path_LD+:} false; then :
5602  $as_echo_n "(cached) " >&6
5603else
5604  if test -z "$LD"; then
5605  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5606  for ac_dir in $PATH; do
5607    IFS=$lt_save_ifs
5608    test -z "$ac_dir" && ac_dir=.
5609    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5610      lt_cv_path_LD=$ac_dir/$ac_prog
5611      # Check to see if the program is GNU ld.  I'd rather use --version,
5612      # but apparently some variants of GNU ld only accept -v.
5613      # Break only if it was the GNU/non-GNU ld that we prefer.
5614      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5615      *GNU* | *'with BFD'*)
5616	test no != "$with_gnu_ld" && break
5617	;;
5618      *)
5619	test yes != "$with_gnu_ld" && break
5620	;;
5621      esac
5622    fi
5623  done
5624  IFS=$lt_save_ifs
5625else
5626  lt_cv_path_LD=$LD # Let the user override the test with a path.
5627fi
5628fi
5629
5630LD=$lt_cv_path_LD
5631if test -n "$LD"; then
5632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5633$as_echo "$LD" >&6; }
5634else
5635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636$as_echo "no" >&6; }
5637fi
5638test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5640$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5641if ${lt_cv_prog_gnu_ld+:} false; then :
5642  $as_echo_n "(cached) " >&6
5643else
5644  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5645case `$LD -v 2>&1 </dev/null` in
5646*GNU* | *'with BFD'*)
5647  lt_cv_prog_gnu_ld=yes
5648  ;;
5649*)
5650  lt_cv_prog_gnu_ld=no
5651  ;;
5652esac
5653fi
5654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5655$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5656with_gnu_ld=$lt_cv_prog_gnu_ld
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5667$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5668if ${lt_cv_path_NM+:} false; then :
5669  $as_echo_n "(cached) " >&6
5670else
5671  if test -n "$NM"; then
5672  # Let the user override the test.
5673  lt_cv_path_NM=$NM
5674else
5675  lt_nm_to_check=${ac_tool_prefix}nm
5676  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5677    lt_nm_to_check="$lt_nm_to_check nm"
5678  fi
5679  for lt_tmp_nm in $lt_nm_to_check; do
5680    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5681    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5682      IFS=$lt_save_ifs
5683      test -z "$ac_dir" && ac_dir=.
5684      tmp_nm=$ac_dir/$lt_tmp_nm
5685      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5686	# Check to see if the nm accepts a BSD-compat flag.
5687	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5688	#   nm: unknown option "B" ignored
5689	# Tru64's nm complains that /dev/null is an invalid object file
5690	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5691	case $build_os in
5692	mingw*) lt_bad_file=conftest.nm/nofile ;;
5693	*) lt_bad_file=/dev/null ;;
5694	esac
5695	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5696	*$lt_bad_file* | *'Invalid file or object type'*)
5697	  lt_cv_path_NM="$tmp_nm -B"
5698	  break 2
5699	  ;;
5700	*)
5701	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5702	  */dev/null*)
5703	    lt_cv_path_NM="$tmp_nm -p"
5704	    break 2
5705	    ;;
5706	  *)
5707	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5708	    continue # so that we can try to find one that supports BSD flags
5709	    ;;
5710	  esac
5711	  ;;
5712	esac
5713      fi
5714    done
5715    IFS=$lt_save_ifs
5716  done
5717  : ${lt_cv_path_NM=no}
5718fi
5719fi
5720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5721$as_echo "$lt_cv_path_NM" >&6; }
5722if test no != "$lt_cv_path_NM"; then
5723  NM=$lt_cv_path_NM
5724else
5725  # Didn't find any BSD compatible name lister, look for dumpbin.
5726  if test -n "$DUMPBIN"; then :
5727    # Let the user override the test.
5728  else
5729    if test -n "$ac_tool_prefix"; then
5730  for ac_prog in dumpbin "link -dump"
5731  do
5732    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5733set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735$as_echo_n "checking for $ac_word... " >&6; }
5736if ${ac_cv_prog_DUMPBIN+:} false; then :
5737  $as_echo_n "(cached) " >&6
5738else
5739  if test -n "$DUMPBIN"; then
5740  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5741else
5742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743for as_dir in $PATH
5744do
5745  IFS=$as_save_IFS
5746  test -z "$as_dir" && as_dir=.
5747    for ac_exec_ext in '' $ac_executable_extensions; do
5748  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5749    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5750    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751    break 2
5752  fi
5753done
5754  done
5755IFS=$as_save_IFS
5756
5757fi
5758fi
5759DUMPBIN=$ac_cv_prog_DUMPBIN
5760if test -n "$DUMPBIN"; then
5761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5762$as_echo "$DUMPBIN" >&6; }
5763else
5764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765$as_echo "no" >&6; }
5766fi
5767
5768
5769    test -n "$DUMPBIN" && break
5770  done
5771fi
5772if test -z "$DUMPBIN"; then
5773  ac_ct_DUMPBIN=$DUMPBIN
5774  for ac_prog in dumpbin "link -dump"
5775do
5776  # Extract the first word of "$ac_prog", so it can be a program name with args.
5777set dummy $ac_prog; ac_word=$2
5778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779$as_echo_n "checking for $ac_word... " >&6; }
5780if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5781  $as_echo_n "(cached) " >&6
5782else
5783  if test -n "$ac_ct_DUMPBIN"; then
5784  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5785else
5786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787for as_dir in $PATH
5788do
5789  IFS=$as_save_IFS
5790  test -z "$as_dir" && as_dir=.
5791    for ac_exec_ext in '' $ac_executable_extensions; do
5792  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5793    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5794    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795    break 2
5796  fi
5797done
5798  done
5799IFS=$as_save_IFS
5800
5801fi
5802fi
5803ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5804if test -n "$ac_ct_DUMPBIN"; then
5805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5806$as_echo "$ac_ct_DUMPBIN" >&6; }
5807else
5808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809$as_echo "no" >&6; }
5810fi
5811
5812
5813  test -n "$ac_ct_DUMPBIN" && break
5814done
5815
5816  if test "x$ac_ct_DUMPBIN" = x; then
5817    DUMPBIN=":"
5818  else
5819    case $cross_compiling:$ac_tool_warned in
5820yes:)
5821{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823ac_tool_warned=yes ;;
5824esac
5825    DUMPBIN=$ac_ct_DUMPBIN
5826  fi
5827fi
5828
5829    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5830    *COFF*)
5831      DUMPBIN="$DUMPBIN -symbols -headers"
5832      ;;
5833    *)
5834      DUMPBIN=:
5835      ;;
5836    esac
5837  fi
5838
5839  if test : != "$DUMPBIN"; then
5840    NM=$DUMPBIN
5841  fi
5842fi
5843test -z "$NM" && NM=nm
5844
5845
5846
5847
5848
5849
5850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5851$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5852if ${lt_cv_nm_interface+:} false; then :
5853  $as_echo_n "(cached) " >&6
5854else
5855  lt_cv_nm_interface="BSD nm"
5856  echo "int some_variable = 0;" > conftest.$ac_ext
5857  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5858  (eval "$ac_compile" 2>conftest.err)
5859  cat conftest.err >&5
5860  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5861  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5862  cat conftest.err >&5
5863  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5864  cat conftest.out >&5
5865  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5866    lt_cv_nm_interface="MS dumpbin"
5867  fi
5868  rm -f conftest*
5869fi
5870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5871$as_echo "$lt_cv_nm_interface" >&6; }
5872
5873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5874$as_echo_n "checking whether ln -s works... " >&6; }
5875LN_S=$as_ln_s
5876if test "$LN_S" = "ln -s"; then
5877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5878$as_echo "yes" >&6; }
5879else
5880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5881$as_echo "no, using $LN_S" >&6; }
5882fi
5883
5884# find the maximum length of command line arguments
5885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5886$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5887if ${lt_cv_sys_max_cmd_len+:} false; then :
5888  $as_echo_n "(cached) " >&6
5889else
5890    i=0
5891  teststring=ABCD
5892
5893  case $build_os in
5894  msdosdjgpp*)
5895    # On DJGPP, this test can blow up pretty badly due to problems in libc
5896    # (any single argument exceeding 2000 bytes causes a buffer overrun
5897    # during glob expansion).  Even if it were fixed, the result of this
5898    # check would be larger than it should be.
5899    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5900    ;;
5901
5902  gnu*)
5903    # Under GNU Hurd, this test is not required because there is
5904    # no limit to the length of command line arguments.
5905    # Libtool will interpret -1 as no limit whatsoever
5906    lt_cv_sys_max_cmd_len=-1;
5907    ;;
5908
5909  cygwin* | mingw* | cegcc*)
5910    # On Win9x/ME, this test blows up -- it succeeds, but takes
5911    # about 5 minutes as the teststring grows exponentially.
5912    # Worse, since 9x/ME are not pre-emptively multitasking,
5913    # you end up with a "frozen" computer, even though with patience
5914    # the test eventually succeeds (with a max line length of 256k).
5915    # Instead, let's just punt: use the minimum linelength reported by
5916    # all of the supported platforms: 8192 (on NT/2K/XP).
5917    lt_cv_sys_max_cmd_len=8192;
5918    ;;
5919
5920  mint*)
5921    # On MiNT this can take a long time and run out of memory.
5922    lt_cv_sys_max_cmd_len=8192;
5923    ;;
5924
5925  amigaos*)
5926    # On AmigaOS with pdksh, this test takes hours, literally.
5927    # So we just punt and use a minimum line length of 8192.
5928    lt_cv_sys_max_cmd_len=8192;
5929    ;;
5930
5931  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5932    # This has been around since 386BSD, at least.  Likely further.
5933    if test -x /sbin/sysctl; then
5934      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5935    elif test -x /usr/sbin/sysctl; then
5936      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5937    else
5938      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5939    fi
5940    # And add a safety zone
5941    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5942    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5943    ;;
5944
5945  interix*)
5946    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5947    lt_cv_sys_max_cmd_len=196608
5948    ;;
5949
5950  os2*)
5951    # The test takes a long time on OS/2.
5952    lt_cv_sys_max_cmd_len=8192
5953    ;;
5954
5955  osf*)
5956    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5957    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5958    # nice to cause kernel panics so lets avoid the loop below.
5959    # First set a reasonable default.
5960    lt_cv_sys_max_cmd_len=16384
5961    #
5962    if test -x /sbin/sysconfig; then
5963      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5964        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5965      esac
5966    fi
5967    ;;
5968  sco3.2v5*)
5969    lt_cv_sys_max_cmd_len=102400
5970    ;;
5971  sysv5* | sco5v6* | sysv4.2uw2*)
5972    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5973    if test -n "$kargmax"; then
5974      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5975    else
5976      lt_cv_sys_max_cmd_len=32768
5977    fi
5978    ;;
5979  *)
5980    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5981    if test -n "$lt_cv_sys_max_cmd_len" && \
5982       test undefined != "$lt_cv_sys_max_cmd_len"; then
5983      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5984      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5985    else
5986      # Make teststring a little bigger before we do anything with it.
5987      # a 1K string should be a reasonable start.
5988      for i in 1 2 3 4 5 6 7 8; do
5989        teststring=$teststring$teststring
5990      done
5991      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5992      # If test is not a shell built-in, we'll probably end up computing a
5993      # maximum length that is only half of the actual maximum length, but
5994      # we can't tell.
5995      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5996	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5997	      test 17 != "$i" # 1/2 MB should be enough
5998      do
5999        i=`expr $i + 1`
6000        teststring=$teststring$teststring
6001      done
6002      # Only check the string length outside the loop.
6003      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6004      teststring=
6005      # Add a significant safety factor because C++ compilers can tack on
6006      # massive amounts of additional arguments before passing them to the
6007      # linker.  It appears as though 1/2 is a usable value.
6008      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6009    fi
6010    ;;
6011  esac
6012
6013fi
6014
6015if test -n "$lt_cv_sys_max_cmd_len"; then
6016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6017$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6018else
6019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6020$as_echo "none" >&6; }
6021fi
6022max_cmd_len=$lt_cv_sys_max_cmd_len
6023
6024
6025
6026
6027
6028
6029: ${CP="cp -f"}
6030: ${MV="mv -f"}
6031: ${RM="rm -f"}
6032
6033if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6034  lt_unset=unset
6035else
6036  lt_unset=false
6037fi
6038
6039
6040
6041
6042
6043# test EBCDIC or ASCII
6044case `echo X|tr X '\101'` in
6045 A) # ASCII based system
6046    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6047  lt_SP2NL='tr \040 \012'
6048  lt_NL2SP='tr \015\012 \040\040'
6049  ;;
6050 *) # EBCDIC based system
6051  lt_SP2NL='tr \100 \n'
6052  lt_NL2SP='tr \r\n \100\100'
6053  ;;
6054esac
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6065$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6066if ${lt_cv_to_host_file_cmd+:} false; then :
6067  $as_echo_n "(cached) " >&6
6068else
6069  case $host in
6070  *-*-mingw* )
6071    case $build in
6072      *-*-mingw* ) # actually msys
6073        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6074        ;;
6075      *-*-cygwin* )
6076        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6077        ;;
6078      * ) # otherwise, assume *nix
6079        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6080        ;;
6081    esac
6082    ;;
6083  *-*-cygwin* )
6084    case $build in
6085      *-*-mingw* ) # actually msys
6086        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6087        ;;
6088      *-*-cygwin* )
6089        lt_cv_to_host_file_cmd=func_convert_file_noop
6090        ;;
6091      * ) # otherwise, assume *nix
6092        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6093        ;;
6094    esac
6095    ;;
6096  * ) # unhandled hosts (and "normal" native builds)
6097    lt_cv_to_host_file_cmd=func_convert_file_noop
6098    ;;
6099esac
6100
6101fi
6102
6103to_host_file_cmd=$lt_cv_to_host_file_cmd
6104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6105$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6106
6107
6108
6109
6110
6111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6112$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6113if ${lt_cv_to_tool_file_cmd+:} false; then :
6114  $as_echo_n "(cached) " >&6
6115else
6116  #assume ordinary cross tools, or native build.
6117lt_cv_to_tool_file_cmd=func_convert_file_noop
6118case $host in
6119  *-*-mingw* )
6120    case $build in
6121      *-*-mingw* ) # actually msys
6122        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6123        ;;
6124    esac
6125    ;;
6126esac
6127
6128fi
6129
6130to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6132$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6133
6134
6135
6136
6137
6138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6139$as_echo_n "checking for $LD option to reload object files... " >&6; }
6140if ${lt_cv_ld_reload_flag+:} false; then :
6141  $as_echo_n "(cached) " >&6
6142else
6143  lt_cv_ld_reload_flag='-r'
6144fi
6145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6146$as_echo "$lt_cv_ld_reload_flag" >&6; }
6147reload_flag=$lt_cv_ld_reload_flag
6148case $reload_flag in
6149"" | " "*) ;;
6150*) reload_flag=" $reload_flag" ;;
6151esac
6152reload_cmds='$LD$reload_flag -o $output$reload_objs'
6153case $host_os in
6154  cygwin* | mingw* | pw32* | cegcc*)
6155    if test yes != "$GCC"; then
6156      reload_cmds=false
6157    fi
6158    ;;
6159  darwin*)
6160    if test yes = "$GCC"; then
6161      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6162    else
6163      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6164    fi
6165    ;;
6166esac
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176if test -n "$ac_tool_prefix"; then
6177  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6178set dummy ${ac_tool_prefix}objdump; ac_word=$2
6179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6180$as_echo_n "checking for $ac_word... " >&6; }
6181if ${ac_cv_prog_OBJDUMP+:} false; then :
6182  $as_echo_n "(cached) " >&6
6183else
6184  if test -n "$OBJDUMP"; then
6185  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6186else
6187as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6188for as_dir in $PATH
6189do
6190  IFS=$as_save_IFS
6191  test -z "$as_dir" && as_dir=.
6192    for ac_exec_ext in '' $ac_executable_extensions; do
6193  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6194    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6195    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6196    break 2
6197  fi
6198done
6199  done
6200IFS=$as_save_IFS
6201
6202fi
6203fi
6204OBJDUMP=$ac_cv_prog_OBJDUMP
6205if test -n "$OBJDUMP"; then
6206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6207$as_echo "$OBJDUMP" >&6; }
6208else
6209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6210$as_echo "no" >&6; }
6211fi
6212
6213
6214fi
6215if test -z "$ac_cv_prog_OBJDUMP"; then
6216  ac_ct_OBJDUMP=$OBJDUMP
6217  # Extract the first word of "objdump", so it can be a program name with args.
6218set dummy objdump; ac_word=$2
6219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6220$as_echo_n "checking for $ac_word... " >&6; }
6221if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6222  $as_echo_n "(cached) " >&6
6223else
6224  if test -n "$ac_ct_OBJDUMP"; then
6225  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6226else
6227as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6228for as_dir in $PATH
6229do
6230  IFS=$as_save_IFS
6231  test -z "$as_dir" && as_dir=.
6232    for ac_exec_ext in '' $ac_executable_extensions; do
6233  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6234    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6235    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6236    break 2
6237  fi
6238done
6239  done
6240IFS=$as_save_IFS
6241
6242fi
6243fi
6244ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6245if test -n "$ac_ct_OBJDUMP"; then
6246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6247$as_echo "$ac_ct_OBJDUMP" >&6; }
6248else
6249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6250$as_echo "no" >&6; }
6251fi
6252
6253  if test "x$ac_ct_OBJDUMP" = x; then
6254    OBJDUMP="false"
6255  else
6256    case $cross_compiling:$ac_tool_warned in
6257yes:)
6258{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6259$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6260ac_tool_warned=yes ;;
6261esac
6262    OBJDUMP=$ac_ct_OBJDUMP
6263  fi
6264else
6265  OBJDUMP="$ac_cv_prog_OBJDUMP"
6266fi
6267
6268test -z "$OBJDUMP" && OBJDUMP=objdump
6269
6270
6271
6272
6273
6274
6275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6276$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6277if ${lt_cv_deplibs_check_method+:} false; then :
6278  $as_echo_n "(cached) " >&6
6279else
6280  lt_cv_file_magic_cmd='$MAGIC_CMD'
6281lt_cv_file_magic_test_file=
6282lt_cv_deplibs_check_method='unknown'
6283# Need to set the preceding variable on all platforms that support
6284# interlibrary dependencies.
6285# 'none' -- dependencies not supported.
6286# 'unknown' -- same as none, but documents that we really don't know.
6287# 'pass_all' -- all dependencies passed with no checks.
6288# 'test_compile' -- check by making test program.
6289# 'file_magic [[regex]]' -- check by looking for files in library path
6290# that responds to the $file_magic_cmd with a given extended regex.
6291# If you have 'file' or equivalent on your system and you're not sure
6292# whether 'pass_all' will *always* work, you probably want this one.
6293
6294case $host_os in
6295aix[4-9]*)
6296  lt_cv_deplibs_check_method=pass_all
6297  ;;
6298
6299beos*)
6300  lt_cv_deplibs_check_method=pass_all
6301  ;;
6302
6303bsdi[45]*)
6304  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6305  lt_cv_file_magic_cmd='/usr/bin/file -L'
6306  lt_cv_file_magic_test_file=/shlib/libc.so
6307  ;;
6308
6309cygwin*)
6310  # func_win32_libid is a shell function defined in ltmain.sh
6311  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6312  lt_cv_file_magic_cmd='func_win32_libid'
6313  ;;
6314
6315mingw* | pw32*)
6316  # Base MSYS/MinGW do not provide the 'file' command needed by
6317  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6318  # unless we find 'file', for example because we are cross-compiling.
6319  if ( file / ) >/dev/null 2>&1; then
6320    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6321    lt_cv_file_magic_cmd='func_win32_libid'
6322  else
6323    # Keep this pattern in sync with the one in func_win32_libid.
6324    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6325    lt_cv_file_magic_cmd='$OBJDUMP -f'
6326  fi
6327  ;;
6328
6329cegcc*)
6330  # use the weaker test based on 'objdump'. See mingw*.
6331  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6332  lt_cv_file_magic_cmd='$OBJDUMP -f'
6333  ;;
6334
6335darwin* | rhapsody*)
6336  lt_cv_deplibs_check_method=pass_all
6337  ;;
6338
6339freebsd* | dragonfly*)
6340  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6341    case $host_cpu in
6342    i*86 )
6343      # Not sure whether the presence of OpenBSD here was a mistake.
6344      # Let's accept both of them until this is cleared up.
6345      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6346      lt_cv_file_magic_cmd=/usr/bin/file
6347      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6348      ;;
6349    esac
6350  else
6351    lt_cv_deplibs_check_method=pass_all
6352  fi
6353  ;;
6354
6355haiku*)
6356  lt_cv_deplibs_check_method=pass_all
6357  ;;
6358
6359hpux10.20* | hpux11*)
6360  lt_cv_file_magic_cmd=/usr/bin/file
6361  case $host_cpu in
6362  ia64*)
6363    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6364    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6365    ;;
6366  hppa*64*)
6367    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]'
6368    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6369    ;;
6370  *)
6371    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6372    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6373    ;;
6374  esac
6375  ;;
6376
6377interix[3-9]*)
6378  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6379  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6380  ;;
6381
6382irix5* | irix6* | nonstopux*)
6383  case $LD in
6384  *-32|*"-32 ") libmagic=32-bit;;
6385  *-n32|*"-n32 ") libmagic=N32;;
6386  *-64|*"-64 ") libmagic=64-bit;;
6387  *) libmagic=never-match;;
6388  esac
6389  lt_cv_deplibs_check_method=pass_all
6390  ;;
6391
6392# This must be glibc/ELF.
6393linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6394  lt_cv_deplibs_check_method=pass_all
6395  ;;
6396
6397netbsd* | netbsdelf*-gnu)
6398  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6399    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6400  else
6401    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6402  fi
6403  ;;
6404
6405newos6*)
6406  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6407  lt_cv_file_magic_cmd=/usr/bin/file
6408  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6409  ;;
6410
6411*nto* | *qnx*)
6412  lt_cv_deplibs_check_method=pass_all
6413  ;;
6414
6415openbsd* | bitrig*)
6416  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6417    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6418  else
6419    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6420  fi
6421  ;;
6422
6423osf3* | osf4* | osf5*)
6424  lt_cv_deplibs_check_method=pass_all
6425  ;;
6426
6427rdos*)
6428  lt_cv_deplibs_check_method=pass_all
6429  ;;
6430
6431solaris*)
6432  lt_cv_deplibs_check_method=pass_all
6433  ;;
6434
6435sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6436  lt_cv_deplibs_check_method=pass_all
6437  ;;
6438
6439sysv4 | sysv4.3*)
6440  case $host_vendor in
6441  motorola)
6442    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]'
6443    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6444    ;;
6445  ncr)
6446    lt_cv_deplibs_check_method=pass_all
6447    ;;
6448  sequent)
6449    lt_cv_file_magic_cmd='/bin/file'
6450    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6451    ;;
6452  sni)
6453    lt_cv_file_magic_cmd='/bin/file'
6454    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6455    lt_cv_file_magic_test_file=/lib/libc.so
6456    ;;
6457  siemens)
6458    lt_cv_deplibs_check_method=pass_all
6459    ;;
6460  pc)
6461    lt_cv_deplibs_check_method=pass_all
6462    ;;
6463  esac
6464  ;;
6465
6466tpf*)
6467  lt_cv_deplibs_check_method=pass_all
6468  ;;
6469os2*)
6470  lt_cv_deplibs_check_method=pass_all
6471  ;;
6472esac
6473
6474fi
6475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6476$as_echo "$lt_cv_deplibs_check_method" >&6; }
6477
6478file_magic_glob=
6479want_nocaseglob=no
6480if test "$build" = "$host"; then
6481  case $host_os in
6482  mingw* | pw32*)
6483    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6484      want_nocaseglob=yes
6485    else
6486      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6487    fi
6488    ;;
6489  esac
6490fi
6491
6492file_magic_cmd=$lt_cv_file_magic_cmd
6493deplibs_check_method=$lt_cv_deplibs_check_method
6494test -z "$deplibs_check_method" && deplibs_check_method=unknown
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517if test -n "$ac_tool_prefix"; then
6518  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6519set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6521$as_echo_n "checking for $ac_word... " >&6; }
6522if ${ac_cv_prog_DLLTOOL+:} false; then :
6523  $as_echo_n "(cached) " >&6
6524else
6525  if test -n "$DLLTOOL"; then
6526  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6527else
6528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529for as_dir in $PATH
6530do
6531  IFS=$as_save_IFS
6532  test -z "$as_dir" && as_dir=.
6533    for ac_exec_ext in '' $ac_executable_extensions; do
6534  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6535    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6536    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6537    break 2
6538  fi
6539done
6540  done
6541IFS=$as_save_IFS
6542
6543fi
6544fi
6545DLLTOOL=$ac_cv_prog_DLLTOOL
6546if test -n "$DLLTOOL"; then
6547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6548$as_echo "$DLLTOOL" >&6; }
6549else
6550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6551$as_echo "no" >&6; }
6552fi
6553
6554
6555fi
6556if test -z "$ac_cv_prog_DLLTOOL"; then
6557  ac_ct_DLLTOOL=$DLLTOOL
6558  # Extract the first word of "dlltool", so it can be a program name with args.
6559set dummy dlltool; ac_word=$2
6560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6561$as_echo_n "checking for $ac_word... " >&6; }
6562if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6563  $as_echo_n "(cached) " >&6
6564else
6565  if test -n "$ac_ct_DLLTOOL"; then
6566  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6567else
6568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6569for as_dir in $PATH
6570do
6571  IFS=$as_save_IFS
6572  test -z "$as_dir" && as_dir=.
6573    for ac_exec_ext in '' $ac_executable_extensions; do
6574  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6575    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6576    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6577    break 2
6578  fi
6579done
6580  done
6581IFS=$as_save_IFS
6582
6583fi
6584fi
6585ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6586if test -n "$ac_ct_DLLTOOL"; then
6587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6588$as_echo "$ac_ct_DLLTOOL" >&6; }
6589else
6590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6591$as_echo "no" >&6; }
6592fi
6593
6594  if test "x$ac_ct_DLLTOOL" = x; then
6595    DLLTOOL="false"
6596  else
6597    case $cross_compiling:$ac_tool_warned in
6598yes:)
6599{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6600$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6601ac_tool_warned=yes ;;
6602esac
6603    DLLTOOL=$ac_ct_DLLTOOL
6604  fi
6605else
6606  DLLTOOL="$ac_cv_prog_DLLTOOL"
6607fi
6608
6609test -z "$DLLTOOL" && DLLTOOL=dlltool
6610
6611
6612
6613
6614
6615
6616
6617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6618$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6619if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6620  $as_echo_n "(cached) " >&6
6621else
6622  lt_cv_sharedlib_from_linklib_cmd='unknown'
6623
6624case $host_os in
6625cygwin* | mingw* | pw32* | cegcc*)
6626  # two different shell functions defined in ltmain.sh;
6627  # decide which one to use based on capabilities of $DLLTOOL
6628  case `$DLLTOOL --help 2>&1` in
6629  *--identify-strict*)
6630    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6631    ;;
6632  *)
6633    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6634    ;;
6635  esac
6636  ;;
6637*)
6638  # fallback: assume linklib IS sharedlib
6639  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6640  ;;
6641esac
6642
6643fi
6644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6645$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6646sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6647test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6648
6649
6650
6651
6652
6653
6654
6655
6656if test -n "$ac_tool_prefix"; then
6657  for ac_prog in ar
6658  do
6659    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6660set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662$as_echo_n "checking for $ac_word... " >&6; }
6663if ${ac_cv_prog_AR+:} false; then :
6664  $as_echo_n "(cached) " >&6
6665else
6666  if test -n "$AR"; then
6667  ac_cv_prog_AR="$AR" # Let the user override the test.
6668else
6669as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670for as_dir in $PATH
6671do
6672  IFS=$as_save_IFS
6673  test -z "$as_dir" && as_dir=.
6674    for ac_exec_ext in '' $ac_executable_extensions; do
6675  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6676    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6677    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678    break 2
6679  fi
6680done
6681  done
6682IFS=$as_save_IFS
6683
6684fi
6685fi
6686AR=$ac_cv_prog_AR
6687if test -n "$AR"; then
6688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6689$as_echo "$AR" >&6; }
6690else
6691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692$as_echo "no" >&6; }
6693fi
6694
6695
6696    test -n "$AR" && break
6697  done
6698fi
6699if test -z "$AR"; then
6700  ac_ct_AR=$AR
6701  for ac_prog in ar
6702do
6703  # Extract the first word of "$ac_prog", so it can be a program name with args.
6704set dummy $ac_prog; ac_word=$2
6705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6706$as_echo_n "checking for $ac_word... " >&6; }
6707if ${ac_cv_prog_ac_ct_AR+:} false; then :
6708  $as_echo_n "(cached) " >&6
6709else
6710  if test -n "$ac_ct_AR"; then
6711  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6712else
6713as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6714for as_dir in $PATH
6715do
6716  IFS=$as_save_IFS
6717  test -z "$as_dir" && as_dir=.
6718    for ac_exec_ext in '' $ac_executable_extensions; do
6719  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6720    ac_cv_prog_ac_ct_AR="$ac_prog"
6721    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6722    break 2
6723  fi
6724done
6725  done
6726IFS=$as_save_IFS
6727
6728fi
6729fi
6730ac_ct_AR=$ac_cv_prog_ac_ct_AR
6731if test -n "$ac_ct_AR"; then
6732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6733$as_echo "$ac_ct_AR" >&6; }
6734else
6735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6736$as_echo "no" >&6; }
6737fi
6738
6739
6740  test -n "$ac_ct_AR" && break
6741done
6742
6743  if test "x$ac_ct_AR" = x; then
6744    AR="false"
6745  else
6746    case $cross_compiling:$ac_tool_warned in
6747yes:)
6748{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6749$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6750ac_tool_warned=yes ;;
6751esac
6752    AR=$ac_ct_AR
6753  fi
6754fi
6755
6756: ${AR=ar}
6757: ${AR_FLAGS=cru}
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6770$as_echo_n "checking for archiver @FILE support... " >&6; }
6771if ${lt_cv_ar_at_file+:} false; then :
6772  $as_echo_n "(cached) " >&6
6773else
6774  lt_cv_ar_at_file=no
6775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6776/* end confdefs.h.  */
6777
6778int
6779main ()
6780{
6781
6782  ;
6783  return 0;
6784}
6785_ACEOF
6786if ac_fn_c_try_compile "$LINENO"; then :
6787  echo conftest.$ac_objext > conftest.lst
6788      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6789      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6790  (eval $lt_ar_try) 2>&5
6791  ac_status=$?
6792  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6793  test $ac_status = 0; }
6794      if test 0 -eq "$ac_status"; then
6795	# Ensure the archiver fails upon bogus file names.
6796	rm -f conftest.$ac_objext libconftest.a
6797	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6798  (eval $lt_ar_try) 2>&5
6799  ac_status=$?
6800  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6801  test $ac_status = 0; }
6802	if test 0 -ne "$ac_status"; then
6803          lt_cv_ar_at_file=@
6804        fi
6805      fi
6806      rm -f conftest.* libconftest.a
6807
6808fi
6809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6810
6811fi
6812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6813$as_echo "$lt_cv_ar_at_file" >&6; }
6814
6815if test no = "$lt_cv_ar_at_file"; then
6816  archiver_list_spec=
6817else
6818  archiver_list_spec=$lt_cv_ar_at_file
6819fi
6820
6821
6822
6823
6824
6825
6826
6827if test -n "$ac_tool_prefix"; then
6828  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6829set dummy ${ac_tool_prefix}strip; ac_word=$2
6830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831$as_echo_n "checking for $ac_word... " >&6; }
6832if ${ac_cv_prog_STRIP+:} false; then :
6833  $as_echo_n "(cached) " >&6
6834else
6835  if test -n "$STRIP"; then
6836  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6837else
6838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839for as_dir in $PATH
6840do
6841  IFS=$as_save_IFS
6842  test -z "$as_dir" && as_dir=.
6843    for ac_exec_ext in '' $ac_executable_extensions; do
6844  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6845    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6846    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6847    break 2
6848  fi
6849done
6850  done
6851IFS=$as_save_IFS
6852
6853fi
6854fi
6855STRIP=$ac_cv_prog_STRIP
6856if test -n "$STRIP"; then
6857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6858$as_echo "$STRIP" >&6; }
6859else
6860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861$as_echo "no" >&6; }
6862fi
6863
6864
6865fi
6866if test -z "$ac_cv_prog_STRIP"; then
6867  ac_ct_STRIP=$STRIP
6868  # Extract the first word of "strip", so it can be a program name with args.
6869set dummy strip; ac_word=$2
6870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871$as_echo_n "checking for $ac_word... " >&6; }
6872if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6873  $as_echo_n "(cached) " >&6
6874else
6875  if test -n "$ac_ct_STRIP"; then
6876  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6877else
6878as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879for as_dir in $PATH
6880do
6881  IFS=$as_save_IFS
6882  test -z "$as_dir" && as_dir=.
6883    for ac_exec_ext in '' $ac_executable_extensions; do
6884  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6885    ac_cv_prog_ac_ct_STRIP="strip"
6886    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6887    break 2
6888  fi
6889done
6890  done
6891IFS=$as_save_IFS
6892
6893fi
6894fi
6895ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6896if test -n "$ac_ct_STRIP"; then
6897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6898$as_echo "$ac_ct_STRIP" >&6; }
6899else
6900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901$as_echo "no" >&6; }
6902fi
6903
6904  if test "x$ac_ct_STRIP" = x; then
6905    STRIP=":"
6906  else
6907    case $cross_compiling:$ac_tool_warned in
6908yes:)
6909{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6910$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6911ac_tool_warned=yes ;;
6912esac
6913    STRIP=$ac_ct_STRIP
6914  fi
6915else
6916  STRIP="$ac_cv_prog_STRIP"
6917fi
6918
6919test -z "$STRIP" && STRIP=:
6920
6921
6922
6923
6924
6925
6926if test -n "$ac_tool_prefix"; then
6927  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6928set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6930$as_echo_n "checking for $ac_word... " >&6; }
6931if ${ac_cv_prog_RANLIB+:} false; then :
6932  $as_echo_n "(cached) " >&6
6933else
6934  if test -n "$RANLIB"; then
6935  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6936else
6937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6938for as_dir in $PATH
6939do
6940  IFS=$as_save_IFS
6941  test -z "$as_dir" && as_dir=.
6942    for ac_exec_ext in '' $ac_executable_extensions; do
6943  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6944    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6945    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6946    break 2
6947  fi
6948done
6949  done
6950IFS=$as_save_IFS
6951
6952fi
6953fi
6954RANLIB=$ac_cv_prog_RANLIB
6955if test -n "$RANLIB"; then
6956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6957$as_echo "$RANLIB" >&6; }
6958else
6959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6960$as_echo "no" >&6; }
6961fi
6962
6963
6964fi
6965if test -z "$ac_cv_prog_RANLIB"; then
6966  ac_ct_RANLIB=$RANLIB
6967  # Extract the first word of "ranlib", so it can be a program name with args.
6968set dummy ranlib; ac_word=$2
6969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970$as_echo_n "checking for $ac_word... " >&6; }
6971if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6972  $as_echo_n "(cached) " >&6
6973else
6974  if test -n "$ac_ct_RANLIB"; then
6975  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6976else
6977as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978for as_dir in $PATH
6979do
6980  IFS=$as_save_IFS
6981  test -z "$as_dir" && as_dir=.
6982    for ac_exec_ext in '' $ac_executable_extensions; do
6983  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6984    ac_cv_prog_ac_ct_RANLIB="ranlib"
6985    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986    break 2
6987  fi
6988done
6989  done
6990IFS=$as_save_IFS
6991
6992fi
6993fi
6994ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6995if test -n "$ac_ct_RANLIB"; then
6996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6997$as_echo "$ac_ct_RANLIB" >&6; }
6998else
6999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000$as_echo "no" >&6; }
7001fi
7002
7003  if test "x$ac_ct_RANLIB" = x; then
7004    RANLIB=":"
7005  else
7006    case $cross_compiling:$ac_tool_warned in
7007yes:)
7008{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7009$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7010ac_tool_warned=yes ;;
7011esac
7012    RANLIB=$ac_ct_RANLIB
7013  fi
7014else
7015  RANLIB="$ac_cv_prog_RANLIB"
7016fi
7017
7018test -z "$RANLIB" && RANLIB=:
7019
7020
7021
7022
7023
7024
7025# Determine commands to create old-style static archives.
7026old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7027old_postinstall_cmds='chmod 644 $oldlib'
7028old_postuninstall_cmds=
7029
7030if test -n "$RANLIB"; then
7031  case $host_os in
7032  bitrig* | openbsd*)
7033    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7034    ;;
7035  *)
7036    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7037    ;;
7038  esac
7039  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7040fi
7041
7042case $host_os in
7043  darwin*)
7044    lock_old_archive_extraction=yes ;;
7045  *)
7046    lock_old_archive_extraction=no ;;
7047esac
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087# If no C compiler was specified, use CC.
7088LTCC=${LTCC-"$CC"}
7089
7090# If no C compiler flags were specified, use CFLAGS.
7091LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7092
7093# Allow CC to be a program name with arguments.
7094compiler=$CC
7095
7096
7097# Check for command to grab the raw symbol name followed by C symbol from nm.
7098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7099$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7100if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7101  $as_echo_n "(cached) " >&6
7102else
7103
7104# These are sane defaults that work on at least a few old systems.
7105# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7106
7107# Character class describing NM global symbol codes.
7108symcode='[BCDEGRST]'
7109
7110# Regexp to match symbols that can be accessed directly from C.
7111sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7112
7113# Define system-specific variables.
7114case $host_os in
7115aix*)
7116  symcode='[BCDT]'
7117  ;;
7118cygwin* | mingw* | pw32* | cegcc*)
7119  symcode='[ABCDGISTW]'
7120  ;;
7121hpux*)
7122  if test ia64 = "$host_cpu"; then
7123    symcode='[ABCDEGRST]'
7124  fi
7125  ;;
7126irix* | nonstopux*)
7127  symcode='[BCDEGRST]'
7128  ;;
7129osf*)
7130  symcode='[BCDEGQRST]'
7131  ;;
7132solaris*)
7133  symcode='[BDRT]'
7134  ;;
7135sco3.2v5*)
7136  symcode='[DT]'
7137  ;;
7138sysv4.2uw2*)
7139  symcode='[DT]'
7140  ;;
7141sysv5* | sco5v6* | unixware* | OpenUNIX*)
7142  symcode='[ABDT]'
7143  ;;
7144sysv4)
7145  symcode='[DFNSTU]'
7146  ;;
7147esac
7148
7149# If we're using GNU nm, then use its standard symbol codes.
7150case `$NM -V 2>&1` in
7151*GNU* | *'with BFD'*)
7152  symcode='[ABCDGIRSTW]' ;;
7153esac
7154
7155if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7156  # Gets list of data symbols to import.
7157  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7158  # Adjust the below global symbol transforms to fixup imported variables.
7159  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7160  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7161  lt_c_name_lib_hook="\
7162  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7163  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7164else
7165  # Disable hooks by default.
7166  lt_cv_sys_global_symbol_to_import=
7167  lt_cdecl_hook=
7168  lt_c_name_hook=
7169  lt_c_name_lib_hook=
7170fi
7171
7172# Transform an extracted symbol line into a proper C declaration.
7173# Some systems (esp. on ia64) link data and code symbols differently,
7174# so use this general approach.
7175lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7176$lt_cdecl_hook\
7177" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7178" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7179
7180# Transform an extracted symbol line into symbol name and symbol address
7181lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7182$lt_c_name_hook\
7183" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7184" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7185
7186# Transform an extracted symbol line into symbol name with lib prefix and
7187# symbol address.
7188lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7189$lt_c_name_lib_hook\
7190" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7191" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7192" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7193
7194# Handle CRLF in mingw tool chain
7195opt_cr=
7196case $build_os in
7197mingw*)
7198  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7199  ;;
7200esac
7201
7202# Try without a prefix underscore, then with it.
7203for ac_symprfx in "" "_"; do
7204
7205  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7206  symxfrm="\\1 $ac_symprfx\\2 \\2"
7207
7208  # Write the raw and C identifiers.
7209  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7210    # Fake it for dumpbin and say T for any non-static function,
7211    # D for any global variable and I for any imported variable.
7212    # Also find C++ and __fastcall symbols from MSVC++,
7213    # which start with @ or ?.
7214    lt_cv_sys_global_symbol_pipe="$AWK '"\
7215"     {last_section=section; section=\$ 3};"\
7216"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7217"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7218"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7219"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7220"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7221"     \$ 0!~/External *\|/{next};"\
7222"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7223"     {if(hide[section]) next};"\
7224"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7225"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7226"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7227"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7228"     ' prfx=^$ac_symprfx"
7229  else
7230    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7231  fi
7232  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7233
7234  # Check to see that the pipe works correctly.
7235  pipe_works=no
7236
7237  rm -f conftest*
7238  cat > conftest.$ac_ext <<_LT_EOF
7239#ifdef __cplusplus
7240extern "C" {
7241#endif
7242char nm_test_var;
7243void nm_test_func(void);
7244void nm_test_func(void){}
7245#ifdef __cplusplus
7246}
7247#endif
7248int main(){nm_test_var='a';nm_test_func();return(0);}
7249_LT_EOF
7250
7251  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7252  (eval $ac_compile) 2>&5
7253  ac_status=$?
7254  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7255  test $ac_status = 0; }; then
7256    # Now try to grab the symbols.
7257    nlist=conftest.nm
7258    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7259    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7260      # Try sorting and uniquifying the output.
7261      if sort "$nlist" | uniq > "$nlist"T; then
7262	mv -f "$nlist"T "$nlist"
7263      else
7264	rm -f "$nlist"T
7265      fi
7266
7267      # Make sure that we snagged all the symbols we need.
7268      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7269	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7270	  cat <<_LT_EOF > conftest.$ac_ext
7271/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7272#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7273/* DATA imports from DLLs on WIN32 can't be const, because runtime
7274   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7275# define LT_DLSYM_CONST
7276#elif defined __osf__
7277/* This system does not cope well with relocations in const data.  */
7278# define LT_DLSYM_CONST
7279#else
7280# define LT_DLSYM_CONST const
7281#endif
7282
7283#ifdef __cplusplus
7284extern "C" {
7285#endif
7286
7287_LT_EOF
7288	  # Now generate the symbol file.
7289	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7290
7291	  cat <<_LT_EOF >> conftest.$ac_ext
7292
7293/* The mapping between symbol names and symbols.  */
7294LT_DLSYM_CONST struct {
7295  const char *name;
7296  void       *address;
7297}
7298lt__PROGRAM__LTX_preloaded_symbols[] =
7299{
7300  { "@PROGRAM@", (void *) 0 },
7301_LT_EOF
7302	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7303	  cat <<\_LT_EOF >> conftest.$ac_ext
7304  {0, (void *) 0}
7305};
7306
7307/* This works around a problem in FreeBSD linker */
7308#ifdef FREEBSD_WORKAROUND
7309static const void *lt_preloaded_setup() {
7310  return lt__PROGRAM__LTX_preloaded_symbols;
7311}
7312#endif
7313
7314#ifdef __cplusplus
7315}
7316#endif
7317_LT_EOF
7318	  # Now try linking the two files.
7319	  mv conftest.$ac_objext conftstm.$ac_objext
7320	  lt_globsym_save_LIBS=$LIBS
7321	  lt_globsym_save_CFLAGS=$CFLAGS
7322	  LIBS=conftstm.$ac_objext
7323	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7324	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7325  (eval $ac_link) 2>&5
7326  ac_status=$?
7327  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7328  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7329	    pipe_works=yes
7330	  fi
7331	  LIBS=$lt_globsym_save_LIBS
7332	  CFLAGS=$lt_globsym_save_CFLAGS
7333	else
7334	  echo "cannot find nm_test_func in $nlist" >&5
7335	fi
7336      else
7337	echo "cannot find nm_test_var in $nlist" >&5
7338      fi
7339    else
7340      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7341    fi
7342  else
7343    echo "$progname: failed program was:" >&5
7344    cat conftest.$ac_ext >&5
7345  fi
7346  rm -rf conftest* conftst*
7347
7348  # Do not use the global_symbol_pipe unless it works.
7349  if test yes = "$pipe_works"; then
7350    break
7351  else
7352    lt_cv_sys_global_symbol_pipe=
7353  fi
7354done
7355
7356fi
7357
7358if test -z "$lt_cv_sys_global_symbol_pipe"; then
7359  lt_cv_sys_global_symbol_to_cdecl=
7360fi
7361if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7363$as_echo "failed" >&6; }
7364else
7365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7366$as_echo "ok" >&6; }
7367fi
7368
7369# Response file support.
7370if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7371  nm_file_list_spec='@'
7372elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7373  nm_file_list_spec='@'
7374fi
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7413$as_echo_n "checking for sysroot... " >&6; }
7414
7415# Check whether --with-sysroot was given.
7416if test "${with_sysroot+set}" = set; then :
7417  withval=$with_sysroot;
7418else
7419  with_sysroot=no
7420fi
7421
7422
7423lt_sysroot=
7424case $with_sysroot in #(
7425 yes)
7426   if test yes = "$GCC"; then
7427     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7428   fi
7429   ;; #(
7430 /*)
7431   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7432   ;; #(
7433 no|'')
7434   ;; #(
7435 *)
7436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7437$as_echo "$with_sysroot" >&6; }
7438   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7439   ;;
7440esac
7441
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7443$as_echo "${lt_sysroot:-no}" >&6; }
7444
7445
7446
7447
7448
7449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7450$as_echo_n "checking for a working dd... " >&6; }
7451if ${ac_cv_path_lt_DD+:} false; then :
7452  $as_echo_n "(cached) " >&6
7453else
7454  printf 0123456789abcdef0123456789abcdef >conftest.i
7455cat conftest.i conftest.i >conftest2.i
7456: ${lt_DD:=$DD}
7457if test -z "$lt_DD"; then
7458  ac_path_lt_DD_found=false
7459  # Loop through the user's path and test for each of PROGNAME-LIST
7460  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7461for as_dir in $PATH
7462do
7463  IFS=$as_save_IFS
7464  test -z "$as_dir" && as_dir=.
7465    for ac_prog in dd; do
7466    for ac_exec_ext in '' $ac_executable_extensions; do
7467      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7468      as_fn_executable_p "$ac_path_lt_DD" || continue
7469if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7470  cmp -s conftest.i conftest.out \
7471  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7472fi
7473      $ac_path_lt_DD_found && break 3
7474    done
7475  done
7476  done
7477IFS=$as_save_IFS
7478  if test -z "$ac_cv_path_lt_DD"; then
7479    :
7480  fi
7481else
7482  ac_cv_path_lt_DD=$lt_DD
7483fi
7484
7485rm -f conftest.i conftest2.i conftest.out
7486fi
7487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7488$as_echo "$ac_cv_path_lt_DD" >&6; }
7489
7490
7491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7492$as_echo_n "checking how to truncate binary pipes... " >&6; }
7493if ${lt_cv_truncate_bin+:} false; then :
7494  $as_echo_n "(cached) " >&6
7495else
7496  printf 0123456789abcdef0123456789abcdef >conftest.i
7497cat conftest.i conftest.i >conftest2.i
7498lt_cv_truncate_bin=
7499if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7500  cmp -s conftest.i conftest.out \
7501  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7502fi
7503rm -f conftest.i conftest2.i conftest.out
7504test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7505fi
7506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7507$as_echo "$lt_cv_truncate_bin" >&6; }
7508
7509
7510
7511
7512
7513
7514
7515# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7516func_cc_basename ()
7517{
7518    for cc_temp in $*""; do
7519      case $cc_temp in
7520        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7521        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7522        \-*) ;;
7523        *) break;;
7524      esac
7525    done
7526    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7527}
7528
7529# Check whether --enable-libtool-lock was given.
7530if test "${enable_libtool_lock+set}" = set; then :
7531  enableval=$enable_libtool_lock;
7532fi
7533
7534test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7535
7536# Some flags need to be propagated to the compiler or linker for good
7537# libtool support.
7538case $host in
7539ia64-*-hpux*)
7540  # Find out what ABI is being produced by ac_compile, and set mode
7541  # options accordingly.
7542  echo 'int i;' > conftest.$ac_ext
7543  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7544  (eval $ac_compile) 2>&5
7545  ac_status=$?
7546  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7547  test $ac_status = 0; }; then
7548    case `/usr/bin/file conftest.$ac_objext` in
7549      *ELF-32*)
7550	HPUX_IA64_MODE=32
7551	;;
7552      *ELF-64*)
7553	HPUX_IA64_MODE=64
7554	;;
7555    esac
7556  fi
7557  rm -rf conftest*
7558  ;;
7559*-*-irix6*)
7560  # Find out what ABI is being produced by ac_compile, and set linker
7561  # options accordingly.
7562  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7563  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7564  (eval $ac_compile) 2>&5
7565  ac_status=$?
7566  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7567  test $ac_status = 0; }; then
7568    if test yes = "$lt_cv_prog_gnu_ld"; then
7569      case `/usr/bin/file conftest.$ac_objext` in
7570	*32-bit*)
7571	  LD="${LD-ld} -melf32bsmip"
7572	  ;;
7573	*N32*)
7574	  LD="${LD-ld} -melf32bmipn32"
7575	  ;;
7576	*64-bit*)
7577	  LD="${LD-ld} -melf64bmip"
7578	;;
7579      esac
7580    else
7581      case `/usr/bin/file conftest.$ac_objext` in
7582	*32-bit*)
7583	  LD="${LD-ld} -32"
7584	  ;;
7585	*N32*)
7586	  LD="${LD-ld} -n32"
7587	  ;;
7588	*64-bit*)
7589	  LD="${LD-ld} -64"
7590	  ;;
7591      esac
7592    fi
7593  fi
7594  rm -rf conftest*
7595  ;;
7596
7597mips64*-*linux*)
7598  # Find out what ABI is being produced by ac_compile, and set linker
7599  # options accordingly.
7600  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7601  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7602  (eval $ac_compile) 2>&5
7603  ac_status=$?
7604  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7605  test $ac_status = 0; }; then
7606    emul=elf
7607    case `/usr/bin/file conftest.$ac_objext` in
7608      *32-bit*)
7609	emul="${emul}32"
7610	;;
7611      *64-bit*)
7612	emul="${emul}64"
7613	;;
7614    esac
7615    case `/usr/bin/file conftest.$ac_objext` in
7616      *MSB*)
7617	emul="${emul}btsmip"
7618	;;
7619      *LSB*)
7620	emul="${emul}ltsmip"
7621	;;
7622    esac
7623    case `/usr/bin/file conftest.$ac_objext` in
7624      *N32*)
7625	emul="${emul}n32"
7626	;;
7627    esac
7628    LD="${LD-ld} -m $emul"
7629  fi
7630  rm -rf conftest*
7631  ;;
7632
7633x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7634s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7635  # Find out what ABI is being produced by ac_compile, and set linker
7636  # options accordingly.  Note that the listed cases only cover the
7637  # situations where additional linker options are needed (such as when
7638  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7639  # vice versa); the common cases where no linker options are needed do
7640  # not appear in the list.
7641  echo 'int i;' > conftest.$ac_ext
7642  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7643  (eval $ac_compile) 2>&5
7644  ac_status=$?
7645  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7646  test $ac_status = 0; }; then
7647    case `/usr/bin/file conftest.o` in
7648      *32-bit*)
7649	case $host in
7650	  x86_64-*kfreebsd*-gnu)
7651	    LD="${LD-ld} -m elf_i386_fbsd"
7652	    ;;
7653	  x86_64-*linux*)
7654	    case `/usr/bin/file conftest.o` in
7655	      *x86-64*)
7656		LD="${LD-ld} -m elf32_x86_64"
7657		;;
7658	      *)
7659		LD="${LD-ld} -m elf_i386"
7660		;;
7661	    esac
7662	    ;;
7663	  powerpc64le-*linux*)
7664	    LD="${LD-ld} -m elf32lppclinux"
7665	    ;;
7666	  powerpc64-*linux*)
7667	    LD="${LD-ld} -m elf32ppclinux"
7668	    ;;
7669	  s390x-*linux*)
7670	    LD="${LD-ld} -m elf_s390"
7671	    ;;
7672	  sparc64-*linux*)
7673	    LD="${LD-ld} -m elf32_sparc"
7674	    ;;
7675	esac
7676	;;
7677      *64-bit*)
7678	case $host in
7679	  x86_64-*kfreebsd*-gnu)
7680	    LD="${LD-ld} -m elf_x86_64_fbsd"
7681	    ;;
7682	  x86_64-*linux*)
7683	    LD="${LD-ld} -m elf_x86_64"
7684	    ;;
7685	  powerpcle-*linux*)
7686	    LD="${LD-ld} -m elf64lppc"
7687	    ;;
7688	  powerpc-*linux*)
7689	    LD="${LD-ld} -m elf64ppc"
7690	    ;;
7691	  s390*-*linux*|s390*-*tpf*)
7692	    LD="${LD-ld} -m elf64_s390"
7693	    ;;
7694	  sparc*-*linux*)
7695	    LD="${LD-ld} -m elf64_sparc"
7696	    ;;
7697	esac
7698	;;
7699    esac
7700  fi
7701  rm -rf conftest*
7702  ;;
7703
7704*-*-sco3.2v5*)
7705  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7706  SAVE_CFLAGS=$CFLAGS
7707  CFLAGS="$CFLAGS -belf"
7708  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7709$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7710if ${lt_cv_cc_needs_belf+:} false; then :
7711  $as_echo_n "(cached) " >&6
7712else
7713  ac_ext=c
7714ac_cpp='$CPP $CPPFLAGS'
7715ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7716ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7717ac_compiler_gnu=$ac_cv_c_compiler_gnu
7718
7719     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7720/* end confdefs.h.  */
7721
7722int
7723main ()
7724{
7725
7726  ;
7727  return 0;
7728}
7729_ACEOF
7730if ac_fn_c_try_link "$LINENO"; then :
7731  lt_cv_cc_needs_belf=yes
7732else
7733  lt_cv_cc_needs_belf=no
7734fi
7735rm -f core conftest.err conftest.$ac_objext \
7736    conftest$ac_exeext conftest.$ac_ext
7737     ac_ext=c
7738ac_cpp='$CPP $CPPFLAGS'
7739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7741ac_compiler_gnu=$ac_cv_c_compiler_gnu
7742
7743fi
7744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7745$as_echo "$lt_cv_cc_needs_belf" >&6; }
7746  if test yes != "$lt_cv_cc_needs_belf"; then
7747    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7748    CFLAGS=$SAVE_CFLAGS
7749  fi
7750  ;;
7751*-*solaris*)
7752  # Find out what ABI is being produced by ac_compile, and set linker
7753  # options accordingly.
7754  echo 'int i;' > conftest.$ac_ext
7755  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7756  (eval $ac_compile) 2>&5
7757  ac_status=$?
7758  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7759  test $ac_status = 0; }; then
7760    case `/usr/bin/file conftest.o` in
7761    *64-bit*)
7762      case $lt_cv_prog_gnu_ld in
7763      yes*)
7764        case $host in
7765        i?86-*-solaris*|x86_64-*-solaris*)
7766          LD="${LD-ld} -m elf_x86_64"
7767          ;;
7768        sparc*-*-solaris*)
7769          LD="${LD-ld} -m elf64_sparc"
7770          ;;
7771        esac
7772        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7773        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7774          LD=${LD-ld}_sol2
7775        fi
7776        ;;
7777      *)
7778	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7779	  LD="${LD-ld} -64"
7780	fi
7781	;;
7782      esac
7783      ;;
7784    esac
7785  fi
7786  rm -rf conftest*
7787  ;;
7788esac
7789
7790need_locks=$enable_libtool_lock
7791
7792if test -n "$ac_tool_prefix"; then
7793  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7794set dummy ${ac_tool_prefix}mt; ac_word=$2
7795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7796$as_echo_n "checking for $ac_word... " >&6; }
7797if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7798  $as_echo_n "(cached) " >&6
7799else
7800  if test -n "$MANIFEST_TOOL"; then
7801  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7802else
7803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7804for as_dir in $PATH
7805do
7806  IFS=$as_save_IFS
7807  test -z "$as_dir" && as_dir=.
7808    for ac_exec_ext in '' $ac_executable_extensions; do
7809  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7810    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7811    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7812    break 2
7813  fi
7814done
7815  done
7816IFS=$as_save_IFS
7817
7818fi
7819fi
7820MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7821if test -n "$MANIFEST_TOOL"; then
7822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7823$as_echo "$MANIFEST_TOOL" >&6; }
7824else
7825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7826$as_echo "no" >&6; }
7827fi
7828
7829
7830fi
7831if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7832  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7833  # Extract the first word of "mt", so it can be a program name with args.
7834set dummy mt; ac_word=$2
7835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7836$as_echo_n "checking for $ac_word... " >&6; }
7837if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7838  $as_echo_n "(cached) " >&6
7839else
7840  if test -n "$ac_ct_MANIFEST_TOOL"; then
7841  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7842else
7843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7844for as_dir in $PATH
7845do
7846  IFS=$as_save_IFS
7847  test -z "$as_dir" && as_dir=.
7848    for ac_exec_ext in '' $ac_executable_extensions; do
7849  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7850    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7851    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7852    break 2
7853  fi
7854done
7855  done
7856IFS=$as_save_IFS
7857
7858fi
7859fi
7860ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7861if test -n "$ac_ct_MANIFEST_TOOL"; then
7862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7863$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7864else
7865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7866$as_echo "no" >&6; }
7867fi
7868
7869  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7870    MANIFEST_TOOL=":"
7871  else
7872    case $cross_compiling:$ac_tool_warned in
7873yes:)
7874{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7875$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7876ac_tool_warned=yes ;;
7877esac
7878    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7879  fi
7880else
7881  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7882fi
7883
7884test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7886$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7887if ${lt_cv_path_mainfest_tool+:} false; then :
7888  $as_echo_n "(cached) " >&6
7889else
7890  lt_cv_path_mainfest_tool=no
7891  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7892  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7893  cat conftest.err >&5
7894  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7895    lt_cv_path_mainfest_tool=yes
7896  fi
7897  rm -f conftest*
7898fi
7899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7900$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7901if test yes != "$lt_cv_path_mainfest_tool"; then
7902  MANIFEST_TOOL=:
7903fi
7904
7905
7906
7907
7908
7909
7910  case $host_os in
7911    rhapsody* | darwin*)
7912    if test -n "$ac_tool_prefix"; then
7913  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7914set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7916$as_echo_n "checking for $ac_word... " >&6; }
7917if ${ac_cv_prog_DSYMUTIL+:} false; then :
7918  $as_echo_n "(cached) " >&6
7919else
7920  if test -n "$DSYMUTIL"; then
7921  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7922else
7923as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924for as_dir in $PATH
7925do
7926  IFS=$as_save_IFS
7927  test -z "$as_dir" && as_dir=.
7928    for ac_exec_ext in '' $ac_executable_extensions; do
7929  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7930    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7931    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7932    break 2
7933  fi
7934done
7935  done
7936IFS=$as_save_IFS
7937
7938fi
7939fi
7940DSYMUTIL=$ac_cv_prog_DSYMUTIL
7941if test -n "$DSYMUTIL"; then
7942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7943$as_echo "$DSYMUTIL" >&6; }
7944else
7945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946$as_echo "no" >&6; }
7947fi
7948
7949
7950fi
7951if test -z "$ac_cv_prog_DSYMUTIL"; then
7952  ac_ct_DSYMUTIL=$DSYMUTIL
7953  # Extract the first word of "dsymutil", so it can be a program name with args.
7954set dummy dsymutil; ac_word=$2
7955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956$as_echo_n "checking for $ac_word... " >&6; }
7957if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7958  $as_echo_n "(cached) " >&6
7959else
7960  if test -n "$ac_ct_DSYMUTIL"; then
7961  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7962else
7963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7964for as_dir in $PATH
7965do
7966  IFS=$as_save_IFS
7967  test -z "$as_dir" && as_dir=.
7968    for ac_exec_ext in '' $ac_executable_extensions; do
7969  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7970    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7971    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7972    break 2
7973  fi
7974done
7975  done
7976IFS=$as_save_IFS
7977
7978fi
7979fi
7980ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7981if test -n "$ac_ct_DSYMUTIL"; then
7982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7983$as_echo "$ac_ct_DSYMUTIL" >&6; }
7984else
7985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986$as_echo "no" >&6; }
7987fi
7988
7989  if test "x$ac_ct_DSYMUTIL" = x; then
7990    DSYMUTIL=":"
7991  else
7992    case $cross_compiling:$ac_tool_warned in
7993yes:)
7994{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7995$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7996ac_tool_warned=yes ;;
7997esac
7998    DSYMUTIL=$ac_ct_DSYMUTIL
7999  fi
8000else
8001  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8002fi
8003
8004    if test -n "$ac_tool_prefix"; then
8005  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8006set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8008$as_echo_n "checking for $ac_word... " >&6; }
8009if ${ac_cv_prog_NMEDIT+:} false; then :
8010  $as_echo_n "(cached) " >&6
8011else
8012  if test -n "$NMEDIT"; then
8013  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8014else
8015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8016for as_dir in $PATH
8017do
8018  IFS=$as_save_IFS
8019  test -z "$as_dir" && as_dir=.
8020    for ac_exec_ext in '' $ac_executable_extensions; do
8021  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8022    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8023    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8024    break 2
8025  fi
8026done
8027  done
8028IFS=$as_save_IFS
8029
8030fi
8031fi
8032NMEDIT=$ac_cv_prog_NMEDIT
8033if test -n "$NMEDIT"; then
8034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8035$as_echo "$NMEDIT" >&6; }
8036else
8037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8038$as_echo "no" >&6; }
8039fi
8040
8041
8042fi
8043if test -z "$ac_cv_prog_NMEDIT"; then
8044  ac_ct_NMEDIT=$NMEDIT
8045  # Extract the first word of "nmedit", so it can be a program name with args.
8046set dummy nmedit; ac_word=$2
8047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8048$as_echo_n "checking for $ac_word... " >&6; }
8049if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8050  $as_echo_n "(cached) " >&6
8051else
8052  if test -n "$ac_ct_NMEDIT"; then
8053  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8054else
8055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8056for as_dir in $PATH
8057do
8058  IFS=$as_save_IFS
8059  test -z "$as_dir" && as_dir=.
8060    for ac_exec_ext in '' $ac_executable_extensions; do
8061  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8062    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8063    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8064    break 2
8065  fi
8066done
8067  done
8068IFS=$as_save_IFS
8069
8070fi
8071fi
8072ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8073if test -n "$ac_ct_NMEDIT"; then
8074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8075$as_echo "$ac_ct_NMEDIT" >&6; }
8076else
8077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8078$as_echo "no" >&6; }
8079fi
8080
8081  if test "x$ac_ct_NMEDIT" = x; then
8082    NMEDIT=":"
8083  else
8084    case $cross_compiling:$ac_tool_warned in
8085yes:)
8086{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8087$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8088ac_tool_warned=yes ;;
8089esac
8090    NMEDIT=$ac_ct_NMEDIT
8091  fi
8092else
8093  NMEDIT="$ac_cv_prog_NMEDIT"
8094fi
8095
8096    if test -n "$ac_tool_prefix"; then
8097  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8098set dummy ${ac_tool_prefix}lipo; ac_word=$2
8099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8100$as_echo_n "checking for $ac_word... " >&6; }
8101if ${ac_cv_prog_LIPO+:} false; then :
8102  $as_echo_n "(cached) " >&6
8103else
8104  if test -n "$LIPO"; then
8105  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8106else
8107as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8108for as_dir in $PATH
8109do
8110  IFS=$as_save_IFS
8111  test -z "$as_dir" && as_dir=.
8112    for ac_exec_ext in '' $ac_executable_extensions; do
8113  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8114    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8115    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8116    break 2
8117  fi
8118done
8119  done
8120IFS=$as_save_IFS
8121
8122fi
8123fi
8124LIPO=$ac_cv_prog_LIPO
8125if test -n "$LIPO"; then
8126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8127$as_echo "$LIPO" >&6; }
8128else
8129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8130$as_echo "no" >&6; }
8131fi
8132
8133
8134fi
8135if test -z "$ac_cv_prog_LIPO"; then
8136  ac_ct_LIPO=$LIPO
8137  # Extract the first word of "lipo", so it can be a program name with args.
8138set dummy lipo; ac_word=$2
8139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8140$as_echo_n "checking for $ac_word... " >&6; }
8141if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8142  $as_echo_n "(cached) " >&6
8143else
8144  if test -n "$ac_ct_LIPO"; then
8145  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8146else
8147as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8148for as_dir in $PATH
8149do
8150  IFS=$as_save_IFS
8151  test -z "$as_dir" && as_dir=.
8152    for ac_exec_ext in '' $ac_executable_extensions; do
8153  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8154    ac_cv_prog_ac_ct_LIPO="lipo"
8155    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8156    break 2
8157  fi
8158done
8159  done
8160IFS=$as_save_IFS
8161
8162fi
8163fi
8164ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8165if test -n "$ac_ct_LIPO"; then
8166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8167$as_echo "$ac_ct_LIPO" >&6; }
8168else
8169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8170$as_echo "no" >&6; }
8171fi
8172
8173  if test "x$ac_ct_LIPO" = x; then
8174    LIPO=":"
8175  else
8176    case $cross_compiling:$ac_tool_warned in
8177yes:)
8178{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8179$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8180ac_tool_warned=yes ;;
8181esac
8182    LIPO=$ac_ct_LIPO
8183  fi
8184else
8185  LIPO="$ac_cv_prog_LIPO"
8186fi
8187
8188    if test -n "$ac_tool_prefix"; then
8189  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8190set dummy ${ac_tool_prefix}otool; ac_word=$2
8191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8192$as_echo_n "checking for $ac_word... " >&6; }
8193if ${ac_cv_prog_OTOOL+:} false; then :
8194  $as_echo_n "(cached) " >&6
8195else
8196  if test -n "$OTOOL"; then
8197  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8198else
8199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8200for as_dir in $PATH
8201do
8202  IFS=$as_save_IFS
8203  test -z "$as_dir" && as_dir=.
8204    for ac_exec_ext in '' $ac_executable_extensions; do
8205  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8206    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8207    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8208    break 2
8209  fi
8210done
8211  done
8212IFS=$as_save_IFS
8213
8214fi
8215fi
8216OTOOL=$ac_cv_prog_OTOOL
8217if test -n "$OTOOL"; then
8218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8219$as_echo "$OTOOL" >&6; }
8220else
8221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8222$as_echo "no" >&6; }
8223fi
8224
8225
8226fi
8227if test -z "$ac_cv_prog_OTOOL"; then
8228  ac_ct_OTOOL=$OTOOL
8229  # Extract the first word of "otool", so it can be a program name with args.
8230set dummy otool; ac_word=$2
8231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8232$as_echo_n "checking for $ac_word... " >&6; }
8233if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8234  $as_echo_n "(cached) " >&6
8235else
8236  if test -n "$ac_ct_OTOOL"; then
8237  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8238else
8239as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8240for as_dir in $PATH
8241do
8242  IFS=$as_save_IFS
8243  test -z "$as_dir" && as_dir=.
8244    for ac_exec_ext in '' $ac_executable_extensions; do
8245  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8246    ac_cv_prog_ac_ct_OTOOL="otool"
8247    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8248    break 2
8249  fi
8250done
8251  done
8252IFS=$as_save_IFS
8253
8254fi
8255fi
8256ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8257if test -n "$ac_ct_OTOOL"; then
8258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8259$as_echo "$ac_ct_OTOOL" >&6; }
8260else
8261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8262$as_echo "no" >&6; }
8263fi
8264
8265  if test "x$ac_ct_OTOOL" = x; then
8266    OTOOL=":"
8267  else
8268    case $cross_compiling:$ac_tool_warned in
8269yes:)
8270{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8271$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8272ac_tool_warned=yes ;;
8273esac
8274    OTOOL=$ac_ct_OTOOL
8275  fi
8276else
8277  OTOOL="$ac_cv_prog_OTOOL"
8278fi
8279
8280    if test -n "$ac_tool_prefix"; then
8281  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8282set dummy ${ac_tool_prefix}otool64; ac_word=$2
8283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8284$as_echo_n "checking for $ac_word... " >&6; }
8285if ${ac_cv_prog_OTOOL64+:} false; then :
8286  $as_echo_n "(cached) " >&6
8287else
8288  if test -n "$OTOOL64"; then
8289  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8290else
8291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8292for as_dir in $PATH
8293do
8294  IFS=$as_save_IFS
8295  test -z "$as_dir" && as_dir=.
8296    for ac_exec_ext in '' $ac_executable_extensions; do
8297  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8298    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8299    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8300    break 2
8301  fi
8302done
8303  done
8304IFS=$as_save_IFS
8305
8306fi
8307fi
8308OTOOL64=$ac_cv_prog_OTOOL64
8309if test -n "$OTOOL64"; then
8310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8311$as_echo "$OTOOL64" >&6; }
8312else
8313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8314$as_echo "no" >&6; }
8315fi
8316
8317
8318fi
8319if test -z "$ac_cv_prog_OTOOL64"; then
8320  ac_ct_OTOOL64=$OTOOL64
8321  # Extract the first word of "otool64", so it can be a program name with args.
8322set dummy otool64; ac_word=$2
8323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8324$as_echo_n "checking for $ac_word... " >&6; }
8325if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8326  $as_echo_n "(cached) " >&6
8327else
8328  if test -n "$ac_ct_OTOOL64"; then
8329  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8330else
8331as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8332for as_dir in $PATH
8333do
8334  IFS=$as_save_IFS
8335  test -z "$as_dir" && as_dir=.
8336    for ac_exec_ext in '' $ac_executable_extensions; do
8337  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8338    ac_cv_prog_ac_ct_OTOOL64="otool64"
8339    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8340    break 2
8341  fi
8342done
8343  done
8344IFS=$as_save_IFS
8345
8346fi
8347fi
8348ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8349if test -n "$ac_ct_OTOOL64"; then
8350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8351$as_echo "$ac_ct_OTOOL64" >&6; }
8352else
8353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8354$as_echo "no" >&6; }
8355fi
8356
8357  if test "x$ac_ct_OTOOL64" = x; then
8358    OTOOL64=":"
8359  else
8360    case $cross_compiling:$ac_tool_warned in
8361yes:)
8362{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8363$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8364ac_tool_warned=yes ;;
8365esac
8366    OTOOL64=$ac_ct_OTOOL64
8367  fi
8368else
8369  OTOOL64="$ac_cv_prog_OTOOL64"
8370fi
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8399$as_echo_n "checking for -single_module linker flag... " >&6; }
8400if ${lt_cv_apple_cc_single_mod+:} false; then :
8401  $as_echo_n "(cached) " >&6
8402else
8403  lt_cv_apple_cc_single_mod=no
8404      if test -z "$LT_MULTI_MODULE"; then
8405	# By default we will add the -single_module flag. You can override
8406	# by either setting the environment variable LT_MULTI_MODULE
8407	# non-empty at configure time, or by adding -multi_module to the
8408	# link flags.
8409	rm -rf libconftest.dylib*
8410	echo "int foo(void){return 1;}" > conftest.c
8411	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8412-dynamiclib -Wl,-single_module conftest.c" >&5
8413	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8414	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8415        _lt_result=$?
8416	# If there is a non-empty error log, and "single_module"
8417	# appears in it, assume the flag caused a linker warning
8418        if test -s conftest.err && $GREP single_module conftest.err; then
8419	  cat conftest.err >&5
8420	# Otherwise, if the output was created with a 0 exit code from
8421	# the compiler, it worked.
8422	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8423	  lt_cv_apple_cc_single_mod=yes
8424	else
8425	  cat conftest.err >&5
8426	fi
8427	rm -rf libconftest.dylib*
8428	rm -f conftest.*
8429      fi
8430fi
8431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8432$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8433
8434    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8435$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8436if ${lt_cv_ld_exported_symbols_list+:} false; then :
8437  $as_echo_n "(cached) " >&6
8438else
8439  lt_cv_ld_exported_symbols_list=no
8440      save_LDFLAGS=$LDFLAGS
8441      echo "_main" > conftest.sym
8442      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8443      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8444/* end confdefs.h.  */
8445
8446int
8447main ()
8448{
8449
8450  ;
8451  return 0;
8452}
8453_ACEOF
8454if ac_fn_c_try_link "$LINENO"; then :
8455  lt_cv_ld_exported_symbols_list=yes
8456else
8457  lt_cv_ld_exported_symbols_list=no
8458fi
8459rm -f core conftest.err conftest.$ac_objext \
8460    conftest$ac_exeext conftest.$ac_ext
8461	LDFLAGS=$save_LDFLAGS
8462
8463fi
8464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8465$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8466
8467    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8468$as_echo_n "checking for -force_load linker flag... " >&6; }
8469if ${lt_cv_ld_force_load+:} false; then :
8470  $as_echo_n "(cached) " >&6
8471else
8472  lt_cv_ld_force_load=no
8473      cat > conftest.c << _LT_EOF
8474int forced_loaded() { return 2;}
8475_LT_EOF
8476      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8477      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8478      echo "$AR cru libconftest.a conftest.o" >&5
8479      $AR cru libconftest.a conftest.o 2>&5
8480      echo "$RANLIB libconftest.a" >&5
8481      $RANLIB libconftest.a 2>&5
8482      cat > conftest.c << _LT_EOF
8483int main() { return 0;}
8484_LT_EOF
8485      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8486      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8487      _lt_result=$?
8488      if test -s conftest.err && $GREP force_load conftest.err; then
8489	cat conftest.err >&5
8490      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8491	lt_cv_ld_force_load=yes
8492      else
8493	cat conftest.err >&5
8494      fi
8495        rm -f conftest.err libconftest.a conftest conftest.c
8496        rm -rf conftest.dSYM
8497
8498fi
8499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8500$as_echo "$lt_cv_ld_force_load" >&6; }
8501    case $host_os in
8502    rhapsody* | darwin1.[012])
8503      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8504    darwin1.*)
8505      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8506    darwin*) # darwin 5.x on
8507      # if running on 10.5 or later, the deployment target defaults
8508      # to the OS version, if on x86, and 10.4, the deployment
8509      # target defaults to 10.4. Don't you love it?
8510      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8511	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8512	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8513	10.[012][,.]*)
8514	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8515	10.*)
8516	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8517      esac
8518    ;;
8519  esac
8520    if test yes = "$lt_cv_apple_cc_single_mod"; then
8521      _lt_dar_single_mod='$single_module'
8522    fi
8523    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8524      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8525    else
8526      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8527    fi
8528    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8529      _lt_dsymutil='~$DSYMUTIL $lib || :'
8530    else
8531      _lt_dsymutil=
8532    fi
8533    ;;
8534  esac
8535
8536# func_munge_path_list VARIABLE PATH
8537# -----------------------------------
8538# VARIABLE is name of variable containing _space_ separated list of
8539# directories to be munged by the contents of PATH, which is string
8540# having a format:
8541# "DIR[:DIR]:"
8542#       string "DIR[ DIR]" will be prepended to VARIABLE
8543# ":DIR[:DIR]"
8544#       string "DIR[ DIR]" will be appended to VARIABLE
8545# "DIRP[:DIRP]::[DIRA:]DIRA"
8546#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8547#       "DIRA[ DIRA]" will be appended to VARIABLE
8548# "DIR[:DIR]"
8549#       VARIABLE will be replaced by "DIR[ DIR]"
8550func_munge_path_list ()
8551{
8552    case x$2 in
8553    x)
8554        ;;
8555    *:)
8556        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8557        ;;
8558    x:*)
8559        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8560        ;;
8561    *::*)
8562        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8563        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8564        ;;
8565    *)
8566        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8567        ;;
8568    esac
8569}
8570
8571ac_ext=c
8572ac_cpp='$CPP $CPPFLAGS'
8573ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8574ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8575ac_compiler_gnu=$ac_cv_c_compiler_gnu
8576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8577$as_echo_n "checking how to run the C preprocessor... " >&6; }
8578# On Suns, sometimes $CPP names a directory.
8579if test -n "$CPP" && test -d "$CPP"; then
8580  CPP=
8581fi
8582if test -z "$CPP"; then
8583  if ${ac_cv_prog_CPP+:} false; then :
8584  $as_echo_n "(cached) " >&6
8585else
8586      # Double quotes because CPP needs to be expanded
8587    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8588    do
8589      ac_preproc_ok=false
8590for ac_c_preproc_warn_flag in '' yes
8591do
8592  # Use a header file that comes with gcc, so configuring glibc
8593  # with a fresh cross-compiler works.
8594  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8595  # <limits.h> exists even on freestanding compilers.
8596  # On the NeXT, cc -E runs the code through the compiler's parser,
8597  # not just through cpp. "Syntax error" is here to catch this case.
8598  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8599/* end confdefs.h.  */
8600#ifdef __STDC__
8601# include <limits.h>
8602#else
8603# include <assert.h>
8604#endif
8605		     Syntax error
8606_ACEOF
8607if ac_fn_c_try_cpp "$LINENO"; then :
8608
8609else
8610  # Broken: fails on valid input.
8611continue
8612fi
8613rm -f conftest.err conftest.i conftest.$ac_ext
8614
8615  # OK, works on sane cases.  Now check whether nonexistent headers
8616  # can be detected and how.
8617  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8618/* end confdefs.h.  */
8619#include <ac_nonexistent.h>
8620_ACEOF
8621if ac_fn_c_try_cpp "$LINENO"; then :
8622  # Broken: success on invalid input.
8623continue
8624else
8625  # Passes both tests.
8626ac_preproc_ok=:
8627break
8628fi
8629rm -f conftest.err conftest.i conftest.$ac_ext
8630
8631done
8632# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8633rm -f conftest.i conftest.err conftest.$ac_ext
8634if $ac_preproc_ok; then :
8635  break
8636fi
8637
8638    done
8639    ac_cv_prog_CPP=$CPP
8640
8641fi
8642  CPP=$ac_cv_prog_CPP
8643else
8644  ac_cv_prog_CPP=$CPP
8645fi
8646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8647$as_echo "$CPP" >&6; }
8648ac_preproc_ok=false
8649for ac_c_preproc_warn_flag in '' yes
8650do
8651  # Use a header file that comes with gcc, so configuring glibc
8652  # with a fresh cross-compiler works.
8653  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8654  # <limits.h> exists even on freestanding compilers.
8655  # On the NeXT, cc -E runs the code through the compiler's parser,
8656  # not just through cpp. "Syntax error" is here to catch this case.
8657  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8658/* end confdefs.h.  */
8659#ifdef __STDC__
8660# include <limits.h>
8661#else
8662# include <assert.h>
8663#endif
8664		     Syntax error
8665_ACEOF
8666if ac_fn_c_try_cpp "$LINENO"; then :
8667
8668else
8669  # Broken: fails on valid input.
8670continue
8671fi
8672rm -f conftest.err conftest.i conftest.$ac_ext
8673
8674  # OK, works on sane cases.  Now check whether nonexistent headers
8675  # can be detected and how.
8676  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8677/* end confdefs.h.  */
8678#include <ac_nonexistent.h>
8679_ACEOF
8680if ac_fn_c_try_cpp "$LINENO"; then :
8681  # Broken: success on invalid input.
8682continue
8683else
8684  # Passes both tests.
8685ac_preproc_ok=:
8686break
8687fi
8688rm -f conftest.err conftest.i conftest.$ac_ext
8689
8690done
8691# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8692rm -f conftest.i conftest.err conftest.$ac_ext
8693if $ac_preproc_ok; then :
8694
8695else
8696  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8697$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8698as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8699See \`config.log' for more details" "$LINENO" 5; }
8700fi
8701
8702ac_ext=c
8703ac_cpp='$CPP $CPPFLAGS'
8704ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8705ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8706ac_compiler_gnu=$ac_cv_c_compiler_gnu
8707
8708
8709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8710$as_echo_n "checking for ANSI C header files... " >&6; }
8711if ${ac_cv_header_stdc+:} false; then :
8712  $as_echo_n "(cached) " >&6
8713else
8714  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8715/* end confdefs.h.  */
8716#include <stdlib.h>
8717#include <stdarg.h>
8718#include <string.h>
8719#include <float.h>
8720
8721int
8722main ()
8723{
8724
8725  ;
8726  return 0;
8727}
8728_ACEOF
8729if ac_fn_c_try_compile "$LINENO"; then :
8730  ac_cv_header_stdc=yes
8731else
8732  ac_cv_header_stdc=no
8733fi
8734rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8735
8736if test $ac_cv_header_stdc = yes; then
8737  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8738  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8739/* end confdefs.h.  */
8740#include <string.h>
8741
8742_ACEOF
8743if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8744  $EGREP "memchr" >/dev/null 2>&1; then :
8745
8746else
8747  ac_cv_header_stdc=no
8748fi
8749rm -f conftest*
8750
8751fi
8752
8753if test $ac_cv_header_stdc = yes; then
8754  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8755  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8756/* end confdefs.h.  */
8757#include <stdlib.h>
8758
8759_ACEOF
8760if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8761  $EGREP "free" >/dev/null 2>&1; then :
8762
8763else
8764  ac_cv_header_stdc=no
8765fi
8766rm -f conftest*
8767
8768fi
8769
8770if test $ac_cv_header_stdc = yes; then
8771  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8772  if test "$cross_compiling" = yes; then :
8773  :
8774else
8775  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8776/* end confdefs.h.  */
8777#include <ctype.h>
8778#include <stdlib.h>
8779#if ((' ' & 0x0FF) == 0x020)
8780# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8781# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8782#else
8783# define ISLOWER(c) \
8784		   (('a' <= (c) && (c) <= 'i') \
8785		     || ('j' <= (c) && (c) <= 'r') \
8786		     || ('s' <= (c) && (c) <= 'z'))
8787# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8788#endif
8789
8790#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8791int
8792main ()
8793{
8794  int i;
8795  for (i = 0; i < 256; i++)
8796    if (XOR (islower (i), ISLOWER (i))
8797	|| toupper (i) != TOUPPER (i))
8798      return 2;
8799  return 0;
8800}
8801_ACEOF
8802if ac_fn_c_try_run "$LINENO"; then :
8803
8804else
8805  ac_cv_header_stdc=no
8806fi
8807rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8808  conftest.$ac_objext conftest.beam conftest.$ac_ext
8809fi
8810
8811fi
8812fi
8813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8814$as_echo "$ac_cv_header_stdc" >&6; }
8815if test $ac_cv_header_stdc = yes; then
8816
8817$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8818
8819fi
8820
8821# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8822for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8823		  inttypes.h stdint.h unistd.h
8824do :
8825  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8826ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8827"
8828if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8829  cat >>confdefs.h <<_ACEOF
8830#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8831_ACEOF
8832
8833fi
8834
8835done
8836
8837
8838for ac_header in dlfcn.h
8839do :
8840  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8841"
8842if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8843  cat >>confdefs.h <<_ACEOF
8844#define HAVE_DLFCN_H 1
8845_ACEOF
8846
8847fi
8848
8849done
8850
8851
8852  GST_CURRENT=1602
8853  GST_REVISION=0
8854  GST_AGE=1602
8855  GST_LIBVERSION=1602:0:1602
8856
8857
8858
8859
8860
8861  GST_LT_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION"
8862  if test ! -z ""
8863  then
8864    GST_LT_LDFLAGS="$GST_LT_LDFLAGS -release "
8865  fi
8866
8867
8868
8869
8870
8871
8872
8873# Set options
8874enable_dlopen=yes
8875enable_win32_dll=yes
8876
8877case $host in
8878*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8879  if test -n "$ac_tool_prefix"; then
8880  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8881set dummy ${ac_tool_prefix}as; ac_word=$2
8882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8883$as_echo_n "checking for $ac_word... " >&6; }
8884if ${ac_cv_prog_AS+:} false; then :
8885  $as_echo_n "(cached) " >&6
8886else
8887  if test -n "$AS"; then
8888  ac_cv_prog_AS="$AS" # Let the user override the test.
8889else
8890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8891for as_dir in $PATH
8892do
8893  IFS=$as_save_IFS
8894  test -z "$as_dir" && as_dir=.
8895    for ac_exec_ext in '' $ac_executable_extensions; do
8896  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8897    ac_cv_prog_AS="${ac_tool_prefix}as"
8898    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8899    break 2
8900  fi
8901done
8902  done
8903IFS=$as_save_IFS
8904
8905fi
8906fi
8907AS=$ac_cv_prog_AS
8908if test -n "$AS"; then
8909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8910$as_echo "$AS" >&6; }
8911else
8912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8913$as_echo "no" >&6; }
8914fi
8915
8916
8917fi
8918if test -z "$ac_cv_prog_AS"; then
8919  ac_ct_AS=$AS
8920  # Extract the first word of "as", so it can be a program name with args.
8921set dummy as; ac_word=$2
8922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8923$as_echo_n "checking for $ac_word... " >&6; }
8924if ${ac_cv_prog_ac_ct_AS+:} false; then :
8925  $as_echo_n "(cached) " >&6
8926else
8927  if test -n "$ac_ct_AS"; then
8928  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8929else
8930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8931for as_dir in $PATH
8932do
8933  IFS=$as_save_IFS
8934  test -z "$as_dir" && as_dir=.
8935    for ac_exec_ext in '' $ac_executable_extensions; do
8936  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8937    ac_cv_prog_ac_ct_AS="as"
8938    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8939    break 2
8940  fi
8941done
8942  done
8943IFS=$as_save_IFS
8944
8945fi
8946fi
8947ac_ct_AS=$ac_cv_prog_ac_ct_AS
8948if test -n "$ac_ct_AS"; then
8949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8950$as_echo "$ac_ct_AS" >&6; }
8951else
8952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8953$as_echo "no" >&6; }
8954fi
8955
8956  if test "x$ac_ct_AS" = x; then
8957    AS="false"
8958  else
8959    case $cross_compiling:$ac_tool_warned in
8960yes:)
8961{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8962$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8963ac_tool_warned=yes ;;
8964esac
8965    AS=$ac_ct_AS
8966  fi
8967else
8968  AS="$ac_cv_prog_AS"
8969fi
8970
8971  if test -n "$ac_tool_prefix"; then
8972  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8973set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8975$as_echo_n "checking for $ac_word... " >&6; }
8976if ${ac_cv_prog_DLLTOOL+:} false; then :
8977  $as_echo_n "(cached) " >&6
8978else
8979  if test -n "$DLLTOOL"; then
8980  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8981else
8982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8983for as_dir in $PATH
8984do
8985  IFS=$as_save_IFS
8986  test -z "$as_dir" && as_dir=.
8987    for ac_exec_ext in '' $ac_executable_extensions; do
8988  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8989    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8990    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8991    break 2
8992  fi
8993done
8994  done
8995IFS=$as_save_IFS
8996
8997fi
8998fi
8999DLLTOOL=$ac_cv_prog_DLLTOOL
9000if test -n "$DLLTOOL"; then
9001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9002$as_echo "$DLLTOOL" >&6; }
9003else
9004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9005$as_echo "no" >&6; }
9006fi
9007
9008
9009fi
9010if test -z "$ac_cv_prog_DLLTOOL"; then
9011  ac_ct_DLLTOOL=$DLLTOOL
9012  # Extract the first word of "dlltool", so it can be a program name with args.
9013set dummy dlltool; ac_word=$2
9014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9015$as_echo_n "checking for $ac_word... " >&6; }
9016if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9017  $as_echo_n "(cached) " >&6
9018else
9019  if test -n "$ac_ct_DLLTOOL"; then
9020  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9021else
9022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9023for as_dir in $PATH
9024do
9025  IFS=$as_save_IFS
9026  test -z "$as_dir" && as_dir=.
9027    for ac_exec_ext in '' $ac_executable_extensions; do
9028  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9029    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9030    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9031    break 2
9032  fi
9033done
9034  done
9035IFS=$as_save_IFS
9036
9037fi
9038fi
9039ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9040if test -n "$ac_ct_DLLTOOL"; then
9041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9042$as_echo "$ac_ct_DLLTOOL" >&6; }
9043else
9044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9045$as_echo "no" >&6; }
9046fi
9047
9048  if test "x$ac_ct_DLLTOOL" = x; then
9049    DLLTOOL="false"
9050  else
9051    case $cross_compiling:$ac_tool_warned in
9052yes:)
9053{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9054$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9055ac_tool_warned=yes ;;
9056esac
9057    DLLTOOL=$ac_ct_DLLTOOL
9058  fi
9059else
9060  DLLTOOL="$ac_cv_prog_DLLTOOL"
9061fi
9062
9063  if test -n "$ac_tool_prefix"; then
9064  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9065set dummy ${ac_tool_prefix}objdump; ac_word=$2
9066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9067$as_echo_n "checking for $ac_word... " >&6; }
9068if ${ac_cv_prog_OBJDUMP+:} false; then :
9069  $as_echo_n "(cached) " >&6
9070else
9071  if test -n "$OBJDUMP"; then
9072  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9073else
9074as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9075for as_dir in $PATH
9076do
9077  IFS=$as_save_IFS
9078  test -z "$as_dir" && as_dir=.
9079    for ac_exec_ext in '' $ac_executable_extensions; do
9080  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9081    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9082    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9083    break 2
9084  fi
9085done
9086  done
9087IFS=$as_save_IFS
9088
9089fi
9090fi
9091OBJDUMP=$ac_cv_prog_OBJDUMP
9092if test -n "$OBJDUMP"; then
9093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9094$as_echo "$OBJDUMP" >&6; }
9095else
9096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9097$as_echo "no" >&6; }
9098fi
9099
9100
9101fi
9102if test -z "$ac_cv_prog_OBJDUMP"; then
9103  ac_ct_OBJDUMP=$OBJDUMP
9104  # Extract the first word of "objdump", so it can be a program name with args.
9105set dummy objdump; ac_word=$2
9106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9107$as_echo_n "checking for $ac_word... " >&6; }
9108if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9109  $as_echo_n "(cached) " >&6
9110else
9111  if test -n "$ac_ct_OBJDUMP"; then
9112  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9113else
9114as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9115for as_dir in $PATH
9116do
9117  IFS=$as_save_IFS
9118  test -z "$as_dir" && as_dir=.
9119    for ac_exec_ext in '' $ac_executable_extensions; do
9120  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9121    ac_cv_prog_ac_ct_OBJDUMP="objdump"
9122    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9123    break 2
9124  fi
9125done
9126  done
9127IFS=$as_save_IFS
9128
9129fi
9130fi
9131ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9132if test -n "$ac_ct_OBJDUMP"; then
9133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9134$as_echo "$ac_ct_OBJDUMP" >&6; }
9135else
9136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9137$as_echo "no" >&6; }
9138fi
9139
9140  if test "x$ac_ct_OBJDUMP" = x; then
9141    OBJDUMP="false"
9142  else
9143    case $cross_compiling:$ac_tool_warned in
9144yes:)
9145{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9146$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9147ac_tool_warned=yes ;;
9148esac
9149    OBJDUMP=$ac_ct_OBJDUMP
9150  fi
9151else
9152  OBJDUMP="$ac_cv_prog_OBJDUMP"
9153fi
9154
9155  ;;
9156esac
9157
9158test -z "$AS" && AS=as
9159
9160
9161
9162
9163
9164test -z "$DLLTOOL" && DLLTOOL=dlltool
9165
9166
9167
9168
9169
9170test -z "$OBJDUMP" && OBJDUMP=objdump
9171
9172
9173
9174
9175# Check whether --enable-static was given.
9176if test "${enable_static+set}" = set; then :
9177  enableval=$enable_static; p=${PACKAGE-default}
9178    case $enableval in
9179    yes) enable_static=yes ;;
9180    no) enable_static=no ;;
9181    *)
9182     enable_static=no
9183      # Look at the argument we got.  We use all the common list separators.
9184      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9185      for pkg in $enableval; do
9186	IFS=$lt_save_ifs
9187	if test "X$pkg" = "X$p"; then
9188	  enable_static=yes
9189	fi
9190      done
9191      IFS=$lt_save_ifs
9192      ;;
9193    esac
9194else
9195  enable_static=no
9196fi
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209            # Check whether --enable-shared was given.
9210if test "${enable_shared+set}" = set; then :
9211  enableval=$enable_shared; p=${PACKAGE-default}
9212    case $enableval in
9213    yes) enable_shared=yes ;;
9214    no) enable_shared=no ;;
9215    *)
9216      enable_shared=no
9217      # Look at the argument we got.  We use all the common list separators.
9218      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9219      for pkg in $enableval; do
9220	IFS=$lt_save_ifs
9221	if test "X$pkg" = "X$p"; then
9222	  enable_shared=yes
9223	fi
9224      done
9225      IFS=$lt_save_ifs
9226      ;;
9227    esac
9228else
9229  enable_shared=yes
9230fi
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242# Check whether --with-pic was given.
9243if test "${with_pic+set}" = set; then :
9244  withval=$with_pic; lt_p=${PACKAGE-default}
9245    case $withval in
9246    yes|no) pic_mode=$withval ;;
9247    *)
9248      pic_mode=default
9249      # Look at the argument we got.  We use all the common list separators.
9250      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9251      for lt_pkg in $withval; do
9252	IFS=$lt_save_ifs
9253	if test "X$lt_pkg" = "X$lt_p"; then
9254	  pic_mode=yes
9255	fi
9256      done
9257      IFS=$lt_save_ifs
9258      ;;
9259    esac
9260else
9261  pic_mode=default
9262fi
9263
9264
9265
9266
9267
9268
9269
9270
9271  # Check whether --enable-fast-install was given.
9272if test "${enable_fast_install+set}" = set; then :
9273  enableval=$enable_fast_install; p=${PACKAGE-default}
9274    case $enableval in
9275    yes) enable_fast_install=yes ;;
9276    no) enable_fast_install=no ;;
9277    *)
9278      enable_fast_install=no
9279      # Look at the argument we got.  We use all the common list separators.
9280      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9281      for pkg in $enableval; do
9282	IFS=$lt_save_ifs
9283	if test "X$pkg" = "X$p"; then
9284	  enable_fast_install=yes
9285	fi
9286      done
9287      IFS=$lt_save_ifs
9288      ;;
9289    esac
9290else
9291  enable_fast_install=yes
9292fi
9293
9294
9295
9296
9297
9298
9299
9300
9301  shared_archive_member_spec=
9302case $host,$enable_shared in
9303power*-*-aix[5-9]*,yes)
9304  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9305$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9306
9307# Check whether --with-aix-soname was given.
9308if test "${with_aix_soname+set}" = set; then :
9309  withval=$with_aix_soname; case $withval in
9310    aix|svr4|both)
9311      ;;
9312    *)
9313      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9314      ;;
9315    esac
9316    lt_cv_with_aix_soname=$with_aix_soname
9317else
9318  if ${lt_cv_with_aix_soname+:} false; then :
9319  $as_echo_n "(cached) " >&6
9320else
9321  lt_cv_with_aix_soname=aix
9322fi
9323
9324    with_aix_soname=$lt_cv_with_aix_soname
9325fi
9326
9327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9328$as_echo "$with_aix_soname" >&6; }
9329  if test aix != "$with_aix_soname"; then
9330    # For the AIX way of multilib, we name the shared archive member
9331    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9332    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9333    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9334    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9335    if test 64 = "${OBJECT_MODE-32}"; then
9336      shared_archive_member_spec=shr_64
9337    else
9338      shared_archive_member_spec=shr
9339    fi
9340  fi
9341  ;;
9342*)
9343  with_aix_soname=aix
9344  ;;
9345esac
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356# This can be used to rebuild libtool when needed
9357LIBTOOL_DEPS=$ltmain
9358
9359# Always use our own libtool.
9360LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391test -z "$LN_S" && LN_S="ln -s"
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406if test -n "${ZSH_VERSION+set}"; then
9407   setopt NO_GLOB_SUBST
9408fi
9409
9410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9411$as_echo_n "checking for objdir... " >&6; }
9412if ${lt_cv_objdir+:} false; then :
9413  $as_echo_n "(cached) " >&6
9414else
9415  rm -f .libs 2>/dev/null
9416mkdir .libs 2>/dev/null
9417if test -d .libs; then
9418  lt_cv_objdir=.libs
9419else
9420  # MS-DOS does not allow filenames that begin with a dot.
9421  lt_cv_objdir=_libs
9422fi
9423rmdir .libs 2>/dev/null
9424fi
9425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9426$as_echo "$lt_cv_objdir" >&6; }
9427objdir=$lt_cv_objdir
9428
9429
9430
9431
9432
9433cat >>confdefs.h <<_ACEOF
9434#define LT_OBJDIR "$lt_cv_objdir/"
9435_ACEOF
9436
9437
9438
9439
9440case $host_os in
9441aix3*)
9442  # AIX sometimes has problems with the GCC collect2 program.  For some
9443  # reason, if we set the COLLECT_NAMES environment variable, the problems
9444  # vanish in a puff of smoke.
9445  if test set != "${COLLECT_NAMES+set}"; then
9446    COLLECT_NAMES=
9447    export COLLECT_NAMES
9448  fi
9449  ;;
9450esac
9451
9452# Global variables:
9453ofile=libtool
9454can_build_shared=yes
9455
9456# All known linkers require a '.a' archive for static linking (except MSVC,
9457# which needs '.lib').
9458libext=a
9459
9460with_gnu_ld=$lt_cv_prog_gnu_ld
9461
9462old_CC=$CC
9463old_CFLAGS=$CFLAGS
9464
9465# Set sane defaults for various variables
9466test -z "$CC" && CC=cc
9467test -z "$LTCC" && LTCC=$CC
9468test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9469test -z "$LD" && LD=ld
9470test -z "$ac_objext" && ac_objext=o
9471
9472func_cc_basename $compiler
9473cc_basename=$func_cc_basename_result
9474
9475
9476# Only perform the check for file, if the check method requires it
9477test -z "$MAGIC_CMD" && MAGIC_CMD=file
9478case $deplibs_check_method in
9479file_magic*)
9480  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9481    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9482$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9483if ${lt_cv_path_MAGIC_CMD+:} false; then :
9484  $as_echo_n "(cached) " >&6
9485else
9486  case $MAGIC_CMD in
9487[\\/*] |  ?:[\\/]*)
9488  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9489  ;;
9490*)
9491  lt_save_MAGIC_CMD=$MAGIC_CMD
9492  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9493  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9494  for ac_dir in $ac_dummy; do
9495    IFS=$lt_save_ifs
9496    test -z "$ac_dir" && ac_dir=.
9497    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9498      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9499      if test -n "$file_magic_test_file"; then
9500	case $deplibs_check_method in
9501	"file_magic "*)
9502	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9503	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9504	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9505	    $EGREP "$file_magic_regex" > /dev/null; then
9506	    :
9507	  else
9508	    cat <<_LT_EOF 1>&2
9509
9510*** Warning: the command libtool uses to detect shared libraries,
9511*** $file_magic_cmd, produces output that libtool cannot recognize.
9512*** The result is that libtool may fail to recognize shared libraries
9513*** as such.  This will affect the creation of libtool libraries that
9514*** depend on shared libraries, but programs linked with such libtool
9515*** libraries will work regardless of this problem.  Nevertheless, you
9516*** may want to report the problem to your system manager and/or to
9517*** bug-libtool@gnu.org
9518
9519_LT_EOF
9520	  fi ;;
9521	esac
9522      fi
9523      break
9524    fi
9525  done
9526  IFS=$lt_save_ifs
9527  MAGIC_CMD=$lt_save_MAGIC_CMD
9528  ;;
9529esac
9530fi
9531
9532MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9533if test -n "$MAGIC_CMD"; then
9534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9535$as_echo "$MAGIC_CMD" >&6; }
9536else
9537  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9538$as_echo "no" >&6; }
9539fi
9540
9541
9542
9543
9544
9545if test -z "$lt_cv_path_MAGIC_CMD"; then
9546  if test -n "$ac_tool_prefix"; then
9547    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9548$as_echo_n "checking for file... " >&6; }
9549if ${lt_cv_path_MAGIC_CMD+:} false; then :
9550  $as_echo_n "(cached) " >&6
9551else
9552  case $MAGIC_CMD in
9553[\\/*] |  ?:[\\/]*)
9554  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9555  ;;
9556*)
9557  lt_save_MAGIC_CMD=$MAGIC_CMD
9558  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9559  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9560  for ac_dir in $ac_dummy; do
9561    IFS=$lt_save_ifs
9562    test -z "$ac_dir" && ac_dir=.
9563    if test -f "$ac_dir/file"; then
9564      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9565      if test -n "$file_magic_test_file"; then
9566	case $deplibs_check_method in
9567	"file_magic "*)
9568	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9569	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9570	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9571	    $EGREP "$file_magic_regex" > /dev/null; then
9572	    :
9573	  else
9574	    cat <<_LT_EOF 1>&2
9575
9576*** Warning: the command libtool uses to detect shared libraries,
9577*** $file_magic_cmd, produces output that libtool cannot recognize.
9578*** The result is that libtool may fail to recognize shared libraries
9579*** as such.  This will affect the creation of libtool libraries that
9580*** depend on shared libraries, but programs linked with such libtool
9581*** libraries will work regardless of this problem.  Nevertheless, you
9582*** may want to report the problem to your system manager and/or to
9583*** bug-libtool@gnu.org
9584
9585_LT_EOF
9586	  fi ;;
9587	esac
9588      fi
9589      break
9590    fi
9591  done
9592  IFS=$lt_save_ifs
9593  MAGIC_CMD=$lt_save_MAGIC_CMD
9594  ;;
9595esac
9596fi
9597
9598MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9599if test -n "$MAGIC_CMD"; then
9600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9601$as_echo "$MAGIC_CMD" >&6; }
9602else
9603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9604$as_echo "no" >&6; }
9605fi
9606
9607
9608  else
9609    MAGIC_CMD=:
9610  fi
9611fi
9612
9613  fi
9614  ;;
9615esac
9616
9617# Use C for the default configuration in the libtool script
9618
9619lt_save_CC=$CC
9620ac_ext=c
9621ac_cpp='$CPP $CPPFLAGS'
9622ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9623ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9624ac_compiler_gnu=$ac_cv_c_compiler_gnu
9625
9626
9627# Source file extension for C test sources.
9628ac_ext=c
9629
9630# Object file extension for compiled C test sources.
9631objext=o
9632objext=$objext
9633
9634# Code to be used in simple compile tests
9635lt_simple_compile_test_code="int some_variable = 0;"
9636
9637# Code to be used in simple link tests
9638lt_simple_link_test_code='int main(){return(0);}'
9639
9640
9641
9642
9643
9644
9645
9646# If no C compiler was specified, use CC.
9647LTCC=${LTCC-"$CC"}
9648
9649# If no C compiler flags were specified, use CFLAGS.
9650LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9651
9652# Allow CC to be a program name with arguments.
9653compiler=$CC
9654
9655# Save the default compiler, since it gets overwritten when the other
9656# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9657compiler_DEFAULT=$CC
9658
9659# save warnings/boilerplate of simple test code
9660ac_outfile=conftest.$ac_objext
9661echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9662eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9663_lt_compiler_boilerplate=`cat conftest.err`
9664$RM conftest*
9665
9666ac_outfile=conftest.$ac_objext
9667echo "$lt_simple_link_test_code" >conftest.$ac_ext
9668eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9669_lt_linker_boilerplate=`cat conftest.err`
9670$RM -r conftest*
9671
9672
9673## CAVEAT EMPTOR:
9674## There is no encapsulation within the following macros, do not change
9675## the running order or otherwise move them around unless you know exactly
9676## what you are doing...
9677if test -n "$compiler"; then
9678
9679lt_prog_compiler_no_builtin_flag=
9680
9681if test yes = "$GCC"; then
9682  case $cc_basename in
9683  nvcc*)
9684    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9685  *)
9686    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9687  esac
9688
9689  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9690$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9691if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9692  $as_echo_n "(cached) " >&6
9693else
9694  lt_cv_prog_compiler_rtti_exceptions=no
9695   ac_outfile=conftest.$ac_objext
9696   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9697   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9698   # Insert the option either (1) after the last *FLAGS variable, or
9699   # (2) before a word containing "conftest.", or (3) at the end.
9700   # Note that $ac_compile itself does not contain backslashes and begins
9701   # with a dollar sign (not a hyphen), so the echo should work correctly.
9702   # The option is referenced via a variable to avoid confusing sed.
9703   lt_compile=`echo "$ac_compile" | $SED \
9704   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9705   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9706   -e 's:$: $lt_compiler_flag:'`
9707   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9708   (eval "$lt_compile" 2>conftest.err)
9709   ac_status=$?
9710   cat conftest.err >&5
9711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9712   if (exit $ac_status) && test -s "$ac_outfile"; then
9713     # The compiler can only warn and ignore the option if not recognized
9714     # So say no if there are warnings other than the usual output.
9715     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9716     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9717     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9718       lt_cv_prog_compiler_rtti_exceptions=yes
9719     fi
9720   fi
9721   $RM conftest*
9722
9723fi
9724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9725$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9726
9727if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9728    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9729else
9730    :
9731fi
9732
9733fi
9734
9735
9736
9737
9738
9739
9740  lt_prog_compiler_wl=
9741lt_prog_compiler_pic=
9742lt_prog_compiler_static=
9743
9744
9745  if test yes = "$GCC"; then
9746    lt_prog_compiler_wl='-Wl,'
9747    lt_prog_compiler_static='-static'
9748
9749    case $host_os in
9750      aix*)
9751      # All AIX code is PIC.
9752      if test ia64 = "$host_cpu"; then
9753	# AIX 5 now supports IA64 processor
9754	lt_prog_compiler_static='-Bstatic'
9755      fi
9756      lt_prog_compiler_pic='-fPIC'
9757      ;;
9758
9759    amigaos*)
9760      case $host_cpu in
9761      powerpc)
9762            # see comment about AmigaOS4 .so support
9763            lt_prog_compiler_pic='-fPIC'
9764        ;;
9765      m68k)
9766            # FIXME: we need at least 68020 code to build shared libraries, but
9767            # adding the '-m68020' flag to GCC prevents building anything better,
9768            # like '-m68040'.
9769            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9770        ;;
9771      esac
9772      ;;
9773
9774    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9775      # PIC is the default for these OSes.
9776      ;;
9777
9778    mingw* | cygwin* | pw32* | os2* | cegcc*)
9779      # This hack is so that the source file can tell whether it is being
9780      # built for inclusion in a dll (and should export symbols for example).
9781      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9782      # (--disable-auto-import) libraries
9783      lt_prog_compiler_pic='-DDLL_EXPORT'
9784      case $host_os in
9785      os2*)
9786	lt_prog_compiler_static='$wl-static'
9787	;;
9788      esac
9789      ;;
9790
9791    darwin* | rhapsody*)
9792      # PIC is the default on this platform
9793      # Common symbols not allowed in MH_DYLIB files
9794      lt_prog_compiler_pic='-fno-common'
9795      ;;
9796
9797    haiku*)
9798      # PIC is the default for Haiku.
9799      # The "-static" flag exists, but is broken.
9800      lt_prog_compiler_static=
9801      ;;
9802
9803    hpux*)
9804      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9805      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9806      # sets the default TLS model and affects inlining.
9807      case $host_cpu in
9808      hppa*64*)
9809	# +Z the default
9810	;;
9811      *)
9812	lt_prog_compiler_pic='-fPIC'
9813	;;
9814      esac
9815      ;;
9816
9817    interix[3-9]*)
9818      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9819      # Instead, we relocate shared libraries at runtime.
9820      ;;
9821
9822    msdosdjgpp*)
9823      # Just because we use GCC doesn't mean we suddenly get shared libraries
9824      # on systems that don't support them.
9825      lt_prog_compiler_can_build_shared=no
9826      enable_shared=no
9827      ;;
9828
9829    *nto* | *qnx*)
9830      # QNX uses GNU C++, but need to define -shared option too, otherwise
9831      # it will coredump.
9832      lt_prog_compiler_pic='-fPIC -shared'
9833      ;;
9834
9835    sysv4*MP*)
9836      if test -d /usr/nec; then
9837	lt_prog_compiler_pic=-Kconform_pic
9838      fi
9839      ;;
9840
9841    *)
9842      lt_prog_compiler_pic='-fPIC'
9843      ;;
9844    esac
9845
9846    case $cc_basename in
9847    nvcc*) # Cuda Compiler Driver 2.2
9848      lt_prog_compiler_wl='-Xlinker '
9849      if test -n "$lt_prog_compiler_pic"; then
9850        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9851      fi
9852      ;;
9853    esac
9854  else
9855    # PORTME Check for flag to pass linker flags through the system compiler.
9856    case $host_os in
9857    aix*)
9858      lt_prog_compiler_wl='-Wl,'
9859      if test ia64 = "$host_cpu"; then
9860	# AIX 5 now supports IA64 processor
9861	lt_prog_compiler_static='-Bstatic'
9862      else
9863	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9864      fi
9865      ;;
9866
9867    darwin* | rhapsody*)
9868      # PIC is the default on this platform
9869      # Common symbols not allowed in MH_DYLIB files
9870      lt_prog_compiler_pic='-fno-common'
9871      case $cc_basename in
9872      nagfor*)
9873        # NAG Fortran compiler
9874        lt_prog_compiler_wl='-Wl,-Wl,,'
9875        lt_prog_compiler_pic='-PIC'
9876        lt_prog_compiler_static='-Bstatic'
9877        ;;
9878      esac
9879      ;;
9880
9881    mingw* | cygwin* | pw32* | os2* | cegcc*)
9882      # This hack is so that the source file can tell whether it is being
9883      # built for inclusion in a dll (and should export symbols for example).
9884      lt_prog_compiler_pic='-DDLL_EXPORT'
9885      case $host_os in
9886      os2*)
9887	lt_prog_compiler_static='$wl-static'
9888	;;
9889      esac
9890      ;;
9891
9892    hpux9* | hpux10* | hpux11*)
9893      lt_prog_compiler_wl='-Wl,'
9894      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9895      # not for PA HP-UX.
9896      case $host_cpu in
9897      hppa*64*|ia64*)
9898	# +Z the default
9899	;;
9900      *)
9901	lt_prog_compiler_pic='+Z'
9902	;;
9903      esac
9904      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9905      lt_prog_compiler_static='$wl-a ${wl}archive'
9906      ;;
9907
9908    irix5* | irix6* | nonstopux*)
9909      lt_prog_compiler_wl='-Wl,'
9910      # PIC (with -KPIC) is the default.
9911      lt_prog_compiler_static='-non_shared'
9912      ;;
9913
9914    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9915      case $cc_basename in
9916      # old Intel for x86_64, which still supported -KPIC.
9917      ecc*)
9918	lt_prog_compiler_wl='-Wl,'
9919	lt_prog_compiler_pic='-KPIC'
9920	lt_prog_compiler_static='-static'
9921        ;;
9922      # flang / f18. f95 an alias for gfortran or flang on Debian
9923      flang* | f18* | f95*)
9924	lt_prog_compiler_wl='-Wl,'
9925	lt_prog_compiler_pic='-fPIC'
9926	lt_prog_compiler_static='-static'
9927        ;;
9928      # icc used to be incompatible with GCC.
9929      # ICC 10 doesn't accept -KPIC any more.
9930      icc* | ifort*)
9931	lt_prog_compiler_wl='-Wl,'
9932	lt_prog_compiler_pic='-fPIC'
9933	lt_prog_compiler_static='-static'
9934        ;;
9935      # Lahey Fortran 8.1.
9936      lf95*)
9937	lt_prog_compiler_wl='-Wl,'
9938	lt_prog_compiler_pic='--shared'
9939	lt_prog_compiler_static='--static'
9940	;;
9941      nagfor*)
9942	# NAG Fortran compiler
9943	lt_prog_compiler_wl='-Wl,-Wl,,'
9944	lt_prog_compiler_pic='-PIC'
9945	lt_prog_compiler_static='-Bstatic'
9946	;;
9947      tcc*)
9948	# Fabrice Bellard et al's Tiny C Compiler
9949	lt_prog_compiler_wl='-Wl,'
9950	lt_prog_compiler_pic='-fPIC'
9951	lt_prog_compiler_static='-static'
9952	;;
9953      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9954        # Portland Group compilers (*not* the Pentium gcc compiler,
9955	# which looks to be a dead project)
9956	lt_prog_compiler_wl='-Wl,'
9957	lt_prog_compiler_pic='-fpic'
9958	lt_prog_compiler_static='-Bstatic'
9959        ;;
9960      ccc*)
9961        lt_prog_compiler_wl='-Wl,'
9962        # All Alpha code is PIC.
9963        lt_prog_compiler_static='-non_shared'
9964        ;;
9965      xl* | bgxl* | bgf* | mpixl*)
9966	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9967	lt_prog_compiler_wl='-Wl,'
9968	lt_prog_compiler_pic='-qpic'
9969	lt_prog_compiler_static='-qstaticlink'
9970	;;
9971      *)
9972	case `$CC -V 2>&1 | sed 5q` in
9973	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9974	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9975	  lt_prog_compiler_pic='-KPIC'
9976	  lt_prog_compiler_static='-Bstatic'
9977	  lt_prog_compiler_wl=''
9978	  ;;
9979	*Sun\ F* | *Sun*Fortran*)
9980	  lt_prog_compiler_pic='-KPIC'
9981	  lt_prog_compiler_static='-Bstatic'
9982	  lt_prog_compiler_wl='-Qoption ld '
9983	  ;;
9984	*Sun\ C*)
9985	  # Sun C 5.9
9986	  lt_prog_compiler_pic='-KPIC'
9987	  lt_prog_compiler_static='-Bstatic'
9988	  lt_prog_compiler_wl='-Wl,'
9989	  ;;
9990        *Intel*\ [CF]*Compiler*)
9991	  lt_prog_compiler_wl='-Wl,'
9992	  lt_prog_compiler_pic='-fPIC'
9993	  lt_prog_compiler_static='-static'
9994	  ;;
9995	*Portland\ Group*)
9996	  lt_prog_compiler_wl='-Wl,'
9997	  lt_prog_compiler_pic='-fpic'
9998	  lt_prog_compiler_static='-Bstatic'
9999	  ;;
10000	esac
10001	;;
10002      esac
10003      ;;
10004
10005    newsos6)
10006      lt_prog_compiler_pic='-KPIC'
10007      lt_prog_compiler_static='-Bstatic'
10008      ;;
10009
10010    *nto* | *qnx*)
10011      # QNX uses GNU C++, but need to define -shared option too, otherwise
10012      # it will coredump.
10013      lt_prog_compiler_pic='-fPIC -shared'
10014      ;;
10015
10016    osf3* | osf4* | osf5*)
10017      lt_prog_compiler_wl='-Wl,'
10018      # All OSF/1 code is PIC.
10019      lt_prog_compiler_static='-non_shared'
10020      ;;
10021
10022    rdos*)
10023      lt_prog_compiler_static='-non_shared'
10024      ;;
10025
10026    solaris*)
10027      lt_prog_compiler_pic='-KPIC'
10028      lt_prog_compiler_static='-Bstatic'
10029      case $cc_basename in
10030      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10031	lt_prog_compiler_wl='-Qoption ld ';;
10032      *)
10033	lt_prog_compiler_wl='-Wl,';;
10034      esac
10035      ;;
10036
10037    sunos4*)
10038      lt_prog_compiler_wl='-Qoption ld '
10039      lt_prog_compiler_pic='-PIC'
10040      lt_prog_compiler_static='-Bstatic'
10041      ;;
10042
10043    sysv4 | sysv4.2uw2* | sysv4.3*)
10044      lt_prog_compiler_wl='-Wl,'
10045      lt_prog_compiler_pic='-KPIC'
10046      lt_prog_compiler_static='-Bstatic'
10047      ;;
10048
10049    sysv4*MP*)
10050      if test -d /usr/nec; then
10051	lt_prog_compiler_pic='-Kconform_pic'
10052	lt_prog_compiler_static='-Bstatic'
10053      fi
10054      ;;
10055
10056    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10057      lt_prog_compiler_wl='-Wl,'
10058      lt_prog_compiler_pic='-KPIC'
10059      lt_prog_compiler_static='-Bstatic'
10060      ;;
10061
10062    unicos*)
10063      lt_prog_compiler_wl='-Wl,'
10064      lt_prog_compiler_can_build_shared=no
10065      ;;
10066
10067    uts4*)
10068      lt_prog_compiler_pic='-pic'
10069      lt_prog_compiler_static='-Bstatic'
10070      ;;
10071
10072    *)
10073      lt_prog_compiler_can_build_shared=no
10074      ;;
10075    esac
10076  fi
10077
10078case $host_os in
10079  # For platforms that do not support PIC, -DPIC is meaningless:
10080  *djgpp*)
10081    lt_prog_compiler_pic=
10082    ;;
10083  *)
10084    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10085    ;;
10086esac
10087
10088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10089$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10090if ${lt_cv_prog_compiler_pic+:} false; then :
10091  $as_echo_n "(cached) " >&6
10092else
10093  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10094fi
10095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10096$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10097lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10098
10099#
10100# Check to make sure the PIC flag actually works.
10101#
10102if test -n "$lt_prog_compiler_pic"; then
10103  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10104$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10105if ${lt_cv_prog_compiler_pic_works+:} false; then :
10106  $as_echo_n "(cached) " >&6
10107else
10108  lt_cv_prog_compiler_pic_works=no
10109   ac_outfile=conftest.$ac_objext
10110   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10111   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10112   # Insert the option either (1) after the last *FLAGS variable, or
10113   # (2) before a word containing "conftest.", or (3) at the end.
10114   # Note that $ac_compile itself does not contain backslashes and begins
10115   # with a dollar sign (not a hyphen), so the echo should work correctly.
10116   # The option is referenced via a variable to avoid confusing sed.
10117   lt_compile=`echo "$ac_compile" | $SED \
10118   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10119   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10120   -e 's:$: $lt_compiler_flag:'`
10121   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10122   (eval "$lt_compile" 2>conftest.err)
10123   ac_status=$?
10124   cat conftest.err >&5
10125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126   if (exit $ac_status) && test -s "$ac_outfile"; then
10127     # The compiler can only warn and ignore the option if not recognized
10128     # So say no if there are warnings other than the usual output.
10129     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10130     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10131     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10132       lt_cv_prog_compiler_pic_works=yes
10133     fi
10134   fi
10135   $RM conftest*
10136
10137fi
10138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10139$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10140
10141if test yes = "$lt_cv_prog_compiler_pic_works"; then
10142    case $lt_prog_compiler_pic in
10143     "" | " "*) ;;
10144     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10145     esac
10146else
10147    lt_prog_compiler_pic=
10148     lt_prog_compiler_can_build_shared=no
10149fi
10150
10151fi
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163#
10164# Check to make sure the static flag actually works.
10165#
10166wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10168$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10169if ${lt_cv_prog_compiler_static_works+:} false; then :
10170  $as_echo_n "(cached) " >&6
10171else
10172  lt_cv_prog_compiler_static_works=no
10173   save_LDFLAGS=$LDFLAGS
10174   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10175   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10176   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10177     # The linker can only warn and ignore the option if not recognized
10178     # So say no if there are warnings
10179     if test -s conftest.err; then
10180       # Append any errors to the config.log.
10181       cat conftest.err 1>&5
10182       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10183       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10184       if diff conftest.exp conftest.er2 >/dev/null; then
10185         lt_cv_prog_compiler_static_works=yes
10186       fi
10187     else
10188       lt_cv_prog_compiler_static_works=yes
10189     fi
10190   fi
10191   $RM -r conftest*
10192   LDFLAGS=$save_LDFLAGS
10193
10194fi
10195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10196$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10197
10198if test yes = "$lt_cv_prog_compiler_static_works"; then
10199    :
10200else
10201    lt_prog_compiler_static=
10202fi
10203
10204
10205
10206
10207
10208
10209
10210  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10211$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10212if ${lt_cv_prog_compiler_c_o+:} false; then :
10213  $as_echo_n "(cached) " >&6
10214else
10215  lt_cv_prog_compiler_c_o=no
10216   $RM -r conftest 2>/dev/null
10217   mkdir conftest
10218   cd conftest
10219   mkdir out
10220   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10221
10222   lt_compiler_flag="-o out/conftest2.$ac_objext"
10223   # Insert the option either (1) after the last *FLAGS variable, or
10224   # (2) before a word containing "conftest.", or (3) at the end.
10225   # Note that $ac_compile itself does not contain backslashes and begins
10226   # with a dollar sign (not a hyphen), so the echo should work correctly.
10227   lt_compile=`echo "$ac_compile" | $SED \
10228   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10229   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10230   -e 's:$: $lt_compiler_flag:'`
10231   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10232   (eval "$lt_compile" 2>out/conftest.err)
10233   ac_status=$?
10234   cat out/conftest.err >&5
10235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10237   then
10238     # The compiler can only warn and ignore the option if not recognized
10239     # So say no if there are warnings
10240     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10241     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10242     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10243       lt_cv_prog_compiler_c_o=yes
10244     fi
10245   fi
10246   chmod u+w . 2>&5
10247   $RM conftest*
10248   # SGI C++ compiler will create directory out/ii_files/ for
10249   # template instantiation
10250   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10251   $RM out/* && rmdir out
10252   cd ..
10253   $RM -r conftest
10254   $RM conftest*
10255
10256fi
10257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10258$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10259
10260
10261
10262
10263
10264
10265  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10266$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10267if ${lt_cv_prog_compiler_c_o+:} false; then :
10268  $as_echo_n "(cached) " >&6
10269else
10270  lt_cv_prog_compiler_c_o=no
10271   $RM -r conftest 2>/dev/null
10272   mkdir conftest
10273   cd conftest
10274   mkdir out
10275   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10276
10277   lt_compiler_flag="-o out/conftest2.$ac_objext"
10278   # Insert the option either (1) after the last *FLAGS variable, or
10279   # (2) before a word containing "conftest.", or (3) at the end.
10280   # Note that $ac_compile itself does not contain backslashes and begins
10281   # with a dollar sign (not a hyphen), so the echo should work correctly.
10282   lt_compile=`echo "$ac_compile" | $SED \
10283   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10284   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10285   -e 's:$: $lt_compiler_flag:'`
10286   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10287   (eval "$lt_compile" 2>out/conftest.err)
10288   ac_status=$?
10289   cat out/conftest.err >&5
10290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10291   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10292   then
10293     # The compiler can only warn and ignore the option if not recognized
10294     # So say no if there are warnings
10295     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10296     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10297     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10298       lt_cv_prog_compiler_c_o=yes
10299     fi
10300   fi
10301   chmod u+w . 2>&5
10302   $RM conftest*
10303   # SGI C++ compiler will create directory out/ii_files/ for
10304   # template instantiation
10305   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10306   $RM out/* && rmdir out
10307   cd ..
10308   $RM -r conftest
10309   $RM conftest*
10310
10311fi
10312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10313$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10314
10315
10316
10317
10318hard_links=nottested
10319if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10320  # do not overwrite the value of need_locks provided by the user
10321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10322$as_echo_n "checking if we can lock with hard links... " >&6; }
10323  hard_links=yes
10324  $RM conftest*
10325  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10326  touch conftest.a
10327  ln conftest.a conftest.b 2>&5 || hard_links=no
10328  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10330$as_echo "$hard_links" >&6; }
10331  if test no = "$hard_links"; then
10332    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10333$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10334    need_locks=warn
10335  fi
10336else
10337  need_locks=no
10338fi
10339
10340
10341
10342
10343
10344
10345  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10346$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10347
10348  runpath_var=
10349  allow_undefined_flag=
10350  always_export_symbols=no
10351  archive_cmds=
10352  archive_expsym_cmds=
10353  compiler_needs_object=no
10354  enable_shared_with_static_runtimes=no
10355  export_dynamic_flag_spec=
10356  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10357  hardcode_automatic=no
10358  hardcode_direct=no
10359  hardcode_direct_absolute=no
10360  hardcode_libdir_flag_spec=
10361  hardcode_libdir_separator=
10362  hardcode_minus_L=no
10363  hardcode_shlibpath_var=unsupported
10364  inherit_rpath=no
10365  link_all_deplibs=unknown
10366  module_cmds=
10367  module_expsym_cmds=
10368  old_archive_from_new_cmds=
10369  old_archive_from_expsyms_cmds=
10370  thread_safe_flag_spec=
10371  whole_archive_flag_spec=
10372  # include_expsyms should be a list of space-separated symbols to be *always*
10373  # included in the symbol list
10374  include_expsyms=
10375  # exclude_expsyms can be an extended regexp of symbols to exclude
10376  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10377  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10378  # as well as any symbol that contains 'd'.
10379  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10380  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10381  # platforms (ab)use it in PIC code, but their linkers get confused if
10382  # the symbol is explicitly referenced.  Since portable code cannot
10383  # rely on this symbol name, it's probably fine to never include it in
10384  # preloaded symbol tables.
10385  # Exclude shared library initialization/finalization symbols.
10386  extract_expsyms_cmds=
10387
10388  case $host_os in
10389  cygwin* | mingw* | pw32* | cegcc*)
10390    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10391    # When not using gcc, we currently assume that we are using
10392    # Microsoft Visual C++.
10393    if test yes != "$GCC"; then
10394      with_gnu_ld=no
10395    fi
10396    ;;
10397  interix*)
10398    # we just hope/assume this is gcc and not c89 (= MSVC++)
10399    with_gnu_ld=yes
10400    ;;
10401  openbsd* | bitrig*)
10402    with_gnu_ld=no
10403    ;;
10404  linux* | k*bsd*-gnu | gnu*)
10405    link_all_deplibs=no
10406    ;;
10407  esac
10408
10409  ld_shlibs=yes
10410
10411  # On some targets, GNU ld is compatible enough with the native linker
10412  # that we're better off using the native interface for both.
10413  lt_use_gnu_ld_interface=no
10414  if test yes = "$with_gnu_ld"; then
10415    case $host_os in
10416      aix*)
10417	# The AIX port of GNU ld has always aspired to compatibility
10418	# with the native linker.  However, as the warning in the GNU ld
10419	# block says, versions before 2.19.5* couldn't really create working
10420	# shared libraries, regardless of the interface used.
10421	case `$LD -v 2>&1` in
10422	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10423	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10424	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10425	  *)
10426	    lt_use_gnu_ld_interface=yes
10427	    ;;
10428	esac
10429	;;
10430      *)
10431	lt_use_gnu_ld_interface=yes
10432	;;
10433    esac
10434  fi
10435
10436  if test yes = "$lt_use_gnu_ld_interface"; then
10437    # If archive_cmds runs LD, not CC, wlarc should be empty
10438    wlarc='$wl'
10439
10440    # Set some defaults for GNU ld with shared library support. These
10441    # are reset later if shared libraries are not supported. Putting them
10442    # here allows them to be overridden if necessary.
10443    runpath_var=LD_RUN_PATH
10444    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10445    export_dynamic_flag_spec='$wl--export-dynamic'
10446    # ancient GNU ld didn't support --whole-archive et. al.
10447    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10448      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10449    else
10450      whole_archive_flag_spec=
10451    fi
10452    supports_anon_versioning=no
10453    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10454      *GNU\ gold*) supports_anon_versioning=yes ;;
10455      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10456      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10457      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10458      *\ 2.11.*) ;; # other 2.11 versions
10459      *) supports_anon_versioning=yes ;;
10460    esac
10461
10462    # See if GNU ld supports shared libraries.
10463    case $host_os in
10464    aix[3-9]*)
10465      # On AIX/PPC, the GNU linker is very broken
10466      if test ia64 != "$host_cpu"; then
10467	ld_shlibs=no
10468	cat <<_LT_EOF 1>&2
10469
10470*** Warning: the GNU linker, at least up to release 2.19, is reported
10471*** to be unable to reliably create shared libraries on AIX.
10472*** Therefore, libtool is disabling shared libraries support.  If you
10473*** really care for shared libraries, you may want to install binutils
10474*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10475*** You will then need to restart the configuration process.
10476
10477_LT_EOF
10478      fi
10479      ;;
10480
10481    amigaos*)
10482      case $host_cpu in
10483      powerpc)
10484            # see comment about AmigaOS4 .so support
10485            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10486            archive_expsym_cmds=''
10487        ;;
10488      m68k)
10489            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)'
10490            hardcode_libdir_flag_spec='-L$libdir'
10491            hardcode_minus_L=yes
10492        ;;
10493      esac
10494      ;;
10495
10496    beos*)
10497      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10498	allow_undefined_flag=unsupported
10499	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10500	# support --undefined.  This deserves some investigation.  FIXME
10501	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10502      else
10503	ld_shlibs=no
10504      fi
10505      ;;
10506
10507    cygwin* | mingw* | pw32* | cegcc*)
10508      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10509      # as there is no search path for DLLs.
10510      hardcode_libdir_flag_spec='-L$libdir'
10511      export_dynamic_flag_spec='$wl--export-all-symbols'
10512      allow_undefined_flag=unsupported
10513      always_export_symbols=no
10514      enable_shared_with_static_runtimes=yes
10515      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'
10516      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10517
10518      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10519        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10520	# If the export-symbols file already is a .def file, use it as
10521	# is; otherwise, prepend EXPORTS...
10522	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10523          cp $export_symbols $output_objdir/$soname.def;
10524        else
10525          echo EXPORTS > $output_objdir/$soname.def;
10526          cat $export_symbols >> $output_objdir/$soname.def;
10527        fi~
10528        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10529      else
10530	ld_shlibs=no
10531      fi
10532      ;;
10533
10534    haiku*)
10535      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10536      link_all_deplibs=yes
10537      ;;
10538
10539    os2*)
10540      hardcode_libdir_flag_spec='-L$libdir'
10541      hardcode_minus_L=yes
10542      allow_undefined_flag=unsupported
10543      shrext_cmds=.dll
10544      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10545	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10546	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10547	$ECHO EXPORTS >> $output_objdir/$libname.def~
10548	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10549	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10550	emximp -o $lib $output_objdir/$libname.def'
10551      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10552	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10553	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10554	$ECHO EXPORTS >> $output_objdir/$libname.def~
10555	prefix_cmds="$SED"~
10556	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10557	  prefix_cmds="$prefix_cmds -e 1d";
10558	fi~
10559	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10560	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10561	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10562	emximp -o $lib $output_objdir/$libname.def'
10563      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10564      enable_shared_with_static_runtimes=yes
10565      ;;
10566
10567    interix[3-9]*)
10568      hardcode_direct=no
10569      hardcode_shlibpath_var=no
10570      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10571      export_dynamic_flag_spec='$wl-E'
10572      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10573      # Instead, shared libraries are loaded at an image base (0x10000000 by
10574      # default) and relocated if they conflict, which is a slow very memory
10575      # consuming and fragmenting process.  To avoid this, we pick a random,
10576      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10577      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10578      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10579      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'
10580      ;;
10581
10582    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10583      tmp_diet=no
10584      if test linux-dietlibc = "$host_os"; then
10585	case $cc_basename in
10586	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10587	esac
10588      fi
10589      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10590	 && test no = "$tmp_diet"
10591      then
10592	tmp_addflag=' $pic_flag'
10593	tmp_sharedflag='-shared'
10594	case $cc_basename,$host_cpu in
10595        pgcc*)				# Portland Group C compiler
10596	  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'
10597	  tmp_addflag=' $pic_flag'
10598	  ;;
10599	pgf77* | pgf90* | pgf95* | pgfortran*)
10600					# Portland Group f77 and f90 compilers
10601	  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'
10602	  tmp_addflag=' $pic_flag -Mnomain' ;;
10603	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10604	  tmp_addflag=' -i_dynamic' ;;
10605	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10606	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10607	ifc* | ifort*)			# Intel Fortran compiler
10608	  tmp_addflag=' -nofor_main' ;;
10609	lf95*)				# Lahey Fortran 8.1
10610	  whole_archive_flag_spec=
10611	  tmp_sharedflag='--shared' ;;
10612        nagfor*)                        # NAGFOR 5.3
10613          tmp_sharedflag='-Wl,-shared' ;;
10614	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10615	  tmp_sharedflag='-qmkshrobj'
10616	  tmp_addflag= ;;
10617	nvcc*)	# Cuda Compiler Driver 2.2
10618	  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'
10619	  compiler_needs_object=yes
10620	  ;;
10621	esac
10622	case `$CC -V 2>&1 | sed 5q` in
10623	*Sun\ C*)			# Sun C 5.9
10624	  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'
10625	  compiler_needs_object=yes
10626	  tmp_sharedflag='-G' ;;
10627	*Sun\ F*)			# Sun Fortran 8.3
10628	  tmp_sharedflag='-G' ;;
10629	esac
10630	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10631
10632        if test yes = "$supports_anon_versioning"; then
10633          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10634            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10635            echo "local: *; };" >> $output_objdir/$libname.ver~
10636            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10637        fi
10638
10639	case $cc_basename in
10640	tcc*)
10641	  export_dynamic_flag_spec='-rdynamic'
10642	  ;;
10643	xlf* | bgf* | bgxlf* | mpixlf*)
10644	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10645	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10646	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10647	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10648	  if test yes = "$supports_anon_versioning"; then
10649	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10650              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10651              echo "local: *; };" >> $output_objdir/$libname.ver~
10652              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10653	  fi
10654	  ;;
10655	esac
10656      else
10657        ld_shlibs=no
10658      fi
10659      ;;
10660
10661    netbsd* | netbsdelf*-gnu)
10662      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10663	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10664	wlarc=
10665      else
10666	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10667	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10668      fi
10669      ;;
10670
10671    solaris*)
10672      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10673	ld_shlibs=no
10674	cat <<_LT_EOF 1>&2
10675
10676*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10677*** create shared libraries on Solaris systems.  Therefore, libtool
10678*** is disabling shared libraries support.  We urge you to upgrade GNU
10679*** binutils to release 2.9.1 or newer.  Another option is to modify
10680*** your PATH or compiler configuration so that the native linker is
10681*** used, and then restart.
10682
10683_LT_EOF
10684      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10685	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10686	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10687      else
10688	ld_shlibs=no
10689      fi
10690      ;;
10691
10692    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10693      case `$LD -v 2>&1` in
10694        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10695	ld_shlibs=no
10696	cat <<_LT_EOF 1>&2
10697
10698*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10699*** reliably create shared libraries on SCO systems.  Therefore, libtool
10700*** is disabling shared libraries support.  We urge you to upgrade GNU
10701*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10702*** your PATH or compiler configuration so that the native linker is
10703*** used, and then restart.
10704
10705_LT_EOF
10706	;;
10707	*)
10708	  # For security reasons, it is highly recommended that you always
10709	  # use absolute paths for naming shared libraries, and exclude the
10710	  # DT_RUNPATH tag from executables and libraries.  But doing so
10711	  # requires that you compile everything twice, which is a pain.
10712	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10713	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10714	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10715	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10716	  else
10717	    ld_shlibs=no
10718	  fi
10719	;;
10720      esac
10721      ;;
10722
10723    sunos4*)
10724      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10725      wlarc=
10726      hardcode_direct=yes
10727      hardcode_shlibpath_var=no
10728      ;;
10729
10730    *)
10731      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10732	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10733	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10734      else
10735	ld_shlibs=no
10736      fi
10737      ;;
10738    esac
10739
10740    if test no = "$ld_shlibs"; then
10741      runpath_var=
10742      hardcode_libdir_flag_spec=
10743      export_dynamic_flag_spec=
10744      whole_archive_flag_spec=
10745    fi
10746  else
10747    # PORTME fill in a description of your system's linker (not GNU ld)
10748    case $host_os in
10749    aix3*)
10750      allow_undefined_flag=unsupported
10751      always_export_symbols=yes
10752      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'
10753      # Note: this linker hardcodes the directories in LIBPATH if there
10754      # are no directories specified by -L.
10755      hardcode_minus_L=yes
10756      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10757	# Neither direct hardcoding nor static linking is supported with a
10758	# broken collect2.
10759	hardcode_direct=unsupported
10760      fi
10761      ;;
10762
10763    aix[4-9]*)
10764      if test ia64 = "$host_cpu"; then
10765	# On IA64, the linker does run time linking by default, so we don't
10766	# have to do anything special.
10767	aix_use_runtimelinking=no
10768	exp_sym_flag='-Bexport'
10769	no_entry_flag=
10770      else
10771	# If we're using GNU nm, then we don't want the "-C" option.
10772	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10773	# Without the "-l" option, or with the "-B" option, AIX nm treats
10774	# weak defined symbols like other global defined symbols, whereas
10775	# GNU nm marks them as "W".
10776	# While the 'weak' keyword is ignored in the Export File, we need
10777	# it in the Import File for the 'aix-soname' feature, so we have
10778	# to replace the "-B" option with "-P" for AIX nm.
10779	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10780	  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'
10781	else
10782	  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'
10783	fi
10784	aix_use_runtimelinking=no
10785
10786	# Test if we are trying to use run time linking or normal
10787	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10788	# have runtime linking enabled, and use it for executables.
10789	# For shared libraries, we enable/disable runtime linking
10790	# depending on the kind of the shared library created -
10791	# when "with_aix_soname,aix_use_runtimelinking" is:
10792	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10793	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10794	#            lib.a           static archive
10795	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10796	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10797	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10798	#            lib.a(lib.so.V) shared, rtl:no
10799	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10800	#            lib.a           static archive
10801	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10802	  for ld_flag in $LDFLAGS; do
10803	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10804	    aix_use_runtimelinking=yes
10805	    break
10806	  fi
10807	  done
10808	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10809	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10810	    # so we don't have lib.a shared libs to link our executables.
10811	    # We have to force runtime linking in this case.
10812	    aix_use_runtimelinking=yes
10813	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10814	  fi
10815	  ;;
10816	esac
10817
10818	exp_sym_flag='-bexport'
10819	no_entry_flag='-bnoentry'
10820      fi
10821
10822      # When large executables or shared objects are built, AIX ld can
10823      # have problems creating the table of contents.  If linking a library
10824      # or program results in "error TOC overflow" add -mminimal-toc to
10825      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10826      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10827
10828      archive_cmds=''
10829      hardcode_direct=yes
10830      hardcode_direct_absolute=yes
10831      hardcode_libdir_separator=':'
10832      link_all_deplibs=yes
10833      file_list_spec='$wl-f,'
10834      case $with_aix_soname,$aix_use_runtimelinking in
10835      aix,*) ;; # traditional, no import file
10836      svr4,* | *,yes) # use import file
10837	# The Import File defines what to hardcode.
10838	hardcode_direct=no
10839	hardcode_direct_absolute=no
10840	;;
10841      esac
10842
10843      if test yes = "$GCC"; then
10844	case $host_os in aix4.[012]|aix4.[012].*)
10845	# We only want to do this on AIX 4.2 and lower, the check
10846	# below for broken collect2 doesn't work under 4.3+
10847	  collect2name=`$CC -print-prog-name=collect2`
10848	  if test -f "$collect2name" &&
10849	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10850	  then
10851	  # We have reworked collect2
10852	  :
10853	  else
10854	  # We have old collect2
10855	  hardcode_direct=unsupported
10856	  # It fails to find uninstalled libraries when the uninstalled
10857	  # path is not listed in the libpath.  Setting hardcode_minus_L
10858	  # to unsupported forces relinking
10859	  hardcode_minus_L=yes
10860	  hardcode_libdir_flag_spec='-L$libdir'
10861	  hardcode_libdir_separator=
10862	  fi
10863	  ;;
10864	esac
10865	shared_flag='-shared'
10866	if test yes = "$aix_use_runtimelinking"; then
10867	  shared_flag="$shared_flag "'$wl-G'
10868	fi
10869	# Need to ensure runtime linking is disabled for the traditional
10870	# shared library, or the linker may eventually find shared libraries
10871	# /with/ Import File - we do not want to mix them.
10872	shared_flag_aix='-shared'
10873	shared_flag_svr4='-shared $wl-G'
10874      else
10875	# not using gcc
10876	if test ia64 = "$host_cpu"; then
10877	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10878	# chokes on -Wl,-G. The following line is correct:
10879	  shared_flag='-G'
10880	else
10881	  if test yes = "$aix_use_runtimelinking"; then
10882	    shared_flag='$wl-G'
10883	  else
10884	    shared_flag='$wl-bM:SRE'
10885	  fi
10886	  shared_flag_aix='$wl-bM:SRE'
10887	  shared_flag_svr4='$wl-G'
10888	fi
10889      fi
10890
10891      export_dynamic_flag_spec='$wl-bexpall'
10892      # It seems that -bexpall does not export symbols beginning with
10893      # underscore (_), so it is better to generate a list of symbols to export.
10894      always_export_symbols=yes
10895      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10896	# Warning - without using the other runtime loading flags (-brtl),
10897	# -berok will link without error, but may produce a broken library.
10898	allow_undefined_flag='-berok'
10899        # Determine the default libpath from the value encoded in an
10900        # empty executable.
10901        if test set = "${lt_cv_aix_libpath+set}"; then
10902  aix_libpath=$lt_cv_aix_libpath
10903else
10904  if ${lt_cv_aix_libpath_+:} false; then :
10905  $as_echo_n "(cached) " >&6
10906else
10907  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10908/* end confdefs.h.  */
10909
10910int
10911main ()
10912{
10913
10914  ;
10915  return 0;
10916}
10917_ACEOF
10918if ac_fn_c_try_link "$LINENO"; then :
10919
10920  lt_aix_libpath_sed='
10921      /Import File Strings/,/^$/ {
10922	  /^0/ {
10923	      s/^0  *\([^ ]*\) *$/\1/
10924	      p
10925	  }
10926      }'
10927  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10928  # Check for a 64-bit object if we didn't find anything.
10929  if test -z "$lt_cv_aix_libpath_"; then
10930    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10931  fi
10932fi
10933rm -f core conftest.err conftest.$ac_objext \
10934    conftest$ac_exeext conftest.$ac_ext
10935  if test -z "$lt_cv_aix_libpath_"; then
10936    lt_cv_aix_libpath_=/usr/lib:/lib
10937  fi
10938
10939fi
10940
10941  aix_libpath=$lt_cv_aix_libpath_
10942fi
10943
10944        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10945        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
10946      else
10947	if test ia64 = "$host_cpu"; then
10948	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10949	  allow_undefined_flag="-z nodefs"
10950	  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"
10951	else
10952	 # Determine the default libpath from the value encoded in an
10953	 # empty executable.
10954	 if test set = "${lt_cv_aix_libpath+set}"; then
10955  aix_libpath=$lt_cv_aix_libpath
10956else
10957  if ${lt_cv_aix_libpath_+:} false; then :
10958  $as_echo_n "(cached) " >&6
10959else
10960  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961/* end confdefs.h.  */
10962
10963int
10964main ()
10965{
10966
10967  ;
10968  return 0;
10969}
10970_ACEOF
10971if ac_fn_c_try_link "$LINENO"; then :
10972
10973  lt_aix_libpath_sed='
10974      /Import File Strings/,/^$/ {
10975	  /^0/ {
10976	      s/^0  *\([^ ]*\) *$/\1/
10977	      p
10978	  }
10979      }'
10980  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10981  # Check for a 64-bit object if we didn't find anything.
10982  if test -z "$lt_cv_aix_libpath_"; then
10983    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10984  fi
10985fi
10986rm -f core conftest.err conftest.$ac_objext \
10987    conftest$ac_exeext conftest.$ac_ext
10988  if test -z "$lt_cv_aix_libpath_"; then
10989    lt_cv_aix_libpath_=/usr/lib:/lib
10990  fi
10991
10992fi
10993
10994  aix_libpath=$lt_cv_aix_libpath_
10995fi
10996
10997	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10998	  # Warning - without using the other run time loading flags,
10999	  # -berok will link without error, but may produce a broken library.
11000	  no_undefined_flag=' $wl-bernotok'
11001	  allow_undefined_flag=' $wl-berok'
11002	  if test yes = "$with_gnu_ld"; then
11003	    # We only use this code for GNU lds that support --whole-archive.
11004	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11005	  else
11006	    # Exported symbols can be pulled into shared objects from archives
11007	    whole_archive_flag_spec='$convenience'
11008	  fi
11009	  archive_cmds_need_lc=yes
11010	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11011	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11012	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11013	  if test svr4 != "$with_aix_soname"; then
11014	    # This is similar to how AIX traditionally builds its shared libraries.
11015	    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'
11016	  fi
11017	  if test aix != "$with_aix_soname"; then
11018	    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'
11019	  else
11020	    # used by -dlpreopen to get the symbols
11021	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11022	  fi
11023	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11024	fi
11025      fi
11026      ;;
11027
11028    amigaos*)
11029      case $host_cpu in
11030      powerpc)
11031            # see comment about AmigaOS4 .so support
11032            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11033            archive_expsym_cmds=''
11034        ;;
11035      m68k)
11036            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)'
11037            hardcode_libdir_flag_spec='-L$libdir'
11038            hardcode_minus_L=yes
11039        ;;
11040      esac
11041      ;;
11042
11043    bsdi[45]*)
11044      export_dynamic_flag_spec=-rdynamic
11045      ;;
11046
11047    cygwin* | mingw* | pw32* | cegcc*)
11048      # When not using gcc, we currently assume that we are using
11049      # Microsoft Visual C++.
11050      # hardcode_libdir_flag_spec is actually meaningless, as there is
11051      # no search path for DLLs.
11052      case $cc_basename in
11053      cl*)
11054	# Native MSVC
11055	hardcode_libdir_flag_spec=' '
11056	allow_undefined_flag=unsupported
11057	always_export_symbols=yes
11058	file_list_spec='@'
11059	# Tell ltmain to make .lib files, not .a files.
11060	libext=lib
11061	# Tell ltmain to make .dll files, not .so files.
11062	shrext_cmds=.dll
11063	# FIXME: Setting linknames here is a bad hack.
11064	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11065	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11066            cp "$export_symbols" "$output_objdir/$soname.def";
11067            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11068          else
11069            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11070          fi~
11071          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11072          linknames='
11073	# The linker will not automatically build a static lib if we build a DLL.
11074	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11075	enable_shared_with_static_runtimes=yes
11076	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11077	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11078	# Don't use ranlib
11079	old_postinstall_cmds='chmod 644 $oldlib'
11080	postlink_cmds='lt_outputfile="@OUTPUT@"~
11081          lt_tool_outputfile="@TOOL_OUTPUT@"~
11082          case $lt_outputfile in
11083            *.exe|*.EXE) ;;
11084            *)
11085              lt_outputfile=$lt_outputfile.exe
11086              lt_tool_outputfile=$lt_tool_outputfile.exe
11087              ;;
11088          esac~
11089          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11090            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11091            $RM "$lt_outputfile.manifest";
11092          fi'
11093	;;
11094      *)
11095	# Assume MSVC wrapper
11096	hardcode_libdir_flag_spec=' '
11097	allow_undefined_flag=unsupported
11098	# Tell ltmain to make .lib files, not .a files.
11099	libext=lib
11100	# Tell ltmain to make .dll files, not .so files.
11101	shrext_cmds=.dll
11102	# FIXME: Setting linknames here is a bad hack.
11103	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11104	# The linker will automatically build a .lib file if we build a DLL.
11105	old_archive_from_new_cmds='true'
11106	# FIXME: Should let the user specify the lib program.
11107	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11108	enable_shared_with_static_runtimes=yes
11109	;;
11110      esac
11111      ;;
11112
11113    darwin* | rhapsody*)
11114
11115
11116  archive_cmds_need_lc=no
11117  hardcode_direct=no
11118  hardcode_automatic=yes
11119  hardcode_shlibpath_var=unsupported
11120  if test yes = "$lt_cv_ld_force_load"; then
11121    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\"`'
11122
11123  else
11124    whole_archive_flag_spec=''
11125  fi
11126  link_all_deplibs=yes
11127  allow_undefined_flag=$_lt_dar_allow_undefined
11128  case $cc_basename in
11129     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11130     *) _lt_dar_can_shared=$GCC ;;
11131  esac
11132  if test yes = "$_lt_dar_can_shared"; then
11133    output_verbose_link_cmd=func_echo_all
11134    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11135    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11136    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"
11137    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"
11138
11139  else
11140  ld_shlibs=no
11141  fi
11142
11143      ;;
11144
11145    dgux*)
11146      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11147      hardcode_libdir_flag_spec='-L$libdir'
11148      hardcode_shlibpath_var=no
11149      ;;
11150
11151    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11152    # support.  Future versions do this automatically, but an explicit c++rt0.o
11153    # does not break anything, and helps significantly (at the cost of a little
11154    # extra space).
11155    freebsd2.2*)
11156      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11157      hardcode_libdir_flag_spec='-R$libdir'
11158      hardcode_direct=yes
11159      hardcode_shlibpath_var=no
11160      ;;
11161
11162    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11163    freebsd2.*)
11164      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11165      hardcode_direct=yes
11166      hardcode_minus_L=yes
11167      hardcode_shlibpath_var=no
11168      ;;
11169
11170    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11171    freebsd* | dragonfly*)
11172      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11173      hardcode_libdir_flag_spec='-R$libdir'
11174      hardcode_direct=yes
11175      hardcode_shlibpath_var=no
11176      ;;
11177
11178    hpux9*)
11179      if test yes = "$GCC"; then
11180	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'
11181      else
11182	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'
11183      fi
11184      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11185      hardcode_libdir_separator=:
11186      hardcode_direct=yes
11187
11188      # hardcode_minus_L: Not really in the search PATH,
11189      # but as the default location of the library.
11190      hardcode_minus_L=yes
11191      export_dynamic_flag_spec='$wl-E'
11192      ;;
11193
11194    hpux10*)
11195      if test yes,no = "$GCC,$with_gnu_ld"; then
11196	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11197      else
11198	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11199      fi
11200      if test no = "$with_gnu_ld"; then
11201	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11202	hardcode_libdir_separator=:
11203	hardcode_direct=yes
11204	hardcode_direct_absolute=yes
11205	export_dynamic_flag_spec='$wl-E'
11206	# hardcode_minus_L: Not really in the search PATH,
11207	# but as the default location of the library.
11208	hardcode_minus_L=yes
11209      fi
11210      ;;
11211
11212    hpux11*)
11213      if test yes,no = "$GCC,$with_gnu_ld"; then
11214	case $host_cpu in
11215	hppa*64*)
11216	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11217	  ;;
11218	ia64*)
11219	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11220	  ;;
11221	*)
11222	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11223	  ;;
11224	esac
11225      else
11226	case $host_cpu in
11227	hppa*64*)
11228	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11229	  ;;
11230	ia64*)
11231	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11232	  ;;
11233	*)
11234
11235	  # Older versions of the 11.00 compiler do not understand -b yet
11236	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11237	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11238$as_echo_n "checking if $CC understands -b... " >&6; }
11239if ${lt_cv_prog_compiler__b+:} false; then :
11240  $as_echo_n "(cached) " >&6
11241else
11242  lt_cv_prog_compiler__b=no
11243   save_LDFLAGS=$LDFLAGS
11244   LDFLAGS="$LDFLAGS -b"
11245   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11246   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11247     # The linker can only warn and ignore the option if not recognized
11248     # So say no if there are warnings
11249     if test -s conftest.err; then
11250       # Append any errors to the config.log.
11251       cat conftest.err 1>&5
11252       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11253       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11254       if diff conftest.exp conftest.er2 >/dev/null; then
11255         lt_cv_prog_compiler__b=yes
11256       fi
11257     else
11258       lt_cv_prog_compiler__b=yes
11259     fi
11260   fi
11261   $RM -r conftest*
11262   LDFLAGS=$save_LDFLAGS
11263
11264fi
11265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11266$as_echo "$lt_cv_prog_compiler__b" >&6; }
11267
11268if test yes = "$lt_cv_prog_compiler__b"; then
11269    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11270else
11271    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11272fi
11273
11274	  ;;
11275	esac
11276      fi
11277      if test no = "$with_gnu_ld"; then
11278	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11279	hardcode_libdir_separator=:
11280
11281	case $host_cpu in
11282	hppa*64*|ia64*)
11283	  hardcode_direct=no
11284	  hardcode_shlibpath_var=no
11285	  ;;
11286	*)
11287	  hardcode_direct=yes
11288	  hardcode_direct_absolute=yes
11289	  export_dynamic_flag_spec='$wl-E'
11290
11291	  # hardcode_minus_L: Not really in the search PATH,
11292	  # but as the default location of the library.
11293	  hardcode_minus_L=yes
11294	  ;;
11295	esac
11296      fi
11297      ;;
11298
11299    irix5* | irix6* | nonstopux*)
11300      if test yes = "$GCC"; then
11301	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'
11302	# Try to use the -exported_symbol ld option, if it does not
11303	# work, assume that -exports_file does not work either and
11304	# implicitly export all symbols.
11305	# This should be the same for all languages, so no per-tag cache variable.
11306	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11307$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11308if ${lt_cv_irix_exported_symbol+:} false; then :
11309  $as_echo_n "(cached) " >&6
11310else
11311  save_LDFLAGS=$LDFLAGS
11312	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11313	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11314/* end confdefs.h.  */
11315int foo (void) { return 0; }
11316_ACEOF
11317if ac_fn_c_try_link "$LINENO"; then :
11318  lt_cv_irix_exported_symbol=yes
11319else
11320  lt_cv_irix_exported_symbol=no
11321fi
11322rm -f core conftest.err conftest.$ac_objext \
11323    conftest$ac_exeext conftest.$ac_ext
11324           LDFLAGS=$save_LDFLAGS
11325fi
11326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11327$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11328	if test yes = "$lt_cv_irix_exported_symbol"; then
11329          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'
11330	fi
11331	link_all_deplibs=no
11332      else
11333	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'
11334	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'
11335      fi
11336      archive_cmds_need_lc='no'
11337      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11338      hardcode_libdir_separator=:
11339      inherit_rpath=yes
11340      link_all_deplibs=yes
11341      ;;
11342
11343    linux*)
11344      case $cc_basename in
11345      tcc*)
11346	# Fabrice Bellard et al's Tiny C Compiler
11347	ld_shlibs=yes
11348	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11349	;;
11350      esac
11351      ;;
11352
11353    netbsd* | netbsdelf*-gnu)
11354      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11355	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11356      else
11357	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11358      fi
11359      hardcode_libdir_flag_spec='-R$libdir'
11360      hardcode_direct=yes
11361      hardcode_shlibpath_var=no
11362      ;;
11363
11364    newsos6)
11365      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11366      hardcode_direct=yes
11367      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11368      hardcode_libdir_separator=:
11369      hardcode_shlibpath_var=no
11370      ;;
11371
11372    *nto* | *qnx*)
11373      ;;
11374
11375    openbsd* | bitrig*)
11376      if test -f /usr/libexec/ld.so; then
11377	hardcode_direct=yes
11378	hardcode_shlibpath_var=no
11379	hardcode_direct_absolute=yes
11380	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11381	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11382	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11383	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11384	  export_dynamic_flag_spec='$wl-E'
11385	else
11386	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11387	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11388	fi
11389      else
11390	ld_shlibs=no
11391      fi
11392      ;;
11393
11394    os2*)
11395      hardcode_libdir_flag_spec='-L$libdir'
11396      hardcode_minus_L=yes
11397      allow_undefined_flag=unsupported
11398      shrext_cmds=.dll
11399      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11400	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11401	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11402	$ECHO EXPORTS >> $output_objdir/$libname.def~
11403	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11404	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11405	emximp -o $lib $output_objdir/$libname.def'
11406      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11407	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11408	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11409	$ECHO EXPORTS >> $output_objdir/$libname.def~
11410	prefix_cmds="$SED"~
11411	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11412	  prefix_cmds="$prefix_cmds -e 1d";
11413	fi~
11414	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11415	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11416	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11417	emximp -o $lib $output_objdir/$libname.def'
11418      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11419      enable_shared_with_static_runtimes=yes
11420      ;;
11421
11422    osf3*)
11423      if test yes = "$GCC"; then
11424	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11425	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'
11426      else
11427	allow_undefined_flag=' -expect_unresolved \*'
11428	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'
11429      fi
11430      archive_cmds_need_lc='no'
11431      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11432      hardcode_libdir_separator=:
11433      ;;
11434
11435    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11436      if test yes = "$GCC"; then
11437	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11438	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'
11439	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11440      else
11441	allow_undefined_flag=' -expect_unresolved \*'
11442	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'
11443	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~
11444          $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'
11445
11446	# Both c and cxx compiler support -rpath directly
11447	hardcode_libdir_flag_spec='-rpath $libdir'
11448      fi
11449      archive_cmds_need_lc='no'
11450      hardcode_libdir_separator=:
11451      ;;
11452
11453    solaris*)
11454      no_undefined_flag=' -z defs'
11455      if test yes = "$GCC"; then
11456	wlarc='$wl'
11457	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11458	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11459          $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'
11460      else
11461	case `$CC -V 2>&1` in
11462	*"Compilers 5.0"*)
11463	  wlarc=''
11464	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11465	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11466            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11467	  ;;
11468	*)
11469	  wlarc='$wl'
11470	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11471	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11472            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11473	  ;;
11474	esac
11475      fi
11476      hardcode_libdir_flag_spec='-R$libdir'
11477      hardcode_shlibpath_var=no
11478      case $host_os in
11479      solaris2.[0-5] | solaris2.[0-5].*) ;;
11480      *)
11481	# The compiler driver will combine and reorder linker options,
11482	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11483	# but is careful enough not to reorder.
11484	# Supported since Solaris 2.6 (maybe 2.5.1?)
11485	if test yes = "$GCC"; then
11486	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11487	else
11488	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11489	fi
11490	;;
11491      esac
11492      link_all_deplibs=yes
11493      ;;
11494
11495    sunos4*)
11496      if test sequent = "$host_vendor"; then
11497	# Use $CC to link under sequent, because it throws in some extra .o
11498	# files that make .init and .fini sections work.
11499	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11500      else
11501	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11502      fi
11503      hardcode_libdir_flag_spec='-L$libdir'
11504      hardcode_direct=yes
11505      hardcode_minus_L=yes
11506      hardcode_shlibpath_var=no
11507      ;;
11508
11509    sysv4)
11510      case $host_vendor in
11511	sni)
11512	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11513	  hardcode_direct=yes # is this really true???
11514	;;
11515	siemens)
11516	  ## LD is ld it makes a PLAMLIB
11517	  ## CC just makes a GrossModule.
11518	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11519	  reload_cmds='$CC -r -o $output$reload_objs'
11520	  hardcode_direct=no
11521        ;;
11522	motorola)
11523	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11524	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11525	;;
11526      esac
11527      runpath_var='LD_RUN_PATH'
11528      hardcode_shlibpath_var=no
11529      ;;
11530
11531    sysv4.3*)
11532      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11533      hardcode_shlibpath_var=no
11534      export_dynamic_flag_spec='-Bexport'
11535      ;;
11536
11537    sysv4*MP*)
11538      if test -d /usr/nec; then
11539	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11540	hardcode_shlibpath_var=no
11541	runpath_var=LD_RUN_PATH
11542	hardcode_runpath_var=yes
11543	ld_shlibs=yes
11544      fi
11545      ;;
11546
11547    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11548      no_undefined_flag='$wl-z,text'
11549      archive_cmds_need_lc=no
11550      hardcode_shlibpath_var=no
11551      runpath_var='LD_RUN_PATH'
11552
11553      if test yes = "$GCC"; then
11554	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11555	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11556      else
11557	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11558	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11559      fi
11560      ;;
11561
11562    sysv5* | sco3.2v5* | sco5v6*)
11563      # Note: We CANNOT use -z defs as we might desire, because we do not
11564      # link with -lc, and that would cause any symbols used from libc to
11565      # always be unresolved, which means just about no library would
11566      # ever link correctly.  If we're not using GNU ld we use -z text
11567      # though, which does catch some bad symbols but isn't as heavy-handed
11568      # as -z defs.
11569      no_undefined_flag='$wl-z,text'
11570      allow_undefined_flag='$wl-z,nodefs'
11571      archive_cmds_need_lc=no
11572      hardcode_shlibpath_var=no
11573      hardcode_libdir_flag_spec='$wl-R,$libdir'
11574      hardcode_libdir_separator=':'
11575      link_all_deplibs=yes
11576      export_dynamic_flag_spec='$wl-Bexport'
11577      runpath_var='LD_RUN_PATH'
11578
11579      if test yes = "$GCC"; then
11580	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11581	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11582      else
11583	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11584	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11585      fi
11586      ;;
11587
11588    uts4*)
11589      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11590      hardcode_libdir_flag_spec='-L$libdir'
11591      hardcode_shlibpath_var=no
11592      ;;
11593
11594    *)
11595      ld_shlibs=no
11596      ;;
11597    esac
11598
11599    if test sni = "$host_vendor"; then
11600      case $host in
11601      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11602	export_dynamic_flag_spec='$wl-Blargedynsym'
11603	;;
11604      esac
11605    fi
11606  fi
11607
11608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11609$as_echo "$ld_shlibs" >&6; }
11610test no = "$ld_shlibs" && can_build_shared=no
11611
11612with_gnu_ld=$with_gnu_ld
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628#
11629# Do we need to explicitly link libc?
11630#
11631case "x$archive_cmds_need_lc" in
11632x|xyes)
11633  # Assume -lc should be added
11634  archive_cmds_need_lc=yes
11635
11636  if test yes,yes = "$GCC,$enable_shared"; then
11637    case $archive_cmds in
11638    *'~'*)
11639      # FIXME: we may have to deal with multi-command sequences.
11640      ;;
11641    '$CC '*)
11642      # Test whether the compiler implicitly links with -lc since on some
11643      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11644      # to ld, don't add -lc before -lgcc.
11645      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11646$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11647if ${lt_cv_archive_cmds_need_lc+:} false; then :
11648  $as_echo_n "(cached) " >&6
11649else
11650  $RM conftest*
11651	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11652
11653	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11654  (eval $ac_compile) 2>&5
11655  ac_status=$?
11656  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11657  test $ac_status = 0; } 2>conftest.err; then
11658	  soname=conftest
11659	  lib=conftest
11660	  libobjs=conftest.$ac_objext
11661	  deplibs=
11662	  wl=$lt_prog_compiler_wl
11663	  pic_flag=$lt_prog_compiler_pic
11664	  compiler_flags=-v
11665	  linker_flags=-v
11666	  verstring=
11667	  output_objdir=.
11668	  libname=conftest
11669	  lt_save_allow_undefined_flag=$allow_undefined_flag
11670	  allow_undefined_flag=
11671	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11672  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11673  ac_status=$?
11674  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11675  test $ac_status = 0; }
11676	  then
11677	    lt_cv_archive_cmds_need_lc=no
11678	  else
11679	    lt_cv_archive_cmds_need_lc=yes
11680	  fi
11681	  allow_undefined_flag=$lt_save_allow_undefined_flag
11682	else
11683	  cat conftest.err 1>&5
11684	fi
11685	$RM conftest*
11686
11687fi
11688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11689$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11690      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11691      ;;
11692    esac
11693  fi
11694  ;;
11695esac
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11849$as_echo_n "checking dynamic linker characteristics... " >&6; }
11850
11851if test yes = "$GCC"; then
11852  case $host_os in
11853    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11854    *) lt_awk_arg='/^libraries:/' ;;
11855  esac
11856  case $host_os in
11857    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11858    *) lt_sed_strip_eq='s|=/|/|g' ;;
11859  esac
11860  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11861  case $lt_search_path_spec in
11862  *\;*)
11863    # if the path contains ";" then we assume it to be the separator
11864    # otherwise default to the standard path separator (i.e. ":") - it is
11865    # assumed that no part of a normal pathname contains ";" but that should
11866    # okay in the real world where ";" in dirpaths is itself problematic.
11867    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11868    ;;
11869  *)
11870    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11871    ;;
11872  esac
11873  # Ok, now we have the path, separated by spaces, we can step through it
11874  # and add multilib dir if necessary...
11875  lt_tmp_lt_search_path_spec=
11876  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11877  # ...but if some path component already ends with the multilib dir we assume
11878  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11879  case "$lt_multi_os_dir; $lt_search_path_spec " in
11880  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11881    lt_multi_os_dir=
11882    ;;
11883  esac
11884  for lt_sys_path in $lt_search_path_spec; do
11885    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11886      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11887    elif test -n "$lt_multi_os_dir"; then
11888      test -d "$lt_sys_path" && \
11889	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11890    fi
11891  done
11892  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11893BEGIN {RS = " "; FS = "/|\n";} {
11894  lt_foo = "";
11895  lt_count = 0;
11896  for (lt_i = NF; lt_i > 0; lt_i--) {
11897    if ($lt_i != "" && $lt_i != ".") {
11898      if ($lt_i == "..") {
11899        lt_count++;
11900      } else {
11901        if (lt_count == 0) {
11902          lt_foo = "/" $lt_i lt_foo;
11903        } else {
11904          lt_count--;
11905        }
11906      }
11907    }
11908  }
11909  if (lt_foo != "") { lt_freq[lt_foo]++; }
11910  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11911}'`
11912  # AWK program above erroneously prepends '/' to C:/dos/paths
11913  # for these hosts.
11914  case $host_os in
11915    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11916      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11917  esac
11918  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11919else
11920  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11921fi
11922library_names_spec=
11923libname_spec='lib$name'
11924soname_spec=
11925shrext_cmds=.so
11926postinstall_cmds=
11927postuninstall_cmds=
11928finish_cmds=
11929finish_eval=
11930shlibpath_var=
11931shlibpath_overrides_runpath=unknown
11932version_type=none
11933dynamic_linker="$host_os ld.so"
11934sys_lib_dlsearch_path_spec="/lib /usr/lib"
11935need_lib_prefix=unknown
11936hardcode_into_libs=no
11937
11938# when you set need_version to no, make sure it does not cause -set_version
11939# flags to be left without arguments
11940need_version=unknown
11941
11942
11943
11944case $host_os in
11945aix3*)
11946  version_type=linux # correct to gnu/linux during the next big refactor
11947  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11948  shlibpath_var=LIBPATH
11949
11950  # AIX 3 has no versioning support, so we append a major version to the name.
11951  soname_spec='$libname$release$shared_ext$major'
11952  ;;
11953
11954aix[4-9]*)
11955  version_type=linux # correct to gnu/linux during the next big refactor
11956  need_lib_prefix=no
11957  need_version=no
11958  hardcode_into_libs=yes
11959  if test ia64 = "$host_cpu"; then
11960    # AIX 5 supports IA64
11961    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11962    shlibpath_var=LD_LIBRARY_PATH
11963  else
11964    # With GCC up to 2.95.x, collect2 would create an import file
11965    # for dependence libraries.  The import file would start with
11966    # the line '#! .'.  This would cause the generated library to
11967    # depend on '.', always an invalid library.  This was fixed in
11968    # development snapshots of GCC prior to 3.0.
11969    case $host_os in
11970      aix4 | aix4.[01] | aix4.[01].*)
11971      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11972	   echo ' yes '
11973	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11974	:
11975      else
11976	can_build_shared=no
11977      fi
11978      ;;
11979    esac
11980    # Using Import Files as archive members, it is possible to support
11981    # filename-based versioning of shared library archives on AIX. While
11982    # this would work for both with and without runtime linking, it will
11983    # prevent static linking of such archives. So we do filename-based
11984    # shared library versioning with .so extension only, which is used
11985    # when both runtime linking and shared linking is enabled.
11986    # Unfortunately, runtime linking may impact performance, so we do
11987    # not want this to be the default eventually. Also, we use the
11988    # versioned .so libs for executables only if there is the -brtl
11989    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11990    # To allow for filename-based versioning support, we need to create
11991    # libNAME.so.V as an archive file, containing:
11992    # *) an Import File, referring to the versioned filename of the
11993    #    archive as well as the shared archive member, telling the
11994    #    bitwidth (32 or 64) of that shared object, and providing the
11995    #    list of exported symbols of that shared object, eventually
11996    #    decorated with the 'weak' keyword
11997    # *) the shared object with the F_LOADONLY flag set, to really avoid
11998    #    it being seen by the linker.
11999    # At run time we better use the real file rather than another symlink,
12000    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12001
12002    case $with_aix_soname,$aix_use_runtimelinking in
12003    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12004    # soname into executable. Probably we can add versioning support to
12005    # collect2, so additional links can be useful in future.
12006    aix,yes) # traditional libtool
12007      dynamic_linker='AIX unversionable lib.so'
12008      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12009      # instead of lib<name>.a to let people know that these are not
12010      # typical AIX shared libraries.
12011      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12012      ;;
12013    aix,no) # traditional AIX only
12014      dynamic_linker='AIX lib.a(lib.so.V)'
12015      # We preserve .a as extension for shared libraries through AIX4.2
12016      # and later when we are not doing run time linking.
12017      library_names_spec='$libname$release.a $libname.a'
12018      soname_spec='$libname$release$shared_ext$major'
12019      ;;
12020    svr4,*) # full svr4 only
12021      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12022      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12023      # We do not specify a path in Import Files, so LIBPATH fires.
12024      shlibpath_overrides_runpath=yes
12025      ;;
12026    *,yes) # both, prefer svr4
12027      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12028      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12029      # unpreferred sharedlib libNAME.a needs extra handling
12030      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"'
12031      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"'
12032      # We do not specify a path in Import Files, so LIBPATH fires.
12033      shlibpath_overrides_runpath=yes
12034      ;;
12035    *,no) # both, prefer aix
12036      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12037      library_names_spec='$libname$release.a $libname.a'
12038      soname_spec='$libname$release$shared_ext$major'
12039      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12040      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)'
12041      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"'
12042      ;;
12043    esac
12044    shlibpath_var=LIBPATH
12045  fi
12046  ;;
12047
12048amigaos*)
12049  case $host_cpu in
12050  powerpc)
12051    # Since July 2007 AmigaOS4 officially supports .so libraries.
12052    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12053    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12054    ;;
12055  m68k)
12056    library_names_spec='$libname.ixlibrary $libname.a'
12057    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12058    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'
12059    ;;
12060  esac
12061  ;;
12062
12063beos*)
12064  library_names_spec='$libname$shared_ext'
12065  dynamic_linker="$host_os ld.so"
12066  shlibpath_var=LIBRARY_PATH
12067  ;;
12068
12069bsdi[45]*)
12070  version_type=linux # correct to gnu/linux during the next big refactor
12071  need_version=no
12072  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12073  soname_spec='$libname$release$shared_ext$major'
12074  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12075  shlibpath_var=LD_LIBRARY_PATH
12076  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12077  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12078  # the default ld.so.conf also contains /usr/contrib/lib and
12079  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12080  # libtool to hard-code these into programs
12081  ;;
12082
12083cygwin* | mingw* | pw32* | cegcc*)
12084  version_type=windows
12085  shrext_cmds=.dll
12086  need_version=no
12087  need_lib_prefix=no
12088
12089  case $GCC,$cc_basename in
12090  yes,*)
12091    # gcc
12092    library_names_spec='$libname.dll.a'
12093    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12094    postinstall_cmds='base_file=`basename \$file`~
12095      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12096      dldir=$destdir/`dirname \$dlpath`~
12097      test -d \$dldir || mkdir -p \$dldir~
12098      $install_prog $dir/$dlname \$dldir/$dlname~
12099      chmod a+x \$dldir/$dlname~
12100      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12101        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12102      fi'
12103    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12104      dlpath=$dir/\$dldll~
12105       $RM \$dlpath'
12106    shlibpath_overrides_runpath=yes
12107
12108    case $host_os in
12109    cygwin*)
12110      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12111      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12112
12113      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12114      ;;
12115    mingw* | cegcc*)
12116      # MinGW DLLs use traditional 'lib' prefix
12117      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12118      ;;
12119    pw32*)
12120      # pw32 DLLs use 'pw' prefix rather than 'lib'
12121      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12122      ;;
12123    esac
12124    dynamic_linker='Win32 ld.exe'
12125    ;;
12126
12127  *,cl*)
12128    # Native MSVC
12129    libname_spec='$name'
12130    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12131    library_names_spec='$libname.dll.lib'
12132
12133    case $build_os in
12134    mingw*)
12135      sys_lib_search_path_spec=
12136      lt_save_ifs=$IFS
12137      IFS=';'
12138      for lt_path in $LIB
12139      do
12140        IFS=$lt_save_ifs
12141        # Let DOS variable expansion print the short 8.3 style file name.
12142        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12143        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12144      done
12145      IFS=$lt_save_ifs
12146      # Convert to MSYS style.
12147      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12148      ;;
12149    cygwin*)
12150      # Convert to unix form, then to dos form, then back to unix form
12151      # but this time dos style (no spaces!) so that the unix form looks
12152      # like /cygdrive/c/PROGRA~1:/cygdr...
12153      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12154      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12155      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12156      ;;
12157    *)
12158      sys_lib_search_path_spec=$LIB
12159      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12160        # It is most probably a Windows format PATH.
12161        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12162      else
12163        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12164      fi
12165      # FIXME: find the short name or the path components, as spaces are
12166      # common. (e.g. "Program Files" -> "PROGRA~1")
12167      ;;
12168    esac
12169
12170    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12171    postinstall_cmds='base_file=`basename \$file`~
12172      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12173      dldir=$destdir/`dirname \$dlpath`~
12174      test -d \$dldir || mkdir -p \$dldir~
12175      $install_prog $dir/$dlname \$dldir/$dlname'
12176    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12177      dlpath=$dir/\$dldll~
12178       $RM \$dlpath'
12179    shlibpath_overrides_runpath=yes
12180    dynamic_linker='Win32 link.exe'
12181    ;;
12182
12183  *)
12184    # Assume MSVC wrapper
12185    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12186    dynamic_linker='Win32 ld.exe'
12187    ;;
12188  esac
12189  # FIXME: first we should search . and the directory the executable is in
12190  shlibpath_var=PATH
12191  ;;
12192
12193darwin* | rhapsody*)
12194  dynamic_linker="$host_os dyld"
12195  version_type=darwin
12196  need_lib_prefix=no
12197  need_version=no
12198  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12199  soname_spec='$libname$release$major$shared_ext'
12200  shlibpath_overrides_runpath=yes
12201  shlibpath_var=DYLD_LIBRARY_PATH
12202  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12203
12204  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12205  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12206  ;;
12207
12208dgux*)
12209  version_type=linux # correct to gnu/linux during the next big refactor
12210  need_lib_prefix=no
12211  need_version=no
12212  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12213  soname_spec='$libname$release$shared_ext$major'
12214  shlibpath_var=LD_LIBRARY_PATH
12215  ;;
12216
12217freebsd* | dragonfly*)
12218  # DragonFly does not have aout.  When/if they implement a new
12219  # versioning mechanism, adjust this.
12220  if test -x /usr/bin/objformat; then
12221    objformat=`/usr/bin/objformat`
12222  else
12223    case $host_os in
12224    freebsd[23].*) objformat=aout ;;
12225    *) objformat=elf ;;
12226    esac
12227  fi
12228  version_type=freebsd-$objformat
12229  case $version_type in
12230    freebsd-elf*)
12231      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12232      soname_spec='$libname$release$shared_ext$major'
12233      need_version=no
12234      need_lib_prefix=no
12235      ;;
12236    freebsd-*)
12237      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12238      need_version=yes
12239      ;;
12240  esac
12241  shlibpath_var=LD_LIBRARY_PATH
12242  case $host_os in
12243  freebsd2.*)
12244    shlibpath_overrides_runpath=yes
12245    ;;
12246  freebsd3.[01]* | freebsdelf3.[01]*)
12247    shlibpath_overrides_runpath=yes
12248    hardcode_into_libs=yes
12249    ;;
12250  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12251  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12252    shlibpath_overrides_runpath=no
12253    hardcode_into_libs=yes
12254    ;;
12255  *) # from 4.6 on, and DragonFly
12256    shlibpath_overrides_runpath=yes
12257    hardcode_into_libs=yes
12258    ;;
12259  esac
12260  ;;
12261
12262haiku*)
12263  version_type=linux # correct to gnu/linux during the next big refactor
12264  need_lib_prefix=no
12265  need_version=no
12266  dynamic_linker="$host_os runtime_loader"
12267  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12268  soname_spec='$libname$release$shared_ext$major'
12269  shlibpath_var=LIBRARY_PATH
12270  shlibpath_overrides_runpath=no
12271  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12272  hardcode_into_libs=yes
12273  ;;
12274
12275hpux9* | hpux10* | hpux11*)
12276  # Give a soname corresponding to the major version so that dld.sl refuses to
12277  # link against other versions.
12278  version_type=sunos
12279  need_lib_prefix=no
12280  need_version=no
12281  case $host_cpu in
12282  ia64*)
12283    shrext_cmds='.so'
12284    hardcode_into_libs=yes
12285    dynamic_linker="$host_os dld.so"
12286    shlibpath_var=LD_LIBRARY_PATH
12287    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12288    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12289    soname_spec='$libname$release$shared_ext$major'
12290    if test 32 = "$HPUX_IA64_MODE"; then
12291      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12292      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12293    else
12294      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12295      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12296    fi
12297    ;;
12298  hppa*64*)
12299    shrext_cmds='.sl'
12300    hardcode_into_libs=yes
12301    dynamic_linker="$host_os dld.sl"
12302    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12303    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12304    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12305    soname_spec='$libname$release$shared_ext$major'
12306    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12307    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12308    ;;
12309  *)
12310    shrext_cmds='.sl'
12311    dynamic_linker="$host_os dld.sl"
12312    shlibpath_var=SHLIB_PATH
12313    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12314    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12315    soname_spec='$libname$release$shared_ext$major'
12316    ;;
12317  esac
12318  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12319  postinstall_cmds='chmod 555 $lib'
12320  # or fails outright, so override atomically:
12321  install_override_mode=555
12322  ;;
12323
12324interix[3-9]*)
12325  version_type=linux # correct to gnu/linux during the next big refactor
12326  need_lib_prefix=no
12327  need_version=no
12328  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12329  soname_spec='$libname$release$shared_ext$major'
12330  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12331  shlibpath_var=LD_LIBRARY_PATH
12332  shlibpath_overrides_runpath=no
12333  hardcode_into_libs=yes
12334  ;;
12335
12336irix5* | irix6* | nonstopux*)
12337  case $host_os in
12338    nonstopux*) version_type=nonstopux ;;
12339    *)
12340	if test yes = "$lt_cv_prog_gnu_ld"; then
12341		version_type=linux # correct to gnu/linux during the next big refactor
12342	else
12343		version_type=irix
12344	fi ;;
12345  esac
12346  need_lib_prefix=no
12347  need_version=no
12348  soname_spec='$libname$release$shared_ext$major'
12349  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12350  case $host_os in
12351  irix5* | nonstopux*)
12352    libsuff= shlibsuff=
12353    ;;
12354  *)
12355    case $LD in # libtool.m4 will add one of these switches to LD
12356    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12357      libsuff= shlibsuff= libmagic=32-bit;;
12358    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12359      libsuff=32 shlibsuff=N32 libmagic=N32;;
12360    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12361      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12362    *) libsuff= shlibsuff= libmagic=never-match;;
12363    esac
12364    ;;
12365  esac
12366  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12367  shlibpath_overrides_runpath=no
12368  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12369  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12370  hardcode_into_libs=yes
12371  ;;
12372
12373# No shared lib support for Linux oldld, aout, or coff.
12374linux*oldld* | linux*aout* | linux*coff*)
12375  dynamic_linker=no
12376  ;;
12377
12378linux*android*)
12379  version_type=none # Android doesn't support versioned libraries.
12380  need_lib_prefix=no
12381  need_version=no
12382  library_names_spec='$libname$release$shared_ext'
12383  soname_spec='$libname$release$shared_ext'
12384  finish_cmds=
12385  shlibpath_var=LD_LIBRARY_PATH
12386  shlibpath_overrides_runpath=yes
12387
12388  # This implies no fast_install, which is unacceptable.
12389  # Some rework will be needed to allow for fast_install
12390  # before this can be enabled.
12391  hardcode_into_libs=yes
12392
12393  dynamic_linker='Android linker'
12394  # Don't embed -rpath directories since the linker doesn't support them.
12395  hardcode_libdir_flag_spec='-L$libdir'
12396  ;;
12397
12398# This must be glibc/ELF.
12399linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12400  version_type=linux # correct to gnu/linux during the next big refactor
12401  need_lib_prefix=no
12402  need_version=no
12403  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12404  soname_spec='$libname$release$shared_ext$major'
12405  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12406  shlibpath_var=LD_LIBRARY_PATH
12407  shlibpath_overrides_runpath=no
12408
12409  # Some binutils ld are patched to set DT_RUNPATH
12410  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12411  $as_echo_n "(cached) " >&6
12412else
12413  lt_cv_shlibpath_overrides_runpath=no
12414    save_LDFLAGS=$LDFLAGS
12415    save_libdir=$libdir
12416    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12417	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12418    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419/* end confdefs.h.  */
12420
12421int
12422main ()
12423{
12424
12425  ;
12426  return 0;
12427}
12428_ACEOF
12429if ac_fn_c_try_link "$LINENO"; then :
12430  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12431  lt_cv_shlibpath_overrides_runpath=yes
12432fi
12433fi
12434rm -f core conftest.err conftest.$ac_objext \
12435    conftest$ac_exeext conftest.$ac_ext
12436    LDFLAGS=$save_LDFLAGS
12437    libdir=$save_libdir
12438
12439fi
12440
12441  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12442
12443  # This implies no fast_install, which is unacceptable.
12444  # Some rework will be needed to allow for fast_install
12445  # before this can be enabled.
12446  hardcode_into_libs=yes
12447
12448  # Ideally, we could use ldconfig to report *all* directores which are
12449  # searched for libraries, however this is still not possible.  Aside from not
12450  # being certain /sbin/ldconfig is available, command
12451  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12452  # even though it is searched at run-time.  Try to do the best guess by
12453  # appending ld.so.conf contents (and includes) to the search path.
12454  if test -f /etc/ld.so.conf; then
12455    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' ' '`
12456    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12457  fi
12458
12459  # We used to test for /lib/ld.so.1 and disable shared libraries on
12460  # powerpc, because MkLinux only supported shared libraries with the
12461  # GNU dynamic linker.  Since this was broken with cross compilers,
12462  # most powerpc-linux boxes support dynamic linking these days and
12463  # people can always --disable-shared, the test was removed, and we
12464  # assume the GNU/Linux dynamic linker is in use.
12465  dynamic_linker='GNU/Linux ld.so'
12466  ;;
12467
12468netbsdelf*-gnu)
12469  version_type=linux
12470  need_lib_prefix=no
12471  need_version=no
12472  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12473  soname_spec='${libname}${release}${shared_ext}$major'
12474  shlibpath_var=LD_LIBRARY_PATH
12475  shlibpath_overrides_runpath=no
12476  hardcode_into_libs=yes
12477  dynamic_linker='NetBSD ld.elf_so'
12478  ;;
12479
12480netbsd*)
12481  version_type=sunos
12482  need_lib_prefix=no
12483  need_version=no
12484  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12485    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12486    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12487    dynamic_linker='NetBSD (a.out) ld.so'
12488  else
12489    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12490    soname_spec='$libname$release$shared_ext$major'
12491    dynamic_linker='NetBSD ld.elf_so'
12492  fi
12493  shlibpath_var=LD_LIBRARY_PATH
12494  shlibpath_overrides_runpath=yes
12495  hardcode_into_libs=yes
12496  ;;
12497
12498newsos6)
12499  version_type=linux # correct to gnu/linux during the next big refactor
12500  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12501  shlibpath_var=LD_LIBRARY_PATH
12502  shlibpath_overrides_runpath=yes
12503  ;;
12504
12505*nto* | *qnx*)
12506  version_type=qnx
12507  need_lib_prefix=no
12508  need_version=no
12509  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12510  soname_spec='$libname$release$shared_ext$major'
12511  shlibpath_var=LD_LIBRARY_PATH
12512  shlibpath_overrides_runpath=no
12513  hardcode_into_libs=yes
12514  dynamic_linker='ldqnx.so'
12515  ;;
12516
12517openbsd* | bitrig*)
12518  version_type=sunos
12519  sys_lib_dlsearch_path_spec=/usr/lib
12520  need_lib_prefix=no
12521  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12522    need_version=no
12523  else
12524    need_version=yes
12525  fi
12526  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12527  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12528  shlibpath_var=LD_LIBRARY_PATH
12529  shlibpath_overrides_runpath=yes
12530  ;;
12531
12532os2*)
12533  libname_spec='$name'
12534  version_type=windows
12535  shrext_cmds=.dll
12536  need_version=no
12537  need_lib_prefix=no
12538  # OS/2 can only load a DLL with a base name of 8 characters or less.
12539  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12540    v=$($ECHO $release$versuffix | tr -d .-);
12541    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12542    $ECHO $n$v`$shared_ext'
12543  library_names_spec='${libname}_dll.$libext'
12544  dynamic_linker='OS/2 ld.exe'
12545  shlibpath_var=BEGINLIBPATH
12546  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12547  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12548  postinstall_cmds='base_file=`basename \$file`~
12549    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12550    dldir=$destdir/`dirname \$dlpath`~
12551    test -d \$dldir || mkdir -p \$dldir~
12552    $install_prog $dir/$dlname \$dldir/$dlname~
12553    chmod a+x \$dldir/$dlname~
12554    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12555      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12556    fi'
12557  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12558    dlpath=$dir/\$dldll~
12559    $RM \$dlpath'
12560  ;;
12561
12562osf3* | osf4* | osf5*)
12563  version_type=osf
12564  need_lib_prefix=no
12565  need_version=no
12566  soname_spec='$libname$release$shared_ext$major'
12567  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12568  shlibpath_var=LD_LIBRARY_PATH
12569  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12570  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12571  ;;
12572
12573rdos*)
12574  dynamic_linker=no
12575  ;;
12576
12577solaris*)
12578  version_type=linux # correct to gnu/linux during the next big refactor
12579  need_lib_prefix=no
12580  need_version=no
12581  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12582  soname_spec='$libname$release$shared_ext$major'
12583  shlibpath_var=LD_LIBRARY_PATH
12584  shlibpath_overrides_runpath=yes
12585  hardcode_into_libs=yes
12586  # ldd complains unless libraries are executable
12587  postinstall_cmds='chmod +x $lib'
12588  ;;
12589
12590sunos4*)
12591  version_type=sunos
12592  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12593  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12594  shlibpath_var=LD_LIBRARY_PATH
12595  shlibpath_overrides_runpath=yes
12596  if test yes = "$with_gnu_ld"; then
12597    need_lib_prefix=no
12598  fi
12599  need_version=yes
12600  ;;
12601
12602sysv4 | sysv4.3*)
12603  version_type=linux # correct to gnu/linux during the next big refactor
12604  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12605  soname_spec='$libname$release$shared_ext$major'
12606  shlibpath_var=LD_LIBRARY_PATH
12607  case $host_vendor in
12608    sni)
12609      shlibpath_overrides_runpath=no
12610      need_lib_prefix=no
12611      runpath_var=LD_RUN_PATH
12612      ;;
12613    siemens)
12614      need_lib_prefix=no
12615      ;;
12616    motorola)
12617      need_lib_prefix=no
12618      need_version=no
12619      shlibpath_overrides_runpath=no
12620      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12621      ;;
12622  esac
12623  ;;
12624
12625sysv4*MP*)
12626  if test -d /usr/nec; then
12627    version_type=linux # correct to gnu/linux during the next big refactor
12628    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12629    soname_spec='$libname$shared_ext.$major'
12630    shlibpath_var=LD_LIBRARY_PATH
12631  fi
12632  ;;
12633
12634sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12635  version_type=sco
12636  need_lib_prefix=no
12637  need_version=no
12638  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12639  soname_spec='$libname$release$shared_ext$major'
12640  shlibpath_var=LD_LIBRARY_PATH
12641  shlibpath_overrides_runpath=yes
12642  hardcode_into_libs=yes
12643  if test yes = "$with_gnu_ld"; then
12644    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12645  else
12646    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12647    case $host_os in
12648      sco3.2v5*)
12649        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12650	;;
12651    esac
12652  fi
12653  sys_lib_dlsearch_path_spec='/usr/lib'
12654  ;;
12655
12656tpf*)
12657  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12658  version_type=linux # correct to gnu/linux during the next big refactor
12659  need_lib_prefix=no
12660  need_version=no
12661  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12662  shlibpath_var=LD_LIBRARY_PATH
12663  shlibpath_overrides_runpath=no
12664  hardcode_into_libs=yes
12665  ;;
12666
12667uts4*)
12668  version_type=linux # correct to gnu/linux during the next big refactor
12669  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12670  soname_spec='$libname$release$shared_ext$major'
12671  shlibpath_var=LD_LIBRARY_PATH
12672  ;;
12673
12674*)
12675  dynamic_linker=no
12676  ;;
12677esac
12678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12679$as_echo "$dynamic_linker" >&6; }
12680test no = "$dynamic_linker" && can_build_shared=no
12681
12682variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12683if test yes = "$GCC"; then
12684  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12685fi
12686
12687if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12688  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12689fi
12690
12691if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12692  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12693fi
12694
12695# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12696configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12697
12698# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12699func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12700
12701# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12702configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12801$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12802hardcode_action=
12803if test -n "$hardcode_libdir_flag_spec" ||
12804   test -n "$runpath_var" ||
12805   test yes = "$hardcode_automatic"; then
12806
12807  # We can hardcode non-existent directories.
12808  if test no != "$hardcode_direct" &&
12809     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12810     # have to relink, otherwise we might link with an installed library
12811     # when we should be linking with a yet-to-be-installed one
12812     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12813     test no != "$hardcode_minus_L"; then
12814    # Linking always hardcodes the temporary library directory.
12815    hardcode_action=relink
12816  else
12817    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12818    hardcode_action=immediate
12819  fi
12820else
12821  # We cannot hardcode anything, or else we can only hardcode existing
12822  # directories.
12823  hardcode_action=unsupported
12824fi
12825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12826$as_echo "$hardcode_action" >&6; }
12827
12828if test relink = "$hardcode_action" ||
12829   test yes = "$inherit_rpath"; then
12830  # Fast installation is not supported
12831  enable_fast_install=no
12832elif test yes = "$shlibpath_overrides_runpath" ||
12833     test no = "$enable_shared"; then
12834  # Fast installation is not necessary
12835  enable_fast_install=needless
12836fi
12837
12838
12839
12840
12841
12842
12843  if test yes != "$enable_dlopen"; then
12844  enable_dlopen=unknown
12845  enable_dlopen_self=unknown
12846  enable_dlopen_self_static=unknown
12847else
12848  lt_cv_dlopen=no
12849  lt_cv_dlopen_libs=
12850
12851  case $host_os in
12852  beos*)
12853    lt_cv_dlopen=load_add_on
12854    lt_cv_dlopen_libs=
12855    lt_cv_dlopen_self=yes
12856    ;;
12857
12858  mingw* | pw32* | cegcc*)
12859    lt_cv_dlopen=LoadLibrary
12860    lt_cv_dlopen_libs=
12861    ;;
12862
12863  cygwin*)
12864    lt_cv_dlopen=dlopen
12865    lt_cv_dlopen_libs=
12866    ;;
12867
12868  darwin*)
12869    # if libdl is installed we need to link against it
12870    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12871$as_echo_n "checking for dlopen in -ldl... " >&6; }
12872if ${ac_cv_lib_dl_dlopen+:} false; then :
12873  $as_echo_n "(cached) " >&6
12874else
12875  ac_check_lib_save_LIBS=$LIBS
12876LIBS="-ldl  $LIBS"
12877cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12878/* end confdefs.h.  */
12879
12880/* Override any GCC internal prototype to avoid an error.
12881   Use char because int might match the return type of a GCC
12882   builtin and then its argument prototype would still apply.  */
12883#ifdef __cplusplus
12884extern "C"
12885#endif
12886char dlopen ();
12887int
12888main ()
12889{
12890return dlopen ();
12891  ;
12892  return 0;
12893}
12894_ACEOF
12895if ac_fn_c_try_link "$LINENO"; then :
12896  ac_cv_lib_dl_dlopen=yes
12897else
12898  ac_cv_lib_dl_dlopen=no
12899fi
12900rm -f core conftest.err conftest.$ac_objext \
12901    conftest$ac_exeext conftest.$ac_ext
12902LIBS=$ac_check_lib_save_LIBS
12903fi
12904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12905$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12906if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12907  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12908else
12909
12910    lt_cv_dlopen=dyld
12911    lt_cv_dlopen_libs=
12912    lt_cv_dlopen_self=yes
12913
12914fi
12915
12916    ;;
12917
12918  tpf*)
12919    # Don't try to run any link tests for TPF.  We know it's impossible
12920    # because TPF is a cross-compiler, and we know how we open DSOs.
12921    lt_cv_dlopen=dlopen
12922    lt_cv_dlopen_libs=
12923    lt_cv_dlopen_self=no
12924    ;;
12925
12926  *)
12927    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12928if test "x$ac_cv_func_shl_load" = xyes; then :
12929  lt_cv_dlopen=shl_load
12930else
12931  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12932$as_echo_n "checking for shl_load in -ldld... " >&6; }
12933if ${ac_cv_lib_dld_shl_load+:} false; then :
12934  $as_echo_n "(cached) " >&6
12935else
12936  ac_check_lib_save_LIBS=$LIBS
12937LIBS="-ldld  $LIBS"
12938cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939/* end confdefs.h.  */
12940
12941/* Override any GCC internal prototype to avoid an error.
12942   Use char because int might match the return type of a GCC
12943   builtin and then its argument prototype would still apply.  */
12944#ifdef __cplusplus
12945extern "C"
12946#endif
12947char shl_load ();
12948int
12949main ()
12950{
12951return shl_load ();
12952  ;
12953  return 0;
12954}
12955_ACEOF
12956if ac_fn_c_try_link "$LINENO"; then :
12957  ac_cv_lib_dld_shl_load=yes
12958else
12959  ac_cv_lib_dld_shl_load=no
12960fi
12961rm -f core conftest.err conftest.$ac_objext \
12962    conftest$ac_exeext conftest.$ac_ext
12963LIBS=$ac_check_lib_save_LIBS
12964fi
12965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12966$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12967if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12968  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12969else
12970  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12971if test "x$ac_cv_func_dlopen" = xyes; then :
12972  lt_cv_dlopen=dlopen
12973else
12974  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12975$as_echo_n "checking for dlopen in -ldl... " >&6; }
12976if ${ac_cv_lib_dl_dlopen+:} false; then :
12977  $as_echo_n "(cached) " >&6
12978else
12979  ac_check_lib_save_LIBS=$LIBS
12980LIBS="-ldl  $LIBS"
12981cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12982/* end confdefs.h.  */
12983
12984/* Override any GCC internal prototype to avoid an error.
12985   Use char because int might match the return type of a GCC
12986   builtin and then its argument prototype would still apply.  */
12987#ifdef __cplusplus
12988extern "C"
12989#endif
12990char dlopen ();
12991int
12992main ()
12993{
12994return dlopen ();
12995  ;
12996  return 0;
12997}
12998_ACEOF
12999if ac_fn_c_try_link "$LINENO"; then :
13000  ac_cv_lib_dl_dlopen=yes
13001else
13002  ac_cv_lib_dl_dlopen=no
13003fi
13004rm -f core conftest.err conftest.$ac_objext \
13005    conftest$ac_exeext conftest.$ac_ext
13006LIBS=$ac_check_lib_save_LIBS
13007fi
13008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13009$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13010if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13011  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13012else
13013  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13014$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13015if ${ac_cv_lib_svld_dlopen+:} false; then :
13016  $as_echo_n "(cached) " >&6
13017else
13018  ac_check_lib_save_LIBS=$LIBS
13019LIBS="-lsvld  $LIBS"
13020cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021/* end confdefs.h.  */
13022
13023/* Override any GCC internal prototype to avoid an error.
13024   Use char because int might match the return type of a GCC
13025   builtin and then its argument prototype would still apply.  */
13026#ifdef __cplusplus
13027extern "C"
13028#endif
13029char dlopen ();
13030int
13031main ()
13032{
13033return dlopen ();
13034  ;
13035  return 0;
13036}
13037_ACEOF
13038if ac_fn_c_try_link "$LINENO"; then :
13039  ac_cv_lib_svld_dlopen=yes
13040else
13041  ac_cv_lib_svld_dlopen=no
13042fi
13043rm -f core conftest.err conftest.$ac_objext \
13044    conftest$ac_exeext conftest.$ac_ext
13045LIBS=$ac_check_lib_save_LIBS
13046fi
13047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13048$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13049if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13050  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13051else
13052  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13053$as_echo_n "checking for dld_link in -ldld... " >&6; }
13054if ${ac_cv_lib_dld_dld_link+:} false; then :
13055  $as_echo_n "(cached) " >&6
13056else
13057  ac_check_lib_save_LIBS=$LIBS
13058LIBS="-ldld  $LIBS"
13059cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13060/* end confdefs.h.  */
13061
13062/* Override any GCC internal prototype to avoid an error.
13063   Use char because int might match the return type of a GCC
13064   builtin and then its argument prototype would still apply.  */
13065#ifdef __cplusplus
13066extern "C"
13067#endif
13068char dld_link ();
13069int
13070main ()
13071{
13072return dld_link ();
13073  ;
13074  return 0;
13075}
13076_ACEOF
13077if ac_fn_c_try_link "$LINENO"; then :
13078  ac_cv_lib_dld_dld_link=yes
13079else
13080  ac_cv_lib_dld_dld_link=no
13081fi
13082rm -f core conftest.err conftest.$ac_objext \
13083    conftest$ac_exeext conftest.$ac_ext
13084LIBS=$ac_check_lib_save_LIBS
13085fi
13086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13087$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13088if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13089  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13090fi
13091
13092
13093fi
13094
13095
13096fi
13097
13098
13099fi
13100
13101
13102fi
13103
13104
13105fi
13106
13107    ;;
13108  esac
13109
13110  if test no = "$lt_cv_dlopen"; then
13111    enable_dlopen=no
13112  else
13113    enable_dlopen=yes
13114  fi
13115
13116  case $lt_cv_dlopen in
13117  dlopen)
13118    save_CPPFLAGS=$CPPFLAGS
13119    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13120
13121    save_LDFLAGS=$LDFLAGS
13122    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13123
13124    save_LIBS=$LIBS
13125    LIBS="$lt_cv_dlopen_libs $LIBS"
13126
13127    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13128$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13129if ${lt_cv_dlopen_self+:} false; then :
13130  $as_echo_n "(cached) " >&6
13131else
13132  	  if test yes = "$cross_compiling"; then :
13133  lt_cv_dlopen_self=cross
13134else
13135  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13136  lt_status=$lt_dlunknown
13137  cat > conftest.$ac_ext <<_LT_EOF
13138#line $LINENO "configure"
13139#include "confdefs.h"
13140
13141#if HAVE_DLFCN_H
13142#include <dlfcn.h>
13143#endif
13144
13145#include <stdio.h>
13146
13147#ifdef RTLD_GLOBAL
13148#  define LT_DLGLOBAL		RTLD_GLOBAL
13149#else
13150#  ifdef DL_GLOBAL
13151#    define LT_DLGLOBAL		DL_GLOBAL
13152#  else
13153#    define LT_DLGLOBAL		0
13154#  endif
13155#endif
13156
13157/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13158   find out it does not work in some platform. */
13159#ifndef LT_DLLAZY_OR_NOW
13160#  ifdef RTLD_LAZY
13161#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13162#  else
13163#    ifdef DL_LAZY
13164#      define LT_DLLAZY_OR_NOW		DL_LAZY
13165#    else
13166#      ifdef RTLD_NOW
13167#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13168#      else
13169#        ifdef DL_NOW
13170#          define LT_DLLAZY_OR_NOW	DL_NOW
13171#        else
13172#          define LT_DLLAZY_OR_NOW	0
13173#        endif
13174#      endif
13175#    endif
13176#  endif
13177#endif
13178
13179/* When -fvisibility=hidden is used, assume the code has been annotated
13180   correspondingly for the symbols needed.  */
13181#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13182int fnord () __attribute__((visibility("default")));
13183#endif
13184
13185int fnord () { return 42; }
13186int main ()
13187{
13188  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13189  int status = $lt_dlunknown;
13190
13191  if (self)
13192    {
13193      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13194      else
13195        {
13196	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13197          else puts (dlerror ());
13198	}
13199      /* dlclose (self); */
13200    }
13201  else
13202    puts (dlerror ());
13203
13204  return status;
13205}
13206_LT_EOF
13207  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13208  (eval $ac_link) 2>&5
13209  ac_status=$?
13210  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13211  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13212    (./conftest; exit; ) >&5 2>/dev/null
13213    lt_status=$?
13214    case x$lt_status in
13215      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13216      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13217      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13218    esac
13219  else :
13220    # compilation failed
13221    lt_cv_dlopen_self=no
13222  fi
13223fi
13224rm -fr conftest*
13225
13226
13227fi
13228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13229$as_echo "$lt_cv_dlopen_self" >&6; }
13230
13231    if test yes = "$lt_cv_dlopen_self"; then
13232      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13233      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13234$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13235if ${lt_cv_dlopen_self_static+:} false; then :
13236  $as_echo_n "(cached) " >&6
13237else
13238  	  if test yes = "$cross_compiling"; then :
13239  lt_cv_dlopen_self_static=cross
13240else
13241  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13242  lt_status=$lt_dlunknown
13243  cat > conftest.$ac_ext <<_LT_EOF
13244#line $LINENO "configure"
13245#include "confdefs.h"
13246
13247#if HAVE_DLFCN_H
13248#include <dlfcn.h>
13249#endif
13250
13251#include <stdio.h>
13252
13253#ifdef RTLD_GLOBAL
13254#  define LT_DLGLOBAL		RTLD_GLOBAL
13255#else
13256#  ifdef DL_GLOBAL
13257#    define LT_DLGLOBAL		DL_GLOBAL
13258#  else
13259#    define LT_DLGLOBAL		0
13260#  endif
13261#endif
13262
13263/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13264   find out it does not work in some platform. */
13265#ifndef LT_DLLAZY_OR_NOW
13266#  ifdef RTLD_LAZY
13267#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13268#  else
13269#    ifdef DL_LAZY
13270#      define LT_DLLAZY_OR_NOW		DL_LAZY
13271#    else
13272#      ifdef RTLD_NOW
13273#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13274#      else
13275#        ifdef DL_NOW
13276#          define LT_DLLAZY_OR_NOW	DL_NOW
13277#        else
13278#          define LT_DLLAZY_OR_NOW	0
13279#        endif
13280#      endif
13281#    endif
13282#  endif
13283#endif
13284
13285/* When -fvisibility=hidden is used, assume the code has been annotated
13286   correspondingly for the symbols needed.  */
13287#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13288int fnord () __attribute__((visibility("default")));
13289#endif
13290
13291int fnord () { return 42; }
13292int main ()
13293{
13294  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13295  int status = $lt_dlunknown;
13296
13297  if (self)
13298    {
13299      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13300      else
13301        {
13302	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13303          else puts (dlerror ());
13304	}
13305      /* dlclose (self); */
13306    }
13307  else
13308    puts (dlerror ());
13309
13310  return status;
13311}
13312_LT_EOF
13313  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13314  (eval $ac_link) 2>&5
13315  ac_status=$?
13316  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13317  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13318    (./conftest; exit; ) >&5 2>/dev/null
13319    lt_status=$?
13320    case x$lt_status in
13321      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13322      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13323      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13324    esac
13325  else :
13326    # compilation failed
13327    lt_cv_dlopen_self_static=no
13328  fi
13329fi
13330rm -fr conftest*
13331
13332
13333fi
13334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13335$as_echo "$lt_cv_dlopen_self_static" >&6; }
13336    fi
13337
13338    CPPFLAGS=$save_CPPFLAGS
13339    LDFLAGS=$save_LDFLAGS
13340    LIBS=$save_LIBS
13341    ;;
13342  esac
13343
13344  case $lt_cv_dlopen_self in
13345  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13346  *) enable_dlopen_self=unknown ;;
13347  esac
13348
13349  case $lt_cv_dlopen_self_static in
13350  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13351  *) enable_dlopen_self_static=unknown ;;
13352  esac
13353fi
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371striplib=
13372old_striplib=
13373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13374$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13375if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13376  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13377  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13379$as_echo "yes" >&6; }
13380else
13381# FIXME - insert some real tests, host_os isn't really good enough
13382  case $host_os in
13383  darwin*)
13384    if test -n "$STRIP"; then
13385      striplib="$STRIP -x"
13386      old_striplib="$STRIP -S"
13387      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13388$as_echo "yes" >&6; }
13389    else
13390      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13391$as_echo "no" >&6; }
13392    fi
13393    ;;
13394  *)
13395    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13396$as_echo "no" >&6; }
13397    ;;
13398  esac
13399fi
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412  # Report what library types will actually be built
13413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13414$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13416$as_echo "$can_build_shared" >&6; }
13417
13418  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13419$as_echo_n "checking whether to build shared libraries... " >&6; }
13420  test no = "$can_build_shared" && enable_shared=no
13421
13422  # On AIX, shared libraries and static libraries use the same namespace, and
13423  # are all built from PIC.
13424  case $host_os in
13425  aix3*)
13426    test yes = "$enable_shared" && enable_static=no
13427    if test -n "$RANLIB"; then
13428      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13429      postinstall_cmds='$RANLIB $lib'
13430    fi
13431    ;;
13432
13433  aix[4-9]*)
13434    if test ia64 != "$host_cpu"; then
13435      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13436      yes,aix,yes) ;;			# shared object as lib.so file only
13437      yes,svr4,*) ;;			# shared object as lib.so archive member only
13438      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13439      esac
13440    fi
13441    ;;
13442  esac
13443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13444$as_echo "$enable_shared" >&6; }
13445
13446  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13447$as_echo_n "checking whether to build static libraries... " >&6; }
13448  # Make sure either enable_shared or enable_static is yes.
13449  test yes = "$enable_shared" || enable_static=yes
13450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13451$as_echo "$enable_static" >&6; }
13452
13453
13454
13455
13456fi
13457ac_ext=c
13458ac_cpp='$CPP $CPPFLAGS'
13459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13461ac_compiler_gnu=$ac_cv_c_compiler_gnu
13462
13463CC=$lt_save_CC
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479        ac_config_commands="$ac_config_commands libtool"
13480
13481
13482
13483
13484# Only expand once:
13485
13486
13487
13488
13489GST_REQ=1.16.2
13490GSTPB_REQ=1.16.2
13491
13492
13493
13494
13495# Check whether --with-autoconf was given.
13496if test "${with_autoconf+set}" = set; then :
13497  withval=$with_autoconf;
13498      unset AUTOCONF
13499
13500AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
13501
13502      { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
13503$as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
13504
13505fi
13506
13507
13508
13509# Check whether --with-autoheader was given.
13510if test "${with_autoheader+set}" = set; then :
13511  withval=$with_autoheader;
13512      unset AUTOHEADER
13513
13514AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
13515
13516      { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
13517$as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
13518
13519fi
13520
13521
13522
13523# Check whether --with-automake was given.
13524if test "${with_automake+set}" = set; then :
13525  withval=$with_automake;
13526      unset AUTOMAKE
13527
13528AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
13529
13530      { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
13531$as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
13532
13533fi
13534
13535
13536
13537# Check whether --with-aclocal was given.
13538if test "${with_aclocal+set}" = set; then :
13539  withval=$with_aclocal;
13540      unset ACLOCAL
13541
13542ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
13543
13544      { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
13545$as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
13546
13547fi
13548
13549
13550
13551ACLOCAL_AMFLAGS="-I m4 -I common/m4"
13552
13553
13554
13555
13556mkdir_p="$MKDIR_P"
13557case $mkdir_p in
13558  [\\/$]* | ?:[\\/]*) ;;
13559  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
13560esac
13561
13562
13563  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13564$as_echo_n "checking whether NLS is requested... " >&6; }
13565    # Check whether --enable-nls was given.
13566if test "${enable_nls+set}" = set; then :
13567  enableval=$enable_nls; USE_NLS=$enableval
13568else
13569  USE_NLS=yes
13570fi
13571
13572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13573$as_echo "$USE_NLS" >&6; }
13574
13575
13576
13577
13578      GETTEXT_MACRO_VERSION=0.17
13579
13580
13581
13582
13583# Prepare PATH_SEPARATOR.
13584# The user is always right.
13585if test "${PATH_SEPARATOR+set}" != set; then
13586  echo "#! /bin/sh" >conf$$.sh
13587  echo  "exit 0"   >>conf$$.sh
13588  chmod +x conf$$.sh
13589  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13590    PATH_SEPARATOR=';'
13591  else
13592    PATH_SEPARATOR=:
13593  fi
13594  rm -f conf$$.sh
13595fi
13596
13597# Find out how to test for executable files. Don't use a zero-byte file,
13598# as systems may use methods other than mode bits to determine executability.
13599cat >conf$$.file <<_ASEOF
13600#! /bin/sh
13601exit 0
13602_ASEOF
13603chmod +x conf$$.file
13604if test -x conf$$.file >/dev/null 2>&1; then
13605  ac_executable_p="test -x"
13606else
13607  ac_executable_p="test -f"
13608fi
13609rm -f conf$$.file
13610
13611# Extract the first word of "msgfmt", so it can be a program name with args.
13612set dummy msgfmt; ac_word=$2
13613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13614$as_echo_n "checking for $ac_word... " >&6; }
13615if ${ac_cv_path_MSGFMT+:} false; then :
13616  $as_echo_n "(cached) " >&6
13617else
13618  case "$MSGFMT" in
13619  [\\/]* | ?:[\\/]*)
13620    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13621    ;;
13622  *)
13623    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13624    for ac_dir in $PATH; do
13625      IFS="$ac_save_IFS"
13626      test -z "$ac_dir" && ac_dir=.
13627      for ac_exec_ext in '' $ac_executable_extensions; do
13628        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13629          echo "$as_me: trying $ac_dir/$ac_word..." >&5
13630          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
13631     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13632            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13633            break 2
13634          fi
13635        fi
13636      done
13637    done
13638    IFS="$ac_save_IFS"
13639  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13640    ;;
13641esac
13642fi
13643MSGFMT="$ac_cv_path_MSGFMT"
13644if test "$MSGFMT" != ":"; then
13645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13646$as_echo "$MSGFMT" >&6; }
13647else
13648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13649$as_echo "no" >&6; }
13650fi
13651
13652  # Extract the first word of "gmsgfmt", so it can be a program name with args.
13653set dummy gmsgfmt; ac_word=$2
13654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13655$as_echo_n "checking for $ac_word... " >&6; }
13656if ${ac_cv_path_GMSGFMT+:} false; then :
13657  $as_echo_n "(cached) " >&6
13658else
13659  case $GMSGFMT in
13660  [\\/]* | ?:[\\/]*)
13661  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13662  ;;
13663  *)
13664  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13665for as_dir in $PATH
13666do
13667  IFS=$as_save_IFS
13668  test -z "$as_dir" && as_dir=.
13669    for ac_exec_ext in '' $ac_executable_extensions; do
13670  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13671    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13672    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13673    break 2
13674  fi
13675done
13676  done
13677IFS=$as_save_IFS
13678
13679  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13680  ;;
13681esac
13682fi
13683GMSGFMT=$ac_cv_path_GMSGFMT
13684if test -n "$GMSGFMT"; then
13685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13686$as_echo "$GMSGFMT" >&6; }
13687else
13688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13689$as_echo "no" >&6; }
13690fi
13691
13692
13693
13694    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13695    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
13696    *) MSGFMT_015=$MSGFMT ;;
13697  esac
13698
13699  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13700    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
13701    *) GMSGFMT_015=$GMSGFMT ;;
13702  esac
13703
13704
13705
13706# Prepare PATH_SEPARATOR.
13707# The user is always right.
13708if test "${PATH_SEPARATOR+set}" != set; then
13709  echo "#! /bin/sh" >conf$$.sh
13710  echo  "exit 0"   >>conf$$.sh
13711  chmod +x conf$$.sh
13712  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13713    PATH_SEPARATOR=';'
13714  else
13715    PATH_SEPARATOR=:
13716  fi
13717  rm -f conf$$.sh
13718fi
13719
13720# Find out how to test for executable files. Don't use a zero-byte file,
13721# as systems may use methods other than mode bits to determine executability.
13722cat >conf$$.file <<_ASEOF
13723#! /bin/sh
13724exit 0
13725_ASEOF
13726chmod +x conf$$.file
13727if test -x conf$$.file >/dev/null 2>&1; then
13728  ac_executable_p="test -x"
13729else
13730  ac_executable_p="test -f"
13731fi
13732rm -f conf$$.file
13733
13734# Extract the first word of "xgettext", so it can be a program name with args.
13735set dummy xgettext; ac_word=$2
13736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13737$as_echo_n "checking for $ac_word... " >&6; }
13738if ${ac_cv_path_XGETTEXT+:} false; then :
13739  $as_echo_n "(cached) " >&6
13740else
13741  case "$XGETTEXT" in
13742  [\\/]* | ?:[\\/]*)
13743    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13744    ;;
13745  *)
13746    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13747    for ac_dir in $PATH; do
13748      IFS="$ac_save_IFS"
13749      test -z "$ac_dir" && ac_dir=.
13750      for ac_exec_ext in '' $ac_executable_extensions; do
13751        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13752          echo "$as_me: trying $ac_dir/$ac_word..." >&5
13753          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13754     (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
13755            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13756            break 2
13757          fi
13758        fi
13759      done
13760    done
13761    IFS="$ac_save_IFS"
13762  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13763    ;;
13764esac
13765fi
13766XGETTEXT="$ac_cv_path_XGETTEXT"
13767if test "$XGETTEXT" != ":"; then
13768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13769$as_echo "$XGETTEXT" >&6; }
13770else
13771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13772$as_echo "no" >&6; }
13773fi
13774
13775    rm -f messages.po
13776
13777    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13778    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13779    *) XGETTEXT_015=$XGETTEXT ;;
13780  esac
13781
13782
13783
13784# Prepare PATH_SEPARATOR.
13785# The user is always right.
13786if test "${PATH_SEPARATOR+set}" != set; then
13787  echo "#! /bin/sh" >conf$$.sh
13788  echo  "exit 0"   >>conf$$.sh
13789  chmod +x conf$$.sh
13790  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13791    PATH_SEPARATOR=';'
13792  else
13793    PATH_SEPARATOR=:
13794  fi
13795  rm -f conf$$.sh
13796fi
13797
13798# Find out how to test for executable files. Don't use a zero-byte file,
13799# as systems may use methods other than mode bits to determine executability.
13800cat >conf$$.file <<_ASEOF
13801#! /bin/sh
13802exit 0
13803_ASEOF
13804chmod +x conf$$.file
13805if test -x conf$$.file >/dev/null 2>&1; then
13806  ac_executable_p="test -x"
13807else
13808  ac_executable_p="test -f"
13809fi
13810rm -f conf$$.file
13811
13812# Extract the first word of "msgmerge", so it can be a program name with args.
13813set dummy msgmerge; ac_word=$2
13814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13815$as_echo_n "checking for $ac_word... " >&6; }
13816if ${ac_cv_path_MSGMERGE+:} false; then :
13817  $as_echo_n "(cached) " >&6
13818else
13819  case "$MSGMERGE" in
13820  [\\/]* | ?:[\\/]*)
13821    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13822    ;;
13823  *)
13824    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13825    for ac_dir in $PATH; do
13826      IFS="$ac_save_IFS"
13827      test -z "$ac_dir" && ac_dir=.
13828      for ac_exec_ext in '' $ac_executable_extensions; do
13829        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13830          echo "$as_me: trying $ac_dir/$ac_word..." >&5
13831          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13832            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13833            break 2
13834          fi
13835        fi
13836      done
13837    done
13838    IFS="$ac_save_IFS"
13839  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13840    ;;
13841esac
13842fi
13843MSGMERGE="$ac_cv_path_MSGMERGE"
13844if test "$MSGMERGE" != ":"; then
13845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13846$as_echo "$MSGMERGE" >&6; }
13847else
13848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13849$as_echo "no" >&6; }
13850fi
13851
13852
13853        test -n "$localedir" || localedir='${datadir}/locale'
13854
13855
13856    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13857
13858
13859  ac_config_commands="$ac_config_commands po-directories"
13860
13861
13862
13863      if test "X$prefix" = "XNONE"; then
13864    acl_final_prefix="$ac_default_prefix"
13865  else
13866    acl_final_prefix="$prefix"
13867  fi
13868  if test "X$exec_prefix" = "XNONE"; then
13869    acl_final_exec_prefix='${prefix}'
13870  else
13871    acl_final_exec_prefix="$exec_prefix"
13872  fi
13873  acl_save_prefix="$prefix"
13874  prefix="$acl_final_prefix"
13875  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13876  prefix="$acl_save_prefix"
13877
13878
13879# Check whether --with-gnu-ld was given.
13880if test "${with_gnu_ld+set}" = set; then :
13881  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13882else
13883  with_gnu_ld=no
13884fi
13885
13886# Prepare PATH_SEPARATOR.
13887# The user is always right.
13888if test "${PATH_SEPARATOR+set}" != set; then
13889  echo "#! /bin/sh" >conf$$.sh
13890  echo  "exit 0"   >>conf$$.sh
13891  chmod +x conf$$.sh
13892  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13893    PATH_SEPARATOR=';'
13894  else
13895    PATH_SEPARATOR=:
13896  fi
13897  rm -f conf$$.sh
13898fi
13899ac_prog=ld
13900if test "$GCC" = yes; then
13901  # Check if gcc -print-prog-name=ld gives a path.
13902  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13903$as_echo_n "checking for ld used by GCC... " >&6; }
13904  case $host in
13905  *-*-mingw*)
13906    # gcc leaves a trailing carriage return which upsets mingw
13907    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13908  *)
13909    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13910  esac
13911  case $ac_prog in
13912    # Accept absolute paths.
13913    [\\/]* | [A-Za-z]:[\\/]*)
13914      re_direlt='/[^/][^/]*/\.\./'
13915      # Canonicalize the path of ld
13916      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
13917      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13918	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13919      done
13920      test -z "$LD" && LD="$ac_prog"
13921      ;;
13922  "")
13923    # If it fails, then pretend we aren't using GCC.
13924    ac_prog=ld
13925    ;;
13926  *)
13927    # If it is relative, then search for the first ld in PATH.
13928    with_gnu_ld=unknown
13929    ;;
13930  esac
13931elif test "$with_gnu_ld" = yes; then
13932  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13933$as_echo_n "checking for GNU ld... " >&6; }
13934else
13935  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13936$as_echo_n "checking for non-GNU ld... " >&6; }
13937fi
13938if ${acl_cv_path_LD+:} false; then :
13939  $as_echo_n "(cached) " >&6
13940else
13941  if test -z "$LD"; then
13942  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13943  for ac_dir in $PATH; do
13944    test -z "$ac_dir" && ac_dir=.
13945    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13946      acl_cv_path_LD="$ac_dir/$ac_prog"
13947      # Check to see if the program is GNU ld.  I'd rather use --version,
13948      # but apparently some GNU ld's only accept -v.
13949      # Break only if it was the GNU/non-GNU ld that we prefer.
13950      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13951      *GNU* | *'with BFD'*)
13952	test "$with_gnu_ld" != no && break ;;
13953      *)
13954	test "$with_gnu_ld" != yes && break ;;
13955      esac
13956    fi
13957  done
13958  IFS="$ac_save_ifs"
13959else
13960  acl_cv_path_LD="$LD" # Let the user override the test with a path.
13961fi
13962fi
13963
13964LD="$acl_cv_path_LD"
13965if test -n "$LD"; then
13966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13967$as_echo "$LD" >&6; }
13968else
13969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13970$as_echo "no" >&6; }
13971fi
13972test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13974$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13975if ${acl_cv_prog_gnu_ld+:} false; then :
13976  $as_echo_n "(cached) " >&6
13977else
13978  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13979case `$LD -v 2>&1 </dev/null` in
13980*GNU* | *'with BFD'*)
13981  acl_cv_prog_gnu_ld=yes ;;
13982*)
13983  acl_cv_prog_gnu_ld=no ;;
13984esac
13985fi
13986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13987$as_echo "$acl_cv_prog_gnu_ld" >&6; }
13988with_gnu_ld=$acl_cv_prog_gnu_ld
13989
13990
13991
13992
13993                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13994$as_echo_n "checking for shared library run path origin... " >&6; }
13995if ${acl_cv_rpath+:} false; then :
13996  $as_echo_n "(cached) " >&6
13997else
13998
13999    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14000    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14001    . ./conftest.sh
14002    rm -f ./conftest.sh
14003    acl_cv_rpath=done
14004
14005fi
14006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14007$as_echo "$acl_cv_rpath" >&6; }
14008  wl="$acl_cv_wl"
14009  acl_libext="$acl_cv_libext"
14010  acl_shlibext="$acl_cv_shlibext"
14011  acl_libname_spec="$acl_cv_libname_spec"
14012  acl_library_names_spec="$acl_cv_library_names_spec"
14013  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14014  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14015  acl_hardcode_direct="$acl_cv_hardcode_direct"
14016  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14017    # Check whether --enable-rpath was given.
14018if test "${enable_rpath+set}" = set; then :
14019  enableval=$enable_rpath; :
14020else
14021  enable_rpath=yes
14022fi
14023
14024
14025
14026                  acl_libdirstem=lib
14027  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14028  if test -n "$searchpath"; then
14029    acl_save_IFS="${IFS= 	}"; IFS=":"
14030    for searchdir in $searchpath; do
14031      if test -d "$searchdir"; then
14032        case "$searchdir" in
14033          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14034          *) searchdir=`cd "$searchdir" && pwd`
14035             case "$searchdir" in
14036               */lib64 ) acl_libdirstem=lib64 ;;
14037             esac ;;
14038        esac
14039      fi
14040    done
14041    IFS="$acl_save_IFS"
14042  fi
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052    use_additional=yes
14053
14054  acl_save_prefix="$prefix"
14055  prefix="$acl_final_prefix"
14056  acl_save_exec_prefix="$exec_prefix"
14057  exec_prefix="$acl_final_exec_prefix"
14058
14059    eval additional_includedir=\"$includedir\"
14060    eval additional_libdir=\"$libdir\"
14061
14062  exec_prefix="$acl_save_exec_prefix"
14063  prefix="$acl_save_prefix"
14064
14065
14066# Check whether --with-libiconv-prefix was given.
14067if test "${with_libiconv_prefix+set}" = set; then :
14068  withval=$with_libiconv_prefix;
14069    if test "X$withval" = "Xno"; then
14070      use_additional=no
14071    else
14072      if test "X$withval" = "X"; then
14073
14074  acl_save_prefix="$prefix"
14075  prefix="$acl_final_prefix"
14076  acl_save_exec_prefix="$exec_prefix"
14077  exec_prefix="$acl_final_exec_prefix"
14078
14079          eval additional_includedir=\"$includedir\"
14080          eval additional_libdir=\"$libdir\"
14081
14082  exec_prefix="$acl_save_exec_prefix"
14083  prefix="$acl_save_prefix"
14084
14085      else
14086        additional_includedir="$withval/include"
14087        additional_libdir="$withval/$acl_libdirstem"
14088      fi
14089    fi
14090
14091fi
14092
14093      LIBICONV=
14094  LTLIBICONV=
14095  INCICONV=
14096  LIBICONV_PREFIX=
14097  rpathdirs=
14098  ltrpathdirs=
14099  names_already_handled=
14100  names_next_round='iconv '
14101  while test -n "$names_next_round"; do
14102    names_this_round="$names_next_round"
14103    names_next_round=
14104    for name in $names_this_round; do
14105      already_handled=
14106      for n in $names_already_handled; do
14107        if test "$n" = "$name"; then
14108          already_handled=yes
14109          break
14110        fi
14111      done
14112      if test -z "$already_handled"; then
14113        names_already_handled="$names_already_handled $name"
14114                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14115        eval value=\"\$HAVE_LIB$uppername\"
14116        if test -n "$value"; then
14117          if test "$value" = yes; then
14118            eval value=\"\$LIB$uppername\"
14119            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14120            eval value=\"\$LTLIB$uppername\"
14121            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14122          else
14123                                    :
14124          fi
14125        else
14126                              found_dir=
14127          found_la=
14128          found_so=
14129          found_a=
14130          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
14131          if test -n "$acl_shlibext"; then
14132            shrext=".$acl_shlibext"             # typically: shrext=.so
14133          else
14134            shrext=
14135          fi
14136          if test $use_additional = yes; then
14137            dir="$additional_libdir"
14138                                    if test -n "$acl_shlibext"; then
14139              if test -f "$dir/$libname$shrext"; then
14140                found_dir="$dir"
14141                found_so="$dir/$libname$shrext"
14142              else
14143                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14144                  ver=`(cd "$dir" && \
14145                        for f in "$libname$shrext".*; do echo "$f"; done \
14146                        | sed -e "s,^$libname$shrext\\\\.,," \
14147                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14148                        | sed 1q ) 2>/dev/null`
14149                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14150                    found_dir="$dir"
14151                    found_so="$dir/$libname$shrext.$ver"
14152                  fi
14153                else
14154                  eval library_names=\"$acl_library_names_spec\"
14155                  for f in $library_names; do
14156                    if test -f "$dir/$f"; then
14157                      found_dir="$dir"
14158                      found_so="$dir/$f"
14159                      break
14160                    fi
14161                  done
14162                fi
14163              fi
14164            fi
14165                        if test "X$found_dir" = "X"; then
14166              if test -f "$dir/$libname.$acl_libext"; then
14167                found_dir="$dir"
14168                found_a="$dir/$libname.$acl_libext"
14169              fi
14170            fi
14171            if test "X$found_dir" != "X"; then
14172              if test -f "$dir/$libname.la"; then
14173                found_la="$dir/$libname.la"
14174              fi
14175            fi
14176          fi
14177          if test "X$found_dir" = "X"; then
14178            for x in $LDFLAGS $LTLIBICONV; do
14179
14180  acl_save_prefix="$prefix"
14181  prefix="$acl_final_prefix"
14182  acl_save_exec_prefix="$exec_prefix"
14183  exec_prefix="$acl_final_exec_prefix"
14184  eval x=\"$x\"
14185  exec_prefix="$acl_save_exec_prefix"
14186  prefix="$acl_save_prefix"
14187
14188              case "$x" in
14189                -L*)
14190                  dir=`echo "X$x" | sed -e 's/^X-L//'`
14191                                    if test -n "$acl_shlibext"; then
14192                    if test -f "$dir/$libname$shrext"; then
14193                      found_dir="$dir"
14194                      found_so="$dir/$libname$shrext"
14195                    else
14196                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14197                        ver=`(cd "$dir" && \
14198                              for f in "$libname$shrext".*; do echo "$f"; done \
14199                              | sed -e "s,^$libname$shrext\\\\.,," \
14200                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14201                              | sed 1q ) 2>/dev/null`
14202                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14203                          found_dir="$dir"
14204                          found_so="$dir/$libname$shrext.$ver"
14205                        fi
14206                      else
14207                        eval library_names=\"$acl_library_names_spec\"
14208                        for f in $library_names; do
14209                          if test -f "$dir/$f"; then
14210                            found_dir="$dir"
14211                            found_so="$dir/$f"
14212                            break
14213                          fi
14214                        done
14215                      fi
14216                    fi
14217                  fi
14218                                    if test "X$found_dir" = "X"; then
14219                    if test -f "$dir/$libname.$acl_libext"; then
14220                      found_dir="$dir"
14221                      found_a="$dir/$libname.$acl_libext"
14222                    fi
14223                  fi
14224                  if test "X$found_dir" != "X"; then
14225                    if test -f "$dir/$libname.la"; then
14226                      found_la="$dir/$libname.la"
14227                    fi
14228                  fi
14229                  ;;
14230              esac
14231              if test "X$found_dir" != "X"; then
14232                break
14233              fi
14234            done
14235          fi
14236          if test "X$found_dir" != "X"; then
14237                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14238            if test "X$found_so" != "X"; then
14239                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14240                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14241              else
14242                                                                                haveit=
14243                for x in $ltrpathdirs; do
14244                  if test "X$x" = "X$found_dir"; then
14245                    haveit=yes
14246                    break
14247                  fi
14248                done
14249                if test -z "$haveit"; then
14250                  ltrpathdirs="$ltrpathdirs $found_dir"
14251                fi
14252                                if test "$acl_hardcode_direct" = yes; then
14253                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14254                else
14255                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14256                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14257                                                            haveit=
14258                    for x in $rpathdirs; do
14259                      if test "X$x" = "X$found_dir"; then
14260                        haveit=yes
14261                        break
14262                      fi
14263                    done
14264                    if test -z "$haveit"; then
14265                      rpathdirs="$rpathdirs $found_dir"
14266                    fi
14267                  else
14268                                                                                haveit=
14269                    for x in $LDFLAGS $LIBICONV; do
14270
14271  acl_save_prefix="$prefix"
14272  prefix="$acl_final_prefix"
14273  acl_save_exec_prefix="$exec_prefix"
14274  exec_prefix="$acl_final_exec_prefix"
14275  eval x=\"$x\"
14276  exec_prefix="$acl_save_exec_prefix"
14277  prefix="$acl_save_prefix"
14278
14279                      if test "X$x" = "X-L$found_dir"; then
14280                        haveit=yes
14281                        break
14282                      fi
14283                    done
14284                    if test -z "$haveit"; then
14285                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14286                    fi
14287                    if test "$acl_hardcode_minus_L" != no; then
14288                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14289                    else
14290                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14291                    fi
14292                  fi
14293                fi
14294              fi
14295            else
14296              if test "X$found_a" != "X"; then
14297                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14298              else
14299                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14300              fi
14301            fi
14302                        additional_includedir=
14303            case "$found_dir" in
14304              */$acl_libdirstem | */$acl_libdirstem/)
14305                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14306                LIBICONV_PREFIX="$basedir"
14307                additional_includedir="$basedir/include"
14308                ;;
14309            esac
14310            if test "X$additional_includedir" != "X"; then
14311                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
14312                haveit=
14313                if test "X$additional_includedir" = "X/usr/local/include"; then
14314                  if test -n "$GCC"; then
14315                    case $host_os in
14316                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14317                    esac
14318                  fi
14319                fi
14320                if test -z "$haveit"; then
14321                  for x in $CPPFLAGS $INCICONV; do
14322
14323  acl_save_prefix="$prefix"
14324  prefix="$acl_final_prefix"
14325  acl_save_exec_prefix="$exec_prefix"
14326  exec_prefix="$acl_final_exec_prefix"
14327  eval x=\"$x\"
14328  exec_prefix="$acl_save_exec_prefix"
14329  prefix="$acl_save_prefix"
14330
14331                    if test "X$x" = "X-I$additional_includedir"; then
14332                      haveit=yes
14333                      break
14334                    fi
14335                  done
14336                  if test -z "$haveit"; then
14337                    if test -d "$additional_includedir"; then
14338                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14339                    fi
14340                  fi
14341                fi
14342              fi
14343            fi
14344                        if test -n "$found_la"; then
14345                                                        save_libdir="$libdir"
14346              case "$found_la" in
14347                */* | *\\*) . "$found_la" ;;
14348                *) . "./$found_la" ;;
14349              esac
14350              libdir="$save_libdir"
14351                            for dep in $dependency_libs; do
14352                case "$dep" in
14353                  -L*)
14354                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14355                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14356                      haveit=
14357                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14358                        if test -n "$GCC"; then
14359                          case $host_os in
14360                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14361                          esac
14362                        fi
14363                      fi
14364                      if test -z "$haveit"; then
14365                        haveit=
14366                        for x in $LDFLAGS $LIBICONV; do
14367
14368  acl_save_prefix="$prefix"
14369  prefix="$acl_final_prefix"
14370  acl_save_exec_prefix="$exec_prefix"
14371  exec_prefix="$acl_final_exec_prefix"
14372  eval x=\"$x\"
14373  exec_prefix="$acl_save_exec_prefix"
14374  prefix="$acl_save_prefix"
14375
14376                          if test "X$x" = "X-L$additional_libdir"; then
14377                            haveit=yes
14378                            break
14379                          fi
14380                        done
14381                        if test -z "$haveit"; then
14382                          if test -d "$additional_libdir"; then
14383                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14384                          fi
14385                        fi
14386                        haveit=
14387                        for x in $LDFLAGS $LTLIBICONV; do
14388
14389  acl_save_prefix="$prefix"
14390  prefix="$acl_final_prefix"
14391  acl_save_exec_prefix="$exec_prefix"
14392  exec_prefix="$acl_final_exec_prefix"
14393  eval x=\"$x\"
14394  exec_prefix="$acl_save_exec_prefix"
14395  prefix="$acl_save_prefix"
14396
14397                          if test "X$x" = "X-L$additional_libdir"; then
14398                            haveit=yes
14399                            break
14400                          fi
14401                        done
14402                        if test -z "$haveit"; then
14403                          if test -d "$additional_libdir"; then
14404                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14405                          fi
14406                        fi
14407                      fi
14408                    fi
14409                    ;;
14410                  -R*)
14411                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
14412                    if test "$enable_rpath" != no; then
14413                                                                  haveit=
14414                      for x in $rpathdirs; do
14415                        if test "X$x" = "X$dir"; then
14416                          haveit=yes
14417                          break
14418                        fi
14419                      done
14420                      if test -z "$haveit"; then
14421                        rpathdirs="$rpathdirs $dir"
14422                      fi
14423                                                                  haveit=
14424                      for x in $ltrpathdirs; do
14425                        if test "X$x" = "X$dir"; then
14426                          haveit=yes
14427                          break
14428                        fi
14429                      done
14430                      if test -z "$haveit"; then
14431                        ltrpathdirs="$ltrpathdirs $dir"
14432                      fi
14433                    fi
14434                    ;;
14435                  -l*)
14436                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14437                    ;;
14438                  *.la)
14439                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14440                    ;;
14441                  *)
14442                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
14443                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14444                    ;;
14445                esac
14446              done
14447            fi
14448          else
14449                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14450            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14451          fi
14452        fi
14453      fi
14454    done
14455  done
14456  if test "X$rpathdirs" != "X"; then
14457    if test -n "$acl_hardcode_libdir_separator"; then
14458                        alldirs=
14459      for found_dir in $rpathdirs; do
14460        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14461      done
14462            acl_save_libdir="$libdir"
14463      libdir="$alldirs"
14464      eval flag=\"$acl_hardcode_libdir_flag_spec\"
14465      libdir="$acl_save_libdir"
14466      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14467    else
14468            for found_dir in $rpathdirs; do
14469        acl_save_libdir="$libdir"
14470        libdir="$found_dir"
14471        eval flag=\"$acl_hardcode_libdir_flag_spec\"
14472        libdir="$acl_save_libdir"
14473        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14474      done
14475    fi
14476  fi
14477  if test "X$ltrpathdirs" != "X"; then
14478            for found_dir in $ltrpathdirs; do
14479      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14480    done
14481  fi
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14508$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14509if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14510  $as_echo_n "(cached) " >&6
14511else
14512  gt_save_LIBS="$LIBS"
14513     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14514     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14515/* end confdefs.h.  */
14516#include <CoreFoundation/CFPreferences.h>
14517int
14518main ()
14519{
14520CFPreferencesCopyAppValue(NULL, NULL)
14521  ;
14522  return 0;
14523}
14524_ACEOF
14525if ac_fn_c_try_link "$LINENO"; then :
14526  gt_cv_func_CFPreferencesCopyAppValue=yes
14527else
14528  gt_cv_func_CFPreferencesCopyAppValue=no
14529fi
14530rm -f core conftest.err conftest.$ac_objext \
14531    conftest$ac_exeext conftest.$ac_ext
14532     LIBS="$gt_save_LIBS"
14533fi
14534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14535$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14536  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14537
14538$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14539
14540  fi
14541    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14542$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14543if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14544  $as_echo_n "(cached) " >&6
14545else
14546  gt_save_LIBS="$LIBS"
14547     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14548     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549/* end confdefs.h.  */
14550#include <CoreFoundation/CFLocale.h>
14551int
14552main ()
14553{
14554CFLocaleCopyCurrent();
14555  ;
14556  return 0;
14557}
14558_ACEOF
14559if ac_fn_c_try_link "$LINENO"; then :
14560  gt_cv_func_CFLocaleCopyCurrent=yes
14561else
14562  gt_cv_func_CFLocaleCopyCurrent=no
14563fi
14564rm -f core conftest.err conftest.$ac_objext \
14565    conftest$ac_exeext conftest.$ac_ext
14566     LIBS="$gt_save_LIBS"
14567fi
14568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14569$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14570  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14571
14572$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14573
14574  fi
14575  INTL_MACOSX_LIBS=
14576  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14577    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14578  fi
14579
14580
14581
14582
14583
14584
14585  LIBINTL=
14586  LTLIBINTL=
14587  POSUB=
14588
14589    case " $gt_needs " in
14590    *" need-formatstring-macros "*) gt_api_version=3 ;;
14591    *" need-ngettext "*) gt_api_version=2 ;;
14592    *) gt_api_version=1 ;;
14593  esac
14594  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
14595  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
14596
14597    if test "$USE_NLS" = "yes"; then
14598    gt_use_preinstalled_gnugettext=no
14599
14600
14601        if test $gt_api_version -ge 3; then
14602          gt_revision_test_code='
14603#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14604#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14605#endif
14606typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14607'
14608        else
14609          gt_revision_test_code=
14610        fi
14611        if test $gt_api_version -ge 2; then
14612          gt_expression_test_code=' + * ngettext ("", "", 0)'
14613        else
14614          gt_expression_test_code=
14615        fi
14616
14617        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14618$as_echo_n "checking for GNU gettext in libc... " >&6; }
14619if eval \${$gt_func_gnugettext_libc+:} false; then :
14620  $as_echo_n "(cached) " >&6
14621else
14622  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14623/* end confdefs.h.  */
14624#include <libintl.h>
14625$gt_revision_test_code
14626extern int _nl_msg_cat_cntr;
14627extern int *_nl_domain_bindings;
14628int
14629main ()
14630{
14631bindtextdomain ("", "");
14632return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14633  ;
14634  return 0;
14635}
14636_ACEOF
14637if ac_fn_c_try_link "$LINENO"; then :
14638  eval "$gt_func_gnugettext_libc=yes"
14639else
14640  eval "$gt_func_gnugettext_libc=no"
14641fi
14642rm -f core conftest.err conftest.$ac_objext \
14643    conftest$ac_exeext conftest.$ac_ext
14644fi
14645eval ac_res=\$$gt_func_gnugettext_libc
14646	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14647$as_echo "$ac_res" >&6; }
14648
14649        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14650
14651
14652
14653
14654
14655          am_save_CPPFLAGS="$CPPFLAGS"
14656
14657  for element in $INCICONV; do
14658    haveit=
14659    for x in $CPPFLAGS; do
14660
14661  acl_save_prefix="$prefix"
14662  prefix="$acl_final_prefix"
14663  acl_save_exec_prefix="$exec_prefix"
14664  exec_prefix="$acl_final_exec_prefix"
14665  eval x=\"$x\"
14666  exec_prefix="$acl_save_exec_prefix"
14667  prefix="$acl_save_prefix"
14668
14669      if test "X$x" = "X$element"; then
14670        haveit=yes
14671        break
14672      fi
14673    done
14674    if test -z "$haveit"; then
14675      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14676    fi
14677  done
14678
14679
14680  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14681$as_echo_n "checking for iconv... " >&6; }
14682if ${am_cv_func_iconv+:} false; then :
14683  $as_echo_n "(cached) " >&6
14684else
14685
14686    am_cv_func_iconv="no, consider installing GNU libiconv"
14687    am_cv_lib_iconv=no
14688    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14689/* end confdefs.h.  */
14690#include <stdlib.h>
14691#include <iconv.h>
14692int
14693main ()
14694{
14695iconv_t cd = iconv_open("","");
14696       iconv(cd,NULL,NULL,NULL,NULL);
14697       iconv_close(cd);
14698  ;
14699  return 0;
14700}
14701_ACEOF
14702if ac_fn_c_try_link "$LINENO"; then :
14703  am_cv_func_iconv=yes
14704fi
14705rm -f core conftest.err conftest.$ac_objext \
14706    conftest$ac_exeext conftest.$ac_ext
14707    if test "$am_cv_func_iconv" != yes; then
14708      am_save_LIBS="$LIBS"
14709      LIBS="$LIBS $LIBICONV"
14710      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14711/* end confdefs.h.  */
14712#include <stdlib.h>
14713#include <iconv.h>
14714int
14715main ()
14716{
14717iconv_t cd = iconv_open("","");
14718         iconv(cd,NULL,NULL,NULL,NULL);
14719         iconv_close(cd);
14720  ;
14721  return 0;
14722}
14723_ACEOF
14724if ac_fn_c_try_link "$LINENO"; then :
14725  am_cv_lib_iconv=yes
14726        am_cv_func_iconv=yes
14727fi
14728rm -f core conftest.err conftest.$ac_objext \
14729    conftest$ac_exeext conftest.$ac_ext
14730      LIBS="$am_save_LIBS"
14731    fi
14732
14733fi
14734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14735$as_echo "$am_cv_func_iconv" >&6; }
14736  if test "$am_cv_func_iconv" = yes; then
14737    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14738$as_echo_n "checking for working iconv... " >&6; }
14739if ${am_cv_func_iconv_works+:} false; then :
14740  $as_echo_n "(cached) " >&6
14741else
14742
14743            am_save_LIBS="$LIBS"
14744      if test $am_cv_lib_iconv = yes; then
14745        LIBS="$LIBS $LIBICONV"
14746      fi
14747      if test "$cross_compiling" = yes; then :
14748  case "$host_os" in
14749           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14750           *)            am_cv_func_iconv_works="guessing yes" ;;
14751         esac
14752else
14753  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754/* end confdefs.h.  */
14755
14756#include <iconv.h>
14757#include <string.h>
14758int main ()
14759{
14760  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14761     returns.  */
14762  {
14763    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14764    if (cd_utf8_to_88591 != (iconv_t)(-1))
14765      {
14766        static const char input[] = "\342\202\254"; /* EURO SIGN */
14767        char buf[10];
14768        const char *inptr = input;
14769        size_t inbytesleft = strlen (input);
14770        char *outptr = buf;
14771        size_t outbytesleft = sizeof (buf);
14772        size_t res = iconv (cd_utf8_to_88591,
14773                            (char **) &inptr, &inbytesleft,
14774                            &outptr, &outbytesleft);
14775        if (res == 0)
14776          return 1;
14777      }
14778  }
14779#if 0 /* This bug could be worked around by the caller.  */
14780  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
14781  {
14782    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14783    if (cd_88591_to_utf8 != (iconv_t)(-1))
14784      {
14785        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14786        char buf[50];
14787        const char *inptr = input;
14788        size_t inbytesleft = strlen (input);
14789        char *outptr = buf;
14790        size_t outbytesleft = sizeof (buf);
14791        size_t res = iconv (cd_88591_to_utf8,
14792                            (char **) &inptr, &inbytesleft,
14793                            &outptr, &outbytesleft);
14794        if ((int)res > 0)
14795          return 1;
14796      }
14797  }
14798#endif
14799  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14800     provided.  */
14801  if (/* Try standardized names.  */
14802      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14803      /* Try IRIX, OSF/1 names.  */
14804      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14805      /* Try AIX names.  */
14806      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14807      /* Try HP-UX names.  */
14808      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14809    return 1;
14810  return 0;
14811}
14812_ACEOF
14813if ac_fn_c_try_run "$LINENO"; then :
14814  am_cv_func_iconv_works=yes
14815else
14816  am_cv_func_iconv_works=no
14817fi
14818rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14819  conftest.$ac_objext conftest.beam conftest.$ac_ext
14820fi
14821
14822      LIBS="$am_save_LIBS"
14823
14824fi
14825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14826$as_echo "$am_cv_func_iconv_works" >&6; }
14827    case "$am_cv_func_iconv_works" in
14828      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14829      *)   am_func_iconv=yes ;;
14830    esac
14831  else
14832    am_func_iconv=no am_cv_lib_iconv=no
14833  fi
14834  if test "$am_func_iconv" = yes; then
14835
14836$as_echo "#define HAVE_ICONV 1" >>confdefs.h
14837
14838  fi
14839  if test "$am_cv_lib_iconv" = yes; then
14840    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14841$as_echo_n "checking how to link with libiconv... " >&6; }
14842    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14843$as_echo "$LIBICONV" >&6; }
14844  else
14845            CPPFLAGS="$am_save_CPPFLAGS"
14846    LIBICONV=
14847    LTLIBICONV=
14848  fi
14849
14850
14851
14852
14853
14854
14855
14856
14857    use_additional=yes
14858
14859  acl_save_prefix="$prefix"
14860  prefix="$acl_final_prefix"
14861  acl_save_exec_prefix="$exec_prefix"
14862  exec_prefix="$acl_final_exec_prefix"
14863
14864    eval additional_includedir=\"$includedir\"
14865    eval additional_libdir=\"$libdir\"
14866
14867  exec_prefix="$acl_save_exec_prefix"
14868  prefix="$acl_save_prefix"
14869
14870
14871# Check whether --with-libintl-prefix was given.
14872if test "${with_libintl_prefix+set}" = set; then :
14873  withval=$with_libintl_prefix;
14874    if test "X$withval" = "Xno"; then
14875      use_additional=no
14876    else
14877      if test "X$withval" = "X"; then
14878
14879  acl_save_prefix="$prefix"
14880  prefix="$acl_final_prefix"
14881  acl_save_exec_prefix="$exec_prefix"
14882  exec_prefix="$acl_final_exec_prefix"
14883
14884          eval additional_includedir=\"$includedir\"
14885          eval additional_libdir=\"$libdir\"
14886
14887  exec_prefix="$acl_save_exec_prefix"
14888  prefix="$acl_save_prefix"
14889
14890      else
14891        additional_includedir="$withval/include"
14892        additional_libdir="$withval/$acl_libdirstem"
14893      fi
14894    fi
14895
14896fi
14897
14898      LIBINTL=
14899  LTLIBINTL=
14900  INCINTL=
14901  LIBINTL_PREFIX=
14902  rpathdirs=
14903  ltrpathdirs=
14904  names_already_handled=
14905  names_next_round='intl '
14906  while test -n "$names_next_round"; do
14907    names_this_round="$names_next_round"
14908    names_next_round=
14909    for name in $names_this_round; do
14910      already_handled=
14911      for n in $names_already_handled; do
14912        if test "$n" = "$name"; then
14913          already_handled=yes
14914          break
14915        fi
14916      done
14917      if test -z "$already_handled"; then
14918        names_already_handled="$names_already_handled $name"
14919                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14920        eval value=\"\$HAVE_LIB$uppername\"
14921        if test -n "$value"; then
14922          if test "$value" = yes; then
14923            eval value=\"\$LIB$uppername\"
14924            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14925            eval value=\"\$LTLIB$uppername\"
14926            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14927          else
14928                                    :
14929          fi
14930        else
14931                              found_dir=
14932          found_la=
14933          found_so=
14934          found_a=
14935          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
14936          if test -n "$acl_shlibext"; then
14937            shrext=".$acl_shlibext"             # typically: shrext=.so
14938          else
14939            shrext=
14940          fi
14941          if test $use_additional = yes; then
14942            dir="$additional_libdir"
14943                                    if test -n "$acl_shlibext"; then
14944              if test -f "$dir/$libname$shrext"; then
14945                found_dir="$dir"
14946                found_so="$dir/$libname$shrext"
14947              else
14948                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14949                  ver=`(cd "$dir" && \
14950                        for f in "$libname$shrext".*; do echo "$f"; done \
14951                        | sed -e "s,^$libname$shrext\\\\.,," \
14952                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14953                        | sed 1q ) 2>/dev/null`
14954                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14955                    found_dir="$dir"
14956                    found_so="$dir/$libname$shrext.$ver"
14957                  fi
14958                else
14959                  eval library_names=\"$acl_library_names_spec\"
14960                  for f in $library_names; do
14961                    if test -f "$dir/$f"; then
14962                      found_dir="$dir"
14963                      found_so="$dir/$f"
14964                      break
14965                    fi
14966                  done
14967                fi
14968              fi
14969            fi
14970                        if test "X$found_dir" = "X"; then
14971              if test -f "$dir/$libname.$acl_libext"; then
14972                found_dir="$dir"
14973                found_a="$dir/$libname.$acl_libext"
14974              fi
14975            fi
14976            if test "X$found_dir" != "X"; then
14977              if test -f "$dir/$libname.la"; then
14978                found_la="$dir/$libname.la"
14979              fi
14980            fi
14981          fi
14982          if test "X$found_dir" = "X"; then
14983            for x in $LDFLAGS $LTLIBINTL; do
14984
14985  acl_save_prefix="$prefix"
14986  prefix="$acl_final_prefix"
14987  acl_save_exec_prefix="$exec_prefix"
14988  exec_prefix="$acl_final_exec_prefix"
14989  eval x=\"$x\"
14990  exec_prefix="$acl_save_exec_prefix"
14991  prefix="$acl_save_prefix"
14992
14993              case "$x" in
14994                -L*)
14995                  dir=`echo "X$x" | sed -e 's/^X-L//'`
14996                                    if test -n "$acl_shlibext"; then
14997                    if test -f "$dir/$libname$shrext"; then
14998                      found_dir="$dir"
14999                      found_so="$dir/$libname$shrext"
15000                    else
15001                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15002                        ver=`(cd "$dir" && \
15003                              for f in "$libname$shrext".*; do echo "$f"; done \
15004                              | sed -e "s,^$libname$shrext\\\\.,," \
15005                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15006                              | sed 1q ) 2>/dev/null`
15007                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15008                          found_dir="$dir"
15009                          found_so="$dir/$libname$shrext.$ver"
15010                        fi
15011                      else
15012                        eval library_names=\"$acl_library_names_spec\"
15013                        for f in $library_names; do
15014                          if test -f "$dir/$f"; then
15015                            found_dir="$dir"
15016                            found_so="$dir/$f"
15017                            break
15018                          fi
15019                        done
15020                      fi
15021                    fi
15022                  fi
15023                                    if test "X$found_dir" = "X"; then
15024                    if test -f "$dir/$libname.$acl_libext"; then
15025                      found_dir="$dir"
15026                      found_a="$dir/$libname.$acl_libext"
15027                    fi
15028                  fi
15029                  if test "X$found_dir" != "X"; then
15030                    if test -f "$dir/$libname.la"; then
15031                      found_la="$dir/$libname.la"
15032                    fi
15033                  fi
15034                  ;;
15035              esac
15036              if test "X$found_dir" != "X"; then
15037                break
15038              fi
15039            done
15040          fi
15041          if test "X$found_dir" != "X"; then
15042                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15043            if test "X$found_so" != "X"; then
15044                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15045                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15046              else
15047                                                                                haveit=
15048                for x in $ltrpathdirs; do
15049                  if test "X$x" = "X$found_dir"; then
15050                    haveit=yes
15051                    break
15052                  fi
15053                done
15054                if test -z "$haveit"; then
15055                  ltrpathdirs="$ltrpathdirs $found_dir"
15056                fi
15057                                if test "$acl_hardcode_direct" = yes; then
15058                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15059                else
15060                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15061                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15062                                                            haveit=
15063                    for x in $rpathdirs; do
15064                      if test "X$x" = "X$found_dir"; then
15065                        haveit=yes
15066                        break
15067                      fi
15068                    done
15069                    if test -z "$haveit"; then
15070                      rpathdirs="$rpathdirs $found_dir"
15071                    fi
15072                  else
15073                                                                                haveit=
15074                    for x in $LDFLAGS $LIBINTL; do
15075
15076  acl_save_prefix="$prefix"
15077  prefix="$acl_final_prefix"
15078  acl_save_exec_prefix="$exec_prefix"
15079  exec_prefix="$acl_final_exec_prefix"
15080  eval x=\"$x\"
15081  exec_prefix="$acl_save_exec_prefix"
15082  prefix="$acl_save_prefix"
15083
15084                      if test "X$x" = "X-L$found_dir"; then
15085                        haveit=yes
15086                        break
15087                      fi
15088                    done
15089                    if test -z "$haveit"; then
15090                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15091                    fi
15092                    if test "$acl_hardcode_minus_L" != no; then
15093                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15094                    else
15095                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15096                    fi
15097                  fi
15098                fi
15099              fi
15100            else
15101              if test "X$found_a" != "X"; then
15102                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
15103              else
15104                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15105              fi
15106            fi
15107                        additional_includedir=
15108            case "$found_dir" in
15109              */$acl_libdirstem | */$acl_libdirstem/)
15110                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15111                LIBINTL_PREFIX="$basedir"
15112                additional_includedir="$basedir/include"
15113                ;;
15114            esac
15115            if test "X$additional_includedir" != "X"; then
15116                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
15117                haveit=
15118                if test "X$additional_includedir" = "X/usr/local/include"; then
15119                  if test -n "$GCC"; then
15120                    case $host_os in
15121                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15122                    esac
15123                  fi
15124                fi
15125                if test -z "$haveit"; then
15126                  for x in $CPPFLAGS $INCINTL; do
15127
15128  acl_save_prefix="$prefix"
15129  prefix="$acl_final_prefix"
15130  acl_save_exec_prefix="$exec_prefix"
15131  exec_prefix="$acl_final_exec_prefix"
15132  eval x=\"$x\"
15133  exec_prefix="$acl_save_exec_prefix"
15134  prefix="$acl_save_prefix"
15135
15136                    if test "X$x" = "X-I$additional_includedir"; then
15137                      haveit=yes
15138                      break
15139                    fi
15140                  done
15141                  if test -z "$haveit"; then
15142                    if test -d "$additional_includedir"; then
15143                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15144                    fi
15145                  fi
15146                fi
15147              fi
15148            fi
15149                        if test -n "$found_la"; then
15150                                                        save_libdir="$libdir"
15151              case "$found_la" in
15152                */* | *\\*) . "$found_la" ;;
15153                *) . "./$found_la" ;;
15154              esac
15155              libdir="$save_libdir"
15156                            for dep in $dependency_libs; do
15157                case "$dep" in
15158                  -L*)
15159                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15160                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15161                      haveit=
15162                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15163                        if test -n "$GCC"; then
15164                          case $host_os in
15165                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15166                          esac
15167                        fi
15168                      fi
15169                      if test -z "$haveit"; then
15170                        haveit=
15171                        for x in $LDFLAGS $LIBINTL; do
15172
15173  acl_save_prefix="$prefix"
15174  prefix="$acl_final_prefix"
15175  acl_save_exec_prefix="$exec_prefix"
15176  exec_prefix="$acl_final_exec_prefix"
15177  eval x=\"$x\"
15178  exec_prefix="$acl_save_exec_prefix"
15179  prefix="$acl_save_prefix"
15180
15181                          if test "X$x" = "X-L$additional_libdir"; then
15182                            haveit=yes
15183                            break
15184                          fi
15185                        done
15186                        if test -z "$haveit"; then
15187                          if test -d "$additional_libdir"; then
15188                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15189                          fi
15190                        fi
15191                        haveit=
15192                        for x in $LDFLAGS $LTLIBINTL; do
15193
15194  acl_save_prefix="$prefix"
15195  prefix="$acl_final_prefix"
15196  acl_save_exec_prefix="$exec_prefix"
15197  exec_prefix="$acl_final_exec_prefix"
15198  eval x=\"$x\"
15199  exec_prefix="$acl_save_exec_prefix"
15200  prefix="$acl_save_prefix"
15201
15202                          if test "X$x" = "X-L$additional_libdir"; then
15203                            haveit=yes
15204                            break
15205                          fi
15206                        done
15207                        if test -z "$haveit"; then
15208                          if test -d "$additional_libdir"; then
15209                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15210                          fi
15211                        fi
15212                      fi
15213                    fi
15214                    ;;
15215                  -R*)
15216                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
15217                    if test "$enable_rpath" != no; then
15218                                                                  haveit=
15219                      for x in $rpathdirs; do
15220                        if test "X$x" = "X$dir"; then
15221                          haveit=yes
15222                          break
15223                        fi
15224                      done
15225                      if test -z "$haveit"; then
15226                        rpathdirs="$rpathdirs $dir"
15227                      fi
15228                                                                  haveit=
15229                      for x in $ltrpathdirs; do
15230                        if test "X$x" = "X$dir"; then
15231                          haveit=yes
15232                          break
15233                        fi
15234                      done
15235                      if test -z "$haveit"; then
15236                        ltrpathdirs="$ltrpathdirs $dir"
15237                      fi
15238                    fi
15239                    ;;
15240                  -l*)
15241                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15242                    ;;
15243                  *.la)
15244                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15245                    ;;
15246                  *)
15247                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
15248                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15249                    ;;
15250                esac
15251              done
15252            fi
15253          else
15254                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15255            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15256          fi
15257        fi
15258      fi
15259    done
15260  done
15261  if test "X$rpathdirs" != "X"; then
15262    if test -n "$acl_hardcode_libdir_separator"; then
15263                        alldirs=
15264      for found_dir in $rpathdirs; do
15265        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15266      done
15267            acl_save_libdir="$libdir"
15268      libdir="$alldirs"
15269      eval flag=\"$acl_hardcode_libdir_flag_spec\"
15270      libdir="$acl_save_libdir"
15271      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15272    else
15273            for found_dir in $rpathdirs; do
15274        acl_save_libdir="$libdir"
15275        libdir="$found_dir"
15276        eval flag=\"$acl_hardcode_libdir_flag_spec\"
15277        libdir="$acl_save_libdir"
15278        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15279      done
15280    fi
15281  fi
15282  if test "X$ltrpathdirs" != "X"; then
15283            for found_dir in $ltrpathdirs; do
15284      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15285    done
15286  fi
15287
15288          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15289$as_echo_n "checking for GNU gettext in libintl... " >&6; }
15290if eval \${$gt_func_gnugettext_libintl+:} false; then :
15291  $as_echo_n "(cached) " >&6
15292else
15293  gt_save_CPPFLAGS="$CPPFLAGS"
15294            CPPFLAGS="$CPPFLAGS $INCINTL"
15295            gt_save_LIBS="$LIBS"
15296            LIBS="$LIBS $LIBINTL"
15297                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15298/* end confdefs.h.  */
15299#include <libintl.h>
15300$gt_revision_test_code
15301extern int _nl_msg_cat_cntr;
15302extern
15303#ifdef __cplusplus
15304"C"
15305#endif
15306const char *_nl_expand_alias (const char *);
15307int
15308main ()
15309{
15310bindtextdomain ("", "");
15311return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15312  ;
15313  return 0;
15314}
15315_ACEOF
15316if ac_fn_c_try_link "$LINENO"; then :
15317  eval "$gt_func_gnugettext_libintl=yes"
15318else
15319  eval "$gt_func_gnugettext_libintl=no"
15320fi
15321rm -f core conftest.err conftest.$ac_objext \
15322    conftest$ac_exeext conftest.$ac_ext
15323                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15324              LIBS="$LIBS $LIBICONV"
15325              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15326/* end confdefs.h.  */
15327#include <libintl.h>
15328$gt_revision_test_code
15329extern int _nl_msg_cat_cntr;
15330extern
15331#ifdef __cplusplus
15332"C"
15333#endif
15334const char *_nl_expand_alias (const char *);
15335int
15336main ()
15337{
15338bindtextdomain ("", "");
15339return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15340  ;
15341  return 0;
15342}
15343_ACEOF
15344if ac_fn_c_try_link "$LINENO"; then :
15345  LIBINTL="$LIBINTL $LIBICONV"
15346                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
15347                eval "$gt_func_gnugettext_libintl=yes"
15348
15349fi
15350rm -f core conftest.err conftest.$ac_objext \
15351    conftest$ac_exeext conftest.$ac_ext
15352            fi
15353            CPPFLAGS="$gt_save_CPPFLAGS"
15354            LIBS="$gt_save_LIBS"
15355fi
15356eval ac_res=\$$gt_func_gnugettext_libintl
15357	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15358$as_echo "$ac_res" >&6; }
15359        fi
15360
15361                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15362           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15363                && test "$PACKAGE" != gettext-runtime \
15364                && test "$PACKAGE" != gettext-tools; }; then
15365          gt_use_preinstalled_gnugettext=yes
15366        else
15367                    LIBINTL=
15368          LTLIBINTL=
15369          INCINTL=
15370        fi
15371
15372
15373
15374    if test -n "$INTL_MACOSX_LIBS"; then
15375      if test "$gt_use_preinstalled_gnugettext" = "yes" \
15376         || test "$nls_cv_use_gnu_gettext" = "yes"; then
15377                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
15378        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
15379      fi
15380    fi
15381
15382    if test "$gt_use_preinstalled_gnugettext" = "yes" \
15383       || test "$nls_cv_use_gnu_gettext" = "yes"; then
15384
15385$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15386
15387    else
15388      USE_NLS=no
15389    fi
15390  fi
15391
15392  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15393$as_echo_n "checking whether to use NLS... " >&6; }
15394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15395$as_echo "$USE_NLS" >&6; }
15396  if test "$USE_NLS" = "yes"; then
15397    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15398$as_echo_n "checking where the gettext function comes from... " >&6; }
15399    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15400      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15401        gt_source="external libintl"
15402      else
15403        gt_source="libc"
15404      fi
15405    else
15406      gt_source="included intl directory"
15407    fi
15408    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15409$as_echo "$gt_source" >&6; }
15410  fi
15411
15412  if test "$USE_NLS" = "yes"; then
15413
15414    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15415      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15416        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15417$as_echo_n "checking how to link with libintl... " >&6; }
15418        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15419$as_echo "$LIBINTL" >&6; }
15420
15421  for element in $INCINTL; do
15422    haveit=
15423    for x in $CPPFLAGS; do
15424
15425  acl_save_prefix="$prefix"
15426  prefix="$acl_final_prefix"
15427  acl_save_exec_prefix="$exec_prefix"
15428  exec_prefix="$acl_final_exec_prefix"
15429  eval x=\"$x\"
15430  exec_prefix="$acl_save_exec_prefix"
15431  prefix="$acl_save_prefix"
15432
15433      if test "X$x" = "X$element"; then
15434        haveit=yes
15435        break
15436      fi
15437    done
15438    if test -z "$haveit"; then
15439      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15440    fi
15441  done
15442
15443      fi
15444
15445
15446$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15447
15448
15449$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15450
15451    fi
15452
15453        POSUB=po
15454  fi
15455
15456
15457
15458    INTLLIBS="$LIBINTL"
15459
15460
15461
15462
15463
15464
15465
15466  if test "$USE_NLS" = "yes"; then
15467    GETTEXT_PACKAGE=gst-plugins-ugly-$GST_API_VERSION
15468  else
15469    GETTEXT_PACKAGE=NULL
15470  fi
15471
15472
15473cat >>confdefs.h <<_ACEOF
15474#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15475_ACEOF
15476
15477
15478    if test -e "${srcdir}/po/Makevars"; then
15479    if ! grep -e "gst-plugins-ugly-$GST_API_VERSION" "${srcdir}/po/Makevars"; then
15480      as_fn_error $? "DOMAIN in po/Makevars does not match GETTEXT_PACKAGE gst-plugins-ugly-$GST_API_VERSION" "$LINENO" 5
15481    fi
15482  fi
15483
15484
15485  EXP_VAR=LOCALEDIR
15486  FROM_VAR=$datadir/locale
15487
15488    prefix_save=$prefix
15489  exec_prefix_save=$exec_prefix
15490
15491    if test "x$prefix" = "xNONE"; then
15492    prefix="$ac_default_prefix"
15493  fi
15494    if test "x$exec_prefix" = "xNONE"; then
15495    exec_prefix=$prefix
15496  fi
15497
15498  full_var="$FROM_VAR"
15499    while true; do
15500    new_full_var="`eval echo $full_var`"
15501    if test "x$new_full_var" = "x$full_var"; then break; fi
15502    full_var=$new_full_var
15503  done
15504
15505    full_var=$new_full_var
15506  LOCALEDIR="$full_var"
15507
15508
15509    prefix=$prefix_save
15510  exec_prefix=$exec_prefix_save
15511
15512
15513cat >>confdefs.h <<_ACEOF
15514#define LOCALEDIR "$LOCALEDIR"
15515_ACEOF
15516
15517
15518
15519
15520
15521  # Check whether --enable-fatal-warnings was given.
15522if test "${enable_fatal_warnings+set}" = set; then :
15523  enableval=$enable_fatal_warnings;
15524      case "${enableval}" in
15525        yes) FATAL_WARNINGS=yes ;;
15526        no)  FATAL_WARNINGS=no ;;
15527        *)   as_fn_error $? "bad value ${enableval} for --disable-fatal-warnings" "$LINENO" 5 ;;
15528      esac
15529
15530else
15531
15532      if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
15533        FATAL_WARNINGS=yes
15534      else
15535        FATAL_WARNINGS=no
15536      fi
15537
15538fi
15539
15540
15541
15542  # Check whether --enable-extra-check was given.
15543if test "${enable_extra_check+set}" = set; then :
15544  enableval=$enable_extra_check;
15545      case "${enableval}" in
15546        yes) EXTRA_CHECKS=yes ;;
15547        no)  EXTRA_CHECKS=no ;;
15548        *)   as_fn_error $? "bad value ${enableval} for --enable-extra-checks" "$LINENO" 5 ;;
15549      esac
15550
15551else
15552
15553      if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
15554        EXTRA_CHECKS=yes
15555      else
15556        EXTRA_CHECKS=no
15557      fi
15558
15559fi
15560
15561
15562    if test "x$EXTRA_CHECKS" = "xyes"; then
15563
15564$as_echo "#define GST_ENABLE_EXTRA_CHECKS 1" >>confdefs.h
15565
15566    fi
15567
15568
15569
15570    # Check whether --enable-debug was given.
15571if test "${enable_debug+set}" = set; then :
15572  enableval=$enable_debug;
15573      case "${enableval}" in
15574        yes) USE_DEBUG=yes ;;
15575        no)  USE_DEBUG=no ;;
15576        *)   as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
15577      esac
15578
15579else
15580  USE_DEBUG=yes
15581fi
15582
15583
15584  # Check whether --enable-profiling was given.
15585if test "${enable_profiling+set}" = set; then :
15586  enableval=$enable_profiling;
15587      case "${enableval}" in
15588        yes) USE_PROFILING=yes ;;
15589        no)  USE_PROFILING=no ;;
15590        *)   as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;;
15591      esac
15592
15593else
15594  USE_PROFILING=no
15595fi
15596
15597
15598
15599if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15600	if test -n "$ac_tool_prefix"; then
15601  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15602set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15604$as_echo_n "checking for $ac_word... " >&6; }
15605if ${ac_cv_path_PKG_CONFIG+:} false; then :
15606  $as_echo_n "(cached) " >&6
15607else
15608  case $PKG_CONFIG in
15609  [\\/]* | ?:[\\/]*)
15610  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15611  ;;
15612  *)
15613  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15614for as_dir in $PATH
15615do
15616  IFS=$as_save_IFS
15617  test -z "$as_dir" && as_dir=.
15618    for ac_exec_ext in '' $ac_executable_extensions; do
15619  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15620    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15621    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15622    break 2
15623  fi
15624done
15625  done
15626IFS=$as_save_IFS
15627
15628  ;;
15629esac
15630fi
15631PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15632if test -n "$PKG_CONFIG"; then
15633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15634$as_echo "$PKG_CONFIG" >&6; }
15635else
15636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15637$as_echo "no" >&6; }
15638fi
15639
15640
15641fi
15642if test -z "$ac_cv_path_PKG_CONFIG"; then
15643  ac_pt_PKG_CONFIG=$PKG_CONFIG
15644  # Extract the first word of "pkg-config", so it can be a program name with args.
15645set dummy pkg-config; ac_word=$2
15646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15647$as_echo_n "checking for $ac_word... " >&6; }
15648if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15649  $as_echo_n "(cached) " >&6
15650else
15651  case $ac_pt_PKG_CONFIG in
15652  [\\/]* | ?:[\\/]*)
15653  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15654  ;;
15655  *)
15656  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15657for as_dir in $PATH
15658do
15659  IFS=$as_save_IFS
15660  test -z "$as_dir" && as_dir=.
15661    for ac_exec_ext in '' $ac_executable_extensions; do
15662  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15663    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15664    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15665    break 2
15666  fi
15667done
15668  done
15669IFS=$as_save_IFS
15670
15671  ;;
15672esac
15673fi
15674ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15675if test -n "$ac_pt_PKG_CONFIG"; then
15676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15677$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15678else
15679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15680$as_echo "no" >&6; }
15681fi
15682
15683  if test "x$ac_pt_PKG_CONFIG" = x; then
15684    PKG_CONFIG=""
15685  else
15686    case $cross_compiling:$ac_tool_warned in
15687yes:)
15688{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15689$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15690ac_tool_warned=yes ;;
15691esac
15692    PKG_CONFIG=$ac_pt_PKG_CONFIG
15693  fi
15694else
15695  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15696fi
15697
15698fi
15699if test -n "$PKG_CONFIG"; then
15700	_pkg_min_version=0.9.0
15701	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15702$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15703	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15704		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15705$as_echo "yes" >&6; }
15706	else
15707		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15708$as_echo "no" >&6; }
15709		PKG_CONFIG=""
15710	fi
15711
15712fi
15713
15714    # Check whether --enable-valgrind was given.
15715if test "${enable_valgrind+set}" = set; then :
15716  enableval=$enable_valgrind;
15717      case "${enableval}" in
15718        yes) USE_VALGRIND="$USE_DEBUG" ;;
15719        no)  USE_VALGRIND=no ;;
15720        *)   as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
15721      esac
15722
15723else
15724  USE_VALGRIND="$USE_DEBUG"
15725fi
15726   VALGRIND_REQ="3.0"
15727  if test "x$USE_VALGRIND" = xyes; then
15728
15729pkg_failed=no
15730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
15731$as_echo_n "checking for VALGRIND... " >&6; }
15732
15733if test -n "$PKG_CONFIG"; then
15734    if test -n "$VALGRIND_CFLAGS"; then
15735        pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
15736    else
15737        if test -n "$PKG_CONFIG" && \
15738    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
15739  ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
15740  ac_status=$?
15741  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15742  test $ac_status = 0; }; then
15743  pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
15744else
15745  pkg_failed=yes
15746fi
15747    fi
15748else
15749	pkg_failed=untried
15750fi
15751if test -n "$PKG_CONFIG"; then
15752    if test -n "$VALGRIND_LIBS"; then
15753        pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
15754    else
15755        if test -n "$PKG_CONFIG" && \
15756    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
15757  ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
15758  ac_status=$?
15759  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15760  test $ac_status = 0; }; then
15761  pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
15762else
15763  pkg_failed=yes
15764fi
15765    fi
15766else
15767	pkg_failed=untried
15768fi
15769
15770
15771
15772if test $pkg_failed = yes; then
15773
15774if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15775        _pkg_short_errors_supported=yes
15776else
15777        _pkg_short_errors_supported=no
15778fi
15779        if test $_pkg_short_errors_supported = yes; then
15780	        VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
15781        else
15782	        VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
15783        fi
15784	# Put the nasty error message in config.log where it belongs
15785	echo "$VALGRIND_PKG_ERRORS" >&5
15786
15787	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15788$as_echo "no" >&6; }
15789                USE_VALGRIND="no"
15790elif test $pkg_failed = untried; then
15791	USE_VALGRIND="no"
15792else
15793	VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
15794	VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
15795        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15796$as_echo "yes" >&6; }
15797	USE_VALGRIND="yes"
15798fi
15799  fi
15800  if test "x$USE_VALGRIND" = xyes; then
15801
15802$as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
15803
15804    { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
15805$as_echo "$as_me: Using extra code paths for valgrind" >&6;}
15806  fi
15807
15808
15809  # Check whether --enable-gcov was given.
15810if test "${enable_gcov+set}" = set; then :
15811  enableval=$enable_gcov; enable_gcov=$enableval
15812else
15813  enable_gcov=no
15814fi
15815
15816  if test x$enable_gcov = xyes ; then
15817    if test "x$GCC" != "xyes"
15818    then
15819      as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
15820    fi
15821
15822
15823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
15824$as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
15825
15826  save_CFLAGS="$CFLAGS"
15827  CFLAGS="$CFLAGS "-fprofile-arcs""
15828
15829  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15830/* end confdefs.h.  */
15831
15832int
15833main ()
15834{
15835
15836  ;
15837  return 0;
15838}
15839_ACEOF
15840if ac_fn_c_try_compile "$LINENO"; then :
15841  flag_ok=yes
15842else
15843  flag_ok=no
15844fi
15845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15846  CFLAGS="$save_CFLAGS"
15847
15848  if test "X$flag_ok" = Xyes ; then
15849    GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
15850    true
15851  else
15852    true
15853    true
15854  fi
15855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15856$as_echo "$flag_ok" >&6; }
15857
15858
15859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
15860$as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
15861
15862  save_CFLAGS="$CFLAGS"
15863  CFLAGS="$CFLAGS "-ftest-coverage""
15864
15865  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15866/* end confdefs.h.  */
15867
15868int
15869main ()
15870{
15871
15872  ;
15873  return 0;
15874}
15875_ACEOF
15876if ac_fn_c_try_compile "$LINENO"; then :
15877  flag_ok=yes
15878else
15879  flag_ok=no
15880fi
15881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15882  CFLAGS="$save_CFLAGS"
15883
15884  if test "X$flag_ok" = Xyes ; then
15885    GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
15886    true
15887  else
15888    true
15889    true
15890  fi
15891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15892$as_echo "$flag_ok" >&6; }
15893
15894        GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
15895                GCOV_LIBS=-lgcov
15896
15897
15898    GCOV=`echo $CC | sed s/gcc/gcov/g`
15899
15900
15901    GST_GCOV_ENABLED=yes
15902
15903cat >>confdefs.h <<_ACEOF
15904#define GST_GCOV_ENABLED 1
15905_ACEOF
15906
15907        if test "x$GST_GCOV_ENABLED" = "xyes"
15908    then
15909      CFLAGS="$CFLAGS -O0"
15910
15911      CXXFLAGS="$CXXFLAGS -O0"
15912
15913      FFLAGS="$FFLAGS -O0"
15914
15915      CCASFLAGS="$CCASFLAGS -O0"
15916
15917      { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
15918$as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
15919    fi
15920  fi
15921   if test x$enable_gcov = xyes; then
15922  GST_GCOV_ENABLED_TRUE=
15923  GST_GCOV_ENABLED_FALSE='#'
15924else
15925  GST_GCOV_ENABLED_TRUE='#'
15926  GST_GCOV_ENABLED_FALSE=
15927fi
15928
15929
15930
15931
15932  # Check whether --enable-examples was given.
15933if test "${enable_examples+set}" = set; then :
15934  enableval=$enable_examples;
15935        case "${enableval}" in
15936          yes) BUILD_EXAMPLES=yes ;;
15937          no)  BUILD_EXAMPLES=no ;;
15938          *)   as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;;
15939        esac
15940
15941else
15942  BUILD_EXAMPLES=yes
15943fi
15944    if test "x$BUILD_EXAMPLES" = "xyes"; then
15945  BUILD_EXAMPLES_TRUE=
15946  BUILD_EXAMPLES_FALSE='#'
15947else
15948  BUILD_EXAMPLES_TRUE='#'
15949  BUILD_EXAMPLES_FALSE=
15950fi
15951
15952
15953
15954
15955
15956# Check whether --with-pkg-config-path was given.
15957if test "${with_pkg_config_path+set}" = set; then :
15958  withval=$with_pkg_config_path;
15959       export PKG_CONFIG_PATH=${withval}
15960       { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
15961$as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
15962
15963fi
15964
15965
15966
15967
15968# Check whether --with-package-name was given.
15969if test "${with_package_name+set}" = set; then :
15970  withval=$with_package_name;
15971      case "${withval}" in
15972        yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15973        no)  as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15974        *)   GST_PACKAGE_NAME="${withval}" ;;
15975      esac
15976
15977else
15978
15979      P=
15980      if test "x$P" = "x"
15981      then
15982        P=$PACKAGE_NAME
15983      fi
15984
15985      if test "x$PACKAGE_VERSION_NANO" = "x0"
15986      then
15987        GST_PACKAGE_NAME="$P source release"
15988      else
15989        if test "x$PACKAGE_VERSION_NANO" = "x1"
15990        then
15991          GST_PACKAGE_NAME="$P git"
15992        else
15993          GST_PACKAGE_NAME="$P prerelease"
15994        fi
15995      fi
15996
15997
15998fi
15999
16000  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
16001$as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
16002
16003cat >>confdefs.h <<_ACEOF
16004#define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
16005_ACEOF
16006
16007
16008
16009
16010
16011# Check whether --with-package-origin was given.
16012if test "${with_package_origin+set}" = set; then :
16013  withval=$with_package_origin;
16014      case "${withval}" in
16015        yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
16016        no)  as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
16017        *)   GST_PACKAGE_ORIGIN="${withval}" ;;
16018      esac
16019
16020else
16021  GST_PACKAGE_ORIGIN="Unknown package origin"
16022fi
16023
16024  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
16025$as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
16026
16027cat >>confdefs.h <<_ACEOF
16028#define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
16029_ACEOF
16030
16031
16032
16033
16034
16035
16036# Check whether --with-plugins was given.
16037if test "${with_plugins+set}" = set; then :
16038  withval=$with_plugins; WITH_PLUGINS=$withval
16039else
16040  WITH_PLUGINS=
16041fi
16042
16043
16044  GST_PLUGINS_ALL=""
16045  GST_PLUGINS_SELECTED=""
16046  GST_PLUGINS_NONPORTED=""
16047
16048
16049
16050
16051
16052
16053
16054  echo
16055{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of plug-ins with external deps ***" >&5
16056$as_echo "$as_me: *** checking feature: building of plug-ins with external deps ***" >&6;}
16057if test "x" != "x"
16058then
16059  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
16060$as_echo "$as_me: *** for plug-ins:  ***" >&6;}
16061fi
16062NOUSE=
16063if test "x$USE_EXTERNAL" = "xno"; then
16064  NOUSE="yes"
16065fi
16066# Check whether --enable-external was given.
16067if test "${enable_external+set}" = set; then :
16068  enableval=$enable_external;  case "${enableval}" in
16069      yes) USE_EXTERNAL=yes;;
16070      no) USE_EXTERNAL=no;;
16071      *) as_fn_error $? "bad value ${enableval} for --enable-external" "$LINENO" 5 ;;
16072    esac
16073else
16074   USE_EXTERNAL=yes
16075fi
16076
16077if test "x$NOUSE" = "xyes"; then
16078  USE_EXTERNAL="no"
16079  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
16080$as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
16081fi
16082NOUSE=
16083
16084if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " EXTERNAL " > /dev/null; then
16085  USE_EXTERNAL="no"
16086  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  not ported" >&5
16087$as_echo "$as_me: WARNING: ***  not ported" >&2;}
16088fi
16089
16090
16091if test x$USE_EXTERNAL = xyes; then
16092
16093  gst_check_save_LIBS=$LIBS
16094  gst_check_save_LDFLAGS=$LDFLAGS
16095  gst_check_save_CFLAGS=$CFLAGS
16096  gst_check_save_CPPFLAGS=$CPPFLAGS
16097  gst_check_save_CXXFLAGS=$CXXFLAGS
16098
16099  HAVE_EXTERNAL=no
16100    HAVE_EXTERNAL=yes
16101
16102  LIBS=$gst_check_save_LIBS
16103  LDFLAGS=$gst_check_save_LDFLAGS
16104  CFLAGS=$gst_check_save_CFLAGS
16105  CPPFLAGS=$gst_check_save_CPPFLAGS
16106  CXXFLAGS=$gst_check_save_CXXFLAGS
16107
16108    if test x$HAVE_EXTERNAL = xno; then
16109    USE_EXTERNAL=no
16110  else
16111    :
16112  fi
16113fi
16114if test x$USE_EXTERNAL = xyes; then
16115
16116      { $as_echo "$as_me:${as_lineno-$LINENO}: building external plug-ins" >&5
16117$as_echo "$as_me: building external plug-ins" >&6;}
16118      BUILD_EXTERNAL="yes"
16119
16120  if test "x" != "x"; then
16121    GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
16122  fi
16123
16124$as_echo "#define HAVE_EXTERNAL /**/" >>confdefs.h
16125
16126else
16127  :
16128  if test "x" != "x"; then
16129    GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
16130  fi
16131
16132      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: all plug-ins with external dependencies will not be built" >&5
16133$as_echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;}
16134      BUILD_EXTERNAL="no"
16135
16136fi
16137 if test x$USE_EXTERNAL = xyes; then
16138  USE_EXTERNAL_TRUE=
16139  USE_EXTERNAL_FALSE='#'
16140else
16141  USE_EXTERNAL_TRUE='#'
16142  USE_EXTERNAL_FALSE=
16143fi
16144
16145
16146  # make BUILD_EXTERNAL available to Makefile.am
16147   if test "x$BUILD_EXTERNAL" = "xyes"; then
16148  BUILD_EXTERNAL_TRUE=
16149  BUILD_EXTERNAL_FALSE='#'
16150else
16151  BUILD_EXTERNAL_TRUE='#'
16152  BUILD_EXTERNAL_FALSE=
16153fi
16154
16155
16156
16157
16158  echo
16159{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of experimental plug-ins ***" >&5
16160$as_echo "$as_me: *** checking feature: building of experimental plug-ins ***" >&6;}
16161if test "x" != "x"
16162then
16163  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
16164$as_echo "$as_me: *** for plug-ins:  ***" >&6;}
16165fi
16166NOUSE=
16167if test "x$USE_EXPERIMENTAL" = "xno"; then
16168  NOUSE="yes"
16169fi
16170# Check whether --enable-experimental was given.
16171if test "${enable_experimental+set}" = set; then :
16172  enableval=$enable_experimental;  case "${enableval}" in
16173      yes) USE_EXPERIMENTAL=yes;;
16174      no) USE_EXPERIMENTAL=no;;
16175      *) as_fn_error $? "bad value ${enableval} for --enable-experimental" "$LINENO" 5 ;;
16176    esac
16177else
16178   USE_EXPERIMENTAL=no
16179fi
16180
16181if test "x$NOUSE" = "xyes"; then
16182  USE_EXPERIMENTAL="no"
16183  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
16184$as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
16185fi
16186NOUSE=
16187
16188if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " EXPERIMENTAL " > /dev/null; then
16189  USE_EXPERIMENTAL="no"
16190  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  not ported" >&5
16191$as_echo "$as_me: WARNING: ***  not ported" >&2;}
16192fi
16193
16194
16195if test x$USE_EXPERIMENTAL = xyes; then
16196
16197  gst_check_save_LIBS=$LIBS
16198  gst_check_save_LDFLAGS=$LDFLAGS
16199  gst_check_save_CFLAGS=$CFLAGS
16200  gst_check_save_CPPFLAGS=$CPPFLAGS
16201  gst_check_save_CXXFLAGS=$CXXFLAGS
16202
16203  HAVE_EXPERIMENTAL=no
16204    HAVE_EXPERIMENTAL=yes
16205
16206  LIBS=$gst_check_save_LIBS
16207  LDFLAGS=$gst_check_save_LDFLAGS
16208  CFLAGS=$gst_check_save_CFLAGS
16209  CPPFLAGS=$gst_check_save_CPPFLAGS
16210  CXXFLAGS=$gst_check_save_CXXFLAGS
16211
16212    if test x$HAVE_EXPERIMENTAL = xno; then
16213    USE_EXPERIMENTAL=no
16214  else
16215    :
16216  fi
16217fi
16218if test x$USE_EXPERIMENTAL = xyes; then
16219
16220      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building experimental plug-ins" >&5
16221$as_echo "$as_me: WARNING: building experimental plug-ins" >&2;}
16222      BUILD_EXPERIMENTAL="yes"
16223
16224  if test "x" != "x"; then
16225    GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
16226  fi
16227
16228$as_echo "#define HAVE_EXPERIMENTAL /**/" >>confdefs.h
16229
16230else
16231  :
16232  if test "x" != "x"; then
16233    GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
16234  fi
16235
16236      { $as_echo "$as_me:${as_lineno-$LINENO}: not building experimental plug-ins" >&5
16237$as_echo "$as_me: not building experimental plug-ins" >&6;}
16238      BUILD_EXPERIMENTAL="no"
16239
16240fi
16241 if test x$USE_EXPERIMENTAL = xyes; then
16242  USE_EXPERIMENTAL_TRUE=
16243  USE_EXPERIMENTAL_FALSE='#'
16244else
16245  USE_EXPERIMENTAL_TRUE='#'
16246  USE_EXPERIMENTAL_FALSE=
16247fi
16248
16249
16250  # make BUILD_EXPERIMENTAL available to Makefile.am
16251   if test "x$BUILD_EXPERIMENTAL" = "xyes"; then
16252  BUILD_EXPERIMENTAL_TRUE=
16253  BUILD_EXPERIMENTAL_FALSE='#'
16254else
16255  BUILD_EXPERIMENTAL_TRUE='#'
16256  BUILD_EXPERIMENTAL_FALSE=
16257fi
16258
16259
16260
16261
16262
16263
16264    case "x${target_cpu}" in
16265    xi?86 | xk? | xi?86_64)
16266      case $target_os in
16267         solaris*)
16268            ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
16269if test "x$ac_cv_have_decl___i386" = xyes; then :
16270  I386_ABI="yes"
16271else
16272  I386_ABI="no"
16273fi
16274
16275            ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
16276if test "x$ac_cv_have_decl___amd64" = xyes; then :
16277  AMD64_ABI="yes"
16278else
16279  AMD64_ABI="no"
16280fi
16281
16282
16283            if test "x$I386_ABI" = "xyes" ; then
16284               HAVE_CPU_I386=yes
16285
16286$as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
16287
16288            fi
16289            if test "x$AMD64_ABI" = "xyes" ; then
16290                HAVE_CPU_X86_64=yes
16291
16292$as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
16293
16294            fi
16295            ;;
16296         *)
16297            HAVE_CPU_I386=yes
16298
16299$as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
16300
16301
16302                                    case "x${target_cpu}" in
16303              xi386 | xi486) ;;
16304            *)
16305
16306$as_echo "#define HAVE_RDTSC 1" >>confdefs.h
16307 ;;
16308            esac
16309            ;;
16310      esac
16311      ;;
16312    xpowerpc)
16313      HAVE_CPU_PPC=yes
16314
16315$as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
16316 ;;
16317    xpowerpc64)
16318      HAVE_CPU_PPC64=yes
16319
16320$as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
16321 ;;
16322    xalpha*)
16323      HAVE_CPU_ALPHA=yes
16324
16325$as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
16326 ;;
16327    xarc*)
16328      HAVE_CPU_ARC=yes
16329
16330$as_echo "#define HAVE_CPU_ARC 1" >>confdefs.h
16331 ;;
16332    xarm*)
16333      HAVE_CPU_ARM=yes
16334
16335$as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
16336 ;;
16337    xaarch64*)
16338      HAVE_CPU_AARCH64=yes
16339
16340$as_echo "#define HAVE_CPU_AARCH64 1" >>confdefs.h
16341 ;;
16342    xsparc*)
16343      HAVE_CPU_SPARC=yes
16344
16345$as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
16346 ;;
16347    xmips*)
16348      HAVE_CPU_MIPS=yes
16349
16350$as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
16351 ;;
16352    xhppa*)
16353      HAVE_CPU_HPPA=yes
16354
16355$as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
16356 ;;
16357    xs390*)
16358      HAVE_CPU_S390=yes
16359
16360$as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
16361 ;;
16362    xia64*)
16363      HAVE_CPU_IA64=yes
16364
16365$as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
16366 ;;
16367    xm68k*)
16368      HAVE_CPU_M68K=yes
16369
16370$as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
16371 ;;
16372    xx86_64)
16373      HAVE_CPU_X86_64=yes
16374
16375$as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
16376 ;;
16377    xcris)
16378      HAVE_CPU_CRIS=yes
16379
16380$as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
16381 ;;
16382    xcrisv32)
16383      HAVE_CPU_CRISV32=yes
16384
16385$as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
16386 ;;
16387  esac
16388
16389     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16390$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16391if ${ac_cv_c_bigendian+:} false; then :
16392  $as_echo_n "(cached) " >&6
16393else
16394  ac_cv_c_bigendian=unknown
16395    # See if we're dealing with a universal compiler.
16396    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16397/* end confdefs.h.  */
16398#ifndef __APPLE_CC__
16399	       not a universal capable compiler
16400	     #endif
16401	     typedef int dummy;
16402
16403_ACEOF
16404if ac_fn_c_try_compile "$LINENO"; then :
16405
16406	# Check for potential -arch flags.  It is not universal unless
16407	# there are at least two -arch flags with different values.
16408	ac_arch=
16409	ac_prev=
16410	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16411	 if test -n "$ac_prev"; then
16412	   case $ac_word in
16413	     i?86 | x86_64 | ppc | ppc64)
16414	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
16415		 ac_arch=$ac_word
16416	       else
16417		 ac_cv_c_bigendian=universal
16418		 break
16419	       fi
16420	       ;;
16421	   esac
16422	   ac_prev=
16423	 elif test "x$ac_word" = "x-arch"; then
16424	   ac_prev=arch
16425	 fi
16426       done
16427fi
16428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16429    if test $ac_cv_c_bigendian = unknown; then
16430      # See if sys/param.h defines the BYTE_ORDER macro.
16431      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16432/* end confdefs.h.  */
16433#include <sys/types.h>
16434	     #include <sys/param.h>
16435
16436int
16437main ()
16438{
16439#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16440		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16441		     && LITTLE_ENDIAN)
16442	      bogus endian macros
16443	     #endif
16444
16445  ;
16446  return 0;
16447}
16448_ACEOF
16449if ac_fn_c_try_compile "$LINENO"; then :
16450  # It does; now see whether it defined to BIG_ENDIAN or not.
16451	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16452/* end confdefs.h.  */
16453#include <sys/types.h>
16454		#include <sys/param.h>
16455
16456int
16457main ()
16458{
16459#if BYTE_ORDER != BIG_ENDIAN
16460		 not big endian
16461		#endif
16462
16463  ;
16464  return 0;
16465}
16466_ACEOF
16467if ac_fn_c_try_compile "$LINENO"; then :
16468  ac_cv_c_bigendian=yes
16469else
16470  ac_cv_c_bigendian=no
16471fi
16472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16473fi
16474rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16475    fi
16476    if test $ac_cv_c_bigendian = unknown; then
16477      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16478      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16479/* end confdefs.h.  */
16480#include <limits.h>
16481
16482int
16483main ()
16484{
16485#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16486	      bogus endian macros
16487	     #endif
16488
16489  ;
16490  return 0;
16491}
16492_ACEOF
16493if ac_fn_c_try_compile "$LINENO"; then :
16494  # It does; now see whether it defined to _BIG_ENDIAN or not.
16495	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16496/* end confdefs.h.  */
16497#include <limits.h>
16498
16499int
16500main ()
16501{
16502#ifndef _BIG_ENDIAN
16503		 not big endian
16504		#endif
16505
16506  ;
16507  return 0;
16508}
16509_ACEOF
16510if ac_fn_c_try_compile "$LINENO"; then :
16511  ac_cv_c_bigendian=yes
16512else
16513  ac_cv_c_bigendian=no
16514fi
16515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16516fi
16517rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16518    fi
16519    if test $ac_cv_c_bigendian = unknown; then
16520      # Compile a test program.
16521      if test "$cross_compiling" = yes; then :
16522  # Try to guess by grepping values from an object file.
16523	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16524/* end confdefs.h.  */
16525short int ascii_mm[] =
16526		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16527		short int ascii_ii[] =
16528		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16529		int use_ascii (int i) {
16530		  return ascii_mm[i] + ascii_ii[i];
16531		}
16532		short int ebcdic_ii[] =
16533		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16534		short int ebcdic_mm[] =
16535		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16536		int use_ebcdic (int i) {
16537		  return ebcdic_mm[i] + ebcdic_ii[i];
16538		}
16539		extern int foo;
16540
16541int
16542main ()
16543{
16544return use_ascii (foo) == use_ebcdic (foo);
16545  ;
16546  return 0;
16547}
16548_ACEOF
16549if ac_fn_c_try_compile "$LINENO"; then :
16550  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
16551	      ac_cv_c_bigendian=yes
16552	    fi
16553	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
16554	      if test "$ac_cv_c_bigendian" = unknown; then
16555		ac_cv_c_bigendian=no
16556	      else
16557		# finding both strings is unlikely to happen, but who knows?
16558		ac_cv_c_bigendian=unknown
16559	      fi
16560	    fi
16561fi
16562rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16563else
16564  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16565/* end confdefs.h.  */
16566$ac_includes_default
16567int
16568main ()
16569{
16570
16571	     /* Are we little or big endian?  From Harbison&Steele.  */
16572	     union
16573	     {
16574	       long int l;
16575	       char c[sizeof (long int)];
16576	     } u;
16577	     u.l = 1;
16578	     return u.c[sizeof (long int) - 1] == 1;
16579
16580  ;
16581  return 0;
16582}
16583_ACEOF
16584if ac_fn_c_try_run "$LINENO"; then :
16585  ac_cv_c_bigendian=no
16586else
16587  ac_cv_c_bigendian=yes
16588fi
16589rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16590  conftest.$ac_objext conftest.beam conftest.$ac_ext
16591fi
16592
16593    fi
16594fi
16595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16596$as_echo "$ac_cv_c_bigendian" >&6; }
16597 case $ac_cv_c_bigendian in #(
16598   yes)
16599     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16600;; #(
16601   no)
16602      ;; #(
16603   universal)
16604
16605$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16606
16607     ;; #(
16608   *)
16609     as_fn_error $? "unknown endianness
16610 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16611 esac
16612
16613
16614   if test "x$HAVE_CPU_I386" = "xyes"; then
16615  HAVE_CPU_I386_TRUE=
16616  HAVE_CPU_I386_FALSE='#'
16617else
16618  HAVE_CPU_I386_TRUE='#'
16619  HAVE_CPU_I386_FALSE=
16620fi
16621
16622   if test "x$HAVE_CPU_PPC" = "xyes"; then
16623  HAVE_CPU_PPC_TRUE=
16624  HAVE_CPU_PPC_FALSE='#'
16625else
16626  HAVE_CPU_PPC_TRUE='#'
16627  HAVE_CPU_PPC_FALSE=
16628fi
16629
16630   if test "x$HAVE_CPU_PPC64" = "xyes"; then
16631  HAVE_CPU_PPC64_TRUE=
16632  HAVE_CPU_PPC64_FALSE='#'
16633else
16634  HAVE_CPU_PPC64_TRUE='#'
16635  HAVE_CPU_PPC64_FALSE=
16636fi
16637
16638   if test "x$HAVE_CPU_ALPHA" = "xyes"; then
16639  HAVE_CPU_ALPHA_TRUE=
16640  HAVE_CPU_ALPHA_FALSE='#'
16641else
16642  HAVE_CPU_ALPHA_TRUE='#'
16643  HAVE_CPU_ALPHA_FALSE=
16644fi
16645
16646   if test "x$HAVE_CPU_ARC" = "xyes"; then
16647  HAVE_CPU_ARC_TRUE=
16648  HAVE_CPU_ARC_FALSE='#'
16649else
16650  HAVE_CPU_ARC_TRUE='#'
16651  HAVE_CPU_ARC_FALSE=
16652fi
16653
16654   if test "x$HAVE_CPU_ARM" = "xyes"; then
16655  HAVE_CPU_ARM_TRUE=
16656  HAVE_CPU_ARM_FALSE='#'
16657else
16658  HAVE_CPU_ARM_TRUE='#'
16659  HAVE_CPU_ARM_FALSE=
16660fi
16661
16662   if test "x$HAVE_CPU_SPARC" = "xyes"; then
16663  HAVE_CPU_SPARC_TRUE=
16664  HAVE_CPU_SPARC_FALSE='#'
16665else
16666  HAVE_CPU_SPARC_TRUE='#'
16667  HAVE_CPU_SPARC_FALSE=
16668fi
16669
16670   if test "x$HAVE_CPU_HPPA" = "xyes"; then
16671  HAVE_CPU_HPPA_TRUE=
16672  HAVE_CPU_HPPA_FALSE='#'
16673else
16674  HAVE_CPU_HPPA_TRUE='#'
16675  HAVE_CPU_HPPA_FALSE=
16676fi
16677
16678   if test "x$HAVE_CPU_MIPS" = "xyes"; then
16679  HAVE_CPU_MIPS_TRUE=
16680  HAVE_CPU_MIPS_FALSE='#'
16681else
16682  HAVE_CPU_MIPS_TRUE='#'
16683  HAVE_CPU_MIPS_FALSE=
16684fi
16685
16686   if test "x$HAVE_CPU_S390" = "xyes"; then
16687  HAVE_CPU_S390_TRUE=
16688  HAVE_CPU_S390_FALSE='#'
16689else
16690  HAVE_CPU_S390_TRUE='#'
16691  HAVE_CPU_S390_FALSE=
16692fi
16693
16694   if test "x$HAVE_CPU_IA64" = "xyes"; then
16695  HAVE_CPU_IA64_TRUE=
16696  HAVE_CPU_IA64_FALSE='#'
16697else
16698  HAVE_CPU_IA64_TRUE='#'
16699  HAVE_CPU_IA64_FALSE=
16700fi
16701
16702   if test "x$HAVE_CPU_M68K" = "xyes"; then
16703  HAVE_CPU_M68K_TRUE=
16704  HAVE_CPU_M68K_FALSE='#'
16705else
16706  HAVE_CPU_M68K_TRUE='#'
16707  HAVE_CPU_M68K_FALSE=
16708fi
16709
16710   if test "x$HAVE_CPU_X86_64" = "xyes"; then
16711  HAVE_CPU_X86_64_TRUE=
16712  HAVE_CPU_X86_64_FALSE='#'
16713else
16714  HAVE_CPU_X86_64_TRUE='#'
16715  HAVE_CPU_X86_64_FALSE=
16716fi
16717
16718   if test "x$HAVE_CPU_CRIS" = "xyes"; then
16719  HAVE_CPU_CRIS_TRUE=
16720  HAVE_CPU_CRIS_FALSE='#'
16721else
16722  HAVE_CPU_CRIS_TRUE='#'
16723  HAVE_CPU_CRIS_FALSE=
16724fi
16725
16726   if test "x$HAVE_CPU_CRISV32" = "xyes"; then
16727  HAVE_CPU_CRISV32_TRUE=
16728  HAVE_CPU_CRISV32_FALSE='#'
16729else
16730  HAVE_CPU_CRISV32_TRUE='#'
16731  HAVE_CPU_CRISV32_FALSE=
16732fi
16733
16734
16735
16736cat >>confdefs.h <<_ACEOF
16737#define HOST_CPU "$host_cpu"
16738_ACEOF
16739
16740
16741cat >>confdefs.h <<_ACEOF
16742#define TARGET_CPU "$target_cpu"
16743_ACEOF
16744
16745
16746
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16748$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16749if ${ac_cv_c_bigendian+:} false; then :
16750  $as_echo_n "(cached) " >&6
16751else
16752  ac_cv_c_bigendian=unknown
16753    # See if we're dealing with a universal compiler.
16754    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16755/* end confdefs.h.  */
16756#ifndef __APPLE_CC__
16757	       not a universal capable compiler
16758	     #endif
16759	     typedef int dummy;
16760
16761_ACEOF
16762if ac_fn_c_try_compile "$LINENO"; then :
16763
16764	# Check for potential -arch flags.  It is not universal unless
16765	# there are at least two -arch flags with different values.
16766	ac_arch=
16767	ac_prev=
16768	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16769	 if test -n "$ac_prev"; then
16770	   case $ac_word in
16771	     i?86 | x86_64 | ppc | ppc64)
16772	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
16773		 ac_arch=$ac_word
16774	       else
16775		 ac_cv_c_bigendian=universal
16776		 break
16777	       fi
16778	       ;;
16779	   esac
16780	   ac_prev=
16781	 elif test "x$ac_word" = "x-arch"; then
16782	   ac_prev=arch
16783	 fi
16784       done
16785fi
16786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16787    if test $ac_cv_c_bigendian = unknown; then
16788      # See if sys/param.h defines the BYTE_ORDER macro.
16789      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16790/* end confdefs.h.  */
16791#include <sys/types.h>
16792	     #include <sys/param.h>
16793
16794int
16795main ()
16796{
16797#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16798		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16799		     && LITTLE_ENDIAN)
16800	      bogus endian macros
16801	     #endif
16802
16803  ;
16804  return 0;
16805}
16806_ACEOF
16807if ac_fn_c_try_compile "$LINENO"; then :
16808  # It does; now see whether it defined to BIG_ENDIAN or not.
16809	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16810/* end confdefs.h.  */
16811#include <sys/types.h>
16812		#include <sys/param.h>
16813
16814int
16815main ()
16816{
16817#if BYTE_ORDER != BIG_ENDIAN
16818		 not big endian
16819		#endif
16820
16821  ;
16822  return 0;
16823}
16824_ACEOF
16825if ac_fn_c_try_compile "$LINENO"; then :
16826  ac_cv_c_bigendian=yes
16827else
16828  ac_cv_c_bigendian=no
16829fi
16830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16831fi
16832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16833    fi
16834    if test $ac_cv_c_bigendian = unknown; then
16835      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16836      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16837/* end confdefs.h.  */
16838#include <limits.h>
16839
16840int
16841main ()
16842{
16843#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16844	      bogus endian macros
16845	     #endif
16846
16847  ;
16848  return 0;
16849}
16850_ACEOF
16851if ac_fn_c_try_compile "$LINENO"; then :
16852  # It does; now see whether it defined to _BIG_ENDIAN or not.
16853	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16854/* end confdefs.h.  */
16855#include <limits.h>
16856
16857int
16858main ()
16859{
16860#ifndef _BIG_ENDIAN
16861		 not big endian
16862		#endif
16863
16864  ;
16865  return 0;
16866}
16867_ACEOF
16868if ac_fn_c_try_compile "$LINENO"; then :
16869  ac_cv_c_bigendian=yes
16870else
16871  ac_cv_c_bigendian=no
16872fi
16873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16874fi
16875rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16876    fi
16877    if test $ac_cv_c_bigendian = unknown; then
16878      # Compile a test program.
16879      if test "$cross_compiling" = yes; then :
16880  # Try to guess by grepping values from an object file.
16881	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882/* end confdefs.h.  */
16883short int ascii_mm[] =
16884		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16885		short int ascii_ii[] =
16886		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16887		int use_ascii (int i) {
16888		  return ascii_mm[i] + ascii_ii[i];
16889		}
16890		short int ebcdic_ii[] =
16891		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16892		short int ebcdic_mm[] =
16893		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16894		int use_ebcdic (int i) {
16895		  return ebcdic_mm[i] + ebcdic_ii[i];
16896		}
16897		extern int foo;
16898
16899int
16900main ()
16901{
16902return use_ascii (foo) == use_ebcdic (foo);
16903  ;
16904  return 0;
16905}
16906_ACEOF
16907if ac_fn_c_try_compile "$LINENO"; then :
16908  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
16909	      ac_cv_c_bigendian=yes
16910	    fi
16911	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
16912	      if test "$ac_cv_c_bigendian" = unknown; then
16913		ac_cv_c_bigendian=no
16914	      else
16915		# finding both strings is unlikely to happen, but who knows?
16916		ac_cv_c_bigendian=unknown
16917	      fi
16918	    fi
16919fi
16920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16921else
16922  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16923/* end confdefs.h.  */
16924$ac_includes_default
16925int
16926main ()
16927{
16928
16929	     /* Are we little or big endian?  From Harbison&Steele.  */
16930	     union
16931	     {
16932	       long int l;
16933	       char c[sizeof (long int)];
16934	     } u;
16935	     u.l = 1;
16936	     return u.c[sizeof (long int) - 1] == 1;
16937
16938  ;
16939  return 0;
16940}
16941_ACEOF
16942if ac_fn_c_try_run "$LINENO"; then :
16943  ac_cv_c_bigendian=no
16944else
16945  ac_cv_c_bigendian=yes
16946fi
16947rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16948  conftest.$ac_objext conftest.beam conftest.$ac_ext
16949fi
16950
16951    fi
16952fi
16953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16954$as_echo "$ac_cv_c_bigendian" >&6; }
16955 case $ac_cv_c_bigendian in #(
16956   yes)
16957     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16958;; #(
16959   no)
16960      ;; #(
16961   universal)
16962
16963$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16964
16965     ;; #(
16966   *)
16967     as_fn_error $? "unknown endianness
16968 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16969 esac
16970
16971
16972
16973# Check whether --enable-largefile was given.
16974if test "${enable_largefile+set}" = set; then :
16975  enableval=$enable_largefile;
16976fi
16977
16978if test "$enable_largefile" != no; then
16979
16980  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16981$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16982if ${ac_cv_sys_largefile_CC+:} false; then :
16983  $as_echo_n "(cached) " >&6
16984else
16985  ac_cv_sys_largefile_CC=no
16986     if test "$GCC" != yes; then
16987       ac_save_CC=$CC
16988       while :; do
16989	 # IRIX 6.2 and later do not support large files by default,
16990	 # so use the C compiler's -n32 option if that helps.
16991	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16992/* end confdefs.h.  */
16993#include <sys/types.h>
16994 /* Check that off_t can represent 2**63 - 1 correctly.
16995    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16996    since some C++ compilers masquerading as C compilers
16997    incorrectly reject 9223372036854775807.  */
16998#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
16999  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17000		       && LARGE_OFF_T % 2147483647 == 1)
17001		      ? 1 : -1];
17002int
17003main ()
17004{
17005
17006  ;
17007  return 0;
17008}
17009_ACEOF
17010	 if ac_fn_c_try_compile "$LINENO"; then :
17011  break
17012fi
17013rm -f core conftest.err conftest.$ac_objext
17014	 CC="$CC -n32"
17015	 if ac_fn_c_try_compile "$LINENO"; then :
17016  ac_cv_sys_largefile_CC=' -n32'; break
17017fi
17018rm -f core conftest.err conftest.$ac_objext
17019	 break
17020       done
17021       CC=$ac_save_CC
17022       rm -f conftest.$ac_ext
17023    fi
17024fi
17025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
17026$as_echo "$ac_cv_sys_largefile_CC" >&6; }
17027  if test "$ac_cv_sys_largefile_CC" != no; then
17028    CC=$CC$ac_cv_sys_largefile_CC
17029  fi
17030
17031  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17032$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
17033if ${ac_cv_sys_file_offset_bits+:} false; then :
17034  $as_echo_n "(cached) " >&6
17035else
17036  while :; do
17037  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038/* end confdefs.h.  */
17039#include <sys/types.h>
17040 /* Check that off_t can represent 2**63 - 1 correctly.
17041    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17042    since some C++ compilers masquerading as C compilers
17043    incorrectly reject 9223372036854775807.  */
17044#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
17045  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17046		       && LARGE_OFF_T % 2147483647 == 1)
17047		      ? 1 : -1];
17048int
17049main ()
17050{
17051
17052  ;
17053  return 0;
17054}
17055_ACEOF
17056if ac_fn_c_try_compile "$LINENO"; then :
17057  ac_cv_sys_file_offset_bits=no; break
17058fi
17059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17060  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061/* end confdefs.h.  */
17062#define _FILE_OFFSET_BITS 64
17063#include <sys/types.h>
17064 /* Check that off_t can represent 2**63 - 1 correctly.
17065    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17066    since some C++ compilers masquerading as C compilers
17067    incorrectly reject 9223372036854775807.  */
17068#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
17069  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17070		       && LARGE_OFF_T % 2147483647 == 1)
17071		      ? 1 : -1];
17072int
17073main ()
17074{
17075
17076  ;
17077  return 0;
17078}
17079_ACEOF
17080if ac_fn_c_try_compile "$LINENO"; then :
17081  ac_cv_sys_file_offset_bits=64; break
17082fi
17083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17084  ac_cv_sys_file_offset_bits=unknown
17085  break
17086done
17087fi
17088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
17089$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
17090case $ac_cv_sys_file_offset_bits in #(
17091  no | unknown) ;;
17092  *)
17093cat >>confdefs.h <<_ACEOF
17094#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17095_ACEOF
17096;;
17097esac
17098rm -rf conftest*
17099  if test $ac_cv_sys_file_offset_bits = unknown; then
17100    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
17101$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
17102if ${ac_cv_sys_large_files+:} false; then :
17103  $as_echo_n "(cached) " >&6
17104else
17105  while :; do
17106  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107/* end confdefs.h.  */
17108#include <sys/types.h>
17109 /* Check that off_t can represent 2**63 - 1 correctly.
17110    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17111    since some C++ compilers masquerading as C compilers
17112    incorrectly reject 9223372036854775807.  */
17113#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
17114  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17115		       && LARGE_OFF_T % 2147483647 == 1)
17116		      ? 1 : -1];
17117int
17118main ()
17119{
17120
17121  ;
17122  return 0;
17123}
17124_ACEOF
17125if ac_fn_c_try_compile "$LINENO"; then :
17126  ac_cv_sys_large_files=no; break
17127fi
17128rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17129  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130/* end confdefs.h.  */
17131#define _LARGE_FILES 1
17132#include <sys/types.h>
17133 /* Check that off_t can represent 2**63 - 1 correctly.
17134    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17135    since some C++ compilers masquerading as C compilers
17136    incorrectly reject 9223372036854775807.  */
17137#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
17138  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17139		       && LARGE_OFF_T % 2147483647 == 1)
17140		      ? 1 : -1];
17141int
17142main ()
17143{
17144
17145  ;
17146  return 0;
17147}
17148_ACEOF
17149if ac_fn_c_try_compile "$LINENO"; then :
17150  ac_cv_sys_large_files=1; break
17151fi
17152rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17153  ac_cv_sys_large_files=unknown
17154  break
17155done
17156fi
17157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
17158$as_echo "$ac_cv_sys_large_files" >&6; }
17159case $ac_cv_sys_large_files in #(
17160  no | unknown) ;;
17161  *)
17162cat >>confdefs.h <<_ACEOF
17163#define _LARGE_FILES $ac_cv_sys_large_files
17164_ACEOF
17165;;
17166esac
17167rm -rf conftest*
17168  fi
17169
17170
17171fi
17172
17173
17174
17175ac_ext=c
17176ac_cpp='$CPP $CPPFLAGS'
17177ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17178ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17179ac_compiler_gnu=$ac_cv_c_compiler_gnu
17180if test -n "$ac_tool_prefix"; then
17181  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17182set dummy ${ac_tool_prefix}gcc; ac_word=$2
17183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17184$as_echo_n "checking for $ac_word... " >&6; }
17185if ${ac_cv_prog_CC+:} false; then :
17186  $as_echo_n "(cached) " >&6
17187else
17188  if test -n "$CC"; then
17189  ac_cv_prog_CC="$CC" # Let the user override the test.
17190else
17191as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17192for as_dir in $PATH
17193do
17194  IFS=$as_save_IFS
17195  test -z "$as_dir" && as_dir=.
17196    for ac_exec_ext in '' $ac_executable_extensions; do
17197  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17198    ac_cv_prog_CC="${ac_tool_prefix}gcc"
17199    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17200    break 2
17201  fi
17202done
17203  done
17204IFS=$as_save_IFS
17205
17206fi
17207fi
17208CC=$ac_cv_prog_CC
17209if test -n "$CC"; then
17210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17211$as_echo "$CC" >&6; }
17212else
17213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17214$as_echo "no" >&6; }
17215fi
17216
17217
17218fi
17219if test -z "$ac_cv_prog_CC"; then
17220  ac_ct_CC=$CC
17221  # Extract the first word of "gcc", so it can be a program name with args.
17222set dummy gcc; ac_word=$2
17223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17224$as_echo_n "checking for $ac_word... " >&6; }
17225if ${ac_cv_prog_ac_ct_CC+:} false; then :
17226  $as_echo_n "(cached) " >&6
17227else
17228  if test -n "$ac_ct_CC"; then
17229  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17230else
17231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17232for as_dir in $PATH
17233do
17234  IFS=$as_save_IFS
17235  test -z "$as_dir" && as_dir=.
17236    for ac_exec_ext in '' $ac_executable_extensions; do
17237  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17238    ac_cv_prog_ac_ct_CC="gcc"
17239    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17240    break 2
17241  fi
17242done
17243  done
17244IFS=$as_save_IFS
17245
17246fi
17247fi
17248ac_ct_CC=$ac_cv_prog_ac_ct_CC
17249if test -n "$ac_ct_CC"; then
17250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17251$as_echo "$ac_ct_CC" >&6; }
17252else
17253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17254$as_echo "no" >&6; }
17255fi
17256
17257  if test "x$ac_ct_CC" = x; then
17258    CC=""
17259  else
17260    case $cross_compiling:$ac_tool_warned in
17261yes:)
17262{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17263$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17264ac_tool_warned=yes ;;
17265esac
17266    CC=$ac_ct_CC
17267  fi
17268else
17269  CC="$ac_cv_prog_CC"
17270fi
17271
17272if test -z "$CC"; then
17273          if test -n "$ac_tool_prefix"; then
17274    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
17275set dummy ${ac_tool_prefix}cc; ac_word=$2
17276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17277$as_echo_n "checking for $ac_word... " >&6; }
17278if ${ac_cv_prog_CC+:} false; then :
17279  $as_echo_n "(cached) " >&6
17280else
17281  if test -n "$CC"; then
17282  ac_cv_prog_CC="$CC" # Let the user override the test.
17283else
17284as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17285for as_dir in $PATH
17286do
17287  IFS=$as_save_IFS
17288  test -z "$as_dir" && as_dir=.
17289    for ac_exec_ext in '' $ac_executable_extensions; do
17290  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17291    ac_cv_prog_CC="${ac_tool_prefix}cc"
17292    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17293    break 2
17294  fi
17295done
17296  done
17297IFS=$as_save_IFS
17298
17299fi
17300fi
17301CC=$ac_cv_prog_CC
17302if test -n "$CC"; then
17303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17304$as_echo "$CC" >&6; }
17305else
17306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17307$as_echo "no" >&6; }
17308fi
17309
17310
17311  fi
17312fi
17313if test -z "$CC"; then
17314  # Extract the first word of "cc", so it can be a program name with args.
17315set dummy cc; ac_word=$2
17316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17317$as_echo_n "checking for $ac_word... " >&6; }
17318if ${ac_cv_prog_CC+:} false; then :
17319  $as_echo_n "(cached) " >&6
17320else
17321  if test -n "$CC"; then
17322  ac_cv_prog_CC="$CC" # Let the user override the test.
17323else
17324  ac_prog_rejected=no
17325as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17326for as_dir in $PATH
17327do
17328  IFS=$as_save_IFS
17329  test -z "$as_dir" && as_dir=.
17330    for ac_exec_ext in '' $ac_executable_extensions; do
17331  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17332    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
17333       ac_prog_rejected=yes
17334       continue
17335     fi
17336    ac_cv_prog_CC="cc"
17337    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17338    break 2
17339  fi
17340done
17341  done
17342IFS=$as_save_IFS
17343
17344if test $ac_prog_rejected = yes; then
17345  # We found a bogon in the path, so make sure we never use it.
17346  set dummy $ac_cv_prog_CC
17347  shift
17348  if test $# != 0; then
17349    # We chose a different compiler from the bogus one.
17350    # However, it has the same basename, so the bogon will be chosen
17351    # first if we set CC to just the basename; use the full file name.
17352    shift
17353    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
17354  fi
17355fi
17356fi
17357fi
17358CC=$ac_cv_prog_CC
17359if test -n "$CC"; then
17360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17361$as_echo "$CC" >&6; }
17362else
17363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17364$as_echo "no" >&6; }
17365fi
17366
17367
17368fi
17369if test -z "$CC"; then
17370  if test -n "$ac_tool_prefix"; then
17371  for ac_prog in cl.exe
17372  do
17373    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17374set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17376$as_echo_n "checking for $ac_word... " >&6; }
17377if ${ac_cv_prog_CC+:} false; then :
17378  $as_echo_n "(cached) " >&6
17379else
17380  if test -n "$CC"; then
17381  ac_cv_prog_CC="$CC" # Let the user override the test.
17382else
17383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17384for as_dir in $PATH
17385do
17386  IFS=$as_save_IFS
17387  test -z "$as_dir" && as_dir=.
17388    for ac_exec_ext in '' $ac_executable_extensions; do
17389  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17390    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
17391    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17392    break 2
17393  fi
17394done
17395  done
17396IFS=$as_save_IFS
17397
17398fi
17399fi
17400CC=$ac_cv_prog_CC
17401if test -n "$CC"; then
17402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17403$as_echo "$CC" >&6; }
17404else
17405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17406$as_echo "no" >&6; }
17407fi
17408
17409
17410    test -n "$CC" && break
17411  done
17412fi
17413if test -z "$CC"; then
17414  ac_ct_CC=$CC
17415  for ac_prog in cl.exe
17416do
17417  # Extract the first word of "$ac_prog", so it can be a program name with args.
17418set dummy $ac_prog; ac_word=$2
17419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17420$as_echo_n "checking for $ac_word... " >&6; }
17421if ${ac_cv_prog_ac_ct_CC+:} false; then :
17422  $as_echo_n "(cached) " >&6
17423else
17424  if test -n "$ac_ct_CC"; then
17425  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17426else
17427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17428for as_dir in $PATH
17429do
17430  IFS=$as_save_IFS
17431  test -z "$as_dir" && as_dir=.
17432    for ac_exec_ext in '' $ac_executable_extensions; do
17433  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17434    ac_cv_prog_ac_ct_CC="$ac_prog"
17435    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17436    break 2
17437  fi
17438done
17439  done
17440IFS=$as_save_IFS
17441
17442fi
17443fi
17444ac_ct_CC=$ac_cv_prog_ac_ct_CC
17445if test -n "$ac_ct_CC"; then
17446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17447$as_echo "$ac_ct_CC" >&6; }
17448else
17449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17450$as_echo "no" >&6; }
17451fi
17452
17453
17454  test -n "$ac_ct_CC" && break
17455done
17456
17457  if test "x$ac_ct_CC" = x; then
17458    CC=""
17459  else
17460    case $cross_compiling:$ac_tool_warned in
17461yes:)
17462{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17463$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17464ac_tool_warned=yes ;;
17465esac
17466    CC=$ac_ct_CC
17467  fi
17468fi
17469
17470fi
17471
17472
17473test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17474$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17475as_fn_error $? "no acceptable C compiler found in \$PATH
17476See \`config.log' for more details" "$LINENO" 5; }
17477
17478# Provide some information about the compiler.
17479$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
17480set X $ac_compile
17481ac_compiler=$2
17482for ac_option in --version -v -V -qversion; do
17483  { { ac_try="$ac_compiler $ac_option >&5"
17484case "(($ac_try" in
17485  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17486  *) ac_try_echo=$ac_try;;
17487esac
17488eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17489$as_echo "$ac_try_echo"; } >&5
17490  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17491  ac_status=$?
17492  if test -s conftest.err; then
17493    sed '10a\
17494... rest of stderr output deleted ...
17495         10q' conftest.err >conftest.er1
17496    cat conftest.er1 >&5
17497  fi
17498  rm -f conftest.er1 conftest.err
17499  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17500  test $ac_status = 0; }
17501done
17502
17503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
17504$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17505if ${ac_cv_c_compiler_gnu+:} false; then :
17506  $as_echo_n "(cached) " >&6
17507else
17508  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509/* end confdefs.h.  */
17510
17511int
17512main ()
17513{
17514#ifndef __GNUC__
17515       choke me
17516#endif
17517
17518  ;
17519  return 0;
17520}
17521_ACEOF
17522if ac_fn_c_try_compile "$LINENO"; then :
17523  ac_compiler_gnu=yes
17524else
17525  ac_compiler_gnu=no
17526fi
17527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17528ac_cv_c_compiler_gnu=$ac_compiler_gnu
17529
17530fi
17531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17532$as_echo "$ac_cv_c_compiler_gnu" >&6; }
17533if test $ac_compiler_gnu = yes; then
17534  GCC=yes
17535else
17536  GCC=
17537fi
17538ac_test_CFLAGS=${CFLAGS+set}
17539ac_save_CFLAGS=$CFLAGS
17540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17541$as_echo_n "checking whether $CC accepts -g... " >&6; }
17542if ${ac_cv_prog_cc_g+:} false; then :
17543  $as_echo_n "(cached) " >&6
17544else
17545  ac_save_c_werror_flag=$ac_c_werror_flag
17546   ac_c_werror_flag=yes
17547   ac_cv_prog_cc_g=no
17548   CFLAGS="-g"
17549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17550/* end confdefs.h.  */
17551
17552int
17553main ()
17554{
17555
17556  ;
17557  return 0;
17558}
17559_ACEOF
17560if ac_fn_c_try_compile "$LINENO"; then :
17561  ac_cv_prog_cc_g=yes
17562else
17563  CFLAGS=""
17564      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565/* end confdefs.h.  */
17566
17567int
17568main ()
17569{
17570
17571  ;
17572  return 0;
17573}
17574_ACEOF
17575if ac_fn_c_try_compile "$LINENO"; then :
17576
17577else
17578  ac_c_werror_flag=$ac_save_c_werror_flag
17579	 CFLAGS="-g"
17580	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17581/* end confdefs.h.  */
17582
17583int
17584main ()
17585{
17586
17587  ;
17588  return 0;
17589}
17590_ACEOF
17591if ac_fn_c_try_compile "$LINENO"; then :
17592  ac_cv_prog_cc_g=yes
17593fi
17594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17595fi
17596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17597fi
17598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17599   ac_c_werror_flag=$ac_save_c_werror_flag
17600fi
17601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17602$as_echo "$ac_cv_prog_cc_g" >&6; }
17603if test "$ac_test_CFLAGS" = set; then
17604  CFLAGS=$ac_save_CFLAGS
17605elif test $ac_cv_prog_cc_g = yes; then
17606  if test "$GCC" = yes; then
17607    CFLAGS="-g -O2"
17608  else
17609    CFLAGS="-g"
17610  fi
17611else
17612  if test "$GCC" = yes; then
17613    CFLAGS="-O2"
17614  else
17615    CFLAGS=
17616  fi
17617fi
17618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17619$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17620if ${ac_cv_prog_cc_c89+:} false; then :
17621  $as_echo_n "(cached) " >&6
17622else
17623  ac_cv_prog_cc_c89=no
17624ac_save_CC=$CC
17625cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17626/* end confdefs.h.  */
17627#include <stdarg.h>
17628#include <stdio.h>
17629struct stat;
17630/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17631struct buf { int x; };
17632FILE * (*rcsopen) (struct buf *, struct stat *, int);
17633static char *e (p, i)
17634     char **p;
17635     int i;
17636{
17637  return p[i];
17638}
17639static char *f (char * (*g) (char **, int), char **p, ...)
17640{
17641  char *s;
17642  va_list v;
17643  va_start (v,p);
17644  s = g (p, va_arg (v,int));
17645  va_end (v);
17646  return s;
17647}
17648
17649/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17650   function prototypes and stuff, but not '\xHH' hex character constants.
17651   These don't provoke an error unfortunately, instead are silently treated
17652   as 'x'.  The following induces an error, until -std is added to get
17653   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17654   array size at least.  It's necessary to write '\x00'==0 to get something
17655   that's true only with -std.  */
17656int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17657
17658/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17659   inside strings and character constants.  */
17660#define FOO(x) 'x'
17661int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17662
17663int test (int i, double x);
17664struct s1 {int (*f) (int a);};
17665struct s2 {int (*f) (double a);};
17666int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17667int argc;
17668char **argv;
17669int
17670main ()
17671{
17672return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17673  ;
17674  return 0;
17675}
17676_ACEOF
17677for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17678	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17679do
17680  CC="$ac_save_CC $ac_arg"
17681  if ac_fn_c_try_compile "$LINENO"; then :
17682  ac_cv_prog_cc_c89=$ac_arg
17683fi
17684rm -f core conftest.err conftest.$ac_objext
17685  test "x$ac_cv_prog_cc_c89" != "xno" && break
17686done
17687rm -f conftest.$ac_ext
17688CC=$ac_save_CC
17689
17690fi
17691# AC_CACHE_VAL
17692case "x$ac_cv_prog_cc_c89" in
17693  x)
17694    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17695$as_echo "none needed" >&6; } ;;
17696  xno)
17697    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17698$as_echo "unsupported" >&6; } ;;
17699  *)
17700    CC="$CC $ac_cv_prog_cc_c89"
17701    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17702$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17703esac
17704if test "x$ac_cv_prog_cc_c89" != xno; then :
17705
17706fi
17707
17708ac_ext=c
17709ac_cpp='$CPP $CPPFLAGS'
17710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17712ac_compiler_gnu=$ac_cv_c_compiler_gnu
17713
17714ac_ext=c
17715ac_cpp='$CPP $CPPFLAGS'
17716ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17717ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17718ac_compiler_gnu=$ac_cv_c_compiler_gnu
17719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
17720$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
17721if ${am_cv_prog_cc_c_o+:} false; then :
17722  $as_echo_n "(cached) " >&6
17723else
17724  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17725/* end confdefs.h.  */
17726
17727int
17728main ()
17729{
17730
17731  ;
17732  return 0;
17733}
17734_ACEOF
17735  # Make sure it works both with $CC and with simple cc.
17736  # Following AC_PROG_CC_C_O, we do the test twice because some
17737  # compilers refuse to overwrite an existing .o file with -o,
17738  # though they will create one.
17739  am_cv_prog_cc_c_o=yes
17740  for am_i in 1 2; do
17741    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
17742   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
17743   ac_status=$?
17744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745   (exit $ac_status); } \
17746         && test -f conftest2.$ac_objext; then
17747      : OK
17748    else
17749      am_cv_prog_cc_c_o=no
17750      break
17751    fi
17752  done
17753  rm -f core conftest*
17754  unset am_i
17755fi
17756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
17757$as_echo "$am_cv_prog_cc_c_o" >&6; }
17758if test "$am_cv_prog_cc_c_o" != yes; then
17759   # Losing compiler, so override with the script.
17760   # FIXME: It is wrong to rewrite CC.
17761   # But if we don't then we get into trouble of one sort or another.
17762   # A longer-term fix would be to have automake use am__CC in this case,
17763   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
17764   CC="$am_aux_dir/compile $CC"
17765fi
17766ac_ext=c
17767ac_cpp='$CPP $CPPFLAGS'
17768ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17769ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17770ac_compiler_gnu=$ac_cv_c_compiler_gnu
17771
17772
17773depcc="$CC"   am_compiler_list=
17774
17775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17776$as_echo_n "checking dependency style of $depcc... " >&6; }
17777if ${am_cv_CC_dependencies_compiler_type+:} false; then :
17778  $as_echo_n "(cached) " >&6
17779else
17780  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17781  # We make a subdir and do the tests there.  Otherwise we can end up
17782  # making bogus files that we don't know about and never remove.  For
17783  # instance it was reported that on HP-UX the gcc test will end up
17784  # making a dummy file named 'D' -- because '-MD' means "put the output
17785  # in D".
17786  rm -rf conftest.dir
17787  mkdir conftest.dir
17788  # Copy depcomp to subdir because otherwise we won't find it if we're
17789  # using a relative directory.
17790  cp "$am_depcomp" conftest.dir
17791  cd conftest.dir
17792  # We will build objects and dependencies in a subdirectory because
17793  # it helps to detect inapplicable dependency modes.  For instance
17794  # both Tru64's cc and ICC support -MD to output dependencies as a
17795  # side effect of compilation, but ICC will put the dependencies in
17796  # the current directory while Tru64 will put them in the object
17797  # directory.
17798  mkdir sub
17799
17800  am_cv_CC_dependencies_compiler_type=none
17801  if test "$am_compiler_list" = ""; then
17802     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17803  fi
17804  am__universal=false
17805  case " $depcc " in #(
17806     *\ -arch\ *\ -arch\ *) am__universal=true ;;
17807     esac
17808
17809  for depmode in $am_compiler_list; do
17810    # Setup a source with many dependencies, because some compilers
17811    # like to wrap large dependency lists on column 80 (with \), and
17812    # we should not choose a depcomp mode which is confused by this.
17813    #
17814    # We need to recreate these files for each test, as the compiler may
17815    # overwrite some of them when testing with obscure command lines.
17816    # This happens at least with the AIX C compiler.
17817    : > sub/conftest.c
17818    for i in 1 2 3 4 5 6; do
17819      echo '#include "conftst'$i'.h"' >> sub/conftest.c
17820      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
17821      # Solaris 10 /bin/sh.
17822      echo '/* dummy */' > sub/conftst$i.h
17823    done
17824    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17825
17826    # We check with '-c' and '-o' for the sake of the "dashmstdout"
17827    # mode.  It turns out that the SunPro C++ compiler does not properly
17828    # handle '-M -o', and we need to detect this.  Also, some Intel
17829    # versions had trouble with output in subdirs.
17830    am__obj=sub/conftest.${OBJEXT-o}
17831    am__minus_obj="-o $am__obj"
17832    case $depmode in
17833    gcc)
17834      # This depmode causes a compiler race in universal mode.
17835      test "$am__universal" = false || continue
17836      ;;
17837    nosideeffect)
17838      # After this tag, mechanisms are not by side-effect, so they'll
17839      # only be used when explicitly requested.
17840      if test "x$enable_dependency_tracking" = xyes; then
17841	continue
17842      else
17843	break
17844      fi
17845      ;;
17846    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17847      # This compiler won't grok '-c -o', but also, the minuso test has
17848      # not run yet.  These depmodes are late enough in the game, and
17849      # so weak that their functioning should not be impacted.
17850      am__obj=conftest.${OBJEXT-o}
17851      am__minus_obj=
17852      ;;
17853    none) break ;;
17854    esac
17855    if depmode=$depmode \
17856       source=sub/conftest.c object=$am__obj \
17857       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17858       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17859         >/dev/null 2>conftest.err &&
17860       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17861       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17862       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17863       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17864      # icc doesn't choke on unknown options, it will just issue warnings
17865      # or remarks (even with -Werror).  So we grep stderr for any message
17866      # that says an option was ignored or not supported.
17867      # When given -MP, icc 7.0 and 7.1 complain thusly:
17868      #   icc: Command line warning: ignoring option '-M'; no argument required
17869      # The diagnosis changed in icc 8.0:
17870      #   icc: Command line remark: option '-MP' not supported
17871      if (grep 'ignoring option' conftest.err ||
17872          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17873        am_cv_CC_dependencies_compiler_type=$depmode
17874        break
17875      fi
17876    fi
17877  done
17878
17879  cd ..
17880  rm -rf conftest.dir
17881else
17882  am_cv_CC_dependencies_compiler_type=none
17883fi
17884
17885fi
17886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17887$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17888CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17889
17890 if
17891  test "x$enable_dependency_tracking" != xno \
17892  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17893  am__fastdepCC_TRUE=
17894  am__fastdepCC_FALSE='#'
17895else
17896  am__fastdepCC_TRUE='#'
17897  am__fastdepCC_FALSE=
17898fi
17899
17900
17901   case $ac_cv_prog_cc_stdc in #(
17902  no) :
17903    ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
17904  *) :
17905    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
17906$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
17907if ${ac_cv_prog_cc_c99+:} false; then :
17908  $as_echo_n "(cached) " >&6
17909else
17910  ac_cv_prog_cc_c99=no
17911ac_save_CC=$CC
17912cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17913/* end confdefs.h.  */
17914#include <stdarg.h>
17915#include <stdbool.h>
17916#include <stdlib.h>
17917#include <wchar.h>
17918#include <stdio.h>
17919
17920// Check varargs macros.  These examples are taken from C99 6.10.3.5.
17921#define debug(...) fprintf (stderr, __VA_ARGS__)
17922#define showlist(...) puts (#__VA_ARGS__)
17923#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
17924static void
17925test_varargs_macros (void)
17926{
17927  int x = 1234;
17928  int y = 5678;
17929  debug ("Flag");
17930  debug ("X = %d\n", x);
17931  showlist (The first, second, and third items.);
17932  report (x>y, "x is %d but y is %d", x, y);
17933}
17934
17935// Check long long types.
17936#define BIG64 18446744073709551615ull
17937#define BIG32 4294967295ul
17938#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
17939#if !BIG_OK
17940  your preprocessor is broken;
17941#endif
17942#if BIG_OK
17943#else
17944  your preprocessor is broken;
17945#endif
17946static long long int bignum = -9223372036854775807LL;
17947static unsigned long long int ubignum = BIG64;
17948
17949struct incomplete_array
17950{
17951  int datasize;
17952  double data[];
17953};
17954
17955struct named_init {
17956  int number;
17957  const wchar_t *name;
17958  double average;
17959};
17960
17961typedef const char *ccp;
17962
17963static inline int
17964test_restrict (ccp restrict text)
17965{
17966  // See if C++-style comments work.
17967  // Iterate through items via the restricted pointer.
17968  // Also check for declarations in for loops.
17969  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
17970    continue;
17971  return 0;
17972}
17973
17974// Check varargs and va_copy.
17975static void
17976test_varargs (const char *format, ...)
17977{
17978  va_list args;
17979  va_start (args, format);
17980  va_list args_copy;
17981  va_copy (args_copy, args);
17982
17983  const char *str;
17984  int number;
17985  float fnumber;
17986
17987  while (*format)
17988    {
17989      switch (*format++)
17990	{
17991	case 's': // string
17992	  str = va_arg (args_copy, const char *);
17993	  break;
17994	case 'd': // int
17995	  number = va_arg (args_copy, int);
17996	  break;
17997	case 'f': // float
17998	  fnumber = va_arg (args_copy, double);
17999	  break;
18000	default:
18001	  break;
18002	}
18003    }
18004  va_end (args_copy);
18005  va_end (args);
18006}
18007
18008int
18009main ()
18010{
18011
18012  // Check bool.
18013  _Bool success = false;
18014
18015  // Check restrict.
18016  if (test_restrict ("String literal") == 0)
18017    success = true;
18018  char *restrict newvar = "Another string";
18019
18020  // Check varargs.
18021  test_varargs ("s, d' f .", "string", 65, 34.234);
18022  test_varargs_macros ();
18023
18024  // Check flexible array members.
18025  struct incomplete_array *ia =
18026    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
18027  ia->datasize = 10;
18028  for (int i = 0; i < ia->datasize; ++i)
18029    ia->data[i] = i * 1.234;
18030
18031  // Check named initializers.
18032  struct named_init ni = {
18033    .number = 34,
18034    .name = L"Test wide string",
18035    .average = 543.34343,
18036  };
18037
18038  ni.number = 58;
18039
18040  int dynamic_array[ni.number];
18041  dynamic_array[ni.number - 1] = 543;
18042
18043  // work around unused variable warnings
18044  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
18045	  || dynamic_array[ni.number - 1] != 543);
18046
18047  ;
18048  return 0;
18049}
18050_ACEOF
18051for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
18052do
18053  CC="$ac_save_CC $ac_arg"
18054  if ac_fn_c_try_compile "$LINENO"; then :
18055  ac_cv_prog_cc_c99=$ac_arg
18056fi
18057rm -f core conftest.err conftest.$ac_objext
18058  test "x$ac_cv_prog_cc_c99" != "xno" && break
18059done
18060rm -f conftest.$ac_ext
18061CC=$ac_save_CC
18062
18063fi
18064# AC_CACHE_VAL
18065case "x$ac_cv_prog_cc_c99" in
18066  x)
18067    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18068$as_echo "none needed" >&6; } ;;
18069  xno)
18070    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18071$as_echo "unsupported" >&6; } ;;
18072  *)
18073    CC="$CC $ac_cv_prog_cc_c99"
18074    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
18075$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
18076esac
18077if test "x$ac_cv_prog_cc_c99" != xno; then :
18078  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
18079else
18080  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
18081$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
18082if ${ac_cv_prog_cc_c89+:} false; then :
18083  $as_echo_n "(cached) " >&6
18084else
18085  ac_cv_prog_cc_c89=no
18086ac_save_CC=$CC
18087cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18088/* end confdefs.h.  */
18089#include <stdarg.h>
18090#include <stdio.h>
18091struct stat;
18092/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
18093struct buf { int x; };
18094FILE * (*rcsopen) (struct buf *, struct stat *, int);
18095static char *e (p, i)
18096     char **p;
18097     int i;
18098{
18099  return p[i];
18100}
18101static char *f (char * (*g) (char **, int), char **p, ...)
18102{
18103  char *s;
18104  va_list v;
18105  va_start (v,p);
18106  s = g (p, va_arg (v,int));
18107  va_end (v);
18108  return s;
18109}
18110
18111/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
18112   function prototypes and stuff, but not '\xHH' hex character constants.
18113   These don't provoke an error unfortunately, instead are silently treated
18114   as 'x'.  The following induces an error, until -std is added to get
18115   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
18116   array size at least.  It's necessary to write '\x00'==0 to get something
18117   that's true only with -std.  */
18118int osf4_cc_array ['\x00' == 0 ? 1 : -1];
18119
18120/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
18121   inside strings and character constants.  */
18122#define FOO(x) 'x'
18123int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
18124
18125int test (int i, double x);
18126struct s1 {int (*f) (int a);};
18127struct s2 {int (*f) (double a);};
18128int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
18129int argc;
18130char **argv;
18131int
18132main ()
18133{
18134return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
18135  ;
18136  return 0;
18137}
18138_ACEOF
18139for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
18140	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
18141do
18142  CC="$ac_save_CC $ac_arg"
18143  if ac_fn_c_try_compile "$LINENO"; then :
18144  ac_cv_prog_cc_c89=$ac_arg
18145fi
18146rm -f core conftest.err conftest.$ac_objext
18147  test "x$ac_cv_prog_cc_c89" != "xno" && break
18148done
18149rm -f conftest.$ac_ext
18150CC=$ac_save_CC
18151
18152fi
18153# AC_CACHE_VAL
18154case "x$ac_cv_prog_cc_c89" in
18155  x)
18156    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18157$as_echo "none needed" >&6; } ;;
18158  xno)
18159    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18160$as_echo "unsupported" >&6; } ;;
18161  *)
18162    CC="$CC $ac_cv_prog_cc_c89"
18163    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
18164$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
18165esac
18166if test "x$ac_cv_prog_cc_c89" != xno; then :
18167  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
18168else
18169  ac_cv_prog_cc_stdc=no
18170fi
18171
18172fi
18173 ;;
18174esac
18175  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
18176$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
18177  if ${ac_cv_prog_cc_stdc+:} false; then :
18178  $as_echo_n "(cached) " >&6
18179fi
18180
18181  case $ac_cv_prog_cc_stdc in #(
18182  no) :
18183    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18184$as_echo "unsupported" >&6; } ;; #(
18185  '') :
18186    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18187$as_echo "none needed" >&6; } ;; #(
18188  *) :
18189    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
18190$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
18191esac
18192
18193
18194ac_ext=cpp
18195ac_cpp='$CXXCPP $CPPFLAGS'
18196ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18197ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18198ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18199if test -z "$CXX"; then
18200  if test -n "$CCC"; then
18201    CXX=$CCC
18202  else
18203    if test -n "$ac_tool_prefix"; then
18204  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18205  do
18206    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18207set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18209$as_echo_n "checking for $ac_word... " >&6; }
18210if ${ac_cv_prog_CXX+:} false; then :
18211  $as_echo_n "(cached) " >&6
18212else
18213  if test -n "$CXX"; then
18214  ac_cv_prog_CXX="$CXX" # Let the user override the test.
18215else
18216as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18217for as_dir in $PATH
18218do
18219  IFS=$as_save_IFS
18220  test -z "$as_dir" && as_dir=.
18221    for ac_exec_ext in '' $ac_executable_extensions; do
18222  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18223    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18224    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18225    break 2
18226  fi
18227done
18228  done
18229IFS=$as_save_IFS
18230
18231fi
18232fi
18233CXX=$ac_cv_prog_CXX
18234if test -n "$CXX"; then
18235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18236$as_echo "$CXX" >&6; }
18237else
18238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18239$as_echo "no" >&6; }
18240fi
18241
18242
18243    test -n "$CXX" && break
18244  done
18245fi
18246if test -z "$CXX"; then
18247  ac_ct_CXX=$CXX
18248  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18249do
18250  # Extract the first word of "$ac_prog", so it can be a program name with args.
18251set dummy $ac_prog; ac_word=$2
18252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18253$as_echo_n "checking for $ac_word... " >&6; }
18254if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18255  $as_echo_n "(cached) " >&6
18256else
18257  if test -n "$ac_ct_CXX"; then
18258  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18259else
18260as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18261for as_dir in $PATH
18262do
18263  IFS=$as_save_IFS
18264  test -z "$as_dir" && as_dir=.
18265    for ac_exec_ext in '' $ac_executable_extensions; do
18266  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18267    ac_cv_prog_ac_ct_CXX="$ac_prog"
18268    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18269    break 2
18270  fi
18271done
18272  done
18273IFS=$as_save_IFS
18274
18275fi
18276fi
18277ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18278if test -n "$ac_ct_CXX"; then
18279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18280$as_echo "$ac_ct_CXX" >&6; }
18281else
18282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18283$as_echo "no" >&6; }
18284fi
18285
18286
18287  test -n "$ac_ct_CXX" && break
18288done
18289
18290  if test "x$ac_ct_CXX" = x; then
18291    CXX="g++"
18292  else
18293    case $cross_compiling:$ac_tool_warned in
18294yes:)
18295{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18296$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18297ac_tool_warned=yes ;;
18298esac
18299    CXX=$ac_ct_CXX
18300  fi
18301fi
18302
18303  fi
18304fi
18305# Provide some information about the compiler.
18306$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18307set X $ac_compile
18308ac_compiler=$2
18309for ac_option in --version -v -V -qversion; do
18310  { { ac_try="$ac_compiler $ac_option >&5"
18311case "(($ac_try" in
18312  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18313  *) ac_try_echo=$ac_try;;
18314esac
18315eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18316$as_echo "$ac_try_echo"; } >&5
18317  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18318  ac_status=$?
18319  if test -s conftest.err; then
18320    sed '10a\
18321... rest of stderr output deleted ...
18322         10q' conftest.err >conftest.er1
18323    cat conftest.er1 >&5
18324  fi
18325  rm -f conftest.er1 conftest.err
18326  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18327  test $ac_status = 0; }
18328done
18329
18330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18331$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18332if ${ac_cv_cxx_compiler_gnu+:} false; then :
18333  $as_echo_n "(cached) " >&6
18334else
18335  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18336/* end confdefs.h.  */
18337
18338int
18339main ()
18340{
18341#ifndef __GNUC__
18342       choke me
18343#endif
18344
18345  ;
18346  return 0;
18347}
18348_ACEOF
18349if ac_fn_cxx_try_compile "$LINENO"; then :
18350  ac_compiler_gnu=yes
18351else
18352  ac_compiler_gnu=no
18353fi
18354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18355ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18356
18357fi
18358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18359$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18360if test $ac_compiler_gnu = yes; then
18361  GXX=yes
18362else
18363  GXX=
18364fi
18365ac_test_CXXFLAGS=${CXXFLAGS+set}
18366ac_save_CXXFLAGS=$CXXFLAGS
18367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18368$as_echo_n "checking whether $CXX accepts -g... " >&6; }
18369if ${ac_cv_prog_cxx_g+:} false; then :
18370  $as_echo_n "(cached) " >&6
18371else
18372  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18373   ac_cxx_werror_flag=yes
18374   ac_cv_prog_cxx_g=no
18375   CXXFLAGS="-g"
18376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18377/* end confdefs.h.  */
18378
18379int
18380main ()
18381{
18382
18383  ;
18384  return 0;
18385}
18386_ACEOF
18387if ac_fn_cxx_try_compile "$LINENO"; then :
18388  ac_cv_prog_cxx_g=yes
18389else
18390  CXXFLAGS=""
18391      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392/* end confdefs.h.  */
18393
18394int
18395main ()
18396{
18397
18398  ;
18399  return 0;
18400}
18401_ACEOF
18402if ac_fn_cxx_try_compile "$LINENO"; then :
18403
18404else
18405  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18406	 CXXFLAGS="-g"
18407	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18408/* end confdefs.h.  */
18409
18410int
18411main ()
18412{
18413
18414  ;
18415  return 0;
18416}
18417_ACEOF
18418if ac_fn_cxx_try_compile "$LINENO"; then :
18419  ac_cv_prog_cxx_g=yes
18420fi
18421rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18422fi
18423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18424fi
18425rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18426   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18427fi
18428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18429$as_echo "$ac_cv_prog_cxx_g" >&6; }
18430if test "$ac_test_CXXFLAGS" = set; then
18431  CXXFLAGS=$ac_save_CXXFLAGS
18432elif test $ac_cv_prog_cxx_g = yes; then
18433  if test "$GXX" = yes; then
18434    CXXFLAGS="-g -O2"
18435  else
18436    CXXFLAGS="-g"
18437  fi
18438else
18439  if test "$GXX" = yes; then
18440    CXXFLAGS="-O2"
18441  else
18442    CXXFLAGS=
18443  fi
18444fi
18445ac_ext=c
18446ac_cpp='$CPP $CPPFLAGS'
18447ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18448ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18449ac_compiler_gnu=$ac_cv_c_compiler_gnu
18450
18451depcc="$CXX"  am_compiler_list=
18452
18453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
18454$as_echo_n "checking dependency style of $depcc... " >&6; }
18455if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
18456  $as_echo_n "(cached) " >&6
18457else
18458  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
18459  # We make a subdir and do the tests there.  Otherwise we can end up
18460  # making bogus files that we don't know about and never remove.  For
18461  # instance it was reported that on HP-UX the gcc test will end up
18462  # making a dummy file named 'D' -- because '-MD' means "put the output
18463  # in D".
18464  rm -rf conftest.dir
18465  mkdir conftest.dir
18466  # Copy depcomp to subdir because otherwise we won't find it if we're
18467  # using a relative directory.
18468  cp "$am_depcomp" conftest.dir
18469  cd conftest.dir
18470  # We will build objects and dependencies in a subdirectory because
18471  # it helps to detect inapplicable dependency modes.  For instance
18472  # both Tru64's cc and ICC support -MD to output dependencies as a
18473  # side effect of compilation, but ICC will put the dependencies in
18474  # the current directory while Tru64 will put them in the object
18475  # directory.
18476  mkdir sub
18477
18478  am_cv_CXX_dependencies_compiler_type=none
18479  if test "$am_compiler_list" = ""; then
18480     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
18481  fi
18482  am__universal=false
18483  case " $depcc " in #(
18484     *\ -arch\ *\ -arch\ *) am__universal=true ;;
18485     esac
18486
18487  for depmode in $am_compiler_list; do
18488    # Setup a source with many dependencies, because some compilers
18489    # like to wrap large dependency lists on column 80 (with \), and
18490    # we should not choose a depcomp mode which is confused by this.
18491    #
18492    # We need to recreate these files for each test, as the compiler may
18493    # overwrite some of them when testing with obscure command lines.
18494    # This happens at least with the AIX C compiler.
18495    : > sub/conftest.c
18496    for i in 1 2 3 4 5 6; do
18497      echo '#include "conftst'$i'.h"' >> sub/conftest.c
18498      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
18499      # Solaris 10 /bin/sh.
18500      echo '/* dummy */' > sub/conftst$i.h
18501    done
18502    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
18503
18504    # We check with '-c' and '-o' for the sake of the "dashmstdout"
18505    # mode.  It turns out that the SunPro C++ compiler does not properly
18506    # handle '-M -o', and we need to detect this.  Also, some Intel
18507    # versions had trouble with output in subdirs.
18508    am__obj=sub/conftest.${OBJEXT-o}
18509    am__minus_obj="-o $am__obj"
18510    case $depmode in
18511    gcc)
18512      # This depmode causes a compiler race in universal mode.
18513      test "$am__universal" = false || continue
18514      ;;
18515    nosideeffect)
18516      # After this tag, mechanisms are not by side-effect, so they'll
18517      # only be used when explicitly requested.
18518      if test "x$enable_dependency_tracking" = xyes; then
18519	continue
18520      else
18521	break
18522      fi
18523      ;;
18524    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
18525      # This compiler won't grok '-c -o', but also, the minuso test has
18526      # not run yet.  These depmodes are late enough in the game, and
18527      # so weak that their functioning should not be impacted.
18528      am__obj=conftest.${OBJEXT-o}
18529      am__minus_obj=
18530      ;;
18531    none) break ;;
18532    esac
18533    if depmode=$depmode \
18534       source=sub/conftest.c object=$am__obj \
18535       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
18536       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
18537         >/dev/null 2>conftest.err &&
18538       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
18539       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
18540       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
18541       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
18542      # icc doesn't choke on unknown options, it will just issue warnings
18543      # or remarks (even with -Werror).  So we grep stderr for any message
18544      # that says an option was ignored or not supported.
18545      # When given -MP, icc 7.0 and 7.1 complain thusly:
18546      #   icc: Command line warning: ignoring option '-M'; no argument required
18547      # The diagnosis changed in icc 8.0:
18548      #   icc: Command line remark: option '-MP' not supported
18549      if (grep 'ignoring option' conftest.err ||
18550          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
18551        am_cv_CXX_dependencies_compiler_type=$depmode
18552        break
18553      fi
18554    fi
18555  done
18556
18557  cd ..
18558  rm -rf conftest.dir
18559else
18560  am_cv_CXX_dependencies_compiler_type=none
18561fi
18562
18563fi
18564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
18565$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
18566CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
18567
18568 if
18569  test "x$enable_dependency_tracking" != xno \
18570  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
18571  am__fastdepCXX_TRUE=
18572  am__fastdepCXX_FALSE='#'
18573else
18574  am__fastdepCXX_TRUE='#'
18575  am__fastdepCXX_FALSE=
18576fi
18577
18578
18579
18580
18581func_stripname_cnf ()
18582{
18583  case $2 in
18584  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
18585  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
18586  esac
18587} # func_stripname_cnf
18588
18589      if test -n "$CXX" && ( test no != "$CXX" &&
18590    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
18591    (test g++ != "$CXX"))); then
18592  ac_ext=cpp
18593ac_cpp='$CXXCPP $CPPFLAGS'
18594ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18595ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18596ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
18598$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
18599if test -z "$CXXCPP"; then
18600  if ${ac_cv_prog_CXXCPP+:} false; then :
18601  $as_echo_n "(cached) " >&6
18602else
18603      # Double quotes because CXXCPP needs to be expanded
18604    for CXXCPP in "$CXX -E" "/lib/cpp"
18605    do
18606      ac_preproc_ok=false
18607for ac_cxx_preproc_warn_flag in '' yes
18608do
18609  # Use a header file that comes with gcc, so configuring glibc
18610  # with a fresh cross-compiler works.
18611  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18612  # <limits.h> exists even on freestanding compilers.
18613  # On the NeXT, cc -E runs the code through the compiler's parser,
18614  # not just through cpp. "Syntax error" is here to catch this case.
18615  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18616/* end confdefs.h.  */
18617#ifdef __STDC__
18618# include <limits.h>
18619#else
18620# include <assert.h>
18621#endif
18622		     Syntax error
18623_ACEOF
18624if ac_fn_cxx_try_cpp "$LINENO"; then :
18625
18626else
18627  # Broken: fails on valid input.
18628continue
18629fi
18630rm -f conftest.err conftest.i conftest.$ac_ext
18631
18632  # OK, works on sane cases.  Now check whether nonexistent headers
18633  # can be detected and how.
18634  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18635/* end confdefs.h.  */
18636#include <ac_nonexistent.h>
18637_ACEOF
18638if ac_fn_cxx_try_cpp "$LINENO"; then :
18639  # Broken: success on invalid input.
18640continue
18641else
18642  # Passes both tests.
18643ac_preproc_ok=:
18644break
18645fi
18646rm -f conftest.err conftest.i conftest.$ac_ext
18647
18648done
18649# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18650rm -f conftest.i conftest.err conftest.$ac_ext
18651if $ac_preproc_ok; then :
18652  break
18653fi
18654
18655    done
18656    ac_cv_prog_CXXCPP=$CXXCPP
18657
18658fi
18659  CXXCPP=$ac_cv_prog_CXXCPP
18660else
18661  ac_cv_prog_CXXCPP=$CXXCPP
18662fi
18663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
18664$as_echo "$CXXCPP" >&6; }
18665ac_preproc_ok=false
18666for ac_cxx_preproc_warn_flag in '' yes
18667do
18668  # Use a header file that comes with gcc, so configuring glibc
18669  # with a fresh cross-compiler works.
18670  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18671  # <limits.h> exists even on freestanding compilers.
18672  # On the NeXT, cc -E runs the code through the compiler's parser,
18673  # not just through cpp. "Syntax error" is here to catch this case.
18674  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18675/* end confdefs.h.  */
18676#ifdef __STDC__
18677# include <limits.h>
18678#else
18679# include <assert.h>
18680#endif
18681		     Syntax error
18682_ACEOF
18683if ac_fn_cxx_try_cpp "$LINENO"; then :
18684
18685else
18686  # Broken: fails on valid input.
18687continue
18688fi
18689rm -f conftest.err conftest.i conftest.$ac_ext
18690
18691  # OK, works on sane cases.  Now check whether nonexistent headers
18692  # can be detected and how.
18693  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18694/* end confdefs.h.  */
18695#include <ac_nonexistent.h>
18696_ACEOF
18697if ac_fn_cxx_try_cpp "$LINENO"; then :
18698  # Broken: success on invalid input.
18699continue
18700else
18701  # Passes both tests.
18702ac_preproc_ok=:
18703break
18704fi
18705rm -f conftest.err conftest.i conftest.$ac_ext
18706
18707done
18708# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18709rm -f conftest.i conftest.err conftest.$ac_ext
18710if $ac_preproc_ok; then :
18711
18712else
18713  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18714$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18715as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
18716See \`config.log' for more details" "$LINENO" 5; }
18717fi
18718
18719ac_ext=c
18720ac_cpp='$CPP $CPPFLAGS'
18721ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18722ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18723ac_compiler_gnu=$ac_cv_c_compiler_gnu
18724
18725else
18726  _lt_caught_CXX_error=yes
18727fi
18728
18729ac_ext=cpp
18730ac_cpp='$CXXCPP $CPPFLAGS'
18731ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18732ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18733ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18734
18735archive_cmds_need_lc_CXX=no
18736allow_undefined_flag_CXX=
18737always_export_symbols_CXX=no
18738archive_expsym_cmds_CXX=
18739compiler_needs_object_CXX=no
18740export_dynamic_flag_spec_CXX=
18741hardcode_direct_CXX=no
18742hardcode_direct_absolute_CXX=no
18743hardcode_libdir_flag_spec_CXX=
18744hardcode_libdir_separator_CXX=
18745hardcode_minus_L_CXX=no
18746hardcode_shlibpath_var_CXX=unsupported
18747hardcode_automatic_CXX=no
18748inherit_rpath_CXX=no
18749module_cmds_CXX=
18750module_expsym_cmds_CXX=
18751link_all_deplibs_CXX=unknown
18752old_archive_cmds_CXX=$old_archive_cmds
18753reload_flag_CXX=$reload_flag
18754reload_cmds_CXX=$reload_cmds
18755no_undefined_flag_CXX=
18756whole_archive_flag_spec_CXX=
18757enable_shared_with_static_runtimes_CXX=no
18758
18759# Source file extension for C++ test sources.
18760ac_ext=cpp
18761
18762# Object file extension for compiled C++ test sources.
18763objext=o
18764objext_CXX=$objext
18765
18766# No sense in running all these tests if we already determined that
18767# the CXX compiler isn't working.  Some variables (like enable_shared)
18768# are currently assumed to apply to all compilers on this platform,
18769# and will be corrupted by setting them based on a non-working compiler.
18770if test yes != "$_lt_caught_CXX_error"; then
18771  # Code to be used in simple compile tests
18772  lt_simple_compile_test_code="int some_variable = 0;"
18773
18774  # Code to be used in simple link tests
18775  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
18776
18777  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18778
18779
18780
18781
18782
18783
18784# If no C compiler was specified, use CC.
18785LTCC=${LTCC-"$CC"}
18786
18787# If no C compiler flags were specified, use CFLAGS.
18788LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18789
18790# Allow CC to be a program name with arguments.
18791compiler=$CC
18792
18793
18794  # save warnings/boilerplate of simple test code
18795  ac_outfile=conftest.$ac_objext
18796echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18797eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18798_lt_compiler_boilerplate=`cat conftest.err`
18799$RM conftest*
18800
18801  ac_outfile=conftest.$ac_objext
18802echo "$lt_simple_link_test_code" >conftest.$ac_ext
18803eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18804_lt_linker_boilerplate=`cat conftest.err`
18805$RM -r conftest*
18806
18807
18808  # Allow CC to be a program name with arguments.
18809  lt_save_CC=$CC
18810  lt_save_CFLAGS=$CFLAGS
18811  lt_save_LD=$LD
18812  lt_save_GCC=$GCC
18813  GCC=$GXX
18814  lt_save_with_gnu_ld=$with_gnu_ld
18815  lt_save_path_LD=$lt_cv_path_LD
18816  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18817    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18818  else
18819    $as_unset lt_cv_prog_gnu_ld
18820  fi
18821  if test -n "${lt_cv_path_LDCXX+set}"; then
18822    lt_cv_path_LD=$lt_cv_path_LDCXX
18823  else
18824    $as_unset lt_cv_path_LD
18825  fi
18826  test -z "${LDCXX+set}" || LD=$LDCXX
18827  CC=${CXX-"c++"}
18828  CFLAGS=$CXXFLAGS
18829  compiler=$CC
18830  compiler_CXX=$CC
18831  func_cc_basename $compiler
18832cc_basename=$func_cc_basename_result
18833
18834
18835  if test -n "$compiler"; then
18836    # We don't want -fno-exception when compiling C++ code, so set the
18837    # no_builtin_flag separately
18838    if test yes = "$GXX"; then
18839      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18840    else
18841      lt_prog_compiler_no_builtin_flag_CXX=
18842    fi
18843
18844    if test yes = "$GXX"; then
18845      # Set up default GNU C++ configuration
18846
18847
18848
18849# Check whether --with-gnu-ld was given.
18850if test "${with_gnu_ld+set}" = set; then :
18851  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
18852else
18853  with_gnu_ld=no
18854fi
18855
18856ac_prog=ld
18857if test yes = "$GCC"; then
18858  # Check if gcc -print-prog-name=ld gives a path.
18859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
18860$as_echo_n "checking for ld used by $CC... " >&6; }
18861  case $host in
18862  *-*-mingw*)
18863    # gcc leaves a trailing carriage return, which upsets mingw
18864    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18865  *)
18866    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18867  esac
18868  case $ac_prog in
18869    # Accept absolute paths.
18870    [\\/]* | ?:[\\/]*)
18871      re_direlt='/[^/][^/]*/\.\./'
18872      # Canonicalize the pathname of ld
18873      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18874      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18875	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18876      done
18877      test -z "$LD" && LD=$ac_prog
18878      ;;
18879  "")
18880    # If it fails, then pretend we aren't using GCC.
18881    ac_prog=ld
18882    ;;
18883  *)
18884    # If it is relative, then search for the first ld in PATH.
18885    with_gnu_ld=unknown
18886    ;;
18887  esac
18888elif test yes = "$with_gnu_ld"; then
18889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
18890$as_echo_n "checking for GNU ld... " >&6; }
18891else
18892  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
18893$as_echo_n "checking for non-GNU ld... " >&6; }
18894fi
18895if ${lt_cv_path_LD+:} false; then :
18896  $as_echo_n "(cached) " >&6
18897else
18898  if test -z "$LD"; then
18899  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
18900  for ac_dir in $PATH; do
18901    IFS=$lt_save_ifs
18902    test -z "$ac_dir" && ac_dir=.
18903    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18904      lt_cv_path_LD=$ac_dir/$ac_prog
18905      # Check to see if the program is GNU ld.  I'd rather use --version,
18906      # but apparently some variants of GNU ld only accept -v.
18907      # Break only if it was the GNU/non-GNU ld that we prefer.
18908      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18909      *GNU* | *'with BFD'*)
18910	test no != "$with_gnu_ld" && break
18911	;;
18912      *)
18913	test yes != "$with_gnu_ld" && break
18914	;;
18915      esac
18916    fi
18917  done
18918  IFS=$lt_save_ifs
18919else
18920  lt_cv_path_LD=$LD # Let the user override the test with a path.
18921fi
18922fi
18923
18924LD=$lt_cv_path_LD
18925if test -n "$LD"; then
18926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18927$as_echo "$LD" >&6; }
18928else
18929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18930$as_echo "no" >&6; }
18931fi
18932test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
18933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18934$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18935if ${lt_cv_prog_gnu_ld+:} false; then :
18936  $as_echo_n "(cached) " >&6
18937else
18938  # I'd rather use --version here, but apparently some GNU lds only accept -v.
18939case `$LD -v 2>&1 </dev/null` in
18940*GNU* | *'with BFD'*)
18941  lt_cv_prog_gnu_ld=yes
18942  ;;
18943*)
18944  lt_cv_prog_gnu_ld=no
18945  ;;
18946esac
18947fi
18948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
18949$as_echo "$lt_cv_prog_gnu_ld" >&6; }
18950with_gnu_ld=$lt_cv_prog_gnu_ld
18951
18952
18953
18954
18955
18956
18957
18958      # Check if GNU C++ uses GNU ld as the underlying linker, since the
18959      # archiving commands below assume that GNU ld is being used.
18960      if test yes = "$with_gnu_ld"; then
18961        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
18962        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
18963
18964        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
18965        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
18966
18967        # If archive_cmds runs LD, not CC, wlarc should be empty
18968        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18969        #     investigate it a little bit more. (MM)
18970        wlarc='$wl'
18971
18972        # ancient GNU ld didn't support --whole-archive et. al.
18973        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
18974	  $GREP 'no-whole-archive' > /dev/null; then
18975          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
18976        else
18977          whole_archive_flag_spec_CXX=
18978        fi
18979      else
18980        with_gnu_ld=no
18981        wlarc=
18982
18983        # A generic and very simple default shared library creation
18984        # command for GNU C++ for the case where it uses the native
18985        # linker, instead of GNU ld.  If possible, this setting should
18986        # overridden to take advantage of the native linker features on
18987        # the platform it is being used on.
18988        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18989      fi
18990
18991      # Commands to make compiler produce verbose output that lists
18992      # what "hidden" libraries, object files and flags are used when
18993      # linking a shared library.
18994      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
18995
18996    else
18997      GXX=no
18998      with_gnu_ld=no
18999      wlarc=
19000    fi
19001
19002    # PORTME: fill in a description of your system's C++ link characteristics
19003    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19004$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19005    ld_shlibs_CXX=yes
19006    case $host_os in
19007      aix3*)
19008        # FIXME: insert proper C++ library support
19009        ld_shlibs_CXX=no
19010        ;;
19011      aix[4-9]*)
19012        if test ia64 = "$host_cpu"; then
19013          # On IA64, the linker does run time linking by default, so we don't
19014          # have to do anything special.
19015          aix_use_runtimelinking=no
19016          exp_sym_flag='-Bexport'
19017          no_entry_flag=
19018        else
19019          aix_use_runtimelinking=no
19020
19021          # Test if we are trying to use run time linking or normal
19022          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19023          # have runtime linking enabled, and use it for executables.
19024          # For shared libraries, we enable/disable runtime linking
19025          # depending on the kind of the shared library created -
19026          # when "with_aix_soname,aix_use_runtimelinking" is:
19027          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
19028          # "aix,yes"  lib.so          shared, rtl:yes, for executables
19029          #            lib.a           static archive
19030          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
19031          #            lib.a(lib.so.V) shared, rtl:no,  for executables
19032          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
19033          #            lib.a(lib.so.V) shared, rtl:no
19034          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
19035          #            lib.a           static archive
19036          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
19037	    for ld_flag in $LDFLAGS; do
19038	      case $ld_flag in
19039	      *-brtl*)
19040	        aix_use_runtimelinking=yes
19041	        break
19042	        ;;
19043	      esac
19044	    done
19045	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
19046	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
19047	      # so we don't have lib.a shared libs to link our executables.
19048	      # We have to force runtime linking in this case.
19049	      aix_use_runtimelinking=yes
19050	      LDFLAGS="$LDFLAGS -Wl,-brtl"
19051	    fi
19052	    ;;
19053          esac
19054
19055          exp_sym_flag='-bexport'
19056          no_entry_flag='-bnoentry'
19057        fi
19058
19059        # When large executables or shared objects are built, AIX ld can
19060        # have problems creating the table of contents.  If linking a library
19061        # or program results in "error TOC overflow" add -mminimal-toc to
19062        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
19063        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19064
19065        archive_cmds_CXX=''
19066        hardcode_direct_CXX=yes
19067        hardcode_direct_absolute_CXX=yes
19068        hardcode_libdir_separator_CXX=':'
19069        link_all_deplibs_CXX=yes
19070        file_list_spec_CXX='$wl-f,'
19071        case $with_aix_soname,$aix_use_runtimelinking in
19072        aix,*) ;;	# no import file
19073        svr4,* | *,yes) # use import file
19074          # The Import File defines what to hardcode.
19075          hardcode_direct_CXX=no
19076          hardcode_direct_absolute_CXX=no
19077          ;;
19078        esac
19079
19080        if test yes = "$GXX"; then
19081          case $host_os in aix4.[012]|aix4.[012].*)
19082          # We only want to do this on AIX 4.2 and lower, the check
19083          # below for broken collect2 doesn't work under 4.3+
19084	  collect2name=`$CC -print-prog-name=collect2`
19085	  if test -f "$collect2name" &&
19086	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
19087	  then
19088	    # We have reworked collect2
19089	    :
19090	  else
19091	    # We have old collect2
19092	    hardcode_direct_CXX=unsupported
19093	    # It fails to find uninstalled libraries when the uninstalled
19094	    # path is not listed in the libpath.  Setting hardcode_minus_L
19095	    # to unsupported forces relinking
19096	    hardcode_minus_L_CXX=yes
19097	    hardcode_libdir_flag_spec_CXX='-L$libdir'
19098	    hardcode_libdir_separator_CXX=
19099	  fi
19100          esac
19101          shared_flag='-shared'
19102	  if test yes = "$aix_use_runtimelinking"; then
19103	    shared_flag=$shared_flag' $wl-G'
19104	  fi
19105	  # Need to ensure runtime linking is disabled for the traditional
19106	  # shared library, or the linker may eventually find shared libraries
19107	  # /with/ Import File - we do not want to mix them.
19108	  shared_flag_aix='-shared'
19109	  shared_flag_svr4='-shared $wl-G'
19110        else
19111          # not using gcc
19112          if test ia64 = "$host_cpu"; then
19113	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19114	  # chokes on -Wl,-G. The following line is correct:
19115	  shared_flag='-G'
19116          else
19117	    if test yes = "$aix_use_runtimelinking"; then
19118	      shared_flag='$wl-G'
19119	    else
19120	      shared_flag='$wl-bM:SRE'
19121	    fi
19122	    shared_flag_aix='$wl-bM:SRE'
19123	    shared_flag_svr4='$wl-G'
19124          fi
19125        fi
19126
19127        export_dynamic_flag_spec_CXX='$wl-bexpall'
19128        # It seems that -bexpall does not export symbols beginning with
19129        # underscore (_), so it is better to generate a list of symbols to
19130	# export.
19131        always_export_symbols_CXX=yes
19132	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
19133          # Warning - without using the other runtime loading flags (-brtl),
19134          # -berok will link without error, but may produce a broken library.
19135          # The "-G" linker flag allows undefined symbols.
19136          no_undefined_flag_CXX='-bernotok'
19137          # Determine the default libpath from the value encoded in an empty
19138          # executable.
19139          if test set = "${lt_cv_aix_libpath+set}"; then
19140  aix_libpath=$lt_cv_aix_libpath
19141else
19142  if ${lt_cv_aix_libpath__CXX+:} false; then :
19143  $as_echo_n "(cached) " >&6
19144else
19145  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19146/* end confdefs.h.  */
19147
19148int
19149main ()
19150{
19151
19152  ;
19153  return 0;
19154}
19155_ACEOF
19156if ac_fn_cxx_try_link "$LINENO"; then :
19157
19158  lt_aix_libpath_sed='
19159      /Import File Strings/,/^$/ {
19160	  /^0/ {
19161	      s/^0  *\([^ ]*\) *$/\1/
19162	      p
19163	  }
19164      }'
19165  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19166  # Check for a 64-bit object if we didn't find anything.
19167  if test -z "$lt_cv_aix_libpath__CXX"; then
19168    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19169  fi
19170fi
19171rm -f core conftest.err conftest.$ac_objext \
19172    conftest$ac_exeext conftest.$ac_ext
19173  if test -z "$lt_cv_aix_libpath__CXX"; then
19174    lt_cv_aix_libpath__CXX=/usr/lib:/lib
19175  fi
19176
19177fi
19178
19179  aix_libpath=$lt_cv_aix_libpath__CXX
19180fi
19181
19182          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
19183
19184          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
19185        else
19186          if test ia64 = "$host_cpu"; then
19187	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
19188	    allow_undefined_flag_CXX="-z nodefs"
19189	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
19190          else
19191	    # Determine the default libpath from the value encoded in an
19192	    # empty executable.
19193	    if test set = "${lt_cv_aix_libpath+set}"; then
19194  aix_libpath=$lt_cv_aix_libpath
19195else
19196  if ${lt_cv_aix_libpath__CXX+:} false; then :
19197  $as_echo_n "(cached) " >&6
19198else
19199  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19200/* end confdefs.h.  */
19201
19202int
19203main ()
19204{
19205
19206  ;
19207  return 0;
19208}
19209_ACEOF
19210if ac_fn_cxx_try_link "$LINENO"; then :
19211
19212  lt_aix_libpath_sed='
19213      /Import File Strings/,/^$/ {
19214	  /^0/ {
19215	      s/^0  *\([^ ]*\) *$/\1/
19216	      p
19217	  }
19218      }'
19219  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19220  # Check for a 64-bit object if we didn't find anything.
19221  if test -z "$lt_cv_aix_libpath__CXX"; then
19222    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19223  fi
19224fi
19225rm -f core conftest.err conftest.$ac_objext \
19226    conftest$ac_exeext conftest.$ac_ext
19227  if test -z "$lt_cv_aix_libpath__CXX"; then
19228    lt_cv_aix_libpath__CXX=/usr/lib:/lib
19229  fi
19230
19231fi
19232
19233  aix_libpath=$lt_cv_aix_libpath__CXX
19234fi
19235
19236	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
19237	    # Warning - without using the other run time loading flags,
19238	    # -berok will link without error, but may produce a broken library.
19239	    no_undefined_flag_CXX=' $wl-bernotok'
19240	    allow_undefined_flag_CXX=' $wl-berok'
19241	    if test yes = "$with_gnu_ld"; then
19242	      # We only use this code for GNU lds that support --whole-archive.
19243	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
19244	    else
19245	      # Exported symbols can be pulled into shared objects from archives
19246	      whole_archive_flag_spec_CXX='$convenience'
19247	    fi
19248	    archive_cmds_need_lc_CXX=yes
19249	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
19250	    # -brtl affects multiple linker settings, -berok does not and is overridden later
19251	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
19252	    if test svr4 != "$with_aix_soname"; then
19253	      # This is similar to how AIX traditionally builds its shared
19254	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
19255	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
19256	    fi
19257	    if test aix != "$with_aix_soname"; then
19258	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
19259	    else
19260	      # used by -dlpreopen to get the symbols
19261	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
19262	    fi
19263	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
19264          fi
19265        fi
19266        ;;
19267
19268      beos*)
19269	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
19270	  allow_undefined_flag_CXX=unsupported
19271	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19272	  # support --undefined.  This deserves some investigation.  FIXME
19273	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19274	else
19275	  ld_shlibs_CXX=no
19276	fi
19277	;;
19278
19279      chorus*)
19280        case $cc_basename in
19281          *)
19282	  # FIXME: insert proper C++ library support
19283	  ld_shlibs_CXX=no
19284	  ;;
19285        esac
19286        ;;
19287
19288      cygwin* | mingw* | pw32* | cegcc*)
19289	case $GXX,$cc_basename in
19290	,cl* | no,cl*)
19291	  # Native MSVC
19292	  # hardcode_libdir_flag_spec is actually meaningless, as there is
19293	  # no search path for DLLs.
19294	  hardcode_libdir_flag_spec_CXX=' '
19295	  allow_undefined_flag_CXX=unsupported
19296	  always_export_symbols_CXX=yes
19297	  file_list_spec_CXX='@'
19298	  # Tell ltmain to make .lib files, not .a files.
19299	  libext=lib
19300	  # Tell ltmain to make .dll files, not .so files.
19301	  shrext_cmds=.dll
19302	  # FIXME: Setting linknames here is a bad hack.
19303	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
19304	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
19305              cp "$export_symbols" "$output_objdir/$soname.def";
19306              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
19307            else
19308              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
19309            fi~
19310            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
19311            linknames='
19312	  # The linker will not automatically build a static lib if we build a DLL.
19313	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
19314	  enable_shared_with_static_runtimes_CXX=yes
19315	  # Don't use ranlib
19316	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
19317	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
19318            lt_tool_outputfile="@TOOL_OUTPUT@"~
19319            case $lt_outputfile in
19320              *.exe|*.EXE) ;;
19321              *)
19322                lt_outputfile=$lt_outputfile.exe
19323                lt_tool_outputfile=$lt_tool_outputfile.exe
19324                ;;
19325            esac~
19326            func_to_tool_file "$lt_outputfile"~
19327            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
19328              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
19329              $RM "$lt_outputfile.manifest";
19330            fi'
19331	  ;;
19332	*)
19333	  # g++
19334	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
19335	  # as there is no search path for DLLs.
19336	  hardcode_libdir_flag_spec_CXX='-L$libdir'
19337	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
19338	  allow_undefined_flag_CXX=unsupported
19339	  always_export_symbols_CXX=no
19340	  enable_shared_with_static_runtimes_CXX=yes
19341
19342	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
19343	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19344	    # If the export-symbols file already is a .def file, use it as
19345	    # is; otherwise, prepend EXPORTS...
19346	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
19347              cp $export_symbols $output_objdir/$soname.def;
19348            else
19349              echo EXPORTS > $output_objdir/$soname.def;
19350              cat $export_symbols >> $output_objdir/$soname.def;
19351            fi~
19352            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19353	  else
19354	    ld_shlibs_CXX=no
19355	  fi
19356	  ;;
19357	esac
19358	;;
19359      darwin* | rhapsody*)
19360
19361
19362  archive_cmds_need_lc_CXX=no
19363  hardcode_direct_CXX=no
19364  hardcode_automatic_CXX=yes
19365  hardcode_shlibpath_var_CXX=unsupported
19366  if test yes = "$lt_cv_ld_force_load"; then
19367    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
19368
19369  else
19370    whole_archive_flag_spec_CXX=''
19371  fi
19372  link_all_deplibs_CXX=yes
19373  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
19374  case $cc_basename in
19375     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
19376     *) _lt_dar_can_shared=$GCC ;;
19377  esac
19378  if test yes = "$_lt_dar_can_shared"; then
19379    output_verbose_link_cmd=func_echo_all
19380    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
19381    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
19382    archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
19383    module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
19384       if test yes != "$lt_cv_apple_cc_single_mod"; then
19385      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
19386      archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
19387    fi
19388
19389  else
19390  ld_shlibs_CXX=no
19391  fi
19392
19393	;;
19394
19395      os2*)
19396	hardcode_libdir_flag_spec_CXX='-L$libdir'
19397	hardcode_minus_L_CXX=yes
19398	allow_undefined_flag_CXX=unsupported
19399	shrext_cmds=.dll
19400	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
19401	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
19402	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
19403	  $ECHO EXPORTS >> $output_objdir/$libname.def~
19404	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
19405	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
19406	  emximp -o $lib $output_objdir/$libname.def'
19407	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
19408	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
19409	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
19410	  $ECHO EXPORTS >> $output_objdir/$libname.def~
19411	  prefix_cmds="$SED"~
19412	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
19413	    prefix_cmds="$prefix_cmds -e 1d";
19414	  fi~
19415	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
19416	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
19417	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
19418	  emximp -o $lib $output_objdir/$libname.def'
19419	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
19420	enable_shared_with_static_runtimes_CXX=yes
19421	;;
19422
19423      dgux*)
19424        case $cc_basename in
19425          ec++*)
19426	    # FIXME: insert proper C++ library support
19427	    ld_shlibs_CXX=no
19428	    ;;
19429          ghcx*)
19430	    # Green Hills C++ Compiler
19431	    # FIXME: insert proper C++ library support
19432	    ld_shlibs_CXX=no
19433	    ;;
19434          *)
19435	    # FIXME: insert proper C++ library support
19436	    ld_shlibs_CXX=no
19437	    ;;
19438        esac
19439        ;;
19440
19441      freebsd2.*)
19442        # C++ shared libraries reported to be fairly broken before
19443	# switch to ELF
19444        ld_shlibs_CXX=no
19445        ;;
19446
19447      freebsd-elf*)
19448        archive_cmds_need_lc_CXX=no
19449        ;;
19450
19451      freebsd* | dragonfly*)
19452        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
19453        # conventions
19454        ld_shlibs_CXX=yes
19455        ;;
19456
19457      haiku*)
19458        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19459        link_all_deplibs_CXX=yes
19460        ;;
19461
19462      hpux9*)
19463        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
19464        hardcode_libdir_separator_CXX=:
19465        export_dynamic_flag_spec_CXX='$wl-E'
19466        hardcode_direct_CXX=yes
19467        hardcode_minus_L_CXX=yes # Not in the search PATH,
19468				             # but as the default
19469				             # location of the library.
19470
19471        case $cc_basename in
19472          CC*)
19473            # FIXME: insert proper C++ library support
19474            ld_shlibs_CXX=no
19475            ;;
19476          aCC*)
19477            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
19478            # Commands to make compiler produce verbose output that lists
19479            # what "hidden" libraries, object files and flags are used when
19480            # linking a shared library.
19481            #
19482            # There doesn't appear to be a way to prevent this compiler from
19483            # explicitly linking system object files so we need to strip them
19484            # from the output so that they don't get included in the library
19485            # dependencies.
19486            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
19487            ;;
19488          *)
19489            if test yes = "$GXX"; then
19490              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
19491            else
19492              # FIXME: insert proper C++ library support
19493              ld_shlibs_CXX=no
19494            fi
19495            ;;
19496        esac
19497        ;;
19498
19499      hpux10*|hpux11*)
19500        if test no = "$with_gnu_ld"; then
19501	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
19502	  hardcode_libdir_separator_CXX=:
19503
19504          case $host_cpu in
19505            hppa*64*|ia64*)
19506              ;;
19507            *)
19508	      export_dynamic_flag_spec_CXX='$wl-E'
19509              ;;
19510          esac
19511        fi
19512        case $host_cpu in
19513          hppa*64*|ia64*)
19514            hardcode_direct_CXX=no
19515            hardcode_shlibpath_var_CXX=no
19516            ;;
19517          *)
19518            hardcode_direct_CXX=yes
19519            hardcode_direct_absolute_CXX=yes
19520            hardcode_minus_L_CXX=yes # Not in the search PATH,
19521					         # but as the default
19522					         # location of the library.
19523            ;;
19524        esac
19525
19526        case $cc_basename in
19527          CC*)
19528	    # FIXME: insert proper C++ library support
19529	    ld_shlibs_CXX=no
19530	    ;;
19531          aCC*)
19532	    case $host_cpu in
19533	      hppa*64*)
19534	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19535	        ;;
19536	      ia64*)
19537	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19538	        ;;
19539	      *)
19540	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19541	        ;;
19542	    esac
19543	    # Commands to make compiler produce verbose output that lists
19544	    # what "hidden" libraries, object files and flags are used when
19545	    # linking a shared library.
19546	    #
19547	    # There doesn't appear to be a way to prevent this compiler from
19548	    # explicitly linking system object files so we need to strip them
19549	    # from the output so that they don't get included in the library
19550	    # dependencies.
19551	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
19552	    ;;
19553          *)
19554	    if test yes = "$GXX"; then
19555	      if test no = "$with_gnu_ld"; then
19556	        case $host_cpu in
19557	          hppa*64*)
19558	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19559	            ;;
19560	          ia64*)
19561	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19562	            ;;
19563	          *)
19564	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19565	            ;;
19566	        esac
19567	      fi
19568	    else
19569	      # FIXME: insert proper C++ library support
19570	      ld_shlibs_CXX=no
19571	    fi
19572	    ;;
19573        esac
19574        ;;
19575
19576      interix[3-9]*)
19577	hardcode_direct_CXX=no
19578	hardcode_shlibpath_var_CXX=no
19579	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
19580	export_dynamic_flag_spec_CXX='$wl-E'
19581	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19582	# Instead, shared libraries are loaded at an image base (0x10000000 by
19583	# default) and relocated if they conflict, which is a slow very memory
19584	# consuming and fragmenting process.  To avoid this, we pick a random,
19585	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19586	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
19587	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19588	archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19589	;;
19590      irix5* | irix6*)
19591        case $cc_basename in
19592          CC*)
19593	    # SGI C++
19594	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
19595
19596	    # Archives containing C++ object files must be created using
19597	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
19598	    # necessary to make sure instantiated templates are included
19599	    # in the archive.
19600	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
19601	    ;;
19602          *)
19603	    if test yes = "$GXX"; then
19604	      if test no = "$with_gnu_ld"; then
19605	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
19606	      else
19607	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
19608	      fi
19609	    fi
19610	    link_all_deplibs_CXX=yes
19611	    ;;
19612        esac
19613        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
19614        hardcode_libdir_separator_CXX=:
19615        inherit_rpath_CXX=yes
19616        ;;
19617
19618      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
19619        case $cc_basename in
19620          KCC*)
19621	    # Kuck and Associates, Inc. (KAI) C++ Compiler
19622
19623	    # KCC will only create a shared library if the output file
19624	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
19625	    # to its proper name (with version) after linking.
19626	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
19627	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
19628	    # Commands to make compiler produce verbose output that lists
19629	    # what "hidden" libraries, object files and flags are used when
19630	    # linking a shared library.
19631	    #
19632	    # There doesn't appear to be a way to prevent this compiler from
19633	    # explicitly linking system object files so we need to strip them
19634	    # from the output so that they don't get included in the library
19635	    # dependencies.
19636	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
19637
19638	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
19639	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
19640
19641	    # Archives containing C++ object files must be created using
19642	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19643	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19644	    ;;
19645	  icpc* | ecpc* )
19646	    # Intel C++
19647	    with_gnu_ld=yes
19648	    # version 8.0 and above of icpc choke on multiply defined symbols
19649	    # if we add $predep_objects and $postdep_objects, however 7.1 and
19650	    # earlier do not add the objects themselves.
19651	    case `$CC -V 2>&1` in
19652	      *"Version 7."*)
19653	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
19654		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
19655		;;
19656	      *)  # Version 8.0 or newer
19657	        tmp_idyn=
19658	        case $host_cpu in
19659		  ia64*) tmp_idyn=' -i_dynamic';;
19660		esac
19661	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19662		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
19663		;;
19664	    esac
19665	    archive_cmds_need_lc_CXX=no
19666	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
19667	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
19668	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
19669	    ;;
19670          pgCC* | pgcpp*)
19671            # Portland Group C++ compiler
19672	    case `$CC -V` in
19673	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
19674	      prelink_cmds_CXX='tpldir=Template.dir~
19675               rm -rf $tpldir~
19676               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
19677               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
19678	      old_archive_cmds_CXX='tpldir=Template.dir~
19679                rm -rf $tpldir~
19680                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
19681                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
19682                $RANLIB $oldlib'
19683	      archive_cmds_CXX='tpldir=Template.dir~
19684                rm -rf $tpldir~
19685                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
19686                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
19687	      archive_expsym_cmds_CXX='tpldir=Template.dir~
19688                rm -rf $tpldir~
19689                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
19690                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
19691	      ;;
19692	    *) # Version 6 and above use weak symbols
19693	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
19694	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
19695	      ;;
19696	    esac
19697
19698	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
19699	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
19700	    whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
19701            ;;
19702	  cxx*)
19703	    # Compaq C++
19704	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
19705	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
19706
19707	    runpath_var=LD_RUN_PATH
19708	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19709	    hardcode_libdir_separator_CXX=:
19710
19711	    # Commands to make compiler produce verbose output that lists
19712	    # what "hidden" libraries, object files and flags are used when
19713	    # linking a shared library.
19714	    #
19715	    # There doesn't appear to be a way to prevent this compiler from
19716	    # explicitly linking system object files so we need to strip them
19717	    # from the output so that they don't get included in the library
19718	    # dependencies.
19719	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
19720	    ;;
19721	  xl* | mpixl* | bgxl*)
19722	    # IBM XL 8.0 on PPC, with GNU ld
19723	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
19724	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
19725	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19726	    if test yes = "$supports_anon_versioning"; then
19727	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
19728                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19729                echo "local: *; };" >> $output_objdir/$libname.ver~
19730                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
19731	    fi
19732	    ;;
19733	  *)
19734	    case `$CC -V 2>&1 | sed 5q` in
19735	    *Sun\ C*)
19736	      # Sun C++ 5.9
19737	      no_undefined_flag_CXX=' -zdefs'
19738	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19739	      archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
19740	      hardcode_libdir_flag_spec_CXX='-R$libdir'
19741	      whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
19742	      compiler_needs_object_CXX=yes
19743
19744	      # Not sure whether something based on
19745	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
19746	      # would be better.
19747	      output_verbose_link_cmd='func_echo_all'
19748
19749	      # Archives containing C++ object files must be created using
19750	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
19751	      # necessary to make sure instantiated templates are included
19752	      # in the archive.
19753	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19754	      ;;
19755	    esac
19756	    ;;
19757	esac
19758	;;
19759
19760      lynxos*)
19761        # FIXME: insert proper C++ library support
19762	ld_shlibs_CXX=no
19763	;;
19764
19765      m88k*)
19766        # FIXME: insert proper C++ library support
19767        ld_shlibs_CXX=no
19768	;;
19769
19770      mvs*)
19771        case $cc_basename in
19772          cxx*)
19773	    # FIXME: insert proper C++ library support
19774	    ld_shlibs_CXX=no
19775	    ;;
19776	  *)
19777	    # FIXME: insert proper C++ library support
19778	    ld_shlibs_CXX=no
19779	    ;;
19780	esac
19781	;;
19782
19783      netbsd*)
19784        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19785	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19786	  wlarc=
19787	  hardcode_libdir_flag_spec_CXX='-R$libdir'
19788	  hardcode_direct_CXX=yes
19789	  hardcode_shlibpath_var_CXX=no
19790	fi
19791	# Workaround some broken pre-1.5 toolchains
19792	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
19793	;;
19794
19795      *nto* | *qnx*)
19796        ld_shlibs_CXX=yes
19797	;;
19798
19799      openbsd* | bitrig*)
19800	if test -f /usr/libexec/ld.so; then
19801	  hardcode_direct_CXX=yes
19802	  hardcode_shlibpath_var_CXX=no
19803	  hardcode_direct_absolute_CXX=yes
19804	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19805	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
19806	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
19807	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
19808	    export_dynamic_flag_spec_CXX='$wl-E'
19809	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
19810	  fi
19811	  output_verbose_link_cmd=func_echo_all
19812	else
19813	  ld_shlibs_CXX=no
19814	fi
19815	;;
19816
19817      osf3* | osf4* | osf5*)
19818        case $cc_basename in
19819          KCC*)
19820	    # Kuck and Associates, Inc. (KAI) C++ Compiler
19821
19822	    # KCC will only create a shared library if the output file
19823	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
19824	    # to its proper name (with version) after linking.
19825	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
19826
19827	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
19828	    hardcode_libdir_separator_CXX=:
19829
19830	    # Archives containing C++ object files must be created using
19831	    # the KAI C++ compiler.
19832	    case $host in
19833	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
19834	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
19835	    esac
19836	    ;;
19837          RCC*)
19838	    # Rational C++ 2.4.1
19839	    # FIXME: insert proper C++ library support
19840	    ld_shlibs_CXX=no
19841	    ;;
19842          cxx*)
19843	    case $host in
19844	      osf3*)
19845	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
19846	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
19847	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
19848		;;
19849	      *)
19850	        allow_undefined_flag_CXX=' -expect_unresolved \*'
19851	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
19852	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19853                  echo "-hidden">> $lib.exp~
19854                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
19855                  $RM $lib.exp'
19856	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19857		;;
19858	    esac
19859
19860	    hardcode_libdir_separator_CXX=:
19861
19862	    # Commands to make compiler produce verbose output that lists
19863	    # what "hidden" libraries, object files and flags are used when
19864	    # linking a shared library.
19865	    #
19866	    # There doesn't appear to be a way to prevent this compiler from
19867	    # explicitly linking system object files so we need to strip them
19868	    # from the output so that they don't get included in the library
19869	    # dependencies.
19870	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
19871	    ;;
19872	  *)
19873	    if test yes,no = "$GXX,$with_gnu_ld"; then
19874	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
19875	      case $host in
19876	        osf3*)
19877	          archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
19878		  ;;
19879	        *)
19880	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
19881		  ;;
19882	      esac
19883
19884	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
19885	      hardcode_libdir_separator_CXX=:
19886
19887	      # Commands to make compiler produce verbose output that lists
19888	      # what "hidden" libraries, object files and flags are used when
19889	      # linking a shared library.
19890	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
19891
19892	    else
19893	      # FIXME: insert proper C++ library support
19894	      ld_shlibs_CXX=no
19895	    fi
19896	    ;;
19897        esac
19898        ;;
19899
19900      psos*)
19901        # FIXME: insert proper C++ library support
19902        ld_shlibs_CXX=no
19903        ;;
19904
19905      sunos4*)
19906        case $cc_basename in
19907          CC*)
19908	    # Sun C++ 4.x
19909	    # FIXME: insert proper C++ library support
19910	    ld_shlibs_CXX=no
19911	    ;;
19912          lcc*)
19913	    # Lucid
19914	    # FIXME: insert proper C++ library support
19915	    ld_shlibs_CXX=no
19916	    ;;
19917          *)
19918	    # FIXME: insert proper C++ library support
19919	    ld_shlibs_CXX=no
19920	    ;;
19921        esac
19922        ;;
19923
19924      solaris*)
19925        case $cc_basename in
19926          CC* | sunCC*)
19927	    # Sun C++ 4.2, 5.x and Centerline C++
19928            archive_cmds_need_lc_CXX=yes
19929	    no_undefined_flag_CXX=' -zdefs'
19930	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19931	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19932              $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19933
19934	    hardcode_libdir_flag_spec_CXX='-R$libdir'
19935	    hardcode_shlibpath_var_CXX=no
19936	    case $host_os in
19937	      solaris2.[0-5] | solaris2.[0-5].*) ;;
19938	      *)
19939		# The compiler driver will combine and reorder linker options,
19940		# but understands '-z linker_flag'.
19941	        # Supported since Solaris 2.6 (maybe 2.5.1?)
19942		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
19943	        ;;
19944	    esac
19945	    link_all_deplibs_CXX=yes
19946
19947	    output_verbose_link_cmd='func_echo_all'
19948
19949	    # Archives containing C++ object files must be created using
19950	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
19951	    # necessary to make sure instantiated templates are included
19952	    # in the archive.
19953	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19954	    ;;
19955          gcx*)
19956	    # Green Hills C++ Compiler
19957	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
19958
19959	    # The C++ compiler must be used to create the archive.
19960	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19961	    ;;
19962          *)
19963	    # GNU C++ compiler with Solaris linker
19964	    if test yes,no = "$GXX,$with_gnu_ld"; then
19965	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
19966	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
19967	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
19968	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19969                  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19970
19971	        # Commands to make compiler produce verbose output that lists
19972	        # what "hidden" libraries, object files and flags are used when
19973	        # linking a shared library.
19974	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
19975	      else
19976	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
19977	        # platform.
19978	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
19979	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19980                  $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19981
19982	        # Commands to make compiler produce verbose output that lists
19983	        # what "hidden" libraries, object files and flags are used when
19984	        # linking a shared library.
19985	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
19986	      fi
19987
19988	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
19989	      case $host_os in
19990		solaris2.[0-5] | solaris2.[0-5].*) ;;
19991		*)
19992		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
19993		  ;;
19994	      esac
19995	    fi
19996	    ;;
19997        esac
19998        ;;
19999
20000    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
20001      no_undefined_flag_CXX='$wl-z,text'
20002      archive_cmds_need_lc_CXX=no
20003      hardcode_shlibpath_var_CXX=no
20004      runpath_var='LD_RUN_PATH'
20005
20006      case $cc_basename in
20007        CC*)
20008	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20009	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20010	  ;;
20011	*)
20012	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20013	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20014	  ;;
20015      esac
20016      ;;
20017
20018      sysv5* | sco3.2v5* | sco5v6*)
20019	# Note: We CANNOT use -z defs as we might desire, because we do not
20020	# link with -lc, and that would cause any symbols used from libc to
20021	# always be unresolved, which means just about no library would
20022	# ever link correctly.  If we're not using GNU ld we use -z text
20023	# though, which does catch some bad symbols but isn't as heavy-handed
20024	# as -z defs.
20025	no_undefined_flag_CXX='$wl-z,text'
20026	allow_undefined_flag_CXX='$wl-z,nodefs'
20027	archive_cmds_need_lc_CXX=no
20028	hardcode_shlibpath_var_CXX=no
20029	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
20030	hardcode_libdir_separator_CXX=':'
20031	link_all_deplibs_CXX=yes
20032	export_dynamic_flag_spec_CXX='$wl-Bexport'
20033	runpath_var='LD_RUN_PATH'
20034
20035	case $cc_basename in
20036          CC*)
20037	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20038	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20039	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
20040              '"$old_archive_cmds_CXX"
20041	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
20042              '"$reload_cmds_CXX"
20043	    ;;
20044	  *)
20045	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20046	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20047	    ;;
20048	esac
20049      ;;
20050
20051      tandem*)
20052        case $cc_basename in
20053          NCC*)
20054	    # NonStop-UX NCC 3.20
20055	    # FIXME: insert proper C++ library support
20056	    ld_shlibs_CXX=no
20057	    ;;
20058          *)
20059	    # FIXME: insert proper C++ library support
20060	    ld_shlibs_CXX=no
20061	    ;;
20062        esac
20063        ;;
20064
20065      vxworks*)
20066        # FIXME: insert proper C++ library support
20067        ld_shlibs_CXX=no
20068        ;;
20069
20070      *)
20071        # FIXME: insert proper C++ library support
20072        ld_shlibs_CXX=no
20073        ;;
20074    esac
20075
20076    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
20077$as_echo "$ld_shlibs_CXX" >&6; }
20078    test no = "$ld_shlibs_CXX" && can_build_shared=no
20079
20080    GCC_CXX=$GXX
20081    LD_CXX=$LD
20082
20083    ## CAVEAT EMPTOR:
20084    ## There is no encapsulation within the following macros, do not change
20085    ## the running order or otherwise move them around unless you know exactly
20086    ## what you are doing...
20087    # Dependencies to place before and after the object being linked:
20088predep_objects_CXX=
20089postdep_objects_CXX=
20090predeps_CXX=
20091postdeps_CXX=
20092compiler_lib_search_path_CXX=
20093
20094cat > conftest.$ac_ext <<_LT_EOF
20095class Foo
20096{
20097public:
20098  Foo (void) { a = 0; }
20099private:
20100  int a;
20101};
20102_LT_EOF
20103
20104
20105_lt_libdeps_save_CFLAGS=$CFLAGS
20106case "$CC $CFLAGS " in #(
20107*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
20108*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
20109*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
20110esac
20111
20112if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
20113  (eval $ac_compile) 2>&5
20114  ac_status=$?
20115  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20116  test $ac_status = 0; }; then
20117  # Parse the compiler output and extract the necessary
20118  # objects, libraries and library flags.
20119
20120  # Sentinel used to keep track of whether or not we are before
20121  # the conftest object file.
20122  pre_test_object_deps_done=no
20123
20124  for p in `eval "$output_verbose_link_cmd"`; do
20125    case $prev$p in
20126
20127    -L* | -R* | -l*)
20128       # Some compilers place space between "-{L,R}" and the path.
20129       # Remove the space.
20130       if test x-L = "$p" ||
20131          test x-R = "$p"; then
20132	 prev=$p
20133	 continue
20134       fi
20135
20136       # Expand the sysroot to ease extracting the directories later.
20137       if test -z "$prev"; then
20138         case $p in
20139         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
20140         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
20141         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
20142         esac
20143       fi
20144       case $p in
20145       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
20146       esac
20147       if test no = "$pre_test_object_deps_done"; then
20148	 case $prev in
20149	 -L | -R)
20150	   # Internal compiler library paths should come after those
20151	   # provided the user.  The postdeps already come after the
20152	   # user supplied libs so there is no need to process them.
20153	   if test -z "$compiler_lib_search_path_CXX"; then
20154	     compiler_lib_search_path_CXX=$prev$p
20155	   else
20156	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
20157	   fi
20158	   ;;
20159	 # The "-l" case would never come before the object being
20160	 # linked, so don't bother handling this case.
20161	 esac
20162       else
20163	 if test -z "$postdeps_CXX"; then
20164	   postdeps_CXX=$prev$p
20165	 else
20166	   postdeps_CXX="${postdeps_CXX} $prev$p"
20167	 fi
20168       fi
20169       prev=
20170       ;;
20171
20172    *.lto.$objext) ;; # Ignore GCC LTO objects
20173    *.$objext)
20174       # This assumes that the test object file only shows up
20175       # once in the compiler output.
20176       if test "$p" = "conftest.$objext"; then
20177	 pre_test_object_deps_done=yes
20178	 continue
20179       fi
20180
20181       if test no = "$pre_test_object_deps_done"; then
20182	 if test -z "$predep_objects_CXX"; then
20183	   predep_objects_CXX=$p
20184	 else
20185	   predep_objects_CXX="$predep_objects_CXX $p"
20186	 fi
20187       else
20188	 if test -z "$postdep_objects_CXX"; then
20189	   postdep_objects_CXX=$p
20190	 else
20191	   postdep_objects_CXX="$postdep_objects_CXX $p"
20192	 fi
20193       fi
20194       ;;
20195
20196    *) ;; # Ignore the rest.
20197
20198    esac
20199  done
20200
20201  # Clean up.
20202  rm -f a.out a.exe
20203else
20204  echo "libtool.m4: error: problem compiling CXX test program"
20205fi
20206
20207$RM -f confest.$objext
20208CFLAGS=$_lt_libdeps_save_CFLAGS
20209
20210# PORTME: override above test on systems where it is broken
20211case $host_os in
20212interix[3-9]*)
20213  # Interix 3.5 installs completely hosed .la files for C++, so rather than
20214  # hack all around it, let's just trust "g++" to DTRT.
20215  predep_objects_CXX=
20216  postdep_objects_CXX=
20217  postdeps_CXX=
20218  ;;
20219esac
20220
20221
20222case " $postdeps_CXX " in
20223*" -lc "*) archive_cmds_need_lc_CXX=no ;;
20224esac
20225 compiler_lib_search_dirs_CXX=
20226if test -n "${compiler_lib_search_path_CXX}"; then
20227 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
20228fi
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260    lt_prog_compiler_wl_CXX=
20261lt_prog_compiler_pic_CXX=
20262lt_prog_compiler_static_CXX=
20263
20264
20265  # C++ specific cases for pic, static, wl, etc.
20266  if test yes = "$GXX"; then
20267    lt_prog_compiler_wl_CXX='-Wl,'
20268    lt_prog_compiler_static_CXX='-static'
20269
20270    case $host_os in
20271    aix*)
20272      # All AIX code is PIC.
20273      if test ia64 = "$host_cpu"; then
20274	# AIX 5 now supports IA64 processor
20275	lt_prog_compiler_static_CXX='-Bstatic'
20276      fi
20277      lt_prog_compiler_pic_CXX='-fPIC'
20278      ;;
20279
20280    amigaos*)
20281      case $host_cpu in
20282      powerpc)
20283            # see comment about AmigaOS4 .so support
20284            lt_prog_compiler_pic_CXX='-fPIC'
20285        ;;
20286      m68k)
20287            # FIXME: we need at least 68020 code to build shared libraries, but
20288            # adding the '-m68020' flag to GCC prevents building anything better,
20289            # like '-m68040'.
20290            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
20291        ;;
20292      esac
20293      ;;
20294
20295    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20296      # PIC is the default for these OSes.
20297      ;;
20298    mingw* | cygwin* | os2* | pw32* | cegcc*)
20299      # This hack is so that the source file can tell whether it is being
20300      # built for inclusion in a dll (and should export symbols for example).
20301      # Although the cygwin gcc ignores -fPIC, still need this for old-style
20302      # (--disable-auto-import) libraries
20303      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
20304      case $host_os in
20305      os2*)
20306	lt_prog_compiler_static_CXX='$wl-static'
20307	;;
20308      esac
20309      ;;
20310    darwin* | rhapsody*)
20311      # PIC is the default on this platform
20312      # Common symbols not allowed in MH_DYLIB files
20313      lt_prog_compiler_pic_CXX='-fno-common'
20314      ;;
20315    *djgpp*)
20316      # DJGPP does not support shared libraries at all
20317      lt_prog_compiler_pic_CXX=
20318      ;;
20319    haiku*)
20320      # PIC is the default for Haiku.
20321      # The "-static" flag exists, but is broken.
20322      lt_prog_compiler_static_CXX=
20323      ;;
20324    interix[3-9]*)
20325      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
20326      # Instead, we relocate shared libraries at runtime.
20327      ;;
20328    sysv4*MP*)
20329      if test -d /usr/nec; then
20330	lt_prog_compiler_pic_CXX=-Kconform_pic
20331      fi
20332      ;;
20333    hpux*)
20334      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
20335      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
20336      # sets the default TLS model and affects inlining.
20337      case $host_cpu in
20338      hppa*64*)
20339	;;
20340      *)
20341	lt_prog_compiler_pic_CXX='-fPIC'
20342	;;
20343      esac
20344      ;;
20345    *qnx* | *nto*)
20346      # QNX uses GNU C++, but need to define -shared option too, otherwise
20347      # it will coredump.
20348      lt_prog_compiler_pic_CXX='-fPIC -shared'
20349      ;;
20350    *)
20351      lt_prog_compiler_pic_CXX='-fPIC'
20352      ;;
20353    esac
20354  else
20355    case $host_os in
20356      aix[4-9]*)
20357	# All AIX code is PIC.
20358	if test ia64 = "$host_cpu"; then
20359	  # AIX 5 now supports IA64 processor
20360	  lt_prog_compiler_static_CXX='-Bstatic'
20361	else
20362	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
20363	fi
20364	;;
20365      chorus*)
20366	case $cc_basename in
20367	cxch68*)
20368	  # Green Hills C++ Compiler
20369	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
20370	  ;;
20371	esac
20372	;;
20373      mingw* | cygwin* | os2* | pw32* | cegcc*)
20374	# This hack is so that the source file can tell whether it is being
20375	# built for inclusion in a dll (and should export symbols for example).
20376	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
20377	;;
20378      dgux*)
20379	case $cc_basename in
20380	  ec++*)
20381	    lt_prog_compiler_pic_CXX='-KPIC'
20382	    ;;
20383	  ghcx*)
20384	    # Green Hills C++ Compiler
20385	    lt_prog_compiler_pic_CXX='-pic'
20386	    ;;
20387	  *)
20388	    ;;
20389	esac
20390	;;
20391      freebsd* | dragonfly*)
20392	# FreeBSD uses GNU C++
20393	;;
20394      hpux9* | hpux10* | hpux11*)
20395	case $cc_basename in
20396	  CC*)
20397	    lt_prog_compiler_wl_CXX='-Wl,'
20398	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
20399	    if test ia64 != "$host_cpu"; then
20400	      lt_prog_compiler_pic_CXX='+Z'
20401	    fi
20402	    ;;
20403	  aCC*)
20404	    lt_prog_compiler_wl_CXX='-Wl,'
20405	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
20406	    case $host_cpu in
20407	    hppa*64*|ia64*)
20408	      # +Z the default
20409	      ;;
20410	    *)
20411	      lt_prog_compiler_pic_CXX='+Z'
20412	      ;;
20413	    esac
20414	    ;;
20415	  *)
20416	    ;;
20417	esac
20418	;;
20419      interix*)
20420	# This is c89, which is MS Visual C++ (no shared libs)
20421	# Anyone wants to do a port?
20422	;;
20423      irix5* | irix6* | nonstopux*)
20424	case $cc_basename in
20425	  CC*)
20426	    lt_prog_compiler_wl_CXX='-Wl,'
20427	    lt_prog_compiler_static_CXX='-non_shared'
20428	    # CC pic flag -KPIC is the default.
20429	    ;;
20430	  *)
20431	    ;;
20432	esac
20433	;;
20434      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
20435	case $cc_basename in
20436	  KCC*)
20437	    # KAI C++ Compiler
20438	    lt_prog_compiler_wl_CXX='--backend -Wl,'
20439	    lt_prog_compiler_pic_CXX='-fPIC'
20440	    ;;
20441	  ecpc* )
20442	    # old Intel C++ for x86_64, which still supported -KPIC.
20443	    lt_prog_compiler_wl_CXX='-Wl,'
20444	    lt_prog_compiler_pic_CXX='-KPIC'
20445	    lt_prog_compiler_static_CXX='-static'
20446	    ;;
20447	  icpc* )
20448	    # Intel C++, used to be incompatible with GCC.
20449	    # ICC 10 doesn't accept -KPIC any more.
20450	    lt_prog_compiler_wl_CXX='-Wl,'
20451	    lt_prog_compiler_pic_CXX='-fPIC'
20452	    lt_prog_compiler_static_CXX='-static'
20453	    ;;
20454	  pgCC* | pgcpp*)
20455	    # Portland Group C++ compiler
20456	    lt_prog_compiler_wl_CXX='-Wl,'
20457	    lt_prog_compiler_pic_CXX='-fpic'
20458	    lt_prog_compiler_static_CXX='-Bstatic'
20459	    ;;
20460	  cxx*)
20461	    # Compaq C++
20462	    # Make sure the PIC flag is empty.  It appears that all Alpha
20463	    # Linux and Compaq Tru64 Unix objects are PIC.
20464	    lt_prog_compiler_pic_CXX=
20465	    lt_prog_compiler_static_CXX='-non_shared'
20466	    ;;
20467	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
20468	    # IBM XL 8.0, 9.0 on PPC and BlueGene
20469	    lt_prog_compiler_wl_CXX='-Wl,'
20470	    lt_prog_compiler_pic_CXX='-qpic'
20471	    lt_prog_compiler_static_CXX='-qstaticlink'
20472	    ;;
20473	  *)
20474	    case `$CC -V 2>&1 | sed 5q` in
20475	    *Sun\ C*)
20476	      # Sun C++ 5.9
20477	      lt_prog_compiler_pic_CXX='-KPIC'
20478	      lt_prog_compiler_static_CXX='-Bstatic'
20479	      lt_prog_compiler_wl_CXX='-Qoption ld '
20480	      ;;
20481	    esac
20482	    ;;
20483	esac
20484	;;
20485      lynxos*)
20486	;;
20487      m88k*)
20488	;;
20489      mvs*)
20490	case $cc_basename in
20491	  cxx*)
20492	    lt_prog_compiler_pic_CXX='-W c,exportall'
20493	    ;;
20494	  *)
20495	    ;;
20496	esac
20497	;;
20498      netbsd* | netbsdelf*-gnu)
20499	;;
20500      *qnx* | *nto*)
20501        # QNX uses GNU C++, but need to define -shared option too, otherwise
20502        # it will coredump.
20503        lt_prog_compiler_pic_CXX='-fPIC -shared'
20504        ;;
20505      osf3* | osf4* | osf5*)
20506	case $cc_basename in
20507	  KCC*)
20508	    lt_prog_compiler_wl_CXX='--backend -Wl,'
20509	    ;;
20510	  RCC*)
20511	    # Rational C++ 2.4.1
20512	    lt_prog_compiler_pic_CXX='-pic'
20513	    ;;
20514	  cxx*)
20515	    # Digital/Compaq C++
20516	    lt_prog_compiler_wl_CXX='-Wl,'
20517	    # Make sure the PIC flag is empty.  It appears that all Alpha
20518	    # Linux and Compaq Tru64 Unix objects are PIC.
20519	    lt_prog_compiler_pic_CXX=
20520	    lt_prog_compiler_static_CXX='-non_shared'
20521	    ;;
20522	  *)
20523	    ;;
20524	esac
20525	;;
20526      psos*)
20527	;;
20528      solaris*)
20529	case $cc_basename in
20530	  CC* | sunCC*)
20531	    # Sun C++ 4.2, 5.x and Centerline C++
20532	    lt_prog_compiler_pic_CXX='-KPIC'
20533	    lt_prog_compiler_static_CXX='-Bstatic'
20534	    lt_prog_compiler_wl_CXX='-Qoption ld '
20535	    ;;
20536	  gcx*)
20537	    # Green Hills C++ Compiler
20538	    lt_prog_compiler_pic_CXX='-PIC'
20539	    ;;
20540	  *)
20541	    ;;
20542	esac
20543	;;
20544      sunos4*)
20545	case $cc_basename in
20546	  CC*)
20547	    # Sun C++ 4.x
20548	    lt_prog_compiler_pic_CXX='-pic'
20549	    lt_prog_compiler_static_CXX='-Bstatic'
20550	    ;;
20551	  lcc*)
20552	    # Lucid
20553	    lt_prog_compiler_pic_CXX='-pic'
20554	    ;;
20555	  *)
20556	    ;;
20557	esac
20558	;;
20559      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
20560	case $cc_basename in
20561	  CC*)
20562	    lt_prog_compiler_wl_CXX='-Wl,'
20563	    lt_prog_compiler_pic_CXX='-KPIC'
20564	    lt_prog_compiler_static_CXX='-Bstatic'
20565	    ;;
20566	esac
20567	;;
20568      tandem*)
20569	case $cc_basename in
20570	  NCC*)
20571	    # NonStop-UX NCC 3.20
20572	    lt_prog_compiler_pic_CXX='-KPIC'
20573	    ;;
20574	  *)
20575	    ;;
20576	esac
20577	;;
20578      vxworks*)
20579	;;
20580      *)
20581	lt_prog_compiler_can_build_shared_CXX=no
20582	;;
20583    esac
20584  fi
20585
20586case $host_os in
20587  # For platforms that do not support PIC, -DPIC is meaningless:
20588  *djgpp*)
20589    lt_prog_compiler_pic_CXX=
20590    ;;
20591  *)
20592    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
20593    ;;
20594esac
20595
20596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
20597$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
20598if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
20599  $as_echo_n "(cached) " >&6
20600else
20601  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
20602fi
20603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
20604$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
20605lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
20606
20607#
20608# Check to make sure the PIC flag actually works.
20609#
20610if test -n "$lt_prog_compiler_pic_CXX"; then
20611  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
20612$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
20613if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
20614  $as_echo_n "(cached) " >&6
20615else
20616  lt_cv_prog_compiler_pic_works_CXX=no
20617   ac_outfile=conftest.$ac_objext
20618   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20619   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
20620   # Insert the option either (1) after the last *FLAGS variable, or
20621   # (2) before a word containing "conftest.", or (3) at the end.
20622   # Note that $ac_compile itself does not contain backslashes and begins
20623   # with a dollar sign (not a hyphen), so the echo should work correctly.
20624   # The option is referenced via a variable to avoid confusing sed.
20625   lt_compile=`echo "$ac_compile" | $SED \
20626   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20627   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20628   -e 's:$: $lt_compiler_flag:'`
20629   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20630   (eval "$lt_compile" 2>conftest.err)
20631   ac_status=$?
20632   cat conftest.err >&5
20633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634   if (exit $ac_status) && test -s "$ac_outfile"; then
20635     # The compiler can only warn and ignore the option if not recognized
20636     # So say no if there are warnings other than the usual output.
20637     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
20638     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20639     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20640       lt_cv_prog_compiler_pic_works_CXX=yes
20641     fi
20642   fi
20643   $RM conftest*
20644
20645fi
20646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
20647$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
20648
20649if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
20650    case $lt_prog_compiler_pic_CXX in
20651     "" | " "*) ;;
20652     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
20653     esac
20654else
20655    lt_prog_compiler_pic_CXX=
20656     lt_prog_compiler_can_build_shared_CXX=no
20657fi
20658
20659fi
20660
20661
20662
20663
20664
20665#
20666# Check to make sure the static flag actually works.
20667#
20668wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
20669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20670$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
20671if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
20672  $as_echo_n "(cached) " >&6
20673else
20674  lt_cv_prog_compiler_static_works_CXX=no
20675   save_LDFLAGS=$LDFLAGS
20676   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20677   echo "$lt_simple_link_test_code" > conftest.$ac_ext
20678   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20679     # The linker can only warn and ignore the option if not recognized
20680     # So say no if there are warnings
20681     if test -s conftest.err; then
20682       # Append any errors to the config.log.
20683       cat conftest.err 1>&5
20684       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
20685       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20686       if diff conftest.exp conftest.er2 >/dev/null; then
20687         lt_cv_prog_compiler_static_works_CXX=yes
20688       fi
20689     else
20690       lt_cv_prog_compiler_static_works_CXX=yes
20691     fi
20692   fi
20693   $RM -r conftest*
20694   LDFLAGS=$save_LDFLAGS
20695
20696fi
20697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
20698$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
20699
20700if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
20701    :
20702else
20703    lt_prog_compiler_static_CXX=
20704fi
20705
20706
20707
20708
20709    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
20710$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20711if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
20712  $as_echo_n "(cached) " >&6
20713else
20714  lt_cv_prog_compiler_c_o_CXX=no
20715   $RM -r conftest 2>/dev/null
20716   mkdir conftest
20717   cd conftest
20718   mkdir out
20719   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20720
20721   lt_compiler_flag="-o out/conftest2.$ac_objext"
20722   # Insert the option either (1) after the last *FLAGS variable, or
20723   # (2) before a word containing "conftest.", or (3) at the end.
20724   # Note that $ac_compile itself does not contain backslashes and begins
20725   # with a dollar sign (not a hyphen), so the echo should work correctly.
20726   lt_compile=`echo "$ac_compile" | $SED \
20727   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20728   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20729   -e 's:$: $lt_compiler_flag:'`
20730   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20731   (eval "$lt_compile" 2>out/conftest.err)
20732   ac_status=$?
20733   cat out/conftest.err >&5
20734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735   if (exit $ac_status) && test -s out/conftest2.$ac_objext
20736   then
20737     # The compiler can only warn and ignore the option if not recognized
20738     # So say no if there are warnings
20739     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
20740     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20741     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20742       lt_cv_prog_compiler_c_o_CXX=yes
20743     fi
20744   fi
20745   chmod u+w . 2>&5
20746   $RM conftest*
20747   # SGI C++ compiler will create directory out/ii_files/ for
20748   # template instantiation
20749   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
20750   $RM out/* && rmdir out
20751   cd ..
20752   $RM -r conftest
20753   $RM conftest*
20754
20755fi
20756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20757$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
20758
20759
20760
20761    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
20762$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20763if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
20764  $as_echo_n "(cached) " >&6
20765else
20766  lt_cv_prog_compiler_c_o_CXX=no
20767   $RM -r conftest 2>/dev/null
20768   mkdir conftest
20769   cd conftest
20770   mkdir out
20771   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20772
20773   lt_compiler_flag="-o out/conftest2.$ac_objext"
20774   # Insert the option either (1) after the last *FLAGS variable, or
20775   # (2) before a word containing "conftest.", or (3) at the end.
20776   # Note that $ac_compile itself does not contain backslashes and begins
20777   # with a dollar sign (not a hyphen), so the echo should work correctly.
20778   lt_compile=`echo "$ac_compile" | $SED \
20779   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20780   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20781   -e 's:$: $lt_compiler_flag:'`
20782   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20783   (eval "$lt_compile" 2>out/conftest.err)
20784   ac_status=$?
20785   cat out/conftest.err >&5
20786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787   if (exit $ac_status) && test -s out/conftest2.$ac_objext
20788   then
20789     # The compiler can only warn and ignore the option if not recognized
20790     # So say no if there are warnings
20791     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
20792     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20793     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20794       lt_cv_prog_compiler_c_o_CXX=yes
20795     fi
20796   fi
20797   chmod u+w . 2>&5
20798   $RM conftest*
20799   # SGI C++ compiler will create directory out/ii_files/ for
20800   # template instantiation
20801   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
20802   $RM out/* && rmdir out
20803   cd ..
20804   $RM -r conftest
20805   $RM conftest*
20806
20807fi
20808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20809$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
20810
20811
20812
20813
20814hard_links=nottested
20815if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
20816  # do not overwrite the value of need_locks provided by the user
20817  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
20818$as_echo_n "checking if we can lock with hard links... " >&6; }
20819  hard_links=yes
20820  $RM conftest*
20821  ln conftest.a conftest.b 2>/dev/null && hard_links=no
20822  touch conftest.a
20823  ln conftest.a conftest.b 2>&5 || hard_links=no
20824  ln conftest.a conftest.b 2>/dev/null && hard_links=no
20825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
20826$as_echo "$hard_links" >&6; }
20827  if test no = "$hard_links"; then
20828    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
20829$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
20830    need_locks=warn
20831  fi
20832else
20833  need_locks=no
20834fi
20835
20836
20837
20838    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20839$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20840
20841  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20842  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
20843  case $host_os in
20844  aix[4-9]*)
20845    # If we're using GNU nm, then we don't want the "-C" option.
20846    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
20847    # Without the "-l" option, or with the "-B" option, AIX nm treats
20848    # weak defined symbols like other global defined symbols, whereas
20849    # GNU nm marks them as "W".
20850    # While the 'weak' keyword is ignored in the Export File, we need
20851    # it in the Import File for the 'aix-soname' feature, so we have
20852    # to replace the "-B" option with "-P" for AIX nm.
20853    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
20854      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
20855    else
20856      export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
20857    fi
20858    ;;
20859  pw32*)
20860    export_symbols_cmds_CXX=$ltdll_cmds
20861    ;;
20862  cygwin* | mingw* | cegcc*)
20863    case $cc_basename in
20864    cl*)
20865      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
20866      ;;
20867    *)
20868      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
20869      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
20870      ;;
20871    esac
20872    ;;
20873  linux* | k*bsd*-gnu | gnu*)
20874    link_all_deplibs_CXX=no
20875    ;;
20876  *)
20877    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20878    ;;
20879  esac
20880
20881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
20882$as_echo "$ld_shlibs_CXX" >&6; }
20883test no = "$ld_shlibs_CXX" && can_build_shared=no
20884
20885with_gnu_ld_CXX=$with_gnu_ld
20886
20887
20888
20889
20890
20891
20892#
20893# Do we need to explicitly link libc?
20894#
20895case "x$archive_cmds_need_lc_CXX" in
20896x|xyes)
20897  # Assume -lc should be added
20898  archive_cmds_need_lc_CXX=yes
20899
20900  if test yes,yes = "$GCC,$enable_shared"; then
20901    case $archive_cmds_CXX in
20902    *'~'*)
20903      # FIXME: we may have to deal with multi-command sequences.
20904      ;;
20905    '$CC '*)
20906      # Test whether the compiler implicitly links with -lc since on some
20907      # systems, -lgcc has to come before -lc. If gcc already passes -lc
20908      # to ld, don't add -lc before -lgcc.
20909      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
20910$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20911if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
20912  $as_echo_n "(cached) " >&6
20913else
20914  $RM conftest*
20915	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20916
20917	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
20918  (eval $ac_compile) 2>&5
20919  ac_status=$?
20920  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20921  test $ac_status = 0; } 2>conftest.err; then
20922	  soname=conftest
20923	  lib=conftest
20924	  libobjs=conftest.$ac_objext
20925	  deplibs=
20926	  wl=$lt_prog_compiler_wl_CXX
20927	  pic_flag=$lt_prog_compiler_pic_CXX
20928	  compiler_flags=-v
20929	  linker_flags=-v
20930	  verstring=
20931	  output_objdir=.
20932	  libname=conftest
20933	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
20934	  allow_undefined_flag_CXX=
20935	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
20936  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
20937  ac_status=$?
20938  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20939  test $ac_status = 0; }
20940	  then
20941	    lt_cv_archive_cmds_need_lc_CXX=no
20942	  else
20943	    lt_cv_archive_cmds_need_lc_CXX=yes
20944	  fi
20945	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
20946	else
20947	  cat conftest.err 1>&5
20948	fi
20949	$RM conftest*
20950
20951fi
20952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
20953$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
20954      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
20955      ;;
20956    esac
20957  fi
20958  ;;
20959esac
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
21023$as_echo_n "checking dynamic linker characteristics... " >&6; }
21024
21025library_names_spec=
21026libname_spec='lib$name'
21027soname_spec=
21028shrext_cmds=.so
21029postinstall_cmds=
21030postuninstall_cmds=
21031finish_cmds=
21032finish_eval=
21033shlibpath_var=
21034shlibpath_overrides_runpath=unknown
21035version_type=none
21036dynamic_linker="$host_os ld.so"
21037sys_lib_dlsearch_path_spec="/lib /usr/lib"
21038need_lib_prefix=unknown
21039hardcode_into_libs=no
21040
21041# when you set need_version to no, make sure it does not cause -set_version
21042# flags to be left without arguments
21043need_version=unknown
21044
21045
21046
21047case $host_os in
21048aix3*)
21049  version_type=linux # correct to gnu/linux during the next big refactor
21050  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
21051  shlibpath_var=LIBPATH
21052
21053  # AIX 3 has no versioning support, so we append a major version to the name.
21054  soname_spec='$libname$release$shared_ext$major'
21055  ;;
21056
21057aix[4-9]*)
21058  version_type=linux # correct to gnu/linux during the next big refactor
21059  need_lib_prefix=no
21060  need_version=no
21061  hardcode_into_libs=yes
21062  if test ia64 = "$host_cpu"; then
21063    # AIX 5 supports IA64
21064    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
21065    shlibpath_var=LD_LIBRARY_PATH
21066  else
21067    # With GCC up to 2.95.x, collect2 would create an import file
21068    # for dependence libraries.  The import file would start with
21069    # the line '#! .'.  This would cause the generated library to
21070    # depend on '.', always an invalid library.  This was fixed in
21071    # development snapshots of GCC prior to 3.0.
21072    case $host_os in
21073      aix4 | aix4.[01] | aix4.[01].*)
21074      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
21075	   echo ' yes '
21076	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
21077	:
21078      else
21079	can_build_shared=no
21080      fi
21081      ;;
21082    esac
21083    # Using Import Files as archive members, it is possible to support
21084    # filename-based versioning of shared library archives on AIX. While
21085    # this would work for both with and without runtime linking, it will
21086    # prevent static linking of such archives. So we do filename-based
21087    # shared library versioning with .so extension only, which is used
21088    # when both runtime linking and shared linking is enabled.
21089    # Unfortunately, runtime linking may impact performance, so we do
21090    # not want this to be the default eventually. Also, we use the
21091    # versioned .so libs for executables only if there is the -brtl
21092    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
21093    # To allow for filename-based versioning support, we need to create
21094    # libNAME.so.V as an archive file, containing:
21095    # *) an Import File, referring to the versioned filename of the
21096    #    archive as well as the shared archive member, telling the
21097    #    bitwidth (32 or 64) of that shared object, and providing the
21098    #    list of exported symbols of that shared object, eventually
21099    #    decorated with the 'weak' keyword
21100    # *) the shared object with the F_LOADONLY flag set, to really avoid
21101    #    it being seen by the linker.
21102    # At run time we better use the real file rather than another symlink,
21103    # but for link time we create the symlink libNAME.so -> libNAME.so.V
21104
21105    case $with_aix_soname,$aix_use_runtimelinking in
21106    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
21107    # soname into executable. Probably we can add versioning support to
21108    # collect2, so additional links can be useful in future.
21109    aix,yes) # traditional libtool
21110      dynamic_linker='AIX unversionable lib.so'
21111      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
21112      # instead of lib<name>.a to let people know that these are not
21113      # typical AIX shared libraries.
21114      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21115      ;;
21116    aix,no) # traditional AIX only
21117      dynamic_linker='AIX lib.a(lib.so.V)'
21118      # We preserve .a as extension for shared libraries through AIX4.2
21119      # and later when we are not doing run time linking.
21120      library_names_spec='$libname$release.a $libname.a'
21121      soname_spec='$libname$release$shared_ext$major'
21122      ;;
21123    svr4,*) # full svr4 only
21124      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
21125      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
21126      # We do not specify a path in Import Files, so LIBPATH fires.
21127      shlibpath_overrides_runpath=yes
21128      ;;
21129    *,yes) # both, prefer svr4
21130      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
21131      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
21132      # unpreferred sharedlib libNAME.a needs extra handling
21133      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"'
21134      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"'
21135      # We do not specify a path in Import Files, so LIBPATH fires.
21136      shlibpath_overrides_runpath=yes
21137      ;;
21138    *,no) # both, prefer aix
21139      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
21140      library_names_spec='$libname$release.a $libname.a'
21141      soname_spec='$libname$release$shared_ext$major'
21142      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
21143      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)'
21144      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"'
21145      ;;
21146    esac
21147    shlibpath_var=LIBPATH
21148  fi
21149  ;;
21150
21151amigaos*)
21152  case $host_cpu in
21153  powerpc)
21154    # Since July 2007 AmigaOS4 officially supports .so libraries.
21155    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
21156    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21157    ;;
21158  m68k)
21159    library_names_spec='$libname.ixlibrary $libname.a'
21160    # Create ${libname}_ixlibrary.a entries in /sys/libs.
21161    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'
21162    ;;
21163  esac
21164  ;;
21165
21166beos*)
21167  library_names_spec='$libname$shared_ext'
21168  dynamic_linker="$host_os ld.so"
21169  shlibpath_var=LIBRARY_PATH
21170  ;;
21171
21172bsdi[45]*)
21173  version_type=linux # correct to gnu/linux during the next big refactor
21174  need_version=no
21175  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21176  soname_spec='$libname$release$shared_ext$major'
21177  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
21178  shlibpath_var=LD_LIBRARY_PATH
21179  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
21180  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
21181  # the default ld.so.conf also contains /usr/contrib/lib and
21182  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
21183  # libtool to hard-code these into programs
21184  ;;
21185
21186cygwin* | mingw* | pw32* | cegcc*)
21187  version_type=windows
21188  shrext_cmds=.dll
21189  need_version=no
21190  need_lib_prefix=no
21191
21192  case $GCC,$cc_basename in
21193  yes,*)
21194    # gcc
21195    library_names_spec='$libname.dll.a'
21196    # DLL is installed to $(libdir)/../bin by postinstall_cmds
21197    postinstall_cmds='base_file=`basename \$file`~
21198      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
21199      dldir=$destdir/`dirname \$dlpath`~
21200      test -d \$dldir || mkdir -p \$dldir~
21201      $install_prog $dir/$dlname \$dldir/$dlname~
21202      chmod a+x \$dldir/$dlname~
21203      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
21204        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
21205      fi'
21206    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21207      dlpath=$dir/\$dldll~
21208       $RM \$dlpath'
21209    shlibpath_overrides_runpath=yes
21210
21211    case $host_os in
21212    cygwin*)
21213      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
21214      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
21215
21216      ;;
21217    mingw* | cegcc*)
21218      # MinGW DLLs use traditional 'lib' prefix
21219      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
21220      ;;
21221    pw32*)
21222      # pw32 DLLs use 'pw' prefix rather than 'lib'
21223      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
21224      ;;
21225    esac
21226    dynamic_linker='Win32 ld.exe'
21227    ;;
21228
21229  *,cl*)
21230    # Native MSVC
21231    libname_spec='$name'
21232    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
21233    library_names_spec='$libname.dll.lib'
21234
21235    case $build_os in
21236    mingw*)
21237      sys_lib_search_path_spec=
21238      lt_save_ifs=$IFS
21239      IFS=';'
21240      for lt_path in $LIB
21241      do
21242        IFS=$lt_save_ifs
21243        # Let DOS variable expansion print the short 8.3 style file name.
21244        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
21245        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
21246      done
21247      IFS=$lt_save_ifs
21248      # Convert to MSYS style.
21249      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
21250      ;;
21251    cygwin*)
21252      # Convert to unix form, then to dos form, then back to unix form
21253      # but this time dos style (no spaces!) so that the unix form looks
21254      # like /cygdrive/c/PROGRA~1:/cygdr...
21255      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
21256      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
21257      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21258      ;;
21259    *)
21260      sys_lib_search_path_spec=$LIB
21261      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
21262        # It is most probably a Windows format PATH.
21263        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21264      else
21265        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21266      fi
21267      # FIXME: find the short name or the path components, as spaces are
21268      # common. (e.g. "Program Files" -> "PROGRA~1")
21269      ;;
21270    esac
21271
21272    # DLL is installed to $(libdir)/../bin by postinstall_cmds
21273    postinstall_cmds='base_file=`basename \$file`~
21274      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
21275      dldir=$destdir/`dirname \$dlpath`~
21276      test -d \$dldir || mkdir -p \$dldir~
21277      $install_prog $dir/$dlname \$dldir/$dlname'
21278    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21279      dlpath=$dir/\$dldll~
21280       $RM \$dlpath'
21281    shlibpath_overrides_runpath=yes
21282    dynamic_linker='Win32 link.exe'
21283    ;;
21284
21285  *)
21286    # Assume MSVC wrapper
21287    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
21288    dynamic_linker='Win32 ld.exe'
21289    ;;
21290  esac
21291  # FIXME: first we should search . and the directory the executable is in
21292  shlibpath_var=PATH
21293  ;;
21294
21295darwin* | rhapsody*)
21296  dynamic_linker="$host_os dyld"
21297  version_type=darwin
21298  need_lib_prefix=no
21299  need_version=no
21300  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
21301  soname_spec='$libname$release$major$shared_ext'
21302  shlibpath_overrides_runpath=yes
21303  shlibpath_var=DYLD_LIBRARY_PATH
21304  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
21305
21306  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
21307  ;;
21308
21309dgux*)
21310  version_type=linux # correct to gnu/linux during the next big refactor
21311  need_lib_prefix=no
21312  need_version=no
21313  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21314  soname_spec='$libname$release$shared_ext$major'
21315  shlibpath_var=LD_LIBRARY_PATH
21316  ;;
21317
21318freebsd* | dragonfly*)
21319  # DragonFly does not have aout.  When/if they implement a new
21320  # versioning mechanism, adjust this.
21321  if test -x /usr/bin/objformat; then
21322    objformat=`/usr/bin/objformat`
21323  else
21324    case $host_os in
21325    freebsd[23].*) objformat=aout ;;
21326    *) objformat=elf ;;
21327    esac
21328  fi
21329  version_type=freebsd-$objformat
21330  case $version_type in
21331    freebsd-elf*)
21332      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21333      soname_spec='$libname$release$shared_ext$major'
21334      need_version=no
21335      need_lib_prefix=no
21336      ;;
21337    freebsd-*)
21338      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
21339      need_version=yes
21340      ;;
21341  esac
21342  shlibpath_var=LD_LIBRARY_PATH
21343  case $host_os in
21344  freebsd2.*)
21345    shlibpath_overrides_runpath=yes
21346    ;;
21347  freebsd3.[01]* | freebsdelf3.[01]*)
21348    shlibpath_overrides_runpath=yes
21349    hardcode_into_libs=yes
21350    ;;
21351  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
21352  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
21353    shlibpath_overrides_runpath=no
21354    hardcode_into_libs=yes
21355    ;;
21356  *) # from 4.6 on, and DragonFly
21357    shlibpath_overrides_runpath=yes
21358    hardcode_into_libs=yes
21359    ;;
21360  esac
21361  ;;
21362
21363haiku*)
21364  version_type=linux # correct to gnu/linux during the next big refactor
21365  need_lib_prefix=no
21366  need_version=no
21367  dynamic_linker="$host_os runtime_loader"
21368  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21369  soname_spec='$libname$release$shared_ext$major'
21370  shlibpath_var=LIBRARY_PATH
21371  shlibpath_overrides_runpath=no
21372  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
21373  hardcode_into_libs=yes
21374  ;;
21375
21376hpux9* | hpux10* | hpux11*)
21377  # Give a soname corresponding to the major version so that dld.sl refuses to
21378  # link against other versions.
21379  version_type=sunos
21380  need_lib_prefix=no
21381  need_version=no
21382  case $host_cpu in
21383  ia64*)
21384    shrext_cmds='.so'
21385    hardcode_into_libs=yes
21386    dynamic_linker="$host_os dld.so"
21387    shlibpath_var=LD_LIBRARY_PATH
21388    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21389    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21390    soname_spec='$libname$release$shared_ext$major'
21391    if test 32 = "$HPUX_IA64_MODE"; then
21392      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21393      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
21394    else
21395      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
21396      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
21397    fi
21398    ;;
21399  hppa*64*)
21400    shrext_cmds='.sl'
21401    hardcode_into_libs=yes
21402    dynamic_linker="$host_os dld.sl"
21403    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
21404    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21405    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21406    soname_spec='$libname$release$shared_ext$major'
21407    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21408    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21409    ;;
21410  *)
21411    shrext_cmds='.sl'
21412    dynamic_linker="$host_os dld.sl"
21413    shlibpath_var=SHLIB_PATH
21414    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
21415    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21416    soname_spec='$libname$release$shared_ext$major'
21417    ;;
21418  esac
21419  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
21420  postinstall_cmds='chmod 555 $lib'
21421  # or fails outright, so override atomically:
21422  install_override_mode=555
21423  ;;
21424
21425interix[3-9]*)
21426  version_type=linux # correct to gnu/linux during the next big refactor
21427  need_lib_prefix=no
21428  need_version=no
21429  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21430  soname_spec='$libname$release$shared_ext$major'
21431  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
21432  shlibpath_var=LD_LIBRARY_PATH
21433  shlibpath_overrides_runpath=no
21434  hardcode_into_libs=yes
21435  ;;
21436
21437irix5* | irix6* | nonstopux*)
21438  case $host_os in
21439    nonstopux*) version_type=nonstopux ;;
21440    *)
21441	if test yes = "$lt_cv_prog_gnu_ld"; then
21442		version_type=linux # correct to gnu/linux during the next big refactor
21443	else
21444		version_type=irix
21445	fi ;;
21446  esac
21447  need_lib_prefix=no
21448  need_version=no
21449  soname_spec='$libname$release$shared_ext$major'
21450  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
21451  case $host_os in
21452  irix5* | nonstopux*)
21453    libsuff= shlibsuff=
21454    ;;
21455  *)
21456    case $LD in # libtool.m4 will add one of these switches to LD
21457    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
21458      libsuff= shlibsuff= libmagic=32-bit;;
21459    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
21460      libsuff=32 shlibsuff=N32 libmagic=N32;;
21461    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
21462      libsuff=64 shlibsuff=64 libmagic=64-bit;;
21463    *) libsuff= shlibsuff= libmagic=never-match;;
21464    esac
21465    ;;
21466  esac
21467  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
21468  shlibpath_overrides_runpath=no
21469  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
21470  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
21471  hardcode_into_libs=yes
21472  ;;
21473
21474# No shared lib support for Linux oldld, aout, or coff.
21475linux*oldld* | linux*aout* | linux*coff*)
21476  dynamic_linker=no
21477  ;;
21478
21479linux*android*)
21480  version_type=none # Android doesn't support versioned libraries.
21481  need_lib_prefix=no
21482  need_version=no
21483  library_names_spec='$libname$release$shared_ext'
21484  soname_spec='$libname$release$shared_ext'
21485  finish_cmds=
21486  shlibpath_var=LD_LIBRARY_PATH
21487  shlibpath_overrides_runpath=yes
21488
21489  # This implies no fast_install, which is unacceptable.
21490  # Some rework will be needed to allow for fast_install
21491  # before this can be enabled.
21492  hardcode_into_libs=yes
21493
21494  dynamic_linker='Android linker'
21495  # Don't embed -rpath directories since the linker doesn't support them.
21496  hardcode_libdir_flag_spec_CXX='-L$libdir'
21497  ;;
21498
21499# This must be glibc/ELF.
21500linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
21501  version_type=linux # correct to gnu/linux during the next big refactor
21502  need_lib_prefix=no
21503  need_version=no
21504  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21505  soname_spec='$libname$release$shared_ext$major'
21506  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21507  shlibpath_var=LD_LIBRARY_PATH
21508  shlibpath_overrides_runpath=no
21509
21510  # Some binutils ld are patched to set DT_RUNPATH
21511  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
21512  $as_echo_n "(cached) " >&6
21513else
21514  lt_cv_shlibpath_overrides_runpath=no
21515    save_LDFLAGS=$LDFLAGS
21516    save_libdir=$libdir
21517    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
21518	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
21519    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21520/* end confdefs.h.  */
21521
21522int
21523main ()
21524{
21525
21526  ;
21527  return 0;
21528}
21529_ACEOF
21530if ac_fn_cxx_try_link "$LINENO"; then :
21531  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
21532  lt_cv_shlibpath_overrides_runpath=yes
21533fi
21534fi
21535rm -f core conftest.err conftest.$ac_objext \
21536    conftest$ac_exeext conftest.$ac_ext
21537    LDFLAGS=$save_LDFLAGS
21538    libdir=$save_libdir
21539
21540fi
21541
21542  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
21543
21544  # This implies no fast_install, which is unacceptable.
21545  # Some rework will be needed to allow for fast_install
21546  # before this can be enabled.
21547  hardcode_into_libs=yes
21548
21549  # Ideally, we could use ldconfig to report *all* directores which are
21550  # searched for libraries, however this is still not possible.  Aside from not
21551  # being certain /sbin/ldconfig is available, command
21552  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
21553  # even though it is searched at run-time.  Try to do the best guess by
21554  # appending ld.so.conf contents (and includes) to the search path.
21555  if test -f /etc/ld.so.conf; then
21556    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' ' '`
21557    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
21558  fi
21559
21560  # We used to test for /lib/ld.so.1 and disable shared libraries on
21561  # powerpc, because MkLinux only supported shared libraries with the
21562  # GNU dynamic linker.  Since this was broken with cross compilers,
21563  # most powerpc-linux boxes support dynamic linking these days and
21564  # people can always --disable-shared, the test was removed, and we
21565  # assume the GNU/Linux dynamic linker is in use.
21566  dynamic_linker='GNU/Linux ld.so'
21567  ;;
21568
21569netbsdelf*-gnu)
21570  version_type=linux
21571  need_lib_prefix=no
21572  need_version=no
21573  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21574  soname_spec='${libname}${release}${shared_ext}$major'
21575  shlibpath_var=LD_LIBRARY_PATH
21576  shlibpath_overrides_runpath=no
21577  hardcode_into_libs=yes
21578  dynamic_linker='NetBSD ld.elf_so'
21579  ;;
21580
21581netbsd*)
21582  version_type=sunos
21583  need_lib_prefix=no
21584  need_version=no
21585  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
21586    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
21587    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21588    dynamic_linker='NetBSD (a.out) ld.so'
21589  else
21590    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21591    soname_spec='$libname$release$shared_ext$major'
21592    dynamic_linker='NetBSD ld.elf_so'
21593  fi
21594  shlibpath_var=LD_LIBRARY_PATH
21595  shlibpath_overrides_runpath=yes
21596  hardcode_into_libs=yes
21597  ;;
21598
21599newsos6)
21600  version_type=linux # correct to gnu/linux during the next big refactor
21601  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21602  shlibpath_var=LD_LIBRARY_PATH
21603  shlibpath_overrides_runpath=yes
21604  ;;
21605
21606*nto* | *qnx*)
21607  version_type=qnx
21608  need_lib_prefix=no
21609  need_version=no
21610  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21611  soname_spec='$libname$release$shared_ext$major'
21612  shlibpath_var=LD_LIBRARY_PATH
21613  shlibpath_overrides_runpath=no
21614  hardcode_into_libs=yes
21615  dynamic_linker='ldqnx.so'
21616  ;;
21617
21618openbsd* | bitrig*)
21619  version_type=sunos
21620  sys_lib_dlsearch_path_spec=/usr/lib
21621  need_lib_prefix=no
21622  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
21623    need_version=no
21624  else
21625    need_version=yes
21626  fi
21627  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
21628  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21629  shlibpath_var=LD_LIBRARY_PATH
21630  shlibpath_overrides_runpath=yes
21631  ;;
21632
21633os2*)
21634  libname_spec='$name'
21635  version_type=windows
21636  shrext_cmds=.dll
21637  need_version=no
21638  need_lib_prefix=no
21639  # OS/2 can only load a DLL with a base name of 8 characters or less.
21640  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
21641    v=$($ECHO $release$versuffix | tr -d .-);
21642    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
21643    $ECHO $n$v`$shared_ext'
21644  library_names_spec='${libname}_dll.$libext'
21645  dynamic_linker='OS/2 ld.exe'
21646  shlibpath_var=BEGINLIBPATH
21647  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
21648  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21649  postinstall_cmds='base_file=`basename \$file`~
21650    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
21651    dldir=$destdir/`dirname \$dlpath`~
21652    test -d \$dldir || mkdir -p \$dldir~
21653    $install_prog $dir/$dlname \$dldir/$dlname~
21654    chmod a+x \$dldir/$dlname~
21655    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
21656      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
21657    fi'
21658  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
21659    dlpath=$dir/\$dldll~
21660    $RM \$dlpath'
21661  ;;
21662
21663osf3* | osf4* | osf5*)
21664  version_type=osf
21665  need_lib_prefix=no
21666  need_version=no
21667  soname_spec='$libname$release$shared_ext$major'
21668  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21669  shlibpath_var=LD_LIBRARY_PATH
21670  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21671  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21672  ;;
21673
21674rdos*)
21675  dynamic_linker=no
21676  ;;
21677
21678solaris*)
21679  version_type=linux # correct to gnu/linux during the next big refactor
21680  need_lib_prefix=no
21681  need_version=no
21682  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21683  soname_spec='$libname$release$shared_ext$major'
21684  shlibpath_var=LD_LIBRARY_PATH
21685  shlibpath_overrides_runpath=yes
21686  hardcode_into_libs=yes
21687  # ldd complains unless libraries are executable
21688  postinstall_cmds='chmod +x $lib'
21689  ;;
21690
21691sunos4*)
21692  version_type=sunos
21693  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
21694  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21695  shlibpath_var=LD_LIBRARY_PATH
21696  shlibpath_overrides_runpath=yes
21697  if test yes = "$with_gnu_ld"; then
21698    need_lib_prefix=no
21699  fi
21700  need_version=yes
21701  ;;
21702
21703sysv4 | sysv4.3*)
21704  version_type=linux # correct to gnu/linux during the next big refactor
21705  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21706  soname_spec='$libname$release$shared_ext$major'
21707  shlibpath_var=LD_LIBRARY_PATH
21708  case $host_vendor in
21709    sni)
21710      shlibpath_overrides_runpath=no
21711      need_lib_prefix=no
21712      runpath_var=LD_RUN_PATH
21713      ;;
21714    siemens)
21715      need_lib_prefix=no
21716      ;;
21717    motorola)
21718      need_lib_prefix=no
21719      need_version=no
21720      shlibpath_overrides_runpath=no
21721      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21722      ;;
21723  esac
21724  ;;
21725
21726sysv4*MP*)
21727  if test -d /usr/nec; then
21728    version_type=linux # correct to gnu/linux during the next big refactor
21729    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
21730    soname_spec='$libname$shared_ext.$major'
21731    shlibpath_var=LD_LIBRARY_PATH
21732  fi
21733  ;;
21734
21735sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
21736  version_type=sco
21737  need_lib_prefix=no
21738  need_version=no
21739  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
21740  soname_spec='$libname$release$shared_ext$major'
21741  shlibpath_var=LD_LIBRARY_PATH
21742  shlibpath_overrides_runpath=yes
21743  hardcode_into_libs=yes
21744  if test yes = "$with_gnu_ld"; then
21745    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
21746  else
21747    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
21748    case $host_os in
21749      sco3.2v5*)
21750        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
21751	;;
21752    esac
21753  fi
21754  sys_lib_dlsearch_path_spec='/usr/lib'
21755  ;;
21756
21757tpf*)
21758  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
21759  version_type=linux # correct to gnu/linux during the next big refactor
21760  need_lib_prefix=no
21761  need_version=no
21762  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21763  shlibpath_var=LD_LIBRARY_PATH
21764  shlibpath_overrides_runpath=no
21765  hardcode_into_libs=yes
21766  ;;
21767
21768uts4*)
21769  version_type=linux # correct to gnu/linux during the next big refactor
21770  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21771  soname_spec='$libname$release$shared_ext$major'
21772  shlibpath_var=LD_LIBRARY_PATH
21773  ;;
21774
21775*)
21776  dynamic_linker=no
21777  ;;
21778esac
21779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
21780$as_echo "$dynamic_linker" >&6; }
21781test no = "$dynamic_linker" && can_build_shared=no
21782
21783variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21784if test yes = "$GCC"; then
21785  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21786fi
21787
21788if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
21789  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
21790fi
21791
21792if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
21793  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
21794fi
21795
21796# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
21797configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
21798
21799# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
21800func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
21801
21802# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
21803configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
21845$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
21846hardcode_action_CXX=
21847if test -n "$hardcode_libdir_flag_spec_CXX" ||
21848   test -n "$runpath_var_CXX" ||
21849   test yes = "$hardcode_automatic_CXX"; then
21850
21851  # We can hardcode non-existent directories.
21852  if test no != "$hardcode_direct_CXX" &&
21853     # If the only mechanism to avoid hardcoding is shlibpath_var, we
21854     # have to relink, otherwise we might link with an installed library
21855     # when we should be linking with a yet-to-be-installed one
21856     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
21857     test no != "$hardcode_minus_L_CXX"; then
21858    # Linking always hardcodes the temporary library directory.
21859    hardcode_action_CXX=relink
21860  else
21861    # We can link without hardcoding, and we can hardcode nonexisting dirs.
21862    hardcode_action_CXX=immediate
21863  fi
21864else
21865  # We cannot hardcode anything, or else we can only hardcode existing
21866  # directories.
21867  hardcode_action_CXX=unsupported
21868fi
21869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
21870$as_echo "$hardcode_action_CXX" >&6; }
21871
21872if test relink = "$hardcode_action_CXX" ||
21873   test yes = "$inherit_rpath_CXX"; then
21874  # Fast installation is not supported
21875  enable_fast_install=no
21876elif test yes = "$shlibpath_overrides_runpath" ||
21877     test no = "$enable_shared"; then
21878  # Fast installation is not necessary
21879  enable_fast_install=needless
21880fi
21881
21882
21883
21884
21885
21886
21887
21888  fi # test -n "$compiler"
21889
21890  CC=$lt_save_CC
21891  CFLAGS=$lt_save_CFLAGS
21892  LDCXX=$LD
21893  LD=$lt_save_LD
21894  GCC=$lt_save_GCC
21895  with_gnu_ld=$lt_save_with_gnu_ld
21896  lt_cv_path_LDCXX=$lt_cv_path_LD
21897  lt_cv_path_LD=$lt_save_path_LD
21898  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
21899  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
21900fi # test yes != "$_lt_caught_CXX_error"
21901
21902ac_ext=c
21903ac_cpp='$CPP $CPPFLAGS'
21904ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21905ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21906ac_compiler_gnu=$ac_cv_c_compiler_gnu
21907
21908
21909# Extract the first word of "$CXX", so it can be a program name with args.
21910set dummy $CXX; ac_word=$2
21911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21912$as_echo_n "checking for $ac_word... " >&6; }
21913if ${ac_cv_prog_HAVE_CXX+:} false; then :
21914  $as_echo_n "(cached) " >&6
21915else
21916  if test -n "$HAVE_CXX"; then
21917  ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
21918else
21919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21920for as_dir in $PATH
21921do
21922  IFS=$as_save_IFS
21923  test -z "$as_dir" && as_dir=.
21924    for ac_exec_ext in '' $ac_executable_extensions; do
21925  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21926    ac_cv_prog_HAVE_CXX="yes"
21927    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21928    break 2
21929  fi
21930done
21931  done
21932IFS=$as_save_IFS
21933
21934  test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
21935fi
21936fi
21937HAVE_CXX=$ac_cv_prog_HAVE_CXX
21938if test -n "$HAVE_CXX"; then
21939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CXX" >&5
21940$as_echo "$HAVE_CXX" >&6; }
21941else
21942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21943$as_echo "no" >&6; }
21944fi
21945
21946
21947
21948
21949
21950# Extract the first word of "valgrind", so it can be a program name with args.
21951set dummy valgrind; ac_word=$2
21952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21953$as_echo_n "checking for $ac_word... " >&6; }
21954if ${ac_cv_path_VALGRIND_PATH+:} false; then :
21955  $as_echo_n "(cached) " >&6
21956else
21957  case $VALGRIND_PATH in
21958  [\\/]* | ?:[\\/]*)
21959  ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
21960  ;;
21961  *)
21962  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21963for as_dir in $PATH
21964do
21965  IFS=$as_save_IFS
21966  test -z "$as_dir" && as_dir=.
21967    for ac_exec_ext in '' $ac_executable_extensions; do
21968  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21969    ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
21970    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21971    break 2
21972  fi
21973done
21974  done
21975IFS=$as_save_IFS
21976
21977  test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
21978  ;;
21979esac
21980fi
21981VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
21982if test -n "$VALGRIND_PATH"; then
21983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
21984$as_echo "$VALGRIND_PATH" >&6; }
21985else
21986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21987$as_echo "no" >&6; }
21988fi
21989
21990
21991 if test ! "x$VALGRIND_PATH" = "xno"; then
21992  HAVE_VALGRIND_TRUE=
21993  HAVE_VALGRIND_FALSE='#'
21994else
21995  HAVE_VALGRIND_TRUE='#'
21996  HAVE_VALGRIND_FALSE=
21997fi
21998
21999
22000
22001
22002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working do while(0) macros" >&5
22003$as_echo_n "checking for working do while(0) macros... " >&6; }
22004if ${_cv_g_support_dowhile_macros+:} false; then :
22005  $as_echo_n "(cached) " >&6
22006else
22007
22008	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22009/* end confdefs.h.  */
22010
22011int
22012main ()
22013{
22014
22015	#define STMT_START do
22016	#define STMT_END while(0)
22017	#define STMT_TEST STMT_START { i = 0; } STMT_END
22018	int main(void) { int i = 1; STMT_TEST; return i; }
22019  ;
22020  return 0;
22021}
22022_ACEOF
22023if ac_fn_c_try_compile "$LINENO"; then :
22024  _cv_g_support_dowhile_macros=yes
22025else
22026  _cv_g_support_dowhile_macros=no
22027fi
22028rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22029
22030fi
22031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_g_support_dowhile_macros" >&5
22032$as_echo "$_cv_g_support_dowhile_macros" >&6; }
22033if test x$_cv_g_support_dowhile_macros = xyes; then
22034
22035$as_echo "#define HAVE_DOWHILE_MACROS 1" >>confdefs.h
22036
22037fi
22038
22039
22040
22041
22042
22043    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
22044set dummy gtkdoc-check; ac_word=$2
22045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22046$as_echo_n "checking for $ac_word... " >&6; }
22047if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
22048  $as_echo_n "(cached) " >&6
22049else
22050  case $GTKDOC_CHECK in
22051  [\\/]* | ?:[\\/]*)
22052  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
22053  ;;
22054  *)
22055  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22056for as_dir in $PATH
22057do
22058  IFS=$as_save_IFS
22059  test -z "$as_dir" && as_dir=.
22060    for ac_exec_ext in '' $ac_executable_extensions; do
22061  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22062    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
22063    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22064    break 2
22065  fi
22066done
22067  done
22068IFS=$as_save_IFS
22069
22070  ;;
22071esac
22072fi
22073GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
22074if test -n "$GTKDOC_CHECK"; then
22075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
22076$as_echo "$GTKDOC_CHECK" >&6; }
22077else
22078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22079$as_echo "no" >&6; }
22080fi
22081
22082
22083  for ac_prog in gtkdoc-rebase
22084do
22085  # Extract the first word of "$ac_prog", so it can be a program name with args.
22086set dummy $ac_prog; ac_word=$2
22087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22088$as_echo_n "checking for $ac_word... " >&6; }
22089if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
22090  $as_echo_n "(cached) " >&6
22091else
22092  case $GTKDOC_REBASE in
22093  [\\/]* | ?:[\\/]*)
22094  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
22095  ;;
22096  *)
22097  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22098for as_dir in $PATH
22099do
22100  IFS=$as_save_IFS
22101  test -z "$as_dir" && as_dir=.
22102    for ac_exec_ext in '' $ac_executable_extensions; do
22103  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22104    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
22105    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22106    break 2
22107  fi
22108done
22109  done
22110IFS=$as_save_IFS
22111
22112  ;;
22113esac
22114fi
22115GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
22116if test -n "$GTKDOC_REBASE"; then
22117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
22118$as_echo "$GTKDOC_REBASE" >&6; }
22119else
22120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22121$as_echo "no" >&6; }
22122fi
22123
22124
22125  test -n "$GTKDOC_REBASE" && break
22126done
22127test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
22128
22129  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
22130set dummy gtkdoc-mkpdf; ac_word=$2
22131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22132$as_echo_n "checking for $ac_word... " >&6; }
22133if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
22134  $as_echo_n "(cached) " >&6
22135else
22136  case $GTKDOC_MKPDF in
22137  [\\/]* | ?:[\\/]*)
22138  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
22139  ;;
22140  *)
22141  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22142for as_dir in $PATH
22143do
22144  IFS=$as_save_IFS
22145  test -z "$as_dir" && as_dir=.
22146    for ac_exec_ext in '' $ac_executable_extensions; do
22147  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22148    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
22149    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22150    break 2
22151  fi
22152done
22153  done
22154IFS=$as_save_IFS
22155
22156  ;;
22157esac
22158fi
22159GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
22160if test -n "$GTKDOC_MKPDF"; then
22161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
22162$as_echo "$GTKDOC_MKPDF" >&6; }
22163else
22164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22165$as_echo "no" >&6; }
22166fi
22167
22168
22169
22170
22171# Check whether --with-html-dir was given.
22172if test "${with_html_dir+set}" = set; then :
22173  withval=$with_html_dir;
22174else
22175  with_html_dir='${datadir}/gtk-doc/html'
22176fi
22177
22178  HTML_DIR="$with_html_dir"
22179
22180
22181    # Check whether --enable-gtk-doc was given.
22182if test "${enable_gtk_doc+set}" = set; then :
22183  enableval=$enable_gtk_doc;
22184else
22185  enable_gtk_doc=no
22186fi
22187
22188
22189  if test x$enable_gtk_doc = xyes; then
22190    if test -n "$PKG_CONFIG" && \
22191    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.12\""; } >&5
22192  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.12") 2>&5
22193  ac_status=$?
22194  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22195  test $ac_status = 0; }; then
22196  :
22197else
22198  as_fn_error $? "You need to have gtk-doc >= 1.12 installed to build $PACKAGE_NAME" "$LINENO" 5
22199fi
22200        if test "x$PACKAGE_NAME" != "xglib"; then
22201
22202pkg_failed=no
22203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
22204$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
22205
22206if test -n "$PKG_CONFIG"; then
22207    if test -n "$GTKDOC_DEPS_CFLAGS"; then
22208        pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
22209    else
22210        if test -n "$PKG_CONFIG" && \
22211    { { $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
22212  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
22213  ac_status=$?
22214  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22215  test $ac_status = 0; }; then
22216  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
22217else
22218  pkg_failed=yes
22219fi
22220    fi
22221else
22222	pkg_failed=untried
22223fi
22224if test -n "$PKG_CONFIG"; then
22225    if test -n "$GTKDOC_DEPS_LIBS"; then
22226        pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
22227    else
22228        if test -n "$PKG_CONFIG" && \
22229    { { $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
22230  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
22231  ac_status=$?
22232  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22233  test $ac_status = 0; }; then
22234  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
22235else
22236  pkg_failed=yes
22237fi
22238    fi
22239else
22240	pkg_failed=untried
22241fi
22242
22243
22244
22245if test $pkg_failed = yes; then
22246
22247if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22248        _pkg_short_errors_supported=yes
22249else
22250        _pkg_short_errors_supported=no
22251fi
22252        if test $_pkg_short_errors_supported = yes; then
22253	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0"`
22254        else
22255	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0"`
22256        fi
22257	# Put the nasty error message in config.log where it belongs
22258	echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
22259
22260	as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
22261
22262$GTKDOC_DEPS_PKG_ERRORS
22263
22264Consider adjusting the PKG_CONFIG_PATH environment variable if you
22265installed software in a non-standard prefix.
22266
22267Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
22268and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
22269See the pkg-config man page for more details.
22270" "$LINENO" 5
22271elif test $pkg_failed = untried; then
22272	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22273$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22274as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22275is in your PATH or set the PKG_CONFIG environment variable to the full
22276path to pkg-config.
22277
22278Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
22279and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
22280See the pkg-config man page for more details.
22281
22282To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22283See \`config.log' for more details" "$LINENO" 5; }
22284else
22285	GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
22286	GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
22287        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22288$as_echo "yes" >&6; }
22289	:
22290fi
22291    fi
22292        if test -z "$SED"; then
22293      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
22294$as_echo_n "checking for a sed that does not truncate output... " >&6; }
22295if ${ac_cv_path_SED+:} false; then :
22296  $as_echo_n "(cached) " >&6
22297else
22298            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
22299     for ac_i in 1 2 3 4 5 6 7; do
22300       ac_script="$ac_script$as_nl$ac_script"
22301     done
22302     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
22303     { ac_script=; unset ac_script;}
22304     if test -z "$SED"; then
22305  ac_path_SED_found=false
22306  # Loop through the user's path and test for each of PROGNAME-LIST
22307  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22308for as_dir in $PATH
22309do
22310  IFS=$as_save_IFS
22311  test -z "$as_dir" && as_dir=.
22312    for ac_prog in sed gsed; do
22313    for ac_exec_ext in '' $ac_executable_extensions; do
22314      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
22315      as_fn_executable_p "$ac_path_SED" || continue
22316# Check for GNU ac_path_SED and select it if it is found.
22317  # Check for GNU $ac_path_SED
22318case `"$ac_path_SED" --version 2>&1` in
22319*GNU*)
22320  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
22321*)
22322  ac_count=0
22323  $as_echo_n 0123456789 >"conftest.in"
22324  while :
22325  do
22326    cat "conftest.in" "conftest.in" >"conftest.tmp"
22327    mv "conftest.tmp" "conftest.in"
22328    cp "conftest.in" "conftest.nl"
22329    $as_echo '' >> "conftest.nl"
22330    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
22331    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
22332    as_fn_arith $ac_count + 1 && ac_count=$as_val
22333    if test $ac_count -gt ${ac_path_SED_max-0}; then
22334      # Best one so far, save it but keep looking for a better one
22335      ac_cv_path_SED="$ac_path_SED"
22336      ac_path_SED_max=$ac_count
22337    fi
22338    # 10*(2^10) chars as input seems more than enough
22339    test $ac_count -gt 10 && break
22340  done
22341  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
22342esac
22343
22344      $ac_path_SED_found && break 3
22345    done
22346  done
22347  done
22348IFS=$as_save_IFS
22349  if test -z "$ac_cv_path_SED"; then
22350    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
22351  fi
22352else
22353  ac_cv_path_SED=$SED
22354fi
22355
22356fi
22357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
22358$as_echo "$ac_cv_path_SED" >&6; }
22359 SED="$ac_cv_path_SED"
22360  rm -f conftest.sed
22361
22362    fi
22363  fi
22364
22365  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
22366$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
22367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
22368$as_echo "$enable_gtk_doc" >&6; }
22369
22370    # Check whether --enable-gtk-doc-html was given.
22371if test "${enable_gtk_doc_html+set}" = set; then :
22372  enableval=$enable_gtk_doc_html;
22373else
22374  enable_gtk_doc_html=yes
22375fi
22376
22377    # Check whether --enable-gtk-doc-pdf was given.
22378if test "${enable_gtk_doc_pdf+set}" = set; then :
22379  enableval=$enable_gtk_doc_pdf;
22380else
22381  enable_gtk_doc_pdf=no
22382fi
22383
22384
22385  if test -z "$GTKDOC_MKPDF"; then
22386    enable_gtk_doc_pdf=no
22387  fi
22388
22389
22390   if test x$enable_gtk_doc = xyes; then
22391  ENABLE_GTK_DOC_TRUE=
22392  ENABLE_GTK_DOC_FALSE='#'
22393else
22394  ENABLE_GTK_DOC_TRUE='#'
22395  ENABLE_GTK_DOC_FALSE=
22396fi
22397
22398   if test x$enable_gtk_doc_html = xyes; then
22399  GTK_DOC_BUILD_HTML_TRUE=
22400  GTK_DOC_BUILD_HTML_FALSE='#'
22401else
22402  GTK_DOC_BUILD_HTML_TRUE='#'
22403  GTK_DOC_BUILD_HTML_FALSE=
22404fi
22405
22406   if test x$enable_gtk_doc_pdf = xyes; then
22407  GTK_DOC_BUILD_PDF_TRUE=
22408  GTK_DOC_BUILD_PDF_FALSE='#'
22409else
22410  GTK_DOC_BUILD_PDF_TRUE='#'
22411  GTK_DOC_BUILD_PDF_FALSE=
22412fi
22413
22414   if test -n "$LIBTOOL"; then
22415  GTK_DOC_USE_LIBTOOL_TRUE=
22416  GTK_DOC_USE_LIBTOOL_FALSE='#'
22417else
22418  GTK_DOC_USE_LIBTOOL_TRUE='#'
22419  GTK_DOC_USE_LIBTOOL_FALSE=
22420fi
22421
22422
22423
22424
22425
22426
22427
22428
22429        # Find any Python interpreter.
22430    if test -z "$PYTHON"; then
22431      for ac_prog in python python2 python3  python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3  python3.2 python3.1 python3.0  python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1  python2.0
22432do
22433  # Extract the first word of "$ac_prog", so it can be a program name with args.
22434set dummy $ac_prog; ac_word=$2
22435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22436$as_echo_n "checking for $ac_word... " >&6; }
22437if ${ac_cv_path_PYTHON+:} false; then :
22438  $as_echo_n "(cached) " >&6
22439else
22440  case $PYTHON in
22441  [\\/]* | ?:[\\/]*)
22442  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
22443  ;;
22444  *)
22445  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22446for as_dir in $PATH
22447do
22448  IFS=$as_save_IFS
22449  test -z "$as_dir" && as_dir=.
22450    for ac_exec_ext in '' $ac_executable_extensions; do
22451  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22452    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
22453    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22454    break 2
22455  fi
22456done
22457  done
22458IFS=$as_save_IFS
22459
22460  ;;
22461esac
22462fi
22463PYTHON=$ac_cv_path_PYTHON
22464if test -n "$PYTHON"; then
22465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
22466$as_echo "$PYTHON" >&6; }
22467else
22468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22469$as_echo "no" >&6; }
22470fi
22471
22472
22473  test -n "$PYTHON" && break
22474done
22475test -n "$PYTHON" || PYTHON=":"
22476
22477    fi
22478    am_display_PYTHON=python
22479
22480
22481  if test "$PYTHON" = :; then
22482      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
22483  else
22484
22485
22486  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
22487$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
22488if ${am_cv_python_version+:} false; then :
22489  $as_echo_n "(cached) " >&6
22490else
22491  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
22492fi
22493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
22494$as_echo "$am_cv_python_version" >&6; }
22495  PYTHON_VERSION=$am_cv_python_version
22496
22497
22498
22499  PYTHON_PREFIX='${prefix}'
22500
22501  PYTHON_EXEC_PREFIX='${exec_prefix}'
22502
22503
22504
22505  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
22506$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
22507if ${am_cv_python_platform+:} false; then :
22508  $as_echo_n "(cached) " >&6
22509else
22510  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
22511fi
22512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
22513$as_echo "$am_cv_python_platform" >&6; }
22514  PYTHON_PLATFORM=$am_cv_python_platform
22515
22516
22517  # Just factor out some code duplication.
22518  am_python_setup_sysconfig="\
22519import sys
22520# Prefer sysconfig over distutils.sysconfig, for better compatibility
22521# with python 3.x.  See automake bug#10227.
22522try:
22523    import sysconfig
22524except ImportError:
22525    can_use_sysconfig = 0
22526else:
22527    can_use_sysconfig = 1
22528# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
22529# <https://github.com/pypa/virtualenv/issues/118>
22530try:
22531    from platform import python_implementation
22532    if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
22533        can_use_sysconfig = 0
22534except ImportError:
22535    pass"
22536
22537
22538            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
22539$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
22540if ${am_cv_python_pythondir+:} false; then :
22541  $as_echo_n "(cached) " >&6
22542else
22543  if test "x$prefix" = xNONE
22544     then
22545       am_py_prefix=$ac_default_prefix
22546     else
22547       am_py_prefix=$prefix
22548     fi
22549     am_cv_python_pythondir=`$PYTHON -c "
22550$am_python_setup_sysconfig
22551if can_use_sysconfig:
22552    sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
22553else:
22554    from distutils import sysconfig
22555    sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
22556sys.stdout.write(sitedir)"`
22557     case $am_cv_python_pythondir in
22558     $am_py_prefix*)
22559       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
22560       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
22561       ;;
22562     *)
22563       case $am_py_prefix in
22564         /usr|/System*) ;;
22565         *)
22566	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
22567	  ;;
22568       esac
22569       ;;
22570     esac
22571
22572fi
22573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
22574$as_echo "$am_cv_python_pythondir" >&6; }
22575  pythondir=$am_cv_python_pythondir
22576
22577
22578
22579  pkgpythondir=\${pythondir}/$PACKAGE
22580
22581
22582        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
22583$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
22584if ${am_cv_python_pyexecdir+:} false; then :
22585  $as_echo_n "(cached) " >&6
22586else
22587  if test "x$exec_prefix" = xNONE
22588     then
22589       am_py_exec_prefix=$am_py_prefix
22590     else
22591       am_py_exec_prefix=$exec_prefix
22592     fi
22593     am_cv_python_pyexecdir=`$PYTHON -c "
22594$am_python_setup_sysconfig
22595if can_use_sysconfig:
22596    sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
22597else:
22598    from distutils import sysconfig
22599    sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
22600sys.stdout.write(sitedir)"`
22601     case $am_cv_python_pyexecdir in
22602     $am_py_exec_prefix*)
22603       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
22604       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
22605       ;;
22606     *)
22607       case $am_py_exec_prefix in
22608         /usr|/System*) ;;
22609         *)
22610	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
22611	   ;;
22612       esac
22613       ;;
22614     esac
22615
22616fi
22617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
22618$as_echo "$am_cv_python_pyexecdir" >&6; }
22619  pyexecdir=$am_cv_python_pyexecdir
22620
22621
22622
22623  pkgpyexecdir=\${pyexecdir}/$PACKAGE
22624
22625
22626
22627  fi
22628
22629
22630
22631
22632  build_plugin_docs=no
22633  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
22634$as_echo_n "checking whether to build plugin documentation... " >&6; }
22635  if test x$enable_gtk_doc = xyes; then
22636    if test x$PYTHON != x; then
22637      build_plugin_docs=yes
22638      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22639$as_echo "yes" >&6; }
22640    else
22641      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (python not found)" >&5
22642$as_echo "no (python not found)" >&6; }
22643    fi
22644  else
22645    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
22646$as_echo "no (gtk-doc disabled or not available)" >&6; }
22647  fi
22648
22649   if test x$build_plugin_docs = xyes; then
22650  ENABLE_PLUGIN_DOCS_TRUE=
22651  ENABLE_PLUGIN_DOCS_FALSE='#'
22652else
22653  ENABLE_PLUGIN_DOCS_TRUE='#'
22654  ENABLE_PLUGIN_DOCS_FALSE=
22655fi
22656
22657
22658
22659
22660LIBM=
22661case $host in
22662*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
22663  # These system don't have libm, or don't need it
22664  ;;
22665*-ncr-sysv4.3*)
22666  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
22667$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
22668if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
22669  $as_echo_n "(cached) " >&6
22670else
22671  ac_check_lib_save_LIBS=$LIBS
22672LIBS="-lmw  $LIBS"
22673cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22674/* end confdefs.h.  */
22675
22676/* Override any GCC internal prototype to avoid an error.
22677   Use char because int might match the return type of a GCC
22678   builtin and then its argument prototype would still apply.  */
22679#ifdef __cplusplus
22680extern "C"
22681#endif
22682char _mwvalidcheckl ();
22683int
22684main ()
22685{
22686return _mwvalidcheckl ();
22687  ;
22688  return 0;
22689}
22690_ACEOF
22691if ac_fn_c_try_link "$LINENO"; then :
22692  ac_cv_lib_mw__mwvalidcheckl=yes
22693else
22694  ac_cv_lib_mw__mwvalidcheckl=no
22695fi
22696rm -f core conftest.err conftest.$ac_objext \
22697    conftest$ac_exeext conftest.$ac_ext
22698LIBS=$ac_check_lib_save_LIBS
22699fi
22700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
22701$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
22702if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
22703  LIBM=-lmw
22704fi
22705
22706  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
22707$as_echo_n "checking for cos in -lm... " >&6; }
22708if ${ac_cv_lib_m_cos+:} false; then :
22709  $as_echo_n "(cached) " >&6
22710else
22711  ac_check_lib_save_LIBS=$LIBS
22712LIBS="-lm  $LIBS"
22713cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22714/* end confdefs.h.  */
22715
22716/* Override any GCC internal prototype to avoid an error.
22717   Use char because int might match the return type of a GCC
22718   builtin and then its argument prototype would still apply.  */
22719#ifdef __cplusplus
22720extern "C"
22721#endif
22722char cos ();
22723int
22724main ()
22725{
22726return cos ();
22727  ;
22728  return 0;
22729}
22730_ACEOF
22731if ac_fn_c_try_link "$LINENO"; then :
22732  ac_cv_lib_m_cos=yes
22733else
22734  ac_cv_lib_m_cos=no
22735fi
22736rm -f core conftest.err conftest.$ac_objext \
22737    conftest$ac_exeext conftest.$ac_ext
22738LIBS=$ac_check_lib_save_LIBS
22739fi
22740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
22741$as_echo "$ac_cv_lib_m_cos" >&6; }
22742if test "x$ac_cv_lib_m_cos" = xyes; then :
22743  LIBM="$LIBM -lm"
22744fi
22745
22746  ;;
22747*)
22748  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
22749$as_echo_n "checking for cos in -lm... " >&6; }
22750if ${ac_cv_lib_m_cos+:} false; then :
22751  $as_echo_n "(cached) " >&6
22752else
22753  ac_check_lib_save_LIBS=$LIBS
22754LIBS="-lm  $LIBS"
22755cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22756/* end confdefs.h.  */
22757
22758/* Override any GCC internal prototype to avoid an error.
22759   Use char because int might match the return type of a GCC
22760   builtin and then its argument prototype would still apply.  */
22761#ifdef __cplusplus
22762extern "C"
22763#endif
22764char cos ();
22765int
22766main ()
22767{
22768return cos ();
22769  ;
22770  return 0;
22771}
22772_ACEOF
22773if ac_fn_c_try_link "$LINENO"; then :
22774  ac_cv_lib_m_cos=yes
22775else
22776  ac_cv_lib_m_cos=no
22777fi
22778rm -f core conftest.err conftest.$ac_objext \
22779    conftest$ac_exeext conftest.$ac_ext
22780LIBS=$ac_check_lib_save_LIBS
22781fi
22782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
22783$as_echo "$ac_cv_lib_m_cos" >&6; }
22784if test "x$ac_cv_lib_m_cos" = xyes; then :
22785  LIBM=-lm
22786fi
22787
22788  ;;
22789esac
22790
22791
22792
22793
22794
22795# ------ AX CREATE STDINT H -------------------------------------
22796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
22797$as_echo_n "checking for stdint types... " >&6; }
22798ac_stdint_h=`echo _stdint.h`
22799# try to shortcircuit - if the default include path of the compiler
22800# can find a "stdint.h" header then we assume that all compilers can.
22801if ${ac_cv_header_stdint_t+:} false; then :
22802  $as_echo_n "(cached) " >&6
22803else
22804
22805old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
22806old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
22807old_CFLAGS="$CFLAGS"     ; CFLAGS=""
22808cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22809/* end confdefs.h.  */
22810#include <stdint.h>
22811int
22812main ()
22813{
22814int_least32_t v = 0;
22815  ;
22816  return 0;
22817}
22818_ACEOF
22819if ac_fn_c_try_compile "$LINENO"; then :
22820  ac_cv_stdint_result="(assuming C99 compatible system)"
22821 ac_cv_header_stdint_t="stdint.h";
22822else
22823  ac_cv_header_stdint_t=""
22824fi
22825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22826if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
22827CFLAGS="-std=c99"
22828cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22829/* end confdefs.h.  */
22830#include <stdint.h>
22831int
22832main ()
22833{
22834int_least32_t v = 0;
22835  ;
22836  return 0;
22837}
22838_ACEOF
22839if ac_fn_c_try_compile "$LINENO"; then :
22840  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
22841$as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
22842fi
22843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22844fi
22845CXXFLAGS="$old_CXXFLAGS"
22846CPPFLAGS="$old_CPPFLAGS"
22847CFLAGS="$old_CFLAGS"
22848fi
22849
22850
22851v="... $ac_cv_header_stdint_h"
22852if test "$ac_stdint_h" = "stdint.h" ; then
22853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
22854$as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
22855elif test "$ac_stdint_h" = "inttypes.h" ; then
22856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
22857$as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
22858elif test "_$ac_cv_header_stdint_t" = "_" ; then
22859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
22860$as_echo "(putting them into $ac_stdint_h)$v" >&6; }
22861else
22862 ac_cv_header_stdint="$ac_cv_header_stdint_t"
22863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
22864$as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
22865fi
22866
22867if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
22868
22869
22870inttype_headers=`echo  | sed -e 's/,/ /g'`
22871
22872ac_cv_stdint_result="(no helpful system typedefs seen)"
22873
22874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
22875$as_echo_n "checking for stdint uintptr_t... " >&6; }
22876if ${ac_cv_header_stdint_x+:} false; then :
22877  $as_echo_n "(cached) " >&6
22878else
22879
22880 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
22881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22882$as_echo "(..)" >&6; }
22883  for i in    stdint.h inttypes.h sys/inttypes.h $inttype_headers
22884  do
22885   unset ac_cv_type_uintptr_t
22886   unset ac_cv_type_uint64_t
22887   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
22888"
22889if test "x$ac_cv_type_uintptr_t" = xyes; then :
22890  ac_cv_header_stdint_x=$i
22891else
22892  continue
22893fi
22894
22895   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
22896"
22897if test "x$ac_cv_type_uint64_t" = xyes; then :
22898  and64="/uint64_t"
22899else
22900  and64=""
22901fi
22902
22903   ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
22904 break
22905  done
22906  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
22907$as_echo_n "checking for stdint uintptr_t... " >&6; }
22908
22909fi
22910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
22911$as_echo "$ac_cv_header_stdint_x" >&6; }
22912
22913
22914if test "_$ac_cv_header_stdint_x" = "_" ; then
22915
22916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
22917$as_echo_n "checking for stdint uint32_t... " >&6; }
22918if ${ac_cv_header_stdint_o+:} false; then :
22919  $as_echo_n "(cached) " >&6
22920else
22921
22922 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
22923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22924$as_echo "(..)" >&6; }
22925  for i in    inttypes.h sys/inttypes.h stdint.h $inttype_headers
22926  do
22927   unset ac_cv_type_uint32_t
22928   unset ac_cv_type_uint64_t
22929   ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
22930"
22931if test "x$ac_cv_type_uint32_t" = xyes; then :
22932  ac_cv_header_stdint_o=$i
22933else
22934  continue
22935fi
22936
22937   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
22938"
22939if test "x$ac_cv_type_uint64_t" = xyes; then :
22940  and64="/uint64_t"
22941else
22942  and64=""
22943fi
22944
22945   ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
22946 break
22947   break;
22948  done
22949  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
22950$as_echo_n "checking for stdint uint32_t... " >&6; }
22951
22952fi
22953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
22954$as_echo "$ac_cv_header_stdint_o" >&6; }
22955
22956fi
22957
22958if test "_$ac_cv_header_stdint_x" = "_" ; then
22959if test "_$ac_cv_header_stdint_o" = "_" ; then
22960
22961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
22962$as_echo_n "checking for stdint u_int32_t... " >&6; }
22963if ${ac_cv_header_stdint_u+:} false; then :
22964  $as_echo_n "(cached) " >&6
22965else
22966
22967 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
22968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22969$as_echo "(..)" >&6; }
22970  for i in    sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
22971   unset ac_cv_type_u_int32_t
22972   unset ac_cv_type_u_int64_t
22973   ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
22974"
22975if test "x$ac_cv_type_u_int32_t" = xyes; then :
22976  ac_cv_header_stdint_u=$i
22977else
22978  continue
22979fi
22980
22981   ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
22982"
22983if test "x$ac_cv_type_u_int64_t" = xyes; then :
22984  and64="/u_int64_t"
22985else
22986  and64=""
22987fi
22988
22989   ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
22990 break
22991   break;
22992  done
22993  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
22994$as_echo_n "checking for stdint u_int32_t... " >&6; }
22995
22996fi
22997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
22998$as_echo "$ac_cv_header_stdint_u" >&6; }
22999
23000fi fi
23001
23002if test "_$ac_cv_header_stdint_x" = "_" ; then
23003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
23004$as_echo_n "checking for stdint datatype model... " >&6; }
23005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23006$as_echo "(..)" >&6; }
23007
23008   # The cast to long int works around a bug in the HP C Compiler
23009# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23010# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23011# This bug is HP SR number 8606223364.
23012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
23013$as_echo_n "checking size of char... " >&6; }
23014if ${ac_cv_sizeof_char+:} false; then :
23015  $as_echo_n "(cached) " >&6
23016else
23017  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
23018
23019else
23020  if test "$ac_cv_type_char" = yes; then
23021     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23022$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23023as_fn_error 77 "cannot compute sizeof (char)
23024See \`config.log' for more details" "$LINENO" 5; }
23025   else
23026     ac_cv_sizeof_char=0
23027   fi
23028fi
23029
23030fi
23031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
23032$as_echo "$ac_cv_sizeof_char" >&6; }
23033
23034
23035
23036cat >>confdefs.h <<_ACEOF
23037#define SIZEOF_CHAR $ac_cv_sizeof_char
23038_ACEOF
23039
23040
23041   # The cast to long int works around a bug in the HP C Compiler
23042# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23043# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23044# This bug is HP SR number 8606223364.
23045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
23046$as_echo_n "checking size of short... " >&6; }
23047if ${ac_cv_sizeof_short+:} false; then :
23048  $as_echo_n "(cached) " >&6
23049else
23050  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
23051
23052else
23053  if test "$ac_cv_type_short" = yes; then
23054     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23055$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23056as_fn_error 77 "cannot compute sizeof (short)
23057See \`config.log' for more details" "$LINENO" 5; }
23058   else
23059     ac_cv_sizeof_short=0
23060   fi
23061fi
23062
23063fi
23064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
23065$as_echo "$ac_cv_sizeof_short" >&6; }
23066
23067
23068
23069cat >>confdefs.h <<_ACEOF
23070#define SIZEOF_SHORT $ac_cv_sizeof_short
23071_ACEOF
23072
23073
23074   # The cast to long int works around a bug in the HP C Compiler
23075# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23076# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23077# This bug is HP SR number 8606223364.
23078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
23079$as_echo_n "checking size of int... " >&6; }
23080if ${ac_cv_sizeof_int+:} false; then :
23081  $as_echo_n "(cached) " >&6
23082else
23083  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
23084
23085else
23086  if test "$ac_cv_type_int" = yes; then
23087     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23088$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23089as_fn_error 77 "cannot compute sizeof (int)
23090See \`config.log' for more details" "$LINENO" 5; }
23091   else
23092     ac_cv_sizeof_int=0
23093   fi
23094fi
23095
23096fi
23097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
23098$as_echo "$ac_cv_sizeof_int" >&6; }
23099
23100
23101
23102cat >>confdefs.h <<_ACEOF
23103#define SIZEOF_INT $ac_cv_sizeof_int
23104_ACEOF
23105
23106
23107   # The cast to long int works around a bug in the HP C Compiler
23108# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23109# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23110# This bug is HP SR number 8606223364.
23111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
23112$as_echo_n "checking size of long... " >&6; }
23113if ${ac_cv_sizeof_long+:} false; then :
23114  $as_echo_n "(cached) " >&6
23115else
23116  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
23117
23118else
23119  if test "$ac_cv_type_long" = yes; then
23120     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23121$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23122as_fn_error 77 "cannot compute sizeof (long)
23123See \`config.log' for more details" "$LINENO" 5; }
23124   else
23125     ac_cv_sizeof_long=0
23126   fi
23127fi
23128
23129fi
23130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
23131$as_echo "$ac_cv_sizeof_long" >&6; }
23132
23133
23134
23135cat >>confdefs.h <<_ACEOF
23136#define SIZEOF_LONG $ac_cv_sizeof_long
23137_ACEOF
23138
23139
23140   # The cast to long int works around a bug in the HP C Compiler
23141# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23142# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23143# This bug is HP SR number 8606223364.
23144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
23145$as_echo_n "checking size of void*... " >&6; }
23146if ${ac_cv_sizeof_voidp+:} false; then :
23147  $as_echo_n "(cached) " >&6
23148else
23149  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
23150
23151else
23152  if test "$ac_cv_type_voidp" = yes; then
23153     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23154$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23155as_fn_error 77 "cannot compute sizeof (void*)
23156See \`config.log' for more details" "$LINENO" 5; }
23157   else
23158     ac_cv_sizeof_voidp=0
23159   fi
23160fi
23161
23162fi
23163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
23164$as_echo "$ac_cv_sizeof_voidp" >&6; }
23165
23166
23167
23168cat >>confdefs.h <<_ACEOF
23169#define SIZEOF_VOIDP $ac_cv_sizeof_voidp
23170_ACEOF
23171
23172
23173   ac_cv_char_data_model=""
23174   ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
23175   ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
23176   ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
23177   ac_cv_long_data_model=""
23178   ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
23179   ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
23180   ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
23181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
23182$as_echo_n "checking data model... " >&6; }
23183   case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
23184    122/242)     ac_cv_data_model="IP16"  ; n="standard 16bit machine" ;;
23185    122/244)     ac_cv_data_model="LP32"  ; n="standard 32bit machine" ;;
23186    122/*)       ac_cv_data_model="i16"   ; n="unusual int16 model" ;;
23187    124/444)     ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
23188    124/488)     ac_cv_data_model="LP64"  ; n="standard 64bit unixish" ;;
23189    124/448)     ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
23190    124/*)       ac_cv_data_model="i32"   ; n="unusual int32 model" ;;
23191    128/888)     ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
23192    128/*)       ac_cv_data_model="i64"   ; n="unusual int64 model" ;;
23193    222/*2)      ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
23194    333/*3)      ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
23195    444/*4)      ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
23196    666/*6)      ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
23197    888/*8)      ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
23198    222/*|333/*|444/*|666/*|888/*) :
23199                 ac_cv_data_model="iDSP"  ; n="unusual dsptype" ;;
23200     *)          ac_cv_data_model="none"  ; n="very unusual model" ;;
23201   esac
23202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
23203$as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
23204
23205fi
23206
23207if test "_$ac_cv_header_stdint_x" != "_" ; then
23208   ac_cv_header_stdint="$ac_cv_header_stdint_x"
23209elif  test "_$ac_cv_header_stdint_o" != "_" ; then
23210   ac_cv_header_stdint="$ac_cv_header_stdint_o"
23211elif  test "_$ac_cv_header_stdint_u" != "_" ; then
23212   ac_cv_header_stdint="$ac_cv_header_stdint_u"
23213else
23214   ac_cv_header_stdint="stddef.h"
23215fi
23216
23217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
23218$as_echo_n "checking for extra inttypes in chosen header... " >&6; }
23219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
23220$as_echo "($ac_cv_header_stdint)" >&6; }
23221unset ac_cv_type_int_least32_t
23222unset ac_cv_type_int_fast32_t
23223ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
23224"
23225if test "x$ac_cv_type_int_least32_t" = xyes; then :
23226
23227fi
23228
23229ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
23230"
23231if test "x$ac_cv_type_int_fast32_t" = xyes; then :
23232
23233fi
23234
23235ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
23236"
23237if test "x$ac_cv_type_intmax_t" = xyes; then :
23238
23239fi
23240
23241
23242fi # shortcircut to system "stdint.h"
23243# ------------------ PREPARE VARIABLES ------------------------------
23244if test "$GCC" = "yes" ; then
23245ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
23246else
23247ac_cv_stdint_message="using $CC"
23248fi
23249
23250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
23251$as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
23252
23253# ----------------- DONE inttypes.h checks START header -------------
23254ac_config_commands="$ac_config_commands $ac_stdint_h"
23255
23256
23257
23258for ac_header in malloc.h
23259do :
23260  ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
23261if test "x$ac_cv_header_malloc_h" = xyes; then :
23262  cat >>confdefs.h <<_ACEOF
23263#define HAVE_MALLOC_H 1
23264_ACEOF
23265
23266fi
23267
23268done
23269
23270
23271
23272
23273
23274
23275
23276    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __PRETTY_FUNCTION__" >&5
23277$as_echo_n "checking whether $CC implements __PRETTY_FUNCTION__... " >&6; }
23278  if ${gst_cv_have_pretty_function+:} false; then :
23279  $as_echo_n "(cached) " >&6
23280else
23281
23282    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23283/* end confdefs.h.  */
23284#include <stdio.h>
23285int
23286main ()
23287{
23288printf("%s", __PRETTY_FUNCTION__);
23289  ;
23290  return 0;
23291}
23292_ACEOF
23293if ac_fn_c_try_link "$LINENO"; then :
23294  gst_cv_have_pretty_function=yes
23295else
23296  gst_cv_have_pretty_function=no
23297fi
23298rm -f core conftest.err conftest.$ac_objext \
23299    conftest$ac_exeext conftest.$ac_ext
23300
23301fi
23302
23303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_pretty_function" >&5
23304$as_echo "$gst_cv_have_pretty_function" >&6; }
23305  if test "$gst_cv_have_pretty_function" = yes; then
23306
23307$as_echo "#define HAVE_PRETTY_FUNCTION 1" >>confdefs.h
23308
23309  fi
23310
23311  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __FUNCTION__" >&5
23312$as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; }
23313  if ${gst_cv_have_function+:} false; then :
23314  $as_echo_n "(cached) " >&6
23315else
23316
23317    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23318/* end confdefs.h.  */
23319#include <stdio.h>
23320int
23321main ()
23322{
23323printf("%s", __FUNCTION__);
23324  ;
23325  return 0;
23326}
23327_ACEOF
23328if ac_fn_c_try_link "$LINENO"; then :
23329  gst_cv_have_function=yes
23330else
23331  gst_cv_have_function=no
23332fi
23333rm -f core conftest.err conftest.$ac_objext \
23334    conftest$ac_exeext conftest.$ac_ext
23335
23336fi
23337
23338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_function" >&5
23339$as_echo "$gst_cv_have_function" >&6; }
23340  if test "$gst_cv_have_function" = yes; then
23341
23342$as_echo "#define HAVE_FUNCTION 1" >>confdefs.h
23343
23344  fi
23345
23346  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __func__" >&5
23347$as_echo_n "checking whether $CC implements __func__... " >&6; }
23348  if ${gst_cv_have_func+:} false; then :
23349  $as_echo_n "(cached) " >&6
23350else
23351
23352    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23353/* end confdefs.h.  */
23354#include <stdio.h>
23355int
23356main ()
23357{
23358printf("%s", __func__);
23359  ;
23360  return 0;
23361}
23362_ACEOF
23363if ac_fn_c_try_link "$LINENO"; then :
23364  gst_cv_have_func=yes
23365else
23366  gst_cv_have_func=no
23367fi
23368rm -f core conftest.err conftest.$ac_objext \
23369    conftest$ac_exeext conftest.$ac_ext
23370
23371fi
23372
23373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_func" >&5
23374$as_echo "$gst_cv_have_func" >&6; }
23375  if test "$gst_cv_have_func" = yes; then
23376
23377$as_echo "#define HAVE_FUNC 1" >>confdefs.h
23378
23379  fi
23380
23381  if test "$gst_cv_have_pretty_function" = yes; then
23382    function=__PRETTY_FUNCTION__
23383  else
23384    if test "$gst_cv_have_function" = yes; then
23385      function=__FUNCTION__
23386    else
23387      if test "$gst_cv_have_func" = yes; then
23388        function=__func__
23389      else
23390        function=\"\"
23391      fi
23392    fi
23393  fi
23394
23395cat >>confdefs.h <<_ACEOF
23396#define GST_FUNCTION $function
23397_ACEOF
23398
23399
23400
23401
23402GLIB_REQ=2.40.0
23403
23404
23405
23406    GLIB_REQ=$GLIB_REQ
23407  if test "x$GLIB_REQ" = "x"
23408  then
23409    as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
23410  fi
23411
23412
23413
23414  which="glib-2.0 >= $GLIB_REQ gobject-2.0 gmodule-no-export-2.0"
23415    required="no"
23416
23417
23418pkg_failed=no
23419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
23420$as_echo_n "checking for GLIB... " >&6; }
23421
23422if test -n "$PKG_CONFIG"; then
23423    if test -n "$GLIB_CFLAGS"; then
23424        pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
23425    else
23426        if test -n "$PKG_CONFIG" && \
23427    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
23428  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
23429  ac_status=$?
23430  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23431  test $ac_status = 0; }; then
23432  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
23433else
23434  pkg_failed=yes
23435fi
23436    fi
23437else
23438	pkg_failed=untried
23439fi
23440if test -n "$PKG_CONFIG"; then
23441    if test -n "$GLIB_LIBS"; then
23442        pkg_cv_GLIB_LIBS="$GLIB_LIBS"
23443    else
23444        if test -n "$PKG_CONFIG" && \
23445    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
23446  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
23447  ac_status=$?
23448  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23449  test $ac_status = 0; }; then
23450  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
23451else
23452  pkg_failed=yes
23453fi
23454    fi
23455else
23456	pkg_failed=untried
23457fi
23458
23459
23460
23461if test $pkg_failed = yes; then
23462
23463if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23464        _pkg_short_errors_supported=yes
23465else
23466        _pkg_short_errors_supported=no
23467fi
23468        if test $_pkg_short_errors_supported = yes; then
23469	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
23470        else
23471	        GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
23472        fi
23473	# Put the nasty error message in config.log where it belongs
23474	echo "$GLIB_PKG_ERRORS" >&5
23475
23476	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23477$as_echo "no" >&6; }
23478
23479      HAVE_GLIB="no"
23480      if test "x$required" = "xyes"; then
23481        as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
23482      else
23483        { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
23484$as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
23485      fi
23486
23487elif test $pkg_failed = untried; then
23488
23489      HAVE_GLIB="no"
23490      if test "x$required" = "xyes"; then
23491        as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
23492      else
23493        { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
23494$as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
23495      fi
23496
23497else
23498	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
23499	GLIB_LIBS=$pkg_cv_GLIB_LIBS
23500        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23501$as_echo "yes" >&6; }
23502
23503      HAVE_GLIB="yes"
23504
23505fi
23506
23507
23508
23509  if test "x$HAVE_GLIB" = "xno"; then
23510    as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
23511  fi
23512
23513        GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
23514
23515    if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
23516    GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
23517  fi
23518
23519  # Check whether --enable-gobject-cast-checks was given.
23520if test "${enable_gobject_cast_checks+set}" = set; then :
23521  enableval=$enable_gobject_cast_checks; enable_gobject_cast_checks=$enableval
23522else
23523  enable_gobject_cast_checks=auto
23524fi
23525
23526
23527  if test "x$enable_gobject_cast_checks" = "xauto"; then
23528        if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
23529      enable_gobject_cast_checks=yes
23530    else
23531      enable_gobject_cast_checks=no
23532    fi
23533  fi
23534
23535  if test "x$enable_gobject_cast_checks" = "xno"; then
23536    GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
23537  fi
23538
23539  # Check whether --enable-glib-asserts was given.
23540if test "${enable_glib_asserts+set}" = set; then :
23541  enableval=$enable_glib_asserts; enable_glib_assertions=$enableval
23542else
23543  enable_glib_assertions=yes
23544fi
23545
23546
23547  if test "x$enable_glib_assertions" = "xno"; then
23548    GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
23549  fi
23550
23551                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-genmarshal" >&5
23552$as_echo_n "checking for glib-genmarshal... " >&6; }
23553  if test "x$GLIB_GENMARSHAL" != "x"; then
23554    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL (from environment)" >&5
23555$as_echo "$GLIB_GENMARSHAL (from environment)" >&6; }
23556  else
23557    GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
23558    if $GLIB_GENMARSHAL --version 2>/dev/null >/dev/null; then
23559      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL (from pkg-config path)" >&5
23560$as_echo "$GLIB_GENMARSHAL (from pkg-config path)" >&6; }
23561    else
23562      # Extract the first word of "glib-genmarshal", so it can be a program name with args.
23563set dummy glib-genmarshal; ac_word=$2
23564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23565$as_echo_n "checking for $ac_word... " >&6; }
23566if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
23567  $as_echo_n "(cached) " >&6
23568else
23569  case $GLIB_GENMARSHAL in
23570  [\\/]* | ?:[\\/]*)
23571  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
23572  ;;
23573  *)
23574  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23575for as_dir in $PATH
23576do
23577  IFS=$as_save_IFS
23578  test -z "$as_dir" && as_dir=.
23579    for ac_exec_ext in '' $ac_executable_extensions; do
23580  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23581    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
23582    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23583    break 2
23584  fi
23585done
23586  done
23587IFS=$as_save_IFS
23588
23589  test -z "$ac_cv_path_GLIB_GENMARSHAL" && ac_cv_path_GLIB_GENMARSHAL="glib-genmarshal"
23590  ;;
23591esac
23592fi
23593GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
23594if test -n "$GLIB_GENMARSHAL"; then
23595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
23596$as_echo "$GLIB_GENMARSHAL" >&6; }
23597else
23598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23599$as_echo "no" >&6; }
23600fi
23601
23602
23603      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
23604$as_echo "$GLIB_GENMARSHAL" >&6; }
23605    fi
23606  fi
23607  if ! $GLIB_GENMARSHAL --version 2>/dev/null >/dev/null; then
23608    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $GLIB_GENMARSHAL does not seem to work!" >&5
23609$as_echo "$as_me: WARNING: $GLIB_GENMARSHAL does not seem to work!" >&2;}
23610  fi
23611
23612
23613    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-mkenums" >&5
23614$as_echo_n "checking for glib-mkenums... " >&6; }
23615  if test "x$GLIB_MKENUMS" != "x"; then
23616    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS (from environment)" >&5
23617$as_echo "$GLIB_MKENUMS (from environment)" >&6; }
23618  else
23619        GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
23620    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
23621$as_echo "$GLIB_MKENUMS" >&6; }
23622  fi
23623  if ! $GLIB_MKENUMS --version 2>/dev/null >/dev/null; then
23624    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $GLIB_MKENUMS does not seem to work!" >&5
23625$as_echo "$as_me: WARNING: $GLIB_MKENUMS does not seem to work!" >&2;}
23626  fi
23627
23628
23629
23630
23631
23632pkg_failed=no
23633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
23634$as_echo_n "checking for GIO... " >&6; }
23635
23636if test -n "$PKG_CONFIG"; then
23637    if test -n "$GIO_CFLAGS"; then
23638        pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
23639    else
23640        if test -n "$PKG_CONFIG" && \
23641    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQ\""; } >&5
23642  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQ") 2>&5
23643  ac_status=$?
23644  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23645  test $ac_status = 0; }; then
23646  pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= $GLIB_REQ" 2>/dev/null`
23647else
23648  pkg_failed=yes
23649fi
23650    fi
23651else
23652	pkg_failed=untried
23653fi
23654if test -n "$PKG_CONFIG"; then
23655    if test -n "$GIO_LIBS"; then
23656        pkg_cv_GIO_LIBS="$GIO_LIBS"
23657    else
23658        if test -n "$PKG_CONFIG" && \
23659    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQ\""; } >&5
23660  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQ") 2>&5
23661  ac_status=$?
23662  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23663  test $ac_status = 0; }; then
23664  pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= $GLIB_REQ" 2>/dev/null`
23665else
23666  pkg_failed=yes
23667fi
23668    fi
23669else
23670	pkg_failed=untried
23671fi
23672
23673
23674
23675if test $pkg_failed = yes; then
23676
23677if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23678        _pkg_short_errors_supported=yes
23679else
23680        _pkg_short_errors_supported=no
23681fi
23682        if test $_pkg_short_errors_supported = yes; then
23683	        GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= $GLIB_REQ"`
23684        else
23685	        GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= $GLIB_REQ"`
23686        fi
23687	# Put the nasty error message in config.log where it belongs
23688	echo "$GIO_PKG_ERRORS" >&5
23689
23690	as_fn_error $? "Package requirements (gio-2.0 >= $GLIB_REQ) were not met:
23691
23692$GIO_PKG_ERRORS
23693
23694Consider adjusting the PKG_CONFIG_PATH environment variable if you
23695installed software in a non-standard prefix.
23696
23697Alternatively, you may set the environment variables GIO_CFLAGS
23698and GIO_LIBS to avoid the need to call pkg-config.
23699See the pkg-config man page for more details.
23700" "$LINENO" 5
23701elif test $pkg_failed = untried; then
23702	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23703$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23704as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
23705is in your PATH or set the PKG_CONFIG environment variable to the full
23706path to pkg-config.
23707
23708Alternatively, you may set the environment variables GIO_CFLAGS
23709and GIO_LIBS to avoid the need to call pkg-config.
23710See the pkg-config man page for more details.
23711
23712To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23713See \`config.log' for more details" "$LINENO" 5; }
23714else
23715	GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
23716	GIO_LIBS=$pkg_cv_GIO_LIBS
23717        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23718$as_echo "yes" >&6; }
23719	:
23720fi
23721  if test "x$HAVE_GIO" = "xno"; then
23722    as_fn_error $? "This package requires GIO >= $GLIB_REQ to compile." "$LINENO" 5
23723  fi
23724
23725  GIO_MODULE_DIR="`$PKG_CONFIG --variable=giomoduledir gio-2.0`"
23726
23727cat >>confdefs.h <<_ACEOF
23728#define GIO_MODULE_DIR "$GIO_MODULE_DIR"
23729_ACEOF
23730
23731  GIO_LIBDIR="`$PKG_CONFIG --variable=libdir gio-2.0`"
23732
23733cat >>confdefs.h <<_ACEOF
23734#define GIO_LIBDIR "$GIO_LIBDIR"
23735_ACEOF
23736
23737  GIO_PREFIX="`$PKG_CONFIG --variable=prefix gio-2.0`"
23738
23739cat >>confdefs.h <<_ACEOF
23740#define GIO_PREFIX "$GIO_PREFIX"
23741_ACEOF
23742
23743
23744
23745
23746
23747
23748
23749
23750  ORC_REQ=0.4.16
23751
23752  # Check whether --enable-orc was given.
23753if test "${enable_orc+set}" = set; then :
23754  enableval=$enable_orc; case "${enableval}" in
23755    auto) enable_orc=auto ;;
23756    yes) enable_orc=yes ;;
23757    no)  enable_orc=no ;;
23758    *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5 ;;
23759  esac
23760
23761else
23762  enable_orc=auto
23763fi
23764
23765  if test "x$enable_orc" != "xno" ; then
23766
23767pkg_failed=no
23768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
23769$as_echo_n "checking for ORC... " >&6; }
23770
23771if test -n "$PKG_CONFIG"; then
23772    if test -n "$ORC_CFLAGS"; then
23773        pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
23774    else
23775        if test -n "$PKG_CONFIG" && \
23776    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
23777  ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
23778  ac_status=$?
23779  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23780  test $ac_status = 0; }; then
23781  pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
23782else
23783  pkg_failed=yes
23784fi
23785    fi
23786else
23787	pkg_failed=untried
23788fi
23789if test -n "$PKG_CONFIG"; then
23790    if test -n "$ORC_LIBS"; then
23791        pkg_cv_ORC_LIBS="$ORC_LIBS"
23792    else
23793        if test -n "$PKG_CONFIG" && \
23794    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
23795  ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
23796  ac_status=$?
23797  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23798  test $ac_status = 0; }; then
23799  pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
23800else
23801  pkg_failed=yes
23802fi
23803    fi
23804else
23805	pkg_failed=untried
23806fi
23807
23808
23809
23810if test $pkg_failed = yes; then
23811
23812if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23813        _pkg_short_errors_supported=yes
23814else
23815        _pkg_short_errors_supported=no
23816fi
23817        if test $_pkg_short_errors_supported = yes; then
23818	        ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
23819        else
23820	        ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
23821        fi
23822	# Put the nasty error message in config.log where it belongs
23823	echo "$ORC_PKG_ERRORS" >&5
23824
23825	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23826$as_echo "no" >&6; }
23827
23828      if test "x$enable_orc" = "xyes" ; then
23829        as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
23830      fi
23831
23832$as_echo "#define DISABLE_ORC 1" >>confdefs.h
23833
23834      HAVE_ORC=no
23835      HAVE_ORCC=no
23836
23837elif test $pkg_failed = untried; then
23838
23839      if test "x$enable_orc" = "xyes" ; then
23840        as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
23841      fi
23842
23843$as_echo "#define DISABLE_ORC 1" >>confdefs.h
23844
23845      HAVE_ORC=no
23846      HAVE_ORCC=no
23847
23848else
23849	ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
23850	ORC_LIBS=$pkg_cv_ORC_LIBS
23851        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23852$as_echo "yes" >&6; }
23853
23854
23855$as_echo "#define HAVE_ORC 1" >>confdefs.h
23856
23857      HAVE_ORC=yes
23858      if test "x$ORCC" = "x" ; then
23859        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable orcc" >&5
23860$as_echo_n "checking for usable orcc... " >&6; }
23861        ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
23862                        if $ORCC --version 1> /dev/null 2> /dev/null; then :
23863
23864else
23865  ORCC=`which orcc`
23866fi
23867        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ORCC" >&5
23868$as_echo "$ORCC" >&6; }
23869      fi
23870
23871      ORCC_FLAGS="--compat $ORC_REQ"
23872
23873      if test "x$ORCC" = "x"; then :
23874  HAVE_ORCC=no
23875else
23876  HAVE_ORCC=yes
23877fi
23878
23879fi
23880  else
23881
23882$as_echo "#define DISABLE_ORC 1" >>confdefs.h
23883
23884    HAVE_ORC=no
23885    HAVE_ORCC=no
23886  fi
23887   if test "x$HAVE_ORC" = "xyes"; then
23888  HAVE_ORC_TRUE=
23889  HAVE_ORC_FALSE='#'
23890else
23891  HAVE_ORC_TRUE='#'
23892  HAVE_ORC_FALSE=
23893fi
23894
23895   if test "x$HAVE_ORCC" = "xyes"; then
23896  HAVE_ORCC_TRUE=
23897  HAVE_ORCC_FALSE='#'
23898else
23899  HAVE_ORCC_TRUE='#'
23900  HAVE_ORCC_FALSE=
23901fi
23902
23903
23904
23905
23906
23907
23908  module=gstreamer-$GST_API_VERSION
23909  minver=$GST_REQ
23910  name="GStreamer"
23911  required=yes
23912
23913pkg_failed=no
23914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
23915$as_echo_n "checking for GST... " >&6; }
23916
23917if test -n "$PKG_CONFIG"; then
23918    if test -n "$GST_CFLAGS"; then
23919        pkg_cv_GST_CFLAGS="$GST_CFLAGS"
23920    else
23921        if test -n "$PKG_CONFIG" && \
23922    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23923  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23924  ac_status=$?
23925  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23926  test $ac_status = 0; }; then
23927  pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23928else
23929  pkg_failed=yes
23930fi
23931    fi
23932else
23933	pkg_failed=untried
23934fi
23935if test -n "$PKG_CONFIG"; then
23936    if test -n "$GST_LIBS"; then
23937        pkg_cv_GST_LIBS="$GST_LIBS"
23938    else
23939        if test -n "$PKG_CONFIG" && \
23940    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23941  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23942  ac_status=$?
23943  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23944  test $ac_status = 0; }; then
23945  pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23946else
23947  pkg_failed=yes
23948fi
23949    fi
23950else
23951	pkg_failed=untried
23952fi
23953
23954
23955
23956if test $pkg_failed = yes; then
23957
23958if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23959        _pkg_short_errors_supported=yes
23960else
23961        _pkg_short_errors_supported=no
23962fi
23963        if test $_pkg_short_errors_supported = yes; then
23964	        GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23965        else
23966	        GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23967        fi
23968	# Put the nasty error message in config.log where it belongs
23969	echo "$GST_PKG_ERRORS" >&5
23970
23971	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23972$as_echo "no" >&6; }
23973
23974      HAVE_GST="no"
23975      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
23976$as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
23977      if test "x$required" = "xyes"; then
23978        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23979      else
23980        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23981$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23982      fi
23983
23984elif test $pkg_failed = untried; then
23985
23986      HAVE_GST="no"
23987      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
23988$as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
23989      if test "x$required" = "xyes"; then
23990        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23991      else
23992        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23993$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23994      fi
23995
23996else
23997	GST_CFLAGS=$pkg_cv_GST_CFLAGS
23998	GST_LIBS=$pkg_cv_GST_LIBS
23999        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24000$as_echo "yes" >&6; }
24001
24002      HAVE_GST="yes"
24003
24004fi
24005
24006
24007    if test -z $GST_TOOLS_DIR; then
24008    GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_API_VERSION`
24009    if test -z $GST_TOOLS_DIR; then
24010      as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
24011    fi
24012  fi
24013  { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
24014$as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
24015
24016
24017        if test -z $GST_PLUGINS_DIR; then
24018    GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_API_VERSION`
24019    if test -z $GST_PLUGINS_DIR; then
24020      as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
24021    fi
24022  fi
24023  { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
24024$as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
24025
24026
24027
24028
24029  module=gstreamer-base-$GST_API_VERSION
24030  minver=$GST_REQ
24031  name="GStreamer Base Libraries"
24032  required=yes
24033
24034pkg_failed=no
24035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
24036$as_echo_n "checking for GST_BASE... " >&6; }
24037
24038if test -n "$PKG_CONFIG"; then
24039    if test -n "$GST_BASE_CFLAGS"; then
24040        pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
24041    else
24042        if test -n "$PKG_CONFIG" && \
24043    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24044  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24045  ac_status=$?
24046  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24047  test $ac_status = 0; }; then
24048  pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24049else
24050  pkg_failed=yes
24051fi
24052    fi
24053else
24054	pkg_failed=untried
24055fi
24056if test -n "$PKG_CONFIG"; then
24057    if test -n "$GST_BASE_LIBS"; then
24058        pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
24059    else
24060        if test -n "$PKG_CONFIG" && \
24061    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24062  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24063  ac_status=$?
24064  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24065  test $ac_status = 0; }; then
24066  pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24067else
24068  pkg_failed=yes
24069fi
24070    fi
24071else
24072	pkg_failed=untried
24073fi
24074
24075
24076
24077if test $pkg_failed = yes; then
24078
24079if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24080        _pkg_short_errors_supported=yes
24081else
24082        _pkg_short_errors_supported=no
24083fi
24084        if test $_pkg_short_errors_supported = yes; then
24085	        GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24086        else
24087	        GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24088        fi
24089	# Put the nasty error message in config.log where it belongs
24090	echo "$GST_BASE_PKG_ERRORS" >&5
24091
24092	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24093$as_echo "no" >&6; }
24094
24095      HAVE_GST_BASE="no"
24096      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
24097$as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
24098      if test "x$required" = "xyes"; then
24099        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24100      else
24101        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24102$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24103      fi
24104
24105elif test $pkg_failed = untried; then
24106
24107      HAVE_GST_BASE="no"
24108      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
24109$as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
24110      if test "x$required" = "xyes"; then
24111        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24112      else
24113        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24114$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24115      fi
24116
24117else
24118	GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
24119	GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
24120        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24121$as_echo "yes" >&6; }
24122
24123      HAVE_GST_BASE="yes"
24124
24125fi
24126
24127
24128
24129
24130
24131  module=gstreamer-check-$GST_API_VERSION
24132  minver=$GST_REQ
24133  name="GStreamer Check unittest Library"
24134  required=no
24135
24136pkg_failed=no
24137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
24138$as_echo_n "checking for GST_CHECK... " >&6; }
24139
24140if test -n "$PKG_CONFIG"; then
24141    if test -n "$GST_CHECK_CFLAGS"; then
24142        pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
24143    else
24144        if test -n "$PKG_CONFIG" && \
24145    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24146  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24147  ac_status=$?
24148  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24149  test $ac_status = 0; }; then
24150  pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24151else
24152  pkg_failed=yes
24153fi
24154    fi
24155else
24156	pkg_failed=untried
24157fi
24158if test -n "$PKG_CONFIG"; then
24159    if test -n "$GST_CHECK_LIBS"; then
24160        pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
24161    else
24162        if test -n "$PKG_CONFIG" && \
24163    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24164  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24165  ac_status=$?
24166  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24167  test $ac_status = 0; }; then
24168  pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24169else
24170  pkg_failed=yes
24171fi
24172    fi
24173else
24174	pkg_failed=untried
24175fi
24176
24177
24178
24179if test $pkg_failed = yes; then
24180
24181if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24182        _pkg_short_errors_supported=yes
24183else
24184        _pkg_short_errors_supported=no
24185fi
24186        if test $_pkg_short_errors_supported = yes; then
24187	        GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24188        else
24189	        GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24190        fi
24191	# Put the nasty error message in config.log where it belongs
24192	echo "$GST_CHECK_PKG_ERRORS" >&5
24193
24194	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24195$as_echo "no" >&6; }
24196
24197      HAVE_GST_CHECK="no"
24198      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
24199$as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
24200      if test "x$required" = "xyes"; then
24201        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24202      else
24203        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24204$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24205      fi
24206
24207elif test $pkg_failed = untried; then
24208
24209      HAVE_GST_CHECK="no"
24210      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
24211$as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
24212      if test "x$required" = "xyes"; then
24213        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24214      else
24215        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24216$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24217      fi
24218
24219else
24220	GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
24221	GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
24222        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24223$as_echo "yes" >&6; }
24224
24225      HAVE_GST_CHECK="yes"
24226
24227fi
24228
24229
24230
24231
24232
24233  module=gstreamer-plugins-base-$GST_API_VERSION
24234  minver=$GSTPB_REQ
24235  name="GStreamer Base Plugins"
24236  required=yes
24237
24238pkg_failed=no
24239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
24240$as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
24241
24242if test -n "$PKG_CONFIG"; then
24243    if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
24244        pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
24245    else
24246        if test -n "$PKG_CONFIG" && \
24247    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24248  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24249  ac_status=$?
24250  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24251  test $ac_status = 0; }; then
24252  pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24253else
24254  pkg_failed=yes
24255fi
24256    fi
24257else
24258	pkg_failed=untried
24259fi
24260if test -n "$PKG_CONFIG"; then
24261    if test -n "$GST_PLUGINS_BASE_LIBS"; then
24262        pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
24263    else
24264        if test -n "$PKG_CONFIG" && \
24265    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24266  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24267  ac_status=$?
24268  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24269  test $ac_status = 0; }; then
24270  pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24271else
24272  pkg_failed=yes
24273fi
24274    fi
24275else
24276	pkg_failed=untried
24277fi
24278
24279
24280
24281if test $pkg_failed = yes; then
24282
24283if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24284        _pkg_short_errors_supported=yes
24285else
24286        _pkg_short_errors_supported=no
24287fi
24288        if test $_pkg_short_errors_supported = yes; then
24289	        GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24290        else
24291	        GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24292        fi
24293	# Put the nasty error message in config.log where it belongs
24294	echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
24295
24296	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24297$as_echo "no" >&6; }
24298
24299      HAVE_GST_PLUGINS_BASE="no"
24300      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
24301$as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
24302      if test "x$required" = "xyes"; then
24303        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24304      else
24305        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24306$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24307      fi
24308
24309elif test $pkg_failed = untried; then
24310
24311      HAVE_GST_PLUGINS_BASE="no"
24312      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
24313$as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
24314      if test "x$required" = "xyes"; then
24315        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24316      else
24317        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24318$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24319      fi
24320
24321else
24322	GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
24323	GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
24324        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24325$as_echo "yes" >&6; }
24326
24327      HAVE_GST_PLUGINS_BASE="yes"
24328
24329fi
24330
24331
24332
24333  if test "x$HAVE_GST_PLUGINS_BASE" = "xyes"; then
24334                if test -z $GSTPB_PLUGINS_DIR; then
24335      GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_API_VERSION`
24336      if test -z $GSTPB_PLUGINS_DIR; then
24337        as_fn_error $? "no pluginsdir set in GStreamer Base Plugins pkg-config file" "$LINENO" 5
24338      fi
24339    fi
24340    { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
24341$as_echo "$as_me: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
24342    GST_PLUGINS_BASE_DIR="$GSTPB_PLUGINS_DIR/gst:$GSTPB_PLUGINS_DIR/sys:$GSTPB_PLUGINS_DIR/ext"
24343
24344
24345  fi
24346
24347 if test "x$HAVE_GST_CHECK" = "xyes"; then
24348  HAVE_GST_CHECK_TRUE=
24349  HAVE_GST_CHECK_FALSE='#'
24350else
24351  HAVE_GST_CHECK_TRUE='#'
24352  HAVE_GST_CHECK_FALSE=
24353fi
24354
24355
24356GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
24357GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`"
24358GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_API_VERSION`"
24359
24360
24361
24362
24363
24364pkg_failed=no
24365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE_NO_EXPORT" >&5
24366$as_echo_n "checking for GMODULE_NO_EXPORT... " >&6; }
24367
24368if test -n "$PKG_CONFIG"; then
24369    if test -n "$GMODULE_NO_EXPORT_CFLAGS"; then
24370        pkg_cv_GMODULE_NO_EXPORT_CFLAGS="$GMODULE_NO_EXPORT_CFLAGS"
24371    else
24372        if test -n "$PKG_CONFIG" && \
24373    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-no-export-2.0\""; } >&5
24374  ($PKG_CONFIG --exists --print-errors "gmodule-no-export-2.0") 2>&5
24375  ac_status=$?
24376  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24377  test $ac_status = 0; }; then
24378  pkg_cv_GMODULE_NO_EXPORT_CFLAGS=`$PKG_CONFIG --cflags "gmodule-no-export-2.0" 2>/dev/null`
24379else
24380  pkg_failed=yes
24381fi
24382    fi
24383else
24384	pkg_failed=untried
24385fi
24386if test -n "$PKG_CONFIG"; then
24387    if test -n "$GMODULE_NO_EXPORT_LIBS"; then
24388        pkg_cv_GMODULE_NO_EXPORT_LIBS="$GMODULE_NO_EXPORT_LIBS"
24389    else
24390        if test -n "$PKG_CONFIG" && \
24391    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-no-export-2.0\""; } >&5
24392  ($PKG_CONFIG --exists --print-errors "gmodule-no-export-2.0") 2>&5
24393  ac_status=$?
24394  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24395  test $ac_status = 0; }; then
24396  pkg_cv_GMODULE_NO_EXPORT_LIBS=`$PKG_CONFIG --libs "gmodule-no-export-2.0" 2>/dev/null`
24397else
24398  pkg_failed=yes
24399fi
24400    fi
24401else
24402	pkg_failed=untried
24403fi
24404
24405
24406
24407if test $pkg_failed = yes; then
24408
24409if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24410        _pkg_short_errors_supported=yes
24411else
24412        _pkg_short_errors_supported=no
24413fi
24414        if test $_pkg_short_errors_supported = yes; then
24415	        GMODULE_NO_EXPORT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gmodule-no-export-2.0"`
24416        else
24417	        GMODULE_NO_EXPORT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gmodule-no-export-2.0"`
24418        fi
24419	# Put the nasty error message in config.log where it belongs
24420	echo "$GMODULE_NO_EXPORT_PKG_ERRORS" >&5
24421
24422	as_fn_error $? "Package requirements (gmodule-no-export-2.0) were not met:
24423
24424$GMODULE_NO_EXPORT_PKG_ERRORS
24425
24426Consider adjusting the PKG_CONFIG_PATH environment variable if you
24427installed software in a non-standard prefix.
24428
24429Alternatively, you may set the environment variables GMODULE_NO_EXPORT_CFLAGS
24430and GMODULE_NO_EXPORT_LIBS to avoid the need to call pkg-config.
24431See the pkg-config man page for more details.
24432" "$LINENO" 5
24433elif test $pkg_failed = untried; then
24434	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24435$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24436as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
24437is in your PATH or set the PKG_CONFIG environment variable to the full
24438path to pkg-config.
24439
24440Alternatively, you may set the environment variables GMODULE_NO_EXPORT_CFLAGS
24441and GMODULE_NO_EXPORT_LIBS to avoid the need to call pkg-config.
24442See the pkg-config man page for more details.
24443
24444To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24445See \`config.log' for more details" "$LINENO" 5; }
24446else
24447	GMODULE_NO_EXPORT_CFLAGS=$pkg_cv_GMODULE_NO_EXPORT_CFLAGS
24448	GMODULE_NO_EXPORT_LIBS=$pkg_cv_GMODULE_NO_EXPORT_LIBS
24449        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24450$as_echo "yes" >&6; }
24451	:
24452fi
24453
24454# Check whether --enable-Bsymbolic was given.
24455if test "${enable_Bsymbolic+set}" = set; then :
24456  enableval=$enable_Bsymbolic;
24457else
24458  SAVED_LDFLAGS="${LDFLAGS}" SAVED_LIBS="${LIBS}"
24459               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
24460$as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
24461               LDFLAGS=-Wl,-Bsymbolic-functions
24462               LIBS=
24463               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24464/* end confdefs.h.  */
24465
24466int
24467main ()
24468{
24469return 0
24470  ;
24471  return 0;
24472}
24473_ACEOF
24474if ac_fn_c_try_link "$LINENO"; then :
24475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24476$as_echo "yes" >&6; }
24477                           enable_Bsymbolic=yes
24478else
24479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24480$as_echo "no" >&6; }
24481                           enable_Bsymbolic=no
24482fi
24483rm -f core conftest.err conftest.$ac_objext \
24484    conftest$ac_exeext conftest.$ac_ext
24485               LDFLAGS="${SAVED_LDFLAGS}" LIBS="${SAVED_LIBS}"
24486fi
24487
24488
24489
24490GST_LICENSE="LGPL"
24491
24492cat >>confdefs.h <<_ACEOF
24493#define GST_LICENSE "$GST_LICENSE"
24494_ACEOF
24495
24496
24497
24498
24499
24500  EXP_VAR=PLUGINDIR
24501  FROM_VAR=${libdir}/gstreamer-$GST_API_VERSION
24502
24503    prefix_save=$prefix
24504  exec_prefix_save=$exec_prefix
24505
24506    if test "x$prefix" = "xNONE"; then
24507    prefix="$ac_default_prefix"
24508  fi
24509    if test "x$exec_prefix" = "xNONE"; then
24510    exec_prefix=$prefix
24511  fi
24512
24513  full_var="$FROM_VAR"
24514    while true; do
24515    new_full_var="`eval echo $full_var`"
24516    if test "x$new_full_var" = "x$full_var"; then break; fi
24517    full_var=$new_full_var
24518  done
24519
24520    full_var=$new_full_var
24521  PLUGINDIR="$full_var"
24522
24523
24524    prefix=$prefix_save
24525  exec_prefix=$exec_prefix_save
24526
24527
24528cat >>confdefs.h <<_ACEOF
24529#define PLUGINDIR "$PLUGINDIR"
24530_ACEOF
24531
24532  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
24533$as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
24534
24535    plugindir="\$(libdir)/gstreamer-$GST_API_VERSION"
24536
24537
24538
24539
24540  if test "x$PACKAGE_VERSION_NANO" = "x0"; then
24541
24542      if test "xyes" = "xno" -o "xyes" = "x"; then
24543    GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
24544  elif test "xyes" = "xyes"; then
24545            if ( echo  "${srcdir}/gst-plugins-ugly.doap"  | grep '^20[1-9][0-9]-[0-1][0-9]-[0-3][0-9]' >/dev/null ) ; then
24546      GST_PACKAGE_RELEASE_DATETIME= "${srcdir}/gst-plugins-ugly.doap"
24547    else
24548            YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO   "${srcdir}/gst-plugins-ugly.doap" `;
24549      if test "x$YYYY_MM_DD" != "x"; then
24550        GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
24551      else
24552        as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
24553            release date for release version  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO  from  \"${srcdir}/gst-plugins-ugly.doap\" " "$LINENO" 5
24554        GST_PACKAGE_RELEASE_DATETIME=""
24555      fi
24556    fi
24557    elif ( echo yes | grep '^20[1-9][0-9]-[0-1][0-9]-[0-3][0-9]' >/dev/null ) ; then
24558    GST_PACKAGE_RELEASE_DATETIME=yes
24559  else
24560    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
24561$as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
24562    GST_PACKAGE_RELEASE_DATETIME=""
24563  fi
24564
24565  if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
24566    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
24567$as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
24568  else
24569    { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
24570$as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
24571
24572
24573cat >>confdefs.h <<_ACEOF
24574#define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
24575_ACEOF
24576
24577  fi
24578
24579  else
24580
24581      if test "xno" = "xno" -o "xno" = "x"; then
24582    GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
24583  elif test "xno" = "xyes"; then
24584            if ( echo  | grep '^20[1-9][0-9]-[0-1][0-9]-[0-3][0-9]' >/dev/null ) ; then
24585      GST_PACKAGE_RELEASE_DATETIME=
24586    else
24587            YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  `;
24588      if test "x$YYYY_MM_DD" != "x"; then
24589        GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
24590      else
24591        as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
24592            release date for release version  from " "$LINENO" 5
24593        GST_PACKAGE_RELEASE_DATETIME=""
24594      fi
24595    fi
24596    elif ( echo no | grep '^20[1-9][0-9]-[0-1][0-9]-[0-3][0-9]' >/dev/null ) ; then
24597    GST_PACKAGE_RELEASE_DATETIME=no
24598  else
24599    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
24600$as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
24601    GST_PACKAGE_RELEASE_DATETIME=""
24602  fi
24603
24604  if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
24605    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
24606$as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
24607  else
24608    { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
24609$as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
24610
24611
24612cat >>confdefs.h <<_ACEOF
24613#define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
24614_ACEOF
24615
24616  fi
24617
24618  fi
24619
24620
24621
24622
24623
24624
24625  WARNING_CFLAGS=""
24626  ERROR_CFLAGS=""
24627
24628
24629  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
24630$as_echo_n "checking to see if compiler understands -Wall... " >&6; }
24631
24632  save_CFLAGS="$CFLAGS"
24633  CFLAGS="$CFLAGS -Wall"
24634
24635  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24636/* end confdefs.h.  */
24637
24638int
24639main ()
24640{
24641
24642  ;
24643  return 0;
24644}
24645_ACEOF
24646if ac_fn_c_try_compile "$LINENO"; then :
24647  flag_ok=yes
24648else
24649  flag_ok=no
24650fi
24651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24652  CFLAGS="$save_CFLAGS"
24653
24654  if test "X$flag_ok" = Xyes ; then
24655    WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
24656    true
24657  else
24658
24659    true
24660  fi
24661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24662$as_echo "$flag_ok" >&6; }
24663
24664
24665
24666  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
24667$as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
24668
24669  save_CFLAGS="$CFLAGS"
24670  CFLAGS="$CFLAGS -Wdeclaration-after-statement"
24671
24672  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24673/* end confdefs.h.  */
24674
24675int
24676main ()
24677{
24678
24679  ;
24680  return 0;
24681}
24682_ACEOF
24683if ac_fn_c_try_compile "$LINENO"; then :
24684  flag_ok=yes
24685else
24686  flag_ok=no
24687fi
24688rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24689  CFLAGS="$save_CFLAGS"
24690
24691  if test "X$flag_ok" = Xyes ; then
24692    WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
24693    true
24694  else
24695
24696    true
24697  fi
24698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24699$as_echo "$flag_ok" >&6; }
24700
24701
24702
24703  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
24704$as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
24705
24706  save_CFLAGS="$CFLAGS"
24707  CFLAGS="$CFLAGS -Wvla"
24708
24709  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24710/* end confdefs.h.  */
24711
24712int
24713main ()
24714{
24715
24716  ;
24717  return 0;
24718}
24719_ACEOF
24720if ac_fn_c_try_compile "$LINENO"; then :
24721  flag_ok=yes
24722else
24723  flag_ok=no
24724fi
24725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24726  CFLAGS="$save_CFLAGS"
24727
24728  if test "X$flag_ok" = Xyes ; then
24729    WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
24730    true
24731  else
24732
24733    true
24734  fi
24735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24736$as_echo "$flag_ok" >&6; }
24737
24738
24739
24740  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
24741$as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
24742
24743  save_CFLAGS="$CFLAGS"
24744  CFLAGS="$CFLAGS -Wpointer-arith"
24745
24746  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24747/* end confdefs.h.  */
24748
24749int
24750main ()
24751{
24752
24753  ;
24754  return 0;
24755}
24756_ACEOF
24757if ac_fn_c_try_compile "$LINENO"; then :
24758  flag_ok=yes
24759else
24760  flag_ok=no
24761fi
24762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24763  CFLAGS="$save_CFLAGS"
24764
24765  if test "X$flag_ok" = Xyes ; then
24766    WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
24767    true
24768  else
24769
24770    true
24771  fi
24772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24773$as_echo "$flag_ok" >&6; }
24774
24775
24776    if test "x$FATAL_WARNINGS" != "xno"
24777  then
24778
24779  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
24780$as_echo_n "checking to see if compiler understands -Werror... " >&6; }
24781
24782  save_CFLAGS="$CFLAGS"
24783  CFLAGS="$CFLAGS -Werror"
24784
24785  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24786/* end confdefs.h.  */
24787
24788int
24789main ()
24790{
24791
24792  ;
24793  return 0;
24794}
24795_ACEOF
24796if ac_fn_c_try_compile "$LINENO"; then :
24797  flag_ok=yes
24798else
24799  flag_ok=no
24800fi
24801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24802  CFLAGS="$save_CFLAGS"
24803
24804  if test "X$flag_ok" = Xyes ; then
24805    ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
24806    true
24807  else
24808
24809    true
24810  fi
24811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24812$as_echo "$flag_ok" >&6; }
24813
24814  fi
24815
24816  if test "x
24817    -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
24818    -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
24819    -Winit-self -Wmissing-include-dirs -Waddress
24820    -Waggregate-return -Wno-multichar -Wnested-externs " != "x"
24821  then
24822    UNSUPPORTED=""
24823    list="
24824    -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
24825    -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
24826    -Winit-self -Wmissing-include-dirs -Waddress
24827    -Waggregate-return -Wno-multichar -Wnested-externs "
24828    for each in $list
24829    do
24830
24831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
24832$as_echo_n "checking to see if compiler understands $each... " >&6; }
24833
24834  save_CFLAGS="$CFLAGS"
24835  CFLAGS="$CFLAGS $each"
24836
24837  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24838/* end confdefs.h.  */
24839
24840int
24841main ()
24842{
24843
24844  ;
24845  return 0;
24846}
24847_ACEOF
24848if ac_fn_c_try_compile "$LINENO"; then :
24849  flag_ok=yes
24850else
24851  flag_ok=no
24852fi
24853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24854  CFLAGS="$save_CFLAGS"
24855
24856  if test "X$flag_ok" = Xyes ; then
24857    WARNING_CFLAGS="$WARNING_CFLAGS $each"
24858    true
24859  else
24860    UNSUPPORTED="$UNSUPPORTED $each"
24861    true
24862  fi
24863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24864$as_echo "$flag_ok" >&6; }
24865
24866    done
24867    if test "X$UNSUPPORTED" != X ; then
24868      { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
24869$as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
24870    fi
24871  fi
24872
24873
24874
24875  { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
24876$as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
24877  { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
24878$as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
24879
24880
24881
24882
24883
24884  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands " >&5
24885$as_echo_n "checking to see if c++ compiler understands ... " >&6; }
24886
24887  save_CPPFLAGS="$CPPFLAGS"
24888  CPPFLAGS="$CPPFLAGS "
24889
24890  ac_ext=cpp
24891ac_cpp='$CXXCPP $CPPFLAGS'
24892ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24893ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24894ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24895
24896
24897  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24898/* end confdefs.h.  */
24899
24900int
24901main ()
24902{
24903
24904  ;
24905  return 0;
24906}
24907_ACEOF
24908if ac_fn_cxx_try_compile "$LINENO"; then :
24909  flag_ok=yes
24910else
24911  flag_ok=no
24912fi
24913rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24914  CPPFLAGS="$save_CPPFLAGS"
24915
24916  if test "X$flag_ok" = Xyes ; then
24917
24918    true
24919  else
24920
24921    true
24922  fi
24923
24924  ac_ext=c
24925ac_cpp='$CPP $CPPFLAGS'
24926ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24927ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24928ac_compiler_gnu=$ac_cv_c_compiler_gnu
24929
24930
24931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24932$as_echo "$flag_ok" >&6; }
24933
24934
24935
24936
24937
24938  ERROR_CXXFLAGS=""
24939  WARNING_CXXFLAGS=""
24940
24941
24942
24943
24944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wall" >&5
24945$as_echo_n "checking to see if c++ compiler understands -Wall... " >&6; }
24946
24947  save_CPPFLAGS="$CPPFLAGS"
24948  CPPFLAGS="$CPPFLAGS -Wall"
24949
24950  ac_ext=cpp
24951ac_cpp='$CXXCPP $CPPFLAGS'
24952ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24953ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24954ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24955
24956
24957  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24958/* end confdefs.h.  */
24959
24960int
24961main ()
24962{
24963
24964  ;
24965  return 0;
24966}
24967_ACEOF
24968if ac_fn_cxx_try_compile "$LINENO"; then :
24969  flag_ok=yes
24970else
24971  flag_ok=no
24972fi
24973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24974  CPPFLAGS="$save_CPPFLAGS"
24975
24976  if test "X$flag_ok" = Xyes ; then
24977    WARNING_CXXFLAGS="$WARNING_CXXFLAGS -Wall"
24978    true
24979  else
24980
24981    true
24982  fi
24983
24984  ac_ext=c
24985ac_cpp='$CPP $CPPFLAGS'
24986ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24987ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24988ac_compiler_gnu=$ac_cv_c_compiler_gnu
24989
24990
24991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24992$as_echo "$flag_ok" >&6; }
24993
24994
24995    if test "x$FATAL_WARNINGS" != "xno"
24996  then
24997
24998
24999
25000  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Werror" >&5
25001$as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; }
25002
25003  save_CPPFLAGS="$CPPFLAGS"
25004  CPPFLAGS="$CPPFLAGS -Werror"
25005
25006  ac_ext=cpp
25007ac_cpp='$CXXCPP $CPPFLAGS'
25008ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25009ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25010ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25011
25012
25013  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25014/* end confdefs.h.  */
25015
25016int
25017main ()
25018{
25019
25020  ;
25021  return 0;
25022}
25023_ACEOF
25024if ac_fn_cxx_try_compile "$LINENO"; then :
25025  flag_ok=yes
25026else
25027  flag_ok=no
25028fi
25029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25030  CPPFLAGS="$save_CPPFLAGS"
25031
25032  if test "X$flag_ok" = Xyes ; then
25033    ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror"
25034    true
25035  else
25036
25037    true
25038  fi
25039
25040  ac_ext=c
25041ac_cpp='$CPP $CPPFLAGS'
25042ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25043ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25044ac_compiler_gnu=$ac_cv_c_compiler_gnu
25045
25046
25047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25048$as_echo "$flag_ok" >&6; }
25049
25050
25051    if test "x$ERROR_CXXFLAGS" != "x"
25052    then
25053
25054
25055
25056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-non-virtual-dtor" >&5
25057$as_echo_n "checking to see if c++ compiler understands -Wno-non-virtual-dtor... " >&6; }
25058
25059  save_CPPFLAGS="$CPPFLAGS"
25060  CPPFLAGS="$CPPFLAGS -Wno-non-virtual-dtor"
25061
25062  ac_ext=cpp
25063ac_cpp='$CXXCPP $CPPFLAGS'
25064ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25065ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25066ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25067
25068
25069  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25070/* end confdefs.h.  */
25071
25072int
25073main ()
25074{
25075
25076  ;
25077  return 0;
25078}
25079_ACEOF
25080if ac_fn_cxx_try_compile "$LINENO"; then :
25081  flag_ok=yes
25082else
25083  flag_ok=no
25084fi
25085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25086  CPPFLAGS="$save_CPPFLAGS"
25087
25088  if test "X$flag_ok" = Xyes ; then
25089    ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Wno-non-virtual-dtor"
25090    true
25091  else
25092
25093    true
25094  fi
25095
25096  ac_ext=c
25097ac_cpp='$CPP $CPPFLAGS'
25098ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25100ac_compiler_gnu=$ac_cv_c_compiler_gnu
25101
25102
25103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25104$as_echo "$flag_ok" >&6; }
25105
25106
25107				if test -n "$PKG_CONFIG" && \
25108    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
25109  ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
25110  ac_status=$?
25111  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25112  test $ac_status = 0; }; then
25113
25114
25115
25116
25117  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fno-strict-aliasing" >&5
25118$as_echo_n "checking to see if c++ compiler understands -fno-strict-aliasing... " >&6; }
25119
25120  save_CPPFLAGS="$CPPFLAGS"
25121  CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
25122
25123  ac_ext=cpp
25124ac_cpp='$CXXCPP $CPPFLAGS'
25125ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25126ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25127ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25128
25129
25130  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25131/* end confdefs.h.  */
25132
25133int
25134main ()
25135{
25136
25137  ;
25138  return 0;
25139}
25140_ACEOF
25141if ac_fn_cxx_try_compile "$LINENO"; then :
25142  flag_ok=yes
25143else
25144  flag_ok=no
25145fi
25146rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25147  CPPFLAGS="$save_CPPFLAGS"
25148
25149  if test "X$flag_ok" = Xyes ; then
25150    ERROR_CXXFLAGS="$ERROR_CXXFLAGS -fno-strict-aliasing"
25151    true
25152  else
25153
25154    true
25155  fi
25156
25157  ac_ext=c
25158ac_cpp='$CPP $CPPFLAGS'
25159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25161ac_compiler_gnu=$ac_cv_c_compiler_gnu
25162
25163
25164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25165$as_echo "$flag_ok" >&6; }
25166
25167
25168fi
25169    fi
25170  fi
25171
25172  if test "x
25173    -Wmissing-declarations -Wredundant-decls
25174    -Wwrite-strings -Wformat-nonliteral -Wformat-security
25175    -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
25176    -Wno-multichar" != "x"
25177  then
25178    UNSUPPORTED=""
25179    list="
25180    -Wmissing-declarations -Wredundant-decls
25181    -Wwrite-strings -Wformat-nonliteral -Wformat-security
25182    -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
25183    -Wno-multichar"
25184    for each in $list
25185    do
25186
25187
25188
25189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands $each" >&5
25190$as_echo_n "checking to see if c++ compiler understands $each... " >&6; }
25191
25192  save_CPPFLAGS="$CPPFLAGS"
25193  CPPFLAGS="$CPPFLAGS $each"
25194
25195  ac_ext=cpp
25196ac_cpp='$CXXCPP $CPPFLAGS'
25197ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25198ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25199ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25200
25201
25202  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25203/* end confdefs.h.  */
25204
25205int
25206main ()
25207{
25208
25209  ;
25210  return 0;
25211}
25212_ACEOF
25213if ac_fn_cxx_try_compile "$LINENO"; then :
25214  flag_ok=yes
25215else
25216  flag_ok=no
25217fi
25218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25219  CPPFLAGS="$save_CPPFLAGS"
25220
25221  if test "X$flag_ok" = Xyes ; then
25222    WARNING_CXXFLAGS="$WARNING_CXXFLAGS $each"
25223    true
25224  else
25225    UNSUPPORTED="$UNSUPPORTED $each"
25226    true
25227  fi
25228
25229  ac_ext=c
25230ac_cpp='$CPP $CPPFLAGS'
25231ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25232ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25233ac_compiler_gnu=$ac_cv_c_compiler_gnu
25234
25235
25236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25237$as_echo "$flag_ok" >&6; }
25238
25239    done
25240    if test "X$UNSUPPORTED" != X ; then
25241      { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
25242$as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
25243    fi
25244  fi
25245
25246
25247
25248  { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&5
25249$as_echo "$as_me: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&6;}
25250  { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&5
25251$as_echo "$as_me: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&6;}
25252
25253
25254
25255      if test "x$GST_GIT" = "xyes"; then
25256    GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
25257  else
25258    GST_LEVEL_DEFAULT=GST_LEVEL_NONE
25259  fi
25260
25261cat >>confdefs.h <<_ACEOF
25262#define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
25263_ACEOF
25264
25265
25266
25267
25268
25269            DEFAULT_AUDIOSINK="autoaudiosink"
25270  DEFAULT_VIDEOSINK="autovideosink"
25271  DEFAULT_AUDIOSRC="alsasrc"
25272  DEFAULT_VIDEOSRC="v4l2src"
25273  DEFAULT_VISUALIZER="goom"
25274  case "$host" in
25275    *-sun-* | *pc-solaris* )
25276      DEFAULT_AUDIOSRC="sunaudiosrc"
25277      ;;
25278    *-darwin* )
25279      DEFAULT_AUDIOSRC="osxaudiosrc"
25280      ;;
25281  esac
25282
25283
25284# Check whether --with-default-audiosink was given.
25285if test "${with_default_audiosink+set}" = set; then :
25286  withval=$with_default_audiosink;
25287      case "${withval}" in
25288        yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
25289        no)  as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
25290        *)   DEFAULT_AUDIOSINK="${withval}" ;;
25291      esac
25292
25293else
25294
25295      DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
25296
25297fi
25298
25299  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5
25300$as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;}
25301
25302
25303cat >>confdefs.h <<_ACEOF
25304#define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK"
25305_ACEOF
25306
25307
25308
25309# Check whether --with-default-audiosrc was given.
25310if test "${with_default_audiosrc+set}" = set; then :
25311  withval=$with_default_audiosrc;
25312      case "${withval}" in
25313        yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
25314        no)  as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
25315        *)   DEFAULT_AUDIOSRC="${withval}" ;;
25316      esac
25317
25318else
25319
25320      DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
25321
25322fi
25323
25324  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5
25325$as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;}
25326
25327
25328cat >>confdefs.h <<_ACEOF
25329#define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC"
25330_ACEOF
25331
25332
25333
25334# Check whether --with-default-videosink was given.
25335if test "${with_default_videosink+set}" = set; then :
25336  withval=$with_default_videosink;
25337      case "${withval}" in
25338        yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
25339        no)  as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
25340        *)   DEFAULT_VIDEOSINK="${withval}" ;;
25341      esac
25342
25343else
25344
25345      DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
25346
25347fi
25348
25349  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5
25350$as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;}
25351
25352
25353cat >>confdefs.h <<_ACEOF
25354#define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK"
25355_ACEOF
25356
25357
25358
25359# Check whether --with-default-videosrc was given.
25360if test "${with_default_videosrc+set}" = set; then :
25361  withval=$with_default_videosrc;
25362      case "${withval}" in
25363        yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
25364        no)  as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
25365        *)   DEFAULT_VIDEOSRC="${withval}" ;;
25366      esac
25367
25368else
25369
25370      DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
25371
25372fi
25373
25374  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5
25375$as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;}
25376
25377
25378cat >>confdefs.h <<_ACEOF
25379#define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC"
25380_ACEOF
25381
25382
25383
25384# Check whether --with-default-visualizer was given.
25385if test "${with_default_visualizer+set}" = set; then :
25386  withval=$with_default_visualizer;
25387      case "${withval}" in
25388        yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
25389        no)  as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
25390        *)   DEFAULT_VISUALIZER="${withval}" ;;
25391      esac
25392
25393else
25394
25395      DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
25396
25397fi
25398
25399  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5
25400$as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;}
25401
25402
25403cat >>confdefs.h <<_ACEOF
25404#define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER"
25405_ACEOF
25406
25407
25408
25409
25410
25411  GST_PLUGINS_ALL="$GST_PLUGINS_ALL asfdemux"
25412
25413
25414
25415  # Check whether --enable-asfdemux was given.
25416if test "${enable_asfdemux+set}" = set; then :
25417  enableval=$enable_asfdemux;
25418      case "${enableval}" in
25419        yes) gst_use_asfdemux=yes ;;
25420        no) gst_use_asfdemux=no ;;
25421        *) as_fn_error $? "bad value ${enableval} for --enable-asfdemux" "$LINENO" 5 ;;
25422       esac
25423
25424else
25425  gst_use_asfdemux=yes
25426fi
25427
25428  if test x$gst_use_asfdemux = xno; then
25429    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin asfdemux" >&5
25430$as_echo "$as_me: disabling dependency-less plugin asfdemux" >&6;}
25431    WITHOUT_PLUGINS="$WITHOUT_PLUGINS asfdemux"
25432  fi
25433
25434
25435    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " asfdemux " > /dev/null; then
25436    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED asfdemux"
25437  fi
25438    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " asfdemux " > /dev/null; then
25439    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ asfdemux / /'`
25440  fi
25441    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " asfdemux " > /dev/null; then
25442    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ asfdemux / /'`
25443  fi
25444   if echo " $GST_PLUGINS_SELECTED " | grep -i " asfdemux " > /dev/null; then
25445  USE_PLUGIN_ASFDEMUX_TRUE=
25446  USE_PLUGIN_ASFDEMUX_FALSE='#'
25447else
25448  USE_PLUGIN_ASFDEMUX_TRUE='#'
25449  USE_PLUGIN_ASFDEMUX_FALSE=
25450fi
25451
25452
25453
25454  GST_PLUGINS_ALL="$GST_PLUGINS_ALL dvdlpcmdec"
25455
25456
25457
25458  # Check whether --enable-dvdlpcmdec was given.
25459if test "${enable_dvdlpcmdec+set}" = set; then :
25460  enableval=$enable_dvdlpcmdec;
25461      case "${enableval}" in
25462        yes) gst_use_dvdlpcmdec=yes ;;
25463        no) gst_use_dvdlpcmdec=no ;;
25464        *) as_fn_error $? "bad value ${enableval} for --enable-dvdlpcmdec" "$LINENO" 5 ;;
25465       esac
25466
25467else
25468  gst_use_dvdlpcmdec=yes
25469fi
25470
25471  if test x$gst_use_dvdlpcmdec = xno; then
25472    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dvdlpcmdec" >&5
25473$as_echo "$as_me: disabling dependency-less plugin dvdlpcmdec" >&6;}
25474    WITHOUT_PLUGINS="$WITHOUT_PLUGINS dvdlpcmdec"
25475  fi
25476
25477
25478    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dvdlpcmdec " > /dev/null; then
25479    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dvdlpcmdec"
25480  fi
25481    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dvdlpcmdec " > /dev/null; then
25482    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dvdlpcmdec / /'`
25483  fi
25484    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " dvdlpcmdec " > /dev/null; then
25485    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dvdlpcmdec / /'`
25486  fi
25487   if echo " $GST_PLUGINS_SELECTED " | grep -i " dvdlpcmdec " > /dev/null; then
25488  USE_PLUGIN_DVDLPCMDEC_TRUE=
25489  USE_PLUGIN_DVDLPCMDEC_FALSE='#'
25490else
25491  USE_PLUGIN_DVDLPCMDEC_TRUE='#'
25492  USE_PLUGIN_DVDLPCMDEC_FALSE=
25493fi
25494
25495
25496
25497  GST_PLUGINS_ALL="$GST_PLUGINS_ALL dvdsub"
25498
25499
25500
25501  # Check whether --enable-dvdsub was given.
25502if test "${enable_dvdsub+set}" = set; then :
25503  enableval=$enable_dvdsub;
25504      case "${enableval}" in
25505        yes) gst_use_dvdsub=yes ;;
25506        no) gst_use_dvdsub=no ;;
25507        *) as_fn_error $? "bad value ${enableval} for --enable-dvdsub" "$LINENO" 5 ;;
25508       esac
25509
25510else
25511  gst_use_dvdsub=yes
25512fi
25513
25514  if test x$gst_use_dvdsub = xno; then
25515    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dvdsub" >&5
25516$as_echo "$as_me: disabling dependency-less plugin dvdsub" >&6;}
25517    WITHOUT_PLUGINS="$WITHOUT_PLUGINS dvdsub"
25518  fi
25519
25520
25521    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dvdsub " > /dev/null; then
25522    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dvdsub"
25523  fi
25524    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dvdsub " > /dev/null; then
25525    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dvdsub / /'`
25526  fi
25527    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " dvdsub " > /dev/null; then
25528    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dvdsub / /'`
25529  fi
25530   if echo " $GST_PLUGINS_SELECTED " | grep -i " dvdsub " > /dev/null; then
25531  USE_PLUGIN_DVDSUB_TRUE=
25532  USE_PLUGIN_DVDSUB_FALSE='#'
25533else
25534  USE_PLUGIN_DVDSUB_TRUE='#'
25535  USE_PLUGIN_DVDSUB_FALSE=
25536fi
25537
25538
25539
25540  GST_PLUGINS_ALL="$GST_PLUGINS_ALL xingmux"
25541
25542
25543
25544  # Check whether --enable-xingmux was given.
25545if test "${enable_xingmux+set}" = set; then :
25546  enableval=$enable_xingmux;
25547      case "${enableval}" in
25548        yes) gst_use_xingmux=yes ;;
25549        no) gst_use_xingmux=no ;;
25550        *) as_fn_error $? "bad value ${enableval} for --enable-xingmux" "$LINENO" 5 ;;
25551       esac
25552
25553else
25554  gst_use_xingmux=yes
25555fi
25556
25557  if test x$gst_use_xingmux = xno; then
25558    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin xingmux" >&5
25559$as_echo "$as_me: disabling dependency-less plugin xingmux" >&6;}
25560    WITHOUT_PLUGINS="$WITHOUT_PLUGINS xingmux"
25561  fi
25562
25563
25564    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " xingmux " > /dev/null; then
25565    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED xingmux"
25566  fi
25567    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " xingmux " > /dev/null; then
25568    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ xingmux / /'`
25569  fi
25570    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " xingmux " > /dev/null; then
25571    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ xingmux / /'`
25572  fi
25573   if echo " $GST_PLUGINS_SELECTED " | grep -i " xingmux " > /dev/null; then
25574  USE_PLUGIN_XINGMUX_TRUE=
25575  USE_PLUGIN_XINGMUX_FALSE='#'
25576else
25577  USE_PLUGIN_XINGMUX_TRUE='#'
25578  USE_PLUGIN_XINGMUX_FALSE=
25579fi
25580
25581
25582
25583  GST_PLUGINS_ALL="$GST_PLUGINS_ALL realmedia"
25584
25585
25586
25587  # Check whether --enable-realmedia was given.
25588if test "${enable_realmedia+set}" = set; then :
25589  enableval=$enable_realmedia;
25590      case "${enableval}" in
25591        yes) gst_use_realmedia=yes ;;
25592        no) gst_use_realmedia=no ;;
25593        *) as_fn_error $? "bad value ${enableval} for --enable-realmedia" "$LINENO" 5 ;;
25594       esac
25595
25596else
25597  gst_use_realmedia=yes
25598fi
25599
25600  if test x$gst_use_realmedia = xno; then
25601    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin realmedia" >&5
25602$as_echo "$as_me: disabling dependency-less plugin realmedia" >&6;}
25603    WITHOUT_PLUGINS="$WITHOUT_PLUGINS realmedia"
25604  fi
25605
25606
25607    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " realmedia " > /dev/null; then
25608    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED realmedia"
25609  fi
25610    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " realmedia " > /dev/null; then
25611    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ realmedia / /'`
25612  fi
25613    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " realmedia " > /dev/null; then
25614    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ realmedia / /'`
25615  fi
25616   if echo " $GST_PLUGINS_SELECTED " | grep -i " realmedia " > /dev/null; then
25617  USE_PLUGIN_REALMEDIA_TRUE=
25618  USE_PLUGIN_REALMEDIA_FALSE='#'
25619else
25620  USE_PLUGIN_REALMEDIA_TRUE='#'
25621  USE_PLUGIN_REALMEDIA_FALSE=
25622fi
25623
25624
25625
25626for ac_header in winsock2.h
25627do :
25628  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
25629if test "x$ac_cv_header_winsock2_h" = xyes; then :
25630  cat >>confdefs.h <<_ACEOF
25631#define HAVE_WINSOCK2_H 1
25632_ACEOF
25633 HAVE_WINSOCK2_H=yes
25634fi
25635
25636done
25637
25638
25639if test "x$HAVE_WINSOCK2_H" = "xyes"; then
25640  WIN32_LIBS="-lws2_32"
25641
25642fi
25643
25644
25645if test "x$BUILD_EXTERNAL" = "xyes"; then
25646
25647echo
25648{ $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in ext/" >&5
25649$as_echo "$as_me: Checking libraries for plugins in ext/" >&6;}
25650echo
25651
25652echo
25653{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: a52dec ***" >&5
25654$as_echo "$as_me: *** checking feature: a52dec ***" >&6;}
25655if test "xa52dec" != "x"
25656then
25657  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: a52dec ***" >&5
25658$as_echo "$as_me: *** for plug-ins: a52dec ***" >&6;}
25659fi
25660NOUSE=
25661if test "x$USE_A52DEC" = "xno"; then
25662  NOUSE="yes"
25663fi
25664# Check whether --enable-a52dec was given.
25665if test "${enable_a52dec+set}" = set; then :
25666  enableval=$enable_a52dec;  case "${enableval}" in
25667      yes) USE_A52DEC=yes;;
25668      no) USE_A52DEC=no;;
25669      *) as_fn_error $? "bad value ${enableval} for --enable-a52dec" "$LINENO" 5 ;;
25670    esac
25671else
25672   USE_A52DEC=yes
25673fi
25674
25675if test "x$NOUSE" = "xyes"; then
25676  USE_A52DEC="no"
25677  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** a52dec pre-configured not to be built" >&5
25678$as_echo "$as_me: WARNING: *** a52dec pre-configured not to be built" >&2;}
25679fi
25680NOUSE=
25681
25682if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " A52DEC " > /dev/null; then
25683  USE_A52DEC="no"
25684  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** a52dec not ported" >&5
25685$as_echo "$as_me: WARNING: *** a52dec not ported" >&2;}
25686fi
25687
25688
25689if test x$USE_A52DEC = xyes; then
25690
25691  gst_check_save_LIBS=$LIBS
25692  gst_check_save_LDFLAGS=$LDFLAGS
25693  gst_check_save_CFLAGS=$CFLAGS
25694  gst_check_save_CPPFLAGS=$CPPFLAGS
25695  gst_check_save_CXXFLAGS=$CXXFLAGS
25696
25697  HAVE_A52DEC=no
25698
25699
25700# Check whether --with-a52dec-prefix was given.
25701if test "${with_a52dec_prefix+set}" = set; then :
25702  withval=$with_a52dec_prefix; a52dec_config_prefix="$withval"
25703else
25704  a52dec_config_prefix=""
25705fi
25706
25707
25708if test "x$a52dec_config_prefix" = "x" ; then
25709
25710  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a52_init in -la52" >&5
25711$as_echo_n "checking for a52_init in -la52... " >&6; }
25712if ${ac_cv_lib_a52_a52_init+:} false; then :
25713  $as_echo_n "(cached) " >&6
25714else
25715  ac_check_lib_save_LIBS=$LIBS
25716LIBS="-la52 -lm $LIBS"
25717cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25718/* end confdefs.h.  */
25719
25720/* Override any GCC internal prototype to avoid an error.
25721   Use char because int might match the return type of a GCC
25722   builtin and then its argument prototype would still apply.  */
25723#ifdef __cplusplus
25724extern "C"
25725#endif
25726char a52_init ();
25727int
25728main ()
25729{
25730return a52_init ();
25731  ;
25732  return 0;
25733}
25734_ACEOF
25735if ac_fn_c_try_link "$LINENO"; then :
25736  ac_cv_lib_a52_a52_init=yes
25737else
25738  ac_cv_lib_a52_a52_init=no
25739fi
25740rm -f core conftest.err conftest.$ac_objext \
25741    conftest$ac_exeext conftest.$ac_ext
25742LIBS=$ac_check_lib_save_LIBS
25743fi
25744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_a52_a52_init" >&5
25745$as_echo "$ac_cv_lib_a52_a52_init" >&6; }
25746if test "x$ac_cv_lib_a52_a52_init" = xyes; then :
25747  HAVE_A52DEC=yes
25748else
25749  HAVE_A52DEC=no
25750fi
25751
25752  check_libheader_feature_name=a52dec
25753
25754  if test "x$HAVE_A52DEC" = "xyes"; then
25755    check_libheader_save_CPPFLAGS=$CPPFLAGS
25756    CPPFLAGS=" $CPPFLAGS"
25757    ac_fn_c_check_header_mongrel "$LINENO" "a52dec/a52.h" "ac_cv_header_a52dec_a52_h" "$ac_includes_default"
25758if test "x$ac_cv_header_a52dec_a52_h" = xyes; then :
25759  :
25760else
25761  HAVE_A52DEC=no
25762fi
25763
25764
25765    CPPFLAGS=$check_libheader_save_CPPFLAGS
25766  fi
25767
25768  if test "x$HAVE_A52DEC" = "xyes"; then
25769    A52DEC_LIBS="-la52 -lm"
25770  else
25771    :
25772  fi
25773
25774
25775else
25776
25777  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a52_init in -la52" >&5
25778$as_echo_n "checking for a52_init in -la52... " >&6; }
25779if ${ac_cv_lib_a52_a52_init+:} false; then :
25780  $as_echo_n "(cached) " >&6
25781else
25782  ac_check_lib_save_LIBS=$LIBS
25783LIBS="-la52 -L$a52dec_config_prefix/lib $LIBS"
25784cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25785/* end confdefs.h.  */
25786
25787/* Override any GCC internal prototype to avoid an error.
25788   Use char because int might match the return type of a GCC
25789   builtin and then its argument prototype would still apply.  */
25790#ifdef __cplusplus
25791extern "C"
25792#endif
25793char a52_init ();
25794int
25795main ()
25796{
25797return a52_init ();
25798  ;
25799  return 0;
25800}
25801_ACEOF
25802if ac_fn_c_try_link "$LINENO"; then :
25803  ac_cv_lib_a52_a52_init=yes
25804else
25805  ac_cv_lib_a52_a52_init=no
25806fi
25807rm -f core conftest.err conftest.$ac_objext \
25808    conftest$ac_exeext conftest.$ac_ext
25809LIBS=$ac_check_lib_save_LIBS
25810fi
25811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_a52_a52_init" >&5
25812$as_echo "$ac_cv_lib_a52_a52_init" >&6; }
25813if test "x$ac_cv_lib_a52_a52_init" = xyes; then :
25814  HAVE_A52DEC=yes
25815else
25816  HAVE_A52DEC=no
25817fi
25818
25819  check_libheader_feature_name=a52dec
25820
25821  if test "x$HAVE_A52DEC" = "xyes"; then
25822    check_libheader_save_CPPFLAGS=$CPPFLAGS
25823    CPPFLAGS="-I$a52dec_config_prefix/include $CPPFLAGS"
25824    ac_fn_c_check_header_mongrel "$LINENO" "a52dec/a52.h" "ac_cv_header_a52dec_a52_h" "$ac_includes_default"
25825if test "x$ac_cv_header_a52dec_a52_h" = xyes; then :
25826  :
25827else
25828  HAVE_A52DEC=no
25829fi
25830
25831
25832    CPPFLAGS=$check_libheader_save_CPPFLAGS
25833  fi
25834
25835  if test "x$HAVE_A52DEC" = "xyes"; then
25836
25837            A52DEC_LIBS="-la52 -L$a52dec_config_prefix/lib -lm"
25838            A52DEC_CFLAGS="-I$a52dec_config_prefix/include"
25839
25840  else
25841    :
25842  fi
25843
25844
25845fi
25846
25847if test "x$HAVE_A52DEC" = "xyes"; then
25848    ac_save_CFLAGS="$CFLAGS"
25849    ac_save_LIBS="$LIBS"
25850    CFLAGS="$CFLAGS $A52DEC_CFLAGS"
25851    LIBS="$A52DEC_LIBS $LIBS"
25852    if test "$cross_compiling" = yes; then :
25853  echo $ac_n "cross compiling; assumed OK... $ac_c"
25854else
25855  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25856/* end confdefs.h.  */
25857
25858#include <inttypes.h>
25859#include <a52dec/a52.h>
25860
25861int
25862main ()
25863{
25864  a52_state_t *state;
25865#if defined(A52_ACCEL_DETECT)
25866  state = a52_init ();
25867#else
25868  state = a52_init (0);
25869#endif
25870  a52_free (state);
25871  return 0;
25872}
25873
25874_ACEOF
25875if ac_fn_c_try_run "$LINENO"; then :
25876
25877else
25878  HAVE_A52DEC=no
25879fi
25880rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25881  conftest.$ac_objext conftest.beam conftest.$ac_ext
25882fi
25883
25884
25885    if test "x$HAVE_A52DEC" = "xno"; then
25886        echo "*** Your a52dec is borked somehow. Please update to 0.7.4 or newer."
25887    fi
25888    CFLAGS="$ac_save_CFLAGS"
25889    LIBS="$ac_save_LIBS"
25890fi
25891
25892if test "x$HAVE_A52DEC" = "xno"; then
25893    A52DEC_CFLAGS=""
25894    A52DEC_LIBS=""
25895fi
25896
25897if test "x$HAVE_A52DEC" = "xyes"; then
25898  HAVE_A52DEC=yes
25899else
25900  HAVE_A52DEC=no
25901fi
25902
25903
25904
25905
25906
25907
25908  LIBS=$gst_check_save_LIBS
25909  LDFLAGS=$gst_check_save_LDFLAGS
25910  CFLAGS=$gst_check_save_CFLAGS
25911  CPPFLAGS=$gst_check_save_CPPFLAGS
25912  CXXFLAGS=$gst_check_save_CXXFLAGS
25913
25914    if test x$HAVE_A52DEC = xno; then
25915    USE_A52DEC=no
25916  else
25917    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: a52dec" >&5
25918$as_echo "$as_me: *** These plugins will be built: a52dec" >&6;}
25919  fi
25920fi
25921if test x$USE_A52DEC = xyes; then
25922  :
25923  if test "xa52dec" != "x"; then
25924    GST_PLUGINS_YES="\ta52dec\n$GST_PLUGINS_YES"
25925  fi
25926
25927$as_echo "#define HAVE_A52DEC /**/" >>confdefs.h
25928
25929else
25930  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: a52dec" >&5
25931$as_echo "$as_me: *** These plugins will not be built: a52dec" >&6;}
25932  if test "xa52dec" != "x"; then
25933    GST_PLUGINS_NO="\ta52dec\n$GST_PLUGINS_NO"
25934  fi
25935  :
25936fi
25937 if test x$USE_A52DEC = xyes; then
25938  USE_A52DEC_TRUE=
25939  USE_A52DEC_FALSE='#'
25940else
25941  USE_A52DEC_TRUE='#'
25942  USE_A52DEC_FALSE=
25943fi
25944
25945
25946
25947echo
25948{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: amrnb library ***" >&5
25949$as_echo "$as_me: *** checking feature: amrnb library ***" >&6;}
25950if test "xamrnb" != "x"
25951then
25952  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: amrnb ***" >&5
25953$as_echo "$as_me: *** for plug-ins: amrnb ***" >&6;}
25954fi
25955NOUSE=
25956if test "x$USE_AMRNB" = "xno"; then
25957  NOUSE="yes"
25958fi
25959# Check whether --enable-amrnb was given.
25960if test "${enable_amrnb+set}" = set; then :
25961  enableval=$enable_amrnb;  case "${enableval}" in
25962      yes) USE_AMRNB=yes;;
25963      no) USE_AMRNB=no;;
25964      *) as_fn_error $? "bad value ${enableval} for --enable-amrnb" "$LINENO" 5 ;;
25965    esac
25966else
25967   USE_AMRNB=yes
25968fi
25969
25970if test "x$NOUSE" = "xyes"; then
25971  USE_AMRNB="no"
25972  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** amrnb pre-configured not to be built" >&5
25973$as_echo "$as_me: WARNING: *** amrnb pre-configured not to be built" >&2;}
25974fi
25975NOUSE=
25976
25977if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " AMRNB " > /dev/null; then
25978  USE_AMRNB="no"
25979  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** amrnb not ported" >&5
25980$as_echo "$as_me: WARNING: *** amrnb not ported" >&2;}
25981fi
25982
25983
25984if test x$USE_AMRNB = xyes; then
25985
25986  gst_check_save_LIBS=$LIBS
25987  gst_check_save_LDFLAGS=$LDFLAGS
25988  gst_check_save_CFLAGS=$CFLAGS
25989  gst_check_save_CPPFLAGS=$CPPFLAGS
25990  gst_check_save_CXXFLAGS=$CXXFLAGS
25991
25992  HAVE_AMRNB=no
25993
25994
25995  which="opencore-amrnb >= 0.1.3"
25996    required="no"
25997
25998
25999pkg_failed=no
26000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AMRNB" >&5
26001$as_echo_n "checking for AMRNB... " >&6; }
26002
26003if test -n "$PKG_CONFIG"; then
26004    if test -n "$AMRNB_CFLAGS"; then
26005        pkg_cv_AMRNB_CFLAGS="$AMRNB_CFLAGS"
26006    else
26007        if test -n "$PKG_CONFIG" && \
26008    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
26009  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
26010  ac_status=$?
26011  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26012  test $ac_status = 0; }; then
26013  pkg_cv_AMRNB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
26014else
26015  pkg_failed=yes
26016fi
26017    fi
26018else
26019	pkg_failed=untried
26020fi
26021if test -n "$PKG_CONFIG"; then
26022    if test -n "$AMRNB_LIBS"; then
26023        pkg_cv_AMRNB_LIBS="$AMRNB_LIBS"
26024    else
26025        if test -n "$PKG_CONFIG" && \
26026    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
26027  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
26028  ac_status=$?
26029  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26030  test $ac_status = 0; }; then
26031  pkg_cv_AMRNB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
26032else
26033  pkg_failed=yes
26034fi
26035    fi
26036else
26037	pkg_failed=untried
26038fi
26039
26040
26041
26042if test $pkg_failed = yes; then
26043
26044if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26045        _pkg_short_errors_supported=yes
26046else
26047        _pkg_short_errors_supported=no
26048fi
26049        if test $_pkg_short_errors_supported = yes; then
26050	        AMRNB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
26051        else
26052	        AMRNB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
26053        fi
26054	# Put the nasty error message in config.log where it belongs
26055	echo "$AMRNB_PKG_ERRORS" >&5
26056
26057	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26058$as_echo "no" >&6; }
26059
26060      HAVE_AMRNB="no"
26061      if test "x$required" = "xyes"; then
26062        as_fn_error $? "$AMRNB_PKG_ERRORS" "$LINENO" 5
26063      else
26064        { $as_echo "$as_me:${as_lineno-$LINENO}: $AMRNB_PKG_ERRORS" >&5
26065$as_echo "$as_me: $AMRNB_PKG_ERRORS" >&6;}
26066      fi
26067
26068elif test $pkg_failed = untried; then
26069
26070      HAVE_AMRNB="no"
26071      if test "x$required" = "xyes"; then
26072        as_fn_error $? "$AMRNB_PKG_ERRORS" "$LINENO" 5
26073      else
26074        { $as_echo "$as_me:${as_lineno-$LINENO}: $AMRNB_PKG_ERRORS" >&5
26075$as_echo "$as_me: $AMRNB_PKG_ERRORS" >&6;}
26076      fi
26077
26078else
26079	AMRNB_CFLAGS=$pkg_cv_AMRNB_CFLAGS
26080	AMRNB_LIBS=$pkg_cv_AMRNB_LIBS
26081        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26082$as_echo "yes" >&6; }
26083
26084      HAVE_AMRNB="yes"
26085
26086fi
26087
26088
26089
26090
26091  LIBS=$gst_check_save_LIBS
26092  LDFLAGS=$gst_check_save_LDFLAGS
26093  CFLAGS=$gst_check_save_CFLAGS
26094  CPPFLAGS=$gst_check_save_CPPFLAGS
26095  CXXFLAGS=$gst_check_save_CXXFLAGS
26096
26097    if test x$HAVE_AMRNB = xno; then
26098    USE_AMRNB=no
26099  else
26100    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: amrnb" >&5
26101$as_echo "$as_me: *** These plugins will be built: amrnb" >&6;}
26102  fi
26103fi
26104if test x$USE_AMRNB = xyes; then
26105  :
26106  if test "xamrnb" != "x"; then
26107    GST_PLUGINS_YES="\tamrnb\n$GST_PLUGINS_YES"
26108  fi
26109
26110$as_echo "#define HAVE_AMRNB /**/" >>confdefs.h
26111
26112else
26113  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: amrnb" >&5
26114$as_echo "$as_me: *** These plugins will not be built: amrnb" >&6;}
26115  if test "xamrnb" != "x"; then
26116    GST_PLUGINS_NO="\tamrnb\n$GST_PLUGINS_NO"
26117  fi
26118  :
26119fi
26120 if test x$USE_AMRNB = xyes; then
26121  USE_AMRNB_TRUE=
26122  USE_AMRNB_FALSE='#'
26123else
26124  USE_AMRNB_TRUE='#'
26125  USE_AMRNB_FALSE=
26126fi
26127
26128
26129
26130echo
26131{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: amrwb library ***" >&5
26132$as_echo "$as_me: *** checking feature: amrwb library ***" >&6;}
26133if test "xamrwbdec" != "x"
26134then
26135  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: amrwbdec ***" >&5
26136$as_echo "$as_me: *** for plug-ins: amrwbdec ***" >&6;}
26137fi
26138NOUSE=
26139if test "x$USE_AMRWB" = "xno"; then
26140  NOUSE="yes"
26141fi
26142# Check whether --enable-amrwb was given.
26143if test "${enable_amrwb+set}" = set; then :
26144  enableval=$enable_amrwb;  case "${enableval}" in
26145      yes) USE_AMRWB=yes;;
26146      no) USE_AMRWB=no;;
26147      *) as_fn_error $? "bad value ${enableval} for --enable-amrwb" "$LINENO" 5 ;;
26148    esac
26149else
26150   USE_AMRWB=yes
26151fi
26152
26153if test "x$NOUSE" = "xyes"; then
26154  USE_AMRWB="no"
26155  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** amrwbdec pre-configured not to be built" >&5
26156$as_echo "$as_me: WARNING: *** amrwbdec pre-configured not to be built" >&2;}
26157fi
26158NOUSE=
26159
26160if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " AMRWB " > /dev/null; then
26161  USE_AMRWB="no"
26162  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** amrwbdec not ported" >&5
26163$as_echo "$as_me: WARNING: *** amrwbdec not ported" >&2;}
26164fi
26165
26166
26167if test x$USE_AMRWB = xyes; then
26168
26169  gst_check_save_LIBS=$LIBS
26170  gst_check_save_LDFLAGS=$LDFLAGS
26171  gst_check_save_CFLAGS=$CFLAGS
26172  gst_check_save_CPPFLAGS=$CPPFLAGS
26173  gst_check_save_CXXFLAGS=$CXXFLAGS
26174
26175  HAVE_AMRWB=no
26176
26177
26178  which="opencore-amrwb >= 0.1.3"
26179    required="no"
26180
26181
26182pkg_failed=no
26183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AMRWB" >&5
26184$as_echo_n "checking for AMRWB... " >&6; }
26185
26186if test -n "$PKG_CONFIG"; then
26187    if test -n "$AMRWB_CFLAGS"; then
26188        pkg_cv_AMRWB_CFLAGS="$AMRWB_CFLAGS"
26189    else
26190        if test -n "$PKG_CONFIG" && \
26191    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
26192  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
26193  ac_status=$?
26194  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26195  test $ac_status = 0; }; then
26196  pkg_cv_AMRWB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
26197else
26198  pkg_failed=yes
26199fi
26200    fi
26201else
26202	pkg_failed=untried
26203fi
26204if test -n "$PKG_CONFIG"; then
26205    if test -n "$AMRWB_LIBS"; then
26206        pkg_cv_AMRWB_LIBS="$AMRWB_LIBS"
26207    else
26208        if test -n "$PKG_CONFIG" && \
26209    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
26210  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
26211  ac_status=$?
26212  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26213  test $ac_status = 0; }; then
26214  pkg_cv_AMRWB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
26215else
26216  pkg_failed=yes
26217fi
26218    fi
26219else
26220	pkg_failed=untried
26221fi
26222
26223
26224
26225if test $pkg_failed = yes; then
26226
26227if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26228        _pkg_short_errors_supported=yes
26229else
26230        _pkg_short_errors_supported=no
26231fi
26232        if test $_pkg_short_errors_supported = yes; then
26233	        AMRWB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
26234        else
26235	        AMRWB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
26236        fi
26237	# Put the nasty error message in config.log where it belongs
26238	echo "$AMRWB_PKG_ERRORS" >&5
26239
26240	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26241$as_echo "no" >&6; }
26242
26243      HAVE_AMRWB="no"
26244      if test "x$required" = "xyes"; then
26245        as_fn_error $? "$AMRWB_PKG_ERRORS" "$LINENO" 5
26246      else
26247        { $as_echo "$as_me:${as_lineno-$LINENO}: $AMRWB_PKG_ERRORS" >&5
26248$as_echo "$as_me: $AMRWB_PKG_ERRORS" >&6;}
26249      fi
26250
26251elif test $pkg_failed = untried; then
26252
26253      HAVE_AMRWB="no"
26254      if test "x$required" = "xyes"; then
26255        as_fn_error $? "$AMRWB_PKG_ERRORS" "$LINENO" 5
26256      else
26257        { $as_echo "$as_me:${as_lineno-$LINENO}: $AMRWB_PKG_ERRORS" >&5
26258$as_echo "$as_me: $AMRWB_PKG_ERRORS" >&6;}
26259      fi
26260
26261else
26262	AMRWB_CFLAGS=$pkg_cv_AMRWB_CFLAGS
26263	AMRWB_LIBS=$pkg_cv_AMRWB_LIBS
26264        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26265$as_echo "yes" >&6; }
26266
26267      HAVE_AMRWB="yes"
26268
26269fi
26270
26271
26272
26273
26274  LIBS=$gst_check_save_LIBS
26275  LDFLAGS=$gst_check_save_LDFLAGS
26276  CFLAGS=$gst_check_save_CFLAGS
26277  CPPFLAGS=$gst_check_save_CPPFLAGS
26278  CXXFLAGS=$gst_check_save_CXXFLAGS
26279
26280    if test x$HAVE_AMRWB = xno; then
26281    USE_AMRWB=no
26282  else
26283    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: amrwbdec" >&5
26284$as_echo "$as_me: *** These plugins will be built: amrwbdec" >&6;}
26285  fi
26286fi
26287if test x$USE_AMRWB = xyes; then
26288  :
26289  if test "xamrwbdec" != "x"; then
26290    GST_PLUGINS_YES="\tamrwbdec\n$GST_PLUGINS_YES"
26291  fi
26292
26293$as_echo "#define HAVE_AMRWB /**/" >>confdefs.h
26294
26295else
26296  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: amrwbdec" >&5
26297$as_echo "$as_me: *** These plugins will not be built: amrwbdec" >&6;}
26298  if test "xamrwbdec" != "x"; then
26299    GST_PLUGINS_NO="\tamrwbdec\n$GST_PLUGINS_NO"
26300  fi
26301  :
26302fi
26303 if test x$USE_AMRWB = xyes; then
26304  USE_AMRWB_TRUE=
26305  USE_AMRWB_FALSE='#'
26306else
26307  USE_AMRWB_TRUE='#'
26308  USE_AMRWB_FALSE=
26309fi
26310
26311
26312
26313echo
26314{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: cdio library ***" >&5
26315$as_echo "$as_me: *** checking feature: cdio library ***" >&6;}
26316if test "xcdio" != "x"
26317then
26318  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cdio ***" >&5
26319$as_echo "$as_me: *** for plug-ins: cdio ***" >&6;}
26320fi
26321NOUSE=
26322if test "x$USE_CDIO" = "xno"; then
26323  NOUSE="yes"
26324fi
26325# Check whether --enable-cdio was given.
26326if test "${enable_cdio+set}" = set; then :
26327  enableval=$enable_cdio;  case "${enableval}" in
26328      yes) USE_CDIO=yes;;
26329      no) USE_CDIO=no;;
26330      *) as_fn_error $? "bad value ${enableval} for --enable-cdio" "$LINENO" 5 ;;
26331    esac
26332else
26333   USE_CDIO=yes
26334fi
26335
26336if test "x$NOUSE" = "xyes"; then
26337  USE_CDIO="no"
26338  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cdio pre-configured not to be built" >&5
26339$as_echo "$as_me: WARNING: *** cdio pre-configured not to be built" >&2;}
26340fi
26341NOUSE=
26342
26343if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " CDIO " > /dev/null; then
26344  USE_CDIO="no"
26345  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cdio not ported" >&5
26346$as_echo "$as_me: WARNING: *** cdio not ported" >&2;}
26347fi
26348
26349
26350if test x$USE_CDIO = xyes; then
26351
26352  gst_check_save_LIBS=$LIBS
26353  gst_check_save_LDFLAGS=$LDFLAGS
26354  gst_check_save_CFLAGS=$CFLAGS
26355  gst_check_save_CPPFLAGS=$CPPFLAGS
26356  gst_check_save_CXXFLAGS=$CXXFLAGS
26357
26358  HAVE_CDIO=no
26359
26360
26361  which="libcdio >= 0.76"
26362    required="no"
26363
26364
26365pkg_failed=no
26366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CDIO" >&5
26367$as_echo_n "checking for CDIO... " >&6; }
26368
26369if test -n "$PKG_CONFIG"; then
26370    if test -n "$CDIO_CFLAGS"; then
26371        pkg_cv_CDIO_CFLAGS="$CDIO_CFLAGS"
26372    else
26373        if test -n "$PKG_CONFIG" && \
26374    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
26375  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
26376  ac_status=$?
26377  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26378  test $ac_status = 0; }; then
26379  pkg_cv_CDIO_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
26380else
26381  pkg_failed=yes
26382fi
26383    fi
26384else
26385	pkg_failed=untried
26386fi
26387if test -n "$PKG_CONFIG"; then
26388    if test -n "$CDIO_LIBS"; then
26389        pkg_cv_CDIO_LIBS="$CDIO_LIBS"
26390    else
26391        if test -n "$PKG_CONFIG" && \
26392    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
26393  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
26394  ac_status=$?
26395  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26396  test $ac_status = 0; }; then
26397  pkg_cv_CDIO_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
26398else
26399  pkg_failed=yes
26400fi
26401    fi
26402else
26403	pkg_failed=untried
26404fi
26405
26406
26407
26408if test $pkg_failed = yes; then
26409
26410if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26411        _pkg_short_errors_supported=yes
26412else
26413        _pkg_short_errors_supported=no
26414fi
26415        if test $_pkg_short_errors_supported = yes; then
26416	        CDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
26417        else
26418	        CDIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
26419        fi
26420	# Put the nasty error message in config.log where it belongs
26421	echo "$CDIO_PKG_ERRORS" >&5
26422
26423	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26424$as_echo "no" >&6; }
26425
26426      HAVE_CDIO="no"
26427      if test "x$required" = "xyes"; then
26428        as_fn_error $? "$CDIO_PKG_ERRORS" "$LINENO" 5
26429      else
26430        { $as_echo "$as_me:${as_lineno-$LINENO}: $CDIO_PKG_ERRORS" >&5
26431$as_echo "$as_me: $CDIO_PKG_ERRORS" >&6;}
26432      fi
26433
26434elif test $pkg_failed = untried; then
26435
26436      HAVE_CDIO="no"
26437      if test "x$required" = "xyes"; then
26438        as_fn_error $? "$CDIO_PKG_ERRORS" "$LINENO" 5
26439      else
26440        { $as_echo "$as_me:${as_lineno-$LINENO}: $CDIO_PKG_ERRORS" >&5
26441$as_echo "$as_me: $CDIO_PKG_ERRORS" >&6;}
26442      fi
26443
26444else
26445	CDIO_CFLAGS=$pkg_cv_CDIO_CFLAGS
26446	CDIO_LIBS=$pkg_cv_CDIO_LIBS
26447        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26448$as_echo "yes" >&6; }
26449
26450      HAVE_CDIO="yes"
26451
26452fi
26453
26454
26455
26456
26457  LIBS=$gst_check_save_LIBS
26458  LDFLAGS=$gst_check_save_LDFLAGS
26459  CFLAGS=$gst_check_save_CFLAGS
26460  CPPFLAGS=$gst_check_save_CPPFLAGS
26461  CXXFLAGS=$gst_check_save_CXXFLAGS
26462
26463    if test x$HAVE_CDIO = xno; then
26464    USE_CDIO=no
26465  else
26466    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cdio" >&5
26467$as_echo "$as_me: *** These plugins will be built: cdio" >&6;}
26468  fi
26469fi
26470if test x$USE_CDIO = xyes; then
26471  :
26472  if test "xcdio" != "x"; then
26473    GST_PLUGINS_YES="\tcdio\n$GST_PLUGINS_YES"
26474  fi
26475
26476$as_echo "#define HAVE_CDIO /**/" >>confdefs.h
26477
26478else
26479  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cdio" >&5
26480$as_echo "$as_me: *** These plugins will not be built: cdio" >&6;}
26481  if test "xcdio" != "x"; then
26482    GST_PLUGINS_NO="\tcdio\n$GST_PLUGINS_NO"
26483  fi
26484  :
26485fi
26486 if test x$USE_CDIO = xyes; then
26487  USE_CDIO_TRUE=
26488  USE_CDIO_FALSE='#'
26489else
26490  USE_CDIO_TRUE='#'
26491  USE_CDIO_FALSE=
26492fi
26493
26494
26495
26496echo
26497{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: dvdread library ***" >&5
26498$as_echo "$as_me: *** checking feature: dvdread library ***" >&6;}
26499if test "xdvdreadsrc" != "x"
26500then
26501  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dvdreadsrc ***" >&5
26502$as_echo "$as_me: *** for plug-ins: dvdreadsrc ***" >&6;}
26503fi
26504NOUSE=
26505if test "x$USE_DVDREAD" = "xno"; then
26506  NOUSE="yes"
26507fi
26508# Check whether --enable-dvdread was given.
26509if test "${enable_dvdread+set}" = set; then :
26510  enableval=$enable_dvdread;  case "${enableval}" in
26511      yes) USE_DVDREAD=yes;;
26512      no) USE_DVDREAD=no;;
26513      *) as_fn_error $? "bad value ${enableval} for --enable-dvdread" "$LINENO" 5 ;;
26514    esac
26515else
26516   USE_DVDREAD=yes
26517fi
26518
26519if test "x$NOUSE" = "xyes"; then
26520  USE_DVDREAD="no"
26521  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dvdreadsrc pre-configured not to be built" >&5
26522$as_echo "$as_me: WARNING: *** dvdreadsrc pre-configured not to be built" >&2;}
26523fi
26524NOUSE=
26525
26526if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " DVDREAD " > /dev/null; then
26527  USE_DVDREAD="no"
26528  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dvdreadsrc not ported" >&5
26529$as_echo "$as_me: WARNING: *** dvdreadsrc not ported" >&2;}
26530fi
26531
26532
26533if test x$USE_DVDREAD = xyes; then
26534
26535  gst_check_save_LIBS=$LIBS
26536  gst_check_save_LDFLAGS=$LDFLAGS
26537  gst_check_save_CFLAGS=$CFLAGS
26538  gst_check_save_CPPFLAGS=$CPPFLAGS
26539  gst_check_save_CXXFLAGS=$CXXFLAGS
26540
26541  HAVE_DVDREAD=no
26542
26543
26544  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DVDOpen in -ldvdread" >&5
26545$as_echo_n "checking for DVDOpen in -ldvdread... " >&6; }
26546if ${ac_cv_lib_dvdread_DVDOpen+:} false; then :
26547  $as_echo_n "(cached) " >&6
26548else
26549  ac_check_lib_save_LIBS=$LIBS
26550LIBS="-ldvdread  $LIBS"
26551cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26552/* end confdefs.h.  */
26553
26554/* Override any GCC internal prototype to avoid an error.
26555   Use char because int might match the return type of a GCC
26556   builtin and then its argument prototype would still apply.  */
26557#ifdef __cplusplus
26558extern "C"
26559#endif
26560char DVDOpen ();
26561int
26562main ()
26563{
26564return DVDOpen ();
26565  ;
26566  return 0;
26567}
26568_ACEOF
26569if ac_fn_c_try_link "$LINENO"; then :
26570  ac_cv_lib_dvdread_DVDOpen=yes
26571else
26572  ac_cv_lib_dvdread_DVDOpen=no
26573fi
26574rm -f core conftest.err conftest.$ac_objext \
26575    conftest$ac_exeext conftest.$ac_ext
26576LIBS=$ac_check_lib_save_LIBS
26577fi
26578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dvdread_DVDOpen" >&5
26579$as_echo "$ac_cv_lib_dvdread_DVDOpen" >&6; }
26580if test "x$ac_cv_lib_dvdread_DVDOpen" = xyes; then :
26581  HAVE_DVDREAD=yes
26582else
26583  HAVE_DVDREAD=no
26584fi
26585
26586  if test "x$HAVE_DVDREAD" = "xyes"; then
26587    ac_fn_c_check_header_mongrel "$LINENO" "dvdread/dvd_reader.h" "ac_cv_header_dvdread_dvd_reader_h" "$ac_includes_default"
26588if test "x$ac_cv_header_dvdread_dvd_reader_h" = xyes; then :
26589  :
26590else
26591  HAVE_DVDREAD=no
26592fi
26593
26594
26595    if test "x$HAVE_DVDREAD" = "xyes"; then
26596            DVDREAD_LIBS="-ldvdread"
26597    else
26598      :
26599    fi
26600  else
26601    :
26602  fi
26603
26604
26605
26606
26607
26608
26609  LIBS=$gst_check_save_LIBS
26610  LDFLAGS=$gst_check_save_LDFLAGS
26611  CFLAGS=$gst_check_save_CFLAGS
26612  CPPFLAGS=$gst_check_save_CPPFLAGS
26613  CXXFLAGS=$gst_check_save_CXXFLAGS
26614
26615    if test x$HAVE_DVDREAD = xno; then
26616    USE_DVDREAD=no
26617  else
26618    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dvdreadsrc" >&5
26619$as_echo "$as_me: *** These plugins will be built: dvdreadsrc" >&6;}
26620  fi
26621fi
26622if test x$USE_DVDREAD = xyes; then
26623  :
26624  if test "xdvdreadsrc" != "x"; then
26625    GST_PLUGINS_YES="\tdvdreadsrc\n$GST_PLUGINS_YES"
26626  fi
26627
26628$as_echo "#define HAVE_DVDREAD /**/" >>confdefs.h
26629
26630else
26631  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dvdreadsrc" >&5
26632$as_echo "$as_me: *** These plugins will not be built: dvdreadsrc" >&6;}
26633  if test "xdvdreadsrc" != "x"; then
26634    GST_PLUGINS_NO="\tdvdreadsrc\n$GST_PLUGINS_NO"
26635  fi
26636  :
26637fi
26638 if test x$USE_DVDREAD = xyes; then
26639  USE_DVDREAD_TRUE=
26640  USE_DVDREAD_FALSE='#'
26641else
26642  USE_DVDREAD_TRUE='#'
26643  USE_DVDREAD_FALSE=
26644fi
26645
26646
26647
26648echo
26649{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: mpeg2dec ***" >&5
26650$as_echo "$as_me: *** checking feature: mpeg2dec ***" >&6;}
26651if test "xmpeg2dec" != "x"
26652then
26653  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mpeg2dec ***" >&5
26654$as_echo "$as_me: *** for plug-ins: mpeg2dec ***" >&6;}
26655fi
26656NOUSE=
26657if test "x$USE_MPEG2DEC" = "xno"; then
26658  NOUSE="yes"
26659fi
26660# Check whether --enable-mpeg2dec was given.
26661if test "${enable_mpeg2dec+set}" = set; then :
26662  enableval=$enable_mpeg2dec;  case "${enableval}" in
26663      yes) USE_MPEG2DEC=yes;;
26664      no) USE_MPEG2DEC=no;;
26665      *) as_fn_error $? "bad value ${enableval} for --enable-mpeg2dec" "$LINENO" 5 ;;
26666    esac
26667else
26668   USE_MPEG2DEC=yes
26669fi
26670
26671if test "x$NOUSE" = "xyes"; then
26672  USE_MPEG2DEC="no"
26673  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mpeg2dec pre-configured not to be built" >&5
26674$as_echo "$as_me: WARNING: *** mpeg2dec pre-configured not to be built" >&2;}
26675fi
26676NOUSE=
26677
26678if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " MPEG2DEC " > /dev/null; then
26679  USE_MPEG2DEC="no"
26680  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mpeg2dec not ported" >&5
26681$as_echo "$as_me: WARNING: *** mpeg2dec not ported" >&2;}
26682fi
26683
26684
26685if test x$USE_MPEG2DEC = xyes; then
26686
26687  gst_check_save_LIBS=$LIBS
26688  gst_check_save_LDFLAGS=$LDFLAGS
26689  gst_check_save_CFLAGS=$CFLAGS
26690  gst_check_save_CPPFLAGS=$CPPFLAGS
26691  gst_check_save_CXXFLAGS=$CXXFLAGS
26692
26693  HAVE_MPEG2DEC=no
26694
26695
26696  which="libmpeg2 >= 0.5.1"
26697    required="no"
26698
26699
26700pkg_failed=no
26701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPEG2DEC" >&5
26702$as_echo_n "checking for MPEG2DEC... " >&6; }
26703
26704if test -n "$PKG_CONFIG"; then
26705    if test -n "$MPEG2DEC_CFLAGS"; then
26706        pkg_cv_MPEG2DEC_CFLAGS="$MPEG2DEC_CFLAGS"
26707    else
26708        if test -n "$PKG_CONFIG" && \
26709    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
26710  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
26711  ac_status=$?
26712  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26713  test $ac_status = 0; }; then
26714  pkg_cv_MPEG2DEC_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
26715else
26716  pkg_failed=yes
26717fi
26718    fi
26719else
26720	pkg_failed=untried
26721fi
26722if test -n "$PKG_CONFIG"; then
26723    if test -n "$MPEG2DEC_LIBS"; then
26724        pkg_cv_MPEG2DEC_LIBS="$MPEG2DEC_LIBS"
26725    else
26726        if test -n "$PKG_CONFIG" && \
26727    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
26728  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
26729  ac_status=$?
26730  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26731  test $ac_status = 0; }; then
26732  pkg_cv_MPEG2DEC_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
26733else
26734  pkg_failed=yes
26735fi
26736    fi
26737else
26738	pkg_failed=untried
26739fi
26740
26741
26742
26743if test $pkg_failed = yes; then
26744
26745if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26746        _pkg_short_errors_supported=yes
26747else
26748        _pkg_short_errors_supported=no
26749fi
26750        if test $_pkg_short_errors_supported = yes; then
26751	        MPEG2DEC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
26752        else
26753	        MPEG2DEC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
26754        fi
26755	# Put the nasty error message in config.log where it belongs
26756	echo "$MPEG2DEC_PKG_ERRORS" >&5
26757
26758	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26759$as_echo "no" >&6; }
26760
26761      HAVE_MPEG2DEC="no"
26762      if test "x$required" = "xyes"; then
26763        as_fn_error $? "$MPEG2DEC_PKG_ERRORS" "$LINENO" 5
26764      else
26765        { $as_echo "$as_me:${as_lineno-$LINENO}: $MPEG2DEC_PKG_ERRORS" >&5
26766$as_echo "$as_me: $MPEG2DEC_PKG_ERRORS" >&6;}
26767      fi
26768
26769elif test $pkg_failed = untried; then
26770
26771      HAVE_MPEG2DEC="no"
26772      if test "x$required" = "xyes"; then
26773        as_fn_error $? "$MPEG2DEC_PKG_ERRORS" "$LINENO" 5
26774      else
26775        { $as_echo "$as_me:${as_lineno-$LINENO}: $MPEG2DEC_PKG_ERRORS" >&5
26776$as_echo "$as_me: $MPEG2DEC_PKG_ERRORS" >&6;}
26777      fi
26778
26779else
26780	MPEG2DEC_CFLAGS=$pkg_cv_MPEG2DEC_CFLAGS
26781	MPEG2DEC_LIBS=$pkg_cv_MPEG2DEC_LIBS
26782        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26783$as_echo "yes" >&6; }
26784
26785      HAVE_MPEG2DEC="yes"
26786
26787fi
26788
26789
26790
26791
26792  LIBS=$gst_check_save_LIBS
26793  LDFLAGS=$gst_check_save_LDFLAGS
26794  CFLAGS=$gst_check_save_CFLAGS
26795  CPPFLAGS=$gst_check_save_CPPFLAGS
26796  CXXFLAGS=$gst_check_save_CXXFLAGS
26797
26798    if test x$HAVE_MPEG2DEC = xno; then
26799    USE_MPEG2DEC=no
26800  else
26801    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mpeg2dec" >&5
26802$as_echo "$as_me: *** These plugins will be built: mpeg2dec" >&6;}
26803  fi
26804fi
26805if test x$USE_MPEG2DEC = xyes; then
26806  :
26807  if test "xmpeg2dec" != "x"; then
26808    GST_PLUGINS_YES="\tmpeg2dec\n$GST_PLUGINS_YES"
26809  fi
26810
26811$as_echo "#define HAVE_MPEG2DEC /**/" >>confdefs.h
26812
26813else
26814  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mpeg2dec" >&5
26815$as_echo "$as_me: *** These plugins will not be built: mpeg2dec" >&6;}
26816  if test "xmpeg2dec" != "x"; then
26817    GST_PLUGINS_NO="\tmpeg2dec\n$GST_PLUGINS_NO"
26818  fi
26819  :
26820fi
26821 if test x$USE_MPEG2DEC = xyes; then
26822  USE_MPEG2DEC_TRUE=
26823  USE_MPEG2DEC_FALSE='#'
26824else
26825  USE_MPEG2DEC_TRUE='#'
26826  USE_MPEG2DEC_FALSE=
26827fi
26828
26829
26830
26831
26832echo
26833{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libsidplay ***" >&5
26834$as_echo "$as_me: *** checking feature: libsidplay ***" >&6;}
26835if test "xsid" != "x"
26836then
26837  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: sid ***" >&5
26838$as_echo "$as_me: *** for plug-ins: sid ***" >&6;}
26839fi
26840NOUSE=
26841if test "x$USE_SIDPLAY" = "xno"; then
26842  NOUSE="yes"
26843fi
26844# Check whether --enable-sidplay was given.
26845if test "${enable_sidplay+set}" = set; then :
26846  enableval=$enable_sidplay;  case "${enableval}" in
26847      yes) USE_SIDPLAY=yes;;
26848      no) USE_SIDPLAY=no;;
26849      *) as_fn_error $? "bad value ${enableval} for --enable-sidplay" "$LINENO" 5 ;;
26850    esac
26851else
26852   USE_SIDPLAY=yes
26853fi
26854
26855if test "x$NOUSE" = "xyes"; then
26856  USE_SIDPLAY="no"
26857  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sid pre-configured not to be built" >&5
26858$as_echo "$as_me: WARNING: *** sid pre-configured not to be built" >&2;}
26859fi
26860NOUSE=
26861
26862if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " SIDPLAY " > /dev/null; then
26863  USE_SIDPLAY="no"
26864  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sid not ported" >&5
26865$as_echo "$as_me: WARNING: *** sid not ported" >&2;}
26866fi
26867
26868
26869if test x$USE_SIDPLAY = xyes; then
26870
26871  gst_check_save_LIBS=$LIBS
26872  gst_check_save_LDFLAGS=$LDFLAGS
26873  gst_check_save_CFLAGS=$CFLAGS
26874  gst_check_save_CPPFLAGS=$CPPFLAGS
26875  gst_check_save_CXXFLAGS=$CXXFLAGS
26876
26877  HAVE_SIDPLAY=no
26878
26879
26880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsidplay 1.36.x" >&5
26881$as_echo_n "checking for libsidplay 1.36.x... " >&6; }
26882
26883ac_ext=cpp
26884ac_cpp='$CXXCPP $CPPFLAGS'
26885ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26886ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26887ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26888
26889
26890ac_fn_cxx_check_header_mongrel "$LINENO" "sidplay/player.h" "ac_cv_header_sidplay_player_h" "$ac_includes_default"
26891if test "x$ac_cv_header_sidplay_player_h" = xyes; then :
26892  HAVE_SIDPLAY="yes"
26893else
26894  HAVE_SIDPLAY="no"
26895fi
26896
26897
26898
26899if test $HAVE_SIDPLAY = "yes"; then
26900  SIDPLAY_LIBS="-lsidplay"
26901
26902  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lsidplay works" >&5
26903$as_echo_n "checking whether -lsidplay works... " >&6; }
26904  ac_libs_safe=$LIBS
26905
26906  LIBS="-lsidplay"
26907
26908  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26909/* end confdefs.h.  */
26910#include <sidplay/player.h>
26911int
26912main ()
26913{
26914sidTune tune = sidTune(0);
26915  ;
26916  return 0;
26917}
26918_ACEOF
26919if ac_fn_cxx_try_link "$LINENO"; then :
26920  HAVE_SIDPLAY="yes"
26921else
26922  HAVE_SIDPLAY="no"
26923fi
26924rm -f core conftest.err conftest.$ac_objext \
26925    conftest$ac_exeext conftest.$ac_ext
26926
26927  LIBS="$ac_libs_safe"
26928
26929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_SIDPLAY" >&5
26930$as_echo "$HAVE_SIDPLAY" >&6; }
26931fi
26932
26933SIDPLAY_CFLAGS=
26934SIDPLAY_LIBS="-lsidplay"
26935
26936
26937
26938ac_ext=c
26939ac_cpp='$CPP $CPPFLAGS'
26940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26942ac_compiler_gnu=$ac_cv_c_compiler_gnu
26943
26944
26945
26946
26947  LIBS=$gst_check_save_LIBS
26948  LDFLAGS=$gst_check_save_LDFLAGS
26949  CFLAGS=$gst_check_save_CFLAGS
26950  CPPFLAGS=$gst_check_save_CPPFLAGS
26951  CXXFLAGS=$gst_check_save_CXXFLAGS
26952
26953    if test x$HAVE_SIDPLAY = xno; then
26954    USE_SIDPLAY=no
26955  else
26956    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: sid" >&5
26957$as_echo "$as_me: *** These plugins will be built: sid" >&6;}
26958  fi
26959fi
26960if test x$USE_SIDPLAY = xyes; then
26961  :
26962  if test "xsid" != "x"; then
26963    GST_PLUGINS_YES="\tsid\n$GST_PLUGINS_YES"
26964  fi
26965
26966$as_echo "#define HAVE_SIDPLAY /**/" >>confdefs.h
26967
26968else
26969  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: sid" >&5
26970$as_echo "$as_me: *** These plugins will not be built: sid" >&6;}
26971  if test "xsid" != "x"; then
26972    GST_PLUGINS_NO="\tsid\n$GST_PLUGINS_NO"
26973  fi
26974  :
26975fi
26976 if test x$USE_SIDPLAY = xyes; then
26977  USE_SIDPLAY_TRUE=
26978  USE_SIDPLAY_FALSE='#'
26979else
26980  USE_SIDPLAY_TRUE='#'
26981  USE_SIDPLAY_FALSE=
26982fi
26983
26984
26985
26986echo
26987{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: x264 plug-in ***" >&5
26988$as_echo "$as_me: *** checking feature: x264 plug-in ***" >&6;}
26989if test "xx264" != "x"
26990then
26991  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: x264 ***" >&5
26992$as_echo "$as_me: *** for plug-ins: x264 ***" >&6;}
26993fi
26994NOUSE=
26995if test "x$USE_X264" = "xno"; then
26996  NOUSE="yes"
26997fi
26998# Check whether --enable-x264 was given.
26999if test "${enable_x264+set}" = set; then :
27000  enableval=$enable_x264;  case "${enableval}" in
27001      yes) USE_X264=yes;;
27002      no) USE_X264=no;;
27003      *) as_fn_error $? "bad value ${enableval} for --enable-x264" "$LINENO" 5 ;;
27004    esac
27005else
27006   USE_X264=yes
27007fi
27008
27009if test "x$NOUSE" = "xyes"; then
27010  USE_X264="no"
27011  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** x264 pre-configured not to be built" >&5
27012$as_echo "$as_me: WARNING: *** x264 pre-configured not to be built" >&2;}
27013fi
27014NOUSE=
27015
27016if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " X264 " > /dev/null; then
27017  USE_X264="no"
27018  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** x264 not ported" >&5
27019$as_echo "$as_me: WARNING: *** x264 not ported" >&2;}
27020fi
27021
27022
27023if test x$USE_X264 = xyes; then
27024
27025  gst_check_save_LIBS=$LIBS
27026  gst_check_save_LDFLAGS=$LDFLAGS
27027  gst_check_save_CFLAGS=$CFLAGS
27028  gst_check_save_CPPFLAGS=$CPPFLAGS
27029  gst_check_save_CXXFLAGS=$CXXFLAGS
27030
27031  HAVE_X264=no
27032
27033
27034  which="x264 >= 0.120"
27035    required="no"
27036
27037
27038pkg_failed=no
27039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X264" >&5
27040$as_echo_n "checking for X264... " >&6; }
27041
27042if test -n "$PKG_CONFIG"; then
27043    if test -n "$X264_CFLAGS"; then
27044        pkg_cv_X264_CFLAGS="$X264_CFLAGS"
27045    else
27046        if test -n "$PKG_CONFIG" && \
27047    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
27048  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
27049  ac_status=$?
27050  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27051  test $ac_status = 0; }; then
27052  pkg_cv_X264_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
27053else
27054  pkg_failed=yes
27055fi
27056    fi
27057else
27058	pkg_failed=untried
27059fi
27060if test -n "$PKG_CONFIG"; then
27061    if test -n "$X264_LIBS"; then
27062        pkg_cv_X264_LIBS="$X264_LIBS"
27063    else
27064        if test -n "$PKG_CONFIG" && \
27065    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
27066  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
27067  ac_status=$?
27068  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27069  test $ac_status = 0; }; then
27070  pkg_cv_X264_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
27071else
27072  pkg_failed=yes
27073fi
27074    fi
27075else
27076	pkg_failed=untried
27077fi
27078
27079
27080
27081if test $pkg_failed = yes; then
27082
27083if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27084        _pkg_short_errors_supported=yes
27085else
27086        _pkg_short_errors_supported=no
27087fi
27088        if test $_pkg_short_errors_supported = yes; then
27089	        X264_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
27090        else
27091	        X264_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
27092        fi
27093	# Put the nasty error message in config.log where it belongs
27094	echo "$X264_PKG_ERRORS" >&5
27095
27096	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27097$as_echo "no" >&6; }
27098
27099      HAVE_X264="no"
27100      if test "x$required" = "xyes"; then
27101        as_fn_error $? "$X264_PKG_ERRORS" "$LINENO" 5
27102      else
27103        { $as_echo "$as_me:${as_lineno-$LINENO}: $X264_PKG_ERRORS" >&5
27104$as_echo "$as_me: $X264_PKG_ERRORS" >&6;}
27105      fi
27106
27107elif test $pkg_failed = untried; then
27108
27109      HAVE_X264="no"
27110      if test "x$required" = "xyes"; then
27111        as_fn_error $? "$X264_PKG_ERRORS" "$LINENO" 5
27112      else
27113        { $as_echo "$as_me:${as_lineno-$LINENO}: $X264_PKG_ERRORS" >&5
27114$as_echo "$as_me: $X264_PKG_ERRORS" >&6;}
27115      fi
27116
27117else
27118	X264_CFLAGS=$pkg_cv_X264_CFLAGS
27119	X264_LIBS=$pkg_cv_X264_LIBS
27120        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27121$as_echo "yes" >&6; }
27122
27123      HAVE_X264="yes"
27124
27125fi
27126
27127
27128
27129
27130# Check whether --with-x264-libraries was given.
27131if test "${with_x264_libraries+set}" = set; then :
27132  withval=$with_x264_libraries;
27133      if test "x$withval" != "x"
27134      then
27135
27136cat >>confdefs.h <<_ACEOF
27137#define HAVE_X264_ADDITIONAL_LIBRARIES "$withval"
27138_ACEOF
27139
27140      fi
27141
27142fi
27143
27144
27145
27146  LIBS=$gst_check_save_LIBS
27147  LDFLAGS=$gst_check_save_LDFLAGS
27148  CFLAGS=$gst_check_save_CFLAGS
27149  CPPFLAGS=$gst_check_save_CPPFLAGS
27150  CXXFLAGS=$gst_check_save_CXXFLAGS
27151
27152    if test x$HAVE_X264 = xno; then
27153    USE_X264=no
27154  else
27155    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: x264" >&5
27156$as_echo "$as_me: *** These plugins will be built: x264" >&6;}
27157  fi
27158fi
27159if test x$USE_X264 = xyes; then
27160  :
27161  if test "xx264" != "x"; then
27162    GST_PLUGINS_YES="\tx264\n$GST_PLUGINS_YES"
27163  fi
27164
27165$as_echo "#define HAVE_X264 /**/" >>confdefs.h
27166
27167else
27168  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: x264" >&5
27169$as_echo "$as_me: *** These plugins will not be built: x264" >&6;}
27170  if test "xx264" != "x"; then
27171    GST_PLUGINS_NO="\tx264\n$GST_PLUGINS_NO"
27172  fi
27173  :
27174fi
27175 if test x$USE_X264 = xyes; then
27176  USE_X264_TRUE=
27177  USE_X264_FALSE='#'
27178else
27179  USE_X264_TRUE='#'
27180  USE_X264_FALSE=
27181fi
27182
27183
27184
27185else
27186
27187
27188 if false; then
27189  USE_A52DEC_TRUE=
27190  USE_A52DEC_FALSE='#'
27191else
27192  USE_A52DEC_TRUE='#'
27193  USE_A52DEC_FALSE=
27194fi
27195
27196 if false; then
27197  USE_AMRNB_TRUE=
27198  USE_AMRNB_FALSE='#'
27199else
27200  USE_AMRNB_TRUE='#'
27201  USE_AMRNB_FALSE=
27202fi
27203
27204 if false; then
27205  USE_AMRWB_TRUE=
27206  USE_AMRWB_FALSE='#'
27207else
27208  USE_AMRWB_TRUE='#'
27209  USE_AMRWB_FALSE=
27210fi
27211
27212 if false; then
27213  USE_CDIO_TRUE=
27214  USE_CDIO_FALSE='#'
27215else
27216  USE_CDIO_TRUE='#'
27217  USE_CDIO_FALSE=
27218fi
27219
27220 if false; then
27221  USE_DVDREAD_TRUE=
27222  USE_DVDREAD_FALSE='#'
27223else
27224  USE_DVDREAD_TRUE='#'
27225  USE_DVDREAD_FALSE=
27226fi
27227
27228 if false; then
27229  USE_MPEG2DEC_TRUE=
27230  USE_MPEG2DEC_FALSE='#'
27231else
27232  USE_MPEG2DEC_TRUE='#'
27233  USE_MPEG2DEC_FALSE=
27234fi
27235
27236 if false; then
27237  USE_SIDPLAY_TRUE=
27238  USE_SIDPLAY_FALSE='#'
27239else
27240  USE_SIDPLAY_TRUE='#'
27241  USE_SIDPLAY_FALSE=
27242fi
27243
27244 if false; then
27245  USE_X264_TRUE=
27246  USE_X264_FALSE='#'
27247else
27248  USE_X264_TRUE='#'
27249  USE_X264_FALSE=
27250fi
27251
27252
27253fi
27254
27255
27256if test "x$USE_DEBUG" = xyes; then
27257   PROFILE_CFLAGS="-g"
27258fi
27259
27260
27261if test "x$PACKAGE_VERSION_NANO" = "x1"; then
27262    DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
27263else
27264  DEPRECATED_CFLAGS=""
27265fi
27266
27267
27268VISIBILITY_CFLAGS=""
27269
27270  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fvisibility=hidden" >&5
27271$as_echo_n "checking to see if compiler understands -fvisibility=hidden... " >&6; }
27272
27273  save_CFLAGS="$CFLAGS"
27274  CFLAGS="$CFLAGS -fvisibility=hidden"
27275
27276  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27277/* end confdefs.h.  */
27278
27279int
27280main ()
27281{
27282
27283  ;
27284  return 0;
27285}
27286_ACEOF
27287if ac_fn_c_try_compile "$LINENO"; then :
27288  flag_ok=yes
27289else
27290  flag_ok=no
27291fi
27292rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27293  CFLAGS="$save_CFLAGS"
27294
27295  if test "X$flag_ok" = Xyes ; then
27296    VISIBILITY_CFLAGS="-fvisibility=hidden"
27297    true
27298  else
27299
27300    true
27301  fi
27302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
27303$as_echo "$flag_ok" >&6; }
27304
27305
27306
27307VISIBILITY_CXXFLAGS=""
27308if test "x$HAVE_CXX" = "xyes"; then
27309
27310
27311
27312  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fvisibility=hidden" >&5
27313$as_echo_n "checking to see if c++ compiler understands -fvisibility=hidden... " >&6; }
27314
27315  save_CPPFLAGS="$CPPFLAGS"
27316  CPPFLAGS="$CPPFLAGS -fvisibility=hidden"
27317
27318  ac_ext=cpp
27319ac_cpp='$CXXCPP $CPPFLAGS'
27320ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27321ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27322ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27323
27324
27325  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27326/* end confdefs.h.  */
27327
27328int
27329main ()
27330{
27331
27332  ;
27333  return 0;
27334}
27335_ACEOF
27336if ac_fn_cxx_try_compile "$LINENO"; then :
27337  flag_ok=yes
27338else
27339  flag_ok=no
27340fi
27341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27342  CPPFLAGS="$save_CPPFLAGS"
27343
27344  if test "X$flag_ok" = Xyes ; then
27345    VISIBILITY_CXXFLAGS="-fvisibility=hidden"
27346    true
27347  else
27348
27349    true
27350  fi
27351
27352  ac_ext=c
27353ac_cpp='$CPP $CPPFLAGS'
27354ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27355ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27356ac_compiler_gnu=$ac_cv_c_compiler_gnu
27357
27358
27359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
27360$as_echo "$flag_ok" >&6; }
27361
27362fi
27363
27364
27365
27366  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
27367$as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
27368
27369  save_CFLAGS="$CFLAGS"
27370  CFLAGS="$CFLAGS -fno-strict-aliasing"
27371
27372  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27373/* end confdefs.h.  */
27374
27375int
27376main ()
27377{
27378
27379  ;
27380  return 0;
27381}
27382_ACEOF
27383if ac_fn_c_try_compile "$LINENO"; then :
27384  flag_ok=yes
27385else
27386  flag_ok=no
27387fi
27388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27389  CFLAGS="$save_CFLAGS"
27390
27391  if test "X$flag_ok" = Xyes ; then
27392    EXTRA_CFLAGS="-fno-strict-aliasing"
27393    true
27394  else
27395
27396    true
27397  fi
27398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
27399$as_echo "$flag_ok" >&6; }
27400
27401
27402
27403GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
27404GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
27405
27406
27407
27408GST_CFLAGS="$GST_CFLAGS"
27409GST_CXXFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS $EXTRA_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CXXFLAGS) \$(VISIBILITY_CXXFLAGS)"
27410GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS $EXTRA_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS) \$(VISIBILITY_CFLAGS)"
27411
27412
27413
27414
27415GST_ALL_LDFLAGS="-no-undefined"
27416if test "x${enable_Bsymbolic}" = "xyes"; then
27417  GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions"
27418fi
27419
27420
27421GST_PLUGIN_LDFLAGS="-module -avoid-version $GST_ALL_LDFLAGS"
27422
27423
27424
27425ac_config_files="$ac_config_files Makefile common/Makefile common/m4/Makefile gst-libs/Makefile gst-libs/gst/Makefile gst/Makefile gst/asfdemux/Makefile gst/dvdlpcmdec/Makefile gst/dvdsub/Makefile gst/realmedia/Makefile gst/xingmux/Makefile ext/Makefile ext/a52dec/Makefile ext/amrnb/Makefile ext/amrwbdec/Makefile ext/cdio/Makefile ext/dvdread/Makefile ext/mpeg2dec/Makefile ext/sidplay/Makefile ext/x264/Makefile docs/Makefile docs/plugins/Makefile docs/version.entities tests/Makefile tests/check/Makefile tests/files/Makefile m4/Makefile po/Makefile.in pkgconfig/Makefile pkgconfig/gstreamer-plugins-ugly-uninstalled.pc"
27426
27427
27428cat >confcache <<\_ACEOF
27429# This file is a shell script that caches the results of configure
27430# tests run on this system so they can be shared between configure
27431# scripts and configure runs, see configure's option --config-cache.
27432# It is not useful on other systems.  If it contains results you don't
27433# want to keep, you may remove or edit it.
27434#
27435# config.status only pays attention to the cache file if you give it
27436# the --recheck option to rerun configure.
27437#
27438# `ac_cv_env_foo' variables (set or unset) will be overridden when
27439# loading this file, other *unset* `ac_cv_foo' will be assigned the
27440# following values.
27441
27442_ACEOF
27443
27444# The following way of writing the cache mishandles newlines in values,
27445# but we know of no workaround that is simple, portable, and efficient.
27446# So, we kill variables containing newlines.
27447# Ultrix sh set writes to stderr and can't be redirected directly,
27448# and sets the high bit in the cache file unless we assign to the vars.
27449(
27450  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27451    eval ac_val=\$$ac_var
27452    case $ac_val in #(
27453    *${as_nl}*)
27454      case $ac_var in #(
27455      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
27456$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
27457      esac
27458      case $ac_var in #(
27459      _ | IFS | as_nl) ;; #(
27460      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
27461      *) { eval $ac_var=; unset $ac_var;} ;;
27462      esac ;;
27463    esac
27464  done
27465
27466  (set) 2>&1 |
27467    case $as_nl`(ac_space=' '; set) 2>&1` in #(
27468    *${as_nl}ac_space=\ *)
27469      # `set' does not quote correctly, so add quotes: double-quote
27470      # substitution turns \\\\ into \\, and sed turns \\ into \.
27471      sed -n \
27472	"s/'/'\\\\''/g;
27473	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27474      ;; #(
27475    *)
27476      # `set' quotes correctly as required by POSIX, so do not add quotes.
27477      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27478      ;;
27479    esac |
27480    sort
27481) |
27482  sed '
27483     /^ac_cv_env_/b end
27484     t clear
27485     :clear
27486     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27487     t end
27488     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27489     :end' >>confcache
27490if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27491  if test -w "$cache_file"; then
27492    if test "x$cache_file" != "x/dev/null"; then
27493      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
27494$as_echo "$as_me: updating cache $cache_file" >&6;}
27495      if test ! -f "$cache_file" || test -h "$cache_file"; then
27496	cat confcache >"$cache_file"
27497      else
27498        case $cache_file in #(
27499        */* | ?:*)
27500	  mv -f confcache "$cache_file"$$ &&
27501	  mv -f "$cache_file"$$ "$cache_file" ;; #(
27502        *)
27503	  mv -f confcache "$cache_file" ;;
27504	esac
27505      fi
27506    fi
27507  else
27508    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
27509$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27510  fi
27511fi
27512rm -f confcache
27513
27514test "x$prefix" = xNONE && prefix=$ac_default_prefix
27515# Let make expand exec_prefix.
27516test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
27517
27518DEFS=-DHAVE_CONFIG_H
27519
27520ac_libobjs=
27521ac_ltlibobjs=
27522U=
27523for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
27524  # 1. Remove the extension, and $U if already installed.
27525  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
27526  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
27527  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
27528  #    will be set to the directory where LIBOBJS objects are built.
27529  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
27530  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
27531done
27532LIBOBJS=$ac_libobjs
27533
27534LTLIBOBJS=$ac_ltlibobjs
27535
27536
27537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
27538$as_echo_n "checking that generated files are newer than configure... " >&6; }
27539   if test -n "$am_sleep_pid"; then
27540     # Hide warnings about reused PIDs.
27541     wait $am_sleep_pid 2>/dev/null
27542   fi
27543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
27544$as_echo "done" >&6; }
27545 if test -n "$EXEEXT"; then
27546  am__EXEEXT_TRUE=
27547  am__EXEEXT_FALSE='#'
27548else
27549  am__EXEEXT_TRUE='#'
27550  am__EXEEXT_FALSE=
27551fi
27552
27553if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27554  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
27555Usually this means the macro was only invoked conditionally." "$LINENO" 5
27556fi
27557if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27558  as_fn_error $? "conditional \"AMDEP\" was never defined.
27559Usually this means the macro was only invoked conditionally." "$LINENO" 5
27560fi
27561if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27562  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
27563Usually this means the macro was only invoked conditionally." "$LINENO" 5
27564fi
27565if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
27566  as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
27567Usually this means the macro was only invoked conditionally." "$LINENO" 5
27568fi
27569if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
27570  as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
27571Usually this means the macro was only invoked conditionally." "$LINENO" 5
27572fi
27573if test -z "${USE_EXTERNAL_TRUE}" && test -z "${USE_EXTERNAL_FALSE}"; then
27574  as_fn_error $? "conditional \"USE_EXTERNAL\" was never defined.
27575Usually this means the macro was only invoked conditionally." "$LINENO" 5
27576fi
27577if test -z "${BUILD_EXTERNAL_TRUE}" && test -z "${BUILD_EXTERNAL_FALSE}"; then
27578  as_fn_error $? "conditional \"BUILD_EXTERNAL\" was never defined.
27579Usually this means the macro was only invoked conditionally." "$LINENO" 5
27580fi
27581if test -z "${USE_EXPERIMENTAL_TRUE}" && test -z "${USE_EXPERIMENTAL_FALSE}"; then
27582  as_fn_error $? "conditional \"USE_EXPERIMENTAL\" was never defined.
27583Usually this means the macro was only invoked conditionally." "$LINENO" 5
27584fi
27585if test -z "${BUILD_EXPERIMENTAL_TRUE}" && test -z "${BUILD_EXPERIMENTAL_FALSE}"; then
27586  as_fn_error $? "conditional \"BUILD_EXPERIMENTAL\" was never defined.
27587Usually this means the macro was only invoked conditionally." "$LINENO" 5
27588fi
27589
27590if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
27591  as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
27592Usually this means the macro was only invoked conditionally." "$LINENO" 5
27593fi
27594if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
27595  as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
27596Usually this means the macro was only invoked conditionally." "$LINENO" 5
27597fi
27598if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
27599  as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
27600Usually this means the macro was only invoked conditionally." "$LINENO" 5
27601fi
27602if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
27603  as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
27604Usually this means the macro was only invoked conditionally." "$LINENO" 5
27605fi
27606if test -z "${HAVE_CPU_ARC_TRUE}" && test -z "${HAVE_CPU_ARC_FALSE}"; then
27607  as_fn_error $? "conditional \"HAVE_CPU_ARC\" was never defined.
27608Usually this means the macro was only invoked conditionally." "$LINENO" 5
27609fi
27610if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
27611  as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
27612Usually this means the macro was only invoked conditionally." "$LINENO" 5
27613fi
27614if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
27615  as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
27616Usually this means the macro was only invoked conditionally." "$LINENO" 5
27617fi
27618if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
27619  as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
27620Usually this means the macro was only invoked conditionally." "$LINENO" 5
27621fi
27622if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
27623  as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
27624Usually this means the macro was only invoked conditionally." "$LINENO" 5
27625fi
27626if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
27627  as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
27628Usually this means the macro was only invoked conditionally." "$LINENO" 5
27629fi
27630if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
27631  as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
27632Usually this means the macro was only invoked conditionally." "$LINENO" 5
27633fi
27634if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
27635  as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
27636Usually this means the macro was only invoked conditionally." "$LINENO" 5
27637fi
27638if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
27639  as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
27640Usually this means the macro was only invoked conditionally." "$LINENO" 5
27641fi
27642if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
27643  as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
27644Usually this means the macro was only invoked conditionally." "$LINENO" 5
27645fi
27646if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
27647  as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
27648Usually this means the macro was only invoked conditionally." "$LINENO" 5
27649fi
27650
27651if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27652  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
27653Usually this means the macro was only invoked conditionally." "$LINENO" 5
27654fi
27655if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27656  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
27657Usually this means the macro was only invoked conditionally." "$LINENO" 5
27658fi
27659if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
27660  as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
27661Usually this means the macro was only invoked conditionally." "$LINENO" 5
27662fi
27663if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
27664  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
27665Usually this means the macro was only invoked conditionally." "$LINENO" 5
27666fi
27667if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
27668  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
27669Usually this means the macro was only invoked conditionally." "$LINENO" 5
27670fi
27671if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
27672  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
27673Usually this means the macro was only invoked conditionally." "$LINENO" 5
27674fi
27675if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
27676  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
27677Usually this means the macro was only invoked conditionally." "$LINENO" 5
27678fi
27679if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
27680  as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
27681Usually this means the macro was only invoked conditionally." "$LINENO" 5
27682fi
27683if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
27684  as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
27685Usually this means the macro was only invoked conditionally." "$LINENO" 5
27686fi
27687if test -z "${HAVE_ORCC_TRUE}" && test -z "${HAVE_ORCC_FALSE}"; then
27688  as_fn_error $? "conditional \"HAVE_ORCC\" was never defined.
27689Usually this means the macro was only invoked conditionally." "$LINENO" 5
27690fi
27691if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
27692  as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
27693Usually this means the macro was only invoked conditionally." "$LINENO" 5
27694fi
27695if test -z "${USE_PLUGIN_ASFDEMUX_TRUE}" && test -z "${USE_PLUGIN_ASFDEMUX_FALSE}"; then
27696  as_fn_error $? "conditional \"USE_PLUGIN_ASFDEMUX\" was never defined.
27697Usually this means the macro was only invoked conditionally." "$LINENO" 5
27698fi
27699if test -z "${USE_PLUGIN_DVDLPCMDEC_TRUE}" && test -z "${USE_PLUGIN_DVDLPCMDEC_FALSE}"; then
27700  as_fn_error $? "conditional \"USE_PLUGIN_DVDLPCMDEC\" was never defined.
27701Usually this means the macro was only invoked conditionally." "$LINENO" 5
27702fi
27703if test -z "${USE_PLUGIN_DVDSUB_TRUE}" && test -z "${USE_PLUGIN_DVDSUB_FALSE}"; then
27704  as_fn_error $? "conditional \"USE_PLUGIN_DVDSUB\" was never defined.
27705Usually this means the macro was only invoked conditionally." "$LINENO" 5
27706fi
27707if test -z "${USE_PLUGIN_XINGMUX_TRUE}" && test -z "${USE_PLUGIN_XINGMUX_FALSE}"; then
27708  as_fn_error $? "conditional \"USE_PLUGIN_XINGMUX\" was never defined.
27709Usually this means the macro was only invoked conditionally." "$LINENO" 5
27710fi
27711if test -z "${USE_PLUGIN_REALMEDIA_TRUE}" && test -z "${USE_PLUGIN_REALMEDIA_FALSE}"; then
27712  as_fn_error $? "conditional \"USE_PLUGIN_REALMEDIA\" was never defined.
27713Usually this means the macro was only invoked conditionally." "$LINENO" 5
27714fi
27715if test -z "${USE_A52DEC_TRUE}" && test -z "${USE_A52DEC_FALSE}"; then
27716  as_fn_error $? "conditional \"USE_A52DEC\" was never defined.
27717Usually this means the macro was only invoked conditionally." "$LINENO" 5
27718fi
27719if test -z "${USE_AMRNB_TRUE}" && test -z "${USE_AMRNB_FALSE}"; then
27720  as_fn_error $? "conditional \"USE_AMRNB\" was never defined.
27721Usually this means the macro was only invoked conditionally." "$LINENO" 5
27722fi
27723if test -z "${USE_AMRWB_TRUE}" && test -z "${USE_AMRWB_FALSE}"; then
27724  as_fn_error $? "conditional \"USE_AMRWB\" was never defined.
27725Usually this means the macro was only invoked conditionally." "$LINENO" 5
27726fi
27727if test -z "${USE_CDIO_TRUE}" && test -z "${USE_CDIO_FALSE}"; then
27728  as_fn_error $? "conditional \"USE_CDIO\" was never defined.
27729Usually this means the macro was only invoked conditionally." "$LINENO" 5
27730fi
27731if test -z "${USE_DVDREAD_TRUE}" && test -z "${USE_DVDREAD_FALSE}"; then
27732  as_fn_error $? "conditional \"USE_DVDREAD\" was never defined.
27733Usually this means the macro was only invoked conditionally." "$LINENO" 5
27734fi
27735if test -z "${USE_MPEG2DEC_TRUE}" && test -z "${USE_MPEG2DEC_FALSE}"; then
27736  as_fn_error $? "conditional \"USE_MPEG2DEC\" was never defined.
27737Usually this means the macro was only invoked conditionally." "$LINENO" 5
27738fi
27739if test -z "${USE_SIDPLAY_TRUE}" && test -z "${USE_SIDPLAY_FALSE}"; then
27740  as_fn_error $? "conditional \"USE_SIDPLAY\" was never defined.
27741Usually this means the macro was only invoked conditionally." "$LINENO" 5
27742fi
27743if test -z "${USE_X264_TRUE}" && test -z "${USE_X264_FALSE}"; then
27744  as_fn_error $? "conditional \"USE_X264\" was never defined.
27745Usually this means the macro was only invoked conditionally." "$LINENO" 5
27746fi
27747if test -z "${USE_A52DEC_TRUE}" && test -z "${USE_A52DEC_FALSE}"; then
27748  as_fn_error $? "conditional \"USE_A52DEC\" was never defined.
27749Usually this means the macro was only invoked conditionally." "$LINENO" 5
27750fi
27751if test -z "${USE_AMRNB_TRUE}" && test -z "${USE_AMRNB_FALSE}"; then
27752  as_fn_error $? "conditional \"USE_AMRNB\" was never defined.
27753Usually this means the macro was only invoked conditionally." "$LINENO" 5
27754fi
27755if test -z "${USE_AMRWB_TRUE}" && test -z "${USE_AMRWB_FALSE}"; then
27756  as_fn_error $? "conditional \"USE_AMRWB\" was never defined.
27757Usually this means the macro was only invoked conditionally." "$LINENO" 5
27758fi
27759if test -z "${USE_CDIO_TRUE}" && test -z "${USE_CDIO_FALSE}"; then
27760  as_fn_error $? "conditional \"USE_CDIO\" was never defined.
27761Usually this means the macro was only invoked conditionally." "$LINENO" 5
27762fi
27763if test -z "${USE_DVDREAD_TRUE}" && test -z "${USE_DVDREAD_FALSE}"; then
27764  as_fn_error $? "conditional \"USE_DVDREAD\" was never defined.
27765Usually this means the macro was only invoked conditionally." "$LINENO" 5
27766fi
27767if test -z "${USE_MPEG2DEC_TRUE}" && test -z "${USE_MPEG2DEC_FALSE}"; then
27768  as_fn_error $? "conditional \"USE_MPEG2DEC\" was never defined.
27769Usually this means the macro was only invoked conditionally." "$LINENO" 5
27770fi
27771if test -z "${USE_SIDPLAY_TRUE}" && test -z "${USE_SIDPLAY_FALSE}"; then
27772  as_fn_error $? "conditional \"USE_SIDPLAY\" was never defined.
27773Usually this means the macro was only invoked conditionally." "$LINENO" 5
27774fi
27775if test -z "${USE_X264_TRUE}" && test -z "${USE_X264_FALSE}"; then
27776  as_fn_error $? "conditional \"USE_X264\" was never defined.
27777Usually this means the macro was only invoked conditionally." "$LINENO" 5
27778fi
27779
27780: "${CONFIG_STATUS=./config.status}"
27781ac_write_fail=0
27782ac_clean_files_save=$ac_clean_files
27783ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27784{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27785$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27786as_write_fail=0
27787cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27788#! $SHELL
27789# Generated by $as_me.
27790# Run this file to recreate the current configuration.
27791# Compiler output produced by configure, useful for debugging
27792# configure, is in config.log if it exists.
27793
27794debug=false
27795ac_cs_recheck=false
27796ac_cs_silent=false
27797
27798SHELL=\${CONFIG_SHELL-$SHELL}
27799export SHELL
27800_ASEOF
27801cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
27802## -------------------- ##
27803## M4sh Initialization. ##
27804## -------------------- ##
27805
27806# Be more Bourne compatible
27807DUALCASE=1; export DUALCASE # for MKS sh
27808if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27809  emulate sh
27810  NULLCMD=:
27811  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27812  # is contrary to our usage.  Disable this feature.
27813  alias -g '${1+"$@"}'='"$@"'
27814  setopt NO_GLOB_SUBST
27815else
27816  case `(set -o) 2>/dev/null` in #(
27817  *posix*) :
27818    set -o posix ;; #(
27819  *) :
27820     ;;
27821esac
27822fi
27823
27824
27825as_nl='
27826'
27827export as_nl
27828# Printing a long string crashes Solaris 7 /usr/bin/printf.
27829as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27830as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27831as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27832# Prefer a ksh shell builtin over an external printf program on Solaris,
27833# but without wasting forks for bash or zsh.
27834if test -z "$BASH_VERSION$ZSH_VERSION" \
27835    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27836  as_echo='print -r --'
27837  as_echo_n='print -rn --'
27838elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27839  as_echo='printf %s\n'
27840  as_echo_n='printf %s'
27841else
27842  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27843    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
27844    as_echo_n='/usr/ucb/echo -n'
27845  else
27846    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27847    as_echo_n_body='eval
27848      arg=$1;
27849      case $arg in #(
27850      *"$as_nl"*)
27851	expr "X$arg" : "X\\(.*\\)$as_nl";
27852	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27853      esac;
27854      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
27855    '
27856    export as_echo_n_body
27857    as_echo_n='sh -c $as_echo_n_body as_echo'
27858  fi
27859  export as_echo_body
27860  as_echo='sh -c $as_echo_body as_echo'
27861fi
27862
27863# The user is always right.
27864if test "${PATH_SEPARATOR+set}" != set; then
27865  PATH_SEPARATOR=:
27866  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27867    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27868      PATH_SEPARATOR=';'
27869  }
27870fi
27871
27872
27873# IFS
27874# We need space, tab and new line, in precisely that order.  Quoting is
27875# there to prevent editors from complaining about space-tab.
27876# (If _AS_PATH_WALK were called with IFS unset, it would disable word
27877# splitting by setting IFS to empty value.)
27878IFS=" ""	$as_nl"
27879
27880# Find who we are.  Look in the path if we contain no directory separator.
27881as_myself=
27882case $0 in #((
27883  *[\\/]* ) as_myself=$0 ;;
27884  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27885for as_dir in $PATH
27886do
27887  IFS=$as_save_IFS
27888  test -z "$as_dir" && as_dir=.
27889    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27890  done
27891IFS=$as_save_IFS
27892
27893     ;;
27894esac
27895# We did not find ourselves, most probably we were run as `sh COMMAND'
27896# in which case we are not to be found in the path.
27897if test "x$as_myself" = x; then
27898  as_myself=$0
27899fi
27900if test ! -f "$as_myself"; then
27901  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27902  exit 1
27903fi
27904
27905# Unset variables that we do not need and which cause bugs (e.g. in
27906# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
27907# suppresses any "Segmentation fault" message there.  '((' could
27908# trigger a bug in pdksh 5.2.14.
27909for as_var in BASH_ENV ENV MAIL MAILPATH
27910do eval test x\${$as_var+set} = xset \
27911  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27912done
27913PS1='$ '
27914PS2='> '
27915PS4='+ '
27916
27917# NLS nuisances.
27918LC_ALL=C
27919export LC_ALL
27920LANGUAGE=C
27921export LANGUAGE
27922
27923# CDPATH.
27924(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27925
27926
27927# as_fn_error STATUS ERROR [LINENO LOG_FD]
27928# ----------------------------------------
27929# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27930# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27931# script with STATUS, using 1 if that was 0.
27932as_fn_error ()
27933{
27934  as_status=$1; test $as_status -eq 0 && as_status=1
27935  if test "$4"; then
27936    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
27937    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27938  fi
27939  $as_echo "$as_me: error: $2" >&2
27940  as_fn_exit $as_status
27941} # as_fn_error
27942
27943
27944# as_fn_set_status STATUS
27945# -----------------------
27946# Set $? to STATUS, without forking.
27947as_fn_set_status ()
27948{
27949  return $1
27950} # as_fn_set_status
27951
27952# as_fn_exit STATUS
27953# -----------------
27954# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27955as_fn_exit ()
27956{
27957  set +e
27958  as_fn_set_status $1
27959  exit $1
27960} # as_fn_exit
27961
27962# as_fn_unset VAR
27963# ---------------
27964# Portably unset VAR.
27965as_fn_unset ()
27966{
27967  { eval $1=; unset $1;}
27968}
27969as_unset=as_fn_unset
27970# as_fn_append VAR VALUE
27971# ----------------------
27972# Append the text in VALUE to the end of the definition contained in VAR. Take
27973# advantage of any shell optimizations that allow amortized linear growth over
27974# repeated appends, instead of the typical quadratic growth present in naive
27975# implementations.
27976if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
27977  eval 'as_fn_append ()
27978  {
27979    eval $1+=\$2
27980  }'
27981else
27982  as_fn_append ()
27983  {
27984    eval $1=\$$1\$2
27985  }
27986fi # as_fn_append
27987
27988# as_fn_arith ARG...
27989# ------------------
27990# Perform arithmetic evaluation on the ARGs, and store the result in the
27991# global $as_val. Take advantage of shells that can avoid forks. The arguments
27992# must be portable across $(()) and expr.
27993if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
27994  eval 'as_fn_arith ()
27995  {
27996    as_val=$(( $* ))
27997  }'
27998else
27999  as_fn_arith ()
28000  {
28001    as_val=`expr "$@" || test $? -eq 1`
28002  }
28003fi # as_fn_arith
28004
28005
28006if expr a : '\(a\)' >/dev/null 2>&1 &&
28007   test "X`expr 00001 : '.*\(...\)'`" = X001; then
28008  as_expr=expr
28009else
28010  as_expr=false
28011fi
28012
28013if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
28014  as_basename=basename
28015else
28016  as_basename=false
28017fi
28018
28019if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
28020  as_dirname=dirname
28021else
28022  as_dirname=false
28023fi
28024
28025as_me=`$as_basename -- "$0" ||
28026$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28027	 X"$0" : 'X\(//\)$' \| \
28028	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
28029$as_echo X/"$0" |
28030    sed '/^.*\/\([^/][^/]*\)\/*$/{
28031	    s//\1/
28032	    q
28033	  }
28034	  /^X\/\(\/\/\)$/{
28035	    s//\1/
28036	    q
28037	  }
28038	  /^X\/\(\/\).*/{
28039	    s//\1/
28040	    q
28041	  }
28042	  s/.*/./; q'`
28043
28044# Avoid depending upon Character Ranges.
28045as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28046as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28047as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28048as_cr_digits='0123456789'
28049as_cr_alnum=$as_cr_Letters$as_cr_digits
28050
28051ECHO_C= ECHO_N= ECHO_T=
28052case `echo -n x` in #(((((
28053-n*)
28054  case `echo 'xy\c'` in
28055  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
28056  xy)  ECHO_C='\c';;
28057  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
28058       ECHO_T='	';;
28059  esac;;
28060*)
28061  ECHO_N='-n';;
28062esac
28063
28064rm -f conf$$ conf$$.exe conf$$.file
28065if test -d conf$$.dir; then
28066  rm -f conf$$.dir/conf$$.file
28067else
28068  rm -f conf$$.dir
28069  mkdir conf$$.dir 2>/dev/null
28070fi
28071if (echo >conf$$.file) 2>/dev/null; then
28072  if ln -s conf$$.file conf$$ 2>/dev/null; then
28073    as_ln_s='ln -s'
28074    # ... but there are two gotchas:
28075    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
28076    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
28077    # In both cases, we have to default to `cp -pR'.
28078    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
28079      as_ln_s='cp -pR'
28080  elif ln conf$$.file conf$$ 2>/dev/null; then
28081    as_ln_s=ln
28082  else
28083    as_ln_s='cp -pR'
28084  fi
28085else
28086  as_ln_s='cp -pR'
28087fi
28088rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
28089rmdir conf$$.dir 2>/dev/null
28090
28091
28092# as_fn_mkdir_p
28093# -------------
28094# Create "$as_dir" as a directory, including parents if necessary.
28095as_fn_mkdir_p ()
28096{
28097
28098  case $as_dir in #(
28099  -*) as_dir=./$as_dir;;
28100  esac
28101  test -d "$as_dir" || eval $as_mkdir_p || {
28102    as_dirs=
28103    while :; do
28104      case $as_dir in #(
28105      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
28106      *) as_qdir=$as_dir;;
28107      esac
28108      as_dirs="'$as_qdir' $as_dirs"
28109      as_dir=`$as_dirname -- "$as_dir" ||
28110$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28111	 X"$as_dir" : 'X\(//\)[^/]' \| \
28112	 X"$as_dir" : 'X\(//\)$' \| \
28113	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28114$as_echo X"$as_dir" |
28115    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28116	    s//\1/
28117	    q
28118	  }
28119	  /^X\(\/\/\)[^/].*/{
28120	    s//\1/
28121	    q
28122	  }
28123	  /^X\(\/\/\)$/{
28124	    s//\1/
28125	    q
28126	  }
28127	  /^X\(\/\).*/{
28128	    s//\1/
28129	    q
28130	  }
28131	  s/.*/./; q'`
28132      test -d "$as_dir" && break
28133    done
28134    test -z "$as_dirs" || eval "mkdir $as_dirs"
28135  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
28136
28137
28138} # as_fn_mkdir_p
28139if mkdir -p . 2>/dev/null; then
28140  as_mkdir_p='mkdir -p "$as_dir"'
28141else
28142  test -d ./-p && rmdir ./-p
28143  as_mkdir_p=false
28144fi
28145
28146
28147# as_fn_executable_p FILE
28148# -----------------------
28149# Test if FILE is an executable regular file.
28150as_fn_executable_p ()
28151{
28152  test -f "$1" && test -x "$1"
28153} # as_fn_executable_p
28154as_test_x='test -x'
28155as_executable_p=as_fn_executable_p
28156
28157# Sed expression to map a string onto a valid CPP name.
28158as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28159
28160# Sed expression to map a string onto a valid variable name.
28161as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28162
28163
28164exec 6>&1
28165## ----------------------------------- ##
28166## Main body of $CONFIG_STATUS script. ##
28167## ----------------------------------- ##
28168_ASEOF
28169test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
28170
28171cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28172# Save the log message, to keep $0 and so on meaningful, and to
28173# report actual input values of CONFIG_FILES etc. instead of their
28174# values after options handling.
28175ac_log="
28176This file was extended by GStreamer Ugly Plug-ins $as_me 1.16.2, which was
28177generated by GNU Autoconf 2.69.  Invocation command line was
28178
28179  CONFIG_FILES    = $CONFIG_FILES
28180  CONFIG_HEADERS  = $CONFIG_HEADERS
28181  CONFIG_LINKS    = $CONFIG_LINKS
28182  CONFIG_COMMANDS = $CONFIG_COMMANDS
28183  $ $0 $@
28184
28185on `(hostname || uname -n) 2>/dev/null | sed 1q`
28186"
28187
28188_ACEOF
28189
28190case $ac_config_files in *"
28191"*) set x $ac_config_files; shift; ac_config_files=$*;;
28192esac
28193
28194case $ac_config_headers in *"
28195"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
28196esac
28197
28198
28199cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28200# Files that config.status was made for.
28201config_files="$ac_config_files"
28202config_headers="$ac_config_headers"
28203config_commands="$ac_config_commands"
28204
28205_ACEOF
28206
28207cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28208ac_cs_usage="\
28209\`$as_me' instantiates files and other configuration actions
28210from templates according to the current configuration.  Unless the files
28211and actions are specified as TAGs, all are instantiated by default.
28212
28213Usage: $0 [OPTION]... [TAG]...
28214
28215  -h, --help       print this help, then exit
28216  -V, --version    print version number and configuration settings, then exit
28217      --config     print configuration, then exit
28218  -q, --quiet, --silent
28219                   do not print progress messages
28220  -d, --debug      don't remove temporary files
28221      --recheck    update $as_me by reconfiguring in the same conditions
28222      --file=FILE[:TEMPLATE]
28223                   instantiate the configuration file FILE
28224      --header=FILE[:TEMPLATE]
28225                   instantiate the configuration header FILE
28226
28227Configuration files:
28228$config_files
28229
28230Configuration headers:
28231$config_headers
28232
28233Configuration commands:
28234$config_commands
28235
28236Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
28237
28238_ACEOF
28239cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28240ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
28241ac_cs_version="\\
28242GStreamer Ugly Plug-ins config.status 1.16.2
28243configured by $0, generated by GNU Autoconf 2.69,
28244  with options \\"\$ac_cs_config\\"
28245
28246Copyright (C) 2012 Free Software Foundation, Inc.
28247This config.status script is free software; the Free Software Foundation
28248gives unlimited permission to copy, distribute and modify it."
28249
28250ac_pwd='$ac_pwd'
28251srcdir='$srcdir'
28252INSTALL='$INSTALL'
28253MKDIR_P='$MKDIR_P'
28254AWK='$AWK'
28255test -n "\$AWK" || AWK=awk
28256_ACEOF
28257
28258cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28259# The default lists apply if the user does not specify any file.
28260ac_need_defaults=:
28261while test $# != 0
28262do
28263  case $1 in
28264  --*=?*)
28265    ac_option=`expr "X$1" : 'X\([^=]*\)='`
28266    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
28267    ac_shift=:
28268    ;;
28269  --*=)
28270    ac_option=`expr "X$1" : 'X\([^=]*\)='`
28271    ac_optarg=
28272    ac_shift=:
28273    ;;
28274  *)
28275    ac_option=$1
28276    ac_optarg=$2
28277    ac_shift=shift
28278    ;;
28279  esac
28280
28281  case $ac_option in
28282  # Handling of the options.
28283  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
28284    ac_cs_recheck=: ;;
28285  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
28286    $as_echo "$ac_cs_version"; exit ;;
28287  --config | --confi | --conf | --con | --co | --c )
28288    $as_echo "$ac_cs_config"; exit ;;
28289  --debug | --debu | --deb | --de | --d | -d )
28290    debug=: ;;
28291  --file | --fil | --fi | --f )
28292    $ac_shift
28293    case $ac_optarg in
28294    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
28295    '') as_fn_error $? "missing file argument" ;;
28296    esac
28297    as_fn_append CONFIG_FILES " '$ac_optarg'"
28298    ac_need_defaults=false;;
28299  --header | --heade | --head | --hea )
28300    $ac_shift
28301    case $ac_optarg in
28302    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
28303    esac
28304    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
28305    ac_need_defaults=false;;
28306  --he | --h)
28307    # Conflict between --help and --header
28308    as_fn_error $? "ambiguous option: \`$1'
28309Try \`$0 --help' for more information.";;
28310  --help | --hel | -h )
28311    $as_echo "$ac_cs_usage"; exit ;;
28312  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
28313  | -silent | --silent | --silen | --sile | --sil | --si | --s)
28314    ac_cs_silent=: ;;
28315
28316  # This is an error.
28317  -*) as_fn_error $? "unrecognized option: \`$1'
28318Try \`$0 --help' for more information." ;;
28319
28320  *) as_fn_append ac_config_targets " $1"
28321     ac_need_defaults=false ;;
28322
28323  esac
28324  shift
28325done
28326
28327ac_configure_extra_args=
28328
28329if $ac_cs_silent; then
28330  exec 6>/dev/null
28331  ac_configure_extra_args="$ac_configure_extra_args --silent"
28332fi
28333
28334_ACEOF
28335cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28336if \$ac_cs_recheck; then
28337  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28338  shift
28339  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
28340  CONFIG_SHELL='$SHELL'
28341  export CONFIG_SHELL
28342  exec "\$@"
28343fi
28344
28345_ACEOF
28346cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28347exec 5>>config.log
28348{
28349  echo
28350  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28351## Running $as_me. ##
28352_ASBOX
28353  $as_echo "$ac_log"
28354} >&5
28355
28356_ACEOF
28357cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28358#
28359# INIT-COMMANDS
28360#
28361AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
28362
28363
28364# The HP-UX ksh and POSIX shell print the target directory to stdout
28365# if CDPATH is set.
28366(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28367
28368sed_quote_subst='$sed_quote_subst'
28369double_quote_subst='$double_quote_subst'
28370delay_variable_subst='$delay_variable_subst'
28371macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
28372macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
28373AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
28374DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
28375OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
28376enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
28377enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
28378pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
28379enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
28380shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
28381SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
28382ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
28383PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
28384host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
28385host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
28386host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
28387build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
28388build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
28389build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
28390SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
28391Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
28392GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
28393EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
28394FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
28395LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
28396NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
28397LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
28398max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
28399ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
28400exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
28401lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
28402lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
28403lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
28404lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
28405lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
28406reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
28407reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
28408deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
28409file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
28410file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
28411want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
28412sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
28413AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
28414AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
28415archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
28416STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
28417RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
28418old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28419old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28420old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
28421lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
28422CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
28423CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
28424compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
28425GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
28426lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
28427lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
28428lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
28429lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
28430lt_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"`'
28431lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
28432nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
28433lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
28434lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
28435objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
28436MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
28437lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
28438lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
28439lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
28440lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
28441lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
28442need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
28443MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
28444DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
28445NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
28446LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
28447OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
28448OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
28449libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
28450shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
28451extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28452archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
28453enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
28454export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
28455whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
28456compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
28457old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
28458old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28459archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
28460archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28461module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
28462module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28463with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
28464allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
28465no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
28466hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
28467hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
28468hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
28469hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
28470hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
28471hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
28472hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
28473inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
28474link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
28475always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
28476export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
28477exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
28478include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
28479prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
28480postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
28481file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
28482variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
28483need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
28484need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
28485version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
28486runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
28487shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
28488shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
28489libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
28490library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
28491soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
28492install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
28493postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28494postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28495finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
28496finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
28497hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
28498sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
28499configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
28500configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
28501hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
28502enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
28503enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
28504enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
28505old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
28506striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
28507compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
28508predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
28509postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
28510predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
28511postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
28512compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
28513LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
28514reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
28515reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28516old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28517compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
28518GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
28519lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
28520lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
28521lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
28522lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
28523lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
28524archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
28525enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
28526export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
28527whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
28528compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
28529old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28530old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28531archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28532archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28533module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28534module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28535with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
28536allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
28537no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
28538hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
28539hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
28540hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
28541hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
28542hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
28543hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
28544hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
28545inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
28546link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
28547always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
28548export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28549exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
28550include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
28551prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28552postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28553file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
28554hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
28555compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
28556predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
28557postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
28558predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
28559postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
28560compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
28561
28562LTCC='$LTCC'
28563LTCFLAGS='$LTCFLAGS'
28564compiler='$compiler_DEFAULT'
28565
28566# A function that is used when there is no print builtin or printf.
28567func_fallback_echo ()
28568{
28569  eval 'cat <<_LTECHO_EOF
28570\$1
28571_LTECHO_EOF'
28572}
28573
28574# Quote evaled strings.
28575for var in AS \
28576DLLTOOL \
28577OBJDUMP \
28578SHELL \
28579ECHO \
28580PATH_SEPARATOR \
28581SED \
28582GREP \
28583EGREP \
28584FGREP \
28585LD \
28586NM \
28587LN_S \
28588lt_SP2NL \
28589lt_NL2SP \
28590reload_flag \
28591deplibs_check_method \
28592file_magic_cmd \
28593file_magic_glob \
28594want_nocaseglob \
28595sharedlib_from_linklib_cmd \
28596AR \
28597AR_FLAGS \
28598archiver_list_spec \
28599STRIP \
28600RANLIB \
28601CC \
28602CFLAGS \
28603compiler \
28604lt_cv_sys_global_symbol_pipe \
28605lt_cv_sys_global_symbol_to_cdecl \
28606lt_cv_sys_global_symbol_to_import \
28607lt_cv_sys_global_symbol_to_c_name_address \
28608lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
28609lt_cv_nm_interface \
28610nm_file_list_spec \
28611lt_cv_truncate_bin \
28612lt_prog_compiler_no_builtin_flag \
28613lt_prog_compiler_pic \
28614lt_prog_compiler_wl \
28615lt_prog_compiler_static \
28616lt_cv_prog_compiler_c_o \
28617need_locks \
28618MANIFEST_TOOL \
28619DSYMUTIL \
28620NMEDIT \
28621LIPO \
28622OTOOL \
28623OTOOL64 \
28624shrext_cmds \
28625export_dynamic_flag_spec \
28626whole_archive_flag_spec \
28627compiler_needs_object \
28628with_gnu_ld \
28629allow_undefined_flag \
28630no_undefined_flag \
28631hardcode_libdir_flag_spec \
28632hardcode_libdir_separator \
28633exclude_expsyms \
28634include_expsyms \
28635file_list_spec \
28636variables_saved_for_relink \
28637libname_spec \
28638library_names_spec \
28639soname_spec \
28640install_override_mode \
28641finish_eval \
28642old_striplib \
28643striplib \
28644compiler_lib_search_dirs \
28645predep_objects \
28646postdep_objects \
28647predeps \
28648postdeps \
28649compiler_lib_search_path \
28650LD_CXX \
28651reload_flag_CXX \
28652compiler_CXX \
28653lt_prog_compiler_no_builtin_flag_CXX \
28654lt_prog_compiler_pic_CXX \
28655lt_prog_compiler_wl_CXX \
28656lt_prog_compiler_static_CXX \
28657lt_cv_prog_compiler_c_o_CXX \
28658export_dynamic_flag_spec_CXX \
28659whole_archive_flag_spec_CXX \
28660compiler_needs_object_CXX \
28661with_gnu_ld_CXX \
28662allow_undefined_flag_CXX \
28663no_undefined_flag_CXX \
28664hardcode_libdir_flag_spec_CXX \
28665hardcode_libdir_separator_CXX \
28666exclude_expsyms_CXX \
28667include_expsyms_CXX \
28668file_list_spec_CXX \
28669compiler_lib_search_dirs_CXX \
28670predep_objects_CXX \
28671postdep_objects_CXX \
28672predeps_CXX \
28673postdeps_CXX \
28674compiler_lib_search_path_CXX; do
28675    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28676    *[\\\\\\\`\\"\\\$]*)
28677      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
28678      ;;
28679    *)
28680      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28681      ;;
28682    esac
28683done
28684
28685# Double-quote double-evaled strings.
28686for var in reload_cmds \
28687old_postinstall_cmds \
28688old_postuninstall_cmds \
28689old_archive_cmds \
28690extract_expsyms_cmds \
28691old_archive_from_new_cmds \
28692old_archive_from_expsyms_cmds \
28693archive_cmds \
28694archive_expsym_cmds \
28695module_cmds \
28696module_expsym_cmds \
28697export_symbols_cmds \
28698prelink_cmds \
28699postlink_cmds \
28700postinstall_cmds \
28701postuninstall_cmds \
28702finish_cmds \
28703sys_lib_search_path_spec \
28704configure_time_dlsearch_path \
28705configure_time_lt_sys_library_path \
28706reload_cmds_CXX \
28707old_archive_cmds_CXX \
28708old_archive_from_new_cmds_CXX \
28709old_archive_from_expsyms_cmds_CXX \
28710archive_cmds_CXX \
28711archive_expsym_cmds_CXX \
28712module_cmds_CXX \
28713module_expsym_cmds_CXX \
28714export_symbols_cmds_CXX \
28715prelink_cmds_CXX \
28716postlink_cmds_CXX; do
28717    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28718    *[\\\\\\\`\\"\\\$]*)
28719      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
28720      ;;
28721    *)
28722      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28723      ;;
28724    esac
28725done
28726
28727ac_aux_dir='$ac_aux_dir'
28728
28729# See if we are running on zsh, and set the options that allow our
28730# commands through without removal of \ escapes INIT.
28731if test -n "\${ZSH_VERSION+set}"; then
28732   setopt NO_GLOB_SUBST
28733fi
28734
28735
28736    PACKAGE='$PACKAGE'
28737    VERSION='$VERSION'
28738    RM='$RM'
28739    ofile='$ofile'
28740
28741
28742
28743
28744
28745# Capture the value of obsolete ALL_LINGUAS because we need it to compute
28746    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
28747    # from automake < 1.5.
28748    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
28749    # Capture the value of LINGUAS because we need it to compute CATALOGS.
28750    LINGUAS="${LINGUAS-%UNSET%}"
28751
28752# variables for create stdint.h replacement
28753PACKAGE="$PACKAGE"
28754VERSION="$VERSION"
28755ac_stdint_h="$ac_stdint_h"
28756_ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
28757ac_cv_stdint_message="$ac_cv_stdint_message"
28758ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
28759ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
28760ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
28761ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
28762ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
28763ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
28764ac_cv_char_data_model="$ac_cv_char_data_model"
28765ac_cv_long_data_model="$ac_cv_long_data_model"
28766ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
28767ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
28768ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
28769
28770
28771_ACEOF
28772
28773cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28774
28775# Handling of arguments.
28776for ac_config_target in $ac_config_targets
28777do
28778  case $ac_config_target in
28779    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28780    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28781    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
28782    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
28783    "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
28784    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28785    "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
28786    "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
28787    "gst-libs/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/Makefile" ;;
28788    "gst-libs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/Makefile" ;;
28789    "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
28790    "gst/asfdemux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/asfdemux/Makefile" ;;
28791    "gst/dvdlpcmdec/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dvdlpcmdec/Makefile" ;;
28792    "gst/dvdsub/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dvdsub/Makefile" ;;
28793    "gst/realmedia/Makefile") CONFIG_FILES="$CONFIG_FILES gst/realmedia/Makefile" ;;
28794    "gst/xingmux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/xingmux/Makefile" ;;
28795    "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
28796    "ext/a52dec/Makefile") CONFIG_FILES="$CONFIG_FILES ext/a52dec/Makefile" ;;
28797    "ext/amrnb/Makefile") CONFIG_FILES="$CONFIG_FILES ext/amrnb/Makefile" ;;
28798    "ext/amrwbdec/Makefile") CONFIG_FILES="$CONFIG_FILES ext/amrwbdec/Makefile" ;;
28799    "ext/cdio/Makefile") CONFIG_FILES="$CONFIG_FILES ext/cdio/Makefile" ;;
28800    "ext/dvdread/Makefile") CONFIG_FILES="$CONFIG_FILES ext/dvdread/Makefile" ;;
28801    "ext/mpeg2dec/Makefile") CONFIG_FILES="$CONFIG_FILES ext/mpeg2dec/Makefile" ;;
28802    "ext/sidplay/Makefile") CONFIG_FILES="$CONFIG_FILES ext/sidplay/Makefile" ;;
28803    "ext/x264/Makefile") CONFIG_FILES="$CONFIG_FILES ext/x264/Makefile" ;;
28804    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
28805    "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
28806    "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
28807    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
28808    "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
28809    "tests/files/Makefile") CONFIG_FILES="$CONFIG_FILES tests/files/Makefile" ;;
28810    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
28811    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
28812    "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
28813    "pkgconfig/gstreamer-plugins-ugly-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-ugly-uninstalled.pc" ;;
28814
28815  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28816  esac
28817done
28818
28819
28820# If the user did not use the arguments to specify the items to instantiate,
28821# then the envvar interface is used.  Set only those that are not.
28822# We use the long form for the default assignment because of an extremely
28823# bizarre bug on SunOS 4.1.3.
28824if $ac_need_defaults; then
28825  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28826  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28827  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28828fi
28829
28830# Have a temporary directory for convenience.  Make it in the build tree
28831# simply because there is no reason against having it here, and in addition,
28832# creating and moving files from /tmp can sometimes cause problems.
28833# Hook for its removal unless debugging.
28834# Note that there is a small window in which the directory will not be cleaned:
28835# after its creation but before its name has been assigned to `$tmp'.
28836$debug ||
28837{
28838  tmp= ac_tmp=
28839  trap 'exit_status=$?
28840  : "${ac_tmp:=$tmp}"
28841  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28842' 0
28843  trap 'as_fn_exit 1' 1 2 13 15
28844}
28845# Create a (secure) tmp directory for tmp files.
28846
28847{
28848  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28849  test -d "$tmp"
28850}  ||
28851{
28852  tmp=./conf$$-$RANDOM
28853  (umask 077 && mkdir "$tmp")
28854} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
28855ac_tmp=$tmp
28856
28857# Set up the scripts for CONFIG_FILES section.
28858# No need to generate them if there are no CONFIG_FILES.
28859# This happens for instance with `./config.status config.h'.
28860if test -n "$CONFIG_FILES"; then
28861
28862
28863ac_cr=`echo X | tr X '\015'`
28864# On cygwin, bash can eat \r inside `` if the user requested igncr.
28865# But we know of no other shell where ac_cr would be empty at this
28866# point, so we can use a bashism as a fallback.
28867if test "x$ac_cr" = x; then
28868  eval ac_cr=\$\'\\r\'
28869fi
28870ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28871if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28872  ac_cs_awk_cr='\\r'
28873else
28874  ac_cs_awk_cr=$ac_cr
28875fi
28876
28877echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28878_ACEOF
28879
28880
28881{
28882  echo "cat >conf$$subs.awk <<_ACEOF" &&
28883  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28884  echo "_ACEOF"
28885} >conf$$subs.sh ||
28886  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28887ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28888ac_delim='%!_!# '
28889for ac_last_try in false false false false false :; do
28890  . ./conf$$subs.sh ||
28891    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28892
28893  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
28894  if test $ac_delim_n = $ac_delim_num; then
28895    break
28896  elif $ac_last_try; then
28897    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28898  else
28899    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28900  fi
28901done
28902rm -f conf$$subs.sh
28903
28904cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28905cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
28906_ACEOF
28907sed -n '
28908h
28909s/^/S["/; s/!.*/"]=/
28910p
28911g
28912s/^[^!]*!//
28913:repl
28914t repl
28915s/'"$ac_delim"'$//
28916t delim
28917:nl
28918h
28919s/\(.\{148\}\)..*/\1/
28920t more1
28921s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
28922p
28923n
28924b repl
28925:more1
28926s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28927p
28928g
28929s/.\{148\}//
28930t nl
28931:delim
28932h
28933s/\(.\{148\}\)..*/\1/
28934t more2
28935s/["\\]/\\&/g; s/^/"/; s/$/"/
28936p
28937b
28938:more2
28939s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28940p
28941g
28942s/.\{148\}//
28943t delim
28944' <conf$$subs.awk | sed '
28945/^[^""]/{
28946  N
28947  s/\n//
28948}
28949' >>$CONFIG_STATUS || ac_write_fail=1
28950rm -f conf$$subs.awk
28951cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28952_ACAWK
28953cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
28954  for (key in S) S_is_set[key] = 1
28955  FS = ""
28956
28957}
28958{
28959  line = $ 0
28960  nfields = split(line, field, "@")
28961  substed = 0
28962  len = length(field[1])
28963  for (i = 2; i < nfields; i++) {
28964    key = field[i]
28965    keylen = length(key)
28966    if (S_is_set[key]) {
28967      value = S[key]
28968      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28969      len += length(value) + length(field[++i])
28970      substed = 1
28971    } else
28972      len += 1 + keylen
28973  }
28974
28975  print line
28976}
28977
28978_ACAWK
28979_ACEOF
28980cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28981if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28982  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
28983else
28984  cat
28985fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
28986  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
28987_ACEOF
28988
28989# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28990# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
28991# trailing colons and then remove the whole line if VPATH becomes empty
28992# (actually we leave an empty line to preserve line numbers).
28993if test "x$srcdir" = x.; then
28994  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
28995h
28996s///
28997s/^/:/
28998s/[	 ]*$/:/
28999s/:\$(srcdir):/:/g
29000s/:\${srcdir}:/:/g
29001s/:@srcdir@:/:/g
29002s/^:*//
29003s/:*$//
29004x
29005s/\(=[	 ]*\).*/\1/
29006G
29007s/\n//
29008s/^[^=]*=[	 ]*$//
29009}'
29010fi
29011
29012cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29013fi # test -n "$CONFIG_FILES"
29014
29015# Set up the scripts for CONFIG_HEADERS section.
29016# No need to generate them if there are no CONFIG_HEADERS.
29017# This happens for instance with `./config.status Makefile'.
29018if test -n "$CONFIG_HEADERS"; then
29019cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
29020BEGIN {
29021_ACEOF
29022
29023# Transform confdefs.h into an awk script `defines.awk', embedded as
29024# here-document in config.status, that substitutes the proper values into
29025# config.h.in to produce config.h.
29026
29027# Create a delimiter string that does not exist in confdefs.h, to ease
29028# handling of long lines.
29029ac_delim='%!_!# '
29030for ac_last_try in false false :; do
29031  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
29032  if test -z "$ac_tt"; then
29033    break
29034  elif $ac_last_try; then
29035    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
29036  else
29037    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29038  fi
29039done
29040
29041# For the awk script, D is an array of macro values keyed by name,
29042# likewise P contains macro parameters if any.  Preserve backslash
29043# newline sequences.
29044
29045ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
29046sed -n '
29047s/.\{148\}/&'"$ac_delim"'/g
29048t rset
29049:rset
29050s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
29051t def
29052d
29053:def
29054s/\\$//
29055t bsnl
29056s/["\\]/\\&/g
29057s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
29058D["\1"]=" \3"/p
29059s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
29060d
29061:bsnl
29062s/["\\]/\\&/g
29063s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
29064D["\1"]=" \3\\\\\\n"\\/p
29065t cont
29066s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
29067t cont
29068d
29069:cont
29070n
29071s/.\{148\}/&'"$ac_delim"'/g
29072t clear
29073:clear
29074s/\\$//
29075t bsnlc
29076s/["\\]/\\&/g; s/^/"/; s/$/"/p
29077d
29078:bsnlc
29079s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
29080b cont
29081' <confdefs.h | sed '
29082s/'"$ac_delim"'/"\\\
29083"/g' >>$CONFIG_STATUS || ac_write_fail=1
29084
29085cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29086  for (key in D) D_is_set[key] = 1
29087  FS = ""
29088}
29089/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
29090  line = \$ 0
29091  split(line, arg, " ")
29092  if (arg[1] == "#") {
29093    defundef = arg[2]
29094    mac1 = arg[3]
29095  } else {
29096    defundef = substr(arg[1], 2)
29097    mac1 = arg[2]
29098  }
29099  split(mac1, mac2, "(") #)
29100  macro = mac2[1]
29101  prefix = substr(line, 1, index(line, defundef) - 1)
29102  if (D_is_set[macro]) {
29103    # Preserve the white space surrounding the "#".
29104    print prefix "define", macro P[macro] D[macro]
29105    next
29106  } else {
29107    # Replace #undef with comments.  This is necessary, for example,
29108    # in the case of _POSIX_SOURCE, which is predefined and required
29109    # on some systems where configure will not decide to define it.
29110    if (defundef == "undef") {
29111      print "/*", prefix defundef, macro, "*/"
29112      next
29113    }
29114  }
29115}
29116{ print }
29117_ACAWK
29118_ACEOF
29119cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29120  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
29121fi # test -n "$CONFIG_HEADERS"
29122
29123
29124eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
29125shift
29126for ac_tag
29127do
29128  case $ac_tag in
29129  :[FHLC]) ac_mode=$ac_tag; continue;;
29130  esac
29131  case $ac_mode$ac_tag in
29132  :[FHL]*:*);;
29133  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
29134  :[FH]-) ac_tag=-:-;;
29135  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
29136  esac
29137  ac_save_IFS=$IFS
29138  IFS=:
29139  set x $ac_tag
29140  IFS=$ac_save_IFS
29141  shift
29142  ac_file=$1
29143  shift
29144
29145  case $ac_mode in
29146  :L) ac_source=$1;;
29147  :[FH])
29148    ac_file_inputs=
29149    for ac_f
29150    do
29151      case $ac_f in
29152      -) ac_f="$ac_tmp/stdin";;
29153      *) # Look for the file first in the build tree, then in the source tree
29154	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
29155	 # because $ac_f cannot contain `:'.
29156	 test -f "$ac_f" ||
29157	   case $ac_f in
29158	   [\\/$]*) false;;
29159	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29160	   esac ||
29161	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
29162      esac
29163      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
29164      as_fn_append ac_file_inputs " '$ac_f'"
29165    done
29166
29167    # Let's still pretend it is `configure' which instantiates (i.e., don't
29168    # use $as_me), people would be surprised to read:
29169    #    /* config.h.  Generated by config.status.  */
29170    configure_input='Generated from '`
29171	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
29172	`' by configure.'
29173    if test x"$ac_file" != x-; then
29174      configure_input="$ac_file.  $configure_input"
29175      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
29176$as_echo "$as_me: creating $ac_file" >&6;}
29177    fi
29178    # Neutralize special characters interpreted by sed in replacement strings.
29179    case $configure_input in #(
29180    *\&* | *\|* | *\\* )
29181       ac_sed_conf_input=`$as_echo "$configure_input" |
29182       sed 's/[\\\\&|]/\\\\&/g'`;; #(
29183    *) ac_sed_conf_input=$configure_input;;
29184    esac
29185
29186    case $ac_tag in
29187    *:-:* | *:-) cat >"$ac_tmp/stdin" \
29188      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
29189    esac
29190    ;;
29191  esac
29192
29193  ac_dir=`$as_dirname -- "$ac_file" ||
29194$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29195	 X"$ac_file" : 'X\(//\)[^/]' \| \
29196	 X"$ac_file" : 'X\(//\)$' \| \
29197	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29198$as_echo X"$ac_file" |
29199    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29200	    s//\1/
29201	    q
29202	  }
29203	  /^X\(\/\/\)[^/].*/{
29204	    s//\1/
29205	    q
29206	  }
29207	  /^X\(\/\/\)$/{
29208	    s//\1/
29209	    q
29210	  }
29211	  /^X\(\/\).*/{
29212	    s//\1/
29213	    q
29214	  }
29215	  s/.*/./; q'`
29216  as_dir="$ac_dir"; as_fn_mkdir_p
29217  ac_builddir=.
29218
29219case "$ac_dir" in
29220.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
29221*)
29222  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
29223  # A ".." for each directory in $ac_dir_suffix.
29224  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
29225  case $ac_top_builddir_sub in
29226  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
29227  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
29228  esac ;;
29229esac
29230ac_abs_top_builddir=$ac_pwd
29231ac_abs_builddir=$ac_pwd$ac_dir_suffix
29232# for backward compatibility:
29233ac_top_builddir=$ac_top_build_prefix
29234
29235case $srcdir in
29236  .)  # We are building in place.
29237    ac_srcdir=.
29238    ac_top_srcdir=$ac_top_builddir_sub
29239    ac_abs_top_srcdir=$ac_pwd ;;
29240  [\\/]* | ?:[\\/]* )  # Absolute name.
29241    ac_srcdir=$srcdir$ac_dir_suffix;
29242    ac_top_srcdir=$srcdir
29243    ac_abs_top_srcdir=$srcdir ;;
29244  *) # Relative name.
29245    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
29246    ac_top_srcdir=$ac_top_build_prefix$srcdir
29247    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
29248esac
29249ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
29250
29251
29252  case $ac_mode in
29253  :F)
29254  #
29255  # CONFIG_FILE
29256  #
29257
29258  case $INSTALL in
29259  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
29260  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
29261  esac
29262  ac_MKDIR_P=$MKDIR_P
29263  case $MKDIR_P in
29264  [\\/$]* | ?:[\\/]* ) ;;
29265  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
29266  esac
29267_ACEOF
29268
29269cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29270# If the template does not know about datarootdir, expand it.
29271# FIXME: This hack should be removed a few years after 2.60.
29272ac_datarootdir_hack=; ac_datarootdir_seen=
29273ac_sed_dataroot='
29274/datarootdir/ {
29275  p
29276  q
29277}
29278/@datadir@/p
29279/@docdir@/p
29280/@infodir@/p
29281/@localedir@/p
29282/@mandir@/p'
29283case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
29284*datarootdir*) ac_datarootdir_seen=yes;;
29285*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
29286  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
29287$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
29288_ACEOF
29289cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29290  ac_datarootdir_hack='
29291  s&@datadir@&$datadir&g
29292  s&@docdir@&$docdir&g
29293  s&@infodir@&$infodir&g
29294  s&@localedir@&$localedir&g
29295  s&@mandir@&$mandir&g
29296  s&\\\${datarootdir}&$datarootdir&g' ;;
29297esac
29298_ACEOF
29299
29300# Neutralize VPATH when `$srcdir' = `.'.
29301# Shell code in configure.ac might set extrasub.
29302# FIXME: do we really want to maintain this feature?
29303cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29304ac_sed_extra="$ac_vpsub
29305$extrasub
29306_ACEOF
29307cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29308:t
29309/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29310s|@configure_input@|$ac_sed_conf_input|;t t
29311s&@top_builddir@&$ac_top_builddir_sub&;t t
29312s&@top_build_prefix@&$ac_top_build_prefix&;t t
29313s&@srcdir@&$ac_srcdir&;t t
29314s&@abs_srcdir@&$ac_abs_srcdir&;t t
29315s&@top_srcdir@&$ac_top_srcdir&;t t
29316s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
29317s&@builddir@&$ac_builddir&;t t
29318s&@abs_builddir@&$ac_abs_builddir&;t t
29319s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
29320s&@INSTALL@&$ac_INSTALL&;t t
29321s&@MKDIR_P@&$ac_MKDIR_P&;t t
29322$ac_datarootdir_hack
29323"
29324eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
29325  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29326
29327test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
29328  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
29329  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
29330      "$ac_tmp/out"`; test -z "$ac_out"; } &&
29331  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29332which seems to be undefined.  Please make sure it is defined" >&5
29333$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29334which seems to be undefined.  Please make sure it is defined" >&2;}
29335
29336  rm -f "$ac_tmp/stdin"
29337  case $ac_file in
29338  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
29339  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
29340  esac \
29341  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29342 ;;
29343  :H)
29344  #
29345  # CONFIG_HEADER
29346  #
29347  if test x"$ac_file" != x-; then
29348    {
29349      $as_echo "/* $configure_input  */" \
29350      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
29351    } >"$ac_tmp/config.h" \
29352      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29353    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
29354      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
29355$as_echo "$as_me: $ac_file is unchanged" >&6;}
29356    else
29357      rm -f "$ac_file"
29358      mv "$ac_tmp/config.h" "$ac_file" \
29359	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
29360    fi
29361  else
29362    $as_echo "/* $configure_input  */" \
29363      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
29364      || as_fn_error $? "could not create -" "$LINENO" 5
29365  fi
29366# Compute "$ac_file"'s index in $config_headers.
29367_am_arg="$ac_file"
29368_am_stamp_count=1
29369for _am_header in $config_headers :; do
29370  case $_am_header in
29371    $_am_arg | $_am_arg:* )
29372      break ;;
29373    * )
29374      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
29375  esac
29376done
29377echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
29378$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29379	 X"$_am_arg" : 'X\(//\)[^/]' \| \
29380	 X"$_am_arg" : 'X\(//\)$' \| \
29381	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
29382$as_echo X"$_am_arg" |
29383    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29384	    s//\1/
29385	    q
29386	  }
29387	  /^X\(\/\/\)[^/].*/{
29388	    s//\1/
29389	    q
29390	  }
29391	  /^X\(\/\/\)$/{
29392	    s//\1/
29393	    q
29394	  }
29395	  /^X\(\/\).*/{
29396	    s//\1/
29397	    q
29398	  }
29399	  s/.*/./; q'`/stamp-h$_am_stamp_count
29400 ;;
29401
29402  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
29403$as_echo "$as_me: executing $ac_file commands" >&6;}
29404 ;;
29405  esac
29406
29407
29408  case $ac_file$ac_mode in
29409    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
29410  # Older Autoconf quotes --file arguments for eval, but not when files
29411  # are listed without --file.  Let's play safe and only enable the eval
29412  # if we detect the quoting.
29413  # TODO: see whether this extra hack can be removed once we start
29414  # requiring Autoconf 2.70 or later.
29415  case $CONFIG_FILES in #(
29416  *\'*) :
29417    eval set x "$CONFIG_FILES" ;; #(
29418  *) :
29419    set x $CONFIG_FILES ;; #(
29420  *) :
29421     ;;
29422esac
29423  shift
29424  # Used to flag and report bootstrapping failures.
29425  am_rc=0
29426  for am_mf
29427  do
29428    # Strip MF so we end up with the name of the file.
29429    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
29430    # Check whether this is an Automake generated Makefile which includes
29431    # dependency-tracking related rules and includes.
29432    # Grep'ing the whole file directly is not great: AIX grep has a line
29433    # limit of 2048, but all sed's we know have understand at least 4000.
29434    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
29435      || continue
29436    am_dirpart=`$as_dirname -- "$am_mf" ||
29437$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29438	 X"$am_mf" : 'X\(//\)[^/]' \| \
29439	 X"$am_mf" : 'X\(//\)$' \| \
29440	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
29441$as_echo X"$am_mf" |
29442    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29443	    s//\1/
29444	    q
29445	  }
29446	  /^X\(\/\/\)[^/].*/{
29447	    s//\1/
29448	    q
29449	  }
29450	  /^X\(\/\/\)$/{
29451	    s//\1/
29452	    q
29453	  }
29454	  /^X\(\/\).*/{
29455	    s//\1/
29456	    q
29457	  }
29458	  s/.*/./; q'`
29459    am_filepart=`$as_basename -- "$am_mf" ||
29460$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
29461	 X"$am_mf" : 'X\(//\)$' \| \
29462	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
29463$as_echo X/"$am_mf" |
29464    sed '/^.*\/\([^/][^/]*\)\/*$/{
29465	    s//\1/
29466	    q
29467	  }
29468	  /^X\/\(\/\/\)$/{
29469	    s//\1/
29470	    q
29471	  }
29472	  /^X\/\(\/\).*/{
29473	    s//\1/
29474	    q
29475	  }
29476	  s/.*/./; q'`
29477    { echo "$as_me:$LINENO: cd "$am_dirpart" \
29478      && sed -e '/# am--include-marker/d' "$am_filepart" \
29479        | $MAKE -f - am--depfiles" >&5
29480   (cd "$am_dirpart" \
29481      && sed -e '/# am--include-marker/d' "$am_filepart" \
29482        | $MAKE -f - am--depfiles) >&5 2>&5
29483   ac_status=$?
29484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485   (exit $ac_status); } || am_rc=$?
29486  done
29487  if test $am_rc -ne 0; then
29488    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29489$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29490as_fn_error $? "Something went wrong bootstrapping makefile fragments
29491    for automatic dependency tracking.  Try re-running configure with the
29492    '--disable-dependency-tracking' option to at least be able to build
29493    the package (albeit without support for automatic dependency tracking).
29494See \`config.log' for more details" "$LINENO" 5; }
29495  fi
29496  { am_dirpart=; unset am_dirpart;}
29497  { am_filepart=; unset am_filepart;}
29498  { am_mf=; unset am_mf;}
29499  { am_rc=; unset am_rc;}
29500  rm -f conftest-deps.mk
29501}
29502 ;;
29503    "libtool":C)
29504
29505    # See if we are running on zsh, and set the options that allow our
29506    # commands through without removal of \ escapes.
29507    if test -n "${ZSH_VERSION+set}"; then
29508      setopt NO_GLOB_SUBST
29509    fi
29510
29511    cfgfile=${ofile}T
29512    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
29513    $RM "$cfgfile"
29514
29515    cat <<_LT_EOF >> "$cfgfile"
29516#! $SHELL
29517# Generated automatically by $as_me ($PACKAGE) $VERSION
29518# NOTE: Changes made to this file will be lost: look at ltmain.sh.
29519
29520# Provide generalized library-building support services.
29521# Written by Gordon Matzigkeit, 1996
29522
29523# Copyright (C) 2014 Free Software Foundation, Inc.
29524# This is free software; see the source for copying conditions.  There is NO
29525# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
29526
29527# GNU Libtool is free software; you can redistribute it and/or modify
29528# it under the terms of the GNU General Public License as published by
29529# the Free Software Foundation; either version 2 of of the License, or
29530# (at your option) any later version.
29531#
29532# As a special exception to the GNU General Public License, if you
29533# distribute this file as part of a program or library that is built
29534# using GNU Libtool, you may include this file under the  same
29535# distribution terms that you use for the rest of that program.
29536#
29537# GNU Libtool is distributed in the hope that it will be useful, but
29538# WITHOUT ANY WARRANTY; without even the implied warranty of
29539# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
29540# GNU General Public License for more details.
29541#
29542# You should have received a copy of the GNU General Public License
29543# along with this program.  If not, see <http://www.gnu.org/licenses/>.
29544
29545
29546# The names of the tagged configurations supported by this script.
29547available_tags='CXX '
29548
29549# Configured defaults for sys_lib_dlsearch_path munging.
29550: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
29551
29552# ### BEGIN LIBTOOL CONFIG
29553
29554# Which release of libtool.m4 was used?
29555macro_version=$macro_version
29556macro_revision=$macro_revision
29557
29558# Assembler program.
29559AS=$lt_AS
29560
29561# DLL creation program.
29562DLLTOOL=$lt_DLLTOOL
29563
29564# Object dumper program.
29565OBJDUMP=$lt_OBJDUMP
29566
29567# Whether or not to build static libraries.
29568build_old_libs=$enable_static
29569
29570# Whether or not to build shared libraries.
29571build_libtool_libs=$enable_shared
29572
29573# What type of objects to build.
29574pic_mode=$pic_mode
29575
29576# Whether or not to optimize for fast installation.
29577fast_install=$enable_fast_install
29578
29579# Shared archive member basename,for filename based shared library versioning on AIX.
29580shared_archive_member_spec=$shared_archive_member_spec
29581
29582# Shell to use when invoking shell scripts.
29583SHELL=$lt_SHELL
29584
29585# An echo program that protects backslashes.
29586ECHO=$lt_ECHO
29587
29588# The PATH separator for the build system.
29589PATH_SEPARATOR=$lt_PATH_SEPARATOR
29590
29591# The host system.
29592host_alias=$host_alias
29593host=$host
29594host_os=$host_os
29595
29596# The build system.
29597build_alias=$build_alias
29598build=$build
29599build_os=$build_os
29600
29601# A sed program that does not truncate output.
29602SED=$lt_SED
29603
29604# Sed that helps us avoid accidentally triggering echo(1) options like -n.
29605Xsed="\$SED -e 1s/^X//"
29606
29607# A grep program that handles long lines.
29608GREP=$lt_GREP
29609
29610# An ERE matcher.
29611EGREP=$lt_EGREP
29612
29613# A literal string matcher.
29614FGREP=$lt_FGREP
29615
29616# A BSD- or MS-compatible name lister.
29617NM=$lt_NM
29618
29619# Whether we need soft or hard links.
29620LN_S=$lt_LN_S
29621
29622# What is the maximum length of a command?
29623max_cmd_len=$max_cmd_len
29624
29625# Object file suffix (normally "o").
29626objext=$ac_objext
29627
29628# Executable file suffix (normally "").
29629exeext=$exeext
29630
29631# whether the shell understands "unset".
29632lt_unset=$lt_unset
29633
29634# turn spaces into newlines.
29635SP2NL=$lt_lt_SP2NL
29636
29637# turn newlines into spaces.
29638NL2SP=$lt_lt_NL2SP
29639
29640# convert \$build file names to \$host format.
29641to_host_file_cmd=$lt_cv_to_host_file_cmd
29642
29643# convert \$build files to toolchain format.
29644to_tool_file_cmd=$lt_cv_to_tool_file_cmd
29645
29646# Method to check whether dependent libraries are shared objects.
29647deplibs_check_method=$lt_deplibs_check_method
29648
29649# Command to use when deplibs_check_method = "file_magic".
29650file_magic_cmd=$lt_file_magic_cmd
29651
29652# How to find potential files when deplibs_check_method = "file_magic".
29653file_magic_glob=$lt_file_magic_glob
29654
29655# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
29656want_nocaseglob=$lt_want_nocaseglob
29657
29658# Command to associate shared and link libraries.
29659sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
29660
29661# The archiver.
29662AR=$lt_AR
29663
29664# Flags to create an archive.
29665AR_FLAGS=$lt_AR_FLAGS
29666
29667# How to feed a file listing to the archiver.
29668archiver_list_spec=$lt_archiver_list_spec
29669
29670# A symbol stripping program.
29671STRIP=$lt_STRIP
29672
29673# Commands used to install an old-style archive.
29674RANLIB=$lt_RANLIB
29675old_postinstall_cmds=$lt_old_postinstall_cmds
29676old_postuninstall_cmds=$lt_old_postuninstall_cmds
29677
29678# Whether to use a lock for old archive extraction.
29679lock_old_archive_extraction=$lock_old_archive_extraction
29680
29681# A C compiler.
29682LTCC=$lt_CC
29683
29684# LTCC compiler flags.
29685LTCFLAGS=$lt_CFLAGS
29686
29687# Take the output of nm and produce a listing of raw symbols and C names.
29688global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
29689
29690# Transform the output of nm in a proper C declaration.
29691global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
29692
29693# Transform the output of nm into a list of symbols to manually relocate.
29694global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
29695
29696# Transform the output of nm in a C name address pair.
29697global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
29698
29699# Transform the output of nm in a C name address pair when lib prefix is needed.
29700global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
29701
29702# The name lister interface.
29703nm_interface=$lt_lt_cv_nm_interface
29704
29705# Specify filename containing input files for \$NM.
29706nm_file_list_spec=$lt_nm_file_list_spec
29707
29708# The root where to search for dependent libraries,and where our libraries should be installed.
29709lt_sysroot=$lt_sysroot
29710
29711# Command to truncate a binary pipe.
29712lt_truncate_bin=$lt_lt_cv_truncate_bin
29713
29714# The name of the directory that contains temporary libtool files.
29715objdir=$objdir
29716
29717# Used to examine libraries when file_magic_cmd begins with "file".
29718MAGIC_CMD=$MAGIC_CMD
29719
29720# Must we lock files when doing compilation?
29721need_locks=$lt_need_locks
29722
29723# Manifest tool.
29724MANIFEST_TOOL=$lt_MANIFEST_TOOL
29725
29726# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
29727DSYMUTIL=$lt_DSYMUTIL
29728
29729# Tool to change global to local symbols on Mac OS X.
29730NMEDIT=$lt_NMEDIT
29731
29732# Tool to manipulate fat objects and archives on Mac OS X.
29733LIPO=$lt_LIPO
29734
29735# ldd/readelf like tool for Mach-O binaries on Mac OS X.
29736OTOOL=$lt_OTOOL
29737
29738# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
29739OTOOL64=$lt_OTOOL64
29740
29741# Old archive suffix (normally "a").
29742libext=$libext
29743
29744# Shared library suffix (normally ".so").
29745shrext_cmds=$lt_shrext_cmds
29746
29747# The commands to extract the exported symbol list from a shared archive.
29748extract_expsyms_cmds=$lt_extract_expsyms_cmds
29749
29750# Variables whose values should be saved in libtool wrapper scripts and
29751# restored at link time.
29752variables_saved_for_relink=$lt_variables_saved_for_relink
29753
29754# Do we need the "lib" prefix for modules?
29755need_lib_prefix=$need_lib_prefix
29756
29757# Do we need a version for libraries?
29758need_version=$need_version
29759
29760# Library versioning type.
29761version_type=$version_type
29762
29763# Shared library runtime path variable.
29764runpath_var=$runpath_var
29765
29766# Shared library path variable.
29767shlibpath_var=$shlibpath_var
29768
29769# Is shlibpath searched before the hard-coded library search path?
29770shlibpath_overrides_runpath=$shlibpath_overrides_runpath
29771
29772# Format of library name prefix.
29773libname_spec=$lt_libname_spec
29774
29775# List of archive names.  First name is the real one, the rest are links.
29776# The last name is the one that the linker finds with -lNAME
29777library_names_spec=$lt_library_names_spec
29778
29779# The coded name of the library, if different from the real name.
29780soname_spec=$lt_soname_spec
29781
29782# Permission mode override for installation of shared libraries.
29783install_override_mode=$lt_install_override_mode
29784
29785# Command to use after installation of a shared archive.
29786postinstall_cmds=$lt_postinstall_cmds
29787
29788# Command to use after uninstallation of a shared archive.
29789postuninstall_cmds=$lt_postuninstall_cmds
29790
29791# Commands used to finish a libtool library installation in a directory.
29792finish_cmds=$lt_finish_cmds
29793
29794# As "finish_cmds", except a single script fragment to be evaled but
29795# not shown.
29796finish_eval=$lt_finish_eval
29797
29798# Whether we should hardcode library paths into libraries.
29799hardcode_into_libs=$hardcode_into_libs
29800
29801# Compile-time system search path for libraries.
29802sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29803
29804# Detected run-time system search path for libraries.
29805sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
29806
29807# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
29808configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
29809
29810# Whether dlopen is supported.
29811dlopen_support=$enable_dlopen
29812
29813# Whether dlopen of programs is supported.
29814dlopen_self=$enable_dlopen_self
29815
29816# Whether dlopen of statically linked programs is supported.
29817dlopen_self_static=$enable_dlopen_self_static
29818
29819# Commands to strip libraries.
29820old_striplib=$lt_old_striplib
29821striplib=$lt_striplib
29822
29823
29824# The linker used to build libraries.
29825LD=$lt_LD
29826
29827# How to create reloadable object files.
29828reload_flag=$lt_reload_flag
29829reload_cmds=$lt_reload_cmds
29830
29831# Commands used to build an old-style archive.
29832old_archive_cmds=$lt_old_archive_cmds
29833
29834# A language specific compiler.
29835CC=$lt_compiler
29836
29837# Is the compiler the GNU compiler?
29838with_gcc=$GCC
29839
29840# Compiler flag to turn off builtin functions.
29841no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29842
29843# Additional compiler flags for building library objects.
29844pic_flag=$lt_lt_prog_compiler_pic
29845
29846# How to pass a linker flag through the compiler.
29847wl=$lt_lt_prog_compiler_wl
29848
29849# Compiler flag to prevent dynamic linking.
29850link_static_flag=$lt_lt_prog_compiler_static
29851
29852# Does compiler simultaneously support -c and -o options?
29853compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29854
29855# Whether or not to add -lc for building shared libraries.
29856build_libtool_need_lc=$archive_cmds_need_lc
29857
29858# Whether or not to disallow shared libs when runtime libs are static.
29859allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29860
29861# Compiler flag to allow reflexive dlopens.
29862export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29863
29864# Compiler flag to generate shared objects directly from archives.
29865whole_archive_flag_spec=$lt_whole_archive_flag_spec
29866
29867# Whether the compiler copes with passing no objects directly.
29868compiler_needs_object=$lt_compiler_needs_object
29869
29870# Create an old-style archive from a shared archive.
29871old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29872
29873# Create a temporary old-style archive to link instead of a shared archive.
29874old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29875
29876# Commands used to build a shared archive.
29877archive_cmds=$lt_archive_cmds
29878archive_expsym_cmds=$lt_archive_expsym_cmds
29879
29880# Commands used to build a loadable module if different from building
29881# a shared archive.
29882module_cmds=$lt_module_cmds
29883module_expsym_cmds=$lt_module_expsym_cmds
29884
29885# Whether we are building with GNU ld or not.
29886with_gnu_ld=$lt_with_gnu_ld
29887
29888# Flag that allows shared libraries with undefined symbols to be built.
29889allow_undefined_flag=$lt_allow_undefined_flag
29890
29891# Flag that enforces no undefined symbols.
29892no_undefined_flag=$lt_no_undefined_flag
29893
29894# Flag to hardcode \$libdir into a binary during linking.
29895# This must work even if \$libdir does not exist
29896hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29897
29898# Whether we need a single "-rpath" flag with a separated argument.
29899hardcode_libdir_separator=$lt_hardcode_libdir_separator
29900
29901# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
29902# DIR into the resulting binary.
29903hardcode_direct=$hardcode_direct
29904
29905# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
29906# DIR into the resulting binary and the resulting library dependency is
29907# "absolute",i.e impossible to change by setting \$shlibpath_var if the
29908# library is relocated.
29909hardcode_direct_absolute=$hardcode_direct_absolute
29910
29911# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29912# into the resulting binary.
29913hardcode_minus_L=$hardcode_minus_L
29914
29915# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29916# into the resulting binary.
29917hardcode_shlibpath_var=$hardcode_shlibpath_var
29918
29919# Set to "yes" if building a shared library automatically hardcodes DIR
29920# into the library and all subsequent libraries and executables linked
29921# against it.
29922hardcode_automatic=$hardcode_automatic
29923
29924# Set to yes if linker adds runtime paths of dependent libraries
29925# to runtime path list.
29926inherit_rpath=$inherit_rpath
29927
29928# Whether libtool must link a program against all its dependency libraries.
29929link_all_deplibs=$link_all_deplibs
29930
29931# Set to "yes" if exported symbols are required.
29932always_export_symbols=$always_export_symbols
29933
29934# The commands to list exported symbols.
29935export_symbols_cmds=$lt_export_symbols_cmds
29936
29937# Symbols that should not be listed in the preloaded symbols.
29938exclude_expsyms=$lt_exclude_expsyms
29939
29940# Symbols that must always be exported.
29941include_expsyms=$lt_include_expsyms
29942
29943# Commands necessary for linking programs (against libraries) with templates.
29944prelink_cmds=$lt_prelink_cmds
29945
29946# Commands necessary for finishing linking programs.
29947postlink_cmds=$lt_postlink_cmds
29948
29949# Specify filename containing input files.
29950file_list_spec=$lt_file_list_spec
29951
29952# How to hardcode a shared library path into an executable.
29953hardcode_action=$hardcode_action
29954
29955# The directories searched by this compiler when creating a shared library.
29956compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29957
29958# Dependencies to place before and after the objects being linked to
29959# create a shared library.
29960predep_objects=$lt_predep_objects
29961postdep_objects=$lt_postdep_objects
29962predeps=$lt_predeps
29963postdeps=$lt_postdeps
29964
29965# The library search path used internally by the compiler when linking
29966# a shared library.
29967compiler_lib_search_path=$lt_compiler_lib_search_path
29968
29969# ### END LIBTOOL CONFIG
29970
29971_LT_EOF
29972
29973    cat <<'_LT_EOF' >> "$cfgfile"
29974
29975# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
29976
29977# func_munge_path_list VARIABLE PATH
29978# -----------------------------------
29979# VARIABLE is name of variable containing _space_ separated list of
29980# directories to be munged by the contents of PATH, which is string
29981# having a format:
29982# "DIR[:DIR]:"
29983#       string "DIR[ DIR]" will be prepended to VARIABLE
29984# ":DIR[:DIR]"
29985#       string "DIR[ DIR]" will be appended to VARIABLE
29986# "DIRP[:DIRP]::[DIRA:]DIRA"
29987#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
29988#       "DIRA[ DIRA]" will be appended to VARIABLE
29989# "DIR[:DIR]"
29990#       VARIABLE will be replaced by "DIR[ DIR]"
29991func_munge_path_list ()
29992{
29993    case x$2 in
29994    x)
29995        ;;
29996    *:)
29997        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
29998        ;;
29999    x:*)
30000        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
30001        ;;
30002    *::*)
30003        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
30004        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
30005        ;;
30006    *)
30007        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
30008        ;;
30009    esac
30010}
30011
30012
30013# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
30014func_cc_basename ()
30015{
30016    for cc_temp in $*""; do
30017      case $cc_temp in
30018        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
30019        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
30020        \-*) ;;
30021        *) break;;
30022      esac
30023    done
30024    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
30025}
30026
30027
30028# ### END FUNCTIONS SHARED WITH CONFIGURE
30029
30030_LT_EOF
30031
30032  case $host_os in
30033  aix3*)
30034    cat <<\_LT_EOF >> "$cfgfile"
30035# AIX sometimes has problems with the GCC collect2 program.  For some
30036# reason, if we set the COLLECT_NAMES environment variable, the problems
30037# vanish in a puff of smoke.
30038if test set != "${COLLECT_NAMES+set}"; then
30039  COLLECT_NAMES=
30040  export COLLECT_NAMES
30041fi
30042_LT_EOF
30043    ;;
30044  esac
30045
30046
30047ltmain=$ac_aux_dir/ltmain.sh
30048
30049
30050  # We use sed instead of cat because bash on DJGPP gets confused if
30051  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
30052  # text mode, it properly converts lines to CR/LF.  This bash problem
30053  # is reportedly fixed, but why not run on old versions too?
30054  sed '$q' "$ltmain" >> "$cfgfile" \
30055     || (rm -f "$cfgfile"; exit 1)
30056
30057   mv -f "$cfgfile" "$ofile" ||
30058    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
30059  chmod +x "$ofile"
30060
30061
30062    cat <<_LT_EOF >> "$ofile"
30063
30064# ### BEGIN LIBTOOL TAG CONFIG: CXX
30065
30066# The linker used to build libraries.
30067LD=$lt_LD_CXX
30068
30069# How to create reloadable object files.
30070reload_flag=$lt_reload_flag_CXX
30071reload_cmds=$lt_reload_cmds_CXX
30072
30073# Commands used to build an old-style archive.
30074old_archive_cmds=$lt_old_archive_cmds_CXX
30075
30076# A language specific compiler.
30077CC=$lt_compiler_CXX
30078
30079# Is the compiler the GNU compiler?
30080with_gcc=$GCC_CXX
30081
30082# Compiler flag to turn off builtin functions.
30083no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
30084
30085# Additional compiler flags for building library objects.
30086pic_flag=$lt_lt_prog_compiler_pic_CXX
30087
30088# How to pass a linker flag through the compiler.
30089wl=$lt_lt_prog_compiler_wl_CXX
30090
30091# Compiler flag to prevent dynamic linking.
30092link_static_flag=$lt_lt_prog_compiler_static_CXX
30093
30094# Does compiler simultaneously support -c and -o options?
30095compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
30096
30097# Whether or not to add -lc for building shared libraries.
30098build_libtool_need_lc=$archive_cmds_need_lc_CXX
30099
30100# Whether or not to disallow shared libs when runtime libs are static.
30101allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
30102
30103# Compiler flag to allow reflexive dlopens.
30104export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
30105
30106# Compiler flag to generate shared objects directly from archives.
30107whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
30108
30109# Whether the compiler copes with passing no objects directly.
30110compiler_needs_object=$lt_compiler_needs_object_CXX
30111
30112# Create an old-style archive from a shared archive.
30113old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
30114
30115# Create a temporary old-style archive to link instead of a shared archive.
30116old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
30117
30118# Commands used to build a shared archive.
30119archive_cmds=$lt_archive_cmds_CXX
30120archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
30121
30122# Commands used to build a loadable module if different from building
30123# a shared archive.
30124module_cmds=$lt_module_cmds_CXX
30125module_expsym_cmds=$lt_module_expsym_cmds_CXX
30126
30127# Whether we are building with GNU ld or not.
30128with_gnu_ld=$lt_with_gnu_ld_CXX
30129
30130# Flag that allows shared libraries with undefined symbols to be built.
30131allow_undefined_flag=$lt_allow_undefined_flag_CXX
30132
30133# Flag that enforces no undefined symbols.
30134no_undefined_flag=$lt_no_undefined_flag_CXX
30135
30136# Flag to hardcode \$libdir into a binary during linking.
30137# This must work even if \$libdir does not exist
30138hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
30139
30140# Whether we need a single "-rpath" flag with a separated argument.
30141hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
30142
30143# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
30144# DIR into the resulting binary.
30145hardcode_direct=$hardcode_direct_CXX
30146
30147# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
30148# DIR into the resulting binary and the resulting library dependency is
30149# "absolute",i.e impossible to change by setting \$shlibpath_var if the
30150# library is relocated.
30151hardcode_direct_absolute=$hardcode_direct_absolute_CXX
30152
30153# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30154# into the resulting binary.
30155hardcode_minus_L=$hardcode_minus_L_CXX
30156
30157# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30158# into the resulting binary.
30159hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
30160
30161# Set to "yes" if building a shared library automatically hardcodes DIR
30162# into the library and all subsequent libraries and executables linked
30163# against it.
30164hardcode_automatic=$hardcode_automatic_CXX
30165
30166# Set to yes if linker adds runtime paths of dependent libraries
30167# to runtime path list.
30168inherit_rpath=$inherit_rpath_CXX
30169
30170# Whether libtool must link a program against all its dependency libraries.
30171link_all_deplibs=$link_all_deplibs_CXX
30172
30173# Set to "yes" if exported symbols are required.
30174always_export_symbols=$always_export_symbols_CXX
30175
30176# The commands to list exported symbols.
30177export_symbols_cmds=$lt_export_symbols_cmds_CXX
30178
30179# Symbols that should not be listed in the preloaded symbols.
30180exclude_expsyms=$lt_exclude_expsyms_CXX
30181
30182# Symbols that must always be exported.
30183include_expsyms=$lt_include_expsyms_CXX
30184
30185# Commands necessary for linking programs (against libraries) with templates.
30186prelink_cmds=$lt_prelink_cmds_CXX
30187
30188# Commands necessary for finishing linking programs.
30189postlink_cmds=$lt_postlink_cmds_CXX
30190
30191# Specify filename containing input files.
30192file_list_spec=$lt_file_list_spec_CXX
30193
30194# How to hardcode a shared library path into an executable.
30195hardcode_action=$hardcode_action_CXX
30196
30197# The directories searched by this compiler when creating a shared library.
30198compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
30199
30200# Dependencies to place before and after the objects being linked to
30201# create a shared library.
30202predep_objects=$lt_predep_objects_CXX
30203postdep_objects=$lt_postdep_objects_CXX
30204predeps=$lt_predeps_CXX
30205postdeps=$lt_postdeps_CXX
30206
30207# The library search path used internally by the compiler when linking
30208# a shared library.
30209compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
30210
30211# ### END LIBTOOL TAG CONFIG: CXX
30212_LT_EOF
30213
30214 ;;
30215    "po-directories":C)
30216    for ac_file in $CONFIG_FILES; do
30217      # Support "outfile[:infile[:infile...]]"
30218      case "$ac_file" in
30219        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
30220      esac
30221      # PO directories have a Makefile.in generated from Makefile.in.in.
30222      case "$ac_file" in */Makefile.in)
30223        # Adjust a relative srcdir.
30224        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
30225        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
30226        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
30227        # In autoconf-2.13 it is called $ac_given_srcdir.
30228        # In autoconf-2.50 it is called $srcdir.
30229        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
30230        case "$ac_given_srcdir" in
30231          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
30232          /*) top_srcdir="$ac_given_srcdir" ;;
30233          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
30234        esac
30235        # Treat a directory as a PO directory if and only if it has a
30236        # POTFILES.in file. This allows packages to have multiple PO
30237        # directories under different names or in different locations.
30238        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
30239          rm -f "$ac_dir/POTFILES"
30240          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
30241          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
30242          POMAKEFILEDEPS="POTFILES.in"
30243          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
30244          # on $ac_dir but don't depend on user-specified configuration
30245          # parameters.
30246          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
30247            # The LINGUAS file contains the set of available languages.
30248            if test -n "$OBSOLETE_ALL_LINGUAS"; then
30249              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
30250            fi
30251            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
30252            # Hide the ALL_LINGUAS assigment from automake < 1.5.
30253            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
30254            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
30255          else
30256            # The set of available languages was given in configure.in.
30257            # Hide the ALL_LINGUAS assigment from automake < 1.5.
30258            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
30259          fi
30260          # Compute POFILES
30261          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
30262          # Compute UPDATEPOFILES
30263          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
30264          # Compute DUMMYPOFILES
30265          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
30266          # Compute GMOFILES
30267          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
30268          case "$ac_given_srcdir" in
30269            .) srcdirpre= ;;
30270            *) srcdirpre='$(srcdir)/' ;;
30271          esac
30272          POFILES=
30273          UPDATEPOFILES=
30274          DUMMYPOFILES=
30275          GMOFILES=
30276          for lang in $ALL_LINGUAS; do
30277            POFILES="$POFILES $srcdirpre$lang.po"
30278            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
30279            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
30280            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
30281          done
30282          # CATALOGS depends on both $ac_dir and the user's LINGUAS
30283          # environment variable.
30284          INST_LINGUAS=
30285          if test -n "$ALL_LINGUAS"; then
30286            for presentlang in $ALL_LINGUAS; do
30287              useit=no
30288              if test "%UNSET%" != "$LINGUAS"; then
30289                desiredlanguages="$LINGUAS"
30290              else
30291                desiredlanguages="$ALL_LINGUAS"
30292              fi
30293              for desiredlang in $desiredlanguages; do
30294                # Use the presentlang catalog if desiredlang is
30295                #   a. equal to presentlang, or
30296                #   b. a variant of presentlang (because in this case,
30297                #      presentlang can be used as a fallback for messages
30298                #      which are not translated in the desiredlang catalog).
30299                case "$desiredlang" in
30300                  "$presentlang"*) useit=yes;;
30301                esac
30302              done
30303              if test $useit = yes; then
30304                INST_LINGUAS="$INST_LINGUAS $presentlang"
30305              fi
30306            done
30307          fi
30308          CATALOGS=
30309          if test -n "$INST_LINGUAS"; then
30310            for lang in $INST_LINGUAS; do
30311              CATALOGS="$CATALOGS $lang.gmo"
30312            done
30313          fi
30314          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
30315          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"
30316          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
30317            if test -f "$f"; then
30318              case "$f" in
30319                *.orig | *.bak | *~) ;;
30320                *) cat "$f" >> "$ac_dir/Makefile" ;;
30321              esac
30322            fi
30323          done
30324        fi
30325        ;;
30326      esac
30327    done ;;
30328    "$ac_stdint_h":C)
30329{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
30330$as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
30331ac_stdint=$tmp/_stdint.h
30332
30333echo "#ifndef" $_ac_stdint_h >$ac_stdint
30334echo "#define" $_ac_stdint_h "1" >>$ac_stdint
30335echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
30336echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
30337echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
30338if test "_$ac_cv_header_stdint_t" != "_" ; then
30339echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
30340echo "#include <stdint.h>" >>$ac_stdint
30341echo "#endif" >>$ac_stdint
30342echo "#endif" >>$ac_stdint
30343else
30344
30345cat >>$ac_stdint <<STDINT_EOF
30346
30347/* ................... shortcircuit part ........................... */
30348
30349#if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
30350#include <stdint.h>
30351#else
30352#include <stddef.h>
30353
30354/* .................... configured part ............................ */
30355
30356STDINT_EOF
30357
30358echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
30359if test "_$ac_cv_header_stdint_x" != "_" ; then
30360  ac_header="$ac_cv_header_stdint_x"
30361  echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
30362else
30363  echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
30364fi
30365
30366echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
30367if  test "_$ac_cv_header_stdint_o" != "_" ; then
30368  ac_header="$ac_cv_header_stdint_o"
30369  echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
30370else
30371  echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
30372fi
30373
30374echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
30375if  test "_$ac_cv_header_stdint_u" != "_" ; then
30376  ac_header="$ac_cv_header_stdint_u"
30377  echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
30378else
30379  echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
30380fi
30381
30382echo "" >>$ac_stdint
30383
30384if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
30385  echo "#include <$ac_header>" >>$ac_stdint
30386  echo "" >>$ac_stdint
30387fi fi
30388
30389echo "/* which 64bit typedef has been found */" >>$ac_stdint
30390if test "$ac_cv_type_uint64_t" = "yes" ; then
30391echo "#define   _STDINT_HAVE_UINT64_T" "1"  >>$ac_stdint
30392else
30393echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
30394fi
30395if test "$ac_cv_type_u_int64_t" = "yes" ; then
30396echo "#define   _STDINT_HAVE_U_INT64_T" "1"  >>$ac_stdint
30397else
30398echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
30399fi
30400echo "" >>$ac_stdint
30401
30402echo "/* which type model has been detected */" >>$ac_stdint
30403if test "_$ac_cv_char_data_model" != "_" ; then
30404echo "#define   _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
30405echo "#define   _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
30406else
30407echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
30408echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
30409fi
30410echo "" >>$ac_stdint
30411
30412echo "/* whether int_least types were detected */" >>$ac_stdint
30413if test "$ac_cv_type_int_least32_t" = "yes"; then
30414echo "#define   _STDINT_HAVE_INT_LEAST32_T" "1"  >>$ac_stdint
30415else
30416echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
30417fi
30418echo "/* whether int_fast types were detected */" >>$ac_stdint
30419if test "$ac_cv_type_int_fast32_t" = "yes"; then
30420echo "#define   _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
30421else
30422echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
30423fi
30424echo "/* whether intmax_t type was detected */" >>$ac_stdint
30425if test "$ac_cv_type_intmax_t" = "yes"; then
30426echo "#define   _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
30427else
30428echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
30429fi
30430echo "" >>$ac_stdint
30431
30432  cat >>$ac_stdint <<STDINT_EOF
30433/* .................... detections part ............................ */
30434
30435/* whether we need to define bitspecific types from compiler base types */
30436#ifndef _STDINT_HEADER_INTPTR
30437#ifndef _STDINT_HEADER_UINT32
30438#ifndef _STDINT_HEADER_U_INT32
30439#define _STDINT_NEED_INT_MODEL_T
30440#else
30441#define _STDINT_HAVE_U_INT_TYPES
30442#endif
30443#endif
30444#endif
30445
30446#ifdef _STDINT_HAVE_U_INT_TYPES
30447#undef _STDINT_NEED_INT_MODEL_T
30448#endif
30449
30450#ifdef  _STDINT_CHAR_MODEL
30451#if     _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
30452#ifndef _STDINT_BYTE_MODEL
30453#define _STDINT_BYTE_MODEL 12
30454#endif
30455#endif
30456#endif
30457
30458#ifndef _STDINT_HAVE_INT_LEAST32_T
30459#define _STDINT_NEED_INT_LEAST_T
30460#endif
30461
30462#ifndef _STDINT_HAVE_INT_FAST32_T
30463#define _STDINT_NEED_INT_FAST_T
30464#endif
30465
30466#ifndef _STDINT_HEADER_INTPTR
30467#define _STDINT_NEED_INTPTR_T
30468#ifndef _STDINT_HAVE_INTMAX_T
30469#define _STDINT_NEED_INTMAX_T
30470#endif
30471#endif
30472
30473
30474/* .................... definition part ............................ */
30475
30476/* some system headers have good uint64_t */
30477#ifndef _HAVE_UINT64_T
30478#if     defined _STDINT_HAVE_UINT64_T  || defined HAVE_UINT64_T
30479#define _HAVE_UINT64_T
30480#elif   defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
30481#define _HAVE_UINT64_T
30482typedef u_int64_t uint64_t;
30483#endif
30484#endif
30485
30486#ifndef _HAVE_UINT64_T
30487/* .. here are some common heuristics using compiler runtime specifics */
30488#if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
30489#define _HAVE_UINT64_T
30490#define _HAVE_LONGLONG_UINT64_T
30491typedef long long int64_t;
30492typedef unsigned long long uint64_t;
30493
30494#elif !defined __STRICT_ANSI__
30495#if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
30496#define _HAVE_UINT64_T
30497typedef __int64 int64_t;
30498typedef unsigned __int64 uint64_t;
30499
30500#elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
30501/* note: all ELF-systems seem to have loff-support which needs 64-bit */
30502#if !defined _NO_LONGLONG
30503#define _HAVE_UINT64_T
30504#define _HAVE_LONGLONG_UINT64_T
30505typedef long long int64_t;
30506typedef unsigned long long uint64_t;
30507#endif
30508
30509#elif defined __alpha || (defined __mips && defined _ABIN32)
30510#if !defined _NO_LONGLONG
30511typedef long int64_t;
30512typedef unsigned long uint64_t;
30513#endif
30514  /* compiler/cpu type to define int64_t */
30515#endif
30516#endif
30517#endif
30518
30519#if defined _STDINT_HAVE_U_INT_TYPES
30520/* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
30521typedef u_int8_t uint8_t;
30522typedef u_int16_t uint16_t;
30523typedef u_int32_t uint32_t;
30524
30525/* glibc compatibility */
30526#ifndef __int8_t_defined
30527#define __int8_t_defined
30528#endif
30529#endif
30530
30531#ifdef _STDINT_NEED_INT_MODEL_T
30532/* we must guess all the basic types. Apart from byte-adressable system, */
30533/* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
30534/* (btw, those nibble-addressable systems are way off, or so we assume) */
30535
30536
30537#if defined _STDINT_BYTE_MODEL
30538#if _STDINT_LONG_MODEL+0 == 242
30539/* 2:4:2 =  IP16 = a normal 16-bit system                */
30540typedef unsigned char   uint8_t;
30541typedef unsigned short  uint16_t;
30542typedef unsigned long   uint32_t;
30543#ifndef __int8_t_defined
30544#define __int8_t_defined
30545typedef          char    int8_t;
30546typedef          short   int16_t;
30547typedef          long    int32_t;
30548#endif
30549#elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
30550/* 2:4:4 =  LP32 = a 32-bit system derived from a 16-bit */
30551/* 4:4:4 = ILP32 = a normal 32-bit system                */
30552typedef unsigned char   uint8_t;
30553typedef unsigned short  uint16_t;
30554typedef unsigned int    uint32_t;
30555#ifndef __int8_t_defined
30556#define __int8_t_defined
30557typedef          char    int8_t;
30558typedef          short   int16_t;
30559typedef          int     int32_t;
30560#endif
30561#elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
30562/* 4:8:4 =  IP32 = a 32-bit system prepared for 64-bit    */
30563/* 4:8:8 =  LP64 = a normal 64-bit system                 */
30564typedef unsigned char   uint8_t;
30565typedef unsigned short  uint16_t;
30566typedef unsigned int    uint32_t;
30567#ifndef __int8_t_defined
30568#define __int8_t_defined
30569typedef          char    int8_t;
30570typedef          short   int16_t;
30571typedef          int     int32_t;
30572#endif
30573/* this system has a "long" of 64bit */
30574#ifndef _HAVE_UINT64_T
30575#define _HAVE_UINT64_T
30576typedef unsigned long   uint64_t;
30577typedef          long    int64_t;
30578#endif
30579#elif _STDINT_LONG_MODEL+0 == 448
30580/*      LLP64   a 64-bit system derived from a 32-bit system */
30581typedef unsigned char   uint8_t;
30582typedef unsigned short  uint16_t;
30583typedef unsigned int    uint32_t;
30584#ifndef __int8_t_defined
30585#define __int8_t_defined
30586typedef          char    int8_t;
30587typedef          short   int16_t;
30588typedef          int     int32_t;
30589#endif
30590/* assuming the system has a "long long" */
30591#ifndef _HAVE_UINT64_T
30592#define _HAVE_UINT64_T
30593#define _HAVE_LONGLONG_UINT64_T
30594typedef unsigned long long uint64_t;
30595typedef          long long  int64_t;
30596#endif
30597#else
30598#define _STDINT_NO_INT32_T
30599#endif
30600#else
30601#define _STDINT_NO_INT8_T
30602#define _STDINT_NO_INT32_T
30603#endif
30604#endif
30605
30606/*
30607 * quote from SunOS-5.8 sys/inttypes.h:
30608 * Use at your own risk.  As of February 1996, the committee is squarely
30609 * behind the fixed sized types; the "least" and "fast" types are still being
30610 * discussed.  The probability that the "fast" types may be removed before
30611 * the standard is finalized is high enough that they are not currently
30612 * implemented.
30613 */
30614
30615#if defined _STDINT_NEED_INT_LEAST_T
30616typedef  int8_t    int_least8_t;
30617typedef  int16_t   int_least16_t;
30618typedef  int32_t   int_least32_t;
30619#ifdef _HAVE_UINT64_T
30620typedef  int64_t   int_least64_t;
30621#endif
30622
30623typedef uint8_t   uint_least8_t;
30624typedef uint16_t  uint_least16_t;
30625typedef uint32_t  uint_least32_t;
30626#ifdef _HAVE_UINT64_T
30627typedef uint64_t  uint_least64_t;
30628#endif
30629  /* least types */
30630#endif
30631
30632#if defined _STDINT_NEED_INT_FAST_T
30633typedef  int8_t    int_fast8_t;
30634typedef  int       int_fast16_t;
30635typedef  int32_t   int_fast32_t;
30636#ifdef _HAVE_UINT64_T
30637typedef  int64_t   int_fast64_t;
30638#endif
30639
30640typedef uint8_t   uint_fast8_t;
30641typedef unsigned  uint_fast16_t;
30642typedef uint32_t  uint_fast32_t;
30643#ifdef _HAVE_UINT64_T
30644typedef uint64_t  uint_fast64_t;
30645#endif
30646  /* fast types */
30647#endif
30648
30649#ifdef _STDINT_NEED_INTMAX_T
30650#ifdef _HAVE_UINT64_T
30651typedef  int64_t       intmax_t;
30652typedef uint64_t      uintmax_t;
30653#else
30654typedef          long  intmax_t;
30655typedef unsigned long uintmax_t;
30656#endif
30657#endif
30658
30659#ifdef _STDINT_NEED_INTPTR_T
30660#ifndef __intptr_t_defined
30661#define __intptr_t_defined
30662/* we encourage using "long" to store pointer values, never use "int" ! */
30663#if   _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
30664typedef  unsigned int   uintptr_t;
30665typedef           int    intptr_t;
30666#elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
30667typedef  unsigned long  uintptr_t;
30668typedef           long   intptr_t;
30669#elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
30670typedef        uint64_t uintptr_t;
30671typedef         int64_t  intptr_t;
30672#else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
30673typedef  unsigned long  uintptr_t;
30674typedef           long   intptr_t;
30675#endif
30676#endif
30677#endif
30678
30679/* The ISO C99 standard specifies that in C++ implementations these
30680   should only be defined if explicitly requested.  */
30681#if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
30682#ifndef UINT32_C
30683
30684/* Signed.  */
30685# define INT8_C(c)      c
30686# define INT16_C(c)     c
30687# define INT32_C(c)     c
30688# ifdef _HAVE_LONGLONG_UINT64_T
30689#  define INT64_C(c)    c ## L
30690# else
30691#  define INT64_C(c)    c ## LL
30692# endif
30693
30694/* Unsigned.  */
30695# define UINT8_C(c)     c ## U
30696# define UINT16_C(c)    c ## U
30697# define UINT32_C(c)    c ## U
30698# ifdef _HAVE_LONGLONG_UINT64_T
30699#  define UINT64_C(c)   c ## UL
30700# else
30701#  define UINT64_C(c)   c ## ULL
30702# endif
30703
30704/* Maximal type.  */
30705# ifdef _HAVE_LONGLONG_UINT64_T
30706#  define INTMAX_C(c)   c ## L
30707#  define UINTMAX_C(c)  c ## UL
30708# else
30709#  define INTMAX_C(c)   c ## LL
30710#  define UINTMAX_C(c)  c ## ULL
30711# endif
30712
30713  /* literalnumbers */
30714#endif
30715#endif
30716
30717/* These limits are merily those of a two complement byte-oriented system */
30718
30719/* Minimum of signed integral types.  */
30720# define INT8_MIN               (-128)
30721# define INT16_MIN              (-32767-1)
30722# define INT32_MIN              (-2147483647-1)
30723# define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
30724/* Maximum of signed integral types.  */
30725# define INT8_MAX               (127)
30726# define INT16_MAX              (32767)
30727# define INT32_MAX              (2147483647)
30728# define INT64_MAX              (__INT64_C(9223372036854775807))
30729
30730/* Maximum of unsigned integral types.  */
30731# define UINT8_MAX              (255)
30732# define UINT16_MAX             (65535)
30733# define UINT32_MAX             (4294967295U)
30734# define UINT64_MAX             (__UINT64_C(18446744073709551615))
30735
30736/* Minimum of signed integral types having a minimum size.  */
30737# define INT_LEAST8_MIN         INT8_MIN
30738# define INT_LEAST16_MIN        INT16_MIN
30739# define INT_LEAST32_MIN        INT32_MIN
30740# define INT_LEAST64_MIN        INT64_MIN
30741/* Maximum of signed integral types having a minimum size.  */
30742# define INT_LEAST8_MAX         INT8_MAX
30743# define INT_LEAST16_MAX        INT16_MAX
30744# define INT_LEAST32_MAX        INT32_MAX
30745# define INT_LEAST64_MAX        INT64_MAX
30746
30747/* Maximum of unsigned integral types having a minimum size.  */
30748# define UINT_LEAST8_MAX        UINT8_MAX
30749# define UINT_LEAST16_MAX       UINT16_MAX
30750# define UINT_LEAST32_MAX       UINT32_MAX
30751# define UINT_LEAST64_MAX       UINT64_MAX
30752
30753  /* shortcircuit*/
30754#endif
30755  /* once */
30756#endif
30757#endif
30758STDINT_EOF
30759fi
30760    if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
30761      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
30762$as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
30763    else
30764      ac_dir=`$as_dirname -- "$ac_stdint_h" ||
30765$as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30766	 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
30767	 X"$ac_stdint_h" : 'X\(//\)$' \| \
30768	 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
30769$as_echo X"$ac_stdint_h" |
30770    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30771	    s//\1/
30772	    q
30773	  }
30774	  /^X\(\/\/\)[^/].*/{
30775	    s//\1/
30776	    q
30777	  }
30778	  /^X\(\/\/\)$/{
30779	    s//\1/
30780	    q
30781	  }
30782	  /^X\(\/\).*/{
30783	    s//\1/
30784	    q
30785	  }
30786	  s/.*/./; q'`
30787      as_dir="$ac_dir"; as_fn_mkdir_p
30788      rm -f $ac_stdint_h
30789      mv $ac_stdint $ac_stdint_h
30790    fi
30791 ;;
30792
30793  esac
30794done # for ac_tag
30795
30796
30797as_fn_exit 0
30798_ACEOF
30799ac_clean_files=$ac_clean_files_save
30800
30801test $ac_write_fail = 0 ||
30802  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
30803
30804
30805# configure is writing to config.log, and then calls config.status.
30806# config.status does its own redirection, appending to config.log.
30807# Unfortunately, on DOS this fails, as config.log is still kept open
30808# by configure, so config.status won't be able to write to it; its
30809# output is simply discarded.  So we exec the FD to /dev/null,
30810# effectively closing config.log, so it can be properly (re)opened and
30811# appended to by config.status.  When coming back to configure, we
30812# need to make the FD available again.
30813if test "$no_create" != yes; then
30814  ac_cs_success=:
30815  ac_config_status_args=
30816  test "$silent" = yes &&
30817    ac_config_status_args="$ac_config_status_args --quiet"
30818  exec 5>/dev/null
30819  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
30820  exec 5>>config.log
30821  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30822  # would make configure fail if this is the last instruction.
30823  $ac_cs_success || as_fn_exit 1
30824fi
30825if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
30826  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
30827$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
30828fi
30829
30830
30831
30832
30833printf "configure: *** Plug-ins without external dependencies that will be built:\n"
30834( for i in $GST_PLUGINS_SELECTED; do printf '\t'$i'\n'; done ) | sort
30835printf "\n"
30836
30837printf "configure: *** Plug-ins without external dependencies that will NOT be built:\n"
30838( for i in $GST_PLUGINS_ALL; do
30839    case " $GST_PLUGINS_SELECTED " in
30840      *\ $i\ *)
30841	;;
30842      *)
30843	printf '\t'$i'\n'
30844	;;
30845    esac
30846  done ) | sort
30847printf "\n"
30848
30849printf "configure: *** Plug-ins that have NOT been ported:\n"
30850( for i in $GST_PLUGINS_NONPORTED; do
30851	printf '\t'$i'\n'
30852  done ) | sort
30853printf "\n"
30854
30855if test "x$BUILD_EXTERNAL" = "xno"; then
30856  printf "configure: *** No plug-ins with external dependencies will be built\n"
30857else
30858  printf "configure: *** Plug-ins with dependencies that will be built:"
30859  printf "$GST_PLUGINS_YES\n" | sort
30860  printf "\n"
30861  printf "configure: *** Plug-ins with dependencies that will NOT be built:"
30862  printf "$GST_PLUGINS_NO\n" | sort
30863  printf "\n"
30864fi
30865
30866
30867
30868  if test "$HAVE_ORC" = yes ; then
30869    printf "configure: *** Orc acceleration enabled.\n"
30870  else
30871    if test "x$enable_orc" = "xno" ; then
30872      printf "configure: *** Orc acceleration disabled by --disable-orc.  Slower code paths\n"
30873      printf "               will be used.\n"
30874    else
30875      printf "configure: *** Orc acceleration disabled.  Requires Orc >= $ORC_REQ, which was\n"
30876      printf "               not found.  Slower code paths will be used.\n"
30877    fi
30878  fi
30879  printf "\n"
30880
30881