1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for GStreamer Good 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 Good Plug-ins'
593PACKAGE_TARNAME='gst-plugins-good'
594PACKAGE_VERSION='1.16.2'
595PACKAGE_STRING='GStreamer Good Plug-ins 1.16.2'
596PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
597PACKAGE_URL=''
598
599ac_unique_file="gst/law/alaw.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_header_list=
638ac_subst_vars='am__EXEEXT_FALSE
639am__EXEEXT_TRUE
640LTLIBOBJS
641LIBOBJS
642GST_PLUGIN_LDFLAGS
643GST_ALL_LDFLAGS
644GST_OBJCFLAGS
645GST_CXXFLAGS
646GST_OPTION_OBJCFLAGS
647GST_OPTION_CXXFLAGS
648GST_OPTION_CFLAGS
649EXTRA_CFLAGS
650VISIBILITY_CXXFLAGS
651VISIBILITY_CFLAGS
652DEPRECATED_CFLAGS
653PROFILE_CFLAGS
654USE_BZ2_FALSE
655USE_BZ2_TRUE
656BZ2_LIBS
657USE_ZLIB_FALSE
658USE_ZLIB_TRUE
659HAVE_ZLIB
660ZLIB_LIBS
661USE_WAVPACK_FALSE
662USE_WAVPACK_TRUE
663WAVPACK_LIBS
664WAVPACK_CFLAGS
665USE_VPX_FALSE
666USE_VPX_TRUE
667VPX_180_LIBS
668VPX_180_CFLAGS
669VPX_140_LIBS
670VPX_140_CFLAGS
671VPX_130_LIBS
672VPX_130_CFLAGS
673VPX_LIBS
674VPX_CFLAGS
675USE_TWOLAME_FALSE
676USE_TWOLAME_TRUE
677TWOLAME_LIBS
678TWOLAME_CFLAGS
679USE_TAGLIB_FALSE
680USE_TAGLIB_TRUE
681TAGLIB_CXXFLAGS
682TAGLIB_LIBS
683TAGLIB_CFLAGS
684USE_SPEEX_FALSE
685USE_SPEEX_TRUE
686SPEEX_LIBS
687SPEEX_CFLAGS
688USE_SOUP_FALSE
689USE_SOUP_TRUE
690SOUP_LIBS
691SOUP_CFLAGS
692USE_SHOUT2_FALSE
693USE_SHOUT2_TRUE
694SHOUT2_LIBS
695SHOUT2_CFLAGS
696USE_QT_FALSE
697USE_QT_TRUE
698QT_MAC_LIBS
699QT_MAC_CFLAGS
700GNUSTL_LIBS
701GNUSTL_CFLAGS
702QT_ANDROID_LIBS
703QT_ANDROID_CFLAGS
704QT_WAYLAND_LIBS
705QT_WAYLAND_CFLAGS
706QT_X11_LIBS
707QT_X11_CFLAGS
708UIC
709RCC
710MOC
711QT_LIBS
712QT_CFLAGS
713USE_LIBIEC61883_FALSE
714USE_LIBIEC61883_TRUE
715USE_DV1394_FALSE
716USE_DV1394_TRUE
717DV1394_LIBS
718DV1394_CFLAGS
719HAVE_ROM1394
720HAVE_AVC1394
721LIBIEC61883_LIBS
722LIBIEC61883_CFLAGS
723RAW1394_LIBS
724RAW1394_CFLAGS
725USE_PULSE_FALSE
726USE_PULSE_TRUE
727PULSE_LIBS
728PULSE_CFLAGS
729USE_MPG123_FALSE
730USE_MPG123_TRUE
731MPG123_LIBS
732MPG123_CFLAGS
733USE_LIBPNG_FALSE
734USE_LIBPNG_TRUE
735LIBPNG_1_5_LIBS
736LIBPNG_1_5_CFLAGS
737LIBPNG_LIBS
738LIBPNG_CFLAGS
739USE_LIBDV_FALSE
740USE_LIBDV_TRUE
741LIBDV_LIBS
742LIBDV_CFLAGS
743USE_LIBCACA_FALSE
744USE_LIBCACA_TRUE
745LIBCACA_LIBS
746LIBCACA_CFLAGS
747USE_LAME_FALSE
748USE_LAME_TRUE
749HAVE_LAME
750LAME_LIBS
751LAME_CFLAGS
752USE_JPEG_FALSE
753USE_JPEG_TRUE
754JPEG_LIBS
755USE_JACK_FALSE
756USE_JACK_TRUE
757JACK_1_9_7_LIBS
758JACK_1_9_7_CFLAGS
759JACK_0_120_1_LIBS
760JACK_0_120_1_CFLAGS
761JACK_LIBS
762JACK_CFLAGS
763USE_GTK3_GL_FALSE
764USE_GTK3_GL_TRUE
765USE_GTK3_FALSE
766USE_GTK3_TRUE
767GTK3_WAYLAND_LIBS
768GTK3_WAYLAND_CFLAGS
769GTK3_X11_LIBS
770GTK3_X11_CFLAGS
771GTK3_GL_LIBS
772GTK3_GL_CFLAGS
773GTK3_LIBS
774GTK3_CFLAGS
775USE_GDK_PIXBUF_FALSE
776USE_GDK_PIXBUF_TRUE
777GDK_PIXBUF_LIBS
778GDK_PIXBUF_CFLAGS
779USE_FLAC_FALSE
780USE_FLAC_TRUE
781FLAC_LIBS
782FLAC_CFLAGS
783USE_CAIRO_FALSE
784USE_CAIRO_TRUE
785CAIRO_LIBS
786CAIRO_CFLAGS
787USE_AALIB_FALSE
788USE_AALIB_TRUE
789AALIB_LIBS
790AALIB_CFLAGS
791AALIB_CONFIG
792USE_X_FALSE
793USE_X_TRUE
794XSHM_CFLAGS
795XSHM_LIBS
796XEXT_LIBS
797XEXT_CFLAGS
798XDAMAGE_LIBS
799XDAMAGE_CFLAGS
800XFIXES_LIBS
801XFIXES_CFLAGS
802X_LIBS
803X_CFLAGS
804LIBV4L2_LIBS
805LIBV4L2_CFLAGS
806GUDEV_LIBS
807GUDEV_CFLAGS
808USE_GST_V4L2_FALSE
809USE_GST_V4L2_TRUE
810USE_OSX_VIDEO_FALSE
811USE_OSX_VIDEO_TRUE
812HAVE_IOS_FALSE
813HAVE_IOS_TRUE
814USE_OSX_AUDIO_FALSE
815USE_OSX_AUDIO_TRUE
816USE_OSS4_FALSE
817USE_OSS4_TRUE
818USE_OSS_FALSE
819USE_OSS_TRUE
820USE_WAVEFORM_FALSE
821USE_WAVEFORM_TRUE
822USE_DIRECTSOUND_FALSE
823USE_DIRECTSOUND_TRUE
824HAVE_DIRECTSOUND
825DIRECTSOUND_LIBS
826DIRECTSOUND_LDFLAGS
827DIRECTSOUND_CFLAGS
828USE_PLUGIN_Y4M_FALSE
829USE_PLUGIN_Y4M_TRUE
830USE_PLUGIN_WAVPARSE_FALSE
831USE_PLUGIN_WAVPARSE_TRUE
832USE_PLUGIN_WAVENC_FALSE
833USE_PLUGIN_WAVENC_TRUE
834USE_PLUGIN_VIDEOMIXER_FALSE
835USE_PLUGIN_VIDEOMIXER_TRUE
836USE_PLUGIN_VIDEOFILTER_FALSE
837USE_PLUGIN_VIDEOFILTER_TRUE
838USE_PLUGIN_VIDEOCROP_FALSE
839USE_PLUGIN_VIDEOCROP_TRUE
840USE_PLUGIN_VIDEOBOX_FALSE
841USE_PLUGIN_VIDEOBOX_TRUE
842USE_PLUGIN_UDP_FALSE
843USE_PLUGIN_UDP_TRUE
844USE_PLUGIN_SPECTRUM_FALSE
845USE_PLUGIN_SPECTRUM_TRUE
846USE_PLUGIN_SMPTE_FALSE
847USE_PLUGIN_SMPTE_TRUE
848USE_PLUGIN_SHAPEWIPE_FALSE
849USE_PLUGIN_SHAPEWIPE_TRUE
850USE_PLUGIN_RTSP_FALSE
851USE_PLUGIN_RTSP_TRUE
852USE_PLUGIN_RTPMANAGER_FALSE
853USE_PLUGIN_RTPMANAGER_TRUE
854USE_PLUGIN_RTP_FALSE
855USE_PLUGIN_RTP_TRUE
856USE_PLUGIN_REPLAYGAIN_FALSE
857USE_PLUGIN_REPLAYGAIN_TRUE
858USE_PLUGIN_MULTIPART_FALSE
859USE_PLUGIN_MULTIPART_TRUE
860USE_PLUGIN_MULTIFILE_FALSE
861USE_PLUGIN_MULTIFILE_TRUE
862USE_PLUGIN_MONOSCOPE_FALSE
863USE_PLUGIN_MONOSCOPE_TRUE
864USE_PLUGIN_MATROSKA_FALSE
865USE_PLUGIN_MATROSKA_TRUE
866USE_PLUGIN_LEVEL_FALSE
867USE_PLUGIN_LEVEL_TRUE
868USE_PLUGIN_LAW_FALSE
869USE_PLUGIN_LAW_TRUE
870USE_PLUGIN_ISOMP4_FALSE
871USE_PLUGIN_ISOMP4_TRUE
872USE_PLUGIN_INTERLEAVE_FALSE
873USE_PLUGIN_INTERLEAVE_TRUE
874USE_PLUGIN_IMAGEFREEZE_FALSE
875USE_PLUGIN_IMAGEFREEZE_TRUE
876USE_PLUGIN_ID3DEMUX_FALSE
877USE_PLUGIN_ID3DEMUX_TRUE
878USE_PLUGIN_ICYDEMUX_FALSE
879USE_PLUGIN_ICYDEMUX_TRUE
880USE_PLUGIN_GOOM2K1_FALSE
881USE_PLUGIN_GOOM2K1_TRUE
882USE_PLUGIN_GOOM_FALSE
883USE_PLUGIN_GOOM_TRUE
884USE_PLUGIN_FLX_FALSE
885USE_PLUGIN_FLX_TRUE
886USE_PLUGIN_FLV_FALSE
887USE_PLUGIN_FLV_TRUE
888USE_PLUGIN_EQUALIZER_FALSE
889USE_PLUGIN_EQUALIZER_TRUE
890USE_PLUGIN_EFFECTV_FALSE
891USE_PLUGIN_EFFECTV_TRUE
892USE_PLUGIN_DTMF_FALSE
893USE_PLUGIN_DTMF_TRUE
894USE_PLUGIN_DEINTERLACE_FALSE
895USE_PLUGIN_DEINTERLACE_TRUE
896USE_PLUGIN_DEBUGUTILS_FALSE
897USE_PLUGIN_DEBUGUTILS_TRUE
898USE_PLUGIN_CUTTER_FALSE
899USE_PLUGIN_CUTTER_TRUE
900USE_PLUGIN_AVI_FALSE
901USE_PLUGIN_AVI_TRUE
902USE_PLUGIN_AUTODETECT_FALSE
903USE_PLUGIN_AUTODETECT_TRUE
904USE_PLUGIN_AUPARSE_FALSE
905USE_PLUGIN_AUPARSE_TRUE
906USE_PLUGIN_AUDIOPARSERS_FALSE
907USE_PLUGIN_AUDIOPARSERS_TRUE
908USE_PLUGIN_AUDIOFX_FALSE
909USE_PLUGIN_AUDIOFX_TRUE
910USE_PLUGIN_APETAG_FALSE
911USE_PLUGIN_APETAG_TRUE
912USE_PLUGIN_ALPHA_FALSE
913USE_PLUGIN_ALPHA_TRUE
914DEFAULT_VISUALIZER
915DEFAULT_VIDEOSRC
916DEFAULT_VIDEOSINK
917DEFAULT_AUDIOSRC
918DEFAULT_AUDIOSINK
919GST_LEVEL_DEFAULT
920ERROR_OBJCFLAGS
921WARNING_OBJCFLAGS
922ERROR_CXXFLAGS
923WARNING_CXXFLAGS
924ERROR_CFLAGS
925WARNING_CFLAGS
926plugindir
927PLUGINDIR
928GST_LICENSE
929HAVE_GTK_X11_FALSE
930HAVE_GTK_X11_TRUE
931HAVE_GTK_FALSE
932HAVE_GTK_TRUE
933GTK_X11_LIBS
934GTK_X11_CFLAGS
935GTK_LIBS
936GTK_CFLAGS
937GSTPB_PREFIX
938GST_PREFIX
939GLIB_PREFIX
940HAVE_GST_CHECK_FALSE
941HAVE_GST_CHECK_TRUE
942GST_GL_LIBS
943GST_GL_CFLAGS
944GSTPB_PLUGINS_DIR
945GST_PLUGINS_BASE_DIR
946GST_PLUGINS_BASE_LIBS
947GST_PLUGINS_BASE_CFLAGS
948GST_CHECK_LIBS
949GST_CHECK_CFLAGS
950GST_NET_LIBS
951GST_NET_CFLAGS
952GST_CONTROLLER_LIBS
953GST_CONTROLLER_CFLAGS
954GST_BASE_LIBS
955GST_BASE_CFLAGS
956GST_PLUGINS_DIR
957GST_TOOLS_DIR
958GST_LIBS
959GST_CFLAGS
960HAVE_ORCC_FALSE
961HAVE_ORCC_TRUE
962HAVE_ORC_FALSE
963HAVE_ORC_TRUE
964ORCC_FLAGS
965ORCC
966ORC_LIBS
967ORC_CFLAGS
968GIO_LDFLAGS
969GIO_LIBS
970GIO_CFLAGS
971GLIB_EXTRA_CFLAGS
972GLIB_MKENUMS
973GLIB_GENMARSHAL
974GLIB_LIBS
975GLIB_CFLAGS
976GLIB_REQ
977GST_HAVE_MMAP_FALSE
978GST_HAVE_MMAP_TRUE
979HAVE_GCC_ASM_FALSE
980HAVE_GCC_ASM_TRUE
981PTHREAD_CFLAGS
982PTHREAD_LIBS
983PTHREAD_CC
984ax_pthread_config
985LIBRT
986LIBM
987ENABLE_PLUGIN_DOCS_FALSE
988ENABLE_PLUGIN_DOCS_TRUE
989pkgpyexecdir
990pyexecdir
991pkgpythondir
992pythondir
993PYTHON_PLATFORM
994PYTHON_EXEC_PREFIX
995PYTHON_PREFIX
996PYTHON_VERSION
997PYTHON
998GTK_DOC_USE_LIBTOOL_FALSE
999GTK_DOC_USE_LIBTOOL_TRUE
1000GTK_DOC_BUILD_PDF_FALSE
1001GTK_DOC_BUILD_PDF_TRUE
1002GTK_DOC_BUILD_HTML_FALSE
1003GTK_DOC_BUILD_HTML_TRUE
1004ENABLE_GTK_DOC_FALSE
1005ENABLE_GTK_DOC_TRUE
1006GTKDOC_DEPS_LIBS
1007GTKDOC_DEPS_CFLAGS
1008HTML_DIR
1009GTKDOC_MKPDF
1010GTKDOC_REBASE
1011GTKDOC_CHECK
1012HAVE_VALGRIND_FALSE
1013HAVE_VALGRIND_TRUE
1014VALGRIND_PATH
1015am__fastdepCCAS_FALSE
1016am__fastdepCCAS_TRUE
1017CCASDEPMODE
1018CCAS
1019am__fastdepOBJC_FALSE
1020am__fastdepOBJC_TRUE
1021OBJCDEPMODE
1022ac_ct_OBJC
1023OBJCFLAGS
1024OBJC
1025HAVE_CXX
1026CXXCPP
1027am__fastdepCXX_FALSE
1028am__fastdepCXX_TRUE
1029CXXDEPMODE
1030ac_ct_CXX
1031CXX
1032HAVE_CPU_CRISV32_FALSE
1033HAVE_CPU_CRISV32_TRUE
1034HAVE_CPU_CRIS_FALSE
1035HAVE_CPU_CRIS_TRUE
1036HAVE_CPU_X86_64_FALSE
1037HAVE_CPU_X86_64_TRUE
1038HAVE_CPU_M68K_FALSE
1039HAVE_CPU_M68K_TRUE
1040HAVE_CPU_IA64_FALSE
1041HAVE_CPU_IA64_TRUE
1042HAVE_CPU_S390_FALSE
1043HAVE_CPU_S390_TRUE
1044HAVE_CPU_MIPS_FALSE
1045HAVE_CPU_MIPS_TRUE
1046HAVE_CPU_HPPA_FALSE
1047HAVE_CPU_HPPA_TRUE
1048HAVE_CPU_SPARC_FALSE
1049HAVE_CPU_SPARC_TRUE
1050HAVE_CPU_ARM_FALSE
1051HAVE_CPU_ARM_TRUE
1052HAVE_CPU_ARC_FALSE
1053HAVE_CPU_ARC_TRUE
1054HAVE_CPU_ALPHA_FALSE
1055HAVE_CPU_ALPHA_TRUE
1056HAVE_CPU_PPC64_FALSE
1057HAVE_CPU_PPC64_TRUE
1058HAVE_CPU_PPC_FALSE
1059HAVE_CPU_PPC_TRUE
1060HAVE_CPU_I386_FALSE
1061HAVE_CPU_I386_TRUE
1062GST_PKG_CONFIG_PATH
1063BUILD_EXPERIMENTAL_FALSE
1064BUILD_EXPERIMENTAL_TRUE
1065USE_EXPERIMENTAL_FALSE
1066USE_EXPERIMENTAL_TRUE
1067BUILD_EXTERNAL_FALSE
1068BUILD_EXTERNAL_TRUE
1069USE_EXTERNAL_FALSE
1070USE_EXTERNAL_TRUE
1071GST_PLUGINS_NONPORTED
1072GST_PLUGINS_SELECTED
1073GST_PLUGINS_ALL
1074GST_PACKAGE_ORIGIN
1075GST_PACKAGE_NAME
1076BUILD_EXAMPLES_FALSE
1077BUILD_EXAMPLES_TRUE
1078GST_GCOV_ENABLED_FALSE
1079GST_GCOV_ENABLED_TRUE
1080CCASFLAGS
1081FFLAGS
1082CXXFLAGS
1083GCOV
1084GCOV_LIBS
1085GCOV_CFLAGS
1086VALGRIND_LIBS
1087VALGRIND_CFLAGS
1088PKG_CONFIG
1089LOCALEDIR
1090GETTEXT_PACKAGE
1091POSUB
1092LTLIBINTL
1093LIBINTL
1094INTLLIBS
1095LTLIBICONV
1096LIBICONV
1097INTL_MACOSX_LIBS
1098XGETTEXT_EXTRA_OPTIONS
1099MSGMERGE
1100XGETTEXT_015
1101XGETTEXT
1102GMSGFMT_015
1103MSGFMT_015
1104GMSGFMT
1105MSGFMT
1106GETTEXT_MACRO_VERSION
1107USE_NLS
1108ACLOCAL_AMFLAGS
1109CPP
1110LT_SYS_LIBRARY_PATH
1111OTOOL64
1112OTOOL
1113LIPO
1114NMEDIT
1115DSYMUTIL
1116MANIFEST_TOOL
1117RANLIB
1118ac_ct_AR
1119AR
1120LN_S
1121NM
1122ac_ct_DUMPBIN
1123DUMPBIN
1124LD
1125FGREP
1126EGREP
1127GREP
1128SED
1129am__fastdepCC_FALSE
1130am__fastdepCC_TRUE
1131CCDEPMODE
1132am__nodep
1133AMDEPBACKSLASH
1134AMDEP_FALSE
1135AMDEP_TRUE
1136am__include
1137DEPDIR
1138OBJEXT
1139EXEEXT
1140ac_ct_CC
1141CPPFLAGS
1142LDFLAGS
1143CFLAGS
1144CC
1145LIBTOOL
1146OBJDUMP
1147DLLTOOL
1148AS
1149GST_LT_LDFLAGS
1150GST_LIBVERSION
1151GST_AGE
1152GST_REVISION
1153GST_CURRENT
1154GST_API_VERSION
1155MAINT
1156MAINTAINER_MODE_FALSE
1157MAINTAINER_MODE_TRUE
1158PACKAGE_VERSION_RELEASE
1159PACKAGE_VERSION_NANO
1160PACKAGE_VERSION_MICRO
1161PACKAGE_VERSION_MINOR
1162PACKAGE_VERSION_MAJOR
1163AM_BACKSLASH
1164AM_DEFAULT_VERBOSITY
1165AM_DEFAULT_V
1166AM_V
1167am__untar
1168am__tar
1169AMTAR
1170am__leading_dot
1171SET_MAKE
1172AWK
1173mkdir_p
1174MKDIR_P
1175INSTALL_STRIP_PROGRAM
1176STRIP
1177install_sh
1178MAKEINFO
1179AUTOHEADER
1180AUTOMAKE
1181AUTOCONF
1182ACLOCAL
1183VERSION
1184PACKAGE
1185CYGPATH_W
1186am__isrc
1187INSTALL_DATA
1188INSTALL_SCRIPT
1189INSTALL_PROGRAM
1190target_os
1191target_vendor
1192target_cpu
1193target
1194host_os
1195host_vendor
1196host_cpu
1197host
1198build_os
1199build_vendor
1200build_cpu
1201build
1202target_alias
1203host_alias
1204build_alias
1205LIBS
1206ECHO_T
1207ECHO_N
1208ECHO_C
1209DEFS
1210mandir
1211localedir
1212libdir
1213psdir
1214pdfdir
1215dvidir
1216htmldir
1217infodir
1218docdir
1219oldincludedir
1220includedir
1221runstatedir
1222localstatedir
1223sharedstatedir
1224sysconfdir
1225datadir
1226datarootdir
1227libexecdir
1228sbindir
1229bindir
1230program_transform_name
1231prefix
1232exec_prefix
1233PACKAGE_URL
1234PACKAGE_BUGREPORT
1235PACKAGE_STRING
1236PACKAGE_VERSION
1237PACKAGE_TARNAME
1238PACKAGE_NAME
1239PATH_SEPARATOR
1240SHELL
1241am__quote'
1242ac_subst_files=''
1243ac_user_opts='
1244enable_option_checking
1245enable_silent_rules
1246enable_maintainer_mode
1247enable_static
1248enable_shared
1249with_pic
1250enable_fast_install
1251with_aix_soname
1252enable_dependency_tracking
1253with_gnu_ld
1254with_sysroot
1255enable_libtool_lock
1256with_autoconf
1257with_autoheader
1258with_automake
1259with_aclocal
1260enable_nls
1261enable_rpath
1262with_libiconv_prefix
1263with_libintl_prefix
1264enable_fatal_warnings
1265enable_extra_check
1266enable_debug
1267enable_profiling
1268enable_valgrind
1269enable_gcov
1270enable_examples
1271with_pkg_config_path
1272with_package_name
1273with_package_origin
1274with_plugins
1275enable_external
1276enable_experimental
1277enable_largefile
1278with_html_dir
1279enable_gtk_doc
1280enable_gtk_doc_html
1281enable_gtk_doc_pdf
1282enable_gobject_cast_checks
1283enable_glib_asserts
1284enable_orc
1285enable_Bsymbolic
1286with_default_audiosink
1287with_default_audiosrc
1288with_default_videosink
1289with_default_videosrc
1290with_default_visualizer
1291enable_alpha
1292enable_apetag
1293enable_audiofx
1294enable_audioparsers
1295enable_auparse
1296enable_autodetect
1297enable_avi
1298enable_cutter
1299enable_debugutils
1300enable_deinterlace
1301enable_dtmf
1302enable_effectv
1303enable_equalizer
1304enable_flv
1305enable_flx
1306enable_goom
1307enable_goom2k1
1308enable_icydemux
1309enable_id3demux
1310enable_imagefreeze
1311enable_interleave
1312enable_isomp4
1313enable_law
1314enable_level
1315enable_matroska
1316enable_monoscope
1317enable_multifile
1318enable_multipart
1319enable_replaygain
1320enable_rtp
1321enable_rtpmanager
1322enable_rtsp
1323enable_shapewipe
1324enable_smpte
1325enable_spectrum
1326enable_udp
1327enable_videobox
1328enable_videocrop
1329enable_videofilter
1330enable_videomixer
1331enable_wavenc
1332enable_wavparse
1333enable_y4m
1334enable_directsound
1335enable_waveform
1336enable_oss
1337enable_oss4
1338enable_osx_audio
1339enable_osx_video
1340enable_gst_v4l2
1341with_gudev
1342with_libv4l2
1343enable_v4l2_probe
1344enable_x
1345enable_aalib
1346with_aalib_prefix
1347with_aalib_exec_prefix
1348enable_aalibtest
1349enable_cairo
1350enable_flac
1351enable_gdk_pixbuf
1352enable_gtk3
1353enable_jack
1354enable_jpeg
1355with_jpeg_mmx
1356enable_lame
1357enable_libcaca
1358enable_libdv
1359enable_libpng
1360enable_mpg123
1361enable_pulse
1362enable_dv1394
1363enable_qt
1364with_moc
1365with_rcc
1366with_uic
1367enable_shout2
1368enable_soup
1369enable_speex
1370enable_taglib
1371enable_twolame
1372enable_vpx
1373enable_wavpack
1374enable_zlib
1375enable_bz2
1376'
1377      ac_precious_vars='build_alias
1378host_alias
1379target_alias
1380CC
1381CFLAGS
1382LDFLAGS
1383LIBS
1384CPPFLAGS
1385LT_SYS_LIBRARY_PATH
1386CPP
1387PKG_CONFIG
1388VALGRIND_CFLAGS
1389VALGRIND_LIBS
1390CXX
1391CXXFLAGS
1392CCC
1393CXXCPP
1394OBJC
1395OBJCFLAGS
1396CCAS
1397CCASFLAGS
1398GTKDOC_DEPS_CFLAGS
1399GTKDOC_DEPS_LIBS
1400PYTHON
1401GLIB_CFLAGS
1402GLIB_LIBS
1403GIO_CFLAGS
1404GIO_LIBS
1405ORC_CFLAGS
1406ORC_LIBS
1407GST_CFLAGS
1408GST_LIBS
1409GST_BASE_CFLAGS
1410GST_BASE_LIBS
1411GST_CONTROLLER_CFLAGS
1412GST_CONTROLLER_LIBS
1413GST_NET_CFLAGS
1414GST_NET_LIBS
1415GST_CHECK_CFLAGS
1416GST_CHECK_LIBS
1417GST_PLUGINS_BASE_CFLAGS
1418GST_PLUGINS_BASE_LIBS
1419GST_GL_CFLAGS
1420GST_GL_LIBS
1421GTK_CFLAGS
1422GTK_LIBS
1423GTK_X11_CFLAGS
1424GTK_X11_LIBS
1425GUDEV_CFLAGS
1426GUDEV_LIBS
1427LIBV4L2_CFLAGS
1428LIBV4L2_LIBS
1429X_CFLAGS
1430X_LIBS
1431XFIXES_CFLAGS
1432XFIXES_LIBS
1433XDAMAGE_CFLAGS
1434XDAMAGE_LIBS
1435XEXT_CFLAGS
1436XEXT_LIBS
1437CAIRO_CFLAGS
1438CAIRO_LIBS
1439FLAC_CFLAGS
1440FLAC_LIBS
1441GDK_PIXBUF_CFLAGS
1442GDK_PIXBUF_LIBS
1443GTK3_CFLAGS
1444GTK3_LIBS
1445GTK3_GL_CFLAGS
1446GTK3_GL_LIBS
1447GTK3_X11_CFLAGS
1448GTK3_X11_LIBS
1449GTK3_WAYLAND_CFLAGS
1450GTK3_WAYLAND_LIBS
1451JACK_CFLAGS
1452JACK_LIBS
1453JACK_0_120_1_CFLAGS
1454JACK_0_120_1_LIBS
1455JACK_1_9_7_CFLAGS
1456JACK_1_9_7_LIBS
1457LIBCACA_CFLAGS
1458LIBCACA_LIBS
1459LIBDV_CFLAGS
1460LIBDV_LIBS
1461LIBPNG_CFLAGS
1462LIBPNG_LIBS
1463LIBPNG_1_5_CFLAGS
1464LIBPNG_1_5_LIBS
1465MPG123_CFLAGS
1466MPG123_LIBS
1467PULSE_CFLAGS
1468PULSE_LIBS
1469RAW1394_CFLAGS
1470RAW1394_LIBS
1471LIBIEC61883_CFLAGS
1472LIBIEC61883_LIBS
1473QT_CFLAGS
1474QT_LIBS
1475QT_X11_CFLAGS
1476QT_X11_LIBS
1477QT_WAYLAND_CFLAGS
1478QT_WAYLAND_LIBS
1479QT_ANDROID_CFLAGS
1480QT_ANDROID_LIBS
1481GNUSTL_CFLAGS
1482GNUSTL_LIBS
1483QT_MAC_CFLAGS
1484QT_MAC_LIBS
1485SHOUT2_CFLAGS
1486SHOUT2_LIBS
1487SOUP_CFLAGS
1488SOUP_LIBS
1489SPEEX_CFLAGS
1490SPEEX_LIBS
1491TAGLIB_CFLAGS
1492TAGLIB_LIBS
1493TWOLAME_CFLAGS
1494TWOLAME_LIBS
1495VPX_CFLAGS
1496VPX_LIBS
1497VPX_130_CFLAGS
1498VPX_130_LIBS
1499VPX_140_CFLAGS
1500VPX_140_LIBS
1501VPX_180_CFLAGS
1502VPX_180_LIBS
1503WAVPACK_CFLAGS
1504WAVPACK_LIBS'
1505
1506
1507# Initialize some variables set by options.
1508ac_init_help=
1509ac_init_version=false
1510ac_unrecognized_opts=
1511ac_unrecognized_sep=
1512# The variables have the same names as the options, with
1513# dashes changed to underlines.
1514cache_file=/dev/null
1515exec_prefix=NONE
1516no_create=
1517no_recursion=
1518prefix=NONE
1519program_prefix=NONE
1520program_suffix=NONE
1521program_transform_name=s,x,x,
1522silent=
1523site=
1524srcdir=
1525verbose=
1526x_includes=NONE
1527x_libraries=NONE
1528
1529# Installation directory options.
1530# These are left unexpanded so users can "make install exec_prefix=/foo"
1531# and all the variables that are supposed to be based on exec_prefix
1532# by default will actually change.
1533# Use braces instead of parens because sh, perl, etc. also accept them.
1534# (The list follows the same order as the GNU Coding Standards.)
1535bindir='${exec_prefix}/bin'
1536sbindir='${exec_prefix}/sbin'
1537libexecdir='${exec_prefix}/libexec'
1538datarootdir='${prefix}/share'
1539datadir='${datarootdir}'
1540sysconfdir='${prefix}/etc'
1541sharedstatedir='${prefix}/com'
1542localstatedir='${prefix}/var'
1543runstatedir='${localstatedir}/run'
1544includedir='${prefix}/include'
1545oldincludedir='/usr/include'
1546docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1547infodir='${datarootdir}/info'
1548htmldir='${docdir}'
1549dvidir='${docdir}'
1550pdfdir='${docdir}'
1551psdir='${docdir}'
1552libdir='${exec_prefix}/lib'
1553localedir='${datarootdir}/locale'
1554mandir='${datarootdir}/man'
1555
1556ac_prev=
1557ac_dashdash=
1558for ac_option
1559do
1560  # If the previous option needs an argument, assign it.
1561  if test -n "$ac_prev"; then
1562    eval $ac_prev=\$ac_option
1563    ac_prev=
1564    continue
1565  fi
1566
1567  case $ac_option in
1568  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1569  *=)   ac_optarg= ;;
1570  *)    ac_optarg=yes ;;
1571  esac
1572
1573  # Accept the important Cygnus configure options, so we can diagnose typos.
1574
1575  case $ac_dashdash$ac_option in
1576  --)
1577    ac_dashdash=yes ;;
1578
1579  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1580    ac_prev=bindir ;;
1581  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1582    bindir=$ac_optarg ;;
1583
1584  -build | --build | --buil | --bui | --bu)
1585    ac_prev=build_alias ;;
1586  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1587    build_alias=$ac_optarg ;;
1588
1589  -cache-file | --cache-file | --cache-fil | --cache-fi \
1590  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1591    ac_prev=cache_file ;;
1592  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1593  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1594    cache_file=$ac_optarg ;;
1595
1596  --config-cache | -C)
1597    cache_file=config.cache ;;
1598
1599  -datadir | --datadir | --datadi | --datad)
1600    ac_prev=datadir ;;
1601  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1602    datadir=$ac_optarg ;;
1603
1604  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1605  | --dataroo | --dataro | --datar)
1606    ac_prev=datarootdir ;;
1607  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1608  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1609    datarootdir=$ac_optarg ;;
1610
1611  -disable-* | --disable-*)
1612    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1613    # Reject names that are not valid shell variable names.
1614    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1615      as_fn_error $? "invalid feature name: $ac_useropt"
1616    ac_useropt_orig=$ac_useropt
1617    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1618    case $ac_user_opts in
1619      *"
1620"enable_$ac_useropt"
1621"*) ;;
1622      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1623	 ac_unrecognized_sep=', ';;
1624    esac
1625    eval enable_$ac_useropt=no ;;
1626
1627  -docdir | --docdir | --docdi | --doc | --do)
1628    ac_prev=docdir ;;
1629  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1630    docdir=$ac_optarg ;;
1631
1632  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1633    ac_prev=dvidir ;;
1634  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1635    dvidir=$ac_optarg ;;
1636
1637  -enable-* | --enable-*)
1638    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1639    # Reject names that are not valid shell variable names.
1640    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1641      as_fn_error $? "invalid feature name: $ac_useropt"
1642    ac_useropt_orig=$ac_useropt
1643    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1644    case $ac_user_opts in
1645      *"
1646"enable_$ac_useropt"
1647"*) ;;
1648      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1649	 ac_unrecognized_sep=', ';;
1650    esac
1651    eval enable_$ac_useropt=\$ac_optarg ;;
1652
1653  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1654  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1655  | --exec | --exe | --ex)
1656    ac_prev=exec_prefix ;;
1657  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1658  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1659  | --exec=* | --exe=* | --ex=*)
1660    exec_prefix=$ac_optarg ;;
1661
1662  -gas | --gas | --ga | --g)
1663    # Obsolete; use --with-gas.
1664    with_gas=yes ;;
1665
1666  -help | --help | --hel | --he | -h)
1667    ac_init_help=long ;;
1668  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1669    ac_init_help=recursive ;;
1670  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1671    ac_init_help=short ;;
1672
1673  -host | --host | --hos | --ho)
1674    ac_prev=host_alias ;;
1675  -host=* | --host=* | --hos=* | --ho=*)
1676    host_alias=$ac_optarg ;;
1677
1678  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1679    ac_prev=htmldir ;;
1680  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1681  | --ht=*)
1682    htmldir=$ac_optarg ;;
1683
1684  -includedir | --includedir | --includedi | --included | --include \
1685  | --includ | --inclu | --incl | --inc)
1686    ac_prev=includedir ;;
1687  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1688  | --includ=* | --inclu=* | --incl=* | --inc=*)
1689    includedir=$ac_optarg ;;
1690
1691  -infodir | --infodir | --infodi | --infod | --info | --inf)
1692    ac_prev=infodir ;;
1693  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1694    infodir=$ac_optarg ;;
1695
1696  -libdir | --libdir | --libdi | --libd)
1697    ac_prev=libdir ;;
1698  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1699    libdir=$ac_optarg ;;
1700
1701  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1702  | --libexe | --libex | --libe)
1703    ac_prev=libexecdir ;;
1704  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1705  | --libexe=* | --libex=* | --libe=*)
1706    libexecdir=$ac_optarg ;;
1707
1708  -localedir | --localedir | --localedi | --localed | --locale)
1709    ac_prev=localedir ;;
1710  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1711    localedir=$ac_optarg ;;
1712
1713  -localstatedir | --localstatedir | --localstatedi | --localstated \
1714  | --localstate | --localstat | --localsta | --localst | --locals)
1715    ac_prev=localstatedir ;;
1716  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1717  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1718    localstatedir=$ac_optarg ;;
1719
1720  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1721    ac_prev=mandir ;;
1722  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1723    mandir=$ac_optarg ;;
1724
1725  -nfp | --nfp | --nf)
1726    # Obsolete; use --without-fp.
1727    with_fp=no ;;
1728
1729  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1730  | --no-cr | --no-c | -n)
1731    no_create=yes ;;
1732
1733  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1734  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1735    no_recursion=yes ;;
1736
1737  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1738  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1739  | --oldin | --oldi | --old | --ol | --o)
1740    ac_prev=oldincludedir ;;
1741  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1742  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1743  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1744    oldincludedir=$ac_optarg ;;
1745
1746  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1747    ac_prev=prefix ;;
1748  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1749    prefix=$ac_optarg ;;
1750
1751  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1752  | --program-pre | --program-pr | --program-p)
1753    ac_prev=program_prefix ;;
1754  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1755  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1756    program_prefix=$ac_optarg ;;
1757
1758  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1759  | --program-suf | --program-su | --program-s)
1760    ac_prev=program_suffix ;;
1761  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1762  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1763    program_suffix=$ac_optarg ;;
1764
1765  -program-transform-name | --program-transform-name \
1766  | --program-transform-nam | --program-transform-na \
1767  | --program-transform-n | --program-transform- \
1768  | --program-transform | --program-transfor \
1769  | --program-transfo | --program-transf \
1770  | --program-trans | --program-tran \
1771  | --progr-tra | --program-tr | --program-t)
1772    ac_prev=program_transform_name ;;
1773  -program-transform-name=* | --program-transform-name=* \
1774  | --program-transform-nam=* | --program-transform-na=* \
1775  | --program-transform-n=* | --program-transform-=* \
1776  | --program-transform=* | --program-transfor=* \
1777  | --program-transfo=* | --program-transf=* \
1778  | --program-trans=* | --program-tran=* \
1779  | --progr-tra=* | --program-tr=* | --program-t=*)
1780    program_transform_name=$ac_optarg ;;
1781
1782  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1783    ac_prev=pdfdir ;;
1784  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1785    pdfdir=$ac_optarg ;;
1786
1787  -psdir | --psdir | --psdi | --psd | --ps)
1788    ac_prev=psdir ;;
1789  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1790    psdir=$ac_optarg ;;
1791
1792  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1793  | -silent | --silent | --silen | --sile | --sil)
1794    silent=yes ;;
1795
1796  -runstatedir | --runstatedir | --runstatedi | --runstated \
1797  | --runstate | --runstat | --runsta | --runst | --runs \
1798  | --run | --ru | --r)
1799    ac_prev=runstatedir ;;
1800  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1801  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1802  | --run=* | --ru=* | --r=*)
1803    runstatedir=$ac_optarg ;;
1804
1805  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1806    ac_prev=sbindir ;;
1807  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1808  | --sbi=* | --sb=*)
1809    sbindir=$ac_optarg ;;
1810
1811  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1812  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1813  | --sharedst | --shareds | --shared | --share | --shar \
1814  | --sha | --sh)
1815    ac_prev=sharedstatedir ;;
1816  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1817  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1818  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1819  | --sha=* | --sh=*)
1820    sharedstatedir=$ac_optarg ;;
1821
1822  -site | --site | --sit)
1823    ac_prev=site ;;
1824  -site=* | --site=* | --sit=*)
1825    site=$ac_optarg ;;
1826
1827  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1828    ac_prev=srcdir ;;
1829  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1830    srcdir=$ac_optarg ;;
1831
1832  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1833  | --syscon | --sysco | --sysc | --sys | --sy)
1834    ac_prev=sysconfdir ;;
1835  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1836  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1837    sysconfdir=$ac_optarg ;;
1838
1839  -target | --target | --targe | --targ | --tar | --ta | --t)
1840    ac_prev=target_alias ;;
1841  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1842    target_alias=$ac_optarg ;;
1843
1844  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1845    verbose=yes ;;
1846
1847  -version | --version | --versio | --versi | --vers | -V)
1848    ac_init_version=: ;;
1849
1850  -with-* | --with-*)
1851    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1852    # Reject names that are not valid shell variable names.
1853    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1854      as_fn_error $? "invalid package name: $ac_useropt"
1855    ac_useropt_orig=$ac_useropt
1856    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1857    case $ac_user_opts in
1858      *"
1859"with_$ac_useropt"
1860"*) ;;
1861      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1862	 ac_unrecognized_sep=', ';;
1863    esac
1864    eval with_$ac_useropt=\$ac_optarg ;;
1865
1866  -without-* | --without-*)
1867    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1868    # Reject names that are not valid shell variable names.
1869    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1870      as_fn_error $? "invalid package name: $ac_useropt"
1871    ac_useropt_orig=$ac_useropt
1872    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1873    case $ac_user_opts in
1874      *"
1875"with_$ac_useropt"
1876"*) ;;
1877      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1878	 ac_unrecognized_sep=', ';;
1879    esac
1880    eval with_$ac_useropt=no ;;
1881
1882  --x)
1883    # Obsolete; use --with-x.
1884    with_x=yes ;;
1885
1886  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1887  | --x-incl | --x-inc | --x-in | --x-i)
1888    ac_prev=x_includes ;;
1889  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1890  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1891    x_includes=$ac_optarg ;;
1892
1893  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1894  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1895    ac_prev=x_libraries ;;
1896  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1897  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1898    x_libraries=$ac_optarg ;;
1899
1900  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1901Try \`$0 --help' for more information"
1902    ;;
1903
1904  *=*)
1905    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1906    # Reject names that are not valid shell variable names.
1907    case $ac_envvar in #(
1908      '' | [0-9]* | *[!_$as_cr_alnum]* )
1909      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1910    esac
1911    eval $ac_envvar=\$ac_optarg
1912    export $ac_envvar ;;
1913
1914  *)
1915    # FIXME: should be removed in autoconf 3.0.
1916    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1917    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1918      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1919    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1920    ;;
1921
1922  esac
1923done
1924
1925if test -n "$ac_prev"; then
1926  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1927  as_fn_error $? "missing argument to $ac_option"
1928fi
1929
1930if test -n "$ac_unrecognized_opts"; then
1931  case $enable_option_checking in
1932    no) ;;
1933    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1934    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1935  esac
1936fi
1937
1938# Check all directory arguments for consistency.
1939for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1940		datadir sysconfdir sharedstatedir localstatedir includedir \
1941		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1942		libdir localedir mandir runstatedir
1943do
1944  eval ac_val=\$$ac_var
1945  # Remove trailing slashes.
1946  case $ac_val in
1947    */ )
1948      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1949      eval $ac_var=\$ac_val;;
1950  esac
1951  # Be sure to have absolute directory names.
1952  case $ac_val in
1953    [\\/$]* | ?:[\\/]* )  continue;;
1954    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1955  esac
1956  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1957done
1958
1959# There might be people who depend on the old broken behavior: `$host'
1960# used to hold the argument of --host etc.
1961# FIXME: To remove some day.
1962build=$build_alias
1963host=$host_alias
1964target=$target_alias
1965
1966# FIXME: To remove some day.
1967if test "x$host_alias" != x; then
1968  if test "x$build_alias" = x; then
1969    cross_compiling=maybe
1970  elif test "x$build_alias" != "x$host_alias"; then
1971    cross_compiling=yes
1972  fi
1973fi
1974
1975ac_tool_prefix=
1976test -n "$host_alias" && ac_tool_prefix=$host_alias-
1977
1978test "$silent" = yes && exec 6>/dev/null
1979
1980
1981ac_pwd=`pwd` && test -n "$ac_pwd" &&
1982ac_ls_di=`ls -di .` &&
1983ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1984  as_fn_error $? "working directory cannot be determined"
1985test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1986  as_fn_error $? "pwd does not report name of working directory"
1987
1988
1989# Find the source files, if location was not specified.
1990if test -z "$srcdir"; then
1991  ac_srcdir_defaulted=yes
1992  # Try the directory containing this script, then the parent directory.
1993  ac_confdir=`$as_dirname -- "$as_myself" ||
1994$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1995	 X"$as_myself" : 'X\(//\)[^/]' \| \
1996	 X"$as_myself" : 'X\(//\)$' \| \
1997	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1998$as_echo X"$as_myself" |
1999    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2000	    s//\1/
2001	    q
2002	  }
2003	  /^X\(\/\/\)[^/].*/{
2004	    s//\1/
2005	    q
2006	  }
2007	  /^X\(\/\/\)$/{
2008	    s//\1/
2009	    q
2010	  }
2011	  /^X\(\/\).*/{
2012	    s//\1/
2013	    q
2014	  }
2015	  s/.*/./; q'`
2016  srcdir=$ac_confdir
2017  if test ! -r "$srcdir/$ac_unique_file"; then
2018    srcdir=..
2019  fi
2020else
2021  ac_srcdir_defaulted=no
2022fi
2023if test ! -r "$srcdir/$ac_unique_file"; then
2024  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2025  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2026fi
2027ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2028ac_abs_confdir=`(
2029	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2030	pwd)`
2031# When building in place, set srcdir=.
2032if test "$ac_abs_confdir" = "$ac_pwd"; then
2033  srcdir=.
2034fi
2035# Remove unnecessary trailing slashes from srcdir.
2036# Double slashes in file names in object file debugging info
2037# mess up M-x gdb in Emacs.
2038case $srcdir in
2039*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2040esac
2041for ac_var in $ac_precious_vars; do
2042  eval ac_env_${ac_var}_set=\${${ac_var}+set}
2043  eval ac_env_${ac_var}_value=\$${ac_var}
2044  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2045  eval ac_cv_env_${ac_var}_value=\$${ac_var}
2046done
2047
2048#
2049# Report the --help message.
2050#
2051if test "$ac_init_help" = "long"; then
2052  # Omit some internal or obsolete options to make the list less imposing.
2053  # This message is too long to be a string in the A/UX 3.1 sh.
2054  cat <<_ACEOF
2055\`configure' configures GStreamer Good Plug-ins 1.16.2 to adapt to many kinds of systems.
2056
2057Usage: $0 [OPTION]... [VAR=VALUE]...
2058
2059To assign environment variables (e.g., CC, CFLAGS...), specify them as
2060VAR=VALUE.  See below for descriptions of some of the useful variables.
2061
2062Defaults for the options are specified in brackets.
2063
2064Configuration:
2065  -h, --help              display this help and exit
2066      --help=short        display options specific to this package
2067      --help=recursive    display the short help of all the included packages
2068  -V, --version           display version information and exit
2069  -q, --quiet, --silent   do not print \`checking ...' messages
2070      --cache-file=FILE   cache test results in FILE [disabled]
2071  -C, --config-cache      alias for \`--cache-file=config.cache'
2072  -n, --no-create         do not create output files
2073      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
2074
2075Installation directories:
2076  --prefix=PREFIX         install architecture-independent files in PREFIX
2077                          [$ac_default_prefix]
2078  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
2079                          [PREFIX]
2080
2081By default, \`make install' will install all the files in
2082\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
2083an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2084for instance \`--prefix=\$HOME'.
2085
2086For better control, use the options below.
2087
2088Fine tuning of the installation directories:
2089  --bindir=DIR            user executables [EPREFIX/bin]
2090  --sbindir=DIR           system admin executables [EPREFIX/sbin]
2091  --libexecdir=DIR        program executables [EPREFIX/libexec]
2092  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
2093  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
2094  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
2095  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
2096  --libdir=DIR            object code libraries [EPREFIX/lib]
2097  --includedir=DIR        C header files [PREFIX/include]
2098  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
2099  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
2100  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
2101  --infodir=DIR           info documentation [DATAROOTDIR/info]
2102  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
2103  --mandir=DIR            man documentation [DATAROOTDIR/man]
2104  --docdir=DIR            documentation root
2105                          [DATAROOTDIR/doc/gst-plugins-good]
2106  --htmldir=DIR           html documentation [DOCDIR]
2107  --dvidir=DIR            dvi documentation [DOCDIR]
2108  --pdfdir=DIR            pdf documentation [DOCDIR]
2109  --psdir=DIR             ps documentation [DOCDIR]
2110_ACEOF
2111
2112  cat <<\_ACEOF
2113
2114Program names:
2115  --program-prefix=PREFIX            prepend PREFIX to installed program names
2116  --program-suffix=SUFFIX            append SUFFIX to installed program names
2117  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
2118
2119System types:
2120  --build=BUILD     configure for building on BUILD [guessed]
2121  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
2122  --target=TARGET   configure for building compilers for TARGET [HOST]
2123_ACEOF
2124fi
2125
2126if test -n "$ac_init_help"; then
2127  case $ac_init_help in
2128     short | recursive ) echo "Configuration of GStreamer Good Plug-ins 1.16.2:";;
2129   esac
2130  cat <<\_ACEOF
2131
2132Optional Features:
2133  --disable-option-checking  ignore unrecognized --enable/--with options
2134  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2135  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2136  --enable-silent-rules   less verbose build output (undo: "make V=1")
2137  --disable-silent-rules  verbose build output (undo: "make V=0")
2138  --disable-maintainer-mode
2139                          disable make rules and dependencies not useful (and
2140                          sometimes confusing) to the casual installer
2141  --enable-static[=PKGS]  build static libraries [default=no]
2142  --enable-shared[=PKGS]  build shared libraries [default=yes]
2143  --enable-fast-install[=PKGS]
2144                          optimize for fast installation [default=yes]
2145  --enable-dependency-tracking
2146                          do not reject slow dependency extractors
2147  --disable-dependency-tracking
2148                          speeds up one-time build
2149  --disable-libtool-lock  avoid locking (might break parallel builds)
2150  --disable-nls           do not use Native Language Support
2151  --disable-rpath         do not hardcode runtime library paths
2152  --disable-fatal-warnings
2153                          Don't turn compiler warnings into fatal errors
2154  --enable-extra-checks   Enable extra runtime checks
2155  --disable-debug         disable addition of -g debugging info
2156  --enable-profiling      adds -pg to compiler commandline, for profiling
2157  --disable-valgrind      disable run-time valgrind detection
2158  --enable-gcov           compile with coverage profiling instrumentation (gcc
2159                          only)
2160  --disable-examples      disable building examples
2161  --disable-external           disable building of plug-ins with external deps
2162  --enable-experimental        enable building of experimental plug-ins
2163  --disable-largefile     omit support for large files
2164  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
2165  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
2166  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
2167  --enable-gobject-cast-checks=[no/auto/yes]
2168                          Enable GObject cast checks
2169  --enable-glib-asserts=[no/yes]
2170                          Enable GLib assertion
2171  --enable-orc            use Orc if installed
2172  --disable-Bsymbolic     avoid linking with -Bsymbolic
2173  --disable-alpha         disable dependency-less alpha plugin
2174  --disable-apetag        disable dependency-less apetag plugin
2175  --disable-audiofx       disable dependency-less audiofx plugin
2176  --disable-audioparsers  disable dependency-less audioparsers plugin
2177  --disable-auparse       disable dependency-less auparse plugin
2178  --disable-autodetect    disable dependency-less autodetect plugin
2179  --disable-avi           disable dependency-less avi plugin
2180  --disable-cutter        disable dependency-less cutter plugin
2181  --disable-debugutils    disable dependency-less debugutils plugin
2182  --disable-deinterlace   disable dependency-less deinterlace plugin
2183  --disable-dtmf          disable dependency-less dtmf plugin
2184  --disable-effectv       disable dependency-less effectv plugin
2185  --disable-equalizer     disable dependency-less equalizer plugin
2186  --disable-flv           disable dependency-less flv plugin
2187  --disable-flx           disable dependency-less flx plugin
2188  --disable-goom          disable dependency-less goom plugin
2189  --disable-goom2k1       disable dependency-less goom2k1 plugin
2190  --disable-icydemux      disable dependency-less icydemux plugin
2191  --disable-id3demux      disable dependency-less id3demux plugin
2192  --disable-imagefreeze   disable dependency-less imagefreeze plugin
2193  --disable-interleave    disable dependency-less interleave plugin
2194  --disable-isomp4        disable dependency-less isomp4 plugin
2195  --disable-law           disable dependency-less law plugin
2196  --disable-level         disable dependency-less level plugin
2197  --disable-matroska      disable dependency-less matroska plugin
2198  --disable-monoscope     disable dependency-less monoscope plugin
2199  --disable-multifile     disable dependency-less multifile plugin
2200  --disable-multipart     disable dependency-less multipart plugin
2201  --disable-replaygain    disable dependency-less replaygain plugin
2202  --disable-rtp           disable dependency-less rtp plugin
2203  --disable-rtpmanager    disable dependency-less rtpmanager plugin
2204  --disable-rtsp          disable dependency-less rtsp plugin
2205  --disable-shapewipe     disable dependency-less shapewipe plugin
2206  --disable-smpte         disable dependency-less smpte plugin
2207  --disable-spectrum      disable dependency-less spectrum plugin
2208  --disable-udp           disable dependency-less udp plugin
2209  --disable-videobox      disable dependency-less videobox plugin
2210  --disable-videocrop     disable dependency-less videocrop plugin
2211  --disable-videofilter   disable dependency-less videofilter plugin
2212  --disable-videomixer    disable dependency-less videomixer plugin
2213  --disable-wavenc        disable dependency-less wavenc plugin
2214  --disable-wavparse      disable dependency-less wavparse plugin
2215  --disable-y4m           disable dependency-less y4m plugin
2216  --disable-directsound        disable DirectSound plug-in: directsoundsink
2217  --disable-waveform           disable Win32 WaveForm: waveformsink
2218  --disable-oss                disable OSS audio: ossaudio
2219  --disable-oss4               disable Open Sound System 4: oss4
2220  --disable-osx_audio          disable OSX audio: osxaudio
2221  --disable-osx_video          disable OSX video: osxvideosink
2222  --disable-gst_v4l2           disable Video 4 Linux 2: video4linux2
2223  --enable-v4l2-probe     enable V4L2 plugin to probe devices
2224  --disable-x                  disable X libraries and plugins: ximagesrc
2225  --disable-aalib              disable aalib ASCII Art library: aasink
2226  --disable-aalibtest     do not try to compile and run a test AALIB program
2227  --disable-cairo              disable Cairo graphics rendering and gobject bindings: cairo
2228  --disable-flac               disable FLAC lossless audio: flac
2229  --disable-gdk_pixbuf         disable GDK pixbuf: gdkpixbuf
2230  --disable-gtk3               disable Gtk+ elements: gtk
2231  --disable-jack               disable Jack: jack
2232  --disable-jpeg               disable jpeg library: jpeg
2233  --disable-lame               disable lame mp3 encoder library: lame
2234  --disable-libcaca            disable libcaca coloured ASCII art: cacasink
2235  --disable-libdv              disable libdv DV demuxer/decoder: dv
2236  --disable-libpng             disable Portable Network Graphics library: png
2237  --disable-mpg123             disable mpg123 audio decoder: mpg123
2238  --disable-pulse              disable pulseaudio plug-in: pulseaudio
2239  --disable-dv1394             disable raw1394 and avc1394 library: 1394
2240  --disable-qt                 disable Qt elements: qt
2241  --disable-shout2             disable Shoutcast/Icecast client library: shout2
2242  --disable-soup               disable soup http client plugin (2.4): souphttpsrc
2243  --disable-speex              disable speex speech codec: speex
2244  --disable-taglib             disable taglib tagging library: taglib
2245  --disable-twolame            disable twolame: twolame
2246  --disable-vpx                disable VPX decoder: vpx
2247  --disable-wavpack            disable wavpack plug-in: wavpack
2248  --disable-zlib               disable zlib support for qtdemux/matroska
2249  --disable-bz2                disable bz2 library for matroska
2250
2251Optional Packages:
2252  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2253  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2254  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
2255                          both]
2256  --with-aix-soname=aix|svr4|both
2257                          shared library versioning (aka "SONAME") variant to
2258                          provide on AIX, [default=aix].
2259  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
2260  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
2261                          compiler's sysroot if not specified).
2262  --with-autoconf         use a different autoconf for regeneration of
2263                          Makefiles
2264  --with-autoheader       use a different autoheader for regeneration of
2265                          Makefiles
2266  --with-automake         use a different automake for regeneration of
2267                          Makefiles
2268  --with-aclocal          use a different aclocal for regeneration of
2269                          Makefiles
2270  --with-gnu-ld           assume the C compiler uses GNU ld default=no
2271  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
2272  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
2273  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
2274  --without-libintl-prefix     don't search for libintl in includedir and libdir
2275  --with-pkg-config-path  colon-separated list of pkg-config(1) dirs
2276  --with-package-name     specify package name to use in plugins
2277  --with-package-origin   specify package origin URL to use in plugins
2278  --with-plugins          comma-separated list of dependencyless plug-ins to
2279                          compile
2280  --with-html-dir=PATH    path to installed docs
2281  --with-default-audiosink
2282                          specify default audio sink
2283  --with-default-audiosrc specify default audio source
2284  --with-default-videosink
2285                          specify default video sink
2286  --with-default-videosrc specify default video source
2287  --with-default-visualizer
2288                          specify default visualizer
2289  --with-gudev            device detection with gudev
2290  --with-libv4l2          support video buffer conversion using libv4l2
2291  --with-aalib-prefix=PFX prefix where AALIB is installed (optional)
2292  --with-aalib-exec-prefix=PFX
2293                          exec prefix where AALIB is installed (optional)
2294  --with-jpeg-mmx, path to MMX'ified JPEG library
2295  --with-moc              Set location of qt moc tool
2296  --with-rcc              Set location of qt rcc tool
2297  --with-uic              Set location of qt uic tool
2298
2299Some influential environment variables:
2300  CC          C compiler command
2301  CFLAGS      C compiler flags
2302  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2303              nonstandard directory <lib dir>
2304  LIBS        libraries to pass to the linker, e.g. -l<library>
2305  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2306              you have headers in a nonstandard directory <include dir>
2307  LT_SYS_LIBRARY_PATH
2308              User-defined run-time library search path.
2309  CPP         C preprocessor
2310  PKG_CONFIG  path to pkg-config utility
2311  VALGRIND_CFLAGS
2312              C compiler flags for VALGRIND, overriding pkg-config
2313  VALGRIND_LIBS
2314              linker flags for VALGRIND, overriding pkg-config
2315  CXX         C++ compiler command
2316  CXXFLAGS    C++ compiler flags
2317  CXXCPP      C++ preprocessor
2318  OBJC        Objective C compiler command
2319  OBJCFLAGS   Objective C compiler flags
2320  CCAS        assembler compiler command (defaults to CC)
2321  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
2322  GTKDOC_DEPS_CFLAGS
2323              C compiler flags for GTKDOC_DEPS, overriding pkg-config
2324  GTKDOC_DEPS_LIBS
2325              linker flags for GTKDOC_DEPS, overriding pkg-config
2326  PYTHON      the Python interpreter
2327  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2328  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
2329  GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
2330  GIO_LIBS    linker flags for GIO, overriding pkg-config
2331  ORC_CFLAGS  C compiler flags for ORC, overriding pkg-config
2332  ORC_LIBS    linker flags for ORC, overriding pkg-config
2333  GST_CFLAGS  C compiler flags for GST, overriding pkg-config
2334  GST_LIBS    linker flags for GST, overriding pkg-config
2335  GST_BASE_CFLAGS
2336              C compiler flags for GST_BASE, overriding pkg-config
2337  GST_BASE_LIBS
2338              linker flags for GST_BASE, overriding pkg-config
2339  GST_CONTROLLER_CFLAGS
2340              C compiler flags for GST_CONTROLLER, overriding pkg-config
2341  GST_CONTROLLER_LIBS
2342              linker flags for GST_CONTROLLER, overriding pkg-config
2343  GST_NET_CFLAGS
2344              C compiler flags for GST_NET, overriding pkg-config
2345  GST_NET_LIBS
2346              linker flags for GST_NET, overriding pkg-config
2347  GST_CHECK_CFLAGS
2348              C compiler flags for GST_CHECK, overriding pkg-config
2349  GST_CHECK_LIBS
2350              linker flags for GST_CHECK, overriding pkg-config
2351  GST_PLUGINS_BASE_CFLAGS
2352              C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
2353  GST_PLUGINS_BASE_LIBS
2354              linker flags for GST_PLUGINS_BASE, overriding pkg-config
2355  GST_GL_CFLAGS
2356              C compiler flags for GST_GL, overriding pkg-config
2357  GST_GL_LIBS linker flags for GST_GL, overriding pkg-config
2358  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
2359  GTK_LIBS    linker flags for GTK, overriding pkg-config
2360  GTK_X11_CFLAGS
2361              C compiler flags for GTK_X11, overriding pkg-config
2362  GTK_X11_LIBS
2363              linker flags for GTK_X11, overriding pkg-config
2364  GUDEV_CFLAGS
2365              C compiler flags for GUDEV, overriding pkg-config
2366  GUDEV_LIBS  linker flags for GUDEV, overriding pkg-config
2367  LIBV4L2_CFLAGS
2368              C compiler flags for LIBV4L2, overriding pkg-config
2369  LIBV4L2_LIBS
2370              linker flags for LIBV4L2, overriding pkg-config
2371  X_CFLAGS    C compiler flags for X, overriding pkg-config
2372  X_LIBS      linker flags for X, overriding pkg-config
2373  XFIXES_CFLAGS
2374              C compiler flags for XFIXES, overriding pkg-config
2375  XFIXES_LIBS linker flags for XFIXES, overriding pkg-config
2376  XDAMAGE_CFLAGS
2377              C compiler flags for XDAMAGE, overriding pkg-config
2378  XDAMAGE_LIBS
2379              linker flags for XDAMAGE, overriding pkg-config
2380  XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
2381  XEXT_LIBS   linker flags for XEXT, overriding pkg-config
2382  CAIRO_CFLAGS
2383              C compiler flags for CAIRO, overriding pkg-config
2384  CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
2385  FLAC_CFLAGS C compiler flags for FLAC, overriding pkg-config
2386  FLAC_LIBS   linker flags for FLAC, overriding pkg-config
2387  GDK_PIXBUF_CFLAGS
2388              C compiler flags for GDK_PIXBUF, overriding pkg-config
2389  GDK_PIXBUF_LIBS
2390              linker flags for GDK_PIXBUF, overriding pkg-config
2391  GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config
2392  GTK3_LIBS   linker flags for GTK3, overriding pkg-config
2393  GTK3_GL_CFLAGS
2394              C compiler flags for GTK3_GL, overriding pkg-config
2395  GTK3_GL_LIBS
2396              linker flags for GTK3_GL, overriding pkg-config
2397  GTK3_X11_CFLAGS
2398              C compiler flags for GTK3_X11, overriding pkg-config
2399  GTK3_X11_LIBS
2400              linker flags for GTK3_X11, overriding pkg-config
2401  GTK3_WAYLAND_CFLAGS
2402              C compiler flags for GTK3_WAYLAND, overriding pkg-config
2403  GTK3_WAYLAND_LIBS
2404              linker flags for GTK3_WAYLAND, overriding pkg-config
2405  JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
2406  JACK_LIBS   linker flags for JACK, overriding pkg-config
2407  JACK_0_120_1_CFLAGS
2408              C compiler flags for JACK_0_120_1, overriding pkg-config
2409  JACK_0_120_1_LIBS
2410              linker flags for JACK_0_120_1, overriding pkg-config
2411  JACK_1_9_7_CFLAGS
2412              C compiler flags for JACK_1_9_7, overriding pkg-config
2413  JACK_1_9_7_LIBS
2414              linker flags for JACK_1_9_7, overriding pkg-config
2415  LIBCACA_CFLAGS
2416              C compiler flags for LIBCACA, overriding pkg-config
2417  LIBCACA_LIBS
2418              linker flags for LIBCACA, overriding pkg-config
2419  LIBDV_CFLAGS
2420              C compiler flags for LIBDV, overriding pkg-config
2421  LIBDV_LIBS  linker flags for LIBDV, overriding pkg-config
2422  LIBPNG_CFLAGS
2423              C compiler flags for LIBPNG, overriding pkg-config
2424  LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
2425  LIBPNG_1_5_CFLAGS
2426              C compiler flags for LIBPNG_1_5, overriding pkg-config
2427  LIBPNG_1_5_LIBS
2428              linker flags for LIBPNG_1_5, overriding pkg-config
2429  MPG123_CFLAGS
2430              C compiler flags for MPG123, overriding pkg-config
2431  MPG123_LIBS linker flags for MPG123, overriding pkg-config
2432  PULSE_CFLAGS
2433              C compiler flags for PULSE, overriding pkg-config
2434  PULSE_LIBS  linker flags for PULSE, overriding pkg-config
2435  RAW1394_CFLAGS
2436              C compiler flags for RAW1394, overriding pkg-config
2437  RAW1394_LIBS
2438              linker flags for RAW1394, overriding pkg-config
2439  LIBIEC61883_CFLAGS
2440              C compiler flags for LIBIEC61883, overriding pkg-config
2441  LIBIEC61883_LIBS
2442              linker flags for LIBIEC61883, overriding pkg-config
2443  QT_CFLAGS   C compiler flags for QT, overriding pkg-config
2444  QT_LIBS     linker flags for QT, overriding pkg-config
2445  QT_X11_CFLAGS
2446              C compiler flags for QT_X11, overriding pkg-config
2447  QT_X11_LIBS linker flags for QT_X11, overriding pkg-config
2448  QT_WAYLAND_CFLAGS
2449              C compiler flags for QT_WAYLAND, overriding pkg-config
2450  QT_WAYLAND_LIBS
2451              linker flags for QT_WAYLAND, overriding pkg-config
2452  QT_ANDROID_CFLAGS
2453              C compiler flags for QT_ANDROID, overriding pkg-config
2454  QT_ANDROID_LIBS
2455              linker flags for QT_ANDROID, overriding pkg-config
2456  GNUSTL_CFLAGS
2457              C compiler flags for GNUSTL, overriding pkg-config
2458  GNUSTL_LIBS linker flags for GNUSTL, overriding pkg-config
2459  QT_MAC_CFLAGS
2460              C compiler flags for QT_MAC, overriding pkg-config
2461  QT_MAC_LIBS linker flags for QT_MAC, overriding pkg-config
2462  SHOUT2_CFLAGS
2463              C compiler flags for SHOUT2, overriding pkg-config
2464  SHOUT2_LIBS linker flags for SHOUT2, overriding pkg-config
2465  SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
2466  SOUP_LIBS   linker flags for SOUP, overriding pkg-config
2467  SPEEX_CFLAGS
2468              C compiler flags for SPEEX, overriding pkg-config
2469  SPEEX_LIBS  linker flags for SPEEX, overriding pkg-config
2470  TAGLIB_CFLAGS
2471              C compiler flags for TAGLIB, overriding pkg-config
2472  TAGLIB_LIBS linker flags for TAGLIB, overriding pkg-config
2473  TWOLAME_CFLAGS
2474              C compiler flags for TWOLAME, overriding pkg-config
2475  TWOLAME_LIBS
2476              linker flags for TWOLAME, overriding pkg-config
2477  VPX_CFLAGS  C compiler flags for VPX, overriding pkg-config
2478  VPX_LIBS    linker flags for VPX, overriding pkg-config
2479  VPX_130_CFLAGS
2480              C compiler flags for VPX_130, overriding pkg-config
2481  VPX_130_LIBS
2482              linker flags for VPX_130, overriding pkg-config
2483  VPX_140_CFLAGS
2484              C compiler flags for VPX_140, overriding pkg-config
2485  VPX_140_LIBS
2486              linker flags for VPX_140, overriding pkg-config
2487  VPX_180_CFLAGS
2488              C compiler flags for VPX_180, overriding pkg-config
2489  VPX_180_LIBS
2490              linker flags for VPX_180, overriding pkg-config
2491  WAVPACK_CFLAGS
2492              C compiler flags for WAVPACK, overriding pkg-config
2493  WAVPACK_LIBS
2494              linker flags for WAVPACK, overriding pkg-config
2495
2496Use these variables to override the choices made by `configure' or to help
2497it to find libraries and programs with nonstandard names/locations.
2498
2499Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
2500_ACEOF
2501ac_status=$?
2502fi
2503
2504if test "$ac_init_help" = "recursive"; then
2505  # If there are subdirs, report their specific --help.
2506  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2507    test -d "$ac_dir" ||
2508      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2509      continue
2510    ac_builddir=.
2511
2512case "$ac_dir" in
2513.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2514*)
2515  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2516  # A ".." for each directory in $ac_dir_suffix.
2517  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2518  case $ac_top_builddir_sub in
2519  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2520  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2521  esac ;;
2522esac
2523ac_abs_top_builddir=$ac_pwd
2524ac_abs_builddir=$ac_pwd$ac_dir_suffix
2525# for backward compatibility:
2526ac_top_builddir=$ac_top_build_prefix
2527
2528case $srcdir in
2529  .)  # We are building in place.
2530    ac_srcdir=.
2531    ac_top_srcdir=$ac_top_builddir_sub
2532    ac_abs_top_srcdir=$ac_pwd ;;
2533  [\\/]* | ?:[\\/]* )  # Absolute name.
2534    ac_srcdir=$srcdir$ac_dir_suffix;
2535    ac_top_srcdir=$srcdir
2536    ac_abs_top_srcdir=$srcdir ;;
2537  *) # Relative name.
2538    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2539    ac_top_srcdir=$ac_top_build_prefix$srcdir
2540    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2541esac
2542ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2543
2544    cd "$ac_dir" || { ac_status=$?; continue; }
2545    # Check for guested configure.
2546    if test -f "$ac_srcdir/configure.gnu"; then
2547      echo &&
2548      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2549    elif test -f "$ac_srcdir/configure"; then
2550      echo &&
2551      $SHELL "$ac_srcdir/configure" --help=recursive
2552    else
2553      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2554    fi || ac_status=$?
2555    cd "$ac_pwd" || { ac_status=$?; break; }
2556  done
2557fi
2558
2559test -n "$ac_init_help" && exit $ac_status
2560if $ac_init_version; then
2561  cat <<\_ACEOF
2562GStreamer Good Plug-ins configure 1.16.2
2563generated by GNU Autoconf 2.69
2564
2565Copyright (C) 2012 Free Software Foundation, Inc.
2566This configure script is free software; the Free Software Foundation
2567gives unlimited permission to copy, distribute and modify it.
2568_ACEOF
2569  exit
2570fi
2571
2572## ------------------------ ##
2573## Autoconf initialization. ##
2574## ------------------------ ##
2575
2576# ac_fn_c_try_compile LINENO
2577# --------------------------
2578# Try to compile conftest.$ac_ext, and return whether this succeeded.
2579ac_fn_c_try_compile ()
2580{
2581  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2582  rm -f conftest.$ac_objext
2583  if { { ac_try="$ac_compile"
2584case "(($ac_try" in
2585  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586  *) ac_try_echo=$ac_try;;
2587esac
2588eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2589$as_echo "$ac_try_echo"; } >&5
2590  (eval "$ac_compile") 2>conftest.err
2591  ac_status=$?
2592  if test -s conftest.err; then
2593    grep -v '^ *+' conftest.err >conftest.er1
2594    cat conftest.er1 >&5
2595    mv -f conftest.er1 conftest.err
2596  fi
2597  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2598  test $ac_status = 0; } && {
2599	 test -z "$ac_c_werror_flag" ||
2600	 test ! -s conftest.err
2601       } && test -s conftest.$ac_objext; then :
2602  ac_retval=0
2603else
2604  $as_echo "$as_me: failed program was:" >&5
2605sed 's/^/| /' conftest.$ac_ext >&5
2606
2607	ac_retval=1
2608fi
2609  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2610  as_fn_set_status $ac_retval
2611
2612} # ac_fn_c_try_compile
2613
2614# ac_fn_c_try_link LINENO
2615# -----------------------
2616# Try to link conftest.$ac_ext, and return whether this succeeded.
2617ac_fn_c_try_link ()
2618{
2619  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2620  rm -f conftest.$ac_objext conftest$ac_exeext
2621  if { { ac_try="$ac_link"
2622case "(($ac_try" in
2623  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2624  *) ac_try_echo=$ac_try;;
2625esac
2626eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2627$as_echo "$ac_try_echo"; } >&5
2628  (eval "$ac_link") 2>conftest.err
2629  ac_status=$?
2630  if test -s conftest.err; then
2631    grep -v '^ *+' conftest.err >conftest.er1
2632    cat conftest.er1 >&5
2633    mv -f conftest.er1 conftest.err
2634  fi
2635  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2636  test $ac_status = 0; } && {
2637	 test -z "$ac_c_werror_flag" ||
2638	 test ! -s conftest.err
2639       } && test -s conftest$ac_exeext && {
2640	 test "$cross_compiling" = yes ||
2641	 test -x conftest$ac_exeext
2642       }; then :
2643  ac_retval=0
2644else
2645  $as_echo "$as_me: failed program was:" >&5
2646sed 's/^/| /' conftest.$ac_ext >&5
2647
2648	ac_retval=1
2649fi
2650  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2651  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2652  # interfere with the next link command; also delete a directory that is
2653  # left behind by Apple's compiler.  We do this before executing the actions.
2654  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2655  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2656  as_fn_set_status $ac_retval
2657
2658} # ac_fn_c_try_link
2659
2660# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2661# -------------------------------------------------------
2662# Tests whether HEADER exists and can be compiled using the include files in
2663# INCLUDES, setting the cache variable VAR accordingly.
2664ac_fn_c_check_header_compile ()
2665{
2666  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2668$as_echo_n "checking for $2... " >&6; }
2669if eval \${$3+:} false; then :
2670  $as_echo_n "(cached) " >&6
2671else
2672  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2673/* end confdefs.h.  */
2674$4
2675#include <$2>
2676_ACEOF
2677if ac_fn_c_try_compile "$LINENO"; then :
2678  eval "$3=yes"
2679else
2680  eval "$3=no"
2681fi
2682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2683fi
2684eval ac_res=\$$3
2685	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2686$as_echo "$ac_res" >&6; }
2687  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2688
2689} # ac_fn_c_check_header_compile
2690
2691# ac_fn_c_try_cpp LINENO
2692# ----------------------
2693# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2694ac_fn_c_try_cpp ()
2695{
2696  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2697  if { { ac_try="$ac_cpp conftest.$ac_ext"
2698case "(($ac_try" in
2699  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2700  *) ac_try_echo=$ac_try;;
2701esac
2702eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2703$as_echo "$ac_try_echo"; } >&5
2704  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2705  ac_status=$?
2706  if test -s conftest.err; then
2707    grep -v '^ *+' conftest.err >conftest.er1
2708    cat conftest.er1 >&5
2709    mv -f conftest.er1 conftest.err
2710  fi
2711  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2712  test $ac_status = 0; } > conftest.i && {
2713	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2714	 test ! -s conftest.err
2715       }; then :
2716  ac_retval=0
2717else
2718  $as_echo "$as_me: failed program was:" >&5
2719sed 's/^/| /' conftest.$ac_ext >&5
2720
2721    ac_retval=1
2722fi
2723  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2724  as_fn_set_status $ac_retval
2725
2726} # ac_fn_c_try_cpp
2727
2728# ac_fn_c_try_run LINENO
2729# ----------------------
2730# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2731# that executables *can* be run.
2732ac_fn_c_try_run ()
2733{
2734  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2735  if { { ac_try="$ac_link"
2736case "(($ac_try" in
2737  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738  *) ac_try_echo=$ac_try;;
2739esac
2740eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741$as_echo "$ac_try_echo"; } >&5
2742  (eval "$ac_link") 2>&5
2743  ac_status=$?
2744  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2746  { { case "(($ac_try" in
2747  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2748  *) ac_try_echo=$ac_try;;
2749esac
2750eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2751$as_echo "$ac_try_echo"; } >&5
2752  (eval "$ac_try") 2>&5
2753  ac_status=$?
2754  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2755  test $ac_status = 0; }; }; then :
2756  ac_retval=0
2757else
2758  $as_echo "$as_me: program exited with status $ac_status" >&5
2759       $as_echo "$as_me: failed program was:" >&5
2760sed 's/^/| /' conftest.$ac_ext >&5
2761
2762       ac_retval=$ac_status
2763fi
2764  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2765  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766  as_fn_set_status $ac_retval
2767
2768} # ac_fn_c_try_run
2769
2770# ac_fn_c_check_func LINENO FUNC VAR
2771# ----------------------------------
2772# Tests whether FUNC exists, setting the cache variable VAR accordingly
2773ac_fn_c_check_func ()
2774{
2775  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2777$as_echo_n "checking for $2... " >&6; }
2778if eval \${$3+:} false; then :
2779  $as_echo_n "(cached) " >&6
2780else
2781  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2782/* end confdefs.h.  */
2783/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2784   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2785#define $2 innocuous_$2
2786
2787/* System header to define __stub macros and hopefully few prototypes,
2788    which can conflict with char $2 (); below.
2789    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2790    <limits.h> exists even on freestanding compilers.  */
2791
2792#ifdef __STDC__
2793# include <limits.h>
2794#else
2795# include <assert.h>
2796#endif
2797
2798#undef $2
2799
2800/* Override any GCC internal prototype to avoid an error.
2801   Use char because int might match the return type of a GCC
2802   builtin and then its argument prototype would still apply.  */
2803#ifdef __cplusplus
2804extern "C"
2805#endif
2806char $2 ();
2807/* The GNU C library defines this for functions which it implements
2808    to always fail with ENOSYS.  Some functions are actually named
2809    something starting with __ and the normal name is an alias.  */
2810#if defined __stub_$2 || defined __stub___$2
2811choke me
2812#endif
2813
2814int
2815main ()
2816{
2817return $2 ();
2818  ;
2819  return 0;
2820}
2821_ACEOF
2822if ac_fn_c_try_link "$LINENO"; then :
2823  eval "$3=yes"
2824else
2825  eval "$3=no"
2826fi
2827rm -f core conftest.err conftest.$ac_objext \
2828    conftest$ac_exeext conftest.$ac_ext
2829fi
2830eval ac_res=\$$3
2831	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2832$as_echo "$ac_res" >&6; }
2833  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2834
2835} # ac_fn_c_check_func
2836
2837# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2838# ---------------------------------------------
2839# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2840# accordingly.
2841ac_fn_c_check_decl ()
2842{
2843  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2844  as_decl_name=`echo $2|sed 's/ *(.*//'`
2845  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2846  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2847$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2848if eval \${$3+:} false; then :
2849  $as_echo_n "(cached) " >&6
2850else
2851  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2852/* end confdefs.h.  */
2853$4
2854int
2855main ()
2856{
2857#ifndef $as_decl_name
2858#ifdef __cplusplus
2859  (void) $as_decl_use;
2860#else
2861  (void) $as_decl_name;
2862#endif
2863#endif
2864
2865  ;
2866  return 0;
2867}
2868_ACEOF
2869if ac_fn_c_try_compile "$LINENO"; then :
2870  eval "$3=yes"
2871else
2872  eval "$3=no"
2873fi
2874rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2875fi
2876eval ac_res=\$$3
2877	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2878$as_echo "$ac_res" >&6; }
2879  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2880
2881} # ac_fn_c_check_decl
2882
2883# ac_fn_cxx_try_compile LINENO
2884# ----------------------------
2885# Try to compile conftest.$ac_ext, and return whether this succeeded.
2886ac_fn_cxx_try_compile ()
2887{
2888  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2889  rm -f conftest.$ac_objext
2890  if { { ac_try="$ac_compile"
2891case "(($ac_try" in
2892  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893  *) ac_try_echo=$ac_try;;
2894esac
2895eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896$as_echo "$ac_try_echo"; } >&5
2897  (eval "$ac_compile") 2>conftest.err
2898  ac_status=$?
2899  if test -s conftest.err; then
2900    grep -v '^ *+' conftest.err >conftest.er1
2901    cat conftest.er1 >&5
2902    mv -f conftest.er1 conftest.err
2903  fi
2904  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2905  test $ac_status = 0; } && {
2906	 test -z "$ac_cxx_werror_flag" ||
2907	 test ! -s conftest.err
2908       } && test -s conftest.$ac_objext; then :
2909  ac_retval=0
2910else
2911  $as_echo "$as_me: failed program was:" >&5
2912sed 's/^/| /' conftest.$ac_ext >&5
2913
2914	ac_retval=1
2915fi
2916  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2917  as_fn_set_status $ac_retval
2918
2919} # ac_fn_cxx_try_compile
2920
2921# ac_fn_cxx_try_cpp LINENO
2922# ------------------------
2923# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2924ac_fn_cxx_try_cpp ()
2925{
2926  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2927  if { { ac_try="$ac_cpp conftest.$ac_ext"
2928case "(($ac_try" in
2929  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930  *) ac_try_echo=$ac_try;;
2931esac
2932eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2933$as_echo "$ac_try_echo"; } >&5
2934  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2935  ac_status=$?
2936  if test -s conftest.err; then
2937    grep -v '^ *+' conftest.err >conftest.er1
2938    cat conftest.er1 >&5
2939    mv -f conftest.er1 conftest.err
2940  fi
2941  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2942  test $ac_status = 0; } > conftest.i && {
2943	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2944	 test ! -s conftest.err
2945       }; then :
2946  ac_retval=0
2947else
2948  $as_echo "$as_me: failed program was:" >&5
2949sed 's/^/| /' conftest.$ac_ext >&5
2950
2951    ac_retval=1
2952fi
2953  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2954  as_fn_set_status $ac_retval
2955
2956} # ac_fn_cxx_try_cpp
2957
2958# ac_fn_cxx_try_link LINENO
2959# -------------------------
2960# Try to link conftest.$ac_ext, and return whether this succeeded.
2961ac_fn_cxx_try_link ()
2962{
2963  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2964  rm -f conftest.$ac_objext conftest$ac_exeext
2965  if { { ac_try="$ac_link"
2966case "(($ac_try" in
2967  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2968  *) ac_try_echo=$ac_try;;
2969esac
2970eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2971$as_echo "$ac_try_echo"; } >&5
2972  (eval "$ac_link") 2>conftest.err
2973  ac_status=$?
2974  if test -s conftest.err; then
2975    grep -v '^ *+' conftest.err >conftest.er1
2976    cat conftest.er1 >&5
2977    mv -f conftest.er1 conftest.err
2978  fi
2979  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2980  test $ac_status = 0; } && {
2981	 test -z "$ac_cxx_werror_flag" ||
2982	 test ! -s conftest.err
2983       } && test -s conftest$ac_exeext && {
2984	 test "$cross_compiling" = yes ||
2985	 test -x conftest$ac_exeext
2986       }; then :
2987  ac_retval=0
2988else
2989  $as_echo "$as_me: failed program was:" >&5
2990sed 's/^/| /' conftest.$ac_ext >&5
2991
2992	ac_retval=1
2993fi
2994  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2995  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2996  # interfere with the next link command; also delete a directory that is
2997  # left behind by Apple's compiler.  We do this before executing the actions.
2998  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2999  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3000  as_fn_set_status $ac_retval
3001
3002} # ac_fn_cxx_try_link
3003
3004# ac_fn_objc_try_compile LINENO
3005# -----------------------------
3006# Try to compile conftest.$ac_ext, and return whether this succeeded.
3007ac_fn_objc_try_compile ()
3008{
3009  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3010  rm -f conftest.$ac_objext
3011  if { { ac_try="$ac_compile"
3012case "(($ac_try" in
3013  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014  *) ac_try_echo=$ac_try;;
3015esac
3016eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3017$as_echo "$ac_try_echo"; } >&5
3018  (eval "$ac_compile") 2>conftest.err
3019  ac_status=$?
3020  if test -s conftest.err; then
3021    grep -v '^ *+' conftest.err >conftest.er1
3022    cat conftest.er1 >&5
3023    mv -f conftest.er1 conftest.err
3024  fi
3025  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3026  test $ac_status = 0; } && {
3027	 test -z "$ac_objc_werror_flag" ||
3028	 test ! -s conftest.err
3029       } && test -s conftest.$ac_objext; then :
3030  ac_retval=0
3031else
3032  $as_echo "$as_me: failed program was:" >&5
3033sed 's/^/| /' conftest.$ac_ext >&5
3034
3035	ac_retval=1
3036fi
3037  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3038  as_fn_set_status $ac_retval
3039
3040} # ac_fn_objc_try_compile
3041
3042# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3043# -------------------------------------------
3044# Tests whether TYPE exists after having included INCLUDES, setting cache
3045# variable VAR accordingly.
3046ac_fn_c_check_type ()
3047{
3048  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3049  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3050$as_echo_n "checking for $2... " >&6; }
3051if eval \${$3+:} false; then :
3052  $as_echo_n "(cached) " >&6
3053else
3054  eval "$3=no"
3055  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056/* end confdefs.h.  */
3057$4
3058int
3059main ()
3060{
3061if (sizeof ($2))
3062	 return 0;
3063  ;
3064  return 0;
3065}
3066_ACEOF
3067if ac_fn_c_try_compile "$LINENO"; then :
3068  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069/* end confdefs.h.  */
3070$4
3071int
3072main ()
3073{
3074if (sizeof (($2)))
3075	    return 0;
3076  ;
3077  return 0;
3078}
3079_ACEOF
3080if ac_fn_c_try_compile "$LINENO"; then :
3081
3082else
3083  eval "$3=yes"
3084fi
3085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3086fi
3087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3088fi
3089eval ac_res=\$$3
3090	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3091$as_echo "$ac_res" >&6; }
3092  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3093
3094} # ac_fn_c_check_type
3095
3096# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
3097# --------------------------------------------
3098# Tries to find the compile-time value of EXPR in a program that includes
3099# INCLUDES, setting VAR accordingly. Returns whether the value could be
3100# computed
3101ac_fn_c_compute_int ()
3102{
3103  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3104  if test "$cross_compiling" = yes; then
3105    # Depending upon the size, compute the lo and hi bounds.
3106cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107/* end confdefs.h.  */
3108$4
3109int
3110main ()
3111{
3112static int test_array [1 - 2 * !(($2) >= 0)];
3113test_array [0] = 0;
3114return test_array [0];
3115
3116  ;
3117  return 0;
3118}
3119_ACEOF
3120if ac_fn_c_try_compile "$LINENO"; then :
3121  ac_lo=0 ac_mid=0
3122  while :; do
3123    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124/* end confdefs.h.  */
3125$4
3126int
3127main ()
3128{
3129static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3130test_array [0] = 0;
3131return test_array [0];
3132
3133  ;
3134  return 0;
3135}
3136_ACEOF
3137if ac_fn_c_try_compile "$LINENO"; then :
3138  ac_hi=$ac_mid; break
3139else
3140  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
3141			if test $ac_lo -le $ac_mid; then
3142			  ac_lo= ac_hi=
3143			  break
3144			fi
3145			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
3146fi
3147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3148  done
3149else
3150  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3151/* end confdefs.h.  */
3152$4
3153int
3154main ()
3155{
3156static int test_array [1 - 2 * !(($2) < 0)];
3157test_array [0] = 0;
3158return test_array [0];
3159
3160  ;
3161  return 0;
3162}
3163_ACEOF
3164if ac_fn_c_try_compile "$LINENO"; then :
3165  ac_hi=-1 ac_mid=-1
3166  while :; do
3167    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3168/* end confdefs.h.  */
3169$4
3170int
3171main ()
3172{
3173static int test_array [1 - 2 * !(($2) >= $ac_mid)];
3174test_array [0] = 0;
3175return test_array [0];
3176
3177  ;
3178  return 0;
3179}
3180_ACEOF
3181if ac_fn_c_try_compile "$LINENO"; then :
3182  ac_lo=$ac_mid; break
3183else
3184  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
3185			if test $ac_mid -le $ac_hi; then
3186			  ac_lo= ac_hi=
3187			  break
3188			fi
3189			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
3190fi
3191rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192  done
3193else
3194  ac_lo= ac_hi=
3195fi
3196rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3197fi
3198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3199# Binary search between lo and hi bounds.
3200while test "x$ac_lo" != "x$ac_hi"; do
3201  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
3202  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203/* end confdefs.h.  */
3204$4
3205int
3206main ()
3207{
3208static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3209test_array [0] = 0;
3210return test_array [0];
3211
3212  ;
3213  return 0;
3214}
3215_ACEOF
3216if ac_fn_c_try_compile "$LINENO"; then :
3217  ac_hi=$ac_mid
3218else
3219  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3220fi
3221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222done
3223case $ac_lo in #((
3224?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3225'') ac_retval=1 ;;
3226esac
3227  else
3228    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3229/* end confdefs.h.  */
3230$4
3231static long int longval () { return $2; }
3232static unsigned long int ulongval () { return $2; }
3233#include <stdio.h>
3234#include <stdlib.h>
3235int
3236main ()
3237{
3238
3239  FILE *f = fopen ("conftest.val", "w");
3240  if (! f)
3241    return 1;
3242  if (($2) < 0)
3243    {
3244      long int i = longval ();
3245      if (i != ($2))
3246	return 1;
3247      fprintf (f, "%ld", i);
3248    }
3249  else
3250    {
3251      unsigned long int i = ulongval ();
3252      if (i != ($2))
3253	return 1;
3254      fprintf (f, "%lu", i);
3255    }
3256  /* Do not output a trailing newline, as this causes \r\n confusion
3257     on some platforms.  */
3258  return ferror (f) || fclose (f) != 0;
3259
3260  ;
3261  return 0;
3262}
3263_ACEOF
3264if ac_fn_c_try_run "$LINENO"; then :
3265  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3266else
3267  ac_retval=1
3268fi
3269rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3270  conftest.$ac_objext conftest.beam conftest.$ac_ext
3271rm -f conftest.val
3272
3273  fi
3274  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3275  as_fn_set_status $ac_retval
3276
3277} # ac_fn_c_compute_int
3278
3279# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3280# -------------------------------------------------------
3281# Tests whether HEADER exists, giving a warning if it cannot be compiled using
3282# the include files in INCLUDES and setting the cache variable VAR
3283# accordingly.
3284ac_fn_c_check_header_mongrel ()
3285{
3286  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3287  if eval \${$3+:} false; then :
3288  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3289$as_echo_n "checking for $2... " >&6; }
3290if eval \${$3+:} false; then :
3291  $as_echo_n "(cached) " >&6
3292fi
3293eval ac_res=\$$3
3294	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3295$as_echo "$ac_res" >&6; }
3296else
3297  # Is the header compilable?
3298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3299$as_echo_n "checking $2 usability... " >&6; }
3300cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301/* end confdefs.h.  */
3302$4
3303#include <$2>
3304_ACEOF
3305if ac_fn_c_try_compile "$LINENO"; then :
3306  ac_header_compiler=yes
3307else
3308  ac_header_compiler=no
3309fi
3310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3312$as_echo "$ac_header_compiler" >&6; }
3313
3314# Is the header present?
3315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3316$as_echo_n "checking $2 presence... " >&6; }
3317cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318/* end confdefs.h.  */
3319#include <$2>
3320_ACEOF
3321if ac_fn_c_try_cpp "$LINENO"; then :
3322  ac_header_preproc=yes
3323else
3324  ac_header_preproc=no
3325fi
3326rm -f conftest.err conftest.i conftest.$ac_ext
3327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3328$as_echo "$ac_header_preproc" >&6; }
3329
3330# So?  What about this header?
3331case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3332  yes:no: )
3333    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3334$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3335    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3336$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3337    ;;
3338  no:yes:* )
3339    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3340$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3341    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
3342$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
3343    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3344$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3345    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
3346$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
3347    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3348$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3349( $as_echo "## ------------------------------------------------------------------------ ##
3350## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
3351## ------------------------------------------------------------------------ ##"
3352     ) | sed "s/^/$as_me: WARNING:     /" >&2
3353    ;;
3354esac
3355  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3356$as_echo_n "checking for $2... " >&6; }
3357if eval \${$3+:} false; then :
3358  $as_echo_n "(cached) " >&6
3359else
3360  eval "$3=\$ac_header_compiler"
3361fi
3362eval ac_res=\$$3
3363	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3364$as_echo "$ac_res" >&6; }
3365fi
3366  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3367
3368} # ac_fn_c_check_header_mongrel
3369cat >config.log <<_ACEOF
3370This file contains any messages produced by compilers while
3371running configure, to aid debugging if configure makes a mistake.
3372
3373It was created by GStreamer Good Plug-ins $as_me 1.16.2, which was
3374generated by GNU Autoconf 2.69.  Invocation command line was
3375
3376  $ $0 $@
3377
3378_ACEOF
3379exec 5>>config.log
3380{
3381cat <<_ASUNAME
3382## --------- ##
3383## Platform. ##
3384## --------- ##
3385
3386hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3387uname -m = `(uname -m) 2>/dev/null || echo unknown`
3388uname -r = `(uname -r) 2>/dev/null || echo unknown`
3389uname -s = `(uname -s) 2>/dev/null || echo unknown`
3390uname -v = `(uname -v) 2>/dev/null || echo unknown`
3391
3392/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3393/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3394
3395/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3396/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3397/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3398/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3399/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3400/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3401/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3402
3403_ASUNAME
3404
3405as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406for as_dir in $PATH
3407do
3408  IFS=$as_save_IFS
3409  test -z "$as_dir" && as_dir=.
3410    $as_echo "PATH: $as_dir"
3411  done
3412IFS=$as_save_IFS
3413
3414} >&5
3415
3416cat >&5 <<_ACEOF
3417
3418
3419## ----------- ##
3420## Core tests. ##
3421## ----------- ##
3422
3423_ACEOF
3424
3425
3426# Keep a trace of the command line.
3427# Strip out --no-create and --no-recursion so they do not pile up.
3428# Strip out --silent because we don't want to record it for future runs.
3429# Also quote any args containing shell meta-characters.
3430# Make two passes to allow for proper duplicate-argument suppression.
3431ac_configure_args=
3432ac_configure_args0=
3433ac_configure_args1=
3434ac_must_keep_next=false
3435for ac_pass in 1 2
3436do
3437  for ac_arg
3438  do
3439    case $ac_arg in
3440    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3441    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3442    | -silent | --silent | --silen | --sile | --sil)
3443      continue ;;
3444    *\'*)
3445      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3446    esac
3447    case $ac_pass in
3448    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3449    2)
3450      as_fn_append ac_configure_args1 " '$ac_arg'"
3451      if test $ac_must_keep_next = true; then
3452	ac_must_keep_next=false # Got value, back to normal.
3453      else
3454	case $ac_arg in
3455	  *=* | --config-cache | -C | -disable-* | --disable-* \
3456	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3457	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3458	  | -with-* | --with-* | -without-* | --without-* | --x)
3459	    case "$ac_configure_args0 " in
3460	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3461	    esac
3462	    ;;
3463	  -* ) ac_must_keep_next=true ;;
3464	esac
3465      fi
3466      as_fn_append ac_configure_args " '$ac_arg'"
3467      ;;
3468    esac
3469  done
3470done
3471{ ac_configure_args0=; unset ac_configure_args0;}
3472{ ac_configure_args1=; unset ac_configure_args1;}
3473
3474# When interrupted or exit'd, cleanup temporary files, and complete
3475# config.log.  We remove comments because anyway the quotes in there
3476# would cause problems or look ugly.
3477# WARNING: Use '\'' to represent an apostrophe within the trap.
3478# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3479trap 'exit_status=$?
3480  # Save into config.log some information that might help in debugging.
3481  {
3482    echo
3483
3484    $as_echo "## ---------------- ##
3485## Cache variables. ##
3486## ---------------- ##"
3487    echo
3488    # The following way of writing the cache mishandles newlines in values,
3489(
3490  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3491    eval ac_val=\$$ac_var
3492    case $ac_val in #(
3493    *${as_nl}*)
3494      case $ac_var in #(
3495      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3496$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3497      esac
3498      case $ac_var in #(
3499      _ | IFS | as_nl) ;; #(
3500      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3501      *) { eval $ac_var=; unset $ac_var;} ;;
3502      esac ;;
3503    esac
3504  done
3505  (set) 2>&1 |
3506    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3507    *${as_nl}ac_space=\ *)
3508      sed -n \
3509	"s/'\''/'\''\\\\'\'''\''/g;
3510	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3511      ;; #(
3512    *)
3513      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3514      ;;
3515    esac |
3516    sort
3517)
3518    echo
3519
3520    $as_echo "## ----------------- ##
3521## Output variables. ##
3522## ----------------- ##"
3523    echo
3524    for ac_var in $ac_subst_vars
3525    do
3526      eval ac_val=\$$ac_var
3527      case $ac_val in
3528      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3529      esac
3530      $as_echo "$ac_var='\''$ac_val'\''"
3531    done | sort
3532    echo
3533
3534    if test -n "$ac_subst_files"; then
3535      $as_echo "## ------------------- ##
3536## File substitutions. ##
3537## ------------------- ##"
3538      echo
3539      for ac_var in $ac_subst_files
3540      do
3541	eval ac_val=\$$ac_var
3542	case $ac_val in
3543	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3544	esac
3545	$as_echo "$ac_var='\''$ac_val'\''"
3546      done | sort
3547      echo
3548    fi
3549
3550    if test -s confdefs.h; then
3551      $as_echo "## ----------- ##
3552## confdefs.h. ##
3553## ----------- ##"
3554      echo
3555      cat confdefs.h
3556      echo
3557    fi
3558    test "$ac_signal" != 0 &&
3559      $as_echo "$as_me: caught signal $ac_signal"
3560    $as_echo "$as_me: exit $exit_status"
3561  } >&5
3562  rm -f core *.core core.conftest.* &&
3563    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3564    exit $exit_status
3565' 0
3566for ac_signal in 1 2 13 15; do
3567  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3568done
3569ac_signal=0
3570
3571# confdefs.h avoids OS command line length limits that DEFS can exceed.
3572rm -f -r conftest* confdefs.h
3573
3574$as_echo "/* confdefs.h */" > confdefs.h
3575
3576# Predefined preprocessor variables.
3577
3578cat >>confdefs.h <<_ACEOF
3579#define PACKAGE_NAME "$PACKAGE_NAME"
3580_ACEOF
3581
3582cat >>confdefs.h <<_ACEOF
3583#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3584_ACEOF
3585
3586cat >>confdefs.h <<_ACEOF
3587#define PACKAGE_VERSION "$PACKAGE_VERSION"
3588_ACEOF
3589
3590cat >>confdefs.h <<_ACEOF
3591#define PACKAGE_STRING "$PACKAGE_STRING"
3592_ACEOF
3593
3594cat >>confdefs.h <<_ACEOF
3595#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3596_ACEOF
3597
3598cat >>confdefs.h <<_ACEOF
3599#define PACKAGE_URL "$PACKAGE_URL"
3600_ACEOF
3601
3602
3603# Let the site file select an alternate cache file if it wants to.
3604# Prefer an explicitly selected file to automatically selected ones.
3605ac_site_file1=NONE
3606ac_site_file2=NONE
3607if test -n "$CONFIG_SITE"; then
3608  # We do not want a PATH search for config.site.
3609  case $CONFIG_SITE in #((
3610    -*)  ac_site_file1=./$CONFIG_SITE;;
3611    */*) ac_site_file1=$CONFIG_SITE;;
3612    *)   ac_site_file1=./$CONFIG_SITE;;
3613  esac
3614elif test "x$prefix" != xNONE; then
3615  ac_site_file1=$prefix/share/config.site
3616  ac_site_file2=$prefix/etc/config.site
3617else
3618  ac_site_file1=$ac_default_prefix/share/config.site
3619  ac_site_file2=$ac_default_prefix/etc/config.site
3620fi
3621for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3622do
3623  test "x$ac_site_file" = xNONE && continue
3624  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3625    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3626$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3627    sed 's/^/| /' "$ac_site_file" >&5
3628    . "$ac_site_file" \
3629      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631as_fn_error $? "failed to load site script $ac_site_file
3632See \`config.log' for more details" "$LINENO" 5; }
3633  fi
3634done
3635
3636if test -r "$cache_file"; then
3637  # Some versions of bash will fail to source /dev/null (special files
3638  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3639  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3640    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3641$as_echo "$as_me: loading cache $cache_file" >&6;}
3642    case $cache_file in
3643      [\\/]* | ?:[\\/]* ) . "$cache_file";;
3644      *)                      . "./$cache_file";;
3645    esac
3646  fi
3647else
3648  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3649$as_echo "$as_me: creating cache $cache_file" >&6;}
3650  >$cache_file
3651fi
3652
3653gt_needs="$gt_needs "
3654as_fn_append ac_header_list " stdlib.h"
3655as_fn_append ac_header_list " unistd.h"
3656as_fn_append ac_header_list " sys/param.h"
3657# Check that the precious variables saved in the cache have kept the same
3658# value.
3659ac_cache_corrupted=false
3660for ac_var in $ac_precious_vars; do
3661  eval ac_old_set=\$ac_cv_env_${ac_var}_set
3662  eval ac_new_set=\$ac_env_${ac_var}_set
3663  eval ac_old_val=\$ac_cv_env_${ac_var}_value
3664  eval ac_new_val=\$ac_env_${ac_var}_value
3665  case $ac_old_set,$ac_new_set in
3666    set,)
3667      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3668$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3669      ac_cache_corrupted=: ;;
3670    ,set)
3671      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3672$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3673      ac_cache_corrupted=: ;;
3674    ,);;
3675    *)
3676      if test "x$ac_old_val" != "x$ac_new_val"; then
3677	# differences in whitespace do not lead to failure.
3678	ac_old_val_w=`echo x $ac_old_val`
3679	ac_new_val_w=`echo x $ac_new_val`
3680	if test "$ac_old_val_w" != "$ac_new_val_w"; then
3681	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3682$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3683	  ac_cache_corrupted=:
3684	else
3685	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3686$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3687	  eval $ac_var=\$ac_old_val
3688	fi
3689	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3690$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3691	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3692$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3693      fi;;
3694  esac
3695  # Pass precious variables to config.status.
3696  if test "$ac_new_set" = set; then
3697    case $ac_new_val in
3698    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3699    *) ac_arg=$ac_var=$ac_new_val ;;
3700    esac
3701    case " $ac_configure_args " in
3702      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3703      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3704    esac
3705  fi
3706done
3707if $ac_cache_corrupted; then
3708  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3709$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3710  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3711$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3712  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3713fi
3714## -------------------- ##
3715## Main body of script. ##
3716## -------------------- ##
3717
3718ac_ext=c
3719ac_cpp='$CPP $CPPFLAGS'
3720ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3721ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3722ac_compiler_gnu=$ac_cv_c_compiler_gnu
3723
3724
3725
3726ac_aux_dir=
3727for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3728  if test -f "$ac_dir/install-sh"; then
3729    ac_aux_dir=$ac_dir
3730    ac_install_sh="$ac_aux_dir/install-sh -c"
3731    break
3732  elif test -f "$ac_dir/install.sh"; then
3733    ac_aux_dir=$ac_dir
3734    ac_install_sh="$ac_aux_dir/install.sh -c"
3735    break
3736  elif test -f "$ac_dir/shtool"; then
3737    ac_aux_dir=$ac_dir
3738    ac_install_sh="$ac_aux_dir/shtool install -c"
3739    break
3740  fi
3741done
3742if test -z "$ac_aux_dir"; then
3743  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3744fi
3745
3746# These three variables are undocumented and unsupported,
3747# and are intended to be withdrawn in a future Autoconf release.
3748# They can cause serious problems if a builder's source tree is in a directory
3749# whose full name contains unusual characters.
3750ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3751ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3752ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3753
3754
3755# Make sure we can run config.sub.
3756$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3757  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3758
3759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3760$as_echo_n "checking build system type... " >&6; }
3761if ${ac_cv_build+:} false; then :
3762  $as_echo_n "(cached) " >&6
3763else
3764  ac_build_alias=$build_alias
3765test "x$ac_build_alias" = x &&
3766  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3767test "x$ac_build_alias" = x &&
3768  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3769ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3770  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3771
3772fi
3773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3774$as_echo "$ac_cv_build" >&6; }
3775case $ac_cv_build in
3776*-*-*) ;;
3777*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3778esac
3779build=$ac_cv_build
3780ac_save_IFS=$IFS; IFS='-'
3781set x $ac_cv_build
3782shift
3783build_cpu=$1
3784build_vendor=$2
3785shift; shift
3786# Remember, the first character of IFS is used to create $*,
3787# except with old shells:
3788build_os=$*
3789IFS=$ac_save_IFS
3790case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3791
3792
3793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3794$as_echo_n "checking host system type... " >&6; }
3795if ${ac_cv_host+:} false; then :
3796  $as_echo_n "(cached) " >&6
3797else
3798  if test "x$host_alias" = x; then
3799  ac_cv_host=$ac_cv_build
3800else
3801  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3802    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3803fi
3804
3805fi
3806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3807$as_echo "$ac_cv_host" >&6; }
3808case $ac_cv_host in
3809*-*-*) ;;
3810*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3811esac
3812host=$ac_cv_host
3813ac_save_IFS=$IFS; IFS='-'
3814set x $ac_cv_host
3815shift
3816host_cpu=$1
3817host_vendor=$2
3818shift; shift
3819# Remember, the first character of IFS is used to create $*,
3820# except with old shells:
3821host_os=$*
3822IFS=$ac_save_IFS
3823case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3824
3825
3826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3827$as_echo_n "checking target system type... " >&6; }
3828if ${ac_cv_target+:} false; then :
3829  $as_echo_n "(cached) " >&6
3830else
3831  if test "x$target_alias" = x; then
3832  ac_cv_target=$ac_cv_host
3833else
3834  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3835    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3836fi
3837
3838fi
3839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3840$as_echo "$ac_cv_target" >&6; }
3841case $ac_cv_target in
3842*-*-*) ;;
3843*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3844esac
3845target=$ac_cv_target
3846ac_save_IFS=$IFS; IFS='-'
3847set x $ac_cv_target
3848shift
3849target_cpu=$1
3850target_vendor=$2
3851shift; shift
3852# Remember, the first character of IFS is used to create $*,
3853# except with old shells:
3854target_os=$*
3855IFS=$ac_save_IFS
3856case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3857
3858
3859# The aliases save the names the user supplied, while $host etc.
3860# will get canonicalized.
3861test -n "$target_alias" &&
3862  test "$program_prefix$program_suffix$program_transform_name" = \
3863    NONENONEs,x,x, &&
3864  program_prefix=${target_alias}-
3865
3866
3867
3868
3869am__api_version='1.16'
3870
3871# Find a good install program.  We prefer a C program (faster),
3872# so one script is as good as another.  But avoid the broken or
3873# incompatible versions:
3874# SysV /etc/install, /usr/sbin/install
3875# SunOS /usr/etc/install
3876# IRIX /sbin/install
3877# AIX /bin/install
3878# AmigaOS /C/install, which installs bootblocks on floppy discs
3879# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3880# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3881# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3882# OS/2's system install, which has a completely different semantic
3883# ./install, which can be erroneously created by make from ./install.sh.
3884# Reject install programs that cannot install multiple files.
3885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3886$as_echo_n "checking for a BSD-compatible install... " >&6; }
3887if test -z "$INSTALL"; then
3888if ${ac_cv_path_install+:} false; then :
3889  $as_echo_n "(cached) " >&6
3890else
3891  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3892for as_dir in $PATH
3893do
3894  IFS=$as_save_IFS
3895  test -z "$as_dir" && as_dir=.
3896    # Account for people who put trailing slashes in PATH elements.
3897case $as_dir/ in #((
3898  ./ | .// | /[cC]/* | \
3899  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3900  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3901  /usr/ucb/* ) ;;
3902  *)
3903    # OSF1 and SCO ODT 3.0 have their own names for install.
3904    # Don't use installbsd from OSF since it installs stuff as root
3905    # by default.
3906    for ac_prog in ginstall scoinst install; do
3907      for ac_exec_ext in '' $ac_executable_extensions; do
3908	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3909	  if test $ac_prog = install &&
3910	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3911	    # AIX install.  It has an incompatible calling convention.
3912	    :
3913	  elif test $ac_prog = install &&
3914	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3915	    # program-specific install script used by HP pwplus--don't use.
3916	    :
3917	  else
3918	    rm -rf conftest.one conftest.two conftest.dir
3919	    echo one > conftest.one
3920	    echo two > conftest.two
3921	    mkdir conftest.dir
3922	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3923	      test -s conftest.one && test -s conftest.two &&
3924	      test -s conftest.dir/conftest.one &&
3925	      test -s conftest.dir/conftest.two
3926	    then
3927	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3928	      break 3
3929	    fi
3930	  fi
3931	fi
3932      done
3933    done
3934    ;;
3935esac
3936
3937  done
3938IFS=$as_save_IFS
3939
3940rm -rf conftest.one conftest.two conftest.dir
3941
3942fi
3943  if test "${ac_cv_path_install+set}" = set; then
3944    INSTALL=$ac_cv_path_install
3945  else
3946    # As a last resort, use the slow shell script.  Don't cache a
3947    # value for INSTALL within a source directory, because that will
3948    # break other packages using the cache if that directory is
3949    # removed, or if the value is a relative name.
3950    INSTALL=$ac_install_sh
3951  fi
3952fi
3953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3954$as_echo "$INSTALL" >&6; }
3955
3956# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3957# It thinks the first close brace ends the variable substitution.
3958test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3959
3960test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3961
3962test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3963
3964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3965$as_echo_n "checking whether build environment is sane... " >&6; }
3966# Reject unsafe characters in $srcdir or the absolute working directory
3967# name.  Accept space and tab only in the latter.
3968am_lf='
3969'
3970case `pwd` in
3971  *[\\\"\#\$\&\'\`$am_lf]*)
3972    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3973esac
3974case $srcdir in
3975  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3976    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3977esac
3978
3979# Do 'set' in a subshell so we don't clobber the current shell's
3980# arguments.  Must try -L first in case configure is actually a
3981# symlink; some systems play weird games with the mod time of symlinks
3982# (eg FreeBSD returns the mod time of the symlink's containing
3983# directory).
3984if (
3985   am_has_slept=no
3986   for am_try in 1 2; do
3987     echo "timestamp, slept: $am_has_slept" > conftest.file
3988     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3989     if test "$*" = "X"; then
3990	# -L didn't work.
3991	set X `ls -t "$srcdir/configure" conftest.file`
3992     fi
3993     if test "$*" != "X $srcdir/configure conftest.file" \
3994	&& test "$*" != "X conftest.file $srcdir/configure"; then
3995
3996	# If neither matched, then we have a broken ls.  This can happen
3997	# if, for instance, CONFIG_SHELL is bash and it inherits a
3998	# broken ls alias from the environment.  This has actually
3999	# happened.  Such a system could not be considered "sane".
4000	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
4001  alias in your environment" "$LINENO" 5
4002     fi
4003     if test "$2" = conftest.file || test $am_try -eq 2; then
4004       break
4005     fi
4006     # Just in case.
4007     sleep 1
4008     am_has_slept=yes
4009   done
4010   test "$2" = conftest.file
4011   )
4012then
4013   # Ok.
4014   :
4015else
4016   as_fn_error $? "newly created file is older than distributed files!
4017Check your system clock" "$LINENO" 5
4018fi
4019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4020$as_echo "yes" >&6; }
4021# If we didn't sleep, we still need to ensure time stamps of config.status and
4022# generated files are strictly newer.
4023am_sleep_pid=
4024if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4025  ( sleep 1 ) &
4026  am_sleep_pid=$!
4027fi
4028
4029rm -f conftest.file
4030
4031test "$program_prefix" != NONE &&
4032  program_transform_name="s&^&$program_prefix&;$program_transform_name"
4033# Use a double $ so make ignores it.
4034test "$program_suffix" != NONE &&
4035  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4036# Double any \ or $.
4037# By default was `s,x,x', remove it if useless.
4038ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4039program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4040
4041# Expand $ac_aux_dir to an absolute path.
4042am_aux_dir=`cd "$ac_aux_dir" && pwd`
4043
4044if test x"${MISSING+set}" != xset; then
4045  case $am_aux_dir in
4046  *\ * | *\	*)
4047    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4048  *)
4049    MISSING="\${SHELL} $am_aux_dir/missing" ;;
4050  esac
4051fi
4052# Use eval to expand $SHELL
4053if eval "$MISSING --is-lightweight"; then
4054  am_missing_run="$MISSING "
4055else
4056  am_missing_run=
4057  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4058$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4059fi
4060
4061if test x"${install_sh+set}" != xset; then
4062  case $am_aux_dir in
4063  *\ * | *\	*)
4064    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4065  *)
4066    install_sh="\${SHELL} $am_aux_dir/install-sh"
4067  esac
4068fi
4069
4070# Installed binaries are usually stripped using 'strip' when the user
4071# run "make install-strip".  However 'strip' might not be the right
4072# tool to use in cross-compilation environments, therefore Automake
4073# will honor the 'STRIP' environment variable to overrule this program.
4074if test "$cross_compiling" != no; then
4075  if test -n "$ac_tool_prefix"; then
4076  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4077set dummy ${ac_tool_prefix}strip; ac_word=$2
4078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4079$as_echo_n "checking for $ac_word... " >&6; }
4080if ${ac_cv_prog_STRIP+:} false; then :
4081  $as_echo_n "(cached) " >&6
4082else
4083  if test -n "$STRIP"; then
4084  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4085else
4086as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4087for as_dir in $PATH
4088do
4089  IFS=$as_save_IFS
4090  test -z "$as_dir" && as_dir=.
4091    for ac_exec_ext in '' $ac_executable_extensions; do
4092  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4093    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4094    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4095    break 2
4096  fi
4097done
4098  done
4099IFS=$as_save_IFS
4100
4101fi
4102fi
4103STRIP=$ac_cv_prog_STRIP
4104if test -n "$STRIP"; then
4105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4106$as_echo "$STRIP" >&6; }
4107else
4108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4109$as_echo "no" >&6; }
4110fi
4111
4112
4113fi
4114if test -z "$ac_cv_prog_STRIP"; then
4115  ac_ct_STRIP=$STRIP
4116  # Extract the first word of "strip", so it can be a program name with args.
4117set dummy strip; ac_word=$2
4118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4119$as_echo_n "checking for $ac_word... " >&6; }
4120if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4121  $as_echo_n "(cached) " >&6
4122else
4123  if test -n "$ac_ct_STRIP"; then
4124  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4125else
4126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127for as_dir in $PATH
4128do
4129  IFS=$as_save_IFS
4130  test -z "$as_dir" && as_dir=.
4131    for ac_exec_ext in '' $ac_executable_extensions; do
4132  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4133    ac_cv_prog_ac_ct_STRIP="strip"
4134    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4135    break 2
4136  fi
4137done
4138  done
4139IFS=$as_save_IFS
4140
4141fi
4142fi
4143ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4144if test -n "$ac_ct_STRIP"; then
4145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4146$as_echo "$ac_ct_STRIP" >&6; }
4147else
4148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4149$as_echo "no" >&6; }
4150fi
4151
4152  if test "x$ac_ct_STRIP" = x; then
4153    STRIP=":"
4154  else
4155    case $cross_compiling:$ac_tool_warned in
4156yes:)
4157{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4158$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4159ac_tool_warned=yes ;;
4160esac
4161    STRIP=$ac_ct_STRIP
4162  fi
4163else
4164  STRIP="$ac_cv_prog_STRIP"
4165fi
4166
4167fi
4168INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4169
4170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4171$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4172if test -z "$MKDIR_P"; then
4173  if ${ac_cv_path_mkdir+:} false; then :
4174  $as_echo_n "(cached) " >&6
4175else
4176  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4178do
4179  IFS=$as_save_IFS
4180  test -z "$as_dir" && as_dir=.
4181    for ac_prog in mkdir gmkdir; do
4182	 for ac_exec_ext in '' $ac_executable_extensions; do
4183	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4184	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4185	     'mkdir (GNU coreutils) '* | \
4186	     'mkdir (coreutils) '* | \
4187	     'mkdir (fileutils) '4.1*)
4188	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4189	       break 3;;
4190	   esac
4191	 done
4192       done
4193  done
4194IFS=$as_save_IFS
4195
4196fi
4197
4198  test -d ./--version && rmdir ./--version
4199  if test "${ac_cv_path_mkdir+set}" = set; then
4200    MKDIR_P="$ac_cv_path_mkdir -p"
4201  else
4202    # As a last resort, use the slow shell script.  Don't cache a
4203    # value for MKDIR_P within a source directory, because that will
4204    # break other packages using the cache if that directory is
4205    # removed, or if the value is a relative name.
4206    MKDIR_P="$ac_install_sh -d"
4207  fi
4208fi
4209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4210$as_echo "$MKDIR_P" >&6; }
4211
4212for ac_prog in gawk mawk nawk awk
4213do
4214  # Extract the first word of "$ac_prog", so it can be a program name with args.
4215set dummy $ac_prog; ac_word=$2
4216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217$as_echo_n "checking for $ac_word... " >&6; }
4218if ${ac_cv_prog_AWK+:} false; then :
4219  $as_echo_n "(cached) " >&6
4220else
4221  if test -n "$AWK"; then
4222  ac_cv_prog_AWK="$AWK" # Let the user override the test.
4223else
4224as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4225for as_dir in $PATH
4226do
4227  IFS=$as_save_IFS
4228  test -z "$as_dir" && as_dir=.
4229    for ac_exec_ext in '' $ac_executable_extensions; do
4230  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4231    ac_cv_prog_AWK="$ac_prog"
4232    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4233    break 2
4234  fi
4235done
4236  done
4237IFS=$as_save_IFS
4238
4239fi
4240fi
4241AWK=$ac_cv_prog_AWK
4242if test -n "$AWK"; then
4243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4244$as_echo "$AWK" >&6; }
4245else
4246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247$as_echo "no" >&6; }
4248fi
4249
4250
4251  test -n "$AWK" && break
4252done
4253
4254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4255$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4256set x ${MAKE-make}
4257ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4258if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4259  $as_echo_n "(cached) " >&6
4260else
4261  cat >conftest.make <<\_ACEOF
4262SHELL = /bin/sh
4263all:
4264	@echo '@@@%%%=$(MAKE)=@@@%%%'
4265_ACEOF
4266# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4267case `${MAKE-make} -f conftest.make 2>/dev/null` in
4268  *@@@%%%=?*=@@@%%%*)
4269    eval ac_cv_prog_make_${ac_make}_set=yes;;
4270  *)
4271    eval ac_cv_prog_make_${ac_make}_set=no;;
4272esac
4273rm -f conftest.make
4274fi
4275if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4277$as_echo "yes" >&6; }
4278  SET_MAKE=
4279else
4280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4281$as_echo "no" >&6; }
4282  SET_MAKE="MAKE=${MAKE-make}"
4283fi
4284
4285rm -rf .tst 2>/dev/null
4286mkdir .tst 2>/dev/null
4287if test -d .tst; then
4288  am__leading_dot=.
4289else
4290  am__leading_dot=_
4291fi
4292rmdir .tst 2>/dev/null
4293
4294# Check whether --enable-silent-rules was given.
4295if test "${enable_silent_rules+set}" = set; then :
4296  enableval=$enable_silent_rules;
4297fi
4298
4299case $enable_silent_rules in # (((
4300  yes) AM_DEFAULT_VERBOSITY=0;;
4301   no) AM_DEFAULT_VERBOSITY=1;;
4302    *) AM_DEFAULT_VERBOSITY=1;;
4303esac
4304am_make=${MAKE-make}
4305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4306$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4307if ${am_cv_make_support_nested_variables+:} false; then :
4308  $as_echo_n "(cached) " >&6
4309else
4310  if $as_echo 'TRUE=$(BAR$(V))
4311BAR0=false
4312BAR1=true
4313V=1
4314am__doit:
4315	@$(TRUE)
4316.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4317  am_cv_make_support_nested_variables=yes
4318else
4319  am_cv_make_support_nested_variables=no
4320fi
4321fi
4322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4323$as_echo "$am_cv_make_support_nested_variables" >&6; }
4324if test $am_cv_make_support_nested_variables = yes; then
4325    AM_V='$(V)'
4326  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4327else
4328  AM_V=$AM_DEFAULT_VERBOSITY
4329  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4330fi
4331AM_BACKSLASH='\'
4332
4333if test "`cd $srcdir && pwd`" != "`pwd`"; then
4334  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4335  # is not polluted with repeated "-I."
4336  am__isrc=' -I$(srcdir)'
4337  # test to see if srcdir already configured
4338  if test -f $srcdir/config.status; then
4339    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4340  fi
4341fi
4342
4343# test whether we have cygpath
4344if test -z "$CYGPATH_W"; then
4345  if (cygpath --version) >/dev/null 2>/dev/null; then
4346    CYGPATH_W='cygpath -w'
4347  else
4348    CYGPATH_W=echo
4349  fi
4350fi
4351
4352
4353# Define the identity of the package.
4354 PACKAGE='gst-plugins-good'
4355 VERSION='1.16.2'
4356
4357
4358cat >>confdefs.h <<_ACEOF
4359#define PACKAGE "$PACKAGE"
4360_ACEOF
4361
4362
4363cat >>confdefs.h <<_ACEOF
4364#define VERSION "$VERSION"
4365_ACEOF
4366
4367# Some tools Automake needs.
4368
4369ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4370
4371
4372AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4373
4374
4375AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4376
4377
4378AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4379
4380
4381MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4382
4383# For better backward compatibility.  To be removed once Automake 1.9.x
4384# dies out for good.  For more background, see:
4385# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4386# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4387mkdir_p='$(MKDIR_P)'
4388
4389# We need awk for the "check" target (and possibly the TAP driver).  The
4390# system "awk" is bad on some platforms.
4391# Always define AMTAR for backward compatibility.  Yes, it's still used
4392# in the wild :-(  We should find a proper way to deprecate it ...
4393AMTAR='$${TAR-tar}'
4394
4395
4396# We'll loop over all known methods to create a tar archive until one works.
4397_am_tools='gnutar plaintar pax cpio none'
4398
4399# The POSIX 1988 'ustar' format is defined with fixed-size fields.
4400      # There is notably a 21 bits limit for the UID and the GID.  In fact,
4401      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
4402      # and bug#13588).
4403      am_max_uid=2097151 # 2^21 - 1
4404      am_max_gid=$am_max_uid
4405      # The $UID and $GID variables are not portable, so we need to resort
4406      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
4407      # below are definitely unexpected, so allow the users to see them
4408      # (that is, avoid stderr redirection).
4409      am_uid=`id -u || echo unknown`
4410      am_gid=`id -g || echo unknown`
4411      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
4412$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
4413      if test $am_uid -le $am_max_uid; then
4414         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4415$as_echo "yes" >&6; }
4416      else
4417         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418$as_echo "no" >&6; }
4419         _am_tools=none
4420      fi
4421      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
4422$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
4423      if test $am_gid -le $am_max_gid; then
4424         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4425$as_echo "yes" >&6; }
4426      else
4427        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4428$as_echo "no" >&6; }
4429        _am_tools=none
4430      fi
4431
4432  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
4433$as_echo_n "checking how to create a ustar tar archive... " >&6; }
4434
4435  # Go ahead even if we have the value already cached.  We do so because we
4436  # need to set the values for the 'am__tar' and 'am__untar' variables.
4437  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
4438
4439  for _am_tool in $_am_tools; do
4440    case $_am_tool in
4441    gnutar)
4442      for _am_tar in tar gnutar gtar; do
4443        { echo "$as_me:$LINENO: $_am_tar --version" >&5
4444   ($_am_tar --version) >&5 2>&5
4445   ac_status=$?
4446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447   (exit $ac_status); } && break
4448      done
4449      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
4450      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
4451      am__untar="$_am_tar -xf -"
4452      ;;
4453    plaintar)
4454      # Must skip GNU tar: if it does not support --format= it doesn't create
4455      # ustar tarball either.
4456      (tar --version) >/dev/null 2>&1 && continue
4457      am__tar='tar chf - "$$tardir"'
4458      am__tar_='tar chf - "$tardir"'
4459      am__untar='tar xf -'
4460      ;;
4461    pax)
4462      am__tar='pax -L -x ustar -w "$$tardir"'
4463      am__tar_='pax -L -x ustar -w "$tardir"'
4464      am__untar='pax -r'
4465      ;;
4466    cpio)
4467      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
4468      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
4469      am__untar='cpio -i -H ustar -d'
4470      ;;
4471    none)
4472      am__tar=false
4473      am__tar_=false
4474      am__untar=false
4475      ;;
4476    esac
4477
4478    # If the value was cached, stop now.  We just wanted to have am__tar
4479    # and am__untar set.
4480    test -n "${am_cv_prog_tar_ustar}" && break
4481
4482    # tar/untar a dummy directory, and stop if the command works.
4483    rm -rf conftest.dir
4484    mkdir conftest.dir
4485    echo GrepMe > conftest.dir/file
4486    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4487   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
4488   ac_status=$?
4489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490   (exit $ac_status); }
4491    rm -rf conftest.dir
4492    if test -s conftest.tar; then
4493      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4494   ($am__untar <conftest.tar) >&5 2>&5
4495   ac_status=$?
4496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497   (exit $ac_status); }
4498      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
4499   (cat conftest.dir/file) >&5 2>&5
4500   ac_status=$?
4501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502   (exit $ac_status); }
4503      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4504    fi
4505  done
4506  rm -rf conftest.dir
4507
4508  if ${am_cv_prog_tar_ustar+:} false; then :
4509  $as_echo_n "(cached) " >&6
4510else
4511  am_cv_prog_tar_ustar=$_am_tool
4512fi
4513
4514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
4515$as_echo "$am_cv_prog_tar_ustar" >&6; }
4516
4517
4518
4519
4520
4521
4522# POSIX will say in a future version that running "rm -f" with no argument
4523# is OK; and we want to be able to make that assumption in our Makefile
4524# recipes.  So use an aggressive probe to check that the usage we want is
4525# actually supported "in the wild" to an acceptable degree.
4526# See automake bug#10828.
4527# To make any issue more visible, cause the running configure to be aborted
4528# by default if the 'rm' program in use doesn't match our expectations; the
4529# user can still override this though.
4530if rm -f && rm -fr && rm -rf; then : OK; else
4531  cat >&2 <<'END'
4532Oops!
4533
4534Your 'rm' program seems unable to run without file operands specified
4535on the command line, even when the '-f' option is present.  This is contrary
4536to the behaviour of most rm programs out there, and not conforming with
4537the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4538
4539Please tell bug-automake@gnu.org about your system, including the value
4540of your $PATH and any error possibly output before this message.  This
4541can help us improve future automake versions.
4542
4543END
4544  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4545    echo 'Configuration will proceed anyway, since you have set the' >&2
4546    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4547    echo >&2
4548  else
4549    cat >&2 <<'END'
4550Aborting the configuration process, to ensure you take notice of the issue.
4551
4552You can download and install GNU coreutils to get an 'rm' implementation
4553that behaves properly: <https://www.gnu.org/software/coreutils/>.
4554
4555If you want to complete the configuration process using your problematic
4556'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4557to "yes", and re-run configure.
4558
4559END
4560    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4561  fi
4562fi
4563
4564
4565
4566  PACKAGE_VERSION_MAJOR=$(echo 1.16.2 | cut -d'.' -f1)
4567  PACKAGE_VERSION_MINOR=$(echo 1.16.2 | cut -d'.' -f2)
4568  PACKAGE_VERSION_MICRO=$(echo 1.16.2 | cut -d'.' -f3)
4569
4570
4571
4572
4573
4574
4575
4576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
4577$as_echo_n "checking nano version... " >&6; }
4578
4579  NANO=$(echo 1.16.2 | cut -d'.' -f4)
4580
4581  if test x"$NANO" = x || test "x$NANO" = "x0" ; then
4582    { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
4583$as_echo "0 (release)" >&6; }
4584    NANO=0
4585    PACKAGE_VERSION_RELEASE=1
4586    GST_GIT="no"
4587  else
4588    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
4589$as_echo "$NANO" >&6; }
4590    PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
4591    if test "x$NANO" != "x1" ; then
4592       GST_GIT="no"
4593    else
4594       GST_GIT="yes"
4595    fi
4596  fi
4597  PACKAGE_VERSION_NANO=$NANO
4598
4599
4600
4601
4602
4603
4604ac_config_headers="$ac_config_headers config.h"
4605
4606
4607
4608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4609$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4610    # Check whether --enable-maintainer-mode was given.
4611if test "${enable_maintainer_mode+set}" = set; then :
4612  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4613else
4614  USE_MAINTAINER_MODE=yes
4615fi
4616
4617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4618$as_echo "$USE_MAINTAINER_MODE" >&6; }
4619   if test $USE_MAINTAINER_MODE = yes; then
4620  MAINTAINER_MODE_TRUE=
4621  MAINTAINER_MODE_FALSE='#'
4622else
4623  MAINTAINER_MODE_TRUE='#'
4624  MAINTAINER_MODE_FALSE=
4625fi
4626
4627  MAINT=$MAINTAINER_MODE_TRUE
4628
4629
4630
4631
4632
4633
4634
4635# Check whether --enable-silent-rules was given.
4636if test "${enable_silent_rules+set}" = set; then :
4637  enableval=$enable_silent_rules;
4638fi
4639
4640case $enable_silent_rules in # (((
4641  yes) AM_DEFAULT_VERBOSITY=0;;
4642   no) AM_DEFAULT_VERBOSITY=1;;
4643    *) AM_DEFAULT_VERBOSITY=0;;
4644esac
4645am_make=${MAKE-make}
4646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4647$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4648if ${am_cv_make_support_nested_variables+:} false; then :
4649  $as_echo_n "(cached) " >&6
4650else
4651  if $as_echo 'TRUE=$(BAR$(V))
4652BAR0=false
4653BAR1=true
4654V=1
4655am__doit:
4656	@$(TRUE)
4657.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4658  am_cv_make_support_nested_variables=yes
4659else
4660  am_cv_make_support_nested_variables=no
4661fi
4662fi
4663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4664$as_echo "$am_cv_make_support_nested_variables" >&6; }
4665if test $am_cv_make_support_nested_variables = yes; then
4666    AM_V='$(V)'
4667  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4668else
4669  AM_V=$AM_DEFAULT_VERBOSITY
4670  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4671fi
4672AM_BACKSLASH='\'
4673
4674
4675GST_API_VERSION=1.0
4676
4677
4678cat >>confdefs.h <<_ACEOF
4679#define GST_API_VERSION "$GST_API_VERSION"
4680_ACEOF
4681
4682
4683
4684        case $host_os in
4685  cygwin* | mingw*)
4686    lt_cv_deplibs_check_method=pass_all
4687    ;;
4688  esac
4689
4690case `pwd` in
4691  *\ * | *\	*)
4692    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4693$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4694esac
4695
4696
4697
4698macro_version='2.4.6'
4699macro_revision='2.4.6'
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713ltmain=$ac_aux_dir/ltmain.sh
4714
4715# Backslashify metacharacters that are still active within
4716# double-quoted strings.
4717sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4718
4719# Same as above, but do not quote variable references.
4720double_quote_subst='s/\(["`\\]\)/\\\1/g'
4721
4722# Sed substitution to delay expansion of an escaped shell variable in a
4723# double_quote_subst'ed string.
4724delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4725
4726# Sed substitution to delay expansion of an escaped single quote.
4727delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4728
4729# Sed substitution to avoid accidental globbing in evaled expressions
4730no_glob_subst='s/\*/\\\*/g'
4731
4732ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4733ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4734ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4735
4736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4737$as_echo_n "checking how to print strings... " >&6; }
4738# Test print first, because it will be a builtin if present.
4739if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4740   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4741  ECHO='print -r --'
4742elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4743  ECHO='printf %s\n'
4744else
4745  # Use this function as a fallback that always works.
4746  func_fallback_echo ()
4747  {
4748    eval 'cat <<_LTECHO_EOF
4749$1
4750_LTECHO_EOF'
4751  }
4752  ECHO='func_fallback_echo'
4753fi
4754
4755# func_echo_all arg...
4756# Invoke $ECHO with all args, space-separated.
4757func_echo_all ()
4758{
4759    $ECHO ""
4760}
4761
4762case $ECHO in
4763  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4764$as_echo "printf" >&6; } ;;
4765  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4766$as_echo "print -r" >&6; } ;;
4767  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4768$as_echo "cat" >&6; } ;;
4769esac
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784DEPDIR="${am__leading_dot}deps"
4785
4786ac_config_commands="$ac_config_commands depfiles"
4787
4788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4789$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4790cat > confinc.mk << 'END'
4791am__doit:
4792	@echo this is the am__doit target >confinc.out
4793.PHONY: am__doit
4794END
4795am__include="#"
4796am__quote=
4797# BSD make does it like this.
4798echo '.include "confinc.mk" # ignored' > confmf.BSD
4799# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4800echo 'include confinc.mk # ignored' > confmf.GNU
4801_am_result=no
4802for s in GNU BSD; do
4803  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4804   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4805   ac_status=$?
4806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807   (exit $ac_status); }
4808  case $?:`cat confinc.out 2>/dev/null` in #(
4809  '0:this is the am__doit target') :
4810    case $s in #(
4811  BSD) :
4812    am__include='.include' am__quote='"' ;; #(
4813  *) :
4814    am__include='include' am__quote='' ;;
4815esac ;; #(
4816  *) :
4817     ;;
4818esac
4819  if test "$am__include" != "#"; then
4820    _am_result="yes ($s style)"
4821    break
4822  fi
4823done
4824rm -f confinc.* confmf.*
4825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4826$as_echo "${_am_result}" >&6; }
4827
4828# Check whether --enable-dependency-tracking was given.
4829if test "${enable_dependency_tracking+set}" = set; then :
4830  enableval=$enable_dependency_tracking;
4831fi
4832
4833if test "x$enable_dependency_tracking" != xno; then
4834  am_depcomp="$ac_aux_dir/depcomp"
4835  AMDEPBACKSLASH='\'
4836  am__nodep='_no'
4837fi
4838 if test "x$enable_dependency_tracking" != xno; then
4839  AMDEP_TRUE=
4840  AMDEP_FALSE='#'
4841else
4842  AMDEP_TRUE='#'
4843  AMDEP_FALSE=
4844fi
4845
4846
4847ac_ext=c
4848ac_cpp='$CPP $CPPFLAGS'
4849ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4850ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4851ac_compiler_gnu=$ac_cv_c_compiler_gnu
4852if test -n "$ac_tool_prefix"; then
4853  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4854set dummy ${ac_tool_prefix}gcc; ac_word=$2
4855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4856$as_echo_n "checking for $ac_word... " >&6; }
4857if ${ac_cv_prog_CC+:} false; then :
4858  $as_echo_n "(cached) " >&6
4859else
4860  if test -n "$CC"; then
4861  ac_cv_prog_CC="$CC" # Let the user override the test.
4862else
4863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4864for as_dir in $PATH
4865do
4866  IFS=$as_save_IFS
4867  test -z "$as_dir" && as_dir=.
4868    for ac_exec_ext in '' $ac_executable_extensions; do
4869  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4870    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4871    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872    break 2
4873  fi
4874done
4875  done
4876IFS=$as_save_IFS
4877
4878fi
4879fi
4880CC=$ac_cv_prog_CC
4881if test -n "$CC"; then
4882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4883$as_echo "$CC" >&6; }
4884else
4885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886$as_echo "no" >&6; }
4887fi
4888
4889
4890fi
4891if test -z "$ac_cv_prog_CC"; then
4892  ac_ct_CC=$CC
4893  # Extract the first word of "gcc", so it can be a program name with args.
4894set dummy gcc; ac_word=$2
4895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896$as_echo_n "checking for $ac_word... " >&6; }
4897if ${ac_cv_prog_ac_ct_CC+:} false; then :
4898  $as_echo_n "(cached) " >&6
4899else
4900  if test -n "$ac_ct_CC"; then
4901  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4902else
4903as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904for as_dir in $PATH
4905do
4906  IFS=$as_save_IFS
4907  test -z "$as_dir" && as_dir=.
4908    for ac_exec_ext in '' $ac_executable_extensions; do
4909  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4910    ac_cv_prog_ac_ct_CC="gcc"
4911    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912    break 2
4913  fi
4914done
4915  done
4916IFS=$as_save_IFS
4917
4918fi
4919fi
4920ac_ct_CC=$ac_cv_prog_ac_ct_CC
4921if test -n "$ac_ct_CC"; then
4922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4923$as_echo "$ac_ct_CC" >&6; }
4924else
4925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926$as_echo "no" >&6; }
4927fi
4928
4929  if test "x$ac_ct_CC" = x; then
4930    CC=""
4931  else
4932    case $cross_compiling:$ac_tool_warned in
4933yes:)
4934{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4935$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4936ac_tool_warned=yes ;;
4937esac
4938    CC=$ac_ct_CC
4939  fi
4940else
4941  CC="$ac_cv_prog_CC"
4942fi
4943
4944if test -z "$CC"; then
4945          if test -n "$ac_tool_prefix"; then
4946    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4947set dummy ${ac_tool_prefix}cc; ac_word=$2
4948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949$as_echo_n "checking for $ac_word... " >&6; }
4950if ${ac_cv_prog_CC+:} false; then :
4951  $as_echo_n "(cached) " >&6
4952else
4953  if test -n "$CC"; then
4954  ac_cv_prog_CC="$CC" # Let the user override the test.
4955else
4956as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957for as_dir in $PATH
4958do
4959  IFS=$as_save_IFS
4960  test -z "$as_dir" && as_dir=.
4961    for ac_exec_ext in '' $ac_executable_extensions; do
4962  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4963    ac_cv_prog_CC="${ac_tool_prefix}cc"
4964    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4965    break 2
4966  fi
4967done
4968  done
4969IFS=$as_save_IFS
4970
4971fi
4972fi
4973CC=$ac_cv_prog_CC
4974if test -n "$CC"; then
4975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4976$as_echo "$CC" >&6; }
4977else
4978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979$as_echo "no" >&6; }
4980fi
4981
4982
4983  fi
4984fi
4985if test -z "$CC"; then
4986  # Extract the first word of "cc", so it can be a program name with args.
4987set dummy cc; ac_word=$2
4988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989$as_echo_n "checking for $ac_word... " >&6; }
4990if ${ac_cv_prog_CC+:} false; then :
4991  $as_echo_n "(cached) " >&6
4992else
4993  if test -n "$CC"; then
4994  ac_cv_prog_CC="$CC" # Let the user override the test.
4995else
4996  ac_prog_rejected=no
4997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4998for as_dir in $PATH
4999do
5000  IFS=$as_save_IFS
5001  test -z "$as_dir" && as_dir=.
5002    for ac_exec_ext in '' $ac_executable_extensions; do
5003  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5004    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5005       ac_prog_rejected=yes
5006       continue
5007     fi
5008    ac_cv_prog_CC="cc"
5009    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5010    break 2
5011  fi
5012done
5013  done
5014IFS=$as_save_IFS
5015
5016if test $ac_prog_rejected = yes; then
5017  # We found a bogon in the path, so make sure we never use it.
5018  set dummy $ac_cv_prog_CC
5019  shift
5020  if test $# != 0; then
5021    # We chose a different compiler from the bogus one.
5022    # However, it has the same basename, so the bogon will be chosen
5023    # first if we set CC to just the basename; use the full file name.
5024    shift
5025    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5026  fi
5027fi
5028fi
5029fi
5030CC=$ac_cv_prog_CC
5031if test -n "$CC"; then
5032  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5033$as_echo "$CC" >&6; }
5034else
5035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5036$as_echo "no" >&6; }
5037fi
5038
5039
5040fi
5041if test -z "$CC"; then
5042  if test -n "$ac_tool_prefix"; then
5043  for ac_prog in cl.exe
5044  do
5045    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5046set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5048$as_echo_n "checking for $ac_word... " >&6; }
5049if ${ac_cv_prog_CC+:} false; then :
5050  $as_echo_n "(cached) " >&6
5051else
5052  if test -n "$CC"; then
5053  ac_cv_prog_CC="$CC" # Let the user override the test.
5054else
5055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5056for as_dir in $PATH
5057do
5058  IFS=$as_save_IFS
5059  test -z "$as_dir" && as_dir=.
5060    for ac_exec_ext in '' $ac_executable_extensions; do
5061  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5062    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5063    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5064    break 2
5065  fi
5066done
5067  done
5068IFS=$as_save_IFS
5069
5070fi
5071fi
5072CC=$ac_cv_prog_CC
5073if test -n "$CC"; then
5074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5075$as_echo "$CC" >&6; }
5076else
5077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078$as_echo "no" >&6; }
5079fi
5080
5081
5082    test -n "$CC" && break
5083  done
5084fi
5085if test -z "$CC"; then
5086  ac_ct_CC=$CC
5087  for ac_prog in cl.exe
5088do
5089  # Extract the first word of "$ac_prog", so it can be a program name with args.
5090set dummy $ac_prog; ac_word=$2
5091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5092$as_echo_n "checking for $ac_word... " >&6; }
5093if ${ac_cv_prog_ac_ct_CC+:} false; then :
5094  $as_echo_n "(cached) " >&6
5095else
5096  if test -n "$ac_ct_CC"; then
5097  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5098else
5099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5100for as_dir in $PATH
5101do
5102  IFS=$as_save_IFS
5103  test -z "$as_dir" && as_dir=.
5104    for ac_exec_ext in '' $ac_executable_extensions; do
5105  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5106    ac_cv_prog_ac_ct_CC="$ac_prog"
5107    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5108    break 2
5109  fi
5110done
5111  done
5112IFS=$as_save_IFS
5113
5114fi
5115fi
5116ac_ct_CC=$ac_cv_prog_ac_ct_CC
5117if test -n "$ac_ct_CC"; then
5118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5119$as_echo "$ac_ct_CC" >&6; }
5120else
5121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122$as_echo "no" >&6; }
5123fi
5124
5125
5126  test -n "$ac_ct_CC" && break
5127done
5128
5129  if test "x$ac_ct_CC" = x; then
5130    CC=""
5131  else
5132    case $cross_compiling:$ac_tool_warned in
5133yes:)
5134{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5135$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5136ac_tool_warned=yes ;;
5137esac
5138    CC=$ac_ct_CC
5139  fi
5140fi
5141
5142fi
5143
5144
5145test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5146$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5147as_fn_error $? "no acceptable C compiler found in \$PATH
5148See \`config.log' for more details" "$LINENO" 5; }
5149
5150# Provide some information about the compiler.
5151$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5152set X $ac_compile
5153ac_compiler=$2
5154for ac_option in --version -v -V -qversion; do
5155  { { ac_try="$ac_compiler $ac_option >&5"
5156case "(($ac_try" in
5157  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5158  *) ac_try_echo=$ac_try;;
5159esac
5160eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5161$as_echo "$ac_try_echo"; } >&5
5162  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5163  ac_status=$?
5164  if test -s conftest.err; then
5165    sed '10a\
5166... rest of stderr output deleted ...
5167         10q' conftest.err >conftest.er1
5168    cat conftest.er1 >&5
5169  fi
5170  rm -f conftest.er1 conftest.err
5171  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5172  test $ac_status = 0; }
5173done
5174
5175cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5176/* end confdefs.h.  */
5177
5178int
5179main ()
5180{
5181
5182  ;
5183  return 0;
5184}
5185_ACEOF
5186ac_clean_files_save=$ac_clean_files
5187ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5188# Try to create an executable without -o first, disregard a.out.
5189# It will help us diagnose broken compilers, and finding out an intuition
5190# of exeext.
5191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5192$as_echo_n "checking whether the C compiler works... " >&6; }
5193ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5194
5195# The possible output files:
5196ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5197
5198ac_rmfiles=
5199for ac_file in $ac_files
5200do
5201  case $ac_file in
5202    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5203    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5204  esac
5205done
5206rm -f $ac_rmfiles
5207
5208if { { ac_try="$ac_link_default"
5209case "(($ac_try" in
5210  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5211  *) ac_try_echo=$ac_try;;
5212esac
5213eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5214$as_echo "$ac_try_echo"; } >&5
5215  (eval "$ac_link_default") 2>&5
5216  ac_status=$?
5217  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5218  test $ac_status = 0; }; then :
5219  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5220# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5221# in a Makefile.  We should not override ac_cv_exeext if it was cached,
5222# so that the user can short-circuit this test for compilers unknown to
5223# Autoconf.
5224for ac_file in $ac_files ''
5225do
5226  test -f "$ac_file" || continue
5227  case $ac_file in
5228    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5229	;;
5230    [ab].out )
5231	# We found the default executable, but exeext='' is most
5232	# certainly right.
5233	break;;
5234    *.* )
5235	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5236	then :; else
5237	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5238	fi
5239	# We set ac_cv_exeext here because the later test for it is not
5240	# safe: cross compilers may not add the suffix if given an `-o'
5241	# argument, so we may need to know it at that point already.
5242	# Even if this section looks crufty: it has the advantage of
5243	# actually working.
5244	break;;
5245    * )
5246	break;;
5247  esac
5248done
5249test "$ac_cv_exeext" = no && ac_cv_exeext=
5250
5251else
5252  ac_file=''
5253fi
5254if test -z "$ac_file"; then :
5255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256$as_echo "no" >&6; }
5257$as_echo "$as_me: failed program was:" >&5
5258sed 's/^/| /' conftest.$ac_ext >&5
5259
5260{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5261$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5262as_fn_error 77 "C compiler cannot create executables
5263See \`config.log' for more details" "$LINENO" 5; }
5264else
5265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5266$as_echo "yes" >&6; }
5267fi
5268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5269$as_echo_n "checking for C compiler default output file name... " >&6; }
5270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5271$as_echo "$ac_file" >&6; }
5272ac_exeext=$ac_cv_exeext
5273
5274rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5275ac_clean_files=$ac_clean_files_save
5276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5277$as_echo_n "checking for suffix of executables... " >&6; }
5278if { { ac_try="$ac_link"
5279case "(($ac_try" in
5280  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5281  *) ac_try_echo=$ac_try;;
5282esac
5283eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5284$as_echo "$ac_try_echo"; } >&5
5285  (eval "$ac_link") 2>&5
5286  ac_status=$?
5287  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5288  test $ac_status = 0; }; then :
5289  # If both `conftest.exe' and `conftest' are `present' (well, observable)
5290# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
5291# work properly (i.e., refer to `conftest.exe'), while it won't with
5292# `rm'.
5293for ac_file in conftest.exe conftest conftest.*; do
5294  test -f "$ac_file" || continue
5295  case $ac_file in
5296    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5297    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5298	  break;;
5299    * ) break;;
5300  esac
5301done
5302else
5303  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5304$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5305as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5306See \`config.log' for more details" "$LINENO" 5; }
5307fi
5308rm -f conftest conftest$ac_cv_exeext
5309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5310$as_echo "$ac_cv_exeext" >&6; }
5311
5312rm -f conftest.$ac_ext
5313EXEEXT=$ac_cv_exeext
5314ac_exeext=$EXEEXT
5315cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5316/* end confdefs.h.  */
5317#include <stdio.h>
5318int
5319main ()
5320{
5321FILE *f = fopen ("conftest.out", "w");
5322 return ferror (f) || fclose (f) != 0;
5323
5324  ;
5325  return 0;
5326}
5327_ACEOF
5328ac_clean_files="$ac_clean_files conftest.out"
5329# Check that the compiler produces executables we can run.  If not, either
5330# the compiler is broken, or we cross compile.
5331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5332$as_echo_n "checking whether we are cross compiling... " >&6; }
5333if test "$cross_compiling" != yes; then
5334  { { ac_try="$ac_link"
5335case "(($ac_try" in
5336  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5337  *) ac_try_echo=$ac_try;;
5338esac
5339eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5340$as_echo "$ac_try_echo"; } >&5
5341  (eval "$ac_link") 2>&5
5342  ac_status=$?
5343  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5344  test $ac_status = 0; }
5345  if { ac_try='./conftest$ac_cv_exeext'
5346  { { case "(($ac_try" in
5347  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5348  *) ac_try_echo=$ac_try;;
5349esac
5350eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5351$as_echo "$ac_try_echo"; } >&5
5352  (eval "$ac_try") 2>&5
5353  ac_status=$?
5354  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5355  test $ac_status = 0; }; }; then
5356    cross_compiling=no
5357  else
5358    if test "$cross_compiling" = maybe; then
5359	cross_compiling=yes
5360    else
5361	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5362$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5363as_fn_error $? "cannot run C compiled programs.
5364If you meant to cross compile, use \`--host'.
5365See \`config.log' for more details" "$LINENO" 5; }
5366    fi
5367  fi
5368fi
5369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5370$as_echo "$cross_compiling" >&6; }
5371
5372rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5373ac_clean_files=$ac_clean_files_save
5374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5375$as_echo_n "checking for suffix of object files... " >&6; }
5376if ${ac_cv_objext+:} false; then :
5377  $as_echo_n "(cached) " >&6
5378else
5379  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380/* end confdefs.h.  */
5381
5382int
5383main ()
5384{
5385
5386  ;
5387  return 0;
5388}
5389_ACEOF
5390rm -f conftest.o conftest.obj
5391if { { ac_try="$ac_compile"
5392case "(($ac_try" in
5393  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5394  *) ac_try_echo=$ac_try;;
5395esac
5396eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5397$as_echo "$ac_try_echo"; } >&5
5398  (eval "$ac_compile") 2>&5
5399  ac_status=$?
5400  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5401  test $ac_status = 0; }; then :
5402  for ac_file in conftest.o conftest.obj conftest.*; do
5403  test -f "$ac_file" || continue;
5404  case $ac_file in
5405    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5406    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5407       break;;
5408  esac
5409done
5410else
5411  $as_echo "$as_me: failed program was:" >&5
5412sed 's/^/| /' conftest.$ac_ext >&5
5413
5414{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5415$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5416as_fn_error $? "cannot compute suffix of object files: cannot compile
5417See \`config.log' for more details" "$LINENO" 5; }
5418fi
5419rm -f conftest.$ac_cv_objext conftest.$ac_ext
5420fi
5421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5422$as_echo "$ac_cv_objext" >&6; }
5423OBJEXT=$ac_cv_objext
5424ac_objext=$OBJEXT
5425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5426$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5427if ${ac_cv_c_compiler_gnu+:} false; then :
5428  $as_echo_n "(cached) " >&6
5429else
5430  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5431/* end confdefs.h.  */
5432
5433int
5434main ()
5435{
5436#ifndef __GNUC__
5437       choke me
5438#endif
5439
5440  ;
5441  return 0;
5442}
5443_ACEOF
5444if ac_fn_c_try_compile "$LINENO"; then :
5445  ac_compiler_gnu=yes
5446else
5447  ac_compiler_gnu=no
5448fi
5449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5450ac_cv_c_compiler_gnu=$ac_compiler_gnu
5451
5452fi
5453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5454$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5455if test $ac_compiler_gnu = yes; then
5456  GCC=yes
5457else
5458  GCC=
5459fi
5460ac_test_CFLAGS=${CFLAGS+set}
5461ac_save_CFLAGS=$CFLAGS
5462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5463$as_echo_n "checking whether $CC accepts -g... " >&6; }
5464if ${ac_cv_prog_cc_g+:} false; then :
5465  $as_echo_n "(cached) " >&6
5466else
5467  ac_save_c_werror_flag=$ac_c_werror_flag
5468   ac_c_werror_flag=yes
5469   ac_cv_prog_cc_g=no
5470   CFLAGS="-g"
5471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5472/* end confdefs.h.  */
5473
5474int
5475main ()
5476{
5477
5478  ;
5479  return 0;
5480}
5481_ACEOF
5482if ac_fn_c_try_compile "$LINENO"; then :
5483  ac_cv_prog_cc_g=yes
5484else
5485  CFLAGS=""
5486      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5487/* end confdefs.h.  */
5488
5489int
5490main ()
5491{
5492
5493  ;
5494  return 0;
5495}
5496_ACEOF
5497if ac_fn_c_try_compile "$LINENO"; then :
5498
5499else
5500  ac_c_werror_flag=$ac_save_c_werror_flag
5501	 CFLAGS="-g"
5502	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5503/* end confdefs.h.  */
5504
5505int
5506main ()
5507{
5508
5509  ;
5510  return 0;
5511}
5512_ACEOF
5513if ac_fn_c_try_compile "$LINENO"; then :
5514  ac_cv_prog_cc_g=yes
5515fi
5516rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5517fi
5518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5519fi
5520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5521   ac_c_werror_flag=$ac_save_c_werror_flag
5522fi
5523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5524$as_echo "$ac_cv_prog_cc_g" >&6; }
5525if test "$ac_test_CFLAGS" = set; then
5526  CFLAGS=$ac_save_CFLAGS
5527elif test $ac_cv_prog_cc_g = yes; then
5528  if test "$GCC" = yes; then
5529    CFLAGS="-g -O2"
5530  else
5531    CFLAGS="-g"
5532  fi
5533else
5534  if test "$GCC" = yes; then
5535    CFLAGS="-O2"
5536  else
5537    CFLAGS=
5538  fi
5539fi
5540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5541$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5542if ${ac_cv_prog_cc_c89+:} false; then :
5543  $as_echo_n "(cached) " >&6
5544else
5545  ac_cv_prog_cc_c89=no
5546ac_save_CC=$CC
5547cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5548/* end confdefs.h.  */
5549#include <stdarg.h>
5550#include <stdio.h>
5551struct stat;
5552/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5553struct buf { int x; };
5554FILE * (*rcsopen) (struct buf *, struct stat *, int);
5555static char *e (p, i)
5556     char **p;
5557     int i;
5558{
5559  return p[i];
5560}
5561static char *f (char * (*g) (char **, int), char **p, ...)
5562{
5563  char *s;
5564  va_list v;
5565  va_start (v,p);
5566  s = g (p, va_arg (v,int));
5567  va_end (v);
5568  return s;
5569}
5570
5571/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5572   function prototypes and stuff, but not '\xHH' hex character constants.
5573   These don't provoke an error unfortunately, instead are silently treated
5574   as 'x'.  The following induces an error, until -std is added to get
5575   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5576   array size at least.  It's necessary to write '\x00'==0 to get something
5577   that's true only with -std.  */
5578int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5579
5580/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5581   inside strings and character constants.  */
5582#define FOO(x) 'x'
5583int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5584
5585int test (int i, double x);
5586struct s1 {int (*f) (int a);};
5587struct s2 {int (*f) (double a);};
5588int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5589int argc;
5590char **argv;
5591int
5592main ()
5593{
5594return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5595  ;
5596  return 0;
5597}
5598_ACEOF
5599for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5600	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5601do
5602  CC="$ac_save_CC $ac_arg"
5603  if ac_fn_c_try_compile "$LINENO"; then :
5604  ac_cv_prog_cc_c89=$ac_arg
5605fi
5606rm -f core conftest.err conftest.$ac_objext
5607  test "x$ac_cv_prog_cc_c89" != "xno" && break
5608done
5609rm -f conftest.$ac_ext
5610CC=$ac_save_CC
5611
5612fi
5613# AC_CACHE_VAL
5614case "x$ac_cv_prog_cc_c89" in
5615  x)
5616    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5617$as_echo "none needed" >&6; } ;;
5618  xno)
5619    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5620$as_echo "unsupported" >&6; } ;;
5621  *)
5622    CC="$CC $ac_cv_prog_cc_c89"
5623    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5624$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5625esac
5626if test "x$ac_cv_prog_cc_c89" != xno; then :
5627
5628fi
5629
5630ac_ext=c
5631ac_cpp='$CPP $CPPFLAGS'
5632ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5633ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5634ac_compiler_gnu=$ac_cv_c_compiler_gnu
5635
5636ac_ext=c
5637ac_cpp='$CPP $CPPFLAGS'
5638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5640ac_compiler_gnu=$ac_cv_c_compiler_gnu
5641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5642$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5643if ${am_cv_prog_cc_c_o+:} false; then :
5644  $as_echo_n "(cached) " >&6
5645else
5646  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5647/* end confdefs.h.  */
5648
5649int
5650main ()
5651{
5652
5653  ;
5654  return 0;
5655}
5656_ACEOF
5657  # Make sure it works both with $CC and with simple cc.
5658  # Following AC_PROG_CC_C_O, we do the test twice because some
5659  # compilers refuse to overwrite an existing .o file with -o,
5660  # though they will create one.
5661  am_cv_prog_cc_c_o=yes
5662  for am_i in 1 2; do
5663    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5664   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5665   ac_status=$?
5666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667   (exit $ac_status); } \
5668         && test -f conftest2.$ac_objext; then
5669      : OK
5670    else
5671      am_cv_prog_cc_c_o=no
5672      break
5673    fi
5674  done
5675  rm -f core conftest*
5676  unset am_i
5677fi
5678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5679$as_echo "$am_cv_prog_cc_c_o" >&6; }
5680if test "$am_cv_prog_cc_c_o" != yes; then
5681   # Losing compiler, so override with the script.
5682   # FIXME: It is wrong to rewrite CC.
5683   # But if we don't then we get into trouble of one sort or another.
5684   # A longer-term fix would be to have automake use am__CC in this case,
5685   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5686   CC="$am_aux_dir/compile $CC"
5687fi
5688ac_ext=c
5689ac_cpp='$CPP $CPPFLAGS'
5690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5692ac_compiler_gnu=$ac_cv_c_compiler_gnu
5693
5694
5695depcc="$CC"   am_compiler_list=
5696
5697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5698$as_echo_n "checking dependency style of $depcc... " >&6; }
5699if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5700  $as_echo_n "(cached) " >&6
5701else
5702  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5703  # We make a subdir and do the tests there.  Otherwise we can end up
5704  # making bogus files that we don't know about and never remove.  For
5705  # instance it was reported that on HP-UX the gcc test will end up
5706  # making a dummy file named 'D' -- because '-MD' means "put the output
5707  # in D".
5708  rm -rf conftest.dir
5709  mkdir conftest.dir
5710  # Copy depcomp to subdir because otherwise we won't find it if we're
5711  # using a relative directory.
5712  cp "$am_depcomp" conftest.dir
5713  cd conftest.dir
5714  # We will build objects and dependencies in a subdirectory because
5715  # it helps to detect inapplicable dependency modes.  For instance
5716  # both Tru64's cc and ICC support -MD to output dependencies as a
5717  # side effect of compilation, but ICC will put the dependencies in
5718  # the current directory while Tru64 will put them in the object
5719  # directory.
5720  mkdir sub
5721
5722  am_cv_CC_dependencies_compiler_type=none
5723  if test "$am_compiler_list" = ""; then
5724     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5725  fi
5726  am__universal=false
5727  case " $depcc " in #(
5728     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5729     esac
5730
5731  for depmode in $am_compiler_list; do
5732    # Setup a source with many dependencies, because some compilers
5733    # like to wrap large dependency lists on column 80 (with \), and
5734    # we should not choose a depcomp mode which is confused by this.
5735    #
5736    # We need to recreate these files for each test, as the compiler may
5737    # overwrite some of them when testing with obscure command lines.
5738    # This happens at least with the AIX C compiler.
5739    : > sub/conftest.c
5740    for i in 1 2 3 4 5 6; do
5741      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5742      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5743      # Solaris 10 /bin/sh.
5744      echo '/* dummy */' > sub/conftst$i.h
5745    done
5746    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5747
5748    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5749    # mode.  It turns out that the SunPro C++ compiler does not properly
5750    # handle '-M -o', and we need to detect this.  Also, some Intel
5751    # versions had trouble with output in subdirs.
5752    am__obj=sub/conftest.${OBJEXT-o}
5753    am__minus_obj="-o $am__obj"
5754    case $depmode in
5755    gcc)
5756      # This depmode causes a compiler race in universal mode.
5757      test "$am__universal" = false || continue
5758      ;;
5759    nosideeffect)
5760      # After this tag, mechanisms are not by side-effect, so they'll
5761      # only be used when explicitly requested.
5762      if test "x$enable_dependency_tracking" = xyes; then
5763	continue
5764      else
5765	break
5766      fi
5767      ;;
5768    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5769      # This compiler won't grok '-c -o', but also, the minuso test has
5770      # not run yet.  These depmodes are late enough in the game, and
5771      # so weak that their functioning should not be impacted.
5772      am__obj=conftest.${OBJEXT-o}
5773      am__minus_obj=
5774      ;;
5775    none) break ;;
5776    esac
5777    if depmode=$depmode \
5778       source=sub/conftest.c object=$am__obj \
5779       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5780       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5781         >/dev/null 2>conftest.err &&
5782       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5783       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5784       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5785       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5786      # icc doesn't choke on unknown options, it will just issue warnings
5787      # or remarks (even with -Werror).  So we grep stderr for any message
5788      # that says an option was ignored or not supported.
5789      # When given -MP, icc 7.0 and 7.1 complain thusly:
5790      #   icc: Command line warning: ignoring option '-M'; no argument required
5791      # The diagnosis changed in icc 8.0:
5792      #   icc: Command line remark: option '-MP' not supported
5793      if (grep 'ignoring option' conftest.err ||
5794          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5795        am_cv_CC_dependencies_compiler_type=$depmode
5796        break
5797      fi
5798    fi
5799  done
5800
5801  cd ..
5802  rm -rf conftest.dir
5803else
5804  am_cv_CC_dependencies_compiler_type=none
5805fi
5806
5807fi
5808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5809$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5810CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5811
5812 if
5813  test "x$enable_dependency_tracking" != xno \
5814  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5815  am__fastdepCC_TRUE=
5816  am__fastdepCC_FALSE='#'
5817else
5818  am__fastdepCC_TRUE='#'
5819  am__fastdepCC_FALSE=
5820fi
5821
5822
5823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5824$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5825if ${ac_cv_path_SED+:} false; then :
5826  $as_echo_n "(cached) " >&6
5827else
5828            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5829     for ac_i in 1 2 3 4 5 6 7; do
5830       ac_script="$ac_script$as_nl$ac_script"
5831     done
5832     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5833     { ac_script=; unset ac_script;}
5834     if test -z "$SED"; then
5835  ac_path_SED_found=false
5836  # Loop through the user's path and test for each of PROGNAME-LIST
5837  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838for as_dir in $PATH
5839do
5840  IFS=$as_save_IFS
5841  test -z "$as_dir" && as_dir=.
5842    for ac_prog in sed gsed; do
5843    for ac_exec_ext in '' $ac_executable_extensions; do
5844      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5845      as_fn_executable_p "$ac_path_SED" || continue
5846# Check for GNU ac_path_SED and select it if it is found.
5847  # Check for GNU $ac_path_SED
5848case `"$ac_path_SED" --version 2>&1` in
5849*GNU*)
5850  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5851*)
5852  ac_count=0
5853  $as_echo_n 0123456789 >"conftest.in"
5854  while :
5855  do
5856    cat "conftest.in" "conftest.in" >"conftest.tmp"
5857    mv "conftest.tmp" "conftest.in"
5858    cp "conftest.in" "conftest.nl"
5859    $as_echo '' >> "conftest.nl"
5860    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5861    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5862    as_fn_arith $ac_count + 1 && ac_count=$as_val
5863    if test $ac_count -gt ${ac_path_SED_max-0}; then
5864      # Best one so far, save it but keep looking for a better one
5865      ac_cv_path_SED="$ac_path_SED"
5866      ac_path_SED_max=$ac_count
5867    fi
5868    # 10*(2^10) chars as input seems more than enough
5869    test $ac_count -gt 10 && break
5870  done
5871  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5872esac
5873
5874      $ac_path_SED_found && break 3
5875    done
5876  done
5877  done
5878IFS=$as_save_IFS
5879  if test -z "$ac_cv_path_SED"; then
5880    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5881  fi
5882else
5883  ac_cv_path_SED=$SED
5884fi
5885
5886fi
5887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5888$as_echo "$ac_cv_path_SED" >&6; }
5889 SED="$ac_cv_path_SED"
5890  rm -f conftest.sed
5891
5892test -z "$SED" && SED=sed
5893Xsed="$SED -e 1s/^X//"
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5906$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5907if ${ac_cv_path_GREP+:} false; then :
5908  $as_echo_n "(cached) " >&6
5909else
5910  if test -z "$GREP"; then
5911  ac_path_GREP_found=false
5912  # Loop through the user's path and test for each of PROGNAME-LIST
5913  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5914for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5915do
5916  IFS=$as_save_IFS
5917  test -z "$as_dir" && as_dir=.
5918    for ac_prog in grep ggrep; do
5919    for ac_exec_ext in '' $ac_executable_extensions; do
5920      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5921      as_fn_executable_p "$ac_path_GREP" || continue
5922# Check for GNU ac_path_GREP and select it if it is found.
5923  # Check for GNU $ac_path_GREP
5924case `"$ac_path_GREP" --version 2>&1` in
5925*GNU*)
5926  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5927*)
5928  ac_count=0
5929  $as_echo_n 0123456789 >"conftest.in"
5930  while :
5931  do
5932    cat "conftest.in" "conftest.in" >"conftest.tmp"
5933    mv "conftest.tmp" "conftest.in"
5934    cp "conftest.in" "conftest.nl"
5935    $as_echo 'GREP' >> "conftest.nl"
5936    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5937    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5938    as_fn_arith $ac_count + 1 && ac_count=$as_val
5939    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5940      # Best one so far, save it but keep looking for a better one
5941      ac_cv_path_GREP="$ac_path_GREP"
5942      ac_path_GREP_max=$ac_count
5943    fi
5944    # 10*(2^10) chars as input seems more than enough
5945    test $ac_count -gt 10 && break
5946  done
5947  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5948esac
5949
5950      $ac_path_GREP_found && break 3
5951    done
5952  done
5953  done
5954IFS=$as_save_IFS
5955  if test -z "$ac_cv_path_GREP"; then
5956    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5957  fi
5958else
5959  ac_cv_path_GREP=$GREP
5960fi
5961
5962fi
5963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5964$as_echo "$ac_cv_path_GREP" >&6; }
5965 GREP="$ac_cv_path_GREP"
5966
5967
5968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5969$as_echo_n "checking for egrep... " >&6; }
5970if ${ac_cv_path_EGREP+:} false; then :
5971  $as_echo_n "(cached) " >&6
5972else
5973  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5974   then ac_cv_path_EGREP="$GREP -E"
5975   else
5976     if test -z "$EGREP"; then
5977  ac_path_EGREP_found=false
5978  # Loop through the user's path and test for each of PROGNAME-LIST
5979  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5980for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5981do
5982  IFS=$as_save_IFS
5983  test -z "$as_dir" && as_dir=.
5984    for ac_prog in egrep; do
5985    for ac_exec_ext in '' $ac_executable_extensions; do
5986      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5987      as_fn_executable_p "$ac_path_EGREP" || continue
5988# Check for GNU ac_path_EGREP and select it if it is found.
5989  # Check for GNU $ac_path_EGREP
5990case `"$ac_path_EGREP" --version 2>&1` in
5991*GNU*)
5992  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5993*)
5994  ac_count=0
5995  $as_echo_n 0123456789 >"conftest.in"
5996  while :
5997  do
5998    cat "conftest.in" "conftest.in" >"conftest.tmp"
5999    mv "conftest.tmp" "conftest.in"
6000    cp "conftest.in" "conftest.nl"
6001    $as_echo 'EGREP' >> "conftest.nl"
6002    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6003    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6004    as_fn_arith $ac_count + 1 && ac_count=$as_val
6005    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6006      # Best one so far, save it but keep looking for a better one
6007      ac_cv_path_EGREP="$ac_path_EGREP"
6008      ac_path_EGREP_max=$ac_count
6009    fi
6010    # 10*(2^10) chars as input seems more than enough
6011    test $ac_count -gt 10 && break
6012  done
6013  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6014esac
6015
6016      $ac_path_EGREP_found && break 3
6017    done
6018  done
6019  done
6020IFS=$as_save_IFS
6021  if test -z "$ac_cv_path_EGREP"; then
6022    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6023  fi
6024else
6025  ac_cv_path_EGREP=$EGREP
6026fi
6027
6028   fi
6029fi
6030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6031$as_echo "$ac_cv_path_EGREP" >&6; }
6032 EGREP="$ac_cv_path_EGREP"
6033
6034
6035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6036$as_echo_n "checking for fgrep... " >&6; }
6037if ${ac_cv_path_FGREP+:} false; then :
6038  $as_echo_n "(cached) " >&6
6039else
6040  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6041   then ac_cv_path_FGREP="$GREP -F"
6042   else
6043     if test -z "$FGREP"; then
6044  ac_path_FGREP_found=false
6045  # Loop through the user's path and test for each of PROGNAME-LIST
6046  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6048do
6049  IFS=$as_save_IFS
6050  test -z "$as_dir" && as_dir=.
6051    for ac_prog in fgrep; do
6052    for ac_exec_ext in '' $ac_executable_extensions; do
6053      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6054      as_fn_executable_p "$ac_path_FGREP" || continue
6055# Check for GNU ac_path_FGREP and select it if it is found.
6056  # Check for GNU $ac_path_FGREP
6057case `"$ac_path_FGREP" --version 2>&1` in
6058*GNU*)
6059  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6060*)
6061  ac_count=0
6062  $as_echo_n 0123456789 >"conftest.in"
6063  while :
6064  do
6065    cat "conftest.in" "conftest.in" >"conftest.tmp"
6066    mv "conftest.tmp" "conftest.in"
6067    cp "conftest.in" "conftest.nl"
6068    $as_echo 'FGREP' >> "conftest.nl"
6069    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6070    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6071    as_fn_arith $ac_count + 1 && ac_count=$as_val
6072    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6073      # Best one so far, save it but keep looking for a better one
6074      ac_cv_path_FGREP="$ac_path_FGREP"
6075      ac_path_FGREP_max=$ac_count
6076    fi
6077    # 10*(2^10) chars as input seems more than enough
6078    test $ac_count -gt 10 && break
6079  done
6080  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6081esac
6082
6083      $ac_path_FGREP_found && break 3
6084    done
6085  done
6086  done
6087IFS=$as_save_IFS
6088  if test -z "$ac_cv_path_FGREP"; then
6089    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6090  fi
6091else
6092  ac_cv_path_FGREP=$FGREP
6093fi
6094
6095   fi
6096fi
6097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6098$as_echo "$ac_cv_path_FGREP" >&6; }
6099 FGREP="$ac_cv_path_FGREP"
6100
6101
6102test -z "$GREP" && GREP=grep
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122# Check whether --with-gnu-ld was given.
6123if test "${with_gnu_ld+set}" = set; then :
6124  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6125else
6126  with_gnu_ld=no
6127fi
6128
6129ac_prog=ld
6130if test yes = "$GCC"; then
6131  # Check if gcc -print-prog-name=ld gives a path.
6132  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6133$as_echo_n "checking for ld used by $CC... " >&6; }
6134  case $host in
6135  *-*-mingw*)
6136    # gcc leaves a trailing carriage return, which upsets mingw
6137    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6138  *)
6139    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6140  esac
6141  case $ac_prog in
6142    # Accept absolute paths.
6143    [\\/]* | ?:[\\/]*)
6144      re_direlt='/[^/][^/]*/\.\./'
6145      # Canonicalize the pathname of ld
6146      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6147      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6148	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6149      done
6150      test -z "$LD" && LD=$ac_prog
6151      ;;
6152  "")
6153    # If it fails, then pretend we aren't using GCC.
6154    ac_prog=ld
6155    ;;
6156  *)
6157    # If it is relative, then search for the first ld in PATH.
6158    with_gnu_ld=unknown
6159    ;;
6160  esac
6161elif test yes = "$with_gnu_ld"; then
6162  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6163$as_echo_n "checking for GNU ld... " >&6; }
6164else
6165  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6166$as_echo_n "checking for non-GNU ld... " >&6; }
6167fi
6168if ${lt_cv_path_LD+:} false; then :
6169  $as_echo_n "(cached) " >&6
6170else
6171  if test -z "$LD"; then
6172  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6173  for ac_dir in $PATH; do
6174    IFS=$lt_save_ifs
6175    test -z "$ac_dir" && ac_dir=.
6176    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6177      lt_cv_path_LD=$ac_dir/$ac_prog
6178      # Check to see if the program is GNU ld.  I'd rather use --version,
6179      # but apparently some variants of GNU ld only accept -v.
6180      # Break only if it was the GNU/non-GNU ld that we prefer.
6181      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6182      *GNU* | *'with BFD'*)
6183	test no != "$with_gnu_ld" && break
6184	;;
6185      *)
6186	test yes != "$with_gnu_ld" && break
6187	;;
6188      esac
6189    fi
6190  done
6191  IFS=$lt_save_ifs
6192else
6193  lt_cv_path_LD=$LD # Let the user override the test with a path.
6194fi
6195fi
6196
6197LD=$lt_cv_path_LD
6198if test -n "$LD"; then
6199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6200$as_echo "$LD" >&6; }
6201else
6202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6203$as_echo "no" >&6; }
6204fi
6205test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6207$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6208if ${lt_cv_prog_gnu_ld+:} false; then :
6209  $as_echo_n "(cached) " >&6
6210else
6211  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6212case `$LD -v 2>&1 </dev/null` in
6213*GNU* | *'with BFD'*)
6214  lt_cv_prog_gnu_ld=yes
6215  ;;
6216*)
6217  lt_cv_prog_gnu_ld=no
6218  ;;
6219esac
6220fi
6221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6222$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6223with_gnu_ld=$lt_cv_prog_gnu_ld
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6234$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6235if ${lt_cv_path_NM+:} false; then :
6236  $as_echo_n "(cached) " >&6
6237else
6238  if test -n "$NM"; then
6239  # Let the user override the test.
6240  lt_cv_path_NM=$NM
6241else
6242  lt_nm_to_check=${ac_tool_prefix}nm
6243  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6244    lt_nm_to_check="$lt_nm_to_check nm"
6245  fi
6246  for lt_tmp_nm in $lt_nm_to_check; do
6247    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6248    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6249      IFS=$lt_save_ifs
6250      test -z "$ac_dir" && ac_dir=.
6251      tmp_nm=$ac_dir/$lt_tmp_nm
6252      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6253	# Check to see if the nm accepts a BSD-compat flag.
6254	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6255	#   nm: unknown option "B" ignored
6256	# Tru64's nm complains that /dev/null is an invalid object file
6257	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6258	case $build_os in
6259	mingw*) lt_bad_file=conftest.nm/nofile ;;
6260	*) lt_bad_file=/dev/null ;;
6261	esac
6262	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6263	*$lt_bad_file* | *'Invalid file or object type'*)
6264	  lt_cv_path_NM="$tmp_nm -B"
6265	  break 2
6266	  ;;
6267	*)
6268	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6269	  */dev/null*)
6270	    lt_cv_path_NM="$tmp_nm -p"
6271	    break 2
6272	    ;;
6273	  *)
6274	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6275	    continue # so that we can try to find one that supports BSD flags
6276	    ;;
6277	  esac
6278	  ;;
6279	esac
6280      fi
6281    done
6282    IFS=$lt_save_ifs
6283  done
6284  : ${lt_cv_path_NM=no}
6285fi
6286fi
6287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6288$as_echo "$lt_cv_path_NM" >&6; }
6289if test no != "$lt_cv_path_NM"; then
6290  NM=$lt_cv_path_NM
6291else
6292  # Didn't find any BSD compatible name lister, look for dumpbin.
6293  if test -n "$DUMPBIN"; then :
6294    # Let the user override the test.
6295  else
6296    if test -n "$ac_tool_prefix"; then
6297  for ac_prog in dumpbin "link -dump"
6298  do
6299    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6300set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6302$as_echo_n "checking for $ac_word... " >&6; }
6303if ${ac_cv_prog_DUMPBIN+:} false; then :
6304  $as_echo_n "(cached) " >&6
6305else
6306  if test -n "$DUMPBIN"; then
6307  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6308else
6309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310for as_dir in $PATH
6311do
6312  IFS=$as_save_IFS
6313  test -z "$as_dir" && as_dir=.
6314    for ac_exec_ext in '' $ac_executable_extensions; do
6315  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6316    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6317    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6318    break 2
6319  fi
6320done
6321  done
6322IFS=$as_save_IFS
6323
6324fi
6325fi
6326DUMPBIN=$ac_cv_prog_DUMPBIN
6327if test -n "$DUMPBIN"; then
6328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6329$as_echo "$DUMPBIN" >&6; }
6330else
6331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6332$as_echo "no" >&6; }
6333fi
6334
6335
6336    test -n "$DUMPBIN" && break
6337  done
6338fi
6339if test -z "$DUMPBIN"; then
6340  ac_ct_DUMPBIN=$DUMPBIN
6341  for ac_prog in dumpbin "link -dump"
6342do
6343  # Extract the first word of "$ac_prog", so it can be a program name with args.
6344set dummy $ac_prog; ac_word=$2
6345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6346$as_echo_n "checking for $ac_word... " >&6; }
6347if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6348  $as_echo_n "(cached) " >&6
6349else
6350  if test -n "$ac_ct_DUMPBIN"; then
6351  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6352else
6353as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354for as_dir in $PATH
6355do
6356  IFS=$as_save_IFS
6357  test -z "$as_dir" && as_dir=.
6358    for ac_exec_ext in '' $ac_executable_extensions; do
6359  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6360    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6361    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6362    break 2
6363  fi
6364done
6365  done
6366IFS=$as_save_IFS
6367
6368fi
6369fi
6370ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6371if test -n "$ac_ct_DUMPBIN"; then
6372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6373$as_echo "$ac_ct_DUMPBIN" >&6; }
6374else
6375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6376$as_echo "no" >&6; }
6377fi
6378
6379
6380  test -n "$ac_ct_DUMPBIN" && break
6381done
6382
6383  if test "x$ac_ct_DUMPBIN" = x; then
6384    DUMPBIN=":"
6385  else
6386    case $cross_compiling:$ac_tool_warned in
6387yes:)
6388{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6389$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6390ac_tool_warned=yes ;;
6391esac
6392    DUMPBIN=$ac_ct_DUMPBIN
6393  fi
6394fi
6395
6396    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6397    *COFF*)
6398      DUMPBIN="$DUMPBIN -symbols -headers"
6399      ;;
6400    *)
6401      DUMPBIN=:
6402      ;;
6403    esac
6404  fi
6405
6406  if test : != "$DUMPBIN"; then
6407    NM=$DUMPBIN
6408  fi
6409fi
6410test -z "$NM" && NM=nm
6411
6412
6413
6414
6415
6416
6417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6418$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6419if ${lt_cv_nm_interface+:} false; then :
6420  $as_echo_n "(cached) " >&6
6421else
6422  lt_cv_nm_interface="BSD nm"
6423  echo "int some_variable = 0;" > conftest.$ac_ext
6424  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6425  (eval "$ac_compile" 2>conftest.err)
6426  cat conftest.err >&5
6427  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6428  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6429  cat conftest.err >&5
6430  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6431  cat conftest.out >&5
6432  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6433    lt_cv_nm_interface="MS dumpbin"
6434  fi
6435  rm -f conftest*
6436fi
6437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6438$as_echo "$lt_cv_nm_interface" >&6; }
6439
6440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6441$as_echo_n "checking whether ln -s works... " >&6; }
6442LN_S=$as_ln_s
6443if test "$LN_S" = "ln -s"; then
6444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6445$as_echo "yes" >&6; }
6446else
6447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6448$as_echo "no, using $LN_S" >&6; }
6449fi
6450
6451# find the maximum length of command line arguments
6452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6453$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6454if ${lt_cv_sys_max_cmd_len+:} false; then :
6455  $as_echo_n "(cached) " >&6
6456else
6457    i=0
6458  teststring=ABCD
6459
6460  case $build_os in
6461  msdosdjgpp*)
6462    # On DJGPP, this test can blow up pretty badly due to problems in libc
6463    # (any single argument exceeding 2000 bytes causes a buffer overrun
6464    # during glob expansion).  Even if it were fixed, the result of this
6465    # check would be larger than it should be.
6466    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6467    ;;
6468
6469  gnu*)
6470    # Under GNU Hurd, this test is not required because there is
6471    # no limit to the length of command line arguments.
6472    # Libtool will interpret -1 as no limit whatsoever
6473    lt_cv_sys_max_cmd_len=-1;
6474    ;;
6475
6476  cygwin* | mingw* | cegcc*)
6477    # On Win9x/ME, this test blows up -- it succeeds, but takes
6478    # about 5 minutes as the teststring grows exponentially.
6479    # Worse, since 9x/ME are not pre-emptively multitasking,
6480    # you end up with a "frozen" computer, even though with patience
6481    # the test eventually succeeds (with a max line length of 256k).
6482    # Instead, let's just punt: use the minimum linelength reported by
6483    # all of the supported platforms: 8192 (on NT/2K/XP).
6484    lt_cv_sys_max_cmd_len=8192;
6485    ;;
6486
6487  mint*)
6488    # On MiNT this can take a long time and run out of memory.
6489    lt_cv_sys_max_cmd_len=8192;
6490    ;;
6491
6492  amigaos*)
6493    # On AmigaOS with pdksh, this test takes hours, literally.
6494    # So we just punt and use a minimum line length of 8192.
6495    lt_cv_sys_max_cmd_len=8192;
6496    ;;
6497
6498  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6499    # This has been around since 386BSD, at least.  Likely further.
6500    if test -x /sbin/sysctl; then
6501      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6502    elif test -x /usr/sbin/sysctl; then
6503      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6504    else
6505      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6506    fi
6507    # And add a safety zone
6508    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6509    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6510    ;;
6511
6512  interix*)
6513    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6514    lt_cv_sys_max_cmd_len=196608
6515    ;;
6516
6517  os2*)
6518    # The test takes a long time on OS/2.
6519    lt_cv_sys_max_cmd_len=8192
6520    ;;
6521
6522  osf*)
6523    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6524    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6525    # nice to cause kernel panics so lets avoid the loop below.
6526    # First set a reasonable default.
6527    lt_cv_sys_max_cmd_len=16384
6528    #
6529    if test -x /sbin/sysconfig; then
6530      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6531        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6532      esac
6533    fi
6534    ;;
6535  sco3.2v5*)
6536    lt_cv_sys_max_cmd_len=102400
6537    ;;
6538  sysv5* | sco5v6* | sysv4.2uw2*)
6539    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6540    if test -n "$kargmax"; then
6541      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6542    else
6543      lt_cv_sys_max_cmd_len=32768
6544    fi
6545    ;;
6546  *)
6547    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6548    if test -n "$lt_cv_sys_max_cmd_len" && \
6549       test undefined != "$lt_cv_sys_max_cmd_len"; then
6550      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6551      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6552    else
6553      # Make teststring a little bigger before we do anything with it.
6554      # a 1K string should be a reasonable start.
6555      for i in 1 2 3 4 5 6 7 8; do
6556        teststring=$teststring$teststring
6557      done
6558      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6559      # If test is not a shell built-in, we'll probably end up computing a
6560      # maximum length that is only half of the actual maximum length, but
6561      # we can't tell.
6562      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6563	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6564	      test 17 != "$i" # 1/2 MB should be enough
6565      do
6566        i=`expr $i + 1`
6567        teststring=$teststring$teststring
6568      done
6569      # Only check the string length outside the loop.
6570      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6571      teststring=
6572      # Add a significant safety factor because C++ compilers can tack on
6573      # massive amounts of additional arguments before passing them to the
6574      # linker.  It appears as though 1/2 is a usable value.
6575      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6576    fi
6577    ;;
6578  esac
6579
6580fi
6581
6582if test -n "$lt_cv_sys_max_cmd_len"; then
6583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6584$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6585else
6586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6587$as_echo "none" >&6; }
6588fi
6589max_cmd_len=$lt_cv_sys_max_cmd_len
6590
6591
6592
6593
6594
6595
6596: ${CP="cp -f"}
6597: ${MV="mv -f"}
6598: ${RM="rm -f"}
6599
6600if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6601  lt_unset=unset
6602else
6603  lt_unset=false
6604fi
6605
6606
6607
6608
6609
6610# test EBCDIC or ASCII
6611case `echo X|tr X '\101'` in
6612 A) # ASCII based system
6613    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6614  lt_SP2NL='tr \040 \012'
6615  lt_NL2SP='tr \015\012 \040\040'
6616  ;;
6617 *) # EBCDIC based system
6618  lt_SP2NL='tr \100 \n'
6619  lt_NL2SP='tr \r\n \100\100'
6620  ;;
6621esac
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6632$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6633if ${lt_cv_to_host_file_cmd+:} false; then :
6634  $as_echo_n "(cached) " >&6
6635else
6636  case $host in
6637  *-*-mingw* )
6638    case $build in
6639      *-*-mingw* ) # actually msys
6640        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6641        ;;
6642      *-*-cygwin* )
6643        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6644        ;;
6645      * ) # otherwise, assume *nix
6646        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6647        ;;
6648    esac
6649    ;;
6650  *-*-cygwin* )
6651    case $build in
6652      *-*-mingw* ) # actually msys
6653        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6654        ;;
6655      *-*-cygwin* )
6656        lt_cv_to_host_file_cmd=func_convert_file_noop
6657        ;;
6658      * ) # otherwise, assume *nix
6659        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6660        ;;
6661    esac
6662    ;;
6663  * ) # unhandled hosts (and "normal" native builds)
6664    lt_cv_to_host_file_cmd=func_convert_file_noop
6665    ;;
6666esac
6667
6668fi
6669
6670to_host_file_cmd=$lt_cv_to_host_file_cmd
6671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6672$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6673
6674
6675
6676
6677
6678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6679$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6680if ${lt_cv_to_tool_file_cmd+:} false; then :
6681  $as_echo_n "(cached) " >&6
6682else
6683  #assume ordinary cross tools, or native build.
6684lt_cv_to_tool_file_cmd=func_convert_file_noop
6685case $host in
6686  *-*-mingw* )
6687    case $build in
6688      *-*-mingw* ) # actually msys
6689        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6690        ;;
6691    esac
6692    ;;
6693esac
6694
6695fi
6696
6697to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6699$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6700
6701
6702
6703
6704
6705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6706$as_echo_n "checking for $LD option to reload object files... " >&6; }
6707if ${lt_cv_ld_reload_flag+:} false; then :
6708  $as_echo_n "(cached) " >&6
6709else
6710  lt_cv_ld_reload_flag='-r'
6711fi
6712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6713$as_echo "$lt_cv_ld_reload_flag" >&6; }
6714reload_flag=$lt_cv_ld_reload_flag
6715case $reload_flag in
6716"" | " "*) ;;
6717*) reload_flag=" $reload_flag" ;;
6718esac
6719reload_cmds='$LD$reload_flag -o $output$reload_objs'
6720case $host_os in
6721  cygwin* | mingw* | pw32* | cegcc*)
6722    if test yes != "$GCC"; then
6723      reload_cmds=false
6724    fi
6725    ;;
6726  darwin*)
6727    if test yes = "$GCC"; then
6728      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6729    else
6730      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6731    fi
6732    ;;
6733esac
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743if test -n "$ac_tool_prefix"; then
6744  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6745set dummy ${ac_tool_prefix}objdump; ac_word=$2
6746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6747$as_echo_n "checking for $ac_word... " >&6; }
6748if ${ac_cv_prog_OBJDUMP+:} false; then :
6749  $as_echo_n "(cached) " >&6
6750else
6751  if test -n "$OBJDUMP"; then
6752  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6753else
6754as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755for as_dir in $PATH
6756do
6757  IFS=$as_save_IFS
6758  test -z "$as_dir" && as_dir=.
6759    for ac_exec_ext in '' $ac_executable_extensions; do
6760  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6761    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6762    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6763    break 2
6764  fi
6765done
6766  done
6767IFS=$as_save_IFS
6768
6769fi
6770fi
6771OBJDUMP=$ac_cv_prog_OBJDUMP
6772if test -n "$OBJDUMP"; then
6773  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6774$as_echo "$OBJDUMP" >&6; }
6775else
6776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6777$as_echo "no" >&6; }
6778fi
6779
6780
6781fi
6782if test -z "$ac_cv_prog_OBJDUMP"; then
6783  ac_ct_OBJDUMP=$OBJDUMP
6784  # Extract the first word of "objdump", so it can be a program name with args.
6785set dummy objdump; ac_word=$2
6786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787$as_echo_n "checking for $ac_word... " >&6; }
6788if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6789  $as_echo_n "(cached) " >&6
6790else
6791  if test -n "$ac_ct_OBJDUMP"; then
6792  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6793else
6794as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795for as_dir in $PATH
6796do
6797  IFS=$as_save_IFS
6798  test -z "$as_dir" && as_dir=.
6799    for ac_exec_ext in '' $ac_executable_extensions; do
6800  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6801    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6802    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6803    break 2
6804  fi
6805done
6806  done
6807IFS=$as_save_IFS
6808
6809fi
6810fi
6811ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6812if test -n "$ac_ct_OBJDUMP"; then
6813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6814$as_echo "$ac_ct_OBJDUMP" >&6; }
6815else
6816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6817$as_echo "no" >&6; }
6818fi
6819
6820  if test "x$ac_ct_OBJDUMP" = x; then
6821    OBJDUMP="false"
6822  else
6823    case $cross_compiling:$ac_tool_warned in
6824yes:)
6825{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6826$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6827ac_tool_warned=yes ;;
6828esac
6829    OBJDUMP=$ac_ct_OBJDUMP
6830  fi
6831else
6832  OBJDUMP="$ac_cv_prog_OBJDUMP"
6833fi
6834
6835test -z "$OBJDUMP" && OBJDUMP=objdump
6836
6837
6838
6839
6840
6841
6842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6843$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6844if ${lt_cv_deplibs_check_method+:} false; then :
6845  $as_echo_n "(cached) " >&6
6846else
6847  lt_cv_file_magic_cmd='$MAGIC_CMD'
6848lt_cv_file_magic_test_file=
6849lt_cv_deplibs_check_method='unknown'
6850# Need to set the preceding variable on all platforms that support
6851# interlibrary dependencies.
6852# 'none' -- dependencies not supported.
6853# 'unknown' -- same as none, but documents that we really don't know.
6854# 'pass_all' -- all dependencies passed with no checks.
6855# 'test_compile' -- check by making test program.
6856# 'file_magic [[regex]]' -- check by looking for files in library path
6857# that responds to the $file_magic_cmd with a given extended regex.
6858# If you have 'file' or equivalent on your system and you're not sure
6859# whether 'pass_all' will *always* work, you probably want this one.
6860
6861case $host_os in
6862aix[4-9]*)
6863  lt_cv_deplibs_check_method=pass_all
6864  ;;
6865
6866beos*)
6867  lt_cv_deplibs_check_method=pass_all
6868  ;;
6869
6870bsdi[45]*)
6871  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6872  lt_cv_file_magic_cmd='/usr/bin/file -L'
6873  lt_cv_file_magic_test_file=/shlib/libc.so
6874  ;;
6875
6876cygwin*)
6877  # func_win32_libid is a shell function defined in ltmain.sh
6878  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6879  lt_cv_file_magic_cmd='func_win32_libid'
6880  ;;
6881
6882mingw* | pw32*)
6883  # Base MSYS/MinGW do not provide the 'file' command needed by
6884  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6885  # unless we find 'file', for example because we are cross-compiling.
6886  if ( file / ) >/dev/null 2>&1; then
6887    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6888    lt_cv_file_magic_cmd='func_win32_libid'
6889  else
6890    # Keep this pattern in sync with the one in func_win32_libid.
6891    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6892    lt_cv_file_magic_cmd='$OBJDUMP -f'
6893  fi
6894  ;;
6895
6896cegcc*)
6897  # use the weaker test based on 'objdump'. See mingw*.
6898  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6899  lt_cv_file_magic_cmd='$OBJDUMP -f'
6900  ;;
6901
6902darwin* | rhapsody*)
6903  lt_cv_deplibs_check_method=pass_all
6904  ;;
6905
6906freebsd* | dragonfly*)
6907  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6908    case $host_cpu in
6909    i*86 )
6910      # Not sure whether the presence of OpenBSD here was a mistake.
6911      # Let's accept both of them until this is cleared up.
6912      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6913      lt_cv_file_magic_cmd=/usr/bin/file
6914      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6915      ;;
6916    esac
6917  else
6918    lt_cv_deplibs_check_method=pass_all
6919  fi
6920  ;;
6921
6922haiku*)
6923  lt_cv_deplibs_check_method=pass_all
6924  ;;
6925
6926hpux10.20* | hpux11*)
6927  lt_cv_file_magic_cmd=/usr/bin/file
6928  case $host_cpu in
6929  ia64*)
6930    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6931    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6932    ;;
6933  hppa*64*)
6934    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]'
6935    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6936    ;;
6937  *)
6938    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6939    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6940    ;;
6941  esac
6942  ;;
6943
6944interix[3-9]*)
6945  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6946  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6947  ;;
6948
6949irix5* | irix6* | nonstopux*)
6950  case $LD in
6951  *-32|*"-32 ") libmagic=32-bit;;
6952  *-n32|*"-n32 ") libmagic=N32;;
6953  *-64|*"-64 ") libmagic=64-bit;;
6954  *) libmagic=never-match;;
6955  esac
6956  lt_cv_deplibs_check_method=pass_all
6957  ;;
6958
6959# This must be glibc/ELF.
6960linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6961  lt_cv_deplibs_check_method=pass_all
6962  ;;
6963
6964netbsd* | netbsdelf*-gnu)
6965  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6966    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6967  else
6968    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6969  fi
6970  ;;
6971
6972newos6*)
6973  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6974  lt_cv_file_magic_cmd=/usr/bin/file
6975  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6976  ;;
6977
6978*nto* | *qnx*)
6979  lt_cv_deplibs_check_method=pass_all
6980  ;;
6981
6982openbsd* | bitrig*)
6983  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6984    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6985  else
6986    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6987  fi
6988  ;;
6989
6990osf3* | osf4* | osf5*)
6991  lt_cv_deplibs_check_method=pass_all
6992  ;;
6993
6994rdos*)
6995  lt_cv_deplibs_check_method=pass_all
6996  ;;
6997
6998solaris*)
6999  lt_cv_deplibs_check_method=pass_all
7000  ;;
7001
7002sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7003  lt_cv_deplibs_check_method=pass_all
7004  ;;
7005
7006sysv4 | sysv4.3*)
7007  case $host_vendor in
7008  motorola)
7009    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]'
7010    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7011    ;;
7012  ncr)
7013    lt_cv_deplibs_check_method=pass_all
7014    ;;
7015  sequent)
7016    lt_cv_file_magic_cmd='/bin/file'
7017    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7018    ;;
7019  sni)
7020    lt_cv_file_magic_cmd='/bin/file'
7021    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7022    lt_cv_file_magic_test_file=/lib/libc.so
7023    ;;
7024  siemens)
7025    lt_cv_deplibs_check_method=pass_all
7026    ;;
7027  pc)
7028    lt_cv_deplibs_check_method=pass_all
7029    ;;
7030  esac
7031  ;;
7032
7033tpf*)
7034  lt_cv_deplibs_check_method=pass_all
7035  ;;
7036os2*)
7037  lt_cv_deplibs_check_method=pass_all
7038  ;;
7039esac
7040
7041fi
7042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7043$as_echo "$lt_cv_deplibs_check_method" >&6; }
7044
7045file_magic_glob=
7046want_nocaseglob=no
7047if test "$build" = "$host"; then
7048  case $host_os in
7049  mingw* | pw32*)
7050    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7051      want_nocaseglob=yes
7052    else
7053      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7054    fi
7055    ;;
7056  esac
7057fi
7058
7059file_magic_cmd=$lt_cv_file_magic_cmd
7060deplibs_check_method=$lt_cv_deplibs_check_method
7061test -z "$deplibs_check_method" && deplibs_check_method=unknown
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084if test -n "$ac_tool_prefix"; then
7085  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7086set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088$as_echo_n "checking for $ac_word... " >&6; }
7089if ${ac_cv_prog_DLLTOOL+:} false; then :
7090  $as_echo_n "(cached) " >&6
7091else
7092  if test -n "$DLLTOOL"; then
7093  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7094else
7095as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7096for as_dir in $PATH
7097do
7098  IFS=$as_save_IFS
7099  test -z "$as_dir" && as_dir=.
7100    for ac_exec_ext in '' $ac_executable_extensions; do
7101  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7102    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7103    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7104    break 2
7105  fi
7106done
7107  done
7108IFS=$as_save_IFS
7109
7110fi
7111fi
7112DLLTOOL=$ac_cv_prog_DLLTOOL
7113if test -n "$DLLTOOL"; then
7114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7115$as_echo "$DLLTOOL" >&6; }
7116else
7117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7118$as_echo "no" >&6; }
7119fi
7120
7121
7122fi
7123if test -z "$ac_cv_prog_DLLTOOL"; then
7124  ac_ct_DLLTOOL=$DLLTOOL
7125  # Extract the first word of "dlltool", so it can be a program name with args.
7126set dummy dlltool; ac_word=$2
7127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128$as_echo_n "checking for $ac_word... " >&6; }
7129if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7130  $as_echo_n "(cached) " >&6
7131else
7132  if test -n "$ac_ct_DLLTOOL"; then
7133  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7134else
7135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136for as_dir in $PATH
7137do
7138  IFS=$as_save_IFS
7139  test -z "$as_dir" && as_dir=.
7140    for ac_exec_ext in '' $ac_executable_extensions; do
7141  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7142    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7143    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7144    break 2
7145  fi
7146done
7147  done
7148IFS=$as_save_IFS
7149
7150fi
7151fi
7152ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7153if test -n "$ac_ct_DLLTOOL"; then
7154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7155$as_echo "$ac_ct_DLLTOOL" >&6; }
7156else
7157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158$as_echo "no" >&6; }
7159fi
7160
7161  if test "x$ac_ct_DLLTOOL" = x; then
7162    DLLTOOL="false"
7163  else
7164    case $cross_compiling:$ac_tool_warned in
7165yes:)
7166{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7167$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7168ac_tool_warned=yes ;;
7169esac
7170    DLLTOOL=$ac_ct_DLLTOOL
7171  fi
7172else
7173  DLLTOOL="$ac_cv_prog_DLLTOOL"
7174fi
7175
7176test -z "$DLLTOOL" && DLLTOOL=dlltool
7177
7178
7179
7180
7181
7182
7183
7184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7185$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7186if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7187  $as_echo_n "(cached) " >&6
7188else
7189  lt_cv_sharedlib_from_linklib_cmd='unknown'
7190
7191case $host_os in
7192cygwin* | mingw* | pw32* | cegcc*)
7193  # two different shell functions defined in ltmain.sh;
7194  # decide which one to use based on capabilities of $DLLTOOL
7195  case `$DLLTOOL --help 2>&1` in
7196  *--identify-strict*)
7197    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7198    ;;
7199  *)
7200    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7201    ;;
7202  esac
7203  ;;
7204*)
7205  # fallback: assume linklib IS sharedlib
7206  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7207  ;;
7208esac
7209
7210fi
7211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7212$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7213sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7214test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7215
7216
7217
7218
7219
7220
7221
7222
7223if test -n "$ac_tool_prefix"; then
7224  for ac_prog in ar
7225  do
7226    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7227set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7229$as_echo_n "checking for $ac_word... " >&6; }
7230if ${ac_cv_prog_AR+:} false; then :
7231  $as_echo_n "(cached) " >&6
7232else
7233  if test -n "$AR"; then
7234  ac_cv_prog_AR="$AR" # Let the user override the test.
7235else
7236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7237for as_dir in $PATH
7238do
7239  IFS=$as_save_IFS
7240  test -z "$as_dir" && as_dir=.
7241    for ac_exec_ext in '' $ac_executable_extensions; do
7242  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7243    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7244    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7245    break 2
7246  fi
7247done
7248  done
7249IFS=$as_save_IFS
7250
7251fi
7252fi
7253AR=$ac_cv_prog_AR
7254if test -n "$AR"; then
7255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7256$as_echo "$AR" >&6; }
7257else
7258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259$as_echo "no" >&6; }
7260fi
7261
7262
7263    test -n "$AR" && break
7264  done
7265fi
7266if test -z "$AR"; then
7267  ac_ct_AR=$AR
7268  for ac_prog in ar
7269do
7270  # Extract the first word of "$ac_prog", so it can be a program name with args.
7271set dummy $ac_prog; ac_word=$2
7272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273$as_echo_n "checking for $ac_word... " >&6; }
7274if ${ac_cv_prog_ac_ct_AR+:} false; then :
7275  $as_echo_n "(cached) " >&6
7276else
7277  if test -n "$ac_ct_AR"; then
7278  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7279else
7280as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281for as_dir in $PATH
7282do
7283  IFS=$as_save_IFS
7284  test -z "$as_dir" && as_dir=.
7285    for ac_exec_ext in '' $ac_executable_extensions; do
7286  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7287    ac_cv_prog_ac_ct_AR="$ac_prog"
7288    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7289    break 2
7290  fi
7291done
7292  done
7293IFS=$as_save_IFS
7294
7295fi
7296fi
7297ac_ct_AR=$ac_cv_prog_ac_ct_AR
7298if test -n "$ac_ct_AR"; then
7299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7300$as_echo "$ac_ct_AR" >&6; }
7301else
7302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303$as_echo "no" >&6; }
7304fi
7305
7306
7307  test -n "$ac_ct_AR" && break
7308done
7309
7310  if test "x$ac_ct_AR" = x; then
7311    AR="false"
7312  else
7313    case $cross_compiling:$ac_tool_warned in
7314yes:)
7315{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7316$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7317ac_tool_warned=yes ;;
7318esac
7319    AR=$ac_ct_AR
7320  fi
7321fi
7322
7323: ${AR=ar}
7324: ${AR_FLAGS=cru}
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7337$as_echo_n "checking for archiver @FILE support... " >&6; }
7338if ${lt_cv_ar_at_file+:} false; then :
7339  $as_echo_n "(cached) " >&6
7340else
7341  lt_cv_ar_at_file=no
7342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7343/* end confdefs.h.  */
7344
7345int
7346main ()
7347{
7348
7349  ;
7350  return 0;
7351}
7352_ACEOF
7353if ac_fn_c_try_compile "$LINENO"; then :
7354  echo conftest.$ac_objext > conftest.lst
7355      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7356      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7357  (eval $lt_ar_try) 2>&5
7358  ac_status=$?
7359  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7360  test $ac_status = 0; }
7361      if test 0 -eq "$ac_status"; then
7362	# Ensure the archiver fails upon bogus file names.
7363	rm -f conftest.$ac_objext libconftest.a
7364	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7365  (eval $lt_ar_try) 2>&5
7366  ac_status=$?
7367  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7368  test $ac_status = 0; }
7369	if test 0 -ne "$ac_status"; then
7370          lt_cv_ar_at_file=@
7371        fi
7372      fi
7373      rm -f conftest.* libconftest.a
7374
7375fi
7376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7377
7378fi
7379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7380$as_echo "$lt_cv_ar_at_file" >&6; }
7381
7382if test no = "$lt_cv_ar_at_file"; then
7383  archiver_list_spec=
7384else
7385  archiver_list_spec=$lt_cv_ar_at_file
7386fi
7387
7388
7389
7390
7391
7392
7393
7394if test -n "$ac_tool_prefix"; then
7395  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7396set dummy ${ac_tool_prefix}strip; ac_word=$2
7397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7398$as_echo_n "checking for $ac_word... " >&6; }
7399if ${ac_cv_prog_STRIP+:} false; then :
7400  $as_echo_n "(cached) " >&6
7401else
7402  if test -n "$STRIP"; then
7403  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7404else
7405as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406for as_dir in $PATH
7407do
7408  IFS=$as_save_IFS
7409  test -z "$as_dir" && as_dir=.
7410    for ac_exec_ext in '' $ac_executable_extensions; do
7411  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7412    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7413    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7414    break 2
7415  fi
7416done
7417  done
7418IFS=$as_save_IFS
7419
7420fi
7421fi
7422STRIP=$ac_cv_prog_STRIP
7423if test -n "$STRIP"; then
7424  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7425$as_echo "$STRIP" >&6; }
7426else
7427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7428$as_echo "no" >&6; }
7429fi
7430
7431
7432fi
7433if test -z "$ac_cv_prog_STRIP"; then
7434  ac_ct_STRIP=$STRIP
7435  # Extract the first word of "strip", so it can be a program name with args.
7436set dummy strip; ac_word=$2
7437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7438$as_echo_n "checking for $ac_word... " >&6; }
7439if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7440  $as_echo_n "(cached) " >&6
7441else
7442  if test -n "$ac_ct_STRIP"; then
7443  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7444else
7445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7446for as_dir in $PATH
7447do
7448  IFS=$as_save_IFS
7449  test -z "$as_dir" && as_dir=.
7450    for ac_exec_ext in '' $ac_executable_extensions; do
7451  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7452    ac_cv_prog_ac_ct_STRIP="strip"
7453    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7454    break 2
7455  fi
7456done
7457  done
7458IFS=$as_save_IFS
7459
7460fi
7461fi
7462ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7463if test -n "$ac_ct_STRIP"; then
7464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7465$as_echo "$ac_ct_STRIP" >&6; }
7466else
7467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7468$as_echo "no" >&6; }
7469fi
7470
7471  if test "x$ac_ct_STRIP" = x; then
7472    STRIP=":"
7473  else
7474    case $cross_compiling:$ac_tool_warned in
7475yes:)
7476{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7477$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7478ac_tool_warned=yes ;;
7479esac
7480    STRIP=$ac_ct_STRIP
7481  fi
7482else
7483  STRIP="$ac_cv_prog_STRIP"
7484fi
7485
7486test -z "$STRIP" && STRIP=:
7487
7488
7489
7490
7491
7492
7493if test -n "$ac_tool_prefix"; then
7494  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7495set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7497$as_echo_n "checking for $ac_word... " >&6; }
7498if ${ac_cv_prog_RANLIB+:} false; then :
7499  $as_echo_n "(cached) " >&6
7500else
7501  if test -n "$RANLIB"; then
7502  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7503else
7504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7505for as_dir in $PATH
7506do
7507  IFS=$as_save_IFS
7508  test -z "$as_dir" && as_dir=.
7509    for ac_exec_ext in '' $ac_executable_extensions; do
7510  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7511    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7512    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7513    break 2
7514  fi
7515done
7516  done
7517IFS=$as_save_IFS
7518
7519fi
7520fi
7521RANLIB=$ac_cv_prog_RANLIB
7522if test -n "$RANLIB"; then
7523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7524$as_echo "$RANLIB" >&6; }
7525else
7526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7527$as_echo "no" >&6; }
7528fi
7529
7530
7531fi
7532if test -z "$ac_cv_prog_RANLIB"; then
7533  ac_ct_RANLIB=$RANLIB
7534  # Extract the first word of "ranlib", so it can be a program name with args.
7535set dummy ranlib; ac_word=$2
7536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7537$as_echo_n "checking for $ac_word... " >&6; }
7538if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7539  $as_echo_n "(cached) " >&6
7540else
7541  if test -n "$ac_ct_RANLIB"; then
7542  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7543else
7544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7545for as_dir in $PATH
7546do
7547  IFS=$as_save_IFS
7548  test -z "$as_dir" && as_dir=.
7549    for ac_exec_ext in '' $ac_executable_extensions; do
7550  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7551    ac_cv_prog_ac_ct_RANLIB="ranlib"
7552    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7553    break 2
7554  fi
7555done
7556  done
7557IFS=$as_save_IFS
7558
7559fi
7560fi
7561ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7562if test -n "$ac_ct_RANLIB"; then
7563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7564$as_echo "$ac_ct_RANLIB" >&6; }
7565else
7566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7567$as_echo "no" >&6; }
7568fi
7569
7570  if test "x$ac_ct_RANLIB" = x; then
7571    RANLIB=":"
7572  else
7573    case $cross_compiling:$ac_tool_warned in
7574yes:)
7575{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7576$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7577ac_tool_warned=yes ;;
7578esac
7579    RANLIB=$ac_ct_RANLIB
7580  fi
7581else
7582  RANLIB="$ac_cv_prog_RANLIB"
7583fi
7584
7585test -z "$RANLIB" && RANLIB=:
7586
7587
7588
7589
7590
7591
7592# Determine commands to create old-style static archives.
7593old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7594old_postinstall_cmds='chmod 644 $oldlib'
7595old_postuninstall_cmds=
7596
7597if test -n "$RANLIB"; then
7598  case $host_os in
7599  bitrig* | openbsd*)
7600    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7601    ;;
7602  *)
7603    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7604    ;;
7605  esac
7606  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7607fi
7608
7609case $host_os in
7610  darwin*)
7611    lock_old_archive_extraction=yes ;;
7612  *)
7613    lock_old_archive_extraction=no ;;
7614esac
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654# If no C compiler was specified, use CC.
7655LTCC=${LTCC-"$CC"}
7656
7657# If no C compiler flags were specified, use CFLAGS.
7658LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7659
7660# Allow CC to be a program name with arguments.
7661compiler=$CC
7662
7663
7664# Check for command to grab the raw symbol name followed by C symbol from nm.
7665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7666$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7667if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7668  $as_echo_n "(cached) " >&6
7669else
7670
7671# These are sane defaults that work on at least a few old systems.
7672# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7673
7674# Character class describing NM global symbol codes.
7675symcode='[BCDEGRST]'
7676
7677# Regexp to match symbols that can be accessed directly from C.
7678sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7679
7680# Define system-specific variables.
7681case $host_os in
7682aix*)
7683  symcode='[BCDT]'
7684  ;;
7685cygwin* | mingw* | pw32* | cegcc*)
7686  symcode='[ABCDGISTW]'
7687  ;;
7688hpux*)
7689  if test ia64 = "$host_cpu"; then
7690    symcode='[ABCDEGRST]'
7691  fi
7692  ;;
7693irix* | nonstopux*)
7694  symcode='[BCDEGRST]'
7695  ;;
7696osf*)
7697  symcode='[BCDEGQRST]'
7698  ;;
7699solaris*)
7700  symcode='[BDRT]'
7701  ;;
7702sco3.2v5*)
7703  symcode='[DT]'
7704  ;;
7705sysv4.2uw2*)
7706  symcode='[DT]'
7707  ;;
7708sysv5* | sco5v6* | unixware* | OpenUNIX*)
7709  symcode='[ABDT]'
7710  ;;
7711sysv4)
7712  symcode='[DFNSTU]'
7713  ;;
7714esac
7715
7716# If we're using GNU nm, then use its standard symbol codes.
7717case `$NM -V 2>&1` in
7718*GNU* | *'with BFD'*)
7719  symcode='[ABCDGIRSTW]' ;;
7720esac
7721
7722if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7723  # Gets list of data symbols to import.
7724  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7725  # Adjust the below global symbol transforms to fixup imported variables.
7726  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7727  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7728  lt_c_name_lib_hook="\
7729  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7730  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7731else
7732  # Disable hooks by default.
7733  lt_cv_sys_global_symbol_to_import=
7734  lt_cdecl_hook=
7735  lt_c_name_hook=
7736  lt_c_name_lib_hook=
7737fi
7738
7739# Transform an extracted symbol line into a proper C declaration.
7740# Some systems (esp. on ia64) link data and code symbols differently,
7741# so use this general approach.
7742lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7743$lt_cdecl_hook\
7744" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7745" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7746
7747# Transform an extracted symbol line into symbol name and symbol address
7748lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7749$lt_c_name_hook\
7750" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7751" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7752
7753# Transform an extracted symbol line into symbol name with lib prefix and
7754# symbol address.
7755lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7756$lt_c_name_lib_hook\
7757" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7758" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7759" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7760
7761# Handle CRLF in mingw tool chain
7762opt_cr=
7763case $build_os in
7764mingw*)
7765  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7766  ;;
7767esac
7768
7769# Try without a prefix underscore, then with it.
7770for ac_symprfx in "" "_"; do
7771
7772  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7773  symxfrm="\\1 $ac_symprfx\\2 \\2"
7774
7775  # Write the raw and C identifiers.
7776  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7777    # Fake it for dumpbin and say T for any non-static function,
7778    # D for any global variable and I for any imported variable.
7779    # Also find C++ and __fastcall symbols from MSVC++,
7780    # which start with @ or ?.
7781    lt_cv_sys_global_symbol_pipe="$AWK '"\
7782"     {last_section=section; section=\$ 3};"\
7783"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7784"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7785"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7786"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7787"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7788"     \$ 0!~/External *\|/{next};"\
7789"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7790"     {if(hide[section]) next};"\
7791"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7792"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7793"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7794"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7795"     ' prfx=^$ac_symprfx"
7796  else
7797    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7798  fi
7799  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7800
7801  # Check to see that the pipe works correctly.
7802  pipe_works=no
7803
7804  rm -f conftest*
7805  cat > conftest.$ac_ext <<_LT_EOF
7806#ifdef __cplusplus
7807extern "C" {
7808#endif
7809char nm_test_var;
7810void nm_test_func(void);
7811void nm_test_func(void){}
7812#ifdef __cplusplus
7813}
7814#endif
7815int main(){nm_test_var='a';nm_test_func();return(0);}
7816_LT_EOF
7817
7818  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7819  (eval $ac_compile) 2>&5
7820  ac_status=$?
7821  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7822  test $ac_status = 0; }; then
7823    # Now try to grab the symbols.
7824    nlist=conftest.nm
7825    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7826    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7827      # Try sorting and uniquifying the output.
7828      if sort "$nlist" | uniq > "$nlist"T; then
7829	mv -f "$nlist"T "$nlist"
7830      else
7831	rm -f "$nlist"T
7832      fi
7833
7834      # Make sure that we snagged all the symbols we need.
7835      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7836	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7837	  cat <<_LT_EOF > conftest.$ac_ext
7838/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7839#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7840/* DATA imports from DLLs on WIN32 can't be const, because runtime
7841   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7842# define LT_DLSYM_CONST
7843#elif defined __osf__
7844/* This system does not cope well with relocations in const data.  */
7845# define LT_DLSYM_CONST
7846#else
7847# define LT_DLSYM_CONST const
7848#endif
7849
7850#ifdef __cplusplus
7851extern "C" {
7852#endif
7853
7854_LT_EOF
7855	  # Now generate the symbol file.
7856	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7857
7858	  cat <<_LT_EOF >> conftest.$ac_ext
7859
7860/* The mapping between symbol names and symbols.  */
7861LT_DLSYM_CONST struct {
7862  const char *name;
7863  void       *address;
7864}
7865lt__PROGRAM__LTX_preloaded_symbols[] =
7866{
7867  { "@PROGRAM@", (void *) 0 },
7868_LT_EOF
7869	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7870	  cat <<\_LT_EOF >> conftest.$ac_ext
7871  {0, (void *) 0}
7872};
7873
7874/* This works around a problem in FreeBSD linker */
7875#ifdef FREEBSD_WORKAROUND
7876static const void *lt_preloaded_setup() {
7877  return lt__PROGRAM__LTX_preloaded_symbols;
7878}
7879#endif
7880
7881#ifdef __cplusplus
7882}
7883#endif
7884_LT_EOF
7885	  # Now try linking the two files.
7886	  mv conftest.$ac_objext conftstm.$ac_objext
7887	  lt_globsym_save_LIBS=$LIBS
7888	  lt_globsym_save_CFLAGS=$CFLAGS
7889	  LIBS=conftstm.$ac_objext
7890	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7891	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7892  (eval $ac_link) 2>&5
7893  ac_status=$?
7894  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7895  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7896	    pipe_works=yes
7897	  fi
7898	  LIBS=$lt_globsym_save_LIBS
7899	  CFLAGS=$lt_globsym_save_CFLAGS
7900	else
7901	  echo "cannot find nm_test_func in $nlist" >&5
7902	fi
7903      else
7904	echo "cannot find nm_test_var in $nlist" >&5
7905      fi
7906    else
7907      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7908    fi
7909  else
7910    echo "$progname: failed program was:" >&5
7911    cat conftest.$ac_ext >&5
7912  fi
7913  rm -rf conftest* conftst*
7914
7915  # Do not use the global_symbol_pipe unless it works.
7916  if test yes = "$pipe_works"; then
7917    break
7918  else
7919    lt_cv_sys_global_symbol_pipe=
7920  fi
7921done
7922
7923fi
7924
7925if test -z "$lt_cv_sys_global_symbol_pipe"; then
7926  lt_cv_sys_global_symbol_to_cdecl=
7927fi
7928if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7930$as_echo "failed" >&6; }
7931else
7932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7933$as_echo "ok" >&6; }
7934fi
7935
7936# Response file support.
7937if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7938  nm_file_list_spec='@'
7939elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7940  nm_file_list_spec='@'
7941fi
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7980$as_echo_n "checking for sysroot... " >&6; }
7981
7982# Check whether --with-sysroot was given.
7983if test "${with_sysroot+set}" = set; then :
7984  withval=$with_sysroot;
7985else
7986  with_sysroot=no
7987fi
7988
7989
7990lt_sysroot=
7991case $with_sysroot in #(
7992 yes)
7993   if test yes = "$GCC"; then
7994     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7995   fi
7996   ;; #(
7997 /*)
7998   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7999   ;; #(
8000 no|'')
8001   ;; #(
8002 *)
8003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8004$as_echo "$with_sysroot" >&6; }
8005   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8006   ;;
8007esac
8008
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8010$as_echo "${lt_sysroot:-no}" >&6; }
8011
8012
8013
8014
8015
8016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8017$as_echo_n "checking for a working dd... " >&6; }
8018if ${ac_cv_path_lt_DD+:} false; then :
8019  $as_echo_n "(cached) " >&6
8020else
8021  printf 0123456789abcdef0123456789abcdef >conftest.i
8022cat conftest.i conftest.i >conftest2.i
8023: ${lt_DD:=$DD}
8024if test -z "$lt_DD"; then
8025  ac_path_lt_DD_found=false
8026  # Loop through the user's path and test for each of PROGNAME-LIST
8027  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8028for as_dir in $PATH
8029do
8030  IFS=$as_save_IFS
8031  test -z "$as_dir" && as_dir=.
8032    for ac_prog in dd; do
8033    for ac_exec_ext in '' $ac_executable_extensions; do
8034      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8035      as_fn_executable_p "$ac_path_lt_DD" || continue
8036if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8037  cmp -s conftest.i conftest.out \
8038  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8039fi
8040      $ac_path_lt_DD_found && break 3
8041    done
8042  done
8043  done
8044IFS=$as_save_IFS
8045  if test -z "$ac_cv_path_lt_DD"; then
8046    :
8047  fi
8048else
8049  ac_cv_path_lt_DD=$lt_DD
8050fi
8051
8052rm -f conftest.i conftest2.i conftest.out
8053fi
8054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8055$as_echo "$ac_cv_path_lt_DD" >&6; }
8056
8057
8058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8059$as_echo_n "checking how to truncate binary pipes... " >&6; }
8060if ${lt_cv_truncate_bin+:} false; then :
8061  $as_echo_n "(cached) " >&6
8062else
8063  printf 0123456789abcdef0123456789abcdef >conftest.i
8064cat conftest.i conftest.i >conftest2.i
8065lt_cv_truncate_bin=
8066if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8067  cmp -s conftest.i conftest.out \
8068  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8069fi
8070rm -f conftest.i conftest2.i conftest.out
8071test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8072fi
8073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8074$as_echo "$lt_cv_truncate_bin" >&6; }
8075
8076
8077
8078
8079
8080
8081
8082# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8083func_cc_basename ()
8084{
8085    for cc_temp in $*""; do
8086      case $cc_temp in
8087        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8088        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8089        \-*) ;;
8090        *) break;;
8091      esac
8092    done
8093    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8094}
8095
8096# Check whether --enable-libtool-lock was given.
8097if test "${enable_libtool_lock+set}" = set; then :
8098  enableval=$enable_libtool_lock;
8099fi
8100
8101test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8102
8103# Some flags need to be propagated to the compiler or linker for good
8104# libtool support.
8105case $host in
8106ia64-*-hpux*)
8107  # Find out what ABI is being produced by ac_compile, and set mode
8108  # options accordingly.
8109  echo 'int i;' > conftest.$ac_ext
8110  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8111  (eval $ac_compile) 2>&5
8112  ac_status=$?
8113  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8114  test $ac_status = 0; }; then
8115    case `/usr/bin/file conftest.$ac_objext` in
8116      *ELF-32*)
8117	HPUX_IA64_MODE=32
8118	;;
8119      *ELF-64*)
8120	HPUX_IA64_MODE=64
8121	;;
8122    esac
8123  fi
8124  rm -rf conftest*
8125  ;;
8126*-*-irix6*)
8127  # Find out what ABI is being produced by ac_compile, and set linker
8128  # options accordingly.
8129  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8130  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8131  (eval $ac_compile) 2>&5
8132  ac_status=$?
8133  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8134  test $ac_status = 0; }; then
8135    if test yes = "$lt_cv_prog_gnu_ld"; then
8136      case `/usr/bin/file conftest.$ac_objext` in
8137	*32-bit*)
8138	  LD="${LD-ld} -melf32bsmip"
8139	  ;;
8140	*N32*)
8141	  LD="${LD-ld} -melf32bmipn32"
8142	  ;;
8143	*64-bit*)
8144	  LD="${LD-ld} -melf64bmip"
8145	;;
8146      esac
8147    else
8148      case `/usr/bin/file conftest.$ac_objext` in
8149	*32-bit*)
8150	  LD="${LD-ld} -32"
8151	  ;;
8152	*N32*)
8153	  LD="${LD-ld} -n32"
8154	  ;;
8155	*64-bit*)
8156	  LD="${LD-ld} -64"
8157	  ;;
8158      esac
8159    fi
8160  fi
8161  rm -rf conftest*
8162  ;;
8163
8164mips64*-*linux*)
8165  # Find out what ABI is being produced by ac_compile, and set linker
8166  # options accordingly.
8167  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8168  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8169  (eval $ac_compile) 2>&5
8170  ac_status=$?
8171  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8172  test $ac_status = 0; }; then
8173    emul=elf
8174    case `/usr/bin/file conftest.$ac_objext` in
8175      *32-bit*)
8176	emul="${emul}32"
8177	;;
8178      *64-bit*)
8179	emul="${emul}64"
8180	;;
8181    esac
8182    case `/usr/bin/file conftest.$ac_objext` in
8183      *MSB*)
8184	emul="${emul}btsmip"
8185	;;
8186      *LSB*)
8187	emul="${emul}ltsmip"
8188	;;
8189    esac
8190    case `/usr/bin/file conftest.$ac_objext` in
8191      *N32*)
8192	emul="${emul}n32"
8193	;;
8194    esac
8195    LD="${LD-ld} -m $emul"
8196  fi
8197  rm -rf conftest*
8198  ;;
8199
8200x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8201s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8202  # Find out what ABI is being produced by ac_compile, and set linker
8203  # options accordingly.  Note that the listed cases only cover the
8204  # situations where additional linker options are needed (such as when
8205  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8206  # vice versa); the common cases where no linker options are needed do
8207  # not appear in the list.
8208  echo 'int i;' > conftest.$ac_ext
8209  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8210  (eval $ac_compile) 2>&5
8211  ac_status=$?
8212  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8213  test $ac_status = 0; }; then
8214    case `/usr/bin/file conftest.o` in
8215      *32-bit*)
8216	case $host in
8217	  x86_64-*kfreebsd*-gnu)
8218	    LD="${LD-ld} -m elf_i386_fbsd"
8219	    ;;
8220	  x86_64-*linux*)
8221	    case `/usr/bin/file conftest.o` in
8222	      *x86-64*)
8223		LD="${LD-ld} -m elf32_x86_64"
8224		;;
8225	      *)
8226		LD="${LD-ld} -m elf_i386"
8227		;;
8228	    esac
8229	    ;;
8230	  powerpc64le-*linux*)
8231	    LD="${LD-ld} -m elf32lppclinux"
8232	    ;;
8233	  powerpc64-*linux*)
8234	    LD="${LD-ld} -m elf32ppclinux"
8235	    ;;
8236	  s390x-*linux*)
8237	    LD="${LD-ld} -m elf_s390"
8238	    ;;
8239	  sparc64-*linux*)
8240	    LD="${LD-ld} -m elf32_sparc"
8241	    ;;
8242	esac
8243	;;
8244      *64-bit*)
8245	case $host in
8246	  x86_64-*kfreebsd*-gnu)
8247	    LD="${LD-ld} -m elf_x86_64_fbsd"
8248	    ;;
8249	  x86_64-*linux*)
8250	    LD="${LD-ld} -m elf_x86_64"
8251	    ;;
8252	  powerpcle-*linux*)
8253	    LD="${LD-ld} -m elf64lppc"
8254	    ;;
8255	  powerpc-*linux*)
8256	    LD="${LD-ld} -m elf64ppc"
8257	    ;;
8258	  s390*-*linux*|s390*-*tpf*)
8259	    LD="${LD-ld} -m elf64_s390"
8260	    ;;
8261	  sparc*-*linux*)
8262	    LD="${LD-ld} -m elf64_sparc"
8263	    ;;
8264	esac
8265	;;
8266    esac
8267  fi
8268  rm -rf conftest*
8269  ;;
8270
8271*-*-sco3.2v5*)
8272  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8273  SAVE_CFLAGS=$CFLAGS
8274  CFLAGS="$CFLAGS -belf"
8275  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8276$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8277if ${lt_cv_cc_needs_belf+:} false; then :
8278  $as_echo_n "(cached) " >&6
8279else
8280  ac_ext=c
8281ac_cpp='$CPP $CPPFLAGS'
8282ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8283ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8284ac_compiler_gnu=$ac_cv_c_compiler_gnu
8285
8286     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8287/* end confdefs.h.  */
8288
8289int
8290main ()
8291{
8292
8293  ;
8294  return 0;
8295}
8296_ACEOF
8297if ac_fn_c_try_link "$LINENO"; then :
8298  lt_cv_cc_needs_belf=yes
8299else
8300  lt_cv_cc_needs_belf=no
8301fi
8302rm -f core conftest.err conftest.$ac_objext \
8303    conftest$ac_exeext conftest.$ac_ext
8304     ac_ext=c
8305ac_cpp='$CPP $CPPFLAGS'
8306ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8307ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8308ac_compiler_gnu=$ac_cv_c_compiler_gnu
8309
8310fi
8311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8312$as_echo "$lt_cv_cc_needs_belf" >&6; }
8313  if test yes != "$lt_cv_cc_needs_belf"; then
8314    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8315    CFLAGS=$SAVE_CFLAGS
8316  fi
8317  ;;
8318*-*solaris*)
8319  # Find out what ABI is being produced by ac_compile, and set linker
8320  # options accordingly.
8321  echo 'int i;' > conftest.$ac_ext
8322  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8323  (eval $ac_compile) 2>&5
8324  ac_status=$?
8325  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8326  test $ac_status = 0; }; then
8327    case `/usr/bin/file conftest.o` in
8328    *64-bit*)
8329      case $lt_cv_prog_gnu_ld in
8330      yes*)
8331        case $host in
8332        i?86-*-solaris*|x86_64-*-solaris*)
8333          LD="${LD-ld} -m elf_x86_64"
8334          ;;
8335        sparc*-*-solaris*)
8336          LD="${LD-ld} -m elf64_sparc"
8337          ;;
8338        esac
8339        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8340        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8341          LD=${LD-ld}_sol2
8342        fi
8343        ;;
8344      *)
8345	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8346	  LD="${LD-ld} -64"
8347	fi
8348	;;
8349      esac
8350      ;;
8351    esac
8352  fi
8353  rm -rf conftest*
8354  ;;
8355esac
8356
8357need_locks=$enable_libtool_lock
8358
8359if test -n "$ac_tool_prefix"; then
8360  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8361set dummy ${ac_tool_prefix}mt; ac_word=$2
8362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8363$as_echo_n "checking for $ac_word... " >&6; }
8364if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8365  $as_echo_n "(cached) " >&6
8366else
8367  if test -n "$MANIFEST_TOOL"; then
8368  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8369else
8370as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8371for as_dir in $PATH
8372do
8373  IFS=$as_save_IFS
8374  test -z "$as_dir" && as_dir=.
8375    for ac_exec_ext in '' $ac_executable_extensions; do
8376  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8377    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8378    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8379    break 2
8380  fi
8381done
8382  done
8383IFS=$as_save_IFS
8384
8385fi
8386fi
8387MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8388if test -n "$MANIFEST_TOOL"; then
8389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8390$as_echo "$MANIFEST_TOOL" >&6; }
8391else
8392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8393$as_echo "no" >&6; }
8394fi
8395
8396
8397fi
8398if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8399  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8400  # Extract the first word of "mt", so it can be a program name with args.
8401set dummy mt; ac_word=$2
8402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8403$as_echo_n "checking for $ac_word... " >&6; }
8404if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8405  $as_echo_n "(cached) " >&6
8406else
8407  if test -n "$ac_ct_MANIFEST_TOOL"; then
8408  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8409else
8410as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8411for as_dir in $PATH
8412do
8413  IFS=$as_save_IFS
8414  test -z "$as_dir" && as_dir=.
8415    for ac_exec_ext in '' $ac_executable_extensions; do
8416  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8417    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8418    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8419    break 2
8420  fi
8421done
8422  done
8423IFS=$as_save_IFS
8424
8425fi
8426fi
8427ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8428if test -n "$ac_ct_MANIFEST_TOOL"; then
8429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8430$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8431else
8432  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8433$as_echo "no" >&6; }
8434fi
8435
8436  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8437    MANIFEST_TOOL=":"
8438  else
8439    case $cross_compiling:$ac_tool_warned in
8440yes:)
8441{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8442$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8443ac_tool_warned=yes ;;
8444esac
8445    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8446  fi
8447else
8448  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8449fi
8450
8451test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8453$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8454if ${lt_cv_path_mainfest_tool+:} false; then :
8455  $as_echo_n "(cached) " >&6
8456else
8457  lt_cv_path_mainfest_tool=no
8458  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8459  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8460  cat conftest.err >&5
8461  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8462    lt_cv_path_mainfest_tool=yes
8463  fi
8464  rm -f conftest*
8465fi
8466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8467$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8468if test yes != "$lt_cv_path_mainfest_tool"; then
8469  MANIFEST_TOOL=:
8470fi
8471
8472
8473
8474
8475
8476
8477  case $host_os in
8478    rhapsody* | darwin*)
8479    if test -n "$ac_tool_prefix"; then
8480  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8481set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8483$as_echo_n "checking for $ac_word... " >&6; }
8484if ${ac_cv_prog_DSYMUTIL+:} false; then :
8485  $as_echo_n "(cached) " >&6
8486else
8487  if test -n "$DSYMUTIL"; then
8488  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8489else
8490as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8491for as_dir in $PATH
8492do
8493  IFS=$as_save_IFS
8494  test -z "$as_dir" && as_dir=.
8495    for ac_exec_ext in '' $ac_executable_extensions; do
8496  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8497    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8498    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8499    break 2
8500  fi
8501done
8502  done
8503IFS=$as_save_IFS
8504
8505fi
8506fi
8507DSYMUTIL=$ac_cv_prog_DSYMUTIL
8508if test -n "$DSYMUTIL"; then
8509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8510$as_echo "$DSYMUTIL" >&6; }
8511else
8512  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8513$as_echo "no" >&6; }
8514fi
8515
8516
8517fi
8518if test -z "$ac_cv_prog_DSYMUTIL"; then
8519  ac_ct_DSYMUTIL=$DSYMUTIL
8520  # Extract the first word of "dsymutil", so it can be a program name with args.
8521set dummy dsymutil; ac_word=$2
8522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8523$as_echo_n "checking for $ac_word... " >&6; }
8524if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8525  $as_echo_n "(cached) " >&6
8526else
8527  if test -n "$ac_ct_DSYMUTIL"; then
8528  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8529else
8530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8531for as_dir in $PATH
8532do
8533  IFS=$as_save_IFS
8534  test -z "$as_dir" && as_dir=.
8535    for ac_exec_ext in '' $ac_executable_extensions; do
8536  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8537    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8538    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8539    break 2
8540  fi
8541done
8542  done
8543IFS=$as_save_IFS
8544
8545fi
8546fi
8547ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8548if test -n "$ac_ct_DSYMUTIL"; then
8549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8550$as_echo "$ac_ct_DSYMUTIL" >&6; }
8551else
8552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8553$as_echo "no" >&6; }
8554fi
8555
8556  if test "x$ac_ct_DSYMUTIL" = x; then
8557    DSYMUTIL=":"
8558  else
8559    case $cross_compiling:$ac_tool_warned in
8560yes:)
8561{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8562$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8563ac_tool_warned=yes ;;
8564esac
8565    DSYMUTIL=$ac_ct_DSYMUTIL
8566  fi
8567else
8568  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8569fi
8570
8571    if test -n "$ac_tool_prefix"; then
8572  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8573set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8575$as_echo_n "checking for $ac_word... " >&6; }
8576if ${ac_cv_prog_NMEDIT+:} false; then :
8577  $as_echo_n "(cached) " >&6
8578else
8579  if test -n "$NMEDIT"; then
8580  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8581else
8582as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8583for as_dir in $PATH
8584do
8585  IFS=$as_save_IFS
8586  test -z "$as_dir" && as_dir=.
8587    for ac_exec_ext in '' $ac_executable_extensions; do
8588  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8589    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8590    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8591    break 2
8592  fi
8593done
8594  done
8595IFS=$as_save_IFS
8596
8597fi
8598fi
8599NMEDIT=$ac_cv_prog_NMEDIT
8600if test -n "$NMEDIT"; then
8601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8602$as_echo "$NMEDIT" >&6; }
8603else
8604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8605$as_echo "no" >&6; }
8606fi
8607
8608
8609fi
8610if test -z "$ac_cv_prog_NMEDIT"; then
8611  ac_ct_NMEDIT=$NMEDIT
8612  # Extract the first word of "nmedit", so it can be a program name with args.
8613set dummy nmedit; ac_word=$2
8614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8615$as_echo_n "checking for $ac_word... " >&6; }
8616if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8617  $as_echo_n "(cached) " >&6
8618else
8619  if test -n "$ac_ct_NMEDIT"; then
8620  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8621else
8622as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8623for as_dir in $PATH
8624do
8625  IFS=$as_save_IFS
8626  test -z "$as_dir" && as_dir=.
8627    for ac_exec_ext in '' $ac_executable_extensions; do
8628  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8629    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8630    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8631    break 2
8632  fi
8633done
8634  done
8635IFS=$as_save_IFS
8636
8637fi
8638fi
8639ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8640if test -n "$ac_ct_NMEDIT"; then
8641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8642$as_echo "$ac_ct_NMEDIT" >&6; }
8643else
8644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8645$as_echo "no" >&6; }
8646fi
8647
8648  if test "x$ac_ct_NMEDIT" = x; then
8649    NMEDIT=":"
8650  else
8651    case $cross_compiling:$ac_tool_warned in
8652yes:)
8653{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8654$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8655ac_tool_warned=yes ;;
8656esac
8657    NMEDIT=$ac_ct_NMEDIT
8658  fi
8659else
8660  NMEDIT="$ac_cv_prog_NMEDIT"
8661fi
8662
8663    if test -n "$ac_tool_prefix"; then
8664  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8665set dummy ${ac_tool_prefix}lipo; ac_word=$2
8666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8667$as_echo_n "checking for $ac_word... " >&6; }
8668if ${ac_cv_prog_LIPO+:} false; then :
8669  $as_echo_n "(cached) " >&6
8670else
8671  if test -n "$LIPO"; then
8672  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8673else
8674as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8675for as_dir in $PATH
8676do
8677  IFS=$as_save_IFS
8678  test -z "$as_dir" && as_dir=.
8679    for ac_exec_ext in '' $ac_executable_extensions; do
8680  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8681    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8682    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8683    break 2
8684  fi
8685done
8686  done
8687IFS=$as_save_IFS
8688
8689fi
8690fi
8691LIPO=$ac_cv_prog_LIPO
8692if test -n "$LIPO"; then
8693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8694$as_echo "$LIPO" >&6; }
8695else
8696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8697$as_echo "no" >&6; }
8698fi
8699
8700
8701fi
8702if test -z "$ac_cv_prog_LIPO"; then
8703  ac_ct_LIPO=$LIPO
8704  # Extract the first word of "lipo", so it can be a program name with args.
8705set dummy lipo; ac_word=$2
8706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8707$as_echo_n "checking for $ac_word... " >&6; }
8708if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8709  $as_echo_n "(cached) " >&6
8710else
8711  if test -n "$ac_ct_LIPO"; then
8712  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8713else
8714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8715for as_dir in $PATH
8716do
8717  IFS=$as_save_IFS
8718  test -z "$as_dir" && as_dir=.
8719    for ac_exec_ext in '' $ac_executable_extensions; do
8720  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8721    ac_cv_prog_ac_ct_LIPO="lipo"
8722    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8723    break 2
8724  fi
8725done
8726  done
8727IFS=$as_save_IFS
8728
8729fi
8730fi
8731ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8732if test -n "$ac_ct_LIPO"; then
8733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8734$as_echo "$ac_ct_LIPO" >&6; }
8735else
8736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8737$as_echo "no" >&6; }
8738fi
8739
8740  if test "x$ac_ct_LIPO" = x; then
8741    LIPO=":"
8742  else
8743    case $cross_compiling:$ac_tool_warned in
8744yes:)
8745{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8746$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8747ac_tool_warned=yes ;;
8748esac
8749    LIPO=$ac_ct_LIPO
8750  fi
8751else
8752  LIPO="$ac_cv_prog_LIPO"
8753fi
8754
8755    if test -n "$ac_tool_prefix"; then
8756  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8757set dummy ${ac_tool_prefix}otool; ac_word=$2
8758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8759$as_echo_n "checking for $ac_word... " >&6; }
8760if ${ac_cv_prog_OTOOL+:} false; then :
8761  $as_echo_n "(cached) " >&6
8762else
8763  if test -n "$OTOOL"; then
8764  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8765else
8766as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8767for as_dir in $PATH
8768do
8769  IFS=$as_save_IFS
8770  test -z "$as_dir" && as_dir=.
8771    for ac_exec_ext in '' $ac_executable_extensions; do
8772  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8773    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8774    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8775    break 2
8776  fi
8777done
8778  done
8779IFS=$as_save_IFS
8780
8781fi
8782fi
8783OTOOL=$ac_cv_prog_OTOOL
8784if test -n "$OTOOL"; then
8785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8786$as_echo "$OTOOL" >&6; }
8787else
8788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8789$as_echo "no" >&6; }
8790fi
8791
8792
8793fi
8794if test -z "$ac_cv_prog_OTOOL"; then
8795  ac_ct_OTOOL=$OTOOL
8796  # Extract the first word of "otool", so it can be a program name with args.
8797set dummy otool; ac_word=$2
8798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8799$as_echo_n "checking for $ac_word... " >&6; }
8800if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8801  $as_echo_n "(cached) " >&6
8802else
8803  if test -n "$ac_ct_OTOOL"; then
8804  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8805else
8806as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8807for as_dir in $PATH
8808do
8809  IFS=$as_save_IFS
8810  test -z "$as_dir" && as_dir=.
8811    for ac_exec_ext in '' $ac_executable_extensions; do
8812  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8813    ac_cv_prog_ac_ct_OTOOL="otool"
8814    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8815    break 2
8816  fi
8817done
8818  done
8819IFS=$as_save_IFS
8820
8821fi
8822fi
8823ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8824if test -n "$ac_ct_OTOOL"; then
8825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8826$as_echo "$ac_ct_OTOOL" >&6; }
8827else
8828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8829$as_echo "no" >&6; }
8830fi
8831
8832  if test "x$ac_ct_OTOOL" = x; then
8833    OTOOL=":"
8834  else
8835    case $cross_compiling:$ac_tool_warned in
8836yes:)
8837{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8838$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8839ac_tool_warned=yes ;;
8840esac
8841    OTOOL=$ac_ct_OTOOL
8842  fi
8843else
8844  OTOOL="$ac_cv_prog_OTOOL"
8845fi
8846
8847    if test -n "$ac_tool_prefix"; then
8848  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8849set dummy ${ac_tool_prefix}otool64; ac_word=$2
8850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8851$as_echo_n "checking for $ac_word... " >&6; }
8852if ${ac_cv_prog_OTOOL64+:} false; then :
8853  $as_echo_n "(cached) " >&6
8854else
8855  if test -n "$OTOOL64"; then
8856  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8857else
8858as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8859for as_dir in $PATH
8860do
8861  IFS=$as_save_IFS
8862  test -z "$as_dir" && as_dir=.
8863    for ac_exec_ext in '' $ac_executable_extensions; do
8864  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8865    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8866    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8867    break 2
8868  fi
8869done
8870  done
8871IFS=$as_save_IFS
8872
8873fi
8874fi
8875OTOOL64=$ac_cv_prog_OTOOL64
8876if test -n "$OTOOL64"; then
8877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8878$as_echo "$OTOOL64" >&6; }
8879else
8880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8881$as_echo "no" >&6; }
8882fi
8883
8884
8885fi
8886if test -z "$ac_cv_prog_OTOOL64"; then
8887  ac_ct_OTOOL64=$OTOOL64
8888  # Extract the first word of "otool64", so it can be a program name with args.
8889set dummy otool64; ac_word=$2
8890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8891$as_echo_n "checking for $ac_word... " >&6; }
8892if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8893  $as_echo_n "(cached) " >&6
8894else
8895  if test -n "$ac_ct_OTOOL64"; then
8896  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8897else
8898as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8899for as_dir in $PATH
8900do
8901  IFS=$as_save_IFS
8902  test -z "$as_dir" && as_dir=.
8903    for ac_exec_ext in '' $ac_executable_extensions; do
8904  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8905    ac_cv_prog_ac_ct_OTOOL64="otool64"
8906    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8907    break 2
8908  fi
8909done
8910  done
8911IFS=$as_save_IFS
8912
8913fi
8914fi
8915ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8916if test -n "$ac_ct_OTOOL64"; then
8917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8918$as_echo "$ac_ct_OTOOL64" >&6; }
8919else
8920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8921$as_echo "no" >&6; }
8922fi
8923
8924  if test "x$ac_ct_OTOOL64" = x; then
8925    OTOOL64=":"
8926  else
8927    case $cross_compiling:$ac_tool_warned in
8928yes:)
8929{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8930$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8931ac_tool_warned=yes ;;
8932esac
8933    OTOOL64=$ac_ct_OTOOL64
8934  fi
8935else
8936  OTOOL64="$ac_cv_prog_OTOOL64"
8937fi
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8966$as_echo_n "checking for -single_module linker flag... " >&6; }
8967if ${lt_cv_apple_cc_single_mod+:} false; then :
8968  $as_echo_n "(cached) " >&6
8969else
8970  lt_cv_apple_cc_single_mod=no
8971      if test -z "$LT_MULTI_MODULE"; then
8972	# By default we will add the -single_module flag. You can override
8973	# by either setting the environment variable LT_MULTI_MODULE
8974	# non-empty at configure time, or by adding -multi_module to the
8975	# link flags.
8976	rm -rf libconftest.dylib*
8977	echo "int foo(void){return 1;}" > conftest.c
8978	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8979-dynamiclib -Wl,-single_module conftest.c" >&5
8980	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8981	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8982        _lt_result=$?
8983	# If there is a non-empty error log, and "single_module"
8984	# appears in it, assume the flag caused a linker warning
8985        if test -s conftest.err && $GREP single_module conftest.err; then
8986	  cat conftest.err >&5
8987	# Otherwise, if the output was created with a 0 exit code from
8988	# the compiler, it worked.
8989	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8990	  lt_cv_apple_cc_single_mod=yes
8991	else
8992	  cat conftest.err >&5
8993	fi
8994	rm -rf libconftest.dylib*
8995	rm -f conftest.*
8996      fi
8997fi
8998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8999$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9000
9001    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9002$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9003if ${lt_cv_ld_exported_symbols_list+:} false; then :
9004  $as_echo_n "(cached) " >&6
9005else
9006  lt_cv_ld_exported_symbols_list=no
9007      save_LDFLAGS=$LDFLAGS
9008      echo "_main" > conftest.sym
9009      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9010      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9011/* end confdefs.h.  */
9012
9013int
9014main ()
9015{
9016
9017  ;
9018  return 0;
9019}
9020_ACEOF
9021if ac_fn_c_try_link "$LINENO"; then :
9022  lt_cv_ld_exported_symbols_list=yes
9023else
9024  lt_cv_ld_exported_symbols_list=no
9025fi
9026rm -f core conftest.err conftest.$ac_objext \
9027    conftest$ac_exeext conftest.$ac_ext
9028	LDFLAGS=$save_LDFLAGS
9029
9030fi
9031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9032$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9033
9034    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9035$as_echo_n "checking for -force_load linker flag... " >&6; }
9036if ${lt_cv_ld_force_load+:} false; then :
9037  $as_echo_n "(cached) " >&6
9038else
9039  lt_cv_ld_force_load=no
9040      cat > conftest.c << _LT_EOF
9041int forced_loaded() { return 2;}
9042_LT_EOF
9043      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9044      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9045      echo "$AR cru libconftest.a conftest.o" >&5
9046      $AR cru libconftest.a conftest.o 2>&5
9047      echo "$RANLIB libconftest.a" >&5
9048      $RANLIB libconftest.a 2>&5
9049      cat > conftest.c << _LT_EOF
9050int main() { return 0;}
9051_LT_EOF
9052      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9053      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9054      _lt_result=$?
9055      if test -s conftest.err && $GREP force_load conftest.err; then
9056	cat conftest.err >&5
9057      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9058	lt_cv_ld_force_load=yes
9059      else
9060	cat conftest.err >&5
9061      fi
9062        rm -f conftest.err libconftest.a conftest conftest.c
9063        rm -rf conftest.dSYM
9064
9065fi
9066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9067$as_echo "$lt_cv_ld_force_load" >&6; }
9068    case $host_os in
9069    rhapsody* | darwin1.[012])
9070      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9071    darwin1.*)
9072      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9073    darwin*) # darwin 5.x on
9074      # if running on 10.5 or later, the deployment target defaults
9075      # to the OS version, if on x86, and 10.4, the deployment
9076      # target defaults to 10.4. Don't you love it?
9077      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9078	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9079	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9080	10.[012][,.]*)
9081	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9082	10.*)
9083	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9084      esac
9085    ;;
9086  esac
9087    if test yes = "$lt_cv_apple_cc_single_mod"; then
9088      _lt_dar_single_mod='$single_module'
9089    fi
9090    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9091      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9092    else
9093      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9094    fi
9095    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9096      _lt_dsymutil='~$DSYMUTIL $lib || :'
9097    else
9098      _lt_dsymutil=
9099    fi
9100    ;;
9101  esac
9102
9103# func_munge_path_list VARIABLE PATH
9104# -----------------------------------
9105# VARIABLE is name of variable containing _space_ separated list of
9106# directories to be munged by the contents of PATH, which is string
9107# having a format:
9108# "DIR[:DIR]:"
9109#       string "DIR[ DIR]" will be prepended to VARIABLE
9110# ":DIR[:DIR]"
9111#       string "DIR[ DIR]" will be appended to VARIABLE
9112# "DIRP[:DIRP]::[DIRA:]DIRA"
9113#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9114#       "DIRA[ DIRA]" will be appended to VARIABLE
9115# "DIR[:DIR]"
9116#       VARIABLE will be replaced by "DIR[ DIR]"
9117func_munge_path_list ()
9118{
9119    case x$2 in
9120    x)
9121        ;;
9122    *:)
9123        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9124        ;;
9125    x:*)
9126        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9127        ;;
9128    *::*)
9129        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9130        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9131        ;;
9132    *)
9133        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9134        ;;
9135    esac
9136}
9137
9138ac_ext=c
9139ac_cpp='$CPP $CPPFLAGS'
9140ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9141ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9142ac_compiler_gnu=$ac_cv_c_compiler_gnu
9143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
9144$as_echo_n "checking how to run the C preprocessor... " >&6; }
9145# On Suns, sometimes $CPP names a directory.
9146if test -n "$CPP" && test -d "$CPP"; then
9147  CPP=
9148fi
9149if test -z "$CPP"; then
9150  if ${ac_cv_prog_CPP+:} false; then :
9151  $as_echo_n "(cached) " >&6
9152else
9153      # Double quotes because CPP needs to be expanded
9154    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9155    do
9156      ac_preproc_ok=false
9157for ac_c_preproc_warn_flag in '' yes
9158do
9159  # Use a header file that comes with gcc, so configuring glibc
9160  # with a fresh cross-compiler works.
9161  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9162  # <limits.h> exists even on freestanding compilers.
9163  # On the NeXT, cc -E runs the code through the compiler's parser,
9164  # not just through cpp. "Syntax error" is here to catch this case.
9165  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9166/* end confdefs.h.  */
9167#ifdef __STDC__
9168# include <limits.h>
9169#else
9170# include <assert.h>
9171#endif
9172		     Syntax error
9173_ACEOF
9174if ac_fn_c_try_cpp "$LINENO"; then :
9175
9176else
9177  # Broken: fails on valid input.
9178continue
9179fi
9180rm -f conftest.err conftest.i conftest.$ac_ext
9181
9182  # OK, works on sane cases.  Now check whether nonexistent headers
9183  # can be detected and how.
9184  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9185/* end confdefs.h.  */
9186#include <ac_nonexistent.h>
9187_ACEOF
9188if ac_fn_c_try_cpp "$LINENO"; then :
9189  # Broken: success on invalid input.
9190continue
9191else
9192  # Passes both tests.
9193ac_preproc_ok=:
9194break
9195fi
9196rm -f conftest.err conftest.i conftest.$ac_ext
9197
9198done
9199# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9200rm -f conftest.i conftest.err conftest.$ac_ext
9201if $ac_preproc_ok; then :
9202  break
9203fi
9204
9205    done
9206    ac_cv_prog_CPP=$CPP
9207
9208fi
9209  CPP=$ac_cv_prog_CPP
9210else
9211  ac_cv_prog_CPP=$CPP
9212fi
9213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
9214$as_echo "$CPP" >&6; }
9215ac_preproc_ok=false
9216for ac_c_preproc_warn_flag in '' yes
9217do
9218  # Use a header file that comes with gcc, so configuring glibc
9219  # with a fresh cross-compiler works.
9220  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9221  # <limits.h> exists even on freestanding compilers.
9222  # On the NeXT, cc -E runs the code through the compiler's parser,
9223  # not just through cpp. "Syntax error" is here to catch this case.
9224  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9225/* end confdefs.h.  */
9226#ifdef __STDC__
9227# include <limits.h>
9228#else
9229# include <assert.h>
9230#endif
9231		     Syntax error
9232_ACEOF
9233if ac_fn_c_try_cpp "$LINENO"; then :
9234
9235else
9236  # Broken: fails on valid input.
9237continue
9238fi
9239rm -f conftest.err conftest.i conftest.$ac_ext
9240
9241  # OK, works on sane cases.  Now check whether nonexistent headers
9242  # can be detected and how.
9243  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9244/* end confdefs.h.  */
9245#include <ac_nonexistent.h>
9246_ACEOF
9247if ac_fn_c_try_cpp "$LINENO"; then :
9248  # Broken: success on invalid input.
9249continue
9250else
9251  # Passes both tests.
9252ac_preproc_ok=:
9253break
9254fi
9255rm -f conftest.err conftest.i conftest.$ac_ext
9256
9257done
9258# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9259rm -f conftest.i conftest.err conftest.$ac_ext
9260if $ac_preproc_ok; then :
9261
9262else
9263  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9264$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9265as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
9266See \`config.log' for more details" "$LINENO" 5; }
9267fi
9268
9269ac_ext=c
9270ac_cpp='$CPP $CPPFLAGS'
9271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9273ac_compiler_gnu=$ac_cv_c_compiler_gnu
9274
9275
9276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9277$as_echo_n "checking for ANSI C header files... " >&6; }
9278if ${ac_cv_header_stdc+:} false; then :
9279  $as_echo_n "(cached) " >&6
9280else
9281  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9282/* end confdefs.h.  */
9283#include <stdlib.h>
9284#include <stdarg.h>
9285#include <string.h>
9286#include <float.h>
9287
9288int
9289main ()
9290{
9291
9292  ;
9293  return 0;
9294}
9295_ACEOF
9296if ac_fn_c_try_compile "$LINENO"; then :
9297  ac_cv_header_stdc=yes
9298else
9299  ac_cv_header_stdc=no
9300fi
9301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9302
9303if test $ac_cv_header_stdc = yes; then
9304  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9305  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9306/* end confdefs.h.  */
9307#include <string.h>
9308
9309_ACEOF
9310if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9311  $EGREP "memchr" >/dev/null 2>&1; then :
9312
9313else
9314  ac_cv_header_stdc=no
9315fi
9316rm -f conftest*
9317
9318fi
9319
9320if test $ac_cv_header_stdc = yes; then
9321  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9322  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9323/* end confdefs.h.  */
9324#include <stdlib.h>
9325
9326_ACEOF
9327if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9328  $EGREP "free" >/dev/null 2>&1; then :
9329
9330else
9331  ac_cv_header_stdc=no
9332fi
9333rm -f conftest*
9334
9335fi
9336
9337if test $ac_cv_header_stdc = yes; then
9338  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9339  if test "$cross_compiling" = yes; then :
9340  :
9341else
9342  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9343/* end confdefs.h.  */
9344#include <ctype.h>
9345#include <stdlib.h>
9346#if ((' ' & 0x0FF) == 0x020)
9347# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9348# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9349#else
9350# define ISLOWER(c) \
9351		   (('a' <= (c) && (c) <= 'i') \
9352		     || ('j' <= (c) && (c) <= 'r') \
9353		     || ('s' <= (c) && (c) <= 'z'))
9354# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9355#endif
9356
9357#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9358int
9359main ()
9360{
9361  int i;
9362  for (i = 0; i < 256; i++)
9363    if (XOR (islower (i), ISLOWER (i))
9364	|| toupper (i) != TOUPPER (i))
9365      return 2;
9366  return 0;
9367}
9368_ACEOF
9369if ac_fn_c_try_run "$LINENO"; then :
9370
9371else
9372  ac_cv_header_stdc=no
9373fi
9374rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9375  conftest.$ac_objext conftest.beam conftest.$ac_ext
9376fi
9377
9378fi
9379fi
9380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9381$as_echo "$ac_cv_header_stdc" >&6; }
9382if test $ac_cv_header_stdc = yes; then
9383
9384$as_echo "#define STDC_HEADERS 1" >>confdefs.h
9385
9386fi
9387
9388# On IRIX 5.3, sys/types and inttypes.h are conflicting.
9389for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9390		  inttypes.h stdint.h unistd.h
9391do :
9392  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9393ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9394"
9395if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9396  cat >>confdefs.h <<_ACEOF
9397#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9398_ACEOF
9399
9400fi
9401
9402done
9403
9404
9405for ac_header in dlfcn.h
9406do :
9407  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9408"
9409if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9410  cat >>confdefs.h <<_ACEOF
9411#define HAVE_DLFCN_H 1
9412_ACEOF
9413
9414fi
9415
9416done
9417
9418
9419  GST_CURRENT=1602
9420  GST_REVISION=0
9421  GST_AGE=1602
9422  GST_LIBVERSION=1602:0:1602
9423
9424
9425
9426
9427
9428  GST_LT_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION"
9429  if test ! -z ""
9430  then
9431    GST_LT_LDFLAGS="$GST_LT_LDFLAGS -release "
9432  fi
9433
9434
9435
9436
9437
9438
9439
9440# Set options
9441enable_dlopen=yes
9442enable_win32_dll=yes
9443
9444case $host in
9445*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
9446  if test -n "$ac_tool_prefix"; then
9447  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9448set dummy ${ac_tool_prefix}as; ac_word=$2
9449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9450$as_echo_n "checking for $ac_word... " >&6; }
9451if ${ac_cv_prog_AS+:} false; then :
9452  $as_echo_n "(cached) " >&6
9453else
9454  if test -n "$AS"; then
9455  ac_cv_prog_AS="$AS" # Let the user override the test.
9456else
9457as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9458for as_dir in $PATH
9459do
9460  IFS=$as_save_IFS
9461  test -z "$as_dir" && as_dir=.
9462    for ac_exec_ext in '' $ac_executable_extensions; do
9463  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9464    ac_cv_prog_AS="${ac_tool_prefix}as"
9465    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9466    break 2
9467  fi
9468done
9469  done
9470IFS=$as_save_IFS
9471
9472fi
9473fi
9474AS=$ac_cv_prog_AS
9475if test -n "$AS"; then
9476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9477$as_echo "$AS" >&6; }
9478else
9479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9480$as_echo "no" >&6; }
9481fi
9482
9483
9484fi
9485if test -z "$ac_cv_prog_AS"; then
9486  ac_ct_AS=$AS
9487  # Extract the first word of "as", so it can be a program name with args.
9488set dummy as; ac_word=$2
9489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9490$as_echo_n "checking for $ac_word... " >&6; }
9491if ${ac_cv_prog_ac_ct_AS+:} false; then :
9492  $as_echo_n "(cached) " >&6
9493else
9494  if test -n "$ac_ct_AS"; then
9495  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9496else
9497as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9498for as_dir in $PATH
9499do
9500  IFS=$as_save_IFS
9501  test -z "$as_dir" && as_dir=.
9502    for ac_exec_ext in '' $ac_executable_extensions; do
9503  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9504    ac_cv_prog_ac_ct_AS="as"
9505    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9506    break 2
9507  fi
9508done
9509  done
9510IFS=$as_save_IFS
9511
9512fi
9513fi
9514ac_ct_AS=$ac_cv_prog_ac_ct_AS
9515if test -n "$ac_ct_AS"; then
9516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9517$as_echo "$ac_ct_AS" >&6; }
9518else
9519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9520$as_echo "no" >&6; }
9521fi
9522
9523  if test "x$ac_ct_AS" = x; then
9524    AS="false"
9525  else
9526    case $cross_compiling:$ac_tool_warned in
9527yes:)
9528{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9529$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9530ac_tool_warned=yes ;;
9531esac
9532    AS=$ac_ct_AS
9533  fi
9534else
9535  AS="$ac_cv_prog_AS"
9536fi
9537
9538  if test -n "$ac_tool_prefix"; then
9539  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9540set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9542$as_echo_n "checking for $ac_word... " >&6; }
9543if ${ac_cv_prog_DLLTOOL+:} false; then :
9544  $as_echo_n "(cached) " >&6
9545else
9546  if test -n "$DLLTOOL"; then
9547  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9548else
9549as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9550for as_dir in $PATH
9551do
9552  IFS=$as_save_IFS
9553  test -z "$as_dir" && as_dir=.
9554    for ac_exec_ext in '' $ac_executable_extensions; do
9555  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9556    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9557    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9558    break 2
9559  fi
9560done
9561  done
9562IFS=$as_save_IFS
9563
9564fi
9565fi
9566DLLTOOL=$ac_cv_prog_DLLTOOL
9567if test -n "$DLLTOOL"; then
9568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9569$as_echo "$DLLTOOL" >&6; }
9570else
9571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9572$as_echo "no" >&6; }
9573fi
9574
9575
9576fi
9577if test -z "$ac_cv_prog_DLLTOOL"; then
9578  ac_ct_DLLTOOL=$DLLTOOL
9579  # Extract the first word of "dlltool", so it can be a program name with args.
9580set dummy dlltool; ac_word=$2
9581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9582$as_echo_n "checking for $ac_word... " >&6; }
9583if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9584  $as_echo_n "(cached) " >&6
9585else
9586  if test -n "$ac_ct_DLLTOOL"; then
9587  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9588else
9589as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9590for as_dir in $PATH
9591do
9592  IFS=$as_save_IFS
9593  test -z "$as_dir" && as_dir=.
9594    for ac_exec_ext in '' $ac_executable_extensions; do
9595  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9596    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9597    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9598    break 2
9599  fi
9600done
9601  done
9602IFS=$as_save_IFS
9603
9604fi
9605fi
9606ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9607if test -n "$ac_ct_DLLTOOL"; then
9608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9609$as_echo "$ac_ct_DLLTOOL" >&6; }
9610else
9611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9612$as_echo "no" >&6; }
9613fi
9614
9615  if test "x$ac_ct_DLLTOOL" = x; then
9616    DLLTOOL="false"
9617  else
9618    case $cross_compiling:$ac_tool_warned in
9619yes:)
9620{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9621$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9622ac_tool_warned=yes ;;
9623esac
9624    DLLTOOL=$ac_ct_DLLTOOL
9625  fi
9626else
9627  DLLTOOL="$ac_cv_prog_DLLTOOL"
9628fi
9629
9630  if test -n "$ac_tool_prefix"; then
9631  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9632set dummy ${ac_tool_prefix}objdump; ac_word=$2
9633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9634$as_echo_n "checking for $ac_word... " >&6; }
9635if ${ac_cv_prog_OBJDUMP+:} false; then :
9636  $as_echo_n "(cached) " >&6
9637else
9638  if test -n "$OBJDUMP"; then
9639  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9640else
9641as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9642for as_dir in $PATH
9643do
9644  IFS=$as_save_IFS
9645  test -z "$as_dir" && as_dir=.
9646    for ac_exec_ext in '' $ac_executable_extensions; do
9647  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9648    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9649    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9650    break 2
9651  fi
9652done
9653  done
9654IFS=$as_save_IFS
9655
9656fi
9657fi
9658OBJDUMP=$ac_cv_prog_OBJDUMP
9659if test -n "$OBJDUMP"; then
9660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9661$as_echo "$OBJDUMP" >&6; }
9662else
9663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9664$as_echo "no" >&6; }
9665fi
9666
9667
9668fi
9669if test -z "$ac_cv_prog_OBJDUMP"; then
9670  ac_ct_OBJDUMP=$OBJDUMP
9671  # Extract the first word of "objdump", so it can be a program name with args.
9672set dummy objdump; ac_word=$2
9673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9674$as_echo_n "checking for $ac_word... " >&6; }
9675if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9676  $as_echo_n "(cached) " >&6
9677else
9678  if test -n "$ac_ct_OBJDUMP"; then
9679  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9680else
9681as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9682for as_dir in $PATH
9683do
9684  IFS=$as_save_IFS
9685  test -z "$as_dir" && as_dir=.
9686    for ac_exec_ext in '' $ac_executable_extensions; do
9687  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9688    ac_cv_prog_ac_ct_OBJDUMP="objdump"
9689    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9690    break 2
9691  fi
9692done
9693  done
9694IFS=$as_save_IFS
9695
9696fi
9697fi
9698ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9699if test -n "$ac_ct_OBJDUMP"; then
9700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9701$as_echo "$ac_ct_OBJDUMP" >&6; }
9702else
9703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9704$as_echo "no" >&6; }
9705fi
9706
9707  if test "x$ac_ct_OBJDUMP" = x; then
9708    OBJDUMP="false"
9709  else
9710    case $cross_compiling:$ac_tool_warned in
9711yes:)
9712{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9713$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9714ac_tool_warned=yes ;;
9715esac
9716    OBJDUMP=$ac_ct_OBJDUMP
9717  fi
9718else
9719  OBJDUMP="$ac_cv_prog_OBJDUMP"
9720fi
9721
9722  ;;
9723esac
9724
9725test -z "$AS" && AS=as
9726
9727
9728
9729
9730
9731test -z "$DLLTOOL" && DLLTOOL=dlltool
9732
9733
9734
9735
9736
9737test -z "$OBJDUMP" && OBJDUMP=objdump
9738
9739
9740
9741
9742# Check whether --enable-static was given.
9743if test "${enable_static+set}" = set; then :
9744  enableval=$enable_static; p=${PACKAGE-default}
9745    case $enableval in
9746    yes) enable_static=yes ;;
9747    no) enable_static=no ;;
9748    *)
9749     enable_static=no
9750      # Look at the argument we got.  We use all the common list separators.
9751      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9752      for pkg in $enableval; do
9753	IFS=$lt_save_ifs
9754	if test "X$pkg" = "X$p"; then
9755	  enable_static=yes
9756	fi
9757      done
9758      IFS=$lt_save_ifs
9759      ;;
9760    esac
9761else
9762  enable_static=no
9763fi
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776            # Check whether --enable-shared was given.
9777if test "${enable_shared+set}" = set; then :
9778  enableval=$enable_shared; p=${PACKAGE-default}
9779    case $enableval in
9780    yes) enable_shared=yes ;;
9781    no) enable_shared=no ;;
9782    *)
9783      enable_shared=no
9784      # Look at the argument we got.  We use all the common list separators.
9785      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9786      for pkg in $enableval; do
9787	IFS=$lt_save_ifs
9788	if test "X$pkg" = "X$p"; then
9789	  enable_shared=yes
9790	fi
9791      done
9792      IFS=$lt_save_ifs
9793      ;;
9794    esac
9795else
9796  enable_shared=yes
9797fi
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809# Check whether --with-pic was given.
9810if test "${with_pic+set}" = set; then :
9811  withval=$with_pic; lt_p=${PACKAGE-default}
9812    case $withval in
9813    yes|no) pic_mode=$withval ;;
9814    *)
9815      pic_mode=default
9816      # Look at the argument we got.  We use all the common list separators.
9817      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9818      for lt_pkg in $withval; do
9819	IFS=$lt_save_ifs
9820	if test "X$lt_pkg" = "X$lt_p"; then
9821	  pic_mode=yes
9822	fi
9823      done
9824      IFS=$lt_save_ifs
9825      ;;
9826    esac
9827else
9828  pic_mode=default
9829fi
9830
9831
9832
9833
9834
9835
9836
9837
9838  # Check whether --enable-fast-install was given.
9839if test "${enable_fast_install+set}" = set; then :
9840  enableval=$enable_fast_install; p=${PACKAGE-default}
9841    case $enableval in
9842    yes) enable_fast_install=yes ;;
9843    no) enable_fast_install=no ;;
9844    *)
9845      enable_fast_install=no
9846      # Look at the argument we got.  We use all the common list separators.
9847      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9848      for pkg in $enableval; do
9849	IFS=$lt_save_ifs
9850	if test "X$pkg" = "X$p"; then
9851	  enable_fast_install=yes
9852	fi
9853      done
9854      IFS=$lt_save_ifs
9855      ;;
9856    esac
9857else
9858  enable_fast_install=yes
9859fi
9860
9861
9862
9863
9864
9865
9866
9867
9868  shared_archive_member_spec=
9869case $host,$enable_shared in
9870power*-*-aix[5-9]*,yes)
9871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9872$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9873
9874# Check whether --with-aix-soname was given.
9875if test "${with_aix_soname+set}" = set; then :
9876  withval=$with_aix_soname; case $withval in
9877    aix|svr4|both)
9878      ;;
9879    *)
9880      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9881      ;;
9882    esac
9883    lt_cv_with_aix_soname=$with_aix_soname
9884else
9885  if ${lt_cv_with_aix_soname+:} false; then :
9886  $as_echo_n "(cached) " >&6
9887else
9888  lt_cv_with_aix_soname=aix
9889fi
9890
9891    with_aix_soname=$lt_cv_with_aix_soname
9892fi
9893
9894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9895$as_echo "$with_aix_soname" >&6; }
9896  if test aix != "$with_aix_soname"; then
9897    # For the AIX way of multilib, we name the shared archive member
9898    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9899    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9900    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9901    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9902    if test 64 = "${OBJECT_MODE-32}"; then
9903      shared_archive_member_spec=shr_64
9904    else
9905      shared_archive_member_spec=shr
9906    fi
9907  fi
9908  ;;
9909*)
9910  with_aix_soname=aix
9911  ;;
9912esac
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923# This can be used to rebuild libtool when needed
9924LIBTOOL_DEPS=$ltmain
9925
9926# Always use our own libtool.
9927LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958test -z "$LN_S" && LN_S="ln -s"
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973if test -n "${ZSH_VERSION+set}"; then
9974   setopt NO_GLOB_SUBST
9975fi
9976
9977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9978$as_echo_n "checking for objdir... " >&6; }
9979if ${lt_cv_objdir+:} false; then :
9980  $as_echo_n "(cached) " >&6
9981else
9982  rm -f .libs 2>/dev/null
9983mkdir .libs 2>/dev/null
9984if test -d .libs; then
9985  lt_cv_objdir=.libs
9986else
9987  # MS-DOS does not allow filenames that begin with a dot.
9988  lt_cv_objdir=_libs
9989fi
9990rmdir .libs 2>/dev/null
9991fi
9992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9993$as_echo "$lt_cv_objdir" >&6; }
9994objdir=$lt_cv_objdir
9995
9996
9997
9998
9999
10000cat >>confdefs.h <<_ACEOF
10001#define LT_OBJDIR "$lt_cv_objdir/"
10002_ACEOF
10003
10004
10005
10006
10007case $host_os in
10008aix3*)
10009  # AIX sometimes has problems with the GCC collect2 program.  For some
10010  # reason, if we set the COLLECT_NAMES environment variable, the problems
10011  # vanish in a puff of smoke.
10012  if test set != "${COLLECT_NAMES+set}"; then
10013    COLLECT_NAMES=
10014    export COLLECT_NAMES
10015  fi
10016  ;;
10017esac
10018
10019# Global variables:
10020ofile=libtool
10021can_build_shared=yes
10022
10023# All known linkers require a '.a' archive for static linking (except MSVC,
10024# which needs '.lib').
10025libext=a
10026
10027with_gnu_ld=$lt_cv_prog_gnu_ld
10028
10029old_CC=$CC
10030old_CFLAGS=$CFLAGS
10031
10032# Set sane defaults for various variables
10033test -z "$CC" && CC=cc
10034test -z "$LTCC" && LTCC=$CC
10035test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10036test -z "$LD" && LD=ld
10037test -z "$ac_objext" && ac_objext=o
10038
10039func_cc_basename $compiler
10040cc_basename=$func_cc_basename_result
10041
10042
10043# Only perform the check for file, if the check method requires it
10044test -z "$MAGIC_CMD" && MAGIC_CMD=file
10045case $deplibs_check_method in
10046file_magic*)
10047  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10048    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10049$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10050if ${lt_cv_path_MAGIC_CMD+:} false; then :
10051  $as_echo_n "(cached) " >&6
10052else
10053  case $MAGIC_CMD in
10054[\\/*] |  ?:[\\/]*)
10055  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10056  ;;
10057*)
10058  lt_save_MAGIC_CMD=$MAGIC_CMD
10059  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10060  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10061  for ac_dir in $ac_dummy; do
10062    IFS=$lt_save_ifs
10063    test -z "$ac_dir" && ac_dir=.
10064    if test -f "$ac_dir/${ac_tool_prefix}file"; then
10065      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10066      if test -n "$file_magic_test_file"; then
10067	case $deplibs_check_method in
10068	"file_magic "*)
10069	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10070	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10071	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10072	    $EGREP "$file_magic_regex" > /dev/null; then
10073	    :
10074	  else
10075	    cat <<_LT_EOF 1>&2
10076
10077*** Warning: the command libtool uses to detect shared libraries,
10078*** $file_magic_cmd, produces output that libtool cannot recognize.
10079*** The result is that libtool may fail to recognize shared libraries
10080*** as such.  This will affect the creation of libtool libraries that
10081*** depend on shared libraries, but programs linked with such libtool
10082*** libraries will work regardless of this problem.  Nevertheless, you
10083*** may want to report the problem to your system manager and/or to
10084*** bug-libtool@gnu.org
10085
10086_LT_EOF
10087	  fi ;;
10088	esac
10089      fi
10090      break
10091    fi
10092  done
10093  IFS=$lt_save_ifs
10094  MAGIC_CMD=$lt_save_MAGIC_CMD
10095  ;;
10096esac
10097fi
10098
10099MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10100if test -n "$MAGIC_CMD"; then
10101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10102$as_echo "$MAGIC_CMD" >&6; }
10103else
10104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10105$as_echo "no" >&6; }
10106fi
10107
10108
10109
10110
10111
10112if test -z "$lt_cv_path_MAGIC_CMD"; then
10113  if test -n "$ac_tool_prefix"; then
10114    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10115$as_echo_n "checking for file... " >&6; }
10116if ${lt_cv_path_MAGIC_CMD+:} false; then :
10117  $as_echo_n "(cached) " >&6
10118else
10119  case $MAGIC_CMD in
10120[\\/*] |  ?:[\\/]*)
10121  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10122  ;;
10123*)
10124  lt_save_MAGIC_CMD=$MAGIC_CMD
10125  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10126  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10127  for ac_dir in $ac_dummy; do
10128    IFS=$lt_save_ifs
10129    test -z "$ac_dir" && ac_dir=.
10130    if test -f "$ac_dir/file"; then
10131      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10132      if test -n "$file_magic_test_file"; then
10133	case $deplibs_check_method in
10134	"file_magic "*)
10135	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10136	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10137	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10138	    $EGREP "$file_magic_regex" > /dev/null; then
10139	    :
10140	  else
10141	    cat <<_LT_EOF 1>&2
10142
10143*** Warning: the command libtool uses to detect shared libraries,
10144*** $file_magic_cmd, produces output that libtool cannot recognize.
10145*** The result is that libtool may fail to recognize shared libraries
10146*** as such.  This will affect the creation of libtool libraries that
10147*** depend on shared libraries, but programs linked with such libtool
10148*** libraries will work regardless of this problem.  Nevertheless, you
10149*** may want to report the problem to your system manager and/or to
10150*** bug-libtool@gnu.org
10151
10152_LT_EOF
10153	  fi ;;
10154	esac
10155      fi
10156      break
10157    fi
10158  done
10159  IFS=$lt_save_ifs
10160  MAGIC_CMD=$lt_save_MAGIC_CMD
10161  ;;
10162esac
10163fi
10164
10165MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10166if test -n "$MAGIC_CMD"; then
10167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10168$as_echo "$MAGIC_CMD" >&6; }
10169else
10170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10171$as_echo "no" >&6; }
10172fi
10173
10174
10175  else
10176    MAGIC_CMD=:
10177  fi
10178fi
10179
10180  fi
10181  ;;
10182esac
10183
10184# Use C for the default configuration in the libtool script
10185
10186lt_save_CC=$CC
10187ac_ext=c
10188ac_cpp='$CPP $CPPFLAGS'
10189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10191ac_compiler_gnu=$ac_cv_c_compiler_gnu
10192
10193
10194# Source file extension for C test sources.
10195ac_ext=c
10196
10197# Object file extension for compiled C test sources.
10198objext=o
10199objext=$objext
10200
10201# Code to be used in simple compile tests
10202lt_simple_compile_test_code="int some_variable = 0;"
10203
10204# Code to be used in simple link tests
10205lt_simple_link_test_code='int main(){return(0);}'
10206
10207
10208
10209
10210
10211
10212
10213# If no C compiler was specified, use CC.
10214LTCC=${LTCC-"$CC"}
10215
10216# If no C compiler flags were specified, use CFLAGS.
10217LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10218
10219# Allow CC to be a program name with arguments.
10220compiler=$CC
10221
10222# Save the default compiler, since it gets overwritten when the other
10223# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10224compiler_DEFAULT=$CC
10225
10226# save warnings/boilerplate of simple test code
10227ac_outfile=conftest.$ac_objext
10228echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10229eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10230_lt_compiler_boilerplate=`cat conftest.err`
10231$RM conftest*
10232
10233ac_outfile=conftest.$ac_objext
10234echo "$lt_simple_link_test_code" >conftest.$ac_ext
10235eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10236_lt_linker_boilerplate=`cat conftest.err`
10237$RM -r conftest*
10238
10239
10240## CAVEAT EMPTOR:
10241## There is no encapsulation within the following macros, do not change
10242## the running order or otherwise move them around unless you know exactly
10243## what you are doing...
10244if test -n "$compiler"; then
10245
10246lt_prog_compiler_no_builtin_flag=
10247
10248if test yes = "$GCC"; then
10249  case $cc_basename in
10250  nvcc*)
10251    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10252  *)
10253    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10254  esac
10255
10256  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10257$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10258if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10259  $as_echo_n "(cached) " >&6
10260else
10261  lt_cv_prog_compiler_rtti_exceptions=no
10262   ac_outfile=conftest.$ac_objext
10263   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10264   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
10265   # Insert the option either (1) after the last *FLAGS variable, or
10266   # (2) before a word containing "conftest.", or (3) at the end.
10267   # Note that $ac_compile itself does not contain backslashes and begins
10268   # with a dollar sign (not a hyphen), so the echo should work correctly.
10269   # The option is referenced via a variable to avoid confusing sed.
10270   lt_compile=`echo "$ac_compile" | $SED \
10271   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10272   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10273   -e 's:$: $lt_compiler_flag:'`
10274   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10275   (eval "$lt_compile" 2>conftest.err)
10276   ac_status=$?
10277   cat conftest.err >&5
10278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279   if (exit $ac_status) && test -s "$ac_outfile"; then
10280     # The compiler can only warn and ignore the option if not recognized
10281     # So say no if there are warnings other than the usual output.
10282     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10283     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10284     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10285       lt_cv_prog_compiler_rtti_exceptions=yes
10286     fi
10287   fi
10288   $RM conftest*
10289
10290fi
10291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10292$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10293
10294if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10295    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10296else
10297    :
10298fi
10299
10300fi
10301
10302
10303
10304
10305
10306
10307  lt_prog_compiler_wl=
10308lt_prog_compiler_pic=
10309lt_prog_compiler_static=
10310
10311
10312  if test yes = "$GCC"; then
10313    lt_prog_compiler_wl='-Wl,'
10314    lt_prog_compiler_static='-static'
10315
10316    case $host_os in
10317      aix*)
10318      # All AIX code is PIC.
10319      if test ia64 = "$host_cpu"; then
10320	# AIX 5 now supports IA64 processor
10321	lt_prog_compiler_static='-Bstatic'
10322      fi
10323      lt_prog_compiler_pic='-fPIC'
10324      ;;
10325
10326    amigaos*)
10327      case $host_cpu in
10328      powerpc)
10329            # see comment about AmigaOS4 .so support
10330            lt_prog_compiler_pic='-fPIC'
10331        ;;
10332      m68k)
10333            # FIXME: we need at least 68020 code to build shared libraries, but
10334            # adding the '-m68020' flag to GCC prevents building anything better,
10335            # like '-m68040'.
10336            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10337        ;;
10338      esac
10339      ;;
10340
10341    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10342      # PIC is the default for these OSes.
10343      ;;
10344
10345    mingw* | cygwin* | pw32* | os2* | cegcc*)
10346      # This hack is so that the source file can tell whether it is being
10347      # built for inclusion in a dll (and should export symbols for example).
10348      # Although the cygwin gcc ignores -fPIC, still need this for old-style
10349      # (--disable-auto-import) libraries
10350      lt_prog_compiler_pic='-DDLL_EXPORT'
10351      case $host_os in
10352      os2*)
10353	lt_prog_compiler_static='$wl-static'
10354	;;
10355      esac
10356      ;;
10357
10358    darwin* | rhapsody*)
10359      # PIC is the default on this platform
10360      # Common symbols not allowed in MH_DYLIB files
10361      lt_prog_compiler_pic='-fno-common'
10362      ;;
10363
10364    haiku*)
10365      # PIC is the default for Haiku.
10366      # The "-static" flag exists, but is broken.
10367      lt_prog_compiler_static=
10368      ;;
10369
10370    hpux*)
10371      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10372      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10373      # sets the default TLS model and affects inlining.
10374      case $host_cpu in
10375      hppa*64*)
10376	# +Z the default
10377	;;
10378      *)
10379	lt_prog_compiler_pic='-fPIC'
10380	;;
10381      esac
10382      ;;
10383
10384    interix[3-9]*)
10385      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10386      # Instead, we relocate shared libraries at runtime.
10387      ;;
10388
10389    msdosdjgpp*)
10390      # Just because we use GCC doesn't mean we suddenly get shared libraries
10391      # on systems that don't support them.
10392      lt_prog_compiler_can_build_shared=no
10393      enable_shared=no
10394      ;;
10395
10396    *nto* | *qnx*)
10397      # QNX uses GNU C++, but need to define -shared option too, otherwise
10398      # it will coredump.
10399      lt_prog_compiler_pic='-fPIC -shared'
10400      ;;
10401
10402    sysv4*MP*)
10403      if test -d /usr/nec; then
10404	lt_prog_compiler_pic=-Kconform_pic
10405      fi
10406      ;;
10407
10408    *)
10409      lt_prog_compiler_pic='-fPIC'
10410      ;;
10411    esac
10412
10413    case $cc_basename in
10414    nvcc*) # Cuda Compiler Driver 2.2
10415      lt_prog_compiler_wl='-Xlinker '
10416      if test -n "$lt_prog_compiler_pic"; then
10417        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10418      fi
10419      ;;
10420    esac
10421  else
10422    # PORTME Check for flag to pass linker flags through the system compiler.
10423    case $host_os in
10424    aix*)
10425      lt_prog_compiler_wl='-Wl,'
10426      if test ia64 = "$host_cpu"; then
10427	# AIX 5 now supports IA64 processor
10428	lt_prog_compiler_static='-Bstatic'
10429      else
10430	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10431      fi
10432      ;;
10433
10434    darwin* | rhapsody*)
10435      # PIC is the default on this platform
10436      # Common symbols not allowed in MH_DYLIB files
10437      lt_prog_compiler_pic='-fno-common'
10438      case $cc_basename in
10439      nagfor*)
10440        # NAG Fortran compiler
10441        lt_prog_compiler_wl='-Wl,-Wl,,'
10442        lt_prog_compiler_pic='-PIC'
10443        lt_prog_compiler_static='-Bstatic'
10444        ;;
10445      esac
10446      ;;
10447
10448    mingw* | cygwin* | pw32* | os2* | cegcc*)
10449      # This hack is so that the source file can tell whether it is being
10450      # built for inclusion in a dll (and should export symbols for example).
10451      lt_prog_compiler_pic='-DDLL_EXPORT'
10452      case $host_os in
10453      os2*)
10454	lt_prog_compiler_static='$wl-static'
10455	;;
10456      esac
10457      ;;
10458
10459    hpux9* | hpux10* | hpux11*)
10460      lt_prog_compiler_wl='-Wl,'
10461      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10462      # not for PA HP-UX.
10463      case $host_cpu in
10464      hppa*64*|ia64*)
10465	# +Z the default
10466	;;
10467      *)
10468	lt_prog_compiler_pic='+Z'
10469	;;
10470      esac
10471      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10472      lt_prog_compiler_static='$wl-a ${wl}archive'
10473      ;;
10474
10475    irix5* | irix6* | nonstopux*)
10476      lt_prog_compiler_wl='-Wl,'
10477      # PIC (with -KPIC) is the default.
10478      lt_prog_compiler_static='-non_shared'
10479      ;;
10480
10481    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10482      case $cc_basename in
10483      # old Intel for x86_64, which still supported -KPIC.
10484      ecc*)
10485	lt_prog_compiler_wl='-Wl,'
10486	lt_prog_compiler_pic='-KPIC'
10487	lt_prog_compiler_static='-static'
10488        ;;
10489      # flang / f18. f95 an alias for gfortran or flang on Debian
10490      flang* | f18* | f95*)
10491	lt_prog_compiler_wl='-Wl,'
10492	lt_prog_compiler_pic='-fPIC'
10493	lt_prog_compiler_static='-static'
10494        ;;
10495      # icc used to be incompatible with GCC.
10496      # ICC 10 doesn't accept -KPIC any more.
10497      icc* | ifort*)
10498	lt_prog_compiler_wl='-Wl,'
10499	lt_prog_compiler_pic='-fPIC'
10500	lt_prog_compiler_static='-static'
10501        ;;
10502      # Lahey Fortran 8.1.
10503      lf95*)
10504	lt_prog_compiler_wl='-Wl,'
10505	lt_prog_compiler_pic='--shared'
10506	lt_prog_compiler_static='--static'
10507	;;
10508      nagfor*)
10509	# NAG Fortran compiler
10510	lt_prog_compiler_wl='-Wl,-Wl,,'
10511	lt_prog_compiler_pic='-PIC'
10512	lt_prog_compiler_static='-Bstatic'
10513	;;
10514      tcc*)
10515	# Fabrice Bellard et al's Tiny C Compiler
10516	lt_prog_compiler_wl='-Wl,'
10517	lt_prog_compiler_pic='-fPIC'
10518	lt_prog_compiler_static='-static'
10519	;;
10520      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10521        # Portland Group compilers (*not* the Pentium gcc compiler,
10522	# which looks to be a dead project)
10523	lt_prog_compiler_wl='-Wl,'
10524	lt_prog_compiler_pic='-fpic'
10525	lt_prog_compiler_static='-Bstatic'
10526        ;;
10527      ccc*)
10528        lt_prog_compiler_wl='-Wl,'
10529        # All Alpha code is PIC.
10530        lt_prog_compiler_static='-non_shared'
10531        ;;
10532      xl* | bgxl* | bgf* | mpixl*)
10533	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10534	lt_prog_compiler_wl='-Wl,'
10535	lt_prog_compiler_pic='-qpic'
10536	lt_prog_compiler_static='-qstaticlink'
10537	;;
10538      *)
10539	case `$CC -V 2>&1 | sed 5q` in
10540	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10541	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10542	  lt_prog_compiler_pic='-KPIC'
10543	  lt_prog_compiler_static='-Bstatic'
10544	  lt_prog_compiler_wl=''
10545	  ;;
10546	*Sun\ F* | *Sun*Fortran*)
10547	  lt_prog_compiler_pic='-KPIC'
10548	  lt_prog_compiler_static='-Bstatic'
10549	  lt_prog_compiler_wl='-Qoption ld '
10550	  ;;
10551	*Sun\ C*)
10552	  # Sun C 5.9
10553	  lt_prog_compiler_pic='-KPIC'
10554	  lt_prog_compiler_static='-Bstatic'
10555	  lt_prog_compiler_wl='-Wl,'
10556	  ;;
10557        *Intel*\ [CF]*Compiler*)
10558	  lt_prog_compiler_wl='-Wl,'
10559	  lt_prog_compiler_pic='-fPIC'
10560	  lt_prog_compiler_static='-static'
10561	  ;;
10562	*Portland\ Group*)
10563	  lt_prog_compiler_wl='-Wl,'
10564	  lt_prog_compiler_pic='-fpic'
10565	  lt_prog_compiler_static='-Bstatic'
10566	  ;;
10567	esac
10568	;;
10569      esac
10570      ;;
10571
10572    newsos6)
10573      lt_prog_compiler_pic='-KPIC'
10574      lt_prog_compiler_static='-Bstatic'
10575      ;;
10576
10577    *nto* | *qnx*)
10578      # QNX uses GNU C++, but need to define -shared option too, otherwise
10579      # it will coredump.
10580      lt_prog_compiler_pic='-fPIC -shared'
10581      ;;
10582
10583    osf3* | osf4* | osf5*)
10584      lt_prog_compiler_wl='-Wl,'
10585      # All OSF/1 code is PIC.
10586      lt_prog_compiler_static='-non_shared'
10587      ;;
10588
10589    rdos*)
10590      lt_prog_compiler_static='-non_shared'
10591      ;;
10592
10593    solaris*)
10594      lt_prog_compiler_pic='-KPIC'
10595      lt_prog_compiler_static='-Bstatic'
10596      case $cc_basename in
10597      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10598	lt_prog_compiler_wl='-Qoption ld ';;
10599      *)
10600	lt_prog_compiler_wl='-Wl,';;
10601      esac
10602      ;;
10603
10604    sunos4*)
10605      lt_prog_compiler_wl='-Qoption ld '
10606      lt_prog_compiler_pic='-PIC'
10607      lt_prog_compiler_static='-Bstatic'
10608      ;;
10609
10610    sysv4 | sysv4.2uw2* | sysv4.3*)
10611      lt_prog_compiler_wl='-Wl,'
10612      lt_prog_compiler_pic='-KPIC'
10613      lt_prog_compiler_static='-Bstatic'
10614      ;;
10615
10616    sysv4*MP*)
10617      if test -d /usr/nec; then
10618	lt_prog_compiler_pic='-Kconform_pic'
10619	lt_prog_compiler_static='-Bstatic'
10620      fi
10621      ;;
10622
10623    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10624      lt_prog_compiler_wl='-Wl,'
10625      lt_prog_compiler_pic='-KPIC'
10626      lt_prog_compiler_static='-Bstatic'
10627      ;;
10628
10629    unicos*)
10630      lt_prog_compiler_wl='-Wl,'
10631      lt_prog_compiler_can_build_shared=no
10632      ;;
10633
10634    uts4*)
10635      lt_prog_compiler_pic='-pic'
10636      lt_prog_compiler_static='-Bstatic'
10637      ;;
10638
10639    *)
10640      lt_prog_compiler_can_build_shared=no
10641      ;;
10642    esac
10643  fi
10644
10645case $host_os in
10646  # For platforms that do not support PIC, -DPIC is meaningless:
10647  *djgpp*)
10648    lt_prog_compiler_pic=
10649    ;;
10650  *)
10651    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10652    ;;
10653esac
10654
10655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10656$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10657if ${lt_cv_prog_compiler_pic+:} false; then :
10658  $as_echo_n "(cached) " >&6
10659else
10660  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10661fi
10662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10663$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10664lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10665
10666#
10667# Check to make sure the PIC flag actually works.
10668#
10669if test -n "$lt_prog_compiler_pic"; then
10670  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10671$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10672if ${lt_cv_prog_compiler_pic_works+:} false; then :
10673  $as_echo_n "(cached) " >&6
10674else
10675  lt_cv_prog_compiler_pic_works=no
10676   ac_outfile=conftest.$ac_objext
10677   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10678   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10679   # Insert the option either (1) after the last *FLAGS variable, or
10680   # (2) before a word containing "conftest.", or (3) at the end.
10681   # Note that $ac_compile itself does not contain backslashes and begins
10682   # with a dollar sign (not a hyphen), so the echo should work correctly.
10683   # The option is referenced via a variable to avoid confusing sed.
10684   lt_compile=`echo "$ac_compile" | $SED \
10685   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10686   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10687   -e 's:$: $lt_compiler_flag:'`
10688   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10689   (eval "$lt_compile" 2>conftest.err)
10690   ac_status=$?
10691   cat conftest.err >&5
10692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693   if (exit $ac_status) && test -s "$ac_outfile"; then
10694     # The compiler can only warn and ignore the option if not recognized
10695     # So say no if there are warnings other than the usual output.
10696     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10697     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10698     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10699       lt_cv_prog_compiler_pic_works=yes
10700     fi
10701   fi
10702   $RM conftest*
10703
10704fi
10705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10706$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10707
10708if test yes = "$lt_cv_prog_compiler_pic_works"; then
10709    case $lt_prog_compiler_pic in
10710     "" | " "*) ;;
10711     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10712     esac
10713else
10714    lt_prog_compiler_pic=
10715     lt_prog_compiler_can_build_shared=no
10716fi
10717
10718fi
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730#
10731# Check to make sure the static flag actually works.
10732#
10733wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10735$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10736if ${lt_cv_prog_compiler_static_works+:} false; then :
10737  $as_echo_n "(cached) " >&6
10738else
10739  lt_cv_prog_compiler_static_works=no
10740   save_LDFLAGS=$LDFLAGS
10741   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10742   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10743   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10744     # The linker can only warn and ignore the option if not recognized
10745     # So say no if there are warnings
10746     if test -s conftest.err; then
10747       # Append any errors to the config.log.
10748       cat conftest.err 1>&5
10749       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10750       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10751       if diff conftest.exp conftest.er2 >/dev/null; then
10752         lt_cv_prog_compiler_static_works=yes
10753       fi
10754     else
10755       lt_cv_prog_compiler_static_works=yes
10756     fi
10757   fi
10758   $RM -r conftest*
10759   LDFLAGS=$save_LDFLAGS
10760
10761fi
10762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10763$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10764
10765if test yes = "$lt_cv_prog_compiler_static_works"; then
10766    :
10767else
10768    lt_prog_compiler_static=
10769fi
10770
10771
10772
10773
10774
10775
10776
10777  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10778$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10779if ${lt_cv_prog_compiler_c_o+:} false; then :
10780  $as_echo_n "(cached) " >&6
10781else
10782  lt_cv_prog_compiler_c_o=no
10783   $RM -r conftest 2>/dev/null
10784   mkdir conftest
10785   cd conftest
10786   mkdir out
10787   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10788
10789   lt_compiler_flag="-o out/conftest2.$ac_objext"
10790   # Insert the option either (1) after the last *FLAGS variable, or
10791   # (2) before a word containing "conftest.", or (3) at the end.
10792   # Note that $ac_compile itself does not contain backslashes and begins
10793   # with a dollar sign (not a hyphen), so the echo should work correctly.
10794   lt_compile=`echo "$ac_compile" | $SED \
10795   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10796   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10797   -e 's:$: $lt_compiler_flag:'`
10798   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10799   (eval "$lt_compile" 2>out/conftest.err)
10800   ac_status=$?
10801   cat out/conftest.err >&5
10802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10804   then
10805     # The compiler can only warn and ignore the option if not recognized
10806     # So say no if there are warnings
10807     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10808     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10809     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10810       lt_cv_prog_compiler_c_o=yes
10811     fi
10812   fi
10813   chmod u+w . 2>&5
10814   $RM conftest*
10815   # SGI C++ compiler will create directory out/ii_files/ for
10816   # template instantiation
10817   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10818   $RM out/* && rmdir out
10819   cd ..
10820   $RM -r conftest
10821   $RM conftest*
10822
10823fi
10824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10825$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10826
10827
10828
10829
10830
10831
10832  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10833$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10834if ${lt_cv_prog_compiler_c_o+:} false; then :
10835  $as_echo_n "(cached) " >&6
10836else
10837  lt_cv_prog_compiler_c_o=no
10838   $RM -r conftest 2>/dev/null
10839   mkdir conftest
10840   cd conftest
10841   mkdir out
10842   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10843
10844   lt_compiler_flag="-o out/conftest2.$ac_objext"
10845   # Insert the option either (1) after the last *FLAGS variable, or
10846   # (2) before a word containing "conftest.", or (3) at the end.
10847   # Note that $ac_compile itself does not contain backslashes and begins
10848   # with a dollar sign (not a hyphen), so the echo should work correctly.
10849   lt_compile=`echo "$ac_compile" | $SED \
10850   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10851   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10852   -e 's:$: $lt_compiler_flag:'`
10853   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10854   (eval "$lt_compile" 2>out/conftest.err)
10855   ac_status=$?
10856   cat out/conftest.err >&5
10857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10858   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10859   then
10860     # The compiler can only warn and ignore the option if not recognized
10861     # So say no if there are warnings
10862     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10863     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10864     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10865       lt_cv_prog_compiler_c_o=yes
10866     fi
10867   fi
10868   chmod u+w . 2>&5
10869   $RM conftest*
10870   # SGI C++ compiler will create directory out/ii_files/ for
10871   # template instantiation
10872   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10873   $RM out/* && rmdir out
10874   cd ..
10875   $RM -r conftest
10876   $RM conftest*
10877
10878fi
10879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10880$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10881
10882
10883
10884
10885hard_links=nottested
10886if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10887  # do not overwrite the value of need_locks provided by the user
10888  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10889$as_echo_n "checking if we can lock with hard links... " >&6; }
10890  hard_links=yes
10891  $RM conftest*
10892  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10893  touch conftest.a
10894  ln conftest.a conftest.b 2>&5 || hard_links=no
10895  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10897$as_echo "$hard_links" >&6; }
10898  if test no = "$hard_links"; then
10899    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10900$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10901    need_locks=warn
10902  fi
10903else
10904  need_locks=no
10905fi
10906
10907
10908
10909
10910
10911
10912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10913$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10914
10915  runpath_var=
10916  allow_undefined_flag=
10917  always_export_symbols=no
10918  archive_cmds=
10919  archive_expsym_cmds=
10920  compiler_needs_object=no
10921  enable_shared_with_static_runtimes=no
10922  export_dynamic_flag_spec=
10923  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10924  hardcode_automatic=no
10925  hardcode_direct=no
10926  hardcode_direct_absolute=no
10927  hardcode_libdir_flag_spec=
10928  hardcode_libdir_separator=
10929  hardcode_minus_L=no
10930  hardcode_shlibpath_var=unsupported
10931  inherit_rpath=no
10932  link_all_deplibs=unknown
10933  module_cmds=
10934  module_expsym_cmds=
10935  old_archive_from_new_cmds=
10936  old_archive_from_expsyms_cmds=
10937  thread_safe_flag_spec=
10938  whole_archive_flag_spec=
10939  # include_expsyms should be a list of space-separated symbols to be *always*
10940  # included in the symbol list
10941  include_expsyms=
10942  # exclude_expsyms can be an extended regexp of symbols to exclude
10943  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10944  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10945  # as well as any symbol that contains 'd'.
10946  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10947  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10948  # platforms (ab)use it in PIC code, but their linkers get confused if
10949  # the symbol is explicitly referenced.  Since portable code cannot
10950  # rely on this symbol name, it's probably fine to never include it in
10951  # preloaded symbol tables.
10952  # Exclude shared library initialization/finalization symbols.
10953  extract_expsyms_cmds=
10954
10955  case $host_os in
10956  cygwin* | mingw* | pw32* | cegcc*)
10957    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10958    # When not using gcc, we currently assume that we are using
10959    # Microsoft Visual C++.
10960    if test yes != "$GCC"; then
10961      with_gnu_ld=no
10962    fi
10963    ;;
10964  interix*)
10965    # we just hope/assume this is gcc and not c89 (= MSVC++)
10966    with_gnu_ld=yes
10967    ;;
10968  openbsd* | bitrig*)
10969    with_gnu_ld=no
10970    ;;
10971  linux* | k*bsd*-gnu | gnu*)
10972    link_all_deplibs=no
10973    ;;
10974  esac
10975
10976  ld_shlibs=yes
10977
10978  # On some targets, GNU ld is compatible enough with the native linker
10979  # that we're better off using the native interface for both.
10980  lt_use_gnu_ld_interface=no
10981  if test yes = "$with_gnu_ld"; then
10982    case $host_os in
10983      aix*)
10984	# The AIX port of GNU ld has always aspired to compatibility
10985	# with the native linker.  However, as the warning in the GNU ld
10986	# block says, versions before 2.19.5* couldn't really create working
10987	# shared libraries, regardless of the interface used.
10988	case `$LD -v 2>&1` in
10989	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10990	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10991	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10992	  *)
10993	    lt_use_gnu_ld_interface=yes
10994	    ;;
10995	esac
10996	;;
10997      *)
10998	lt_use_gnu_ld_interface=yes
10999	;;
11000    esac
11001  fi
11002
11003  if test yes = "$lt_use_gnu_ld_interface"; then
11004    # If archive_cmds runs LD, not CC, wlarc should be empty
11005    wlarc='$wl'
11006
11007    # Set some defaults for GNU ld with shared library support. These
11008    # are reset later if shared libraries are not supported. Putting them
11009    # here allows them to be overridden if necessary.
11010    runpath_var=LD_RUN_PATH
11011    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11012    export_dynamic_flag_spec='$wl--export-dynamic'
11013    # ancient GNU ld didn't support --whole-archive et. al.
11014    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11015      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11016    else
11017      whole_archive_flag_spec=
11018    fi
11019    supports_anon_versioning=no
11020    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11021      *GNU\ gold*) supports_anon_versioning=yes ;;
11022      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11023      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11024      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11025      *\ 2.11.*) ;; # other 2.11 versions
11026      *) supports_anon_versioning=yes ;;
11027    esac
11028
11029    # See if GNU ld supports shared libraries.
11030    case $host_os in
11031    aix[3-9]*)
11032      # On AIX/PPC, the GNU linker is very broken
11033      if test ia64 != "$host_cpu"; then
11034	ld_shlibs=no
11035	cat <<_LT_EOF 1>&2
11036
11037*** Warning: the GNU linker, at least up to release 2.19, is reported
11038*** to be unable to reliably create shared libraries on AIX.
11039*** Therefore, libtool is disabling shared libraries support.  If you
11040*** really care for shared libraries, you may want to install binutils
11041*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11042*** You will then need to restart the configuration process.
11043
11044_LT_EOF
11045      fi
11046      ;;
11047
11048    amigaos*)
11049      case $host_cpu in
11050      powerpc)
11051            # see comment about AmigaOS4 .so support
11052            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11053            archive_expsym_cmds=''
11054        ;;
11055      m68k)
11056            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)'
11057            hardcode_libdir_flag_spec='-L$libdir'
11058            hardcode_minus_L=yes
11059        ;;
11060      esac
11061      ;;
11062
11063    beos*)
11064      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11065	allow_undefined_flag=unsupported
11066	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11067	# support --undefined.  This deserves some investigation.  FIXME
11068	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11069      else
11070	ld_shlibs=no
11071      fi
11072      ;;
11073
11074    cygwin* | mingw* | pw32* | cegcc*)
11075      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11076      # as there is no search path for DLLs.
11077      hardcode_libdir_flag_spec='-L$libdir'
11078      export_dynamic_flag_spec='$wl--export-all-symbols'
11079      allow_undefined_flag=unsupported
11080      always_export_symbols=no
11081      enable_shared_with_static_runtimes=yes
11082      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'
11083      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11084
11085      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11086        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11087	# If the export-symbols file already is a .def file, use it as
11088	# is; otherwise, prepend EXPORTS...
11089	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11090          cp $export_symbols $output_objdir/$soname.def;
11091        else
11092          echo EXPORTS > $output_objdir/$soname.def;
11093          cat $export_symbols >> $output_objdir/$soname.def;
11094        fi~
11095        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11096      else
11097	ld_shlibs=no
11098      fi
11099      ;;
11100
11101    haiku*)
11102      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11103      link_all_deplibs=yes
11104      ;;
11105
11106    os2*)
11107      hardcode_libdir_flag_spec='-L$libdir'
11108      hardcode_minus_L=yes
11109      allow_undefined_flag=unsupported
11110      shrext_cmds=.dll
11111      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11112	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11113	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11114	$ECHO EXPORTS >> $output_objdir/$libname.def~
11115	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11116	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11117	emximp -o $lib $output_objdir/$libname.def'
11118      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11119	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11120	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11121	$ECHO EXPORTS >> $output_objdir/$libname.def~
11122	prefix_cmds="$SED"~
11123	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11124	  prefix_cmds="$prefix_cmds -e 1d";
11125	fi~
11126	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11127	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11128	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11129	emximp -o $lib $output_objdir/$libname.def'
11130      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11131      enable_shared_with_static_runtimes=yes
11132      ;;
11133
11134    interix[3-9]*)
11135      hardcode_direct=no
11136      hardcode_shlibpath_var=no
11137      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11138      export_dynamic_flag_spec='$wl-E'
11139      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11140      # Instead, shared libraries are loaded at an image base (0x10000000 by
11141      # default) and relocated if they conflict, which is a slow very memory
11142      # consuming and fragmenting process.  To avoid this, we pick a random,
11143      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11144      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11145      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11146      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'
11147      ;;
11148
11149    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11150      tmp_diet=no
11151      if test linux-dietlibc = "$host_os"; then
11152	case $cc_basename in
11153	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
11154	esac
11155      fi
11156      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11157	 && test no = "$tmp_diet"
11158      then
11159	tmp_addflag=' $pic_flag'
11160	tmp_sharedflag='-shared'
11161	case $cc_basename,$host_cpu in
11162        pgcc*)				# Portland Group C compiler
11163	  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'
11164	  tmp_addflag=' $pic_flag'
11165	  ;;
11166	pgf77* | pgf90* | pgf95* | pgfortran*)
11167					# Portland Group f77 and f90 compilers
11168	  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'
11169	  tmp_addflag=' $pic_flag -Mnomain' ;;
11170	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
11171	  tmp_addflag=' -i_dynamic' ;;
11172	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
11173	  tmp_addflag=' -i_dynamic -nofor_main' ;;
11174	ifc* | ifort*)			# Intel Fortran compiler
11175	  tmp_addflag=' -nofor_main' ;;
11176	lf95*)				# Lahey Fortran 8.1
11177	  whole_archive_flag_spec=
11178	  tmp_sharedflag='--shared' ;;
11179        nagfor*)                        # NAGFOR 5.3
11180          tmp_sharedflag='-Wl,-shared' ;;
11181	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11182	  tmp_sharedflag='-qmkshrobj'
11183	  tmp_addflag= ;;
11184	nvcc*)	# Cuda Compiler Driver 2.2
11185	  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'
11186	  compiler_needs_object=yes
11187	  ;;
11188	esac
11189	case `$CC -V 2>&1 | sed 5q` in
11190	*Sun\ C*)			# Sun C 5.9
11191	  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'
11192	  compiler_needs_object=yes
11193	  tmp_sharedflag='-G' ;;
11194	*Sun\ F*)			# Sun Fortran 8.3
11195	  tmp_sharedflag='-G' ;;
11196	esac
11197	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11198
11199        if test yes = "$supports_anon_versioning"; then
11200          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11201            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11202            echo "local: *; };" >> $output_objdir/$libname.ver~
11203            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11204        fi
11205
11206	case $cc_basename in
11207	tcc*)
11208	  export_dynamic_flag_spec='-rdynamic'
11209	  ;;
11210	xlf* | bgf* | bgxlf* | mpixlf*)
11211	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11212	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11213	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11214	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11215	  if test yes = "$supports_anon_versioning"; then
11216	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11217              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11218              echo "local: *; };" >> $output_objdir/$libname.ver~
11219              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11220	  fi
11221	  ;;
11222	esac
11223      else
11224        ld_shlibs=no
11225      fi
11226      ;;
11227
11228    netbsd* | netbsdelf*-gnu)
11229      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11230	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11231	wlarc=
11232      else
11233	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11234	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11235      fi
11236      ;;
11237
11238    solaris*)
11239      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11240	ld_shlibs=no
11241	cat <<_LT_EOF 1>&2
11242
11243*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11244*** create shared libraries on Solaris systems.  Therefore, libtool
11245*** is disabling shared libraries support.  We urge you to upgrade GNU
11246*** binutils to release 2.9.1 or newer.  Another option is to modify
11247*** your PATH or compiler configuration so that the native linker is
11248*** used, and then restart.
11249
11250_LT_EOF
11251      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11252	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11253	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11254      else
11255	ld_shlibs=no
11256      fi
11257      ;;
11258
11259    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11260      case `$LD -v 2>&1` in
11261        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11262	ld_shlibs=no
11263	cat <<_LT_EOF 1>&2
11264
11265*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11266*** reliably create shared libraries on SCO systems.  Therefore, libtool
11267*** is disabling shared libraries support.  We urge you to upgrade GNU
11268*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11269*** your PATH or compiler configuration so that the native linker is
11270*** used, and then restart.
11271
11272_LT_EOF
11273	;;
11274	*)
11275	  # For security reasons, it is highly recommended that you always
11276	  # use absolute paths for naming shared libraries, and exclude the
11277	  # DT_RUNPATH tag from executables and libraries.  But doing so
11278	  # requires that you compile everything twice, which is a pain.
11279	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11280	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11281	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11282	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11283	  else
11284	    ld_shlibs=no
11285	  fi
11286	;;
11287      esac
11288      ;;
11289
11290    sunos4*)
11291      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11292      wlarc=
11293      hardcode_direct=yes
11294      hardcode_shlibpath_var=no
11295      ;;
11296
11297    *)
11298      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11299	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11300	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11301      else
11302	ld_shlibs=no
11303      fi
11304      ;;
11305    esac
11306
11307    if test no = "$ld_shlibs"; then
11308      runpath_var=
11309      hardcode_libdir_flag_spec=
11310      export_dynamic_flag_spec=
11311      whole_archive_flag_spec=
11312    fi
11313  else
11314    # PORTME fill in a description of your system's linker (not GNU ld)
11315    case $host_os in
11316    aix3*)
11317      allow_undefined_flag=unsupported
11318      always_export_symbols=yes
11319      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'
11320      # Note: this linker hardcodes the directories in LIBPATH if there
11321      # are no directories specified by -L.
11322      hardcode_minus_L=yes
11323      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11324	# Neither direct hardcoding nor static linking is supported with a
11325	# broken collect2.
11326	hardcode_direct=unsupported
11327      fi
11328      ;;
11329
11330    aix[4-9]*)
11331      if test ia64 = "$host_cpu"; then
11332	# On IA64, the linker does run time linking by default, so we don't
11333	# have to do anything special.
11334	aix_use_runtimelinking=no
11335	exp_sym_flag='-Bexport'
11336	no_entry_flag=
11337      else
11338	# If we're using GNU nm, then we don't want the "-C" option.
11339	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
11340	# Without the "-l" option, or with the "-B" option, AIX nm treats
11341	# weak defined symbols like other global defined symbols, whereas
11342	# GNU nm marks them as "W".
11343	# While the 'weak' keyword is ignored in the Export File, we need
11344	# it in the Import File for the 'aix-soname' feature, so we have
11345	# to replace the "-B" option with "-P" for AIX nm.
11346	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11347	  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'
11348	else
11349	  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'
11350	fi
11351	aix_use_runtimelinking=no
11352
11353	# Test if we are trying to use run time linking or normal
11354	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11355	# have runtime linking enabled, and use it for executables.
11356	# For shared libraries, we enable/disable runtime linking
11357	# depending on the kind of the shared library created -
11358	# when "with_aix_soname,aix_use_runtimelinking" is:
11359	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
11360	# "aix,yes"  lib.so          shared, rtl:yes, for executables
11361	#            lib.a           static archive
11362	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
11363	#            lib.a(lib.so.V) shared, rtl:no,  for executables
11364	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11365	#            lib.a(lib.so.V) shared, rtl:no
11366	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
11367	#            lib.a           static archive
11368	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11369	  for ld_flag in $LDFLAGS; do
11370	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11371	    aix_use_runtimelinking=yes
11372	    break
11373	  fi
11374	  done
11375	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11376	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
11377	    # so we don't have lib.a shared libs to link our executables.
11378	    # We have to force runtime linking in this case.
11379	    aix_use_runtimelinking=yes
11380	    LDFLAGS="$LDFLAGS -Wl,-brtl"
11381	  fi
11382	  ;;
11383	esac
11384
11385	exp_sym_flag='-bexport'
11386	no_entry_flag='-bnoentry'
11387      fi
11388
11389      # When large executables or shared objects are built, AIX ld can
11390      # have problems creating the table of contents.  If linking a library
11391      # or program results in "error TOC overflow" add -mminimal-toc to
11392      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11393      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11394
11395      archive_cmds=''
11396      hardcode_direct=yes
11397      hardcode_direct_absolute=yes
11398      hardcode_libdir_separator=':'
11399      link_all_deplibs=yes
11400      file_list_spec='$wl-f,'
11401      case $with_aix_soname,$aix_use_runtimelinking in
11402      aix,*) ;; # traditional, no import file
11403      svr4,* | *,yes) # use import file
11404	# The Import File defines what to hardcode.
11405	hardcode_direct=no
11406	hardcode_direct_absolute=no
11407	;;
11408      esac
11409
11410      if test yes = "$GCC"; then
11411	case $host_os in aix4.[012]|aix4.[012].*)
11412	# We only want to do this on AIX 4.2 and lower, the check
11413	# below for broken collect2 doesn't work under 4.3+
11414	  collect2name=`$CC -print-prog-name=collect2`
11415	  if test -f "$collect2name" &&
11416	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11417	  then
11418	  # We have reworked collect2
11419	  :
11420	  else
11421	  # We have old collect2
11422	  hardcode_direct=unsupported
11423	  # It fails to find uninstalled libraries when the uninstalled
11424	  # path is not listed in the libpath.  Setting hardcode_minus_L
11425	  # to unsupported forces relinking
11426	  hardcode_minus_L=yes
11427	  hardcode_libdir_flag_spec='-L$libdir'
11428	  hardcode_libdir_separator=
11429	  fi
11430	  ;;
11431	esac
11432	shared_flag='-shared'
11433	if test yes = "$aix_use_runtimelinking"; then
11434	  shared_flag="$shared_flag "'$wl-G'
11435	fi
11436	# Need to ensure runtime linking is disabled for the traditional
11437	# shared library, or the linker may eventually find shared libraries
11438	# /with/ Import File - we do not want to mix them.
11439	shared_flag_aix='-shared'
11440	shared_flag_svr4='-shared $wl-G'
11441      else
11442	# not using gcc
11443	if test ia64 = "$host_cpu"; then
11444	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11445	# chokes on -Wl,-G. The following line is correct:
11446	  shared_flag='-G'
11447	else
11448	  if test yes = "$aix_use_runtimelinking"; then
11449	    shared_flag='$wl-G'
11450	  else
11451	    shared_flag='$wl-bM:SRE'
11452	  fi
11453	  shared_flag_aix='$wl-bM:SRE'
11454	  shared_flag_svr4='$wl-G'
11455	fi
11456      fi
11457
11458      export_dynamic_flag_spec='$wl-bexpall'
11459      # It seems that -bexpall does not export symbols beginning with
11460      # underscore (_), so it is better to generate a list of symbols to export.
11461      always_export_symbols=yes
11462      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11463	# Warning - without using the other runtime loading flags (-brtl),
11464	# -berok will link without error, but may produce a broken library.
11465	allow_undefined_flag='-berok'
11466        # Determine the default libpath from the value encoded in an
11467        # empty executable.
11468        if test set = "${lt_cv_aix_libpath+set}"; then
11469  aix_libpath=$lt_cv_aix_libpath
11470else
11471  if ${lt_cv_aix_libpath_+:} false; then :
11472  $as_echo_n "(cached) " >&6
11473else
11474  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475/* end confdefs.h.  */
11476
11477int
11478main ()
11479{
11480
11481  ;
11482  return 0;
11483}
11484_ACEOF
11485if ac_fn_c_try_link "$LINENO"; then :
11486
11487  lt_aix_libpath_sed='
11488      /Import File Strings/,/^$/ {
11489	  /^0/ {
11490	      s/^0  *\([^ ]*\) *$/\1/
11491	      p
11492	  }
11493      }'
11494  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11495  # Check for a 64-bit object if we didn't find anything.
11496  if test -z "$lt_cv_aix_libpath_"; then
11497    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11498  fi
11499fi
11500rm -f core conftest.err conftest.$ac_objext \
11501    conftest$ac_exeext conftest.$ac_ext
11502  if test -z "$lt_cv_aix_libpath_"; then
11503    lt_cv_aix_libpath_=/usr/lib:/lib
11504  fi
11505
11506fi
11507
11508  aix_libpath=$lt_cv_aix_libpath_
11509fi
11510
11511        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11512        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
11513      else
11514	if test ia64 = "$host_cpu"; then
11515	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11516	  allow_undefined_flag="-z nodefs"
11517	  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"
11518	else
11519	 # Determine the default libpath from the value encoded in an
11520	 # empty executable.
11521	 if test set = "${lt_cv_aix_libpath+set}"; then
11522  aix_libpath=$lt_cv_aix_libpath
11523else
11524  if ${lt_cv_aix_libpath_+:} false; then :
11525  $as_echo_n "(cached) " >&6
11526else
11527  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11528/* end confdefs.h.  */
11529
11530int
11531main ()
11532{
11533
11534  ;
11535  return 0;
11536}
11537_ACEOF
11538if ac_fn_c_try_link "$LINENO"; then :
11539
11540  lt_aix_libpath_sed='
11541      /Import File Strings/,/^$/ {
11542	  /^0/ {
11543	      s/^0  *\([^ ]*\) *$/\1/
11544	      p
11545	  }
11546      }'
11547  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11548  # Check for a 64-bit object if we didn't find anything.
11549  if test -z "$lt_cv_aix_libpath_"; then
11550    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11551  fi
11552fi
11553rm -f core conftest.err conftest.$ac_objext \
11554    conftest$ac_exeext conftest.$ac_ext
11555  if test -z "$lt_cv_aix_libpath_"; then
11556    lt_cv_aix_libpath_=/usr/lib:/lib
11557  fi
11558
11559fi
11560
11561  aix_libpath=$lt_cv_aix_libpath_
11562fi
11563
11564	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11565	  # Warning - without using the other run time loading flags,
11566	  # -berok will link without error, but may produce a broken library.
11567	  no_undefined_flag=' $wl-bernotok'
11568	  allow_undefined_flag=' $wl-berok'
11569	  if test yes = "$with_gnu_ld"; then
11570	    # We only use this code for GNU lds that support --whole-archive.
11571	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11572	  else
11573	    # Exported symbols can be pulled into shared objects from archives
11574	    whole_archive_flag_spec='$convenience'
11575	  fi
11576	  archive_cmds_need_lc=yes
11577	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11578	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11579	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11580	  if test svr4 != "$with_aix_soname"; then
11581	    # This is similar to how AIX traditionally builds its shared libraries.
11582	    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'
11583	  fi
11584	  if test aix != "$with_aix_soname"; then
11585	    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'
11586	  else
11587	    # used by -dlpreopen to get the symbols
11588	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11589	  fi
11590	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11591	fi
11592      fi
11593      ;;
11594
11595    amigaos*)
11596      case $host_cpu in
11597      powerpc)
11598            # see comment about AmigaOS4 .so support
11599            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11600            archive_expsym_cmds=''
11601        ;;
11602      m68k)
11603            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)'
11604            hardcode_libdir_flag_spec='-L$libdir'
11605            hardcode_minus_L=yes
11606        ;;
11607      esac
11608      ;;
11609
11610    bsdi[45]*)
11611      export_dynamic_flag_spec=-rdynamic
11612      ;;
11613
11614    cygwin* | mingw* | pw32* | cegcc*)
11615      # When not using gcc, we currently assume that we are using
11616      # Microsoft Visual C++.
11617      # hardcode_libdir_flag_spec is actually meaningless, as there is
11618      # no search path for DLLs.
11619      case $cc_basename in
11620      cl*)
11621	# Native MSVC
11622	hardcode_libdir_flag_spec=' '
11623	allow_undefined_flag=unsupported
11624	always_export_symbols=yes
11625	file_list_spec='@'
11626	# Tell ltmain to make .lib files, not .a files.
11627	libext=lib
11628	# Tell ltmain to make .dll files, not .so files.
11629	shrext_cmds=.dll
11630	# FIXME: Setting linknames here is a bad hack.
11631	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11632	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11633            cp "$export_symbols" "$output_objdir/$soname.def";
11634            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11635          else
11636            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11637          fi~
11638          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11639          linknames='
11640	# The linker will not automatically build a static lib if we build a DLL.
11641	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11642	enable_shared_with_static_runtimes=yes
11643	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11644	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11645	# Don't use ranlib
11646	old_postinstall_cmds='chmod 644 $oldlib'
11647	postlink_cmds='lt_outputfile="@OUTPUT@"~
11648          lt_tool_outputfile="@TOOL_OUTPUT@"~
11649          case $lt_outputfile in
11650            *.exe|*.EXE) ;;
11651            *)
11652              lt_outputfile=$lt_outputfile.exe
11653              lt_tool_outputfile=$lt_tool_outputfile.exe
11654              ;;
11655          esac~
11656          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11657            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11658            $RM "$lt_outputfile.manifest";
11659          fi'
11660	;;
11661      *)
11662	# Assume MSVC wrapper
11663	hardcode_libdir_flag_spec=' '
11664	allow_undefined_flag=unsupported
11665	# Tell ltmain to make .lib files, not .a files.
11666	libext=lib
11667	# Tell ltmain to make .dll files, not .so files.
11668	shrext_cmds=.dll
11669	# FIXME: Setting linknames here is a bad hack.
11670	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11671	# The linker will automatically build a .lib file if we build a DLL.
11672	old_archive_from_new_cmds='true'
11673	# FIXME: Should let the user specify the lib program.
11674	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11675	enable_shared_with_static_runtimes=yes
11676	;;
11677      esac
11678      ;;
11679
11680    darwin* | rhapsody*)
11681
11682
11683  archive_cmds_need_lc=no
11684  hardcode_direct=no
11685  hardcode_automatic=yes
11686  hardcode_shlibpath_var=unsupported
11687  if test yes = "$lt_cv_ld_force_load"; then
11688    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\"`'
11689
11690  else
11691    whole_archive_flag_spec=''
11692  fi
11693  link_all_deplibs=yes
11694  allow_undefined_flag=$_lt_dar_allow_undefined
11695  case $cc_basename in
11696     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11697     *) _lt_dar_can_shared=$GCC ;;
11698  esac
11699  if test yes = "$_lt_dar_can_shared"; then
11700    output_verbose_link_cmd=func_echo_all
11701    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11702    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11703    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"
11704    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"
11705
11706  else
11707  ld_shlibs=no
11708  fi
11709
11710      ;;
11711
11712    dgux*)
11713      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11714      hardcode_libdir_flag_spec='-L$libdir'
11715      hardcode_shlibpath_var=no
11716      ;;
11717
11718    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11719    # support.  Future versions do this automatically, but an explicit c++rt0.o
11720    # does not break anything, and helps significantly (at the cost of a little
11721    # extra space).
11722    freebsd2.2*)
11723      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11724      hardcode_libdir_flag_spec='-R$libdir'
11725      hardcode_direct=yes
11726      hardcode_shlibpath_var=no
11727      ;;
11728
11729    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11730    freebsd2.*)
11731      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11732      hardcode_direct=yes
11733      hardcode_minus_L=yes
11734      hardcode_shlibpath_var=no
11735      ;;
11736
11737    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11738    freebsd* | dragonfly*)
11739      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11740      hardcode_libdir_flag_spec='-R$libdir'
11741      hardcode_direct=yes
11742      hardcode_shlibpath_var=no
11743      ;;
11744
11745    hpux9*)
11746      if test yes = "$GCC"; then
11747	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'
11748      else
11749	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'
11750      fi
11751      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11752      hardcode_libdir_separator=:
11753      hardcode_direct=yes
11754
11755      # hardcode_minus_L: Not really in the search PATH,
11756      # but as the default location of the library.
11757      hardcode_minus_L=yes
11758      export_dynamic_flag_spec='$wl-E'
11759      ;;
11760
11761    hpux10*)
11762      if test yes,no = "$GCC,$with_gnu_ld"; then
11763	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11764      else
11765	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11766      fi
11767      if test no = "$with_gnu_ld"; then
11768	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11769	hardcode_libdir_separator=:
11770	hardcode_direct=yes
11771	hardcode_direct_absolute=yes
11772	export_dynamic_flag_spec='$wl-E'
11773	# hardcode_minus_L: Not really in the search PATH,
11774	# but as the default location of the library.
11775	hardcode_minus_L=yes
11776      fi
11777      ;;
11778
11779    hpux11*)
11780      if test yes,no = "$GCC,$with_gnu_ld"; then
11781	case $host_cpu in
11782	hppa*64*)
11783	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11784	  ;;
11785	ia64*)
11786	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11787	  ;;
11788	*)
11789	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11790	  ;;
11791	esac
11792      else
11793	case $host_cpu in
11794	hppa*64*)
11795	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11796	  ;;
11797	ia64*)
11798	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11799	  ;;
11800	*)
11801
11802	  # Older versions of the 11.00 compiler do not understand -b yet
11803	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11804	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11805$as_echo_n "checking if $CC understands -b... " >&6; }
11806if ${lt_cv_prog_compiler__b+:} false; then :
11807  $as_echo_n "(cached) " >&6
11808else
11809  lt_cv_prog_compiler__b=no
11810   save_LDFLAGS=$LDFLAGS
11811   LDFLAGS="$LDFLAGS -b"
11812   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11813   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11814     # The linker can only warn and ignore the option if not recognized
11815     # So say no if there are warnings
11816     if test -s conftest.err; then
11817       # Append any errors to the config.log.
11818       cat conftest.err 1>&5
11819       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11820       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11821       if diff conftest.exp conftest.er2 >/dev/null; then
11822         lt_cv_prog_compiler__b=yes
11823       fi
11824     else
11825       lt_cv_prog_compiler__b=yes
11826     fi
11827   fi
11828   $RM -r conftest*
11829   LDFLAGS=$save_LDFLAGS
11830
11831fi
11832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11833$as_echo "$lt_cv_prog_compiler__b" >&6; }
11834
11835if test yes = "$lt_cv_prog_compiler__b"; then
11836    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11837else
11838    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11839fi
11840
11841	  ;;
11842	esac
11843      fi
11844      if test no = "$with_gnu_ld"; then
11845	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11846	hardcode_libdir_separator=:
11847
11848	case $host_cpu in
11849	hppa*64*|ia64*)
11850	  hardcode_direct=no
11851	  hardcode_shlibpath_var=no
11852	  ;;
11853	*)
11854	  hardcode_direct=yes
11855	  hardcode_direct_absolute=yes
11856	  export_dynamic_flag_spec='$wl-E'
11857
11858	  # hardcode_minus_L: Not really in the search PATH,
11859	  # but as the default location of the library.
11860	  hardcode_minus_L=yes
11861	  ;;
11862	esac
11863      fi
11864      ;;
11865
11866    irix5* | irix6* | nonstopux*)
11867      if test yes = "$GCC"; then
11868	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'
11869	# Try to use the -exported_symbol ld option, if it does not
11870	# work, assume that -exports_file does not work either and
11871	# implicitly export all symbols.
11872	# This should be the same for all languages, so no per-tag cache variable.
11873	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11874$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11875if ${lt_cv_irix_exported_symbol+:} false; then :
11876  $as_echo_n "(cached) " >&6
11877else
11878  save_LDFLAGS=$LDFLAGS
11879	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11880	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11881/* end confdefs.h.  */
11882int foo (void) { return 0; }
11883_ACEOF
11884if ac_fn_c_try_link "$LINENO"; then :
11885  lt_cv_irix_exported_symbol=yes
11886else
11887  lt_cv_irix_exported_symbol=no
11888fi
11889rm -f core conftest.err conftest.$ac_objext \
11890    conftest$ac_exeext conftest.$ac_ext
11891           LDFLAGS=$save_LDFLAGS
11892fi
11893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11894$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11895	if test yes = "$lt_cv_irix_exported_symbol"; then
11896          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'
11897	fi
11898	link_all_deplibs=no
11899      else
11900	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'
11901	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'
11902      fi
11903      archive_cmds_need_lc='no'
11904      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11905      hardcode_libdir_separator=:
11906      inherit_rpath=yes
11907      link_all_deplibs=yes
11908      ;;
11909
11910    linux*)
11911      case $cc_basename in
11912      tcc*)
11913	# Fabrice Bellard et al's Tiny C Compiler
11914	ld_shlibs=yes
11915	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11916	;;
11917      esac
11918      ;;
11919
11920    netbsd* | netbsdelf*-gnu)
11921      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11922	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11923      else
11924	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11925      fi
11926      hardcode_libdir_flag_spec='-R$libdir'
11927      hardcode_direct=yes
11928      hardcode_shlibpath_var=no
11929      ;;
11930
11931    newsos6)
11932      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11933      hardcode_direct=yes
11934      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11935      hardcode_libdir_separator=:
11936      hardcode_shlibpath_var=no
11937      ;;
11938
11939    *nto* | *qnx*)
11940      ;;
11941
11942    openbsd* | bitrig*)
11943      if test -f /usr/libexec/ld.so; then
11944	hardcode_direct=yes
11945	hardcode_shlibpath_var=no
11946	hardcode_direct_absolute=yes
11947	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11948	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11949	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11950	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11951	  export_dynamic_flag_spec='$wl-E'
11952	else
11953	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11954	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11955	fi
11956      else
11957	ld_shlibs=no
11958      fi
11959      ;;
11960
11961    os2*)
11962      hardcode_libdir_flag_spec='-L$libdir'
11963      hardcode_minus_L=yes
11964      allow_undefined_flag=unsupported
11965      shrext_cmds=.dll
11966      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11967	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11968	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11969	$ECHO EXPORTS >> $output_objdir/$libname.def~
11970	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11971	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11972	emximp -o $lib $output_objdir/$libname.def'
11973      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11974	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11975	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11976	$ECHO EXPORTS >> $output_objdir/$libname.def~
11977	prefix_cmds="$SED"~
11978	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11979	  prefix_cmds="$prefix_cmds -e 1d";
11980	fi~
11981	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11982	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11983	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11984	emximp -o $lib $output_objdir/$libname.def'
11985      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11986      enable_shared_with_static_runtimes=yes
11987      ;;
11988
11989    osf3*)
11990      if test yes = "$GCC"; then
11991	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11992	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'
11993      else
11994	allow_undefined_flag=' -expect_unresolved \*'
11995	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'
11996      fi
11997      archive_cmds_need_lc='no'
11998      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11999      hardcode_libdir_separator=:
12000      ;;
12001
12002    osf4* | osf5*)	# as osf3* with the addition of -msym flag
12003      if test yes = "$GCC"; then
12004	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12005	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'
12006	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12007      else
12008	allow_undefined_flag=' -expect_unresolved \*'
12009	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'
12010	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~
12011          $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'
12012
12013	# Both c and cxx compiler support -rpath directly
12014	hardcode_libdir_flag_spec='-rpath $libdir'
12015      fi
12016      archive_cmds_need_lc='no'
12017      hardcode_libdir_separator=:
12018      ;;
12019
12020    solaris*)
12021      no_undefined_flag=' -z defs'
12022      if test yes = "$GCC"; then
12023	wlarc='$wl'
12024	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12025	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12026          $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'
12027      else
12028	case `$CC -V 2>&1` in
12029	*"Compilers 5.0"*)
12030	  wlarc=''
12031	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12032	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12033            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12034	  ;;
12035	*)
12036	  wlarc='$wl'
12037	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12038	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12039            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12040	  ;;
12041	esac
12042      fi
12043      hardcode_libdir_flag_spec='-R$libdir'
12044      hardcode_shlibpath_var=no
12045      case $host_os in
12046      solaris2.[0-5] | solaris2.[0-5].*) ;;
12047      *)
12048	# The compiler driver will combine and reorder linker options,
12049	# but understands '-z linker_flag'.  GCC discards it without '$wl',
12050	# but is careful enough not to reorder.
12051	# Supported since Solaris 2.6 (maybe 2.5.1?)
12052	if test yes = "$GCC"; then
12053	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12054	else
12055	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12056	fi
12057	;;
12058      esac
12059      link_all_deplibs=yes
12060      ;;
12061
12062    sunos4*)
12063      if test sequent = "$host_vendor"; then
12064	# Use $CC to link under sequent, because it throws in some extra .o
12065	# files that make .init and .fini sections work.
12066	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12067      else
12068	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12069      fi
12070      hardcode_libdir_flag_spec='-L$libdir'
12071      hardcode_direct=yes
12072      hardcode_minus_L=yes
12073      hardcode_shlibpath_var=no
12074      ;;
12075
12076    sysv4)
12077      case $host_vendor in
12078	sni)
12079	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12080	  hardcode_direct=yes # is this really true???
12081	;;
12082	siemens)
12083	  ## LD is ld it makes a PLAMLIB
12084	  ## CC just makes a GrossModule.
12085	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12086	  reload_cmds='$CC -r -o $output$reload_objs'
12087	  hardcode_direct=no
12088        ;;
12089	motorola)
12090	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12091	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12092	;;
12093      esac
12094      runpath_var='LD_RUN_PATH'
12095      hardcode_shlibpath_var=no
12096      ;;
12097
12098    sysv4.3*)
12099      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12100      hardcode_shlibpath_var=no
12101      export_dynamic_flag_spec='-Bexport'
12102      ;;
12103
12104    sysv4*MP*)
12105      if test -d /usr/nec; then
12106	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12107	hardcode_shlibpath_var=no
12108	runpath_var=LD_RUN_PATH
12109	hardcode_runpath_var=yes
12110	ld_shlibs=yes
12111      fi
12112      ;;
12113
12114    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12115      no_undefined_flag='$wl-z,text'
12116      archive_cmds_need_lc=no
12117      hardcode_shlibpath_var=no
12118      runpath_var='LD_RUN_PATH'
12119
12120      if test yes = "$GCC"; then
12121	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12122	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12123      else
12124	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12125	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12126      fi
12127      ;;
12128
12129    sysv5* | sco3.2v5* | sco5v6*)
12130      # Note: We CANNOT use -z defs as we might desire, because we do not
12131      # link with -lc, and that would cause any symbols used from libc to
12132      # always be unresolved, which means just about no library would
12133      # ever link correctly.  If we're not using GNU ld we use -z text
12134      # though, which does catch some bad symbols but isn't as heavy-handed
12135      # as -z defs.
12136      no_undefined_flag='$wl-z,text'
12137      allow_undefined_flag='$wl-z,nodefs'
12138      archive_cmds_need_lc=no
12139      hardcode_shlibpath_var=no
12140      hardcode_libdir_flag_spec='$wl-R,$libdir'
12141      hardcode_libdir_separator=':'
12142      link_all_deplibs=yes
12143      export_dynamic_flag_spec='$wl-Bexport'
12144      runpath_var='LD_RUN_PATH'
12145
12146      if test yes = "$GCC"; then
12147	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12148	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12149      else
12150	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12151	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12152      fi
12153      ;;
12154
12155    uts4*)
12156      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12157      hardcode_libdir_flag_spec='-L$libdir'
12158      hardcode_shlibpath_var=no
12159      ;;
12160
12161    *)
12162      ld_shlibs=no
12163      ;;
12164    esac
12165
12166    if test sni = "$host_vendor"; then
12167      case $host in
12168      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12169	export_dynamic_flag_spec='$wl-Blargedynsym'
12170	;;
12171      esac
12172    fi
12173  fi
12174
12175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12176$as_echo "$ld_shlibs" >&6; }
12177test no = "$ld_shlibs" && can_build_shared=no
12178
12179with_gnu_ld=$with_gnu_ld
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195#
12196# Do we need to explicitly link libc?
12197#
12198case "x$archive_cmds_need_lc" in
12199x|xyes)
12200  # Assume -lc should be added
12201  archive_cmds_need_lc=yes
12202
12203  if test yes,yes = "$GCC,$enable_shared"; then
12204    case $archive_cmds in
12205    *'~'*)
12206      # FIXME: we may have to deal with multi-command sequences.
12207      ;;
12208    '$CC '*)
12209      # Test whether the compiler implicitly links with -lc since on some
12210      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12211      # to ld, don't add -lc before -lgcc.
12212      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12213$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12214if ${lt_cv_archive_cmds_need_lc+:} false; then :
12215  $as_echo_n "(cached) " >&6
12216else
12217  $RM conftest*
12218	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12219
12220	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12221  (eval $ac_compile) 2>&5
12222  ac_status=$?
12223  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12224  test $ac_status = 0; } 2>conftest.err; then
12225	  soname=conftest
12226	  lib=conftest
12227	  libobjs=conftest.$ac_objext
12228	  deplibs=
12229	  wl=$lt_prog_compiler_wl
12230	  pic_flag=$lt_prog_compiler_pic
12231	  compiler_flags=-v
12232	  linker_flags=-v
12233	  verstring=
12234	  output_objdir=.
12235	  libname=conftest
12236	  lt_save_allow_undefined_flag=$allow_undefined_flag
12237	  allow_undefined_flag=
12238	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12239  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12240  ac_status=$?
12241  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12242  test $ac_status = 0; }
12243	  then
12244	    lt_cv_archive_cmds_need_lc=no
12245	  else
12246	    lt_cv_archive_cmds_need_lc=yes
12247	  fi
12248	  allow_undefined_flag=$lt_save_allow_undefined_flag
12249	else
12250	  cat conftest.err 1>&5
12251	fi
12252	$RM conftest*
12253
12254fi
12255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12256$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12257      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12258      ;;
12259    esac
12260  fi
12261  ;;
12262esac
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12416$as_echo_n "checking dynamic linker characteristics... " >&6; }
12417
12418if test yes = "$GCC"; then
12419  case $host_os in
12420    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12421    *) lt_awk_arg='/^libraries:/' ;;
12422  esac
12423  case $host_os in
12424    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12425    *) lt_sed_strip_eq='s|=/|/|g' ;;
12426  esac
12427  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12428  case $lt_search_path_spec in
12429  *\;*)
12430    # if the path contains ";" then we assume it to be the separator
12431    # otherwise default to the standard path separator (i.e. ":") - it is
12432    # assumed that no part of a normal pathname contains ";" but that should
12433    # okay in the real world where ";" in dirpaths is itself problematic.
12434    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12435    ;;
12436  *)
12437    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12438    ;;
12439  esac
12440  # Ok, now we have the path, separated by spaces, we can step through it
12441  # and add multilib dir if necessary...
12442  lt_tmp_lt_search_path_spec=
12443  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12444  # ...but if some path component already ends with the multilib dir we assume
12445  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12446  case "$lt_multi_os_dir; $lt_search_path_spec " in
12447  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12448    lt_multi_os_dir=
12449    ;;
12450  esac
12451  for lt_sys_path in $lt_search_path_spec; do
12452    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12453      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12454    elif test -n "$lt_multi_os_dir"; then
12455      test -d "$lt_sys_path" && \
12456	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12457    fi
12458  done
12459  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12460BEGIN {RS = " "; FS = "/|\n";} {
12461  lt_foo = "";
12462  lt_count = 0;
12463  for (lt_i = NF; lt_i > 0; lt_i--) {
12464    if ($lt_i != "" && $lt_i != ".") {
12465      if ($lt_i == "..") {
12466        lt_count++;
12467      } else {
12468        if (lt_count == 0) {
12469          lt_foo = "/" $lt_i lt_foo;
12470        } else {
12471          lt_count--;
12472        }
12473      }
12474    }
12475  }
12476  if (lt_foo != "") { lt_freq[lt_foo]++; }
12477  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12478}'`
12479  # AWK program above erroneously prepends '/' to C:/dos/paths
12480  # for these hosts.
12481  case $host_os in
12482    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12483      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12484  esac
12485  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12486else
12487  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12488fi
12489library_names_spec=
12490libname_spec='lib$name'
12491soname_spec=
12492shrext_cmds=.so
12493postinstall_cmds=
12494postuninstall_cmds=
12495finish_cmds=
12496finish_eval=
12497shlibpath_var=
12498shlibpath_overrides_runpath=unknown
12499version_type=none
12500dynamic_linker="$host_os ld.so"
12501sys_lib_dlsearch_path_spec="/lib /usr/lib"
12502need_lib_prefix=unknown
12503hardcode_into_libs=no
12504
12505# when you set need_version to no, make sure it does not cause -set_version
12506# flags to be left without arguments
12507need_version=unknown
12508
12509
12510
12511case $host_os in
12512aix3*)
12513  version_type=linux # correct to gnu/linux during the next big refactor
12514  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12515  shlibpath_var=LIBPATH
12516
12517  # AIX 3 has no versioning support, so we append a major version to the name.
12518  soname_spec='$libname$release$shared_ext$major'
12519  ;;
12520
12521aix[4-9]*)
12522  version_type=linux # correct to gnu/linux during the next big refactor
12523  need_lib_prefix=no
12524  need_version=no
12525  hardcode_into_libs=yes
12526  if test ia64 = "$host_cpu"; then
12527    # AIX 5 supports IA64
12528    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12529    shlibpath_var=LD_LIBRARY_PATH
12530  else
12531    # With GCC up to 2.95.x, collect2 would create an import file
12532    # for dependence libraries.  The import file would start with
12533    # the line '#! .'.  This would cause the generated library to
12534    # depend on '.', always an invalid library.  This was fixed in
12535    # development snapshots of GCC prior to 3.0.
12536    case $host_os in
12537      aix4 | aix4.[01] | aix4.[01].*)
12538      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12539	   echo ' yes '
12540	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12541	:
12542      else
12543	can_build_shared=no
12544      fi
12545      ;;
12546    esac
12547    # Using Import Files as archive members, it is possible to support
12548    # filename-based versioning of shared library archives on AIX. While
12549    # this would work for both with and without runtime linking, it will
12550    # prevent static linking of such archives. So we do filename-based
12551    # shared library versioning with .so extension only, which is used
12552    # when both runtime linking and shared linking is enabled.
12553    # Unfortunately, runtime linking may impact performance, so we do
12554    # not want this to be the default eventually. Also, we use the
12555    # versioned .so libs for executables only if there is the -brtl
12556    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12557    # To allow for filename-based versioning support, we need to create
12558    # libNAME.so.V as an archive file, containing:
12559    # *) an Import File, referring to the versioned filename of the
12560    #    archive as well as the shared archive member, telling the
12561    #    bitwidth (32 or 64) of that shared object, and providing the
12562    #    list of exported symbols of that shared object, eventually
12563    #    decorated with the 'weak' keyword
12564    # *) the shared object with the F_LOADONLY flag set, to really avoid
12565    #    it being seen by the linker.
12566    # At run time we better use the real file rather than another symlink,
12567    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12568
12569    case $with_aix_soname,$aix_use_runtimelinking in
12570    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12571    # soname into executable. Probably we can add versioning support to
12572    # collect2, so additional links can be useful in future.
12573    aix,yes) # traditional libtool
12574      dynamic_linker='AIX unversionable lib.so'
12575      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12576      # instead of lib<name>.a to let people know that these are not
12577      # typical AIX shared libraries.
12578      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12579      ;;
12580    aix,no) # traditional AIX only
12581      dynamic_linker='AIX lib.a(lib.so.V)'
12582      # We preserve .a as extension for shared libraries through AIX4.2
12583      # and later when we are not doing run time linking.
12584      library_names_spec='$libname$release.a $libname.a'
12585      soname_spec='$libname$release$shared_ext$major'
12586      ;;
12587    svr4,*) # full svr4 only
12588      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12589      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12590      # We do not specify a path in Import Files, so LIBPATH fires.
12591      shlibpath_overrides_runpath=yes
12592      ;;
12593    *,yes) # both, prefer svr4
12594      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12595      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12596      # unpreferred sharedlib libNAME.a needs extra handling
12597      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"'
12598      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"'
12599      # We do not specify a path in Import Files, so LIBPATH fires.
12600      shlibpath_overrides_runpath=yes
12601      ;;
12602    *,no) # both, prefer aix
12603      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12604      library_names_spec='$libname$release.a $libname.a'
12605      soname_spec='$libname$release$shared_ext$major'
12606      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12607      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)'
12608      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"'
12609      ;;
12610    esac
12611    shlibpath_var=LIBPATH
12612  fi
12613  ;;
12614
12615amigaos*)
12616  case $host_cpu in
12617  powerpc)
12618    # Since July 2007 AmigaOS4 officially supports .so libraries.
12619    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12620    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12621    ;;
12622  m68k)
12623    library_names_spec='$libname.ixlibrary $libname.a'
12624    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12625    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'
12626    ;;
12627  esac
12628  ;;
12629
12630beos*)
12631  library_names_spec='$libname$shared_ext'
12632  dynamic_linker="$host_os ld.so"
12633  shlibpath_var=LIBRARY_PATH
12634  ;;
12635
12636bsdi[45]*)
12637  version_type=linux # correct to gnu/linux during the next big refactor
12638  need_version=no
12639  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12640  soname_spec='$libname$release$shared_ext$major'
12641  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12642  shlibpath_var=LD_LIBRARY_PATH
12643  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12644  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12645  # the default ld.so.conf also contains /usr/contrib/lib and
12646  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12647  # libtool to hard-code these into programs
12648  ;;
12649
12650cygwin* | mingw* | pw32* | cegcc*)
12651  version_type=windows
12652  shrext_cmds=.dll
12653  need_version=no
12654  need_lib_prefix=no
12655
12656  case $GCC,$cc_basename in
12657  yes,*)
12658    # gcc
12659    library_names_spec='$libname.dll.a'
12660    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12661    postinstall_cmds='base_file=`basename \$file`~
12662      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12663      dldir=$destdir/`dirname \$dlpath`~
12664      test -d \$dldir || mkdir -p \$dldir~
12665      $install_prog $dir/$dlname \$dldir/$dlname~
12666      chmod a+x \$dldir/$dlname~
12667      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12668        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12669      fi'
12670    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12671      dlpath=$dir/\$dldll~
12672       $RM \$dlpath'
12673    shlibpath_overrides_runpath=yes
12674
12675    case $host_os in
12676    cygwin*)
12677      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12678      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12679
12680      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12681      ;;
12682    mingw* | cegcc*)
12683      # MinGW DLLs use traditional 'lib' prefix
12684      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12685      ;;
12686    pw32*)
12687      # pw32 DLLs use 'pw' prefix rather than 'lib'
12688      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12689      ;;
12690    esac
12691    dynamic_linker='Win32 ld.exe'
12692    ;;
12693
12694  *,cl*)
12695    # Native MSVC
12696    libname_spec='$name'
12697    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12698    library_names_spec='$libname.dll.lib'
12699
12700    case $build_os in
12701    mingw*)
12702      sys_lib_search_path_spec=
12703      lt_save_ifs=$IFS
12704      IFS=';'
12705      for lt_path in $LIB
12706      do
12707        IFS=$lt_save_ifs
12708        # Let DOS variable expansion print the short 8.3 style file name.
12709        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12710        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12711      done
12712      IFS=$lt_save_ifs
12713      # Convert to MSYS style.
12714      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12715      ;;
12716    cygwin*)
12717      # Convert to unix form, then to dos form, then back to unix form
12718      # but this time dos style (no spaces!) so that the unix form looks
12719      # like /cygdrive/c/PROGRA~1:/cygdr...
12720      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12721      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12722      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12723      ;;
12724    *)
12725      sys_lib_search_path_spec=$LIB
12726      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12727        # It is most probably a Windows format PATH.
12728        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12729      else
12730        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12731      fi
12732      # FIXME: find the short name or the path components, as spaces are
12733      # common. (e.g. "Program Files" -> "PROGRA~1")
12734      ;;
12735    esac
12736
12737    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12738    postinstall_cmds='base_file=`basename \$file`~
12739      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12740      dldir=$destdir/`dirname \$dlpath`~
12741      test -d \$dldir || mkdir -p \$dldir~
12742      $install_prog $dir/$dlname \$dldir/$dlname'
12743    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12744      dlpath=$dir/\$dldll~
12745       $RM \$dlpath'
12746    shlibpath_overrides_runpath=yes
12747    dynamic_linker='Win32 link.exe'
12748    ;;
12749
12750  *)
12751    # Assume MSVC wrapper
12752    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12753    dynamic_linker='Win32 ld.exe'
12754    ;;
12755  esac
12756  # FIXME: first we should search . and the directory the executable is in
12757  shlibpath_var=PATH
12758  ;;
12759
12760darwin* | rhapsody*)
12761  dynamic_linker="$host_os dyld"
12762  version_type=darwin
12763  need_lib_prefix=no
12764  need_version=no
12765  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12766  soname_spec='$libname$release$major$shared_ext'
12767  shlibpath_overrides_runpath=yes
12768  shlibpath_var=DYLD_LIBRARY_PATH
12769  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12770
12771  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12772  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12773  ;;
12774
12775dgux*)
12776  version_type=linux # correct to gnu/linux during the next big refactor
12777  need_lib_prefix=no
12778  need_version=no
12779  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12780  soname_spec='$libname$release$shared_ext$major'
12781  shlibpath_var=LD_LIBRARY_PATH
12782  ;;
12783
12784freebsd* | dragonfly*)
12785  # DragonFly does not have aout.  When/if they implement a new
12786  # versioning mechanism, adjust this.
12787  if test -x /usr/bin/objformat; then
12788    objformat=`/usr/bin/objformat`
12789  else
12790    case $host_os in
12791    freebsd[23].*) objformat=aout ;;
12792    *) objformat=elf ;;
12793    esac
12794  fi
12795  version_type=freebsd-$objformat
12796  case $version_type in
12797    freebsd-elf*)
12798      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12799      soname_spec='$libname$release$shared_ext$major'
12800      need_version=no
12801      need_lib_prefix=no
12802      ;;
12803    freebsd-*)
12804      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12805      need_version=yes
12806      ;;
12807  esac
12808  shlibpath_var=LD_LIBRARY_PATH
12809  case $host_os in
12810  freebsd2.*)
12811    shlibpath_overrides_runpath=yes
12812    ;;
12813  freebsd3.[01]* | freebsdelf3.[01]*)
12814    shlibpath_overrides_runpath=yes
12815    hardcode_into_libs=yes
12816    ;;
12817  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12818  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12819    shlibpath_overrides_runpath=no
12820    hardcode_into_libs=yes
12821    ;;
12822  *) # from 4.6 on, and DragonFly
12823    shlibpath_overrides_runpath=yes
12824    hardcode_into_libs=yes
12825    ;;
12826  esac
12827  ;;
12828
12829haiku*)
12830  version_type=linux # correct to gnu/linux during the next big refactor
12831  need_lib_prefix=no
12832  need_version=no
12833  dynamic_linker="$host_os runtime_loader"
12834  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12835  soname_spec='$libname$release$shared_ext$major'
12836  shlibpath_var=LIBRARY_PATH
12837  shlibpath_overrides_runpath=no
12838  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12839  hardcode_into_libs=yes
12840  ;;
12841
12842hpux9* | hpux10* | hpux11*)
12843  # Give a soname corresponding to the major version so that dld.sl refuses to
12844  # link against other versions.
12845  version_type=sunos
12846  need_lib_prefix=no
12847  need_version=no
12848  case $host_cpu in
12849  ia64*)
12850    shrext_cmds='.so'
12851    hardcode_into_libs=yes
12852    dynamic_linker="$host_os dld.so"
12853    shlibpath_var=LD_LIBRARY_PATH
12854    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12855    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12856    soname_spec='$libname$release$shared_ext$major'
12857    if test 32 = "$HPUX_IA64_MODE"; then
12858      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12859      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12860    else
12861      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12862      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12863    fi
12864    ;;
12865  hppa*64*)
12866    shrext_cmds='.sl'
12867    hardcode_into_libs=yes
12868    dynamic_linker="$host_os dld.sl"
12869    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12870    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12871    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12872    soname_spec='$libname$release$shared_ext$major'
12873    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12874    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12875    ;;
12876  *)
12877    shrext_cmds='.sl'
12878    dynamic_linker="$host_os dld.sl"
12879    shlibpath_var=SHLIB_PATH
12880    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12881    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12882    soname_spec='$libname$release$shared_ext$major'
12883    ;;
12884  esac
12885  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12886  postinstall_cmds='chmod 555 $lib'
12887  # or fails outright, so override atomically:
12888  install_override_mode=555
12889  ;;
12890
12891interix[3-9]*)
12892  version_type=linux # correct to gnu/linux during the next big refactor
12893  need_lib_prefix=no
12894  need_version=no
12895  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12896  soname_spec='$libname$release$shared_ext$major'
12897  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12898  shlibpath_var=LD_LIBRARY_PATH
12899  shlibpath_overrides_runpath=no
12900  hardcode_into_libs=yes
12901  ;;
12902
12903irix5* | irix6* | nonstopux*)
12904  case $host_os in
12905    nonstopux*) version_type=nonstopux ;;
12906    *)
12907	if test yes = "$lt_cv_prog_gnu_ld"; then
12908		version_type=linux # correct to gnu/linux during the next big refactor
12909	else
12910		version_type=irix
12911	fi ;;
12912  esac
12913  need_lib_prefix=no
12914  need_version=no
12915  soname_spec='$libname$release$shared_ext$major'
12916  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12917  case $host_os in
12918  irix5* | nonstopux*)
12919    libsuff= shlibsuff=
12920    ;;
12921  *)
12922    case $LD in # libtool.m4 will add one of these switches to LD
12923    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12924      libsuff= shlibsuff= libmagic=32-bit;;
12925    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12926      libsuff=32 shlibsuff=N32 libmagic=N32;;
12927    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12928      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12929    *) libsuff= shlibsuff= libmagic=never-match;;
12930    esac
12931    ;;
12932  esac
12933  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12934  shlibpath_overrides_runpath=no
12935  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12936  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12937  hardcode_into_libs=yes
12938  ;;
12939
12940# No shared lib support for Linux oldld, aout, or coff.
12941linux*oldld* | linux*aout* | linux*coff*)
12942  dynamic_linker=no
12943  ;;
12944
12945linux*android*)
12946  version_type=none # Android doesn't support versioned libraries.
12947  need_lib_prefix=no
12948  need_version=no
12949  library_names_spec='$libname$release$shared_ext'
12950  soname_spec='$libname$release$shared_ext'
12951  finish_cmds=
12952  shlibpath_var=LD_LIBRARY_PATH
12953  shlibpath_overrides_runpath=yes
12954
12955  # This implies no fast_install, which is unacceptable.
12956  # Some rework will be needed to allow for fast_install
12957  # before this can be enabled.
12958  hardcode_into_libs=yes
12959
12960  dynamic_linker='Android linker'
12961  # Don't embed -rpath directories since the linker doesn't support them.
12962  hardcode_libdir_flag_spec='-L$libdir'
12963  ;;
12964
12965# This must be glibc/ELF.
12966linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12967  version_type=linux # correct to gnu/linux during the next big refactor
12968  need_lib_prefix=no
12969  need_version=no
12970  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12971  soname_spec='$libname$release$shared_ext$major'
12972  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12973  shlibpath_var=LD_LIBRARY_PATH
12974  shlibpath_overrides_runpath=no
12975
12976  # Some binutils ld are patched to set DT_RUNPATH
12977  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12978  $as_echo_n "(cached) " >&6
12979else
12980  lt_cv_shlibpath_overrides_runpath=no
12981    save_LDFLAGS=$LDFLAGS
12982    save_libdir=$libdir
12983    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12984	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12985    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986/* end confdefs.h.  */
12987
12988int
12989main ()
12990{
12991
12992  ;
12993  return 0;
12994}
12995_ACEOF
12996if ac_fn_c_try_link "$LINENO"; then :
12997  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12998  lt_cv_shlibpath_overrides_runpath=yes
12999fi
13000fi
13001rm -f core conftest.err conftest.$ac_objext \
13002    conftest$ac_exeext conftest.$ac_ext
13003    LDFLAGS=$save_LDFLAGS
13004    libdir=$save_libdir
13005
13006fi
13007
13008  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13009
13010  # This implies no fast_install, which is unacceptable.
13011  # Some rework will be needed to allow for fast_install
13012  # before this can be enabled.
13013  hardcode_into_libs=yes
13014
13015  # Ideally, we could use ldconfig to report *all* directores which are
13016  # searched for libraries, however this is still not possible.  Aside from not
13017  # being certain /sbin/ldconfig is available, command
13018  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13019  # even though it is searched at run-time.  Try to do the best guess by
13020  # appending ld.so.conf contents (and includes) to the search path.
13021  if test -f /etc/ld.so.conf; then
13022    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' ' '`
13023    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13024  fi
13025
13026  # We used to test for /lib/ld.so.1 and disable shared libraries on
13027  # powerpc, because MkLinux only supported shared libraries with the
13028  # GNU dynamic linker.  Since this was broken with cross compilers,
13029  # most powerpc-linux boxes support dynamic linking these days and
13030  # people can always --disable-shared, the test was removed, and we
13031  # assume the GNU/Linux dynamic linker is in use.
13032  dynamic_linker='GNU/Linux ld.so'
13033  ;;
13034
13035netbsdelf*-gnu)
13036  version_type=linux
13037  need_lib_prefix=no
13038  need_version=no
13039  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13040  soname_spec='${libname}${release}${shared_ext}$major'
13041  shlibpath_var=LD_LIBRARY_PATH
13042  shlibpath_overrides_runpath=no
13043  hardcode_into_libs=yes
13044  dynamic_linker='NetBSD ld.elf_so'
13045  ;;
13046
13047netbsd*)
13048  version_type=sunos
13049  need_lib_prefix=no
13050  need_version=no
13051  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13052    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13053    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13054    dynamic_linker='NetBSD (a.out) ld.so'
13055  else
13056    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13057    soname_spec='$libname$release$shared_ext$major'
13058    dynamic_linker='NetBSD ld.elf_so'
13059  fi
13060  shlibpath_var=LD_LIBRARY_PATH
13061  shlibpath_overrides_runpath=yes
13062  hardcode_into_libs=yes
13063  ;;
13064
13065newsos6)
13066  version_type=linux # correct to gnu/linux during the next big refactor
13067  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13068  shlibpath_var=LD_LIBRARY_PATH
13069  shlibpath_overrides_runpath=yes
13070  ;;
13071
13072*nto* | *qnx*)
13073  version_type=qnx
13074  need_lib_prefix=no
13075  need_version=no
13076  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13077  soname_spec='$libname$release$shared_ext$major'
13078  shlibpath_var=LD_LIBRARY_PATH
13079  shlibpath_overrides_runpath=no
13080  hardcode_into_libs=yes
13081  dynamic_linker='ldqnx.so'
13082  ;;
13083
13084openbsd* | bitrig*)
13085  version_type=sunos
13086  sys_lib_dlsearch_path_spec=/usr/lib
13087  need_lib_prefix=no
13088  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13089    need_version=no
13090  else
13091    need_version=yes
13092  fi
13093  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13094  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13095  shlibpath_var=LD_LIBRARY_PATH
13096  shlibpath_overrides_runpath=yes
13097  ;;
13098
13099os2*)
13100  libname_spec='$name'
13101  version_type=windows
13102  shrext_cmds=.dll
13103  need_version=no
13104  need_lib_prefix=no
13105  # OS/2 can only load a DLL with a base name of 8 characters or less.
13106  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13107    v=$($ECHO $release$versuffix | tr -d .-);
13108    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13109    $ECHO $n$v`$shared_ext'
13110  library_names_spec='${libname}_dll.$libext'
13111  dynamic_linker='OS/2 ld.exe'
13112  shlibpath_var=BEGINLIBPATH
13113  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13114  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13115  postinstall_cmds='base_file=`basename \$file`~
13116    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13117    dldir=$destdir/`dirname \$dlpath`~
13118    test -d \$dldir || mkdir -p \$dldir~
13119    $install_prog $dir/$dlname \$dldir/$dlname~
13120    chmod a+x \$dldir/$dlname~
13121    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13122      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13123    fi'
13124  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13125    dlpath=$dir/\$dldll~
13126    $RM \$dlpath'
13127  ;;
13128
13129osf3* | osf4* | osf5*)
13130  version_type=osf
13131  need_lib_prefix=no
13132  need_version=no
13133  soname_spec='$libname$release$shared_ext$major'
13134  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13135  shlibpath_var=LD_LIBRARY_PATH
13136  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13137  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13138  ;;
13139
13140rdos*)
13141  dynamic_linker=no
13142  ;;
13143
13144solaris*)
13145  version_type=linux # correct to gnu/linux during the next big refactor
13146  need_lib_prefix=no
13147  need_version=no
13148  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13149  soname_spec='$libname$release$shared_ext$major'
13150  shlibpath_var=LD_LIBRARY_PATH
13151  shlibpath_overrides_runpath=yes
13152  hardcode_into_libs=yes
13153  # ldd complains unless libraries are executable
13154  postinstall_cmds='chmod +x $lib'
13155  ;;
13156
13157sunos4*)
13158  version_type=sunos
13159  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13160  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13161  shlibpath_var=LD_LIBRARY_PATH
13162  shlibpath_overrides_runpath=yes
13163  if test yes = "$with_gnu_ld"; then
13164    need_lib_prefix=no
13165  fi
13166  need_version=yes
13167  ;;
13168
13169sysv4 | sysv4.3*)
13170  version_type=linux # correct to gnu/linux during the next big refactor
13171  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13172  soname_spec='$libname$release$shared_ext$major'
13173  shlibpath_var=LD_LIBRARY_PATH
13174  case $host_vendor in
13175    sni)
13176      shlibpath_overrides_runpath=no
13177      need_lib_prefix=no
13178      runpath_var=LD_RUN_PATH
13179      ;;
13180    siemens)
13181      need_lib_prefix=no
13182      ;;
13183    motorola)
13184      need_lib_prefix=no
13185      need_version=no
13186      shlibpath_overrides_runpath=no
13187      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13188      ;;
13189  esac
13190  ;;
13191
13192sysv4*MP*)
13193  if test -d /usr/nec; then
13194    version_type=linux # correct to gnu/linux during the next big refactor
13195    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13196    soname_spec='$libname$shared_ext.$major'
13197    shlibpath_var=LD_LIBRARY_PATH
13198  fi
13199  ;;
13200
13201sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13202  version_type=sco
13203  need_lib_prefix=no
13204  need_version=no
13205  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13206  soname_spec='$libname$release$shared_ext$major'
13207  shlibpath_var=LD_LIBRARY_PATH
13208  shlibpath_overrides_runpath=yes
13209  hardcode_into_libs=yes
13210  if test yes = "$with_gnu_ld"; then
13211    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13212  else
13213    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13214    case $host_os in
13215      sco3.2v5*)
13216        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13217	;;
13218    esac
13219  fi
13220  sys_lib_dlsearch_path_spec='/usr/lib'
13221  ;;
13222
13223tpf*)
13224  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13225  version_type=linux # correct to gnu/linux during the next big refactor
13226  need_lib_prefix=no
13227  need_version=no
13228  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13229  shlibpath_var=LD_LIBRARY_PATH
13230  shlibpath_overrides_runpath=no
13231  hardcode_into_libs=yes
13232  ;;
13233
13234uts4*)
13235  version_type=linux # correct to gnu/linux during the next big refactor
13236  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13237  soname_spec='$libname$release$shared_ext$major'
13238  shlibpath_var=LD_LIBRARY_PATH
13239  ;;
13240
13241*)
13242  dynamic_linker=no
13243  ;;
13244esac
13245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13246$as_echo "$dynamic_linker" >&6; }
13247test no = "$dynamic_linker" && can_build_shared=no
13248
13249variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13250if test yes = "$GCC"; then
13251  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13252fi
13253
13254if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13255  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
13256fi
13257
13258if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13259  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
13260fi
13261
13262# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13263configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
13264
13265# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13266func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
13267
13268# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13269configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13368$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13369hardcode_action=
13370if test -n "$hardcode_libdir_flag_spec" ||
13371   test -n "$runpath_var" ||
13372   test yes = "$hardcode_automatic"; then
13373
13374  # We can hardcode non-existent directories.
13375  if test no != "$hardcode_direct" &&
13376     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13377     # have to relink, otherwise we might link with an installed library
13378     # when we should be linking with a yet-to-be-installed one
13379     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13380     test no != "$hardcode_minus_L"; then
13381    # Linking always hardcodes the temporary library directory.
13382    hardcode_action=relink
13383  else
13384    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13385    hardcode_action=immediate
13386  fi
13387else
13388  # We cannot hardcode anything, or else we can only hardcode existing
13389  # directories.
13390  hardcode_action=unsupported
13391fi
13392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13393$as_echo "$hardcode_action" >&6; }
13394
13395if test relink = "$hardcode_action" ||
13396   test yes = "$inherit_rpath"; then
13397  # Fast installation is not supported
13398  enable_fast_install=no
13399elif test yes = "$shlibpath_overrides_runpath" ||
13400     test no = "$enable_shared"; then
13401  # Fast installation is not necessary
13402  enable_fast_install=needless
13403fi
13404
13405
13406
13407
13408
13409
13410  if test yes != "$enable_dlopen"; then
13411  enable_dlopen=unknown
13412  enable_dlopen_self=unknown
13413  enable_dlopen_self_static=unknown
13414else
13415  lt_cv_dlopen=no
13416  lt_cv_dlopen_libs=
13417
13418  case $host_os in
13419  beos*)
13420    lt_cv_dlopen=load_add_on
13421    lt_cv_dlopen_libs=
13422    lt_cv_dlopen_self=yes
13423    ;;
13424
13425  mingw* | pw32* | cegcc*)
13426    lt_cv_dlopen=LoadLibrary
13427    lt_cv_dlopen_libs=
13428    ;;
13429
13430  cygwin*)
13431    lt_cv_dlopen=dlopen
13432    lt_cv_dlopen_libs=
13433    ;;
13434
13435  darwin*)
13436    # if libdl is installed we need to link against it
13437    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13438$as_echo_n "checking for dlopen in -ldl... " >&6; }
13439if ${ac_cv_lib_dl_dlopen+:} false; then :
13440  $as_echo_n "(cached) " >&6
13441else
13442  ac_check_lib_save_LIBS=$LIBS
13443LIBS="-ldl  $LIBS"
13444cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13445/* end confdefs.h.  */
13446
13447/* Override any GCC internal prototype to avoid an error.
13448   Use char because int might match the return type of a GCC
13449   builtin and then its argument prototype would still apply.  */
13450#ifdef __cplusplus
13451extern "C"
13452#endif
13453char dlopen ();
13454int
13455main ()
13456{
13457return dlopen ();
13458  ;
13459  return 0;
13460}
13461_ACEOF
13462if ac_fn_c_try_link "$LINENO"; then :
13463  ac_cv_lib_dl_dlopen=yes
13464else
13465  ac_cv_lib_dl_dlopen=no
13466fi
13467rm -f core conftest.err conftest.$ac_objext \
13468    conftest$ac_exeext conftest.$ac_ext
13469LIBS=$ac_check_lib_save_LIBS
13470fi
13471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13472$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13473if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13474  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13475else
13476
13477    lt_cv_dlopen=dyld
13478    lt_cv_dlopen_libs=
13479    lt_cv_dlopen_self=yes
13480
13481fi
13482
13483    ;;
13484
13485  tpf*)
13486    # Don't try to run any link tests for TPF.  We know it's impossible
13487    # because TPF is a cross-compiler, and we know how we open DSOs.
13488    lt_cv_dlopen=dlopen
13489    lt_cv_dlopen_libs=
13490    lt_cv_dlopen_self=no
13491    ;;
13492
13493  *)
13494    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13495if test "x$ac_cv_func_shl_load" = xyes; then :
13496  lt_cv_dlopen=shl_load
13497else
13498  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13499$as_echo_n "checking for shl_load in -ldld... " >&6; }
13500if ${ac_cv_lib_dld_shl_load+:} false; then :
13501  $as_echo_n "(cached) " >&6
13502else
13503  ac_check_lib_save_LIBS=$LIBS
13504LIBS="-ldld  $LIBS"
13505cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13506/* end confdefs.h.  */
13507
13508/* Override any GCC internal prototype to avoid an error.
13509   Use char because int might match the return type of a GCC
13510   builtin and then its argument prototype would still apply.  */
13511#ifdef __cplusplus
13512extern "C"
13513#endif
13514char shl_load ();
13515int
13516main ()
13517{
13518return shl_load ();
13519  ;
13520  return 0;
13521}
13522_ACEOF
13523if ac_fn_c_try_link "$LINENO"; then :
13524  ac_cv_lib_dld_shl_load=yes
13525else
13526  ac_cv_lib_dld_shl_load=no
13527fi
13528rm -f core conftest.err conftest.$ac_objext \
13529    conftest$ac_exeext conftest.$ac_ext
13530LIBS=$ac_check_lib_save_LIBS
13531fi
13532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13533$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13534if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13535  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13536else
13537  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13538if test "x$ac_cv_func_dlopen" = xyes; then :
13539  lt_cv_dlopen=dlopen
13540else
13541  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13542$as_echo_n "checking for dlopen in -ldl... " >&6; }
13543if ${ac_cv_lib_dl_dlopen+:} false; then :
13544  $as_echo_n "(cached) " >&6
13545else
13546  ac_check_lib_save_LIBS=$LIBS
13547LIBS="-ldl  $LIBS"
13548cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13549/* end confdefs.h.  */
13550
13551/* Override any GCC internal prototype to avoid an error.
13552   Use char because int might match the return type of a GCC
13553   builtin and then its argument prototype would still apply.  */
13554#ifdef __cplusplus
13555extern "C"
13556#endif
13557char dlopen ();
13558int
13559main ()
13560{
13561return dlopen ();
13562  ;
13563  return 0;
13564}
13565_ACEOF
13566if ac_fn_c_try_link "$LINENO"; then :
13567  ac_cv_lib_dl_dlopen=yes
13568else
13569  ac_cv_lib_dl_dlopen=no
13570fi
13571rm -f core conftest.err conftest.$ac_objext \
13572    conftest$ac_exeext conftest.$ac_ext
13573LIBS=$ac_check_lib_save_LIBS
13574fi
13575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13576$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13577if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13578  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13579else
13580  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13581$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13582if ${ac_cv_lib_svld_dlopen+:} false; then :
13583  $as_echo_n "(cached) " >&6
13584else
13585  ac_check_lib_save_LIBS=$LIBS
13586LIBS="-lsvld  $LIBS"
13587cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13588/* end confdefs.h.  */
13589
13590/* Override any GCC internal prototype to avoid an error.
13591   Use char because int might match the return type of a GCC
13592   builtin and then its argument prototype would still apply.  */
13593#ifdef __cplusplus
13594extern "C"
13595#endif
13596char dlopen ();
13597int
13598main ()
13599{
13600return dlopen ();
13601  ;
13602  return 0;
13603}
13604_ACEOF
13605if ac_fn_c_try_link "$LINENO"; then :
13606  ac_cv_lib_svld_dlopen=yes
13607else
13608  ac_cv_lib_svld_dlopen=no
13609fi
13610rm -f core conftest.err conftest.$ac_objext \
13611    conftest$ac_exeext conftest.$ac_ext
13612LIBS=$ac_check_lib_save_LIBS
13613fi
13614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13615$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13616if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13617  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13618else
13619  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13620$as_echo_n "checking for dld_link in -ldld... " >&6; }
13621if ${ac_cv_lib_dld_dld_link+:} false; then :
13622  $as_echo_n "(cached) " >&6
13623else
13624  ac_check_lib_save_LIBS=$LIBS
13625LIBS="-ldld  $LIBS"
13626cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13627/* end confdefs.h.  */
13628
13629/* Override any GCC internal prototype to avoid an error.
13630   Use char because int might match the return type of a GCC
13631   builtin and then its argument prototype would still apply.  */
13632#ifdef __cplusplus
13633extern "C"
13634#endif
13635char dld_link ();
13636int
13637main ()
13638{
13639return dld_link ();
13640  ;
13641  return 0;
13642}
13643_ACEOF
13644if ac_fn_c_try_link "$LINENO"; then :
13645  ac_cv_lib_dld_dld_link=yes
13646else
13647  ac_cv_lib_dld_dld_link=no
13648fi
13649rm -f core conftest.err conftest.$ac_objext \
13650    conftest$ac_exeext conftest.$ac_ext
13651LIBS=$ac_check_lib_save_LIBS
13652fi
13653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13654$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13655if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13656  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13657fi
13658
13659
13660fi
13661
13662
13663fi
13664
13665
13666fi
13667
13668
13669fi
13670
13671
13672fi
13673
13674    ;;
13675  esac
13676
13677  if test no = "$lt_cv_dlopen"; then
13678    enable_dlopen=no
13679  else
13680    enable_dlopen=yes
13681  fi
13682
13683  case $lt_cv_dlopen in
13684  dlopen)
13685    save_CPPFLAGS=$CPPFLAGS
13686    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13687
13688    save_LDFLAGS=$LDFLAGS
13689    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13690
13691    save_LIBS=$LIBS
13692    LIBS="$lt_cv_dlopen_libs $LIBS"
13693
13694    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13695$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13696if ${lt_cv_dlopen_self+:} false; then :
13697  $as_echo_n "(cached) " >&6
13698else
13699  	  if test yes = "$cross_compiling"; then :
13700  lt_cv_dlopen_self=cross
13701else
13702  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13703  lt_status=$lt_dlunknown
13704  cat > conftest.$ac_ext <<_LT_EOF
13705#line $LINENO "configure"
13706#include "confdefs.h"
13707
13708#if HAVE_DLFCN_H
13709#include <dlfcn.h>
13710#endif
13711
13712#include <stdio.h>
13713
13714#ifdef RTLD_GLOBAL
13715#  define LT_DLGLOBAL		RTLD_GLOBAL
13716#else
13717#  ifdef DL_GLOBAL
13718#    define LT_DLGLOBAL		DL_GLOBAL
13719#  else
13720#    define LT_DLGLOBAL		0
13721#  endif
13722#endif
13723
13724/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13725   find out it does not work in some platform. */
13726#ifndef LT_DLLAZY_OR_NOW
13727#  ifdef RTLD_LAZY
13728#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13729#  else
13730#    ifdef DL_LAZY
13731#      define LT_DLLAZY_OR_NOW		DL_LAZY
13732#    else
13733#      ifdef RTLD_NOW
13734#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13735#      else
13736#        ifdef DL_NOW
13737#          define LT_DLLAZY_OR_NOW	DL_NOW
13738#        else
13739#          define LT_DLLAZY_OR_NOW	0
13740#        endif
13741#      endif
13742#    endif
13743#  endif
13744#endif
13745
13746/* When -fvisibility=hidden is used, assume the code has been annotated
13747   correspondingly for the symbols needed.  */
13748#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13749int fnord () __attribute__((visibility("default")));
13750#endif
13751
13752int fnord () { return 42; }
13753int main ()
13754{
13755  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13756  int status = $lt_dlunknown;
13757
13758  if (self)
13759    {
13760      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13761      else
13762        {
13763	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13764          else puts (dlerror ());
13765	}
13766      /* dlclose (self); */
13767    }
13768  else
13769    puts (dlerror ());
13770
13771  return status;
13772}
13773_LT_EOF
13774  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13775  (eval $ac_link) 2>&5
13776  ac_status=$?
13777  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13778  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13779    (./conftest; exit; ) >&5 2>/dev/null
13780    lt_status=$?
13781    case x$lt_status in
13782      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13783      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13784      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13785    esac
13786  else :
13787    # compilation failed
13788    lt_cv_dlopen_self=no
13789  fi
13790fi
13791rm -fr conftest*
13792
13793
13794fi
13795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13796$as_echo "$lt_cv_dlopen_self" >&6; }
13797
13798    if test yes = "$lt_cv_dlopen_self"; then
13799      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13800      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13801$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13802if ${lt_cv_dlopen_self_static+:} false; then :
13803  $as_echo_n "(cached) " >&6
13804else
13805  	  if test yes = "$cross_compiling"; then :
13806  lt_cv_dlopen_self_static=cross
13807else
13808  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13809  lt_status=$lt_dlunknown
13810  cat > conftest.$ac_ext <<_LT_EOF
13811#line $LINENO "configure"
13812#include "confdefs.h"
13813
13814#if HAVE_DLFCN_H
13815#include <dlfcn.h>
13816#endif
13817
13818#include <stdio.h>
13819
13820#ifdef RTLD_GLOBAL
13821#  define LT_DLGLOBAL		RTLD_GLOBAL
13822#else
13823#  ifdef DL_GLOBAL
13824#    define LT_DLGLOBAL		DL_GLOBAL
13825#  else
13826#    define LT_DLGLOBAL		0
13827#  endif
13828#endif
13829
13830/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13831   find out it does not work in some platform. */
13832#ifndef LT_DLLAZY_OR_NOW
13833#  ifdef RTLD_LAZY
13834#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13835#  else
13836#    ifdef DL_LAZY
13837#      define LT_DLLAZY_OR_NOW		DL_LAZY
13838#    else
13839#      ifdef RTLD_NOW
13840#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13841#      else
13842#        ifdef DL_NOW
13843#          define LT_DLLAZY_OR_NOW	DL_NOW
13844#        else
13845#          define LT_DLLAZY_OR_NOW	0
13846#        endif
13847#      endif
13848#    endif
13849#  endif
13850#endif
13851
13852/* When -fvisibility=hidden is used, assume the code has been annotated
13853   correspondingly for the symbols needed.  */
13854#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13855int fnord () __attribute__((visibility("default")));
13856#endif
13857
13858int fnord () { return 42; }
13859int main ()
13860{
13861  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13862  int status = $lt_dlunknown;
13863
13864  if (self)
13865    {
13866      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13867      else
13868        {
13869	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13870          else puts (dlerror ());
13871	}
13872      /* dlclose (self); */
13873    }
13874  else
13875    puts (dlerror ());
13876
13877  return status;
13878}
13879_LT_EOF
13880  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13881  (eval $ac_link) 2>&5
13882  ac_status=$?
13883  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13884  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13885    (./conftest; exit; ) >&5 2>/dev/null
13886    lt_status=$?
13887    case x$lt_status in
13888      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13889      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13890      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13891    esac
13892  else :
13893    # compilation failed
13894    lt_cv_dlopen_self_static=no
13895  fi
13896fi
13897rm -fr conftest*
13898
13899
13900fi
13901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13902$as_echo "$lt_cv_dlopen_self_static" >&6; }
13903    fi
13904
13905    CPPFLAGS=$save_CPPFLAGS
13906    LDFLAGS=$save_LDFLAGS
13907    LIBS=$save_LIBS
13908    ;;
13909  esac
13910
13911  case $lt_cv_dlopen_self in
13912  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13913  *) enable_dlopen_self=unknown ;;
13914  esac
13915
13916  case $lt_cv_dlopen_self_static in
13917  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13918  *) enable_dlopen_self_static=unknown ;;
13919  esac
13920fi
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938striplib=
13939old_striplib=
13940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13941$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13942if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13943  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13944  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13946$as_echo "yes" >&6; }
13947else
13948# FIXME - insert some real tests, host_os isn't really good enough
13949  case $host_os in
13950  darwin*)
13951    if test -n "$STRIP"; then
13952      striplib="$STRIP -x"
13953      old_striplib="$STRIP -S"
13954      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13955$as_echo "yes" >&6; }
13956    else
13957      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13958$as_echo "no" >&6; }
13959    fi
13960    ;;
13961  *)
13962    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13963$as_echo "no" >&6; }
13964    ;;
13965  esac
13966fi
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979  # Report what library types will actually be built
13980  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13981$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13983$as_echo "$can_build_shared" >&6; }
13984
13985  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13986$as_echo_n "checking whether to build shared libraries... " >&6; }
13987  test no = "$can_build_shared" && enable_shared=no
13988
13989  # On AIX, shared libraries and static libraries use the same namespace, and
13990  # are all built from PIC.
13991  case $host_os in
13992  aix3*)
13993    test yes = "$enable_shared" && enable_static=no
13994    if test -n "$RANLIB"; then
13995      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13996      postinstall_cmds='$RANLIB $lib'
13997    fi
13998    ;;
13999
14000  aix[4-9]*)
14001    if test ia64 != "$host_cpu"; then
14002      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14003      yes,aix,yes) ;;			# shared object as lib.so file only
14004      yes,svr4,*) ;;			# shared object as lib.so archive member only
14005      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
14006      esac
14007    fi
14008    ;;
14009  esac
14010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14011$as_echo "$enable_shared" >&6; }
14012
14013  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14014$as_echo_n "checking whether to build static libraries... " >&6; }
14015  # Make sure either enable_shared or enable_static is yes.
14016  test yes = "$enable_shared" || enable_static=yes
14017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14018$as_echo "$enable_static" >&6; }
14019
14020
14021
14022
14023fi
14024ac_ext=c
14025ac_cpp='$CPP $CPPFLAGS'
14026ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14027ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14028ac_compiler_gnu=$ac_cv_c_compiler_gnu
14029
14030CC=$lt_save_CC
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046        ac_config_commands="$ac_config_commands libtool"
14047
14048
14049
14050
14051# Only expand once:
14052
14053
14054
14055
14056GST_REQ=1.16.2
14057GSTPB_REQ=1.16.2
14058
14059
14060
14061
14062# Check whether --with-autoconf was given.
14063if test "${with_autoconf+set}" = set; then :
14064  withval=$with_autoconf;
14065      unset AUTOCONF
14066
14067AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
14068
14069      { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
14070$as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
14071
14072fi
14073
14074
14075
14076# Check whether --with-autoheader was given.
14077if test "${with_autoheader+set}" = set; then :
14078  withval=$with_autoheader;
14079      unset AUTOHEADER
14080
14081AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
14082
14083      { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
14084$as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
14085
14086fi
14087
14088
14089
14090# Check whether --with-automake was given.
14091if test "${with_automake+set}" = set; then :
14092  withval=$with_automake;
14093      unset AUTOMAKE
14094
14095AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
14096
14097      { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
14098$as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
14099
14100fi
14101
14102
14103
14104# Check whether --with-aclocal was given.
14105if test "${with_aclocal+set}" = set; then :
14106  withval=$with_aclocal;
14107      unset ACLOCAL
14108
14109ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
14110
14111      { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
14112$as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
14113
14114fi
14115
14116
14117
14118ACLOCAL_AMFLAGS="-I m4 -I common/m4"
14119
14120
14121
14122
14123mkdir_p="$MKDIR_P"
14124case $mkdir_p in
14125  [\\/$]* | ?:[\\/]*) ;;
14126  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
14127esac
14128
14129
14130  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14131$as_echo_n "checking whether NLS is requested... " >&6; }
14132    # Check whether --enable-nls was given.
14133if test "${enable_nls+set}" = set; then :
14134  enableval=$enable_nls; USE_NLS=$enableval
14135else
14136  USE_NLS=yes
14137fi
14138
14139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14140$as_echo "$USE_NLS" >&6; }
14141
14142
14143
14144
14145      GETTEXT_MACRO_VERSION=0.17
14146
14147
14148
14149
14150# Prepare PATH_SEPARATOR.
14151# The user is always right.
14152if test "${PATH_SEPARATOR+set}" != set; then
14153  echo "#! /bin/sh" >conf$$.sh
14154  echo  "exit 0"   >>conf$$.sh
14155  chmod +x conf$$.sh
14156  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14157    PATH_SEPARATOR=';'
14158  else
14159    PATH_SEPARATOR=:
14160  fi
14161  rm -f conf$$.sh
14162fi
14163
14164# Find out how to test for executable files. Don't use a zero-byte file,
14165# as systems may use methods other than mode bits to determine executability.
14166cat >conf$$.file <<_ASEOF
14167#! /bin/sh
14168exit 0
14169_ASEOF
14170chmod +x conf$$.file
14171if test -x conf$$.file >/dev/null 2>&1; then
14172  ac_executable_p="test -x"
14173else
14174  ac_executable_p="test -f"
14175fi
14176rm -f conf$$.file
14177
14178# Extract the first word of "msgfmt", so it can be a program name with args.
14179set dummy msgfmt; ac_word=$2
14180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14181$as_echo_n "checking for $ac_word... " >&6; }
14182if ${ac_cv_path_MSGFMT+:} false; then :
14183  $as_echo_n "(cached) " >&6
14184else
14185  case "$MSGFMT" in
14186  [\\/]* | ?:[\\/]*)
14187    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14188    ;;
14189  *)
14190    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14191    for ac_dir in $PATH; do
14192      IFS="$ac_save_IFS"
14193      test -z "$ac_dir" && ac_dir=.
14194      for ac_exec_ext in '' $ac_executable_extensions; do
14195        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14196          echo "$as_me: trying $ac_dir/$ac_word..." >&5
14197          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
14198     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14199            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
14200            break 2
14201          fi
14202        fi
14203      done
14204    done
14205    IFS="$ac_save_IFS"
14206  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
14207    ;;
14208esac
14209fi
14210MSGFMT="$ac_cv_path_MSGFMT"
14211if test "$MSGFMT" != ":"; then
14212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14213$as_echo "$MSGFMT" >&6; }
14214else
14215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14216$as_echo "no" >&6; }
14217fi
14218
14219  # Extract the first word of "gmsgfmt", so it can be a program name with args.
14220set dummy gmsgfmt; ac_word=$2
14221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14222$as_echo_n "checking for $ac_word... " >&6; }
14223if ${ac_cv_path_GMSGFMT+:} false; then :
14224  $as_echo_n "(cached) " >&6
14225else
14226  case $GMSGFMT in
14227  [\\/]* | ?:[\\/]*)
14228  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14229  ;;
14230  *)
14231  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14232for as_dir in $PATH
14233do
14234  IFS=$as_save_IFS
14235  test -z "$as_dir" && as_dir=.
14236    for ac_exec_ext in '' $ac_executable_extensions; do
14237  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14238    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14239    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14240    break 2
14241  fi
14242done
14243  done
14244IFS=$as_save_IFS
14245
14246  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14247  ;;
14248esac
14249fi
14250GMSGFMT=$ac_cv_path_GMSGFMT
14251if test -n "$GMSGFMT"; then
14252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14253$as_echo "$GMSGFMT" >&6; }
14254else
14255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14256$as_echo "no" >&6; }
14257fi
14258
14259
14260
14261    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14262    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
14263    *) MSGFMT_015=$MSGFMT ;;
14264  esac
14265
14266  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14267    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
14268    *) GMSGFMT_015=$GMSGFMT ;;
14269  esac
14270
14271
14272
14273# Prepare PATH_SEPARATOR.
14274# The user is always right.
14275if test "${PATH_SEPARATOR+set}" != set; then
14276  echo "#! /bin/sh" >conf$$.sh
14277  echo  "exit 0"   >>conf$$.sh
14278  chmod +x conf$$.sh
14279  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14280    PATH_SEPARATOR=';'
14281  else
14282    PATH_SEPARATOR=:
14283  fi
14284  rm -f conf$$.sh
14285fi
14286
14287# Find out how to test for executable files. Don't use a zero-byte file,
14288# as systems may use methods other than mode bits to determine executability.
14289cat >conf$$.file <<_ASEOF
14290#! /bin/sh
14291exit 0
14292_ASEOF
14293chmod +x conf$$.file
14294if test -x conf$$.file >/dev/null 2>&1; then
14295  ac_executable_p="test -x"
14296else
14297  ac_executable_p="test -f"
14298fi
14299rm -f conf$$.file
14300
14301# Extract the first word of "xgettext", so it can be a program name with args.
14302set dummy xgettext; ac_word=$2
14303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14304$as_echo_n "checking for $ac_word... " >&6; }
14305if ${ac_cv_path_XGETTEXT+:} false; then :
14306  $as_echo_n "(cached) " >&6
14307else
14308  case "$XGETTEXT" in
14309  [\\/]* | ?:[\\/]*)
14310    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14311    ;;
14312  *)
14313    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14314    for ac_dir in $PATH; do
14315      IFS="$ac_save_IFS"
14316      test -z "$ac_dir" && ac_dir=.
14317      for ac_exec_ext in '' $ac_executable_extensions; do
14318        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14319          echo "$as_me: trying $ac_dir/$ac_word..." >&5
14320          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
14321     (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
14322            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
14323            break 2
14324          fi
14325        fi
14326      done
14327    done
14328    IFS="$ac_save_IFS"
14329  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14330    ;;
14331esac
14332fi
14333XGETTEXT="$ac_cv_path_XGETTEXT"
14334if test "$XGETTEXT" != ":"; then
14335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14336$as_echo "$XGETTEXT" >&6; }
14337else
14338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14339$as_echo "no" >&6; }
14340fi
14341
14342    rm -f messages.po
14343
14344    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14345    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
14346    *) XGETTEXT_015=$XGETTEXT ;;
14347  esac
14348
14349
14350
14351# Prepare PATH_SEPARATOR.
14352# The user is always right.
14353if test "${PATH_SEPARATOR+set}" != set; then
14354  echo "#! /bin/sh" >conf$$.sh
14355  echo  "exit 0"   >>conf$$.sh
14356  chmod +x conf$$.sh
14357  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14358    PATH_SEPARATOR=';'
14359  else
14360    PATH_SEPARATOR=:
14361  fi
14362  rm -f conf$$.sh
14363fi
14364
14365# Find out how to test for executable files. Don't use a zero-byte file,
14366# as systems may use methods other than mode bits to determine executability.
14367cat >conf$$.file <<_ASEOF
14368#! /bin/sh
14369exit 0
14370_ASEOF
14371chmod +x conf$$.file
14372if test -x conf$$.file >/dev/null 2>&1; then
14373  ac_executable_p="test -x"
14374else
14375  ac_executable_p="test -f"
14376fi
14377rm -f conf$$.file
14378
14379# Extract the first word of "msgmerge", so it can be a program name with args.
14380set dummy msgmerge; ac_word=$2
14381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14382$as_echo_n "checking for $ac_word... " >&6; }
14383if ${ac_cv_path_MSGMERGE+:} false; then :
14384  $as_echo_n "(cached) " >&6
14385else
14386  case "$MSGMERGE" in
14387  [\\/]* | ?:[\\/]*)
14388    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14389    ;;
14390  *)
14391    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14392    for ac_dir in $PATH; do
14393      IFS="$ac_save_IFS"
14394      test -z "$ac_dir" && ac_dir=.
14395      for ac_exec_ext in '' $ac_executable_extensions; do
14396        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14397          echo "$as_me: trying $ac_dir/$ac_word..." >&5
14398          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
14399            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
14400            break 2
14401          fi
14402        fi
14403      done
14404    done
14405    IFS="$ac_save_IFS"
14406  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
14407    ;;
14408esac
14409fi
14410MSGMERGE="$ac_cv_path_MSGMERGE"
14411if test "$MSGMERGE" != ":"; then
14412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14413$as_echo "$MSGMERGE" >&6; }
14414else
14415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14416$as_echo "no" >&6; }
14417fi
14418
14419
14420        test -n "$localedir" || localedir='${datadir}/locale'
14421
14422
14423    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
14424
14425
14426  ac_config_commands="$ac_config_commands po-directories"
14427
14428
14429
14430      if test "X$prefix" = "XNONE"; then
14431    acl_final_prefix="$ac_default_prefix"
14432  else
14433    acl_final_prefix="$prefix"
14434  fi
14435  if test "X$exec_prefix" = "XNONE"; then
14436    acl_final_exec_prefix='${prefix}'
14437  else
14438    acl_final_exec_prefix="$exec_prefix"
14439  fi
14440  acl_save_prefix="$prefix"
14441  prefix="$acl_final_prefix"
14442  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14443  prefix="$acl_save_prefix"
14444
14445
14446# Check whether --with-gnu-ld was given.
14447if test "${with_gnu_ld+set}" = set; then :
14448  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14449else
14450  with_gnu_ld=no
14451fi
14452
14453# Prepare PATH_SEPARATOR.
14454# The user is always right.
14455if test "${PATH_SEPARATOR+set}" != set; then
14456  echo "#! /bin/sh" >conf$$.sh
14457  echo  "exit 0"   >>conf$$.sh
14458  chmod +x conf$$.sh
14459  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14460    PATH_SEPARATOR=';'
14461  else
14462    PATH_SEPARATOR=:
14463  fi
14464  rm -f conf$$.sh
14465fi
14466ac_prog=ld
14467if test "$GCC" = yes; then
14468  # Check if gcc -print-prog-name=ld gives a path.
14469  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14470$as_echo_n "checking for ld used by GCC... " >&6; }
14471  case $host in
14472  *-*-mingw*)
14473    # gcc leaves a trailing carriage return which upsets mingw
14474    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14475  *)
14476    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14477  esac
14478  case $ac_prog in
14479    # Accept absolute paths.
14480    [\\/]* | [A-Za-z]:[\\/]*)
14481      re_direlt='/[^/][^/]*/\.\./'
14482      # Canonicalize the path of ld
14483      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14484      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14485	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14486      done
14487      test -z "$LD" && LD="$ac_prog"
14488      ;;
14489  "")
14490    # If it fails, then pretend we aren't using GCC.
14491    ac_prog=ld
14492    ;;
14493  *)
14494    # If it is relative, then search for the first ld in PATH.
14495    with_gnu_ld=unknown
14496    ;;
14497  esac
14498elif test "$with_gnu_ld" = yes; then
14499  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14500$as_echo_n "checking for GNU ld... " >&6; }
14501else
14502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14503$as_echo_n "checking for non-GNU ld... " >&6; }
14504fi
14505if ${acl_cv_path_LD+:} false; then :
14506  $as_echo_n "(cached) " >&6
14507else
14508  if test -z "$LD"; then
14509  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14510  for ac_dir in $PATH; do
14511    test -z "$ac_dir" && ac_dir=.
14512    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14513      acl_cv_path_LD="$ac_dir/$ac_prog"
14514      # Check to see if the program is GNU ld.  I'd rather use --version,
14515      # but apparently some GNU ld's only accept -v.
14516      # Break only if it was the GNU/non-GNU ld that we prefer.
14517      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14518      *GNU* | *'with BFD'*)
14519	test "$with_gnu_ld" != no && break ;;
14520      *)
14521	test "$with_gnu_ld" != yes && break ;;
14522      esac
14523    fi
14524  done
14525  IFS="$ac_save_ifs"
14526else
14527  acl_cv_path_LD="$LD" # Let the user override the test with a path.
14528fi
14529fi
14530
14531LD="$acl_cv_path_LD"
14532if test -n "$LD"; then
14533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14534$as_echo "$LD" >&6; }
14535else
14536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14537$as_echo "no" >&6; }
14538fi
14539test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14541$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14542if ${acl_cv_prog_gnu_ld+:} false; then :
14543  $as_echo_n "(cached) " >&6
14544else
14545  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14546case `$LD -v 2>&1 </dev/null` in
14547*GNU* | *'with BFD'*)
14548  acl_cv_prog_gnu_ld=yes ;;
14549*)
14550  acl_cv_prog_gnu_ld=no ;;
14551esac
14552fi
14553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14554$as_echo "$acl_cv_prog_gnu_ld" >&6; }
14555with_gnu_ld=$acl_cv_prog_gnu_ld
14556
14557
14558
14559
14560                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14561$as_echo_n "checking for shared library run path origin... " >&6; }
14562if ${acl_cv_rpath+:} false; then :
14563  $as_echo_n "(cached) " >&6
14564else
14565
14566    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14567    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14568    . ./conftest.sh
14569    rm -f ./conftest.sh
14570    acl_cv_rpath=done
14571
14572fi
14573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14574$as_echo "$acl_cv_rpath" >&6; }
14575  wl="$acl_cv_wl"
14576  acl_libext="$acl_cv_libext"
14577  acl_shlibext="$acl_cv_shlibext"
14578  acl_libname_spec="$acl_cv_libname_spec"
14579  acl_library_names_spec="$acl_cv_library_names_spec"
14580  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14581  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14582  acl_hardcode_direct="$acl_cv_hardcode_direct"
14583  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14584    # Check whether --enable-rpath was given.
14585if test "${enable_rpath+set}" = set; then :
14586  enableval=$enable_rpath; :
14587else
14588  enable_rpath=yes
14589fi
14590
14591
14592
14593                  acl_libdirstem=lib
14594  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14595  if test -n "$searchpath"; then
14596    acl_save_IFS="${IFS= 	}"; IFS=":"
14597    for searchdir in $searchpath; do
14598      if test -d "$searchdir"; then
14599        case "$searchdir" in
14600          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14601          *) searchdir=`cd "$searchdir" && pwd`
14602             case "$searchdir" in
14603               */lib64 ) acl_libdirstem=lib64 ;;
14604             esac ;;
14605        esac
14606      fi
14607    done
14608    IFS="$acl_save_IFS"
14609  fi
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619    use_additional=yes
14620
14621  acl_save_prefix="$prefix"
14622  prefix="$acl_final_prefix"
14623  acl_save_exec_prefix="$exec_prefix"
14624  exec_prefix="$acl_final_exec_prefix"
14625
14626    eval additional_includedir=\"$includedir\"
14627    eval additional_libdir=\"$libdir\"
14628
14629  exec_prefix="$acl_save_exec_prefix"
14630  prefix="$acl_save_prefix"
14631
14632
14633# Check whether --with-libiconv-prefix was given.
14634if test "${with_libiconv_prefix+set}" = set; then :
14635  withval=$with_libiconv_prefix;
14636    if test "X$withval" = "Xno"; then
14637      use_additional=no
14638    else
14639      if test "X$withval" = "X"; then
14640
14641  acl_save_prefix="$prefix"
14642  prefix="$acl_final_prefix"
14643  acl_save_exec_prefix="$exec_prefix"
14644  exec_prefix="$acl_final_exec_prefix"
14645
14646          eval additional_includedir=\"$includedir\"
14647          eval additional_libdir=\"$libdir\"
14648
14649  exec_prefix="$acl_save_exec_prefix"
14650  prefix="$acl_save_prefix"
14651
14652      else
14653        additional_includedir="$withval/include"
14654        additional_libdir="$withval/$acl_libdirstem"
14655      fi
14656    fi
14657
14658fi
14659
14660      LIBICONV=
14661  LTLIBICONV=
14662  INCICONV=
14663  LIBICONV_PREFIX=
14664  rpathdirs=
14665  ltrpathdirs=
14666  names_already_handled=
14667  names_next_round='iconv '
14668  while test -n "$names_next_round"; do
14669    names_this_round="$names_next_round"
14670    names_next_round=
14671    for name in $names_this_round; do
14672      already_handled=
14673      for n in $names_already_handled; do
14674        if test "$n" = "$name"; then
14675          already_handled=yes
14676          break
14677        fi
14678      done
14679      if test -z "$already_handled"; then
14680        names_already_handled="$names_already_handled $name"
14681                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14682        eval value=\"\$HAVE_LIB$uppername\"
14683        if test -n "$value"; then
14684          if test "$value" = yes; then
14685            eval value=\"\$LIB$uppername\"
14686            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14687            eval value=\"\$LTLIB$uppername\"
14688            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14689          else
14690                                    :
14691          fi
14692        else
14693                              found_dir=
14694          found_la=
14695          found_so=
14696          found_a=
14697          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
14698          if test -n "$acl_shlibext"; then
14699            shrext=".$acl_shlibext"             # typically: shrext=.so
14700          else
14701            shrext=
14702          fi
14703          if test $use_additional = yes; then
14704            dir="$additional_libdir"
14705                                    if test -n "$acl_shlibext"; then
14706              if test -f "$dir/$libname$shrext"; then
14707                found_dir="$dir"
14708                found_so="$dir/$libname$shrext"
14709              else
14710                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14711                  ver=`(cd "$dir" && \
14712                        for f in "$libname$shrext".*; do echo "$f"; done \
14713                        | sed -e "s,^$libname$shrext\\\\.,," \
14714                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14715                        | sed 1q ) 2>/dev/null`
14716                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14717                    found_dir="$dir"
14718                    found_so="$dir/$libname$shrext.$ver"
14719                  fi
14720                else
14721                  eval library_names=\"$acl_library_names_spec\"
14722                  for f in $library_names; do
14723                    if test -f "$dir/$f"; then
14724                      found_dir="$dir"
14725                      found_so="$dir/$f"
14726                      break
14727                    fi
14728                  done
14729                fi
14730              fi
14731            fi
14732                        if test "X$found_dir" = "X"; then
14733              if test -f "$dir/$libname.$acl_libext"; then
14734                found_dir="$dir"
14735                found_a="$dir/$libname.$acl_libext"
14736              fi
14737            fi
14738            if test "X$found_dir" != "X"; then
14739              if test -f "$dir/$libname.la"; then
14740                found_la="$dir/$libname.la"
14741              fi
14742            fi
14743          fi
14744          if test "X$found_dir" = "X"; then
14745            for x in $LDFLAGS $LTLIBICONV; do
14746
14747  acl_save_prefix="$prefix"
14748  prefix="$acl_final_prefix"
14749  acl_save_exec_prefix="$exec_prefix"
14750  exec_prefix="$acl_final_exec_prefix"
14751  eval x=\"$x\"
14752  exec_prefix="$acl_save_exec_prefix"
14753  prefix="$acl_save_prefix"
14754
14755              case "$x" in
14756                -L*)
14757                  dir=`echo "X$x" | sed -e 's/^X-L//'`
14758                                    if test -n "$acl_shlibext"; then
14759                    if test -f "$dir/$libname$shrext"; then
14760                      found_dir="$dir"
14761                      found_so="$dir/$libname$shrext"
14762                    else
14763                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14764                        ver=`(cd "$dir" && \
14765                              for f in "$libname$shrext".*; do echo "$f"; done \
14766                              | sed -e "s,^$libname$shrext\\\\.,," \
14767                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14768                              | sed 1q ) 2>/dev/null`
14769                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14770                          found_dir="$dir"
14771                          found_so="$dir/$libname$shrext.$ver"
14772                        fi
14773                      else
14774                        eval library_names=\"$acl_library_names_spec\"
14775                        for f in $library_names; do
14776                          if test -f "$dir/$f"; then
14777                            found_dir="$dir"
14778                            found_so="$dir/$f"
14779                            break
14780                          fi
14781                        done
14782                      fi
14783                    fi
14784                  fi
14785                                    if test "X$found_dir" = "X"; then
14786                    if test -f "$dir/$libname.$acl_libext"; then
14787                      found_dir="$dir"
14788                      found_a="$dir/$libname.$acl_libext"
14789                    fi
14790                  fi
14791                  if test "X$found_dir" != "X"; then
14792                    if test -f "$dir/$libname.la"; then
14793                      found_la="$dir/$libname.la"
14794                    fi
14795                  fi
14796                  ;;
14797              esac
14798              if test "X$found_dir" != "X"; then
14799                break
14800              fi
14801            done
14802          fi
14803          if test "X$found_dir" != "X"; then
14804                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14805            if test "X$found_so" != "X"; then
14806                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14807                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14808              else
14809                                                                                haveit=
14810                for x in $ltrpathdirs; do
14811                  if test "X$x" = "X$found_dir"; then
14812                    haveit=yes
14813                    break
14814                  fi
14815                done
14816                if test -z "$haveit"; then
14817                  ltrpathdirs="$ltrpathdirs $found_dir"
14818                fi
14819                                if test "$acl_hardcode_direct" = yes; then
14820                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14821                else
14822                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14823                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14824                                                            haveit=
14825                    for x in $rpathdirs; do
14826                      if test "X$x" = "X$found_dir"; then
14827                        haveit=yes
14828                        break
14829                      fi
14830                    done
14831                    if test -z "$haveit"; then
14832                      rpathdirs="$rpathdirs $found_dir"
14833                    fi
14834                  else
14835                                                                                haveit=
14836                    for x in $LDFLAGS $LIBICONV; do
14837
14838  acl_save_prefix="$prefix"
14839  prefix="$acl_final_prefix"
14840  acl_save_exec_prefix="$exec_prefix"
14841  exec_prefix="$acl_final_exec_prefix"
14842  eval x=\"$x\"
14843  exec_prefix="$acl_save_exec_prefix"
14844  prefix="$acl_save_prefix"
14845
14846                      if test "X$x" = "X-L$found_dir"; then
14847                        haveit=yes
14848                        break
14849                      fi
14850                    done
14851                    if test -z "$haveit"; then
14852                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14853                    fi
14854                    if test "$acl_hardcode_minus_L" != no; then
14855                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14856                    else
14857                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14858                    fi
14859                  fi
14860                fi
14861              fi
14862            else
14863              if test "X$found_a" != "X"; then
14864                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14865              else
14866                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14867              fi
14868            fi
14869                        additional_includedir=
14870            case "$found_dir" in
14871              */$acl_libdirstem | */$acl_libdirstem/)
14872                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14873                LIBICONV_PREFIX="$basedir"
14874                additional_includedir="$basedir/include"
14875                ;;
14876            esac
14877            if test "X$additional_includedir" != "X"; then
14878                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
14879                haveit=
14880                if test "X$additional_includedir" = "X/usr/local/include"; then
14881                  if test -n "$GCC"; then
14882                    case $host_os in
14883                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14884                    esac
14885                  fi
14886                fi
14887                if test -z "$haveit"; then
14888                  for x in $CPPFLAGS $INCICONV; do
14889
14890  acl_save_prefix="$prefix"
14891  prefix="$acl_final_prefix"
14892  acl_save_exec_prefix="$exec_prefix"
14893  exec_prefix="$acl_final_exec_prefix"
14894  eval x=\"$x\"
14895  exec_prefix="$acl_save_exec_prefix"
14896  prefix="$acl_save_prefix"
14897
14898                    if test "X$x" = "X-I$additional_includedir"; then
14899                      haveit=yes
14900                      break
14901                    fi
14902                  done
14903                  if test -z "$haveit"; then
14904                    if test -d "$additional_includedir"; then
14905                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14906                    fi
14907                  fi
14908                fi
14909              fi
14910            fi
14911                        if test -n "$found_la"; then
14912                                                        save_libdir="$libdir"
14913              case "$found_la" in
14914                */* | *\\*) . "$found_la" ;;
14915                *) . "./$found_la" ;;
14916              esac
14917              libdir="$save_libdir"
14918                            for dep in $dependency_libs; do
14919                case "$dep" in
14920                  -L*)
14921                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14922                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14923                      haveit=
14924                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14925                        if test -n "$GCC"; then
14926                          case $host_os in
14927                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14928                          esac
14929                        fi
14930                      fi
14931                      if test -z "$haveit"; then
14932                        haveit=
14933                        for x in $LDFLAGS $LIBICONV; do
14934
14935  acl_save_prefix="$prefix"
14936  prefix="$acl_final_prefix"
14937  acl_save_exec_prefix="$exec_prefix"
14938  exec_prefix="$acl_final_exec_prefix"
14939  eval x=\"$x\"
14940  exec_prefix="$acl_save_exec_prefix"
14941  prefix="$acl_save_prefix"
14942
14943                          if test "X$x" = "X-L$additional_libdir"; then
14944                            haveit=yes
14945                            break
14946                          fi
14947                        done
14948                        if test -z "$haveit"; then
14949                          if test -d "$additional_libdir"; then
14950                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14951                          fi
14952                        fi
14953                        haveit=
14954                        for x in $LDFLAGS $LTLIBICONV; do
14955
14956  acl_save_prefix="$prefix"
14957  prefix="$acl_final_prefix"
14958  acl_save_exec_prefix="$exec_prefix"
14959  exec_prefix="$acl_final_exec_prefix"
14960  eval x=\"$x\"
14961  exec_prefix="$acl_save_exec_prefix"
14962  prefix="$acl_save_prefix"
14963
14964                          if test "X$x" = "X-L$additional_libdir"; then
14965                            haveit=yes
14966                            break
14967                          fi
14968                        done
14969                        if test -z "$haveit"; then
14970                          if test -d "$additional_libdir"; then
14971                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14972                          fi
14973                        fi
14974                      fi
14975                    fi
14976                    ;;
14977                  -R*)
14978                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
14979                    if test "$enable_rpath" != no; then
14980                                                                  haveit=
14981                      for x in $rpathdirs; do
14982                        if test "X$x" = "X$dir"; then
14983                          haveit=yes
14984                          break
14985                        fi
14986                      done
14987                      if test -z "$haveit"; then
14988                        rpathdirs="$rpathdirs $dir"
14989                      fi
14990                                                                  haveit=
14991                      for x in $ltrpathdirs; do
14992                        if test "X$x" = "X$dir"; then
14993                          haveit=yes
14994                          break
14995                        fi
14996                      done
14997                      if test -z "$haveit"; then
14998                        ltrpathdirs="$ltrpathdirs $dir"
14999                      fi
15000                    fi
15001                    ;;
15002                  -l*)
15003                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15004                    ;;
15005                  *.la)
15006                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15007                    ;;
15008                  *)
15009                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15010                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15011                    ;;
15012                esac
15013              done
15014            fi
15015          else
15016                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15017            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15018          fi
15019        fi
15020      fi
15021    done
15022  done
15023  if test "X$rpathdirs" != "X"; then
15024    if test -n "$acl_hardcode_libdir_separator"; then
15025                        alldirs=
15026      for found_dir in $rpathdirs; do
15027        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15028      done
15029            acl_save_libdir="$libdir"
15030      libdir="$alldirs"
15031      eval flag=\"$acl_hardcode_libdir_flag_spec\"
15032      libdir="$acl_save_libdir"
15033      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15034    else
15035            for found_dir in $rpathdirs; do
15036        acl_save_libdir="$libdir"
15037        libdir="$found_dir"
15038        eval flag=\"$acl_hardcode_libdir_flag_spec\"
15039        libdir="$acl_save_libdir"
15040        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15041      done
15042    fi
15043  fi
15044  if test "X$ltrpathdirs" != "X"; then
15045            for found_dir in $ltrpathdirs; do
15046      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15047    done
15048  fi
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15075$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15076if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15077  $as_echo_n "(cached) " >&6
15078else
15079  gt_save_LIBS="$LIBS"
15080     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15081     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082/* end confdefs.h.  */
15083#include <CoreFoundation/CFPreferences.h>
15084int
15085main ()
15086{
15087CFPreferencesCopyAppValue(NULL, NULL)
15088  ;
15089  return 0;
15090}
15091_ACEOF
15092if ac_fn_c_try_link "$LINENO"; then :
15093  gt_cv_func_CFPreferencesCopyAppValue=yes
15094else
15095  gt_cv_func_CFPreferencesCopyAppValue=no
15096fi
15097rm -f core conftest.err conftest.$ac_objext \
15098    conftest$ac_exeext conftest.$ac_ext
15099     LIBS="$gt_save_LIBS"
15100fi
15101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15102$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15103  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15104
15105$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15106
15107  fi
15108    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15109$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15110if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15111  $as_echo_n "(cached) " >&6
15112else
15113  gt_save_LIBS="$LIBS"
15114     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15115     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116/* end confdefs.h.  */
15117#include <CoreFoundation/CFLocale.h>
15118int
15119main ()
15120{
15121CFLocaleCopyCurrent();
15122  ;
15123  return 0;
15124}
15125_ACEOF
15126if ac_fn_c_try_link "$LINENO"; then :
15127  gt_cv_func_CFLocaleCopyCurrent=yes
15128else
15129  gt_cv_func_CFLocaleCopyCurrent=no
15130fi
15131rm -f core conftest.err conftest.$ac_objext \
15132    conftest$ac_exeext conftest.$ac_ext
15133     LIBS="$gt_save_LIBS"
15134fi
15135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15136$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15137  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15138
15139$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15140
15141  fi
15142  INTL_MACOSX_LIBS=
15143  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15144    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15145  fi
15146
15147
15148
15149
15150
15151
15152  LIBINTL=
15153  LTLIBINTL=
15154  POSUB=
15155
15156    case " $gt_needs " in
15157    *" need-formatstring-macros "*) gt_api_version=3 ;;
15158    *" need-ngettext "*) gt_api_version=2 ;;
15159    *) gt_api_version=1 ;;
15160  esac
15161  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
15162  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
15163
15164    if test "$USE_NLS" = "yes"; then
15165    gt_use_preinstalled_gnugettext=no
15166
15167
15168        if test $gt_api_version -ge 3; then
15169          gt_revision_test_code='
15170#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15171#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15172#endif
15173typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15174'
15175        else
15176          gt_revision_test_code=
15177        fi
15178        if test $gt_api_version -ge 2; then
15179          gt_expression_test_code=' + * ngettext ("", "", 0)'
15180        else
15181          gt_expression_test_code=
15182        fi
15183
15184        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15185$as_echo_n "checking for GNU gettext in libc... " >&6; }
15186if eval \${$gt_func_gnugettext_libc+:} false; then :
15187  $as_echo_n "(cached) " >&6
15188else
15189  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15190/* end confdefs.h.  */
15191#include <libintl.h>
15192$gt_revision_test_code
15193extern int _nl_msg_cat_cntr;
15194extern int *_nl_domain_bindings;
15195int
15196main ()
15197{
15198bindtextdomain ("", "");
15199return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15200  ;
15201  return 0;
15202}
15203_ACEOF
15204if ac_fn_c_try_link "$LINENO"; then :
15205  eval "$gt_func_gnugettext_libc=yes"
15206else
15207  eval "$gt_func_gnugettext_libc=no"
15208fi
15209rm -f core conftest.err conftest.$ac_objext \
15210    conftest$ac_exeext conftest.$ac_ext
15211fi
15212eval ac_res=\$$gt_func_gnugettext_libc
15213	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15214$as_echo "$ac_res" >&6; }
15215
15216        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15217
15218
15219
15220
15221
15222          am_save_CPPFLAGS="$CPPFLAGS"
15223
15224  for element in $INCICONV; do
15225    haveit=
15226    for x in $CPPFLAGS; do
15227
15228  acl_save_prefix="$prefix"
15229  prefix="$acl_final_prefix"
15230  acl_save_exec_prefix="$exec_prefix"
15231  exec_prefix="$acl_final_exec_prefix"
15232  eval x=\"$x\"
15233  exec_prefix="$acl_save_exec_prefix"
15234  prefix="$acl_save_prefix"
15235
15236      if test "X$x" = "X$element"; then
15237        haveit=yes
15238        break
15239      fi
15240    done
15241    if test -z "$haveit"; then
15242      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15243    fi
15244  done
15245
15246
15247  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15248$as_echo_n "checking for iconv... " >&6; }
15249if ${am_cv_func_iconv+:} false; then :
15250  $as_echo_n "(cached) " >&6
15251else
15252
15253    am_cv_func_iconv="no, consider installing GNU libiconv"
15254    am_cv_lib_iconv=no
15255    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15256/* end confdefs.h.  */
15257#include <stdlib.h>
15258#include <iconv.h>
15259int
15260main ()
15261{
15262iconv_t cd = iconv_open("","");
15263       iconv(cd,NULL,NULL,NULL,NULL);
15264       iconv_close(cd);
15265  ;
15266  return 0;
15267}
15268_ACEOF
15269if ac_fn_c_try_link "$LINENO"; then :
15270  am_cv_func_iconv=yes
15271fi
15272rm -f core conftest.err conftest.$ac_objext \
15273    conftest$ac_exeext conftest.$ac_ext
15274    if test "$am_cv_func_iconv" != yes; then
15275      am_save_LIBS="$LIBS"
15276      LIBS="$LIBS $LIBICONV"
15277      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278/* end confdefs.h.  */
15279#include <stdlib.h>
15280#include <iconv.h>
15281int
15282main ()
15283{
15284iconv_t cd = iconv_open("","");
15285         iconv(cd,NULL,NULL,NULL,NULL);
15286         iconv_close(cd);
15287  ;
15288  return 0;
15289}
15290_ACEOF
15291if ac_fn_c_try_link "$LINENO"; then :
15292  am_cv_lib_iconv=yes
15293        am_cv_func_iconv=yes
15294fi
15295rm -f core conftest.err conftest.$ac_objext \
15296    conftest$ac_exeext conftest.$ac_ext
15297      LIBS="$am_save_LIBS"
15298    fi
15299
15300fi
15301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15302$as_echo "$am_cv_func_iconv" >&6; }
15303  if test "$am_cv_func_iconv" = yes; then
15304    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15305$as_echo_n "checking for working iconv... " >&6; }
15306if ${am_cv_func_iconv_works+:} false; then :
15307  $as_echo_n "(cached) " >&6
15308else
15309
15310            am_save_LIBS="$LIBS"
15311      if test $am_cv_lib_iconv = yes; then
15312        LIBS="$LIBS $LIBICONV"
15313      fi
15314      if test "$cross_compiling" = yes; then :
15315  case "$host_os" in
15316           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15317           *)            am_cv_func_iconv_works="guessing yes" ;;
15318         esac
15319else
15320  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15321/* end confdefs.h.  */
15322
15323#include <iconv.h>
15324#include <string.h>
15325int main ()
15326{
15327  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15328     returns.  */
15329  {
15330    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15331    if (cd_utf8_to_88591 != (iconv_t)(-1))
15332      {
15333        static const char input[] = "\342\202\254"; /* EURO SIGN */
15334        char buf[10];
15335        const char *inptr = input;
15336        size_t inbytesleft = strlen (input);
15337        char *outptr = buf;
15338        size_t outbytesleft = sizeof (buf);
15339        size_t res = iconv (cd_utf8_to_88591,
15340                            (char **) &inptr, &inbytesleft,
15341                            &outptr, &outbytesleft);
15342        if (res == 0)
15343          return 1;
15344      }
15345  }
15346#if 0 /* This bug could be worked around by the caller.  */
15347  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
15348  {
15349    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15350    if (cd_88591_to_utf8 != (iconv_t)(-1))
15351      {
15352        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15353        char buf[50];
15354        const char *inptr = input;
15355        size_t inbytesleft = strlen (input);
15356        char *outptr = buf;
15357        size_t outbytesleft = sizeof (buf);
15358        size_t res = iconv (cd_88591_to_utf8,
15359                            (char **) &inptr, &inbytesleft,
15360                            &outptr, &outbytesleft);
15361        if ((int)res > 0)
15362          return 1;
15363      }
15364  }
15365#endif
15366  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15367     provided.  */
15368  if (/* Try standardized names.  */
15369      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15370      /* Try IRIX, OSF/1 names.  */
15371      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15372      /* Try AIX names.  */
15373      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15374      /* Try HP-UX names.  */
15375      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15376    return 1;
15377  return 0;
15378}
15379_ACEOF
15380if ac_fn_c_try_run "$LINENO"; then :
15381  am_cv_func_iconv_works=yes
15382else
15383  am_cv_func_iconv_works=no
15384fi
15385rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15386  conftest.$ac_objext conftest.beam conftest.$ac_ext
15387fi
15388
15389      LIBS="$am_save_LIBS"
15390
15391fi
15392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15393$as_echo "$am_cv_func_iconv_works" >&6; }
15394    case "$am_cv_func_iconv_works" in
15395      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15396      *)   am_func_iconv=yes ;;
15397    esac
15398  else
15399    am_func_iconv=no am_cv_lib_iconv=no
15400  fi
15401  if test "$am_func_iconv" = yes; then
15402
15403$as_echo "#define HAVE_ICONV 1" >>confdefs.h
15404
15405  fi
15406  if test "$am_cv_lib_iconv" = yes; then
15407    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15408$as_echo_n "checking how to link with libiconv... " >&6; }
15409    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15410$as_echo "$LIBICONV" >&6; }
15411  else
15412            CPPFLAGS="$am_save_CPPFLAGS"
15413    LIBICONV=
15414    LTLIBICONV=
15415  fi
15416
15417
15418
15419
15420
15421
15422
15423
15424    use_additional=yes
15425
15426  acl_save_prefix="$prefix"
15427  prefix="$acl_final_prefix"
15428  acl_save_exec_prefix="$exec_prefix"
15429  exec_prefix="$acl_final_exec_prefix"
15430
15431    eval additional_includedir=\"$includedir\"
15432    eval additional_libdir=\"$libdir\"
15433
15434  exec_prefix="$acl_save_exec_prefix"
15435  prefix="$acl_save_prefix"
15436
15437
15438# Check whether --with-libintl-prefix was given.
15439if test "${with_libintl_prefix+set}" = set; then :
15440  withval=$with_libintl_prefix;
15441    if test "X$withval" = "Xno"; then
15442      use_additional=no
15443    else
15444      if test "X$withval" = "X"; then
15445
15446  acl_save_prefix="$prefix"
15447  prefix="$acl_final_prefix"
15448  acl_save_exec_prefix="$exec_prefix"
15449  exec_prefix="$acl_final_exec_prefix"
15450
15451          eval additional_includedir=\"$includedir\"
15452          eval additional_libdir=\"$libdir\"
15453
15454  exec_prefix="$acl_save_exec_prefix"
15455  prefix="$acl_save_prefix"
15456
15457      else
15458        additional_includedir="$withval/include"
15459        additional_libdir="$withval/$acl_libdirstem"
15460      fi
15461    fi
15462
15463fi
15464
15465      LIBINTL=
15466  LTLIBINTL=
15467  INCINTL=
15468  LIBINTL_PREFIX=
15469  rpathdirs=
15470  ltrpathdirs=
15471  names_already_handled=
15472  names_next_round='intl '
15473  while test -n "$names_next_round"; do
15474    names_this_round="$names_next_round"
15475    names_next_round=
15476    for name in $names_this_round; do
15477      already_handled=
15478      for n in $names_already_handled; do
15479        if test "$n" = "$name"; then
15480          already_handled=yes
15481          break
15482        fi
15483      done
15484      if test -z "$already_handled"; then
15485        names_already_handled="$names_already_handled $name"
15486                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15487        eval value=\"\$HAVE_LIB$uppername\"
15488        if test -n "$value"; then
15489          if test "$value" = yes; then
15490            eval value=\"\$LIB$uppername\"
15491            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
15492            eval value=\"\$LTLIB$uppername\"
15493            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
15494          else
15495                                    :
15496          fi
15497        else
15498                              found_dir=
15499          found_la=
15500          found_so=
15501          found_a=
15502          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
15503          if test -n "$acl_shlibext"; then
15504            shrext=".$acl_shlibext"             # typically: shrext=.so
15505          else
15506            shrext=
15507          fi
15508          if test $use_additional = yes; then
15509            dir="$additional_libdir"
15510                                    if test -n "$acl_shlibext"; then
15511              if test -f "$dir/$libname$shrext"; then
15512                found_dir="$dir"
15513                found_so="$dir/$libname$shrext"
15514              else
15515                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15516                  ver=`(cd "$dir" && \
15517                        for f in "$libname$shrext".*; do echo "$f"; done \
15518                        | sed -e "s,^$libname$shrext\\\\.,," \
15519                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15520                        | sed 1q ) 2>/dev/null`
15521                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15522                    found_dir="$dir"
15523                    found_so="$dir/$libname$shrext.$ver"
15524                  fi
15525                else
15526                  eval library_names=\"$acl_library_names_spec\"
15527                  for f in $library_names; do
15528                    if test -f "$dir/$f"; then
15529                      found_dir="$dir"
15530                      found_so="$dir/$f"
15531                      break
15532                    fi
15533                  done
15534                fi
15535              fi
15536            fi
15537                        if test "X$found_dir" = "X"; then
15538              if test -f "$dir/$libname.$acl_libext"; then
15539                found_dir="$dir"
15540                found_a="$dir/$libname.$acl_libext"
15541              fi
15542            fi
15543            if test "X$found_dir" != "X"; then
15544              if test -f "$dir/$libname.la"; then
15545                found_la="$dir/$libname.la"
15546              fi
15547            fi
15548          fi
15549          if test "X$found_dir" = "X"; then
15550            for x in $LDFLAGS $LTLIBINTL; do
15551
15552  acl_save_prefix="$prefix"
15553  prefix="$acl_final_prefix"
15554  acl_save_exec_prefix="$exec_prefix"
15555  exec_prefix="$acl_final_exec_prefix"
15556  eval x=\"$x\"
15557  exec_prefix="$acl_save_exec_prefix"
15558  prefix="$acl_save_prefix"
15559
15560              case "$x" in
15561                -L*)
15562                  dir=`echo "X$x" | sed -e 's/^X-L//'`
15563                                    if test -n "$acl_shlibext"; then
15564                    if test -f "$dir/$libname$shrext"; then
15565                      found_dir="$dir"
15566                      found_so="$dir/$libname$shrext"
15567                    else
15568                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15569                        ver=`(cd "$dir" && \
15570                              for f in "$libname$shrext".*; do echo "$f"; done \
15571                              | sed -e "s,^$libname$shrext\\\\.,," \
15572                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15573                              | sed 1q ) 2>/dev/null`
15574                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15575                          found_dir="$dir"
15576                          found_so="$dir/$libname$shrext.$ver"
15577                        fi
15578                      else
15579                        eval library_names=\"$acl_library_names_spec\"
15580                        for f in $library_names; do
15581                          if test -f "$dir/$f"; then
15582                            found_dir="$dir"
15583                            found_so="$dir/$f"
15584                            break
15585                          fi
15586                        done
15587                      fi
15588                    fi
15589                  fi
15590                                    if test "X$found_dir" = "X"; then
15591                    if test -f "$dir/$libname.$acl_libext"; then
15592                      found_dir="$dir"
15593                      found_a="$dir/$libname.$acl_libext"
15594                    fi
15595                  fi
15596                  if test "X$found_dir" != "X"; then
15597                    if test -f "$dir/$libname.la"; then
15598                      found_la="$dir/$libname.la"
15599                    fi
15600                  fi
15601                  ;;
15602              esac
15603              if test "X$found_dir" != "X"; then
15604                break
15605              fi
15606            done
15607          fi
15608          if test "X$found_dir" != "X"; then
15609                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15610            if test "X$found_so" != "X"; then
15611                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15612                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15613              else
15614                                                                                haveit=
15615                for x in $ltrpathdirs; do
15616                  if test "X$x" = "X$found_dir"; then
15617                    haveit=yes
15618                    break
15619                  fi
15620                done
15621                if test -z "$haveit"; then
15622                  ltrpathdirs="$ltrpathdirs $found_dir"
15623                fi
15624                                if test "$acl_hardcode_direct" = yes; then
15625                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15626                else
15627                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15628                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15629                                                            haveit=
15630                    for x in $rpathdirs; do
15631                      if test "X$x" = "X$found_dir"; then
15632                        haveit=yes
15633                        break
15634                      fi
15635                    done
15636                    if test -z "$haveit"; then
15637                      rpathdirs="$rpathdirs $found_dir"
15638                    fi
15639                  else
15640                                                                                haveit=
15641                    for x in $LDFLAGS $LIBINTL; do
15642
15643  acl_save_prefix="$prefix"
15644  prefix="$acl_final_prefix"
15645  acl_save_exec_prefix="$exec_prefix"
15646  exec_prefix="$acl_final_exec_prefix"
15647  eval x=\"$x\"
15648  exec_prefix="$acl_save_exec_prefix"
15649  prefix="$acl_save_prefix"
15650
15651                      if test "X$x" = "X-L$found_dir"; then
15652                        haveit=yes
15653                        break
15654                      fi
15655                    done
15656                    if test -z "$haveit"; then
15657                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15658                    fi
15659                    if test "$acl_hardcode_minus_L" != no; then
15660                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15661                    else
15662                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15663                    fi
15664                  fi
15665                fi
15666              fi
15667            else
15668              if test "X$found_a" != "X"; then
15669                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
15670              else
15671                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15672              fi
15673            fi
15674                        additional_includedir=
15675            case "$found_dir" in
15676              */$acl_libdirstem | */$acl_libdirstem/)
15677                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15678                LIBINTL_PREFIX="$basedir"
15679                additional_includedir="$basedir/include"
15680                ;;
15681            esac
15682            if test "X$additional_includedir" != "X"; then
15683                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
15684                haveit=
15685                if test "X$additional_includedir" = "X/usr/local/include"; then
15686                  if test -n "$GCC"; then
15687                    case $host_os in
15688                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15689                    esac
15690                  fi
15691                fi
15692                if test -z "$haveit"; then
15693                  for x in $CPPFLAGS $INCINTL; do
15694
15695  acl_save_prefix="$prefix"
15696  prefix="$acl_final_prefix"
15697  acl_save_exec_prefix="$exec_prefix"
15698  exec_prefix="$acl_final_exec_prefix"
15699  eval x=\"$x\"
15700  exec_prefix="$acl_save_exec_prefix"
15701  prefix="$acl_save_prefix"
15702
15703                    if test "X$x" = "X-I$additional_includedir"; then
15704                      haveit=yes
15705                      break
15706                    fi
15707                  done
15708                  if test -z "$haveit"; then
15709                    if test -d "$additional_includedir"; then
15710                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15711                    fi
15712                  fi
15713                fi
15714              fi
15715            fi
15716                        if test -n "$found_la"; then
15717                                                        save_libdir="$libdir"
15718              case "$found_la" in
15719                */* | *\\*) . "$found_la" ;;
15720                *) . "./$found_la" ;;
15721              esac
15722              libdir="$save_libdir"
15723                            for dep in $dependency_libs; do
15724                case "$dep" in
15725                  -L*)
15726                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15727                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15728                      haveit=
15729                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15730                        if test -n "$GCC"; then
15731                          case $host_os in
15732                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15733                          esac
15734                        fi
15735                      fi
15736                      if test -z "$haveit"; then
15737                        haveit=
15738                        for x in $LDFLAGS $LIBINTL; do
15739
15740  acl_save_prefix="$prefix"
15741  prefix="$acl_final_prefix"
15742  acl_save_exec_prefix="$exec_prefix"
15743  exec_prefix="$acl_final_exec_prefix"
15744  eval x=\"$x\"
15745  exec_prefix="$acl_save_exec_prefix"
15746  prefix="$acl_save_prefix"
15747
15748                          if test "X$x" = "X-L$additional_libdir"; then
15749                            haveit=yes
15750                            break
15751                          fi
15752                        done
15753                        if test -z "$haveit"; then
15754                          if test -d "$additional_libdir"; then
15755                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15756                          fi
15757                        fi
15758                        haveit=
15759                        for x in $LDFLAGS $LTLIBINTL; do
15760
15761  acl_save_prefix="$prefix"
15762  prefix="$acl_final_prefix"
15763  acl_save_exec_prefix="$exec_prefix"
15764  exec_prefix="$acl_final_exec_prefix"
15765  eval x=\"$x\"
15766  exec_prefix="$acl_save_exec_prefix"
15767  prefix="$acl_save_prefix"
15768
15769                          if test "X$x" = "X-L$additional_libdir"; then
15770                            haveit=yes
15771                            break
15772                          fi
15773                        done
15774                        if test -z "$haveit"; then
15775                          if test -d "$additional_libdir"; then
15776                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15777                          fi
15778                        fi
15779                      fi
15780                    fi
15781                    ;;
15782                  -R*)
15783                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
15784                    if test "$enable_rpath" != no; then
15785                                                                  haveit=
15786                      for x in $rpathdirs; do
15787                        if test "X$x" = "X$dir"; then
15788                          haveit=yes
15789                          break
15790                        fi
15791                      done
15792                      if test -z "$haveit"; then
15793                        rpathdirs="$rpathdirs $dir"
15794                      fi
15795                                                                  haveit=
15796                      for x in $ltrpathdirs; do
15797                        if test "X$x" = "X$dir"; then
15798                          haveit=yes
15799                          break
15800                        fi
15801                      done
15802                      if test -z "$haveit"; then
15803                        ltrpathdirs="$ltrpathdirs $dir"
15804                      fi
15805                    fi
15806                    ;;
15807                  -l*)
15808                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15809                    ;;
15810                  *.la)
15811                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15812                    ;;
15813                  *)
15814                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
15815                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15816                    ;;
15817                esac
15818              done
15819            fi
15820          else
15821                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15822            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15823          fi
15824        fi
15825      fi
15826    done
15827  done
15828  if test "X$rpathdirs" != "X"; then
15829    if test -n "$acl_hardcode_libdir_separator"; then
15830                        alldirs=
15831      for found_dir in $rpathdirs; do
15832        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15833      done
15834            acl_save_libdir="$libdir"
15835      libdir="$alldirs"
15836      eval flag=\"$acl_hardcode_libdir_flag_spec\"
15837      libdir="$acl_save_libdir"
15838      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15839    else
15840            for found_dir in $rpathdirs; do
15841        acl_save_libdir="$libdir"
15842        libdir="$found_dir"
15843        eval flag=\"$acl_hardcode_libdir_flag_spec\"
15844        libdir="$acl_save_libdir"
15845        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15846      done
15847    fi
15848  fi
15849  if test "X$ltrpathdirs" != "X"; then
15850            for found_dir in $ltrpathdirs; do
15851      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15852    done
15853  fi
15854
15855          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15856$as_echo_n "checking for GNU gettext in libintl... " >&6; }
15857if eval \${$gt_func_gnugettext_libintl+:} false; then :
15858  $as_echo_n "(cached) " >&6
15859else
15860  gt_save_CPPFLAGS="$CPPFLAGS"
15861            CPPFLAGS="$CPPFLAGS $INCINTL"
15862            gt_save_LIBS="$LIBS"
15863            LIBS="$LIBS $LIBINTL"
15864                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15865/* end confdefs.h.  */
15866#include <libintl.h>
15867$gt_revision_test_code
15868extern int _nl_msg_cat_cntr;
15869extern
15870#ifdef __cplusplus
15871"C"
15872#endif
15873const char *_nl_expand_alias (const char *);
15874int
15875main ()
15876{
15877bindtextdomain ("", "");
15878return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15879  ;
15880  return 0;
15881}
15882_ACEOF
15883if ac_fn_c_try_link "$LINENO"; then :
15884  eval "$gt_func_gnugettext_libintl=yes"
15885else
15886  eval "$gt_func_gnugettext_libintl=no"
15887fi
15888rm -f core conftest.err conftest.$ac_objext \
15889    conftest$ac_exeext conftest.$ac_ext
15890                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15891              LIBS="$LIBS $LIBICONV"
15892              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893/* end confdefs.h.  */
15894#include <libintl.h>
15895$gt_revision_test_code
15896extern int _nl_msg_cat_cntr;
15897extern
15898#ifdef __cplusplus
15899"C"
15900#endif
15901const char *_nl_expand_alias (const char *);
15902int
15903main ()
15904{
15905bindtextdomain ("", "");
15906return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15907  ;
15908  return 0;
15909}
15910_ACEOF
15911if ac_fn_c_try_link "$LINENO"; then :
15912  LIBINTL="$LIBINTL $LIBICONV"
15913                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
15914                eval "$gt_func_gnugettext_libintl=yes"
15915
15916fi
15917rm -f core conftest.err conftest.$ac_objext \
15918    conftest$ac_exeext conftest.$ac_ext
15919            fi
15920            CPPFLAGS="$gt_save_CPPFLAGS"
15921            LIBS="$gt_save_LIBS"
15922fi
15923eval ac_res=\$$gt_func_gnugettext_libintl
15924	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15925$as_echo "$ac_res" >&6; }
15926        fi
15927
15928                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15929           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15930                && test "$PACKAGE" != gettext-runtime \
15931                && test "$PACKAGE" != gettext-tools; }; then
15932          gt_use_preinstalled_gnugettext=yes
15933        else
15934                    LIBINTL=
15935          LTLIBINTL=
15936          INCINTL=
15937        fi
15938
15939
15940
15941    if test -n "$INTL_MACOSX_LIBS"; then
15942      if test "$gt_use_preinstalled_gnugettext" = "yes" \
15943         || test "$nls_cv_use_gnu_gettext" = "yes"; then
15944                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
15945        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
15946      fi
15947    fi
15948
15949    if test "$gt_use_preinstalled_gnugettext" = "yes" \
15950       || test "$nls_cv_use_gnu_gettext" = "yes"; then
15951
15952$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15953
15954    else
15955      USE_NLS=no
15956    fi
15957  fi
15958
15959  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15960$as_echo_n "checking whether to use NLS... " >&6; }
15961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15962$as_echo "$USE_NLS" >&6; }
15963  if test "$USE_NLS" = "yes"; then
15964    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15965$as_echo_n "checking where the gettext function comes from... " >&6; }
15966    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15967      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15968        gt_source="external libintl"
15969      else
15970        gt_source="libc"
15971      fi
15972    else
15973      gt_source="included intl directory"
15974    fi
15975    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15976$as_echo "$gt_source" >&6; }
15977  fi
15978
15979  if test "$USE_NLS" = "yes"; then
15980
15981    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15982      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15983        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15984$as_echo_n "checking how to link with libintl... " >&6; }
15985        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15986$as_echo "$LIBINTL" >&6; }
15987
15988  for element in $INCINTL; do
15989    haveit=
15990    for x in $CPPFLAGS; do
15991
15992  acl_save_prefix="$prefix"
15993  prefix="$acl_final_prefix"
15994  acl_save_exec_prefix="$exec_prefix"
15995  exec_prefix="$acl_final_exec_prefix"
15996  eval x=\"$x\"
15997  exec_prefix="$acl_save_exec_prefix"
15998  prefix="$acl_save_prefix"
15999
16000      if test "X$x" = "X$element"; then
16001        haveit=yes
16002        break
16003      fi
16004    done
16005    if test -z "$haveit"; then
16006      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16007    fi
16008  done
16009
16010      fi
16011
16012
16013$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16014
16015
16016$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16017
16018    fi
16019
16020        POSUB=po
16021  fi
16022
16023
16024
16025    INTLLIBS="$LIBINTL"
16026
16027
16028
16029
16030
16031
16032
16033  if test "$USE_NLS" = "yes"; then
16034    GETTEXT_PACKAGE=gst-plugins-good-$GST_API_VERSION
16035  else
16036    GETTEXT_PACKAGE=NULL
16037  fi
16038
16039
16040cat >>confdefs.h <<_ACEOF
16041#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
16042_ACEOF
16043
16044
16045    if test -e "${srcdir}/po/Makevars"; then
16046    if ! grep -e "gst-plugins-good-$GST_API_VERSION" "${srcdir}/po/Makevars"; then
16047      as_fn_error $? "DOMAIN in po/Makevars does not match GETTEXT_PACKAGE gst-plugins-good-$GST_API_VERSION" "$LINENO" 5
16048    fi
16049  fi
16050
16051
16052  EXP_VAR=LOCALEDIR
16053  FROM_VAR=$datadir/locale
16054
16055    prefix_save=$prefix
16056  exec_prefix_save=$exec_prefix
16057
16058    if test "x$prefix" = "xNONE"; then
16059    prefix="$ac_default_prefix"
16060  fi
16061    if test "x$exec_prefix" = "xNONE"; then
16062    exec_prefix=$prefix
16063  fi
16064
16065  full_var="$FROM_VAR"
16066    while true; do
16067    new_full_var="`eval echo $full_var`"
16068    if test "x$new_full_var" = "x$full_var"; then break; fi
16069    full_var=$new_full_var
16070  done
16071
16072    full_var=$new_full_var
16073  LOCALEDIR="$full_var"
16074
16075
16076    prefix=$prefix_save
16077  exec_prefix=$exec_prefix_save
16078
16079
16080cat >>confdefs.h <<_ACEOF
16081#define LOCALEDIR "$LOCALEDIR"
16082_ACEOF
16083
16084
16085
16086
16087
16088  # Check whether --enable-fatal-warnings was given.
16089if test "${enable_fatal_warnings+set}" = set; then :
16090  enableval=$enable_fatal_warnings;
16091      case "${enableval}" in
16092        yes) FATAL_WARNINGS=yes ;;
16093        no)  FATAL_WARNINGS=no ;;
16094        *)   as_fn_error $? "bad value ${enableval} for --disable-fatal-warnings" "$LINENO" 5 ;;
16095      esac
16096
16097else
16098
16099      if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
16100        FATAL_WARNINGS=yes
16101      else
16102        FATAL_WARNINGS=no
16103      fi
16104
16105fi
16106
16107
16108
16109  # Check whether --enable-extra-check was given.
16110if test "${enable_extra_check+set}" = set; then :
16111  enableval=$enable_extra_check;
16112      case "${enableval}" in
16113        yes) EXTRA_CHECKS=yes ;;
16114        no)  EXTRA_CHECKS=no ;;
16115        *)   as_fn_error $? "bad value ${enableval} for --enable-extra-checks" "$LINENO" 5 ;;
16116      esac
16117
16118else
16119
16120      if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
16121        EXTRA_CHECKS=yes
16122      else
16123        EXTRA_CHECKS=no
16124      fi
16125
16126fi
16127
16128
16129    if test "x$EXTRA_CHECKS" = "xyes"; then
16130
16131$as_echo "#define GST_ENABLE_EXTRA_CHECKS 1" >>confdefs.h
16132
16133    fi
16134
16135
16136
16137    # Check whether --enable-debug was given.
16138if test "${enable_debug+set}" = set; then :
16139  enableval=$enable_debug;
16140      case "${enableval}" in
16141        yes) USE_DEBUG=yes ;;
16142        no)  USE_DEBUG=no ;;
16143        *)   as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
16144      esac
16145
16146else
16147  USE_DEBUG=yes
16148fi
16149
16150
16151  # Check whether --enable-profiling was given.
16152if test "${enable_profiling+set}" = set; then :
16153  enableval=$enable_profiling;
16154      case "${enableval}" in
16155        yes) USE_PROFILING=yes ;;
16156        no)  USE_PROFILING=no ;;
16157        *)   as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;;
16158      esac
16159
16160else
16161  USE_PROFILING=no
16162fi
16163
16164
16165
16166if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16167	if test -n "$ac_tool_prefix"; then
16168  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16169set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16171$as_echo_n "checking for $ac_word... " >&6; }
16172if ${ac_cv_path_PKG_CONFIG+:} false; then :
16173  $as_echo_n "(cached) " >&6
16174else
16175  case $PKG_CONFIG in
16176  [\\/]* | ?:[\\/]*)
16177  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16178  ;;
16179  *)
16180  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16181for as_dir in $PATH
16182do
16183  IFS=$as_save_IFS
16184  test -z "$as_dir" && as_dir=.
16185    for ac_exec_ext in '' $ac_executable_extensions; do
16186  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16187    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16188    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16189    break 2
16190  fi
16191done
16192  done
16193IFS=$as_save_IFS
16194
16195  ;;
16196esac
16197fi
16198PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16199if test -n "$PKG_CONFIG"; then
16200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16201$as_echo "$PKG_CONFIG" >&6; }
16202else
16203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16204$as_echo "no" >&6; }
16205fi
16206
16207
16208fi
16209if test -z "$ac_cv_path_PKG_CONFIG"; then
16210  ac_pt_PKG_CONFIG=$PKG_CONFIG
16211  # Extract the first word of "pkg-config", so it can be a program name with args.
16212set dummy pkg-config; ac_word=$2
16213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16214$as_echo_n "checking for $ac_word... " >&6; }
16215if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16216  $as_echo_n "(cached) " >&6
16217else
16218  case $ac_pt_PKG_CONFIG in
16219  [\\/]* | ?:[\\/]*)
16220  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16221  ;;
16222  *)
16223  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16224for as_dir in $PATH
16225do
16226  IFS=$as_save_IFS
16227  test -z "$as_dir" && as_dir=.
16228    for ac_exec_ext in '' $ac_executable_extensions; do
16229  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16230    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16231    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16232    break 2
16233  fi
16234done
16235  done
16236IFS=$as_save_IFS
16237
16238  ;;
16239esac
16240fi
16241ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16242if test -n "$ac_pt_PKG_CONFIG"; then
16243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16244$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16245else
16246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16247$as_echo "no" >&6; }
16248fi
16249
16250  if test "x$ac_pt_PKG_CONFIG" = x; then
16251    PKG_CONFIG=""
16252  else
16253    case $cross_compiling:$ac_tool_warned in
16254yes:)
16255{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16256$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16257ac_tool_warned=yes ;;
16258esac
16259    PKG_CONFIG=$ac_pt_PKG_CONFIG
16260  fi
16261else
16262  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16263fi
16264
16265fi
16266if test -n "$PKG_CONFIG"; then
16267	_pkg_min_version=0.9.0
16268	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16269$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16270	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16271		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16272$as_echo "yes" >&6; }
16273	else
16274		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16275$as_echo "no" >&6; }
16276		PKG_CONFIG=""
16277	fi
16278
16279fi
16280
16281    # Check whether --enable-valgrind was given.
16282if test "${enable_valgrind+set}" = set; then :
16283  enableval=$enable_valgrind;
16284      case "${enableval}" in
16285        yes) USE_VALGRIND="$USE_DEBUG" ;;
16286        no)  USE_VALGRIND=no ;;
16287        *)   as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
16288      esac
16289
16290else
16291  USE_VALGRIND="$USE_DEBUG"
16292fi
16293   VALGRIND_REQ="3.0"
16294  if test "x$USE_VALGRIND" = xyes; then
16295
16296pkg_failed=no
16297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
16298$as_echo_n "checking for VALGRIND... " >&6; }
16299
16300if test -n "$PKG_CONFIG"; then
16301    if test -n "$VALGRIND_CFLAGS"; then
16302        pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
16303    else
16304        if test -n "$PKG_CONFIG" && \
16305    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
16306  ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
16307  ac_status=$?
16308  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16309  test $ac_status = 0; }; then
16310  pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
16311else
16312  pkg_failed=yes
16313fi
16314    fi
16315else
16316	pkg_failed=untried
16317fi
16318if test -n "$PKG_CONFIG"; then
16319    if test -n "$VALGRIND_LIBS"; then
16320        pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
16321    else
16322        if test -n "$PKG_CONFIG" && \
16323    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
16324  ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
16325  ac_status=$?
16326  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16327  test $ac_status = 0; }; then
16328  pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
16329else
16330  pkg_failed=yes
16331fi
16332    fi
16333else
16334	pkg_failed=untried
16335fi
16336
16337
16338
16339if test $pkg_failed = yes; then
16340
16341if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16342        _pkg_short_errors_supported=yes
16343else
16344        _pkg_short_errors_supported=no
16345fi
16346        if test $_pkg_short_errors_supported = yes; then
16347	        VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
16348        else
16349	        VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
16350        fi
16351	# Put the nasty error message in config.log where it belongs
16352	echo "$VALGRIND_PKG_ERRORS" >&5
16353
16354	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16355$as_echo "no" >&6; }
16356                USE_VALGRIND="no"
16357elif test $pkg_failed = untried; then
16358	USE_VALGRIND="no"
16359else
16360	VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
16361	VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
16362        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16363$as_echo "yes" >&6; }
16364	USE_VALGRIND="yes"
16365fi
16366  fi
16367  if test "x$USE_VALGRIND" = xyes; then
16368
16369$as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
16370
16371    { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
16372$as_echo "$as_me: Using extra code paths for valgrind" >&6;}
16373  fi
16374
16375
16376  # Check whether --enable-gcov was given.
16377if test "${enable_gcov+set}" = set; then :
16378  enableval=$enable_gcov; enable_gcov=$enableval
16379else
16380  enable_gcov=no
16381fi
16382
16383  if test x$enable_gcov = xyes ; then
16384    if test "x$GCC" != "xyes"
16385    then
16386      as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
16387    fi
16388
16389
16390  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
16391$as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
16392
16393  save_CFLAGS="$CFLAGS"
16394  CFLAGS="$CFLAGS "-fprofile-arcs""
16395
16396  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16397/* end confdefs.h.  */
16398
16399int
16400main ()
16401{
16402
16403  ;
16404  return 0;
16405}
16406_ACEOF
16407if ac_fn_c_try_compile "$LINENO"; then :
16408  flag_ok=yes
16409else
16410  flag_ok=no
16411fi
16412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16413  CFLAGS="$save_CFLAGS"
16414
16415  if test "X$flag_ok" = Xyes ; then
16416    GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
16417    true
16418  else
16419    true
16420    true
16421  fi
16422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16423$as_echo "$flag_ok" >&6; }
16424
16425
16426  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
16427$as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
16428
16429  save_CFLAGS="$CFLAGS"
16430  CFLAGS="$CFLAGS "-ftest-coverage""
16431
16432  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433/* end confdefs.h.  */
16434
16435int
16436main ()
16437{
16438
16439  ;
16440  return 0;
16441}
16442_ACEOF
16443if ac_fn_c_try_compile "$LINENO"; then :
16444  flag_ok=yes
16445else
16446  flag_ok=no
16447fi
16448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16449  CFLAGS="$save_CFLAGS"
16450
16451  if test "X$flag_ok" = Xyes ; then
16452    GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
16453    true
16454  else
16455    true
16456    true
16457  fi
16458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16459$as_echo "$flag_ok" >&6; }
16460
16461        GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
16462                GCOV_LIBS=-lgcov
16463
16464
16465    GCOV=`echo $CC | sed s/gcc/gcov/g`
16466
16467
16468    GST_GCOV_ENABLED=yes
16469
16470cat >>confdefs.h <<_ACEOF
16471#define GST_GCOV_ENABLED 1
16472_ACEOF
16473
16474        if test "x$GST_GCOV_ENABLED" = "xyes"
16475    then
16476      CFLAGS="$CFLAGS -O0"
16477
16478      CXXFLAGS="$CXXFLAGS -O0"
16479
16480      FFLAGS="$FFLAGS -O0"
16481
16482      CCASFLAGS="$CCASFLAGS -O0"
16483
16484      { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
16485$as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
16486    fi
16487  fi
16488   if test x$enable_gcov = xyes; then
16489  GST_GCOV_ENABLED_TRUE=
16490  GST_GCOV_ENABLED_FALSE='#'
16491else
16492  GST_GCOV_ENABLED_TRUE='#'
16493  GST_GCOV_ENABLED_FALSE=
16494fi
16495
16496
16497
16498
16499  # Check whether --enable-examples was given.
16500if test "${enable_examples+set}" = set; then :
16501  enableval=$enable_examples;
16502        case "${enableval}" in
16503          yes) BUILD_EXAMPLES=yes ;;
16504          no)  BUILD_EXAMPLES=no ;;
16505          *)   as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;;
16506        esac
16507
16508else
16509  BUILD_EXAMPLES=yes
16510fi
16511    if test "x$BUILD_EXAMPLES" = "xyes"; then
16512  BUILD_EXAMPLES_TRUE=
16513  BUILD_EXAMPLES_FALSE='#'
16514else
16515  BUILD_EXAMPLES_TRUE='#'
16516  BUILD_EXAMPLES_FALSE=
16517fi
16518
16519
16520
16521
16522
16523# Check whether --with-pkg-config-path was given.
16524if test "${with_pkg_config_path+set}" = set; then :
16525  withval=$with_pkg_config_path;
16526       export PKG_CONFIG_PATH=${withval}
16527       { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
16528$as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
16529
16530fi
16531
16532
16533
16534
16535# Check whether --with-package-name was given.
16536if test "${with_package_name+set}" = set; then :
16537  withval=$with_package_name;
16538      case "${withval}" in
16539        yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
16540        no)  as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
16541        *)   GST_PACKAGE_NAME="${withval}" ;;
16542      esac
16543
16544else
16545
16546      P=
16547      if test "x$P" = "x"
16548      then
16549        P=$PACKAGE_NAME
16550      fi
16551
16552      if test "x$PACKAGE_VERSION_NANO" = "x0"
16553      then
16554        GST_PACKAGE_NAME="$P source release"
16555      else
16556        if test "x$PACKAGE_VERSION_NANO" = "x1"
16557        then
16558          GST_PACKAGE_NAME="$P git"
16559        else
16560          GST_PACKAGE_NAME="$P prerelease"
16561        fi
16562      fi
16563
16564
16565fi
16566
16567  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
16568$as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
16569
16570cat >>confdefs.h <<_ACEOF
16571#define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
16572_ACEOF
16573
16574
16575
16576
16577
16578# Check whether --with-package-origin was given.
16579if test "${with_package_origin+set}" = set; then :
16580  withval=$with_package_origin;
16581      case "${withval}" in
16582        yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
16583        no)  as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
16584        *)   GST_PACKAGE_ORIGIN="${withval}" ;;
16585      esac
16586
16587else
16588  GST_PACKAGE_ORIGIN="Unknown package origin"
16589fi
16590
16591  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
16592$as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
16593
16594cat >>confdefs.h <<_ACEOF
16595#define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
16596_ACEOF
16597
16598
16599
16600
16601
16602
16603# Check whether --with-plugins was given.
16604if test "${with_plugins+set}" = set; then :
16605  withval=$with_plugins; WITH_PLUGINS=$withval
16606else
16607  WITH_PLUGINS=
16608fi
16609
16610
16611  GST_PLUGINS_ALL=""
16612  GST_PLUGINS_SELECTED=""
16613  GST_PLUGINS_NONPORTED=""
16614
16615
16616
16617
16618
16619
16620
16621  echo
16622{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of plug-ins with external deps ***" >&5
16623$as_echo "$as_me: *** checking feature: building of plug-ins with external deps ***" >&6;}
16624if test "x" != "x"
16625then
16626  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
16627$as_echo "$as_me: *** for plug-ins:  ***" >&6;}
16628fi
16629NOUSE=
16630if test "x$USE_EXTERNAL" = "xno"; then
16631  NOUSE="yes"
16632fi
16633# Check whether --enable-external was given.
16634if test "${enable_external+set}" = set; then :
16635  enableval=$enable_external;  case "${enableval}" in
16636      yes) USE_EXTERNAL=yes;;
16637      no) USE_EXTERNAL=no;;
16638      *) as_fn_error $? "bad value ${enableval} for --enable-external" "$LINENO" 5 ;;
16639    esac
16640else
16641   USE_EXTERNAL=yes
16642fi
16643
16644if test "x$NOUSE" = "xyes"; then
16645  USE_EXTERNAL="no"
16646  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
16647$as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
16648fi
16649NOUSE=
16650
16651if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " EXTERNAL " > /dev/null; then
16652  USE_EXTERNAL="no"
16653  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  not ported" >&5
16654$as_echo "$as_me: WARNING: ***  not ported" >&2;}
16655fi
16656
16657
16658if test x$USE_EXTERNAL = xyes; then
16659
16660  gst_check_save_LIBS=$LIBS
16661  gst_check_save_LDFLAGS=$LDFLAGS
16662  gst_check_save_CFLAGS=$CFLAGS
16663  gst_check_save_CPPFLAGS=$CPPFLAGS
16664  gst_check_save_CXXFLAGS=$CXXFLAGS
16665
16666  HAVE_EXTERNAL=no
16667    HAVE_EXTERNAL=yes
16668
16669  LIBS=$gst_check_save_LIBS
16670  LDFLAGS=$gst_check_save_LDFLAGS
16671  CFLAGS=$gst_check_save_CFLAGS
16672  CPPFLAGS=$gst_check_save_CPPFLAGS
16673  CXXFLAGS=$gst_check_save_CXXFLAGS
16674
16675    if test x$HAVE_EXTERNAL = xno; then
16676    USE_EXTERNAL=no
16677  else
16678    :
16679  fi
16680fi
16681if test x$USE_EXTERNAL = xyes; then
16682
16683      { $as_echo "$as_me:${as_lineno-$LINENO}: building external plug-ins" >&5
16684$as_echo "$as_me: building external plug-ins" >&6;}
16685      BUILD_EXTERNAL="yes"
16686
16687  if test "x" != "x"; then
16688    GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
16689  fi
16690
16691$as_echo "#define HAVE_EXTERNAL /**/" >>confdefs.h
16692
16693else
16694  :
16695  if test "x" != "x"; then
16696    GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
16697  fi
16698
16699      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: all plug-ins with external dependencies will not be built" >&5
16700$as_echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;}
16701      BUILD_EXTERNAL="no"
16702
16703fi
16704 if test x$USE_EXTERNAL = xyes; then
16705  USE_EXTERNAL_TRUE=
16706  USE_EXTERNAL_FALSE='#'
16707else
16708  USE_EXTERNAL_TRUE='#'
16709  USE_EXTERNAL_FALSE=
16710fi
16711
16712
16713  # make BUILD_EXTERNAL available to Makefile.am
16714   if test "x$BUILD_EXTERNAL" = "xyes"; then
16715  BUILD_EXTERNAL_TRUE=
16716  BUILD_EXTERNAL_FALSE='#'
16717else
16718  BUILD_EXTERNAL_TRUE='#'
16719  BUILD_EXTERNAL_FALSE=
16720fi
16721
16722
16723
16724
16725  echo
16726{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of experimental plug-ins ***" >&5
16727$as_echo "$as_me: *** checking feature: building of experimental plug-ins ***" >&6;}
16728if test "x" != "x"
16729then
16730  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
16731$as_echo "$as_me: *** for plug-ins:  ***" >&6;}
16732fi
16733NOUSE=
16734if test "x$USE_EXPERIMENTAL" = "xno"; then
16735  NOUSE="yes"
16736fi
16737# Check whether --enable-experimental was given.
16738if test "${enable_experimental+set}" = set; then :
16739  enableval=$enable_experimental;  case "${enableval}" in
16740      yes) USE_EXPERIMENTAL=yes;;
16741      no) USE_EXPERIMENTAL=no;;
16742      *) as_fn_error $? "bad value ${enableval} for --enable-experimental" "$LINENO" 5 ;;
16743    esac
16744else
16745   USE_EXPERIMENTAL=no
16746fi
16747
16748if test "x$NOUSE" = "xyes"; then
16749  USE_EXPERIMENTAL="no"
16750  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
16751$as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
16752fi
16753NOUSE=
16754
16755if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " EXPERIMENTAL " > /dev/null; then
16756  USE_EXPERIMENTAL="no"
16757  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  not ported" >&5
16758$as_echo "$as_me: WARNING: ***  not ported" >&2;}
16759fi
16760
16761
16762if test x$USE_EXPERIMENTAL = xyes; then
16763
16764  gst_check_save_LIBS=$LIBS
16765  gst_check_save_LDFLAGS=$LDFLAGS
16766  gst_check_save_CFLAGS=$CFLAGS
16767  gst_check_save_CPPFLAGS=$CPPFLAGS
16768  gst_check_save_CXXFLAGS=$CXXFLAGS
16769
16770  HAVE_EXPERIMENTAL=no
16771    HAVE_EXPERIMENTAL=yes
16772
16773  LIBS=$gst_check_save_LIBS
16774  LDFLAGS=$gst_check_save_LDFLAGS
16775  CFLAGS=$gst_check_save_CFLAGS
16776  CPPFLAGS=$gst_check_save_CPPFLAGS
16777  CXXFLAGS=$gst_check_save_CXXFLAGS
16778
16779    if test x$HAVE_EXPERIMENTAL = xno; then
16780    USE_EXPERIMENTAL=no
16781  else
16782    :
16783  fi
16784fi
16785if test x$USE_EXPERIMENTAL = xyes; then
16786
16787      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building experimental plug-ins" >&5
16788$as_echo "$as_me: WARNING: building experimental plug-ins" >&2;}
16789      BUILD_EXPERIMENTAL="yes"
16790
16791  if test "x" != "x"; then
16792    GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
16793  fi
16794
16795$as_echo "#define HAVE_EXPERIMENTAL /**/" >>confdefs.h
16796
16797else
16798  :
16799  if test "x" != "x"; then
16800    GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
16801  fi
16802
16803      { $as_echo "$as_me:${as_lineno-$LINENO}: not building experimental plug-ins" >&5
16804$as_echo "$as_me: not building experimental plug-ins" >&6;}
16805      BUILD_EXPERIMENTAL="no"
16806
16807fi
16808 if test x$USE_EXPERIMENTAL = xyes; then
16809  USE_EXPERIMENTAL_TRUE=
16810  USE_EXPERIMENTAL_FALSE='#'
16811else
16812  USE_EXPERIMENTAL_TRUE='#'
16813  USE_EXPERIMENTAL_FALSE=
16814fi
16815
16816
16817  # make BUILD_EXPERIMENTAL available to Makefile.am
16818   if test "x$BUILD_EXPERIMENTAL" = "xyes"; then
16819  BUILD_EXPERIMENTAL_TRUE=
16820  BUILD_EXPERIMENTAL_FALSE='#'
16821else
16822  BUILD_EXPERIMENTAL_TRUE='#'
16823  BUILD_EXPERIMENTAL_FALSE=
16824fi
16825
16826
16827
16828
16829  GST_PKG_CONFIG_PATH="\$(top_builddir)/pkgconfig"
16830  if test "x$PKG_CONFIG_PATH" != "x"; then
16831    GST_PKG_CONFIG_PATH="$GST_PKG_CONFIG_PATH:$PKG_CONFIG_PATH"
16832  fi
16833
16834  { $as_echo "$as_me:${as_lineno-$LINENO}: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&5
16835$as_echo "$as_me: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&6;}
16836
16837
16838
16839
16840
16841    case "x${target_cpu}" in
16842    xi?86 | xk? | xi?86_64)
16843      case $target_os in
16844         solaris*)
16845            ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
16846if test "x$ac_cv_have_decl___i386" = xyes; then :
16847  I386_ABI="yes"
16848else
16849  I386_ABI="no"
16850fi
16851
16852            ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
16853if test "x$ac_cv_have_decl___amd64" = xyes; then :
16854  AMD64_ABI="yes"
16855else
16856  AMD64_ABI="no"
16857fi
16858
16859
16860            if test "x$I386_ABI" = "xyes" ; then
16861               HAVE_CPU_I386=yes
16862
16863$as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
16864
16865            fi
16866            if test "x$AMD64_ABI" = "xyes" ; then
16867                HAVE_CPU_X86_64=yes
16868
16869$as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
16870
16871            fi
16872            ;;
16873         *)
16874            HAVE_CPU_I386=yes
16875
16876$as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
16877
16878
16879                                    case "x${target_cpu}" in
16880              xi386 | xi486) ;;
16881            *)
16882
16883$as_echo "#define HAVE_RDTSC 1" >>confdefs.h
16884 ;;
16885            esac
16886            ;;
16887      esac
16888      ;;
16889    xpowerpc)
16890      HAVE_CPU_PPC=yes
16891
16892$as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
16893 ;;
16894    xpowerpc64)
16895      HAVE_CPU_PPC64=yes
16896
16897$as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
16898 ;;
16899    xalpha*)
16900      HAVE_CPU_ALPHA=yes
16901
16902$as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
16903 ;;
16904    xarc*)
16905      HAVE_CPU_ARC=yes
16906
16907$as_echo "#define HAVE_CPU_ARC 1" >>confdefs.h
16908 ;;
16909    xarm*)
16910      HAVE_CPU_ARM=yes
16911
16912$as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
16913 ;;
16914    xaarch64*)
16915      HAVE_CPU_AARCH64=yes
16916
16917$as_echo "#define HAVE_CPU_AARCH64 1" >>confdefs.h
16918 ;;
16919    xsparc*)
16920      HAVE_CPU_SPARC=yes
16921
16922$as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
16923 ;;
16924    xmips*)
16925      HAVE_CPU_MIPS=yes
16926
16927$as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
16928 ;;
16929    xhppa*)
16930      HAVE_CPU_HPPA=yes
16931
16932$as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
16933 ;;
16934    xs390*)
16935      HAVE_CPU_S390=yes
16936
16937$as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
16938 ;;
16939    xia64*)
16940      HAVE_CPU_IA64=yes
16941
16942$as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
16943 ;;
16944    xm68k*)
16945      HAVE_CPU_M68K=yes
16946
16947$as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
16948 ;;
16949    xx86_64)
16950      HAVE_CPU_X86_64=yes
16951
16952$as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
16953 ;;
16954    xcris)
16955      HAVE_CPU_CRIS=yes
16956
16957$as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
16958 ;;
16959    xcrisv32)
16960      HAVE_CPU_CRISV32=yes
16961
16962$as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
16963 ;;
16964  esac
16965
16966     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16967$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16968if ${ac_cv_c_bigendian+:} false; then :
16969  $as_echo_n "(cached) " >&6
16970else
16971  ac_cv_c_bigendian=unknown
16972    # See if we're dealing with a universal compiler.
16973    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974/* end confdefs.h.  */
16975#ifndef __APPLE_CC__
16976	       not a universal capable compiler
16977	     #endif
16978	     typedef int dummy;
16979
16980_ACEOF
16981if ac_fn_c_try_compile "$LINENO"; then :
16982
16983	# Check for potential -arch flags.  It is not universal unless
16984	# there are at least two -arch flags with different values.
16985	ac_arch=
16986	ac_prev=
16987	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16988	 if test -n "$ac_prev"; then
16989	   case $ac_word in
16990	     i?86 | x86_64 | ppc | ppc64)
16991	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
16992		 ac_arch=$ac_word
16993	       else
16994		 ac_cv_c_bigendian=universal
16995		 break
16996	       fi
16997	       ;;
16998	   esac
16999	   ac_prev=
17000	 elif test "x$ac_word" = "x-arch"; then
17001	   ac_prev=arch
17002	 fi
17003       done
17004fi
17005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17006    if test $ac_cv_c_bigendian = unknown; then
17007      # See if sys/param.h defines the BYTE_ORDER macro.
17008      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009/* end confdefs.h.  */
17010#include <sys/types.h>
17011	     #include <sys/param.h>
17012
17013int
17014main ()
17015{
17016#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
17017		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
17018		     && LITTLE_ENDIAN)
17019	      bogus endian macros
17020	     #endif
17021
17022  ;
17023  return 0;
17024}
17025_ACEOF
17026if ac_fn_c_try_compile "$LINENO"; then :
17027  # It does; now see whether it defined to BIG_ENDIAN or not.
17028	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029/* end confdefs.h.  */
17030#include <sys/types.h>
17031		#include <sys/param.h>
17032
17033int
17034main ()
17035{
17036#if BYTE_ORDER != BIG_ENDIAN
17037		 not big endian
17038		#endif
17039
17040  ;
17041  return 0;
17042}
17043_ACEOF
17044if ac_fn_c_try_compile "$LINENO"; then :
17045  ac_cv_c_bigendian=yes
17046else
17047  ac_cv_c_bigendian=no
17048fi
17049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17050fi
17051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17052    fi
17053    if test $ac_cv_c_bigendian = unknown; then
17054      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
17055      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17056/* end confdefs.h.  */
17057#include <limits.h>
17058
17059int
17060main ()
17061{
17062#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
17063	      bogus endian macros
17064	     #endif
17065
17066  ;
17067  return 0;
17068}
17069_ACEOF
17070if ac_fn_c_try_compile "$LINENO"; then :
17071  # It does; now see whether it defined to _BIG_ENDIAN or not.
17072	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17073/* end confdefs.h.  */
17074#include <limits.h>
17075
17076int
17077main ()
17078{
17079#ifndef _BIG_ENDIAN
17080		 not big endian
17081		#endif
17082
17083  ;
17084  return 0;
17085}
17086_ACEOF
17087if ac_fn_c_try_compile "$LINENO"; then :
17088  ac_cv_c_bigendian=yes
17089else
17090  ac_cv_c_bigendian=no
17091fi
17092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093fi
17094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17095    fi
17096    if test $ac_cv_c_bigendian = unknown; then
17097      # Compile a test program.
17098      if test "$cross_compiling" = yes; then :
17099  # Try to guess by grepping values from an object file.
17100	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17101/* end confdefs.h.  */
17102short int ascii_mm[] =
17103		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17104		short int ascii_ii[] =
17105		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17106		int use_ascii (int i) {
17107		  return ascii_mm[i] + ascii_ii[i];
17108		}
17109		short int ebcdic_ii[] =
17110		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17111		short int ebcdic_mm[] =
17112		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17113		int use_ebcdic (int i) {
17114		  return ebcdic_mm[i] + ebcdic_ii[i];
17115		}
17116		extern int foo;
17117
17118int
17119main ()
17120{
17121return use_ascii (foo) == use_ebcdic (foo);
17122  ;
17123  return 0;
17124}
17125_ACEOF
17126if ac_fn_c_try_compile "$LINENO"; then :
17127  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
17128	      ac_cv_c_bigendian=yes
17129	    fi
17130	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
17131	      if test "$ac_cv_c_bigendian" = unknown; then
17132		ac_cv_c_bigendian=no
17133	      else
17134		# finding both strings is unlikely to happen, but who knows?
17135		ac_cv_c_bigendian=unknown
17136	      fi
17137	    fi
17138fi
17139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17140else
17141  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17142/* end confdefs.h.  */
17143$ac_includes_default
17144int
17145main ()
17146{
17147
17148	     /* Are we little or big endian?  From Harbison&Steele.  */
17149	     union
17150	     {
17151	       long int l;
17152	       char c[sizeof (long int)];
17153	     } u;
17154	     u.l = 1;
17155	     return u.c[sizeof (long int) - 1] == 1;
17156
17157  ;
17158  return 0;
17159}
17160_ACEOF
17161if ac_fn_c_try_run "$LINENO"; then :
17162  ac_cv_c_bigendian=no
17163else
17164  ac_cv_c_bigendian=yes
17165fi
17166rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17167  conftest.$ac_objext conftest.beam conftest.$ac_ext
17168fi
17169
17170    fi
17171fi
17172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
17173$as_echo "$ac_cv_c_bigendian" >&6; }
17174 case $ac_cv_c_bigendian in #(
17175   yes)
17176     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
17177;; #(
17178   no)
17179      ;; #(
17180   universal)
17181
17182$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
17183
17184     ;; #(
17185   *)
17186     as_fn_error $? "unknown endianness
17187 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
17188 esac
17189
17190
17191   if test "x$HAVE_CPU_I386" = "xyes"; then
17192  HAVE_CPU_I386_TRUE=
17193  HAVE_CPU_I386_FALSE='#'
17194else
17195  HAVE_CPU_I386_TRUE='#'
17196  HAVE_CPU_I386_FALSE=
17197fi
17198
17199   if test "x$HAVE_CPU_PPC" = "xyes"; then
17200  HAVE_CPU_PPC_TRUE=
17201  HAVE_CPU_PPC_FALSE='#'
17202else
17203  HAVE_CPU_PPC_TRUE='#'
17204  HAVE_CPU_PPC_FALSE=
17205fi
17206
17207   if test "x$HAVE_CPU_PPC64" = "xyes"; then
17208  HAVE_CPU_PPC64_TRUE=
17209  HAVE_CPU_PPC64_FALSE='#'
17210else
17211  HAVE_CPU_PPC64_TRUE='#'
17212  HAVE_CPU_PPC64_FALSE=
17213fi
17214
17215   if test "x$HAVE_CPU_ALPHA" = "xyes"; then
17216  HAVE_CPU_ALPHA_TRUE=
17217  HAVE_CPU_ALPHA_FALSE='#'
17218else
17219  HAVE_CPU_ALPHA_TRUE='#'
17220  HAVE_CPU_ALPHA_FALSE=
17221fi
17222
17223   if test "x$HAVE_CPU_ARC" = "xyes"; then
17224  HAVE_CPU_ARC_TRUE=
17225  HAVE_CPU_ARC_FALSE='#'
17226else
17227  HAVE_CPU_ARC_TRUE='#'
17228  HAVE_CPU_ARC_FALSE=
17229fi
17230
17231   if test "x$HAVE_CPU_ARM" = "xyes"; then
17232  HAVE_CPU_ARM_TRUE=
17233  HAVE_CPU_ARM_FALSE='#'
17234else
17235  HAVE_CPU_ARM_TRUE='#'
17236  HAVE_CPU_ARM_FALSE=
17237fi
17238
17239   if test "x$HAVE_CPU_SPARC" = "xyes"; then
17240  HAVE_CPU_SPARC_TRUE=
17241  HAVE_CPU_SPARC_FALSE='#'
17242else
17243  HAVE_CPU_SPARC_TRUE='#'
17244  HAVE_CPU_SPARC_FALSE=
17245fi
17246
17247   if test "x$HAVE_CPU_HPPA" = "xyes"; then
17248  HAVE_CPU_HPPA_TRUE=
17249  HAVE_CPU_HPPA_FALSE='#'
17250else
17251  HAVE_CPU_HPPA_TRUE='#'
17252  HAVE_CPU_HPPA_FALSE=
17253fi
17254
17255   if test "x$HAVE_CPU_MIPS" = "xyes"; then
17256  HAVE_CPU_MIPS_TRUE=
17257  HAVE_CPU_MIPS_FALSE='#'
17258else
17259  HAVE_CPU_MIPS_TRUE='#'
17260  HAVE_CPU_MIPS_FALSE=
17261fi
17262
17263   if test "x$HAVE_CPU_S390" = "xyes"; then
17264  HAVE_CPU_S390_TRUE=
17265  HAVE_CPU_S390_FALSE='#'
17266else
17267  HAVE_CPU_S390_TRUE='#'
17268  HAVE_CPU_S390_FALSE=
17269fi
17270
17271   if test "x$HAVE_CPU_IA64" = "xyes"; then
17272  HAVE_CPU_IA64_TRUE=
17273  HAVE_CPU_IA64_FALSE='#'
17274else
17275  HAVE_CPU_IA64_TRUE='#'
17276  HAVE_CPU_IA64_FALSE=
17277fi
17278
17279   if test "x$HAVE_CPU_M68K" = "xyes"; then
17280  HAVE_CPU_M68K_TRUE=
17281  HAVE_CPU_M68K_FALSE='#'
17282else
17283  HAVE_CPU_M68K_TRUE='#'
17284  HAVE_CPU_M68K_FALSE=
17285fi
17286
17287   if test "x$HAVE_CPU_X86_64" = "xyes"; then
17288  HAVE_CPU_X86_64_TRUE=
17289  HAVE_CPU_X86_64_FALSE='#'
17290else
17291  HAVE_CPU_X86_64_TRUE='#'
17292  HAVE_CPU_X86_64_FALSE=
17293fi
17294
17295   if test "x$HAVE_CPU_CRIS" = "xyes"; then
17296  HAVE_CPU_CRIS_TRUE=
17297  HAVE_CPU_CRIS_FALSE='#'
17298else
17299  HAVE_CPU_CRIS_TRUE='#'
17300  HAVE_CPU_CRIS_FALSE=
17301fi
17302
17303   if test "x$HAVE_CPU_CRISV32" = "xyes"; then
17304  HAVE_CPU_CRISV32_TRUE=
17305  HAVE_CPU_CRISV32_FALSE='#'
17306else
17307  HAVE_CPU_CRISV32_TRUE='#'
17308  HAVE_CPU_CRISV32_FALSE=
17309fi
17310
17311
17312
17313cat >>confdefs.h <<_ACEOF
17314#define HOST_CPU "$host_cpu"
17315_ACEOF
17316
17317
17318cat >>confdefs.h <<_ACEOF
17319#define TARGET_CPU "$target_cpu"
17320_ACEOF
17321
17322
17323
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
17325$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
17326if ${ac_cv_c_bigendian+:} false; then :
17327  $as_echo_n "(cached) " >&6
17328else
17329  ac_cv_c_bigendian=unknown
17330    # See if we're dealing with a universal compiler.
17331    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17332/* end confdefs.h.  */
17333#ifndef __APPLE_CC__
17334	       not a universal capable compiler
17335	     #endif
17336	     typedef int dummy;
17337
17338_ACEOF
17339if ac_fn_c_try_compile "$LINENO"; then :
17340
17341	# Check for potential -arch flags.  It is not universal unless
17342	# there are at least two -arch flags with different values.
17343	ac_arch=
17344	ac_prev=
17345	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
17346	 if test -n "$ac_prev"; then
17347	   case $ac_word in
17348	     i?86 | x86_64 | ppc | ppc64)
17349	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
17350		 ac_arch=$ac_word
17351	       else
17352		 ac_cv_c_bigendian=universal
17353		 break
17354	       fi
17355	       ;;
17356	   esac
17357	   ac_prev=
17358	 elif test "x$ac_word" = "x-arch"; then
17359	   ac_prev=arch
17360	 fi
17361       done
17362fi
17363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17364    if test $ac_cv_c_bigendian = unknown; then
17365      # See if sys/param.h defines the BYTE_ORDER macro.
17366      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17367/* end confdefs.h.  */
17368#include <sys/types.h>
17369	     #include <sys/param.h>
17370
17371int
17372main ()
17373{
17374#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
17375		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
17376		     && LITTLE_ENDIAN)
17377	      bogus endian macros
17378	     #endif
17379
17380  ;
17381  return 0;
17382}
17383_ACEOF
17384if ac_fn_c_try_compile "$LINENO"; then :
17385  # It does; now see whether it defined to BIG_ENDIAN or not.
17386	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17387/* end confdefs.h.  */
17388#include <sys/types.h>
17389		#include <sys/param.h>
17390
17391int
17392main ()
17393{
17394#if BYTE_ORDER != BIG_ENDIAN
17395		 not big endian
17396		#endif
17397
17398  ;
17399  return 0;
17400}
17401_ACEOF
17402if ac_fn_c_try_compile "$LINENO"; then :
17403  ac_cv_c_bigendian=yes
17404else
17405  ac_cv_c_bigendian=no
17406fi
17407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17408fi
17409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17410    fi
17411    if test $ac_cv_c_bigendian = unknown; then
17412      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
17413      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17414/* end confdefs.h.  */
17415#include <limits.h>
17416
17417int
17418main ()
17419{
17420#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
17421	      bogus endian macros
17422	     #endif
17423
17424  ;
17425  return 0;
17426}
17427_ACEOF
17428if ac_fn_c_try_compile "$LINENO"; then :
17429  # It does; now see whether it defined to _BIG_ENDIAN or not.
17430	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431/* end confdefs.h.  */
17432#include <limits.h>
17433
17434int
17435main ()
17436{
17437#ifndef _BIG_ENDIAN
17438		 not big endian
17439		#endif
17440
17441  ;
17442  return 0;
17443}
17444_ACEOF
17445if ac_fn_c_try_compile "$LINENO"; then :
17446  ac_cv_c_bigendian=yes
17447else
17448  ac_cv_c_bigendian=no
17449fi
17450rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17451fi
17452rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17453    fi
17454    if test $ac_cv_c_bigendian = unknown; then
17455      # Compile a test program.
17456      if test "$cross_compiling" = yes; then :
17457  # Try to guess by grepping values from an object file.
17458	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17459/* end confdefs.h.  */
17460short int ascii_mm[] =
17461		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17462		short int ascii_ii[] =
17463		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17464		int use_ascii (int i) {
17465		  return ascii_mm[i] + ascii_ii[i];
17466		}
17467		short int ebcdic_ii[] =
17468		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17469		short int ebcdic_mm[] =
17470		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17471		int use_ebcdic (int i) {
17472		  return ebcdic_mm[i] + ebcdic_ii[i];
17473		}
17474		extern int foo;
17475
17476int
17477main ()
17478{
17479return use_ascii (foo) == use_ebcdic (foo);
17480  ;
17481  return 0;
17482}
17483_ACEOF
17484if ac_fn_c_try_compile "$LINENO"; then :
17485  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
17486	      ac_cv_c_bigendian=yes
17487	    fi
17488	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
17489	      if test "$ac_cv_c_bigendian" = unknown; then
17490		ac_cv_c_bigendian=no
17491	      else
17492		# finding both strings is unlikely to happen, but who knows?
17493		ac_cv_c_bigendian=unknown
17494	      fi
17495	    fi
17496fi
17497rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17498else
17499  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500/* end confdefs.h.  */
17501$ac_includes_default
17502int
17503main ()
17504{
17505
17506	     /* Are we little or big endian?  From Harbison&Steele.  */
17507	     union
17508	     {
17509	       long int l;
17510	       char c[sizeof (long int)];
17511	     } u;
17512	     u.l = 1;
17513	     return u.c[sizeof (long int) - 1] == 1;
17514
17515  ;
17516  return 0;
17517}
17518_ACEOF
17519if ac_fn_c_try_run "$LINENO"; then :
17520  ac_cv_c_bigendian=no
17521else
17522  ac_cv_c_bigendian=yes
17523fi
17524rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17525  conftest.$ac_objext conftest.beam conftest.$ac_ext
17526fi
17527
17528    fi
17529fi
17530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
17531$as_echo "$ac_cv_c_bigendian" >&6; }
17532 case $ac_cv_c_bigendian in #(
17533   yes)
17534     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
17535;; #(
17536   no)
17537      ;; #(
17538   universal)
17539
17540$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
17541
17542     ;; #(
17543   *)
17544     as_fn_error $? "unknown endianness
17545 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
17546 esac
17547
17548
17549
17550# Check whether --enable-largefile was given.
17551if test "${enable_largefile+set}" = set; then :
17552  enableval=$enable_largefile;
17553fi
17554
17555if test "$enable_largefile" != no; then
17556
17557  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
17558$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
17559if ${ac_cv_sys_largefile_CC+:} false; then :
17560  $as_echo_n "(cached) " >&6
17561else
17562  ac_cv_sys_largefile_CC=no
17563     if test "$GCC" != yes; then
17564       ac_save_CC=$CC
17565       while :; do
17566	 # IRIX 6.2 and later do not support large files by default,
17567	 # so use the C compiler's -n32 option if that helps.
17568	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569/* end confdefs.h.  */
17570#include <sys/types.h>
17571 /* Check that off_t can represent 2**63 - 1 correctly.
17572    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17573    since some C++ compilers masquerading as C compilers
17574    incorrectly reject 9223372036854775807.  */
17575#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
17576  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17577		       && LARGE_OFF_T % 2147483647 == 1)
17578		      ? 1 : -1];
17579int
17580main ()
17581{
17582
17583  ;
17584  return 0;
17585}
17586_ACEOF
17587	 if ac_fn_c_try_compile "$LINENO"; then :
17588  break
17589fi
17590rm -f core conftest.err conftest.$ac_objext
17591	 CC="$CC -n32"
17592	 if ac_fn_c_try_compile "$LINENO"; then :
17593  ac_cv_sys_largefile_CC=' -n32'; break
17594fi
17595rm -f core conftest.err conftest.$ac_objext
17596	 break
17597       done
17598       CC=$ac_save_CC
17599       rm -f conftest.$ac_ext
17600    fi
17601fi
17602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
17603$as_echo "$ac_cv_sys_largefile_CC" >&6; }
17604  if test "$ac_cv_sys_largefile_CC" != no; then
17605    CC=$CC$ac_cv_sys_largefile_CC
17606  fi
17607
17608  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17609$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
17610if ${ac_cv_sys_file_offset_bits+:} false; then :
17611  $as_echo_n "(cached) " >&6
17612else
17613  while :; do
17614  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615/* end confdefs.h.  */
17616#include <sys/types.h>
17617 /* Check that off_t can represent 2**63 - 1 correctly.
17618    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17619    since some C++ compilers masquerading as C compilers
17620    incorrectly reject 9223372036854775807.  */
17621#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
17622  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17623		       && LARGE_OFF_T % 2147483647 == 1)
17624		      ? 1 : -1];
17625int
17626main ()
17627{
17628
17629  ;
17630  return 0;
17631}
17632_ACEOF
17633if ac_fn_c_try_compile "$LINENO"; then :
17634  ac_cv_sys_file_offset_bits=no; break
17635fi
17636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17637  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17638/* end confdefs.h.  */
17639#define _FILE_OFFSET_BITS 64
17640#include <sys/types.h>
17641 /* Check that off_t can represent 2**63 - 1 correctly.
17642    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17643    since some C++ compilers masquerading as C compilers
17644    incorrectly reject 9223372036854775807.  */
17645#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
17646  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17647		       && LARGE_OFF_T % 2147483647 == 1)
17648		      ? 1 : -1];
17649int
17650main ()
17651{
17652
17653  ;
17654  return 0;
17655}
17656_ACEOF
17657if ac_fn_c_try_compile "$LINENO"; then :
17658  ac_cv_sys_file_offset_bits=64; break
17659fi
17660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17661  ac_cv_sys_file_offset_bits=unknown
17662  break
17663done
17664fi
17665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
17666$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
17667case $ac_cv_sys_file_offset_bits in #(
17668  no | unknown) ;;
17669  *)
17670cat >>confdefs.h <<_ACEOF
17671#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17672_ACEOF
17673;;
17674esac
17675rm -rf conftest*
17676  if test $ac_cv_sys_file_offset_bits = unknown; then
17677    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
17678$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
17679if ${ac_cv_sys_large_files+:} false; then :
17680  $as_echo_n "(cached) " >&6
17681else
17682  while :; do
17683  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17684/* end confdefs.h.  */
17685#include <sys/types.h>
17686 /* Check that off_t can represent 2**63 - 1 correctly.
17687    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17688    since some C++ compilers masquerading as C compilers
17689    incorrectly reject 9223372036854775807.  */
17690#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
17691  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17692		       && LARGE_OFF_T % 2147483647 == 1)
17693		      ? 1 : -1];
17694int
17695main ()
17696{
17697
17698  ;
17699  return 0;
17700}
17701_ACEOF
17702if ac_fn_c_try_compile "$LINENO"; then :
17703  ac_cv_sys_large_files=no; break
17704fi
17705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17706  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17707/* end confdefs.h.  */
17708#define _LARGE_FILES 1
17709#include <sys/types.h>
17710 /* Check that off_t can represent 2**63 - 1 correctly.
17711    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17712    since some C++ compilers masquerading as C compilers
17713    incorrectly reject 9223372036854775807.  */
17714#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
17715  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17716		       && LARGE_OFF_T % 2147483647 == 1)
17717		      ? 1 : -1];
17718int
17719main ()
17720{
17721
17722  ;
17723  return 0;
17724}
17725_ACEOF
17726if ac_fn_c_try_compile "$LINENO"; then :
17727  ac_cv_sys_large_files=1; break
17728fi
17729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17730  ac_cv_sys_large_files=unknown
17731  break
17732done
17733fi
17734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
17735$as_echo "$ac_cv_sys_large_files" >&6; }
17736case $ac_cv_sys_large_files in #(
17737  no | unknown) ;;
17738  *)
17739cat >>confdefs.h <<_ACEOF
17740#define _LARGE_FILES $ac_cv_sys_large_files
17741_ACEOF
17742;;
17743esac
17744rm -rf conftest*
17745  fi
17746
17747
17748fi
17749
17750
17751
17752ac_ext=c
17753ac_cpp='$CPP $CPPFLAGS'
17754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17756ac_compiler_gnu=$ac_cv_c_compiler_gnu
17757if test -n "$ac_tool_prefix"; then
17758  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17759set dummy ${ac_tool_prefix}gcc; ac_word=$2
17760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17761$as_echo_n "checking for $ac_word... " >&6; }
17762if ${ac_cv_prog_CC+:} false; then :
17763  $as_echo_n "(cached) " >&6
17764else
17765  if test -n "$CC"; then
17766  ac_cv_prog_CC="$CC" # Let the user override the test.
17767else
17768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17769for as_dir in $PATH
17770do
17771  IFS=$as_save_IFS
17772  test -z "$as_dir" && as_dir=.
17773    for ac_exec_ext in '' $ac_executable_extensions; do
17774  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17775    ac_cv_prog_CC="${ac_tool_prefix}gcc"
17776    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17777    break 2
17778  fi
17779done
17780  done
17781IFS=$as_save_IFS
17782
17783fi
17784fi
17785CC=$ac_cv_prog_CC
17786if test -n "$CC"; then
17787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17788$as_echo "$CC" >&6; }
17789else
17790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17791$as_echo "no" >&6; }
17792fi
17793
17794
17795fi
17796if test -z "$ac_cv_prog_CC"; then
17797  ac_ct_CC=$CC
17798  # Extract the first word of "gcc", so it can be a program name with args.
17799set dummy gcc; ac_word=$2
17800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17801$as_echo_n "checking for $ac_word... " >&6; }
17802if ${ac_cv_prog_ac_ct_CC+:} false; then :
17803  $as_echo_n "(cached) " >&6
17804else
17805  if test -n "$ac_ct_CC"; then
17806  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17807else
17808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17809for as_dir in $PATH
17810do
17811  IFS=$as_save_IFS
17812  test -z "$as_dir" && as_dir=.
17813    for ac_exec_ext in '' $ac_executable_extensions; do
17814  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17815    ac_cv_prog_ac_ct_CC="gcc"
17816    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17817    break 2
17818  fi
17819done
17820  done
17821IFS=$as_save_IFS
17822
17823fi
17824fi
17825ac_ct_CC=$ac_cv_prog_ac_ct_CC
17826if test -n "$ac_ct_CC"; then
17827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17828$as_echo "$ac_ct_CC" >&6; }
17829else
17830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17831$as_echo "no" >&6; }
17832fi
17833
17834  if test "x$ac_ct_CC" = x; then
17835    CC=""
17836  else
17837    case $cross_compiling:$ac_tool_warned in
17838yes:)
17839{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17840$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17841ac_tool_warned=yes ;;
17842esac
17843    CC=$ac_ct_CC
17844  fi
17845else
17846  CC="$ac_cv_prog_CC"
17847fi
17848
17849if test -z "$CC"; then
17850          if test -n "$ac_tool_prefix"; then
17851    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
17852set dummy ${ac_tool_prefix}cc; ac_word=$2
17853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17854$as_echo_n "checking for $ac_word... " >&6; }
17855if ${ac_cv_prog_CC+:} false; then :
17856  $as_echo_n "(cached) " >&6
17857else
17858  if test -n "$CC"; then
17859  ac_cv_prog_CC="$CC" # Let the user override the test.
17860else
17861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17862for as_dir in $PATH
17863do
17864  IFS=$as_save_IFS
17865  test -z "$as_dir" && as_dir=.
17866    for ac_exec_ext in '' $ac_executable_extensions; do
17867  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17868    ac_cv_prog_CC="${ac_tool_prefix}cc"
17869    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17870    break 2
17871  fi
17872done
17873  done
17874IFS=$as_save_IFS
17875
17876fi
17877fi
17878CC=$ac_cv_prog_CC
17879if test -n "$CC"; then
17880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17881$as_echo "$CC" >&6; }
17882else
17883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17884$as_echo "no" >&6; }
17885fi
17886
17887
17888  fi
17889fi
17890if test -z "$CC"; then
17891  # Extract the first word of "cc", so it can be a program name with args.
17892set dummy cc; ac_word=$2
17893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17894$as_echo_n "checking for $ac_word... " >&6; }
17895if ${ac_cv_prog_CC+:} false; then :
17896  $as_echo_n "(cached) " >&6
17897else
17898  if test -n "$CC"; then
17899  ac_cv_prog_CC="$CC" # Let the user override the test.
17900else
17901  ac_prog_rejected=no
17902as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17903for as_dir in $PATH
17904do
17905  IFS=$as_save_IFS
17906  test -z "$as_dir" && as_dir=.
17907    for ac_exec_ext in '' $ac_executable_extensions; do
17908  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17909    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
17910       ac_prog_rejected=yes
17911       continue
17912     fi
17913    ac_cv_prog_CC="cc"
17914    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17915    break 2
17916  fi
17917done
17918  done
17919IFS=$as_save_IFS
17920
17921if test $ac_prog_rejected = yes; then
17922  # We found a bogon in the path, so make sure we never use it.
17923  set dummy $ac_cv_prog_CC
17924  shift
17925  if test $# != 0; then
17926    # We chose a different compiler from the bogus one.
17927    # However, it has the same basename, so the bogon will be chosen
17928    # first if we set CC to just the basename; use the full file name.
17929    shift
17930    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
17931  fi
17932fi
17933fi
17934fi
17935CC=$ac_cv_prog_CC
17936if test -n "$CC"; then
17937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17938$as_echo "$CC" >&6; }
17939else
17940  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17941$as_echo "no" >&6; }
17942fi
17943
17944
17945fi
17946if test -z "$CC"; then
17947  if test -n "$ac_tool_prefix"; then
17948  for ac_prog in cl.exe
17949  do
17950    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17951set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17953$as_echo_n "checking for $ac_word... " >&6; }
17954if ${ac_cv_prog_CC+:} false; then :
17955  $as_echo_n "(cached) " >&6
17956else
17957  if test -n "$CC"; then
17958  ac_cv_prog_CC="$CC" # Let the user override the test.
17959else
17960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17961for as_dir in $PATH
17962do
17963  IFS=$as_save_IFS
17964  test -z "$as_dir" && as_dir=.
17965    for ac_exec_ext in '' $ac_executable_extensions; do
17966  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17967    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
17968    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17969    break 2
17970  fi
17971done
17972  done
17973IFS=$as_save_IFS
17974
17975fi
17976fi
17977CC=$ac_cv_prog_CC
17978if test -n "$CC"; then
17979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17980$as_echo "$CC" >&6; }
17981else
17982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17983$as_echo "no" >&6; }
17984fi
17985
17986
17987    test -n "$CC" && break
17988  done
17989fi
17990if test -z "$CC"; then
17991  ac_ct_CC=$CC
17992  for ac_prog in cl.exe
17993do
17994  # Extract the first word of "$ac_prog", so it can be a program name with args.
17995set dummy $ac_prog; ac_word=$2
17996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17997$as_echo_n "checking for $ac_word... " >&6; }
17998if ${ac_cv_prog_ac_ct_CC+:} false; then :
17999  $as_echo_n "(cached) " >&6
18000else
18001  if test -n "$ac_ct_CC"; then
18002  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18003else
18004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18005for as_dir in $PATH
18006do
18007  IFS=$as_save_IFS
18008  test -z "$as_dir" && as_dir=.
18009    for ac_exec_ext in '' $ac_executable_extensions; do
18010  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18011    ac_cv_prog_ac_ct_CC="$ac_prog"
18012    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18013    break 2
18014  fi
18015done
18016  done
18017IFS=$as_save_IFS
18018
18019fi
18020fi
18021ac_ct_CC=$ac_cv_prog_ac_ct_CC
18022if test -n "$ac_ct_CC"; then
18023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
18024$as_echo "$ac_ct_CC" >&6; }
18025else
18026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18027$as_echo "no" >&6; }
18028fi
18029
18030
18031  test -n "$ac_ct_CC" && break
18032done
18033
18034  if test "x$ac_ct_CC" = x; then
18035    CC=""
18036  else
18037    case $cross_compiling:$ac_tool_warned in
18038yes:)
18039{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18040$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18041ac_tool_warned=yes ;;
18042esac
18043    CC=$ac_ct_CC
18044  fi
18045fi
18046
18047fi
18048
18049
18050test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18051$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18052as_fn_error $? "no acceptable C compiler found in \$PATH
18053See \`config.log' for more details" "$LINENO" 5; }
18054
18055# Provide some information about the compiler.
18056$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
18057set X $ac_compile
18058ac_compiler=$2
18059for ac_option in --version -v -V -qversion; do
18060  { { ac_try="$ac_compiler $ac_option >&5"
18061case "(($ac_try" in
18062  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18063  *) ac_try_echo=$ac_try;;
18064esac
18065eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18066$as_echo "$ac_try_echo"; } >&5
18067  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18068  ac_status=$?
18069  if test -s conftest.err; then
18070    sed '10a\
18071... rest of stderr output deleted ...
18072         10q' conftest.err >conftest.er1
18073    cat conftest.er1 >&5
18074  fi
18075  rm -f conftest.er1 conftest.err
18076  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18077  test $ac_status = 0; }
18078done
18079
18080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
18081$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
18082if ${ac_cv_c_compiler_gnu+:} false; then :
18083  $as_echo_n "(cached) " >&6
18084else
18085  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18086/* end confdefs.h.  */
18087
18088int
18089main ()
18090{
18091#ifndef __GNUC__
18092       choke me
18093#endif
18094
18095  ;
18096  return 0;
18097}
18098_ACEOF
18099if ac_fn_c_try_compile "$LINENO"; then :
18100  ac_compiler_gnu=yes
18101else
18102  ac_compiler_gnu=no
18103fi
18104rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18105ac_cv_c_compiler_gnu=$ac_compiler_gnu
18106
18107fi
18108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
18109$as_echo "$ac_cv_c_compiler_gnu" >&6; }
18110if test $ac_compiler_gnu = yes; then
18111  GCC=yes
18112else
18113  GCC=
18114fi
18115ac_test_CFLAGS=${CFLAGS+set}
18116ac_save_CFLAGS=$CFLAGS
18117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18118$as_echo_n "checking whether $CC accepts -g... " >&6; }
18119if ${ac_cv_prog_cc_g+:} false; then :
18120  $as_echo_n "(cached) " >&6
18121else
18122  ac_save_c_werror_flag=$ac_c_werror_flag
18123   ac_c_werror_flag=yes
18124   ac_cv_prog_cc_g=no
18125   CFLAGS="-g"
18126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18127/* end confdefs.h.  */
18128
18129int
18130main ()
18131{
18132
18133  ;
18134  return 0;
18135}
18136_ACEOF
18137if ac_fn_c_try_compile "$LINENO"; then :
18138  ac_cv_prog_cc_g=yes
18139else
18140  CFLAGS=""
18141      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18142/* end confdefs.h.  */
18143
18144int
18145main ()
18146{
18147
18148  ;
18149  return 0;
18150}
18151_ACEOF
18152if ac_fn_c_try_compile "$LINENO"; then :
18153
18154else
18155  ac_c_werror_flag=$ac_save_c_werror_flag
18156	 CFLAGS="-g"
18157	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18158/* end confdefs.h.  */
18159
18160int
18161main ()
18162{
18163
18164  ;
18165  return 0;
18166}
18167_ACEOF
18168if ac_fn_c_try_compile "$LINENO"; then :
18169  ac_cv_prog_cc_g=yes
18170fi
18171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18172fi
18173rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18174fi
18175rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18176   ac_c_werror_flag=$ac_save_c_werror_flag
18177fi
18178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18179$as_echo "$ac_cv_prog_cc_g" >&6; }
18180if test "$ac_test_CFLAGS" = set; then
18181  CFLAGS=$ac_save_CFLAGS
18182elif test $ac_cv_prog_cc_g = yes; then
18183  if test "$GCC" = yes; then
18184    CFLAGS="-g -O2"
18185  else
18186    CFLAGS="-g"
18187  fi
18188else
18189  if test "$GCC" = yes; then
18190    CFLAGS="-O2"
18191  else
18192    CFLAGS=
18193  fi
18194fi
18195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
18196$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
18197if ${ac_cv_prog_cc_c89+:} false; then :
18198  $as_echo_n "(cached) " >&6
18199else
18200  ac_cv_prog_cc_c89=no
18201ac_save_CC=$CC
18202cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18203/* end confdefs.h.  */
18204#include <stdarg.h>
18205#include <stdio.h>
18206struct stat;
18207/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
18208struct buf { int x; };
18209FILE * (*rcsopen) (struct buf *, struct stat *, int);
18210static char *e (p, i)
18211     char **p;
18212     int i;
18213{
18214  return p[i];
18215}
18216static char *f (char * (*g) (char **, int), char **p, ...)
18217{
18218  char *s;
18219  va_list v;
18220  va_start (v,p);
18221  s = g (p, va_arg (v,int));
18222  va_end (v);
18223  return s;
18224}
18225
18226/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
18227   function prototypes and stuff, but not '\xHH' hex character constants.
18228   These don't provoke an error unfortunately, instead are silently treated
18229   as 'x'.  The following induces an error, until -std is added to get
18230   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
18231   array size at least.  It's necessary to write '\x00'==0 to get something
18232   that's true only with -std.  */
18233int osf4_cc_array ['\x00' == 0 ? 1 : -1];
18234
18235/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
18236   inside strings and character constants.  */
18237#define FOO(x) 'x'
18238int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
18239
18240int test (int i, double x);
18241struct s1 {int (*f) (int a);};
18242struct s2 {int (*f) (double a);};
18243int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
18244int argc;
18245char **argv;
18246int
18247main ()
18248{
18249return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
18250  ;
18251  return 0;
18252}
18253_ACEOF
18254for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
18255	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
18256do
18257  CC="$ac_save_CC $ac_arg"
18258  if ac_fn_c_try_compile "$LINENO"; then :
18259  ac_cv_prog_cc_c89=$ac_arg
18260fi
18261rm -f core conftest.err conftest.$ac_objext
18262  test "x$ac_cv_prog_cc_c89" != "xno" && break
18263done
18264rm -f conftest.$ac_ext
18265CC=$ac_save_CC
18266
18267fi
18268# AC_CACHE_VAL
18269case "x$ac_cv_prog_cc_c89" in
18270  x)
18271    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18272$as_echo "none needed" >&6; } ;;
18273  xno)
18274    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18275$as_echo "unsupported" >&6; } ;;
18276  *)
18277    CC="$CC $ac_cv_prog_cc_c89"
18278    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
18279$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
18280esac
18281if test "x$ac_cv_prog_cc_c89" != xno; then :
18282
18283fi
18284
18285ac_ext=c
18286ac_cpp='$CPP $CPPFLAGS'
18287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18289ac_compiler_gnu=$ac_cv_c_compiler_gnu
18290
18291ac_ext=c
18292ac_cpp='$CPP $CPPFLAGS'
18293ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18294ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18295ac_compiler_gnu=$ac_cv_c_compiler_gnu
18296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
18297$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
18298if ${am_cv_prog_cc_c_o+:} false; then :
18299  $as_echo_n "(cached) " >&6
18300else
18301  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18302/* end confdefs.h.  */
18303
18304int
18305main ()
18306{
18307
18308  ;
18309  return 0;
18310}
18311_ACEOF
18312  # Make sure it works both with $CC and with simple cc.
18313  # Following AC_PROG_CC_C_O, we do the test twice because some
18314  # compilers refuse to overwrite an existing .o file with -o,
18315  # though they will create one.
18316  am_cv_prog_cc_c_o=yes
18317  for am_i in 1 2; do
18318    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
18319   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
18320   ac_status=$?
18321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322   (exit $ac_status); } \
18323         && test -f conftest2.$ac_objext; then
18324      : OK
18325    else
18326      am_cv_prog_cc_c_o=no
18327      break
18328    fi
18329  done
18330  rm -f core conftest*
18331  unset am_i
18332fi
18333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
18334$as_echo "$am_cv_prog_cc_c_o" >&6; }
18335if test "$am_cv_prog_cc_c_o" != yes; then
18336   # Losing compiler, so override with the script.
18337   # FIXME: It is wrong to rewrite CC.
18338   # But if we don't then we get into trouble of one sort or another.
18339   # A longer-term fix would be to have automake use am__CC in this case,
18340   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
18341   CC="$am_aux_dir/compile $CC"
18342fi
18343ac_ext=c
18344ac_cpp='$CPP $CPPFLAGS'
18345ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18346ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18347ac_compiler_gnu=$ac_cv_c_compiler_gnu
18348
18349
18350depcc="$CC"   am_compiler_list=
18351
18352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
18353$as_echo_n "checking dependency style of $depcc... " >&6; }
18354if ${am_cv_CC_dependencies_compiler_type+:} false; then :
18355  $as_echo_n "(cached) " >&6
18356else
18357  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
18358  # We make a subdir and do the tests there.  Otherwise we can end up
18359  # making bogus files that we don't know about and never remove.  For
18360  # instance it was reported that on HP-UX the gcc test will end up
18361  # making a dummy file named 'D' -- because '-MD' means "put the output
18362  # in D".
18363  rm -rf conftest.dir
18364  mkdir conftest.dir
18365  # Copy depcomp to subdir because otherwise we won't find it if we're
18366  # using a relative directory.
18367  cp "$am_depcomp" conftest.dir
18368  cd conftest.dir
18369  # We will build objects and dependencies in a subdirectory because
18370  # it helps to detect inapplicable dependency modes.  For instance
18371  # both Tru64's cc and ICC support -MD to output dependencies as a
18372  # side effect of compilation, but ICC will put the dependencies in
18373  # the current directory while Tru64 will put them in the object
18374  # directory.
18375  mkdir sub
18376
18377  am_cv_CC_dependencies_compiler_type=none
18378  if test "$am_compiler_list" = ""; then
18379     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
18380  fi
18381  am__universal=false
18382  case " $depcc " in #(
18383     *\ -arch\ *\ -arch\ *) am__universal=true ;;
18384     esac
18385
18386  for depmode in $am_compiler_list; do
18387    # Setup a source with many dependencies, because some compilers
18388    # like to wrap large dependency lists on column 80 (with \), and
18389    # we should not choose a depcomp mode which is confused by this.
18390    #
18391    # We need to recreate these files for each test, as the compiler may
18392    # overwrite some of them when testing with obscure command lines.
18393    # This happens at least with the AIX C compiler.
18394    : > sub/conftest.c
18395    for i in 1 2 3 4 5 6; do
18396      echo '#include "conftst'$i'.h"' >> sub/conftest.c
18397      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
18398      # Solaris 10 /bin/sh.
18399      echo '/* dummy */' > sub/conftst$i.h
18400    done
18401    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
18402
18403    # We check with '-c' and '-o' for the sake of the "dashmstdout"
18404    # mode.  It turns out that the SunPro C++ compiler does not properly
18405    # handle '-M -o', and we need to detect this.  Also, some Intel
18406    # versions had trouble with output in subdirs.
18407    am__obj=sub/conftest.${OBJEXT-o}
18408    am__minus_obj="-o $am__obj"
18409    case $depmode in
18410    gcc)
18411      # This depmode causes a compiler race in universal mode.
18412      test "$am__universal" = false || continue
18413      ;;
18414    nosideeffect)
18415      # After this tag, mechanisms are not by side-effect, so they'll
18416      # only be used when explicitly requested.
18417      if test "x$enable_dependency_tracking" = xyes; then
18418	continue
18419      else
18420	break
18421      fi
18422      ;;
18423    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
18424      # This compiler won't grok '-c -o', but also, the minuso test has
18425      # not run yet.  These depmodes are late enough in the game, and
18426      # so weak that their functioning should not be impacted.
18427      am__obj=conftest.${OBJEXT-o}
18428      am__minus_obj=
18429      ;;
18430    none) break ;;
18431    esac
18432    if depmode=$depmode \
18433       source=sub/conftest.c object=$am__obj \
18434       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
18435       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
18436         >/dev/null 2>conftest.err &&
18437       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
18438       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
18439       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
18440       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
18441      # icc doesn't choke on unknown options, it will just issue warnings
18442      # or remarks (even with -Werror).  So we grep stderr for any message
18443      # that says an option was ignored or not supported.
18444      # When given -MP, icc 7.0 and 7.1 complain thusly:
18445      #   icc: Command line warning: ignoring option '-M'; no argument required
18446      # The diagnosis changed in icc 8.0:
18447      #   icc: Command line remark: option '-MP' not supported
18448      if (grep 'ignoring option' conftest.err ||
18449          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
18450        am_cv_CC_dependencies_compiler_type=$depmode
18451        break
18452      fi
18453    fi
18454  done
18455
18456  cd ..
18457  rm -rf conftest.dir
18458else
18459  am_cv_CC_dependencies_compiler_type=none
18460fi
18461
18462fi
18463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
18464$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
18465CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
18466
18467 if
18468  test "x$enable_dependency_tracking" != xno \
18469  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
18470  am__fastdepCC_TRUE=
18471  am__fastdepCC_FALSE='#'
18472else
18473  am__fastdepCC_TRUE='#'
18474  am__fastdepCC_FALSE=
18475fi
18476
18477
18478   case $ac_cv_prog_cc_stdc in #(
18479  no) :
18480    ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
18481  *) :
18482    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
18483$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
18484if ${ac_cv_prog_cc_c99+:} false; then :
18485  $as_echo_n "(cached) " >&6
18486else
18487  ac_cv_prog_cc_c99=no
18488ac_save_CC=$CC
18489cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18490/* end confdefs.h.  */
18491#include <stdarg.h>
18492#include <stdbool.h>
18493#include <stdlib.h>
18494#include <wchar.h>
18495#include <stdio.h>
18496
18497// Check varargs macros.  These examples are taken from C99 6.10.3.5.
18498#define debug(...) fprintf (stderr, __VA_ARGS__)
18499#define showlist(...) puts (#__VA_ARGS__)
18500#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
18501static void
18502test_varargs_macros (void)
18503{
18504  int x = 1234;
18505  int y = 5678;
18506  debug ("Flag");
18507  debug ("X = %d\n", x);
18508  showlist (The first, second, and third items.);
18509  report (x>y, "x is %d but y is %d", x, y);
18510}
18511
18512// Check long long types.
18513#define BIG64 18446744073709551615ull
18514#define BIG32 4294967295ul
18515#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
18516#if !BIG_OK
18517  your preprocessor is broken;
18518#endif
18519#if BIG_OK
18520#else
18521  your preprocessor is broken;
18522#endif
18523static long long int bignum = -9223372036854775807LL;
18524static unsigned long long int ubignum = BIG64;
18525
18526struct incomplete_array
18527{
18528  int datasize;
18529  double data[];
18530};
18531
18532struct named_init {
18533  int number;
18534  const wchar_t *name;
18535  double average;
18536};
18537
18538typedef const char *ccp;
18539
18540static inline int
18541test_restrict (ccp restrict text)
18542{
18543  // See if C++-style comments work.
18544  // Iterate through items via the restricted pointer.
18545  // Also check for declarations in for loops.
18546  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
18547    continue;
18548  return 0;
18549}
18550
18551// Check varargs and va_copy.
18552static void
18553test_varargs (const char *format, ...)
18554{
18555  va_list args;
18556  va_start (args, format);
18557  va_list args_copy;
18558  va_copy (args_copy, args);
18559
18560  const char *str;
18561  int number;
18562  float fnumber;
18563
18564  while (*format)
18565    {
18566      switch (*format++)
18567	{
18568	case 's': // string
18569	  str = va_arg (args_copy, const char *);
18570	  break;
18571	case 'd': // int
18572	  number = va_arg (args_copy, int);
18573	  break;
18574	case 'f': // float
18575	  fnumber = va_arg (args_copy, double);
18576	  break;
18577	default:
18578	  break;
18579	}
18580    }
18581  va_end (args_copy);
18582  va_end (args);
18583}
18584
18585int
18586main ()
18587{
18588
18589  // Check bool.
18590  _Bool success = false;
18591
18592  // Check restrict.
18593  if (test_restrict ("String literal") == 0)
18594    success = true;
18595  char *restrict newvar = "Another string";
18596
18597  // Check varargs.
18598  test_varargs ("s, d' f .", "string", 65, 34.234);
18599  test_varargs_macros ();
18600
18601  // Check flexible array members.
18602  struct incomplete_array *ia =
18603    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
18604  ia->datasize = 10;
18605  for (int i = 0; i < ia->datasize; ++i)
18606    ia->data[i] = i * 1.234;
18607
18608  // Check named initializers.
18609  struct named_init ni = {
18610    .number = 34,
18611    .name = L"Test wide string",
18612    .average = 543.34343,
18613  };
18614
18615  ni.number = 58;
18616
18617  int dynamic_array[ni.number];
18618  dynamic_array[ni.number - 1] = 543;
18619
18620  // work around unused variable warnings
18621  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
18622	  || dynamic_array[ni.number - 1] != 543);
18623
18624  ;
18625  return 0;
18626}
18627_ACEOF
18628for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
18629do
18630  CC="$ac_save_CC $ac_arg"
18631  if ac_fn_c_try_compile "$LINENO"; then :
18632  ac_cv_prog_cc_c99=$ac_arg
18633fi
18634rm -f core conftest.err conftest.$ac_objext
18635  test "x$ac_cv_prog_cc_c99" != "xno" && break
18636done
18637rm -f conftest.$ac_ext
18638CC=$ac_save_CC
18639
18640fi
18641# AC_CACHE_VAL
18642case "x$ac_cv_prog_cc_c99" in
18643  x)
18644    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18645$as_echo "none needed" >&6; } ;;
18646  xno)
18647    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18648$as_echo "unsupported" >&6; } ;;
18649  *)
18650    CC="$CC $ac_cv_prog_cc_c99"
18651    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
18652$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
18653esac
18654if test "x$ac_cv_prog_cc_c99" != xno; then :
18655  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
18656else
18657  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
18658$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
18659if ${ac_cv_prog_cc_c89+:} false; then :
18660  $as_echo_n "(cached) " >&6
18661else
18662  ac_cv_prog_cc_c89=no
18663ac_save_CC=$CC
18664cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665/* end confdefs.h.  */
18666#include <stdarg.h>
18667#include <stdio.h>
18668struct stat;
18669/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
18670struct buf { int x; };
18671FILE * (*rcsopen) (struct buf *, struct stat *, int);
18672static char *e (p, i)
18673     char **p;
18674     int i;
18675{
18676  return p[i];
18677}
18678static char *f (char * (*g) (char **, int), char **p, ...)
18679{
18680  char *s;
18681  va_list v;
18682  va_start (v,p);
18683  s = g (p, va_arg (v,int));
18684  va_end (v);
18685  return s;
18686}
18687
18688/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
18689   function prototypes and stuff, but not '\xHH' hex character constants.
18690   These don't provoke an error unfortunately, instead are silently treated
18691   as 'x'.  The following induces an error, until -std is added to get
18692   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
18693   array size at least.  It's necessary to write '\x00'==0 to get something
18694   that's true only with -std.  */
18695int osf4_cc_array ['\x00' == 0 ? 1 : -1];
18696
18697/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
18698   inside strings and character constants.  */
18699#define FOO(x) 'x'
18700int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
18701
18702int test (int i, double x);
18703struct s1 {int (*f) (int a);};
18704struct s2 {int (*f) (double a);};
18705int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
18706int argc;
18707char **argv;
18708int
18709main ()
18710{
18711return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
18712  ;
18713  return 0;
18714}
18715_ACEOF
18716for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
18717	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
18718do
18719  CC="$ac_save_CC $ac_arg"
18720  if ac_fn_c_try_compile "$LINENO"; then :
18721  ac_cv_prog_cc_c89=$ac_arg
18722fi
18723rm -f core conftest.err conftest.$ac_objext
18724  test "x$ac_cv_prog_cc_c89" != "xno" && break
18725done
18726rm -f conftest.$ac_ext
18727CC=$ac_save_CC
18728
18729fi
18730# AC_CACHE_VAL
18731case "x$ac_cv_prog_cc_c89" in
18732  x)
18733    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18734$as_echo "none needed" >&6; } ;;
18735  xno)
18736    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18737$as_echo "unsupported" >&6; } ;;
18738  *)
18739    CC="$CC $ac_cv_prog_cc_c89"
18740    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
18741$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
18742esac
18743if test "x$ac_cv_prog_cc_c89" != xno; then :
18744  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
18745else
18746  ac_cv_prog_cc_stdc=no
18747fi
18748
18749fi
18750 ;;
18751esac
18752  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
18753$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
18754  if ${ac_cv_prog_cc_stdc+:} false; then :
18755  $as_echo_n "(cached) " >&6
18756fi
18757
18758  case $ac_cv_prog_cc_stdc in #(
18759  no) :
18760    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18761$as_echo "unsupported" >&6; } ;; #(
18762  '') :
18763    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18764$as_echo "none needed" >&6; } ;; #(
18765  *) :
18766    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
18767$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
18768esac
18769
18770
18771ac_ext=cpp
18772ac_cpp='$CXXCPP $CPPFLAGS'
18773ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18774ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18775ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18776if test -z "$CXX"; then
18777  if test -n "$CCC"; then
18778    CXX=$CCC
18779  else
18780    if test -n "$ac_tool_prefix"; then
18781  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18782  do
18783    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18784set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18786$as_echo_n "checking for $ac_word... " >&6; }
18787if ${ac_cv_prog_CXX+:} false; then :
18788  $as_echo_n "(cached) " >&6
18789else
18790  if test -n "$CXX"; then
18791  ac_cv_prog_CXX="$CXX" # Let the user override the test.
18792else
18793as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18794for as_dir in $PATH
18795do
18796  IFS=$as_save_IFS
18797  test -z "$as_dir" && as_dir=.
18798    for ac_exec_ext in '' $ac_executable_extensions; do
18799  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18800    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18801    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18802    break 2
18803  fi
18804done
18805  done
18806IFS=$as_save_IFS
18807
18808fi
18809fi
18810CXX=$ac_cv_prog_CXX
18811if test -n "$CXX"; then
18812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18813$as_echo "$CXX" >&6; }
18814else
18815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18816$as_echo "no" >&6; }
18817fi
18818
18819
18820    test -n "$CXX" && break
18821  done
18822fi
18823if test -z "$CXX"; then
18824  ac_ct_CXX=$CXX
18825  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18826do
18827  # Extract the first word of "$ac_prog", so it can be a program name with args.
18828set dummy $ac_prog; ac_word=$2
18829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18830$as_echo_n "checking for $ac_word... " >&6; }
18831if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18832  $as_echo_n "(cached) " >&6
18833else
18834  if test -n "$ac_ct_CXX"; then
18835  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18836else
18837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18838for as_dir in $PATH
18839do
18840  IFS=$as_save_IFS
18841  test -z "$as_dir" && as_dir=.
18842    for ac_exec_ext in '' $ac_executable_extensions; do
18843  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18844    ac_cv_prog_ac_ct_CXX="$ac_prog"
18845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18846    break 2
18847  fi
18848done
18849  done
18850IFS=$as_save_IFS
18851
18852fi
18853fi
18854ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18855if test -n "$ac_ct_CXX"; then
18856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18857$as_echo "$ac_ct_CXX" >&6; }
18858else
18859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18860$as_echo "no" >&6; }
18861fi
18862
18863
18864  test -n "$ac_ct_CXX" && break
18865done
18866
18867  if test "x$ac_ct_CXX" = x; then
18868    CXX="g++"
18869  else
18870    case $cross_compiling:$ac_tool_warned in
18871yes:)
18872{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18873$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18874ac_tool_warned=yes ;;
18875esac
18876    CXX=$ac_ct_CXX
18877  fi
18878fi
18879
18880  fi
18881fi
18882# Provide some information about the compiler.
18883$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18884set X $ac_compile
18885ac_compiler=$2
18886for ac_option in --version -v -V -qversion; do
18887  { { ac_try="$ac_compiler $ac_option >&5"
18888case "(($ac_try" in
18889  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18890  *) ac_try_echo=$ac_try;;
18891esac
18892eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18893$as_echo "$ac_try_echo"; } >&5
18894  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18895  ac_status=$?
18896  if test -s conftest.err; then
18897    sed '10a\
18898... rest of stderr output deleted ...
18899         10q' conftest.err >conftest.er1
18900    cat conftest.er1 >&5
18901  fi
18902  rm -f conftest.er1 conftest.err
18903  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18904  test $ac_status = 0; }
18905done
18906
18907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18908$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18909if ${ac_cv_cxx_compiler_gnu+:} false; then :
18910  $as_echo_n "(cached) " >&6
18911else
18912  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18913/* end confdefs.h.  */
18914
18915int
18916main ()
18917{
18918#ifndef __GNUC__
18919       choke me
18920#endif
18921
18922  ;
18923  return 0;
18924}
18925_ACEOF
18926if ac_fn_cxx_try_compile "$LINENO"; then :
18927  ac_compiler_gnu=yes
18928else
18929  ac_compiler_gnu=no
18930fi
18931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18932ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18933
18934fi
18935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18936$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18937if test $ac_compiler_gnu = yes; then
18938  GXX=yes
18939else
18940  GXX=
18941fi
18942ac_test_CXXFLAGS=${CXXFLAGS+set}
18943ac_save_CXXFLAGS=$CXXFLAGS
18944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18945$as_echo_n "checking whether $CXX accepts -g... " >&6; }
18946if ${ac_cv_prog_cxx_g+:} false; then :
18947  $as_echo_n "(cached) " >&6
18948else
18949  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18950   ac_cxx_werror_flag=yes
18951   ac_cv_prog_cxx_g=no
18952   CXXFLAGS="-g"
18953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18954/* end confdefs.h.  */
18955
18956int
18957main ()
18958{
18959
18960  ;
18961  return 0;
18962}
18963_ACEOF
18964if ac_fn_cxx_try_compile "$LINENO"; then :
18965  ac_cv_prog_cxx_g=yes
18966else
18967  CXXFLAGS=""
18968      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18969/* end confdefs.h.  */
18970
18971int
18972main ()
18973{
18974
18975  ;
18976  return 0;
18977}
18978_ACEOF
18979if ac_fn_cxx_try_compile "$LINENO"; then :
18980
18981else
18982  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18983	 CXXFLAGS="-g"
18984	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18985/* end confdefs.h.  */
18986
18987int
18988main ()
18989{
18990
18991  ;
18992  return 0;
18993}
18994_ACEOF
18995if ac_fn_cxx_try_compile "$LINENO"; then :
18996  ac_cv_prog_cxx_g=yes
18997fi
18998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18999fi
19000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19001fi
19002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19003   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19004fi
19005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
19006$as_echo "$ac_cv_prog_cxx_g" >&6; }
19007if test "$ac_test_CXXFLAGS" = set; then
19008  CXXFLAGS=$ac_save_CXXFLAGS
19009elif test $ac_cv_prog_cxx_g = yes; then
19010  if test "$GXX" = yes; then
19011    CXXFLAGS="-g -O2"
19012  else
19013    CXXFLAGS="-g"
19014  fi
19015else
19016  if test "$GXX" = yes; then
19017    CXXFLAGS="-O2"
19018  else
19019    CXXFLAGS=
19020  fi
19021fi
19022ac_ext=c
19023ac_cpp='$CPP $CPPFLAGS'
19024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19025ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19026ac_compiler_gnu=$ac_cv_c_compiler_gnu
19027
19028depcc="$CXX"  am_compiler_list=
19029
19030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
19031$as_echo_n "checking dependency style of $depcc... " >&6; }
19032if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
19033  $as_echo_n "(cached) " >&6
19034else
19035  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
19036  # We make a subdir and do the tests there.  Otherwise we can end up
19037  # making bogus files that we don't know about and never remove.  For
19038  # instance it was reported that on HP-UX the gcc test will end up
19039  # making a dummy file named 'D' -- because '-MD' means "put the output
19040  # in D".
19041  rm -rf conftest.dir
19042  mkdir conftest.dir
19043  # Copy depcomp to subdir because otherwise we won't find it if we're
19044  # using a relative directory.
19045  cp "$am_depcomp" conftest.dir
19046  cd conftest.dir
19047  # We will build objects and dependencies in a subdirectory because
19048  # it helps to detect inapplicable dependency modes.  For instance
19049  # both Tru64's cc and ICC support -MD to output dependencies as a
19050  # side effect of compilation, but ICC will put the dependencies in
19051  # the current directory while Tru64 will put them in the object
19052  # directory.
19053  mkdir sub
19054
19055  am_cv_CXX_dependencies_compiler_type=none
19056  if test "$am_compiler_list" = ""; then
19057     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
19058  fi
19059  am__universal=false
19060  case " $depcc " in #(
19061     *\ -arch\ *\ -arch\ *) am__universal=true ;;
19062     esac
19063
19064  for depmode in $am_compiler_list; do
19065    # Setup a source with many dependencies, because some compilers
19066    # like to wrap large dependency lists on column 80 (with \), and
19067    # we should not choose a depcomp mode which is confused by this.
19068    #
19069    # We need to recreate these files for each test, as the compiler may
19070    # overwrite some of them when testing with obscure command lines.
19071    # This happens at least with the AIX C compiler.
19072    : > sub/conftest.c
19073    for i in 1 2 3 4 5 6; do
19074      echo '#include "conftst'$i'.h"' >> sub/conftest.c
19075      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
19076      # Solaris 10 /bin/sh.
19077      echo '/* dummy */' > sub/conftst$i.h
19078    done
19079    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
19080
19081    # We check with '-c' and '-o' for the sake of the "dashmstdout"
19082    # mode.  It turns out that the SunPro C++ compiler does not properly
19083    # handle '-M -o', and we need to detect this.  Also, some Intel
19084    # versions had trouble with output in subdirs.
19085    am__obj=sub/conftest.${OBJEXT-o}
19086    am__minus_obj="-o $am__obj"
19087    case $depmode in
19088    gcc)
19089      # This depmode causes a compiler race in universal mode.
19090      test "$am__universal" = false || continue
19091      ;;
19092    nosideeffect)
19093      # After this tag, mechanisms are not by side-effect, so they'll
19094      # only be used when explicitly requested.
19095      if test "x$enable_dependency_tracking" = xyes; then
19096	continue
19097      else
19098	break
19099      fi
19100      ;;
19101    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
19102      # This compiler won't grok '-c -o', but also, the minuso test has
19103      # not run yet.  These depmodes are late enough in the game, and
19104      # so weak that their functioning should not be impacted.
19105      am__obj=conftest.${OBJEXT-o}
19106      am__minus_obj=
19107      ;;
19108    none) break ;;
19109    esac
19110    if depmode=$depmode \
19111       source=sub/conftest.c object=$am__obj \
19112       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
19113       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
19114         >/dev/null 2>conftest.err &&
19115       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
19116       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
19117       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
19118       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
19119      # icc doesn't choke on unknown options, it will just issue warnings
19120      # or remarks (even with -Werror).  So we grep stderr for any message
19121      # that says an option was ignored or not supported.
19122      # When given -MP, icc 7.0 and 7.1 complain thusly:
19123      #   icc: Command line warning: ignoring option '-M'; no argument required
19124      # The diagnosis changed in icc 8.0:
19125      #   icc: Command line remark: option '-MP' not supported
19126      if (grep 'ignoring option' conftest.err ||
19127          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
19128        am_cv_CXX_dependencies_compiler_type=$depmode
19129        break
19130      fi
19131    fi
19132  done
19133
19134  cd ..
19135  rm -rf conftest.dir
19136else
19137  am_cv_CXX_dependencies_compiler_type=none
19138fi
19139
19140fi
19141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
19142$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
19143CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
19144
19145 if
19146  test "x$enable_dependency_tracking" != xno \
19147  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
19148  am__fastdepCXX_TRUE=
19149  am__fastdepCXX_FALSE='#'
19150else
19151  am__fastdepCXX_TRUE='#'
19152  am__fastdepCXX_FALSE=
19153fi
19154
19155
19156
19157
19158func_stripname_cnf ()
19159{
19160  case $2 in
19161  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
19162  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
19163  esac
19164} # func_stripname_cnf
19165
19166      if test -n "$CXX" && ( test no != "$CXX" &&
19167    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
19168    (test g++ != "$CXX"))); then
19169  ac_ext=cpp
19170ac_cpp='$CXXCPP $CPPFLAGS'
19171ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19172ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19173ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
19175$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
19176if test -z "$CXXCPP"; then
19177  if ${ac_cv_prog_CXXCPP+:} false; then :
19178  $as_echo_n "(cached) " >&6
19179else
19180      # Double quotes because CXXCPP needs to be expanded
19181    for CXXCPP in "$CXX -E" "/lib/cpp"
19182    do
19183      ac_preproc_ok=false
19184for ac_cxx_preproc_warn_flag in '' yes
19185do
19186  # Use a header file that comes with gcc, so configuring glibc
19187  # with a fresh cross-compiler works.
19188  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19189  # <limits.h> exists even on freestanding compilers.
19190  # On the NeXT, cc -E runs the code through the compiler's parser,
19191  # not just through cpp. "Syntax error" is here to catch this case.
19192  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19193/* end confdefs.h.  */
19194#ifdef __STDC__
19195# include <limits.h>
19196#else
19197# include <assert.h>
19198#endif
19199		     Syntax error
19200_ACEOF
19201if ac_fn_cxx_try_cpp "$LINENO"; then :
19202
19203else
19204  # Broken: fails on valid input.
19205continue
19206fi
19207rm -f conftest.err conftest.i conftest.$ac_ext
19208
19209  # OK, works on sane cases.  Now check whether nonexistent headers
19210  # can be detected and how.
19211  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19212/* end confdefs.h.  */
19213#include <ac_nonexistent.h>
19214_ACEOF
19215if ac_fn_cxx_try_cpp "$LINENO"; then :
19216  # Broken: success on invalid input.
19217continue
19218else
19219  # Passes both tests.
19220ac_preproc_ok=:
19221break
19222fi
19223rm -f conftest.err conftest.i conftest.$ac_ext
19224
19225done
19226# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19227rm -f conftest.i conftest.err conftest.$ac_ext
19228if $ac_preproc_ok; then :
19229  break
19230fi
19231
19232    done
19233    ac_cv_prog_CXXCPP=$CXXCPP
19234
19235fi
19236  CXXCPP=$ac_cv_prog_CXXCPP
19237else
19238  ac_cv_prog_CXXCPP=$CXXCPP
19239fi
19240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
19241$as_echo "$CXXCPP" >&6; }
19242ac_preproc_ok=false
19243for ac_cxx_preproc_warn_flag in '' yes
19244do
19245  # Use a header file that comes with gcc, so configuring glibc
19246  # with a fresh cross-compiler works.
19247  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19248  # <limits.h> exists even on freestanding compilers.
19249  # On the NeXT, cc -E runs the code through the compiler's parser,
19250  # not just through cpp. "Syntax error" is here to catch this case.
19251  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19252/* end confdefs.h.  */
19253#ifdef __STDC__
19254# include <limits.h>
19255#else
19256# include <assert.h>
19257#endif
19258		     Syntax error
19259_ACEOF
19260if ac_fn_cxx_try_cpp "$LINENO"; then :
19261
19262else
19263  # Broken: fails on valid input.
19264continue
19265fi
19266rm -f conftest.err conftest.i conftest.$ac_ext
19267
19268  # OK, works on sane cases.  Now check whether nonexistent headers
19269  # can be detected and how.
19270  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19271/* end confdefs.h.  */
19272#include <ac_nonexistent.h>
19273_ACEOF
19274if ac_fn_cxx_try_cpp "$LINENO"; then :
19275  # Broken: success on invalid input.
19276continue
19277else
19278  # Passes both tests.
19279ac_preproc_ok=:
19280break
19281fi
19282rm -f conftest.err conftest.i conftest.$ac_ext
19283
19284done
19285# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19286rm -f conftest.i conftest.err conftest.$ac_ext
19287if $ac_preproc_ok; then :
19288
19289else
19290  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19291$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19292as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
19293See \`config.log' for more details" "$LINENO" 5; }
19294fi
19295
19296ac_ext=c
19297ac_cpp='$CPP $CPPFLAGS'
19298ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19299ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19300ac_compiler_gnu=$ac_cv_c_compiler_gnu
19301
19302else
19303  _lt_caught_CXX_error=yes
19304fi
19305
19306ac_ext=cpp
19307ac_cpp='$CXXCPP $CPPFLAGS'
19308ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19309ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19310ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19311
19312archive_cmds_need_lc_CXX=no
19313allow_undefined_flag_CXX=
19314always_export_symbols_CXX=no
19315archive_expsym_cmds_CXX=
19316compiler_needs_object_CXX=no
19317export_dynamic_flag_spec_CXX=
19318hardcode_direct_CXX=no
19319hardcode_direct_absolute_CXX=no
19320hardcode_libdir_flag_spec_CXX=
19321hardcode_libdir_separator_CXX=
19322hardcode_minus_L_CXX=no
19323hardcode_shlibpath_var_CXX=unsupported
19324hardcode_automatic_CXX=no
19325inherit_rpath_CXX=no
19326module_cmds_CXX=
19327module_expsym_cmds_CXX=
19328link_all_deplibs_CXX=unknown
19329old_archive_cmds_CXX=$old_archive_cmds
19330reload_flag_CXX=$reload_flag
19331reload_cmds_CXX=$reload_cmds
19332no_undefined_flag_CXX=
19333whole_archive_flag_spec_CXX=
19334enable_shared_with_static_runtimes_CXX=no
19335
19336# Source file extension for C++ test sources.
19337ac_ext=cpp
19338
19339# Object file extension for compiled C++ test sources.
19340objext=o
19341objext_CXX=$objext
19342
19343# No sense in running all these tests if we already determined that
19344# the CXX compiler isn't working.  Some variables (like enable_shared)
19345# are currently assumed to apply to all compilers on this platform,
19346# and will be corrupted by setting them based on a non-working compiler.
19347if test yes != "$_lt_caught_CXX_error"; then
19348  # Code to be used in simple compile tests
19349  lt_simple_compile_test_code="int some_variable = 0;"
19350
19351  # Code to be used in simple link tests
19352  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
19353
19354  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19355
19356
19357
19358
19359
19360
19361# If no C compiler was specified, use CC.
19362LTCC=${LTCC-"$CC"}
19363
19364# If no C compiler flags were specified, use CFLAGS.
19365LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19366
19367# Allow CC to be a program name with arguments.
19368compiler=$CC
19369
19370
19371  # save warnings/boilerplate of simple test code
19372  ac_outfile=conftest.$ac_objext
19373echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19374eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19375_lt_compiler_boilerplate=`cat conftest.err`
19376$RM conftest*
19377
19378  ac_outfile=conftest.$ac_objext
19379echo "$lt_simple_link_test_code" >conftest.$ac_ext
19380eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19381_lt_linker_boilerplate=`cat conftest.err`
19382$RM -r conftest*
19383
19384
19385  # Allow CC to be a program name with arguments.
19386  lt_save_CC=$CC
19387  lt_save_CFLAGS=$CFLAGS
19388  lt_save_LD=$LD
19389  lt_save_GCC=$GCC
19390  GCC=$GXX
19391  lt_save_with_gnu_ld=$with_gnu_ld
19392  lt_save_path_LD=$lt_cv_path_LD
19393  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
19394    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
19395  else
19396    $as_unset lt_cv_prog_gnu_ld
19397  fi
19398  if test -n "${lt_cv_path_LDCXX+set}"; then
19399    lt_cv_path_LD=$lt_cv_path_LDCXX
19400  else
19401    $as_unset lt_cv_path_LD
19402  fi
19403  test -z "${LDCXX+set}" || LD=$LDCXX
19404  CC=${CXX-"c++"}
19405  CFLAGS=$CXXFLAGS
19406  compiler=$CC
19407  compiler_CXX=$CC
19408  func_cc_basename $compiler
19409cc_basename=$func_cc_basename_result
19410
19411
19412  if test -n "$compiler"; then
19413    # We don't want -fno-exception when compiling C++ code, so set the
19414    # no_builtin_flag separately
19415    if test yes = "$GXX"; then
19416      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
19417    else
19418      lt_prog_compiler_no_builtin_flag_CXX=
19419    fi
19420
19421    if test yes = "$GXX"; then
19422      # Set up default GNU C++ configuration
19423
19424
19425
19426# Check whether --with-gnu-ld was given.
19427if test "${with_gnu_ld+set}" = set; then :
19428  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
19429else
19430  with_gnu_ld=no
19431fi
19432
19433ac_prog=ld
19434if test yes = "$GCC"; then
19435  # Check if gcc -print-prog-name=ld gives a path.
19436  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19437$as_echo_n "checking for ld used by $CC... " >&6; }
19438  case $host in
19439  *-*-mingw*)
19440    # gcc leaves a trailing carriage return, which upsets mingw
19441    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19442  *)
19443    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19444  esac
19445  case $ac_prog in
19446    # Accept absolute paths.
19447    [\\/]* | ?:[\\/]*)
19448      re_direlt='/[^/][^/]*/\.\./'
19449      # Canonicalize the pathname of ld
19450      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19451      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19452	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19453      done
19454      test -z "$LD" && LD=$ac_prog
19455      ;;
19456  "")
19457    # If it fails, then pretend we aren't using GCC.
19458    ac_prog=ld
19459    ;;
19460  *)
19461    # If it is relative, then search for the first ld in PATH.
19462    with_gnu_ld=unknown
19463    ;;
19464  esac
19465elif test yes = "$with_gnu_ld"; then
19466  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19467$as_echo_n "checking for GNU ld... " >&6; }
19468else
19469  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19470$as_echo_n "checking for non-GNU ld... " >&6; }
19471fi
19472if ${lt_cv_path_LD+:} false; then :
19473  $as_echo_n "(cached) " >&6
19474else
19475  if test -z "$LD"; then
19476  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
19477  for ac_dir in $PATH; do
19478    IFS=$lt_save_ifs
19479    test -z "$ac_dir" && ac_dir=.
19480    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19481      lt_cv_path_LD=$ac_dir/$ac_prog
19482      # Check to see if the program is GNU ld.  I'd rather use --version,
19483      # but apparently some variants of GNU ld only accept -v.
19484      # Break only if it was the GNU/non-GNU ld that we prefer.
19485      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19486      *GNU* | *'with BFD'*)
19487	test no != "$with_gnu_ld" && break
19488	;;
19489      *)
19490	test yes != "$with_gnu_ld" && break
19491	;;
19492      esac
19493    fi
19494  done
19495  IFS=$lt_save_ifs
19496else
19497  lt_cv_path_LD=$LD # Let the user override the test with a path.
19498fi
19499fi
19500
19501LD=$lt_cv_path_LD
19502if test -n "$LD"; then
19503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19504$as_echo "$LD" >&6; }
19505else
19506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19507$as_echo "no" >&6; }
19508fi
19509test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
19510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19511$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19512if ${lt_cv_prog_gnu_ld+:} false; then :
19513  $as_echo_n "(cached) " >&6
19514else
19515  # I'd rather use --version here, but apparently some GNU lds only accept -v.
19516case `$LD -v 2>&1 </dev/null` in
19517*GNU* | *'with BFD'*)
19518  lt_cv_prog_gnu_ld=yes
19519  ;;
19520*)
19521  lt_cv_prog_gnu_ld=no
19522  ;;
19523esac
19524fi
19525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19526$as_echo "$lt_cv_prog_gnu_ld" >&6; }
19527with_gnu_ld=$lt_cv_prog_gnu_ld
19528
19529
19530
19531
19532
19533
19534
19535      # Check if GNU C++ uses GNU ld as the underlying linker, since the
19536      # archiving commands below assume that GNU ld is being used.
19537      if test yes = "$with_gnu_ld"; then
19538        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
19539        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'
19540
19541        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
19542        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
19543
19544        # If archive_cmds runs LD, not CC, wlarc should be empty
19545        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
19546        #     investigate it a little bit more. (MM)
19547        wlarc='$wl'
19548
19549        # ancient GNU ld didn't support --whole-archive et. al.
19550        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
19551	  $GREP 'no-whole-archive' > /dev/null; then
19552          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
19553        else
19554          whole_archive_flag_spec_CXX=
19555        fi
19556      else
19557        with_gnu_ld=no
19558        wlarc=
19559
19560        # A generic and very simple default shared library creation
19561        # command for GNU C++ for the case where it uses the native
19562        # linker, instead of GNU ld.  If possible, this setting should
19563        # overridden to take advantage of the native linker features on
19564        # the platform it is being used on.
19565        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19566      fi
19567
19568      # Commands to make compiler produce verbose output that lists
19569      # what "hidden" libraries, object files and flags are used when
19570      # linking a shared library.
19571      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
19572
19573    else
19574      GXX=no
19575      with_gnu_ld=no
19576      wlarc=
19577    fi
19578
19579    # PORTME: fill in a description of your system's C++ link characteristics
19580    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19581$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19582    ld_shlibs_CXX=yes
19583    case $host_os in
19584      aix3*)
19585        # FIXME: insert proper C++ library support
19586        ld_shlibs_CXX=no
19587        ;;
19588      aix[4-9]*)
19589        if test ia64 = "$host_cpu"; then
19590          # On IA64, the linker does run time linking by default, so we don't
19591          # have to do anything special.
19592          aix_use_runtimelinking=no
19593          exp_sym_flag='-Bexport'
19594          no_entry_flag=
19595        else
19596          aix_use_runtimelinking=no
19597
19598          # Test if we are trying to use run time linking or normal
19599          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19600          # have runtime linking enabled, and use it for executables.
19601          # For shared libraries, we enable/disable runtime linking
19602          # depending on the kind of the shared library created -
19603          # when "with_aix_soname,aix_use_runtimelinking" is:
19604          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
19605          # "aix,yes"  lib.so          shared, rtl:yes, for executables
19606          #            lib.a           static archive
19607          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
19608          #            lib.a(lib.so.V) shared, rtl:no,  for executables
19609          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
19610          #            lib.a(lib.so.V) shared, rtl:no
19611          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
19612          #            lib.a           static archive
19613          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
19614	    for ld_flag in $LDFLAGS; do
19615	      case $ld_flag in
19616	      *-brtl*)
19617	        aix_use_runtimelinking=yes
19618	        break
19619	        ;;
19620	      esac
19621	    done
19622	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
19623	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
19624	      # so we don't have lib.a shared libs to link our executables.
19625	      # We have to force runtime linking in this case.
19626	      aix_use_runtimelinking=yes
19627	      LDFLAGS="$LDFLAGS -Wl,-brtl"
19628	    fi
19629	    ;;
19630          esac
19631
19632          exp_sym_flag='-bexport'
19633          no_entry_flag='-bnoentry'
19634        fi
19635
19636        # When large executables or shared objects are built, AIX ld can
19637        # have problems creating the table of contents.  If linking a library
19638        # or program results in "error TOC overflow" add -mminimal-toc to
19639        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
19640        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19641
19642        archive_cmds_CXX=''
19643        hardcode_direct_CXX=yes
19644        hardcode_direct_absolute_CXX=yes
19645        hardcode_libdir_separator_CXX=':'
19646        link_all_deplibs_CXX=yes
19647        file_list_spec_CXX='$wl-f,'
19648        case $with_aix_soname,$aix_use_runtimelinking in
19649        aix,*) ;;	# no import file
19650        svr4,* | *,yes) # use import file
19651          # The Import File defines what to hardcode.
19652          hardcode_direct_CXX=no
19653          hardcode_direct_absolute_CXX=no
19654          ;;
19655        esac
19656
19657        if test yes = "$GXX"; then
19658          case $host_os in aix4.[012]|aix4.[012].*)
19659          # We only want to do this on AIX 4.2 and lower, the check
19660          # below for broken collect2 doesn't work under 4.3+
19661	  collect2name=`$CC -print-prog-name=collect2`
19662	  if test -f "$collect2name" &&
19663	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
19664	  then
19665	    # We have reworked collect2
19666	    :
19667	  else
19668	    # We have old collect2
19669	    hardcode_direct_CXX=unsupported
19670	    # It fails to find uninstalled libraries when the uninstalled
19671	    # path is not listed in the libpath.  Setting hardcode_minus_L
19672	    # to unsupported forces relinking
19673	    hardcode_minus_L_CXX=yes
19674	    hardcode_libdir_flag_spec_CXX='-L$libdir'
19675	    hardcode_libdir_separator_CXX=
19676	  fi
19677          esac
19678          shared_flag='-shared'
19679	  if test yes = "$aix_use_runtimelinking"; then
19680	    shared_flag=$shared_flag' $wl-G'
19681	  fi
19682	  # Need to ensure runtime linking is disabled for the traditional
19683	  # shared library, or the linker may eventually find shared libraries
19684	  # /with/ Import File - we do not want to mix them.
19685	  shared_flag_aix='-shared'
19686	  shared_flag_svr4='-shared $wl-G'
19687        else
19688          # not using gcc
19689          if test ia64 = "$host_cpu"; then
19690	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19691	  # chokes on -Wl,-G. The following line is correct:
19692	  shared_flag='-G'
19693          else
19694	    if test yes = "$aix_use_runtimelinking"; then
19695	      shared_flag='$wl-G'
19696	    else
19697	      shared_flag='$wl-bM:SRE'
19698	    fi
19699	    shared_flag_aix='$wl-bM:SRE'
19700	    shared_flag_svr4='$wl-G'
19701          fi
19702        fi
19703
19704        export_dynamic_flag_spec_CXX='$wl-bexpall'
19705        # It seems that -bexpall does not export symbols beginning with
19706        # underscore (_), so it is better to generate a list of symbols to
19707	# export.
19708        always_export_symbols_CXX=yes
19709	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
19710          # Warning - without using the other runtime loading flags (-brtl),
19711          # -berok will link without error, but may produce a broken library.
19712          # The "-G" linker flag allows undefined symbols.
19713          no_undefined_flag_CXX='-bernotok'
19714          # Determine the default libpath from the value encoded in an empty
19715          # executable.
19716          if test set = "${lt_cv_aix_libpath+set}"; then
19717  aix_libpath=$lt_cv_aix_libpath
19718else
19719  if ${lt_cv_aix_libpath__CXX+:} false; then :
19720  $as_echo_n "(cached) " >&6
19721else
19722  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723/* end confdefs.h.  */
19724
19725int
19726main ()
19727{
19728
19729  ;
19730  return 0;
19731}
19732_ACEOF
19733if ac_fn_cxx_try_link "$LINENO"; then :
19734
19735  lt_aix_libpath_sed='
19736      /Import File Strings/,/^$/ {
19737	  /^0/ {
19738	      s/^0  *\([^ ]*\) *$/\1/
19739	      p
19740	  }
19741      }'
19742  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19743  # Check for a 64-bit object if we didn't find anything.
19744  if test -z "$lt_cv_aix_libpath__CXX"; then
19745    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19746  fi
19747fi
19748rm -f core conftest.err conftest.$ac_objext \
19749    conftest$ac_exeext conftest.$ac_ext
19750  if test -z "$lt_cv_aix_libpath__CXX"; then
19751    lt_cv_aix_libpath__CXX=/usr/lib:/lib
19752  fi
19753
19754fi
19755
19756  aix_libpath=$lt_cv_aix_libpath__CXX
19757fi
19758
19759          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
19760
19761          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
19762        else
19763          if test ia64 = "$host_cpu"; then
19764	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
19765	    allow_undefined_flag_CXX="-z nodefs"
19766	    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"
19767          else
19768	    # Determine the default libpath from the value encoded in an
19769	    # empty executable.
19770	    if test set = "${lt_cv_aix_libpath+set}"; then
19771  aix_libpath=$lt_cv_aix_libpath
19772else
19773  if ${lt_cv_aix_libpath__CXX+:} false; then :
19774  $as_echo_n "(cached) " >&6
19775else
19776  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19777/* end confdefs.h.  */
19778
19779int
19780main ()
19781{
19782
19783  ;
19784  return 0;
19785}
19786_ACEOF
19787if ac_fn_cxx_try_link "$LINENO"; then :
19788
19789  lt_aix_libpath_sed='
19790      /Import File Strings/,/^$/ {
19791	  /^0/ {
19792	      s/^0  *\([^ ]*\) *$/\1/
19793	      p
19794	  }
19795      }'
19796  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19797  # Check for a 64-bit object if we didn't find anything.
19798  if test -z "$lt_cv_aix_libpath__CXX"; then
19799    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19800  fi
19801fi
19802rm -f core conftest.err conftest.$ac_objext \
19803    conftest$ac_exeext conftest.$ac_ext
19804  if test -z "$lt_cv_aix_libpath__CXX"; then
19805    lt_cv_aix_libpath__CXX=/usr/lib:/lib
19806  fi
19807
19808fi
19809
19810  aix_libpath=$lt_cv_aix_libpath__CXX
19811fi
19812
19813	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
19814	    # Warning - without using the other run time loading flags,
19815	    # -berok will link without error, but may produce a broken library.
19816	    no_undefined_flag_CXX=' $wl-bernotok'
19817	    allow_undefined_flag_CXX=' $wl-berok'
19818	    if test yes = "$with_gnu_ld"; then
19819	      # We only use this code for GNU lds that support --whole-archive.
19820	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
19821	    else
19822	      # Exported symbols can be pulled into shared objects from archives
19823	      whole_archive_flag_spec_CXX='$convenience'
19824	    fi
19825	    archive_cmds_need_lc_CXX=yes
19826	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
19827	    # -brtl affects multiple linker settings, -berok does not and is overridden later
19828	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
19829	    if test svr4 != "$with_aix_soname"; then
19830	      # This is similar to how AIX traditionally builds its shared
19831	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
19832	      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'
19833	    fi
19834	    if test aix != "$with_aix_soname"; then
19835	      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'
19836	    else
19837	      # used by -dlpreopen to get the symbols
19838	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
19839	    fi
19840	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
19841          fi
19842        fi
19843        ;;
19844
19845      beos*)
19846	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
19847	  allow_undefined_flag_CXX=unsupported
19848	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19849	  # support --undefined.  This deserves some investigation.  FIXME
19850	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19851	else
19852	  ld_shlibs_CXX=no
19853	fi
19854	;;
19855
19856      chorus*)
19857        case $cc_basename in
19858          *)
19859	  # FIXME: insert proper C++ library support
19860	  ld_shlibs_CXX=no
19861	  ;;
19862        esac
19863        ;;
19864
19865      cygwin* | mingw* | pw32* | cegcc*)
19866	case $GXX,$cc_basename in
19867	,cl* | no,cl*)
19868	  # Native MSVC
19869	  # hardcode_libdir_flag_spec is actually meaningless, as there is
19870	  # no search path for DLLs.
19871	  hardcode_libdir_flag_spec_CXX=' '
19872	  allow_undefined_flag_CXX=unsupported
19873	  always_export_symbols_CXX=yes
19874	  file_list_spec_CXX='@'
19875	  # Tell ltmain to make .lib files, not .a files.
19876	  libext=lib
19877	  # Tell ltmain to make .dll files, not .so files.
19878	  shrext_cmds=.dll
19879	  # FIXME: Setting linknames here is a bad hack.
19880	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
19881	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
19882              cp "$export_symbols" "$output_objdir/$soname.def";
19883              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
19884            else
19885              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
19886            fi~
19887            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
19888            linknames='
19889	  # The linker will not automatically build a static lib if we build a DLL.
19890	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
19891	  enable_shared_with_static_runtimes_CXX=yes
19892	  # Don't use ranlib
19893	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
19894	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
19895            lt_tool_outputfile="@TOOL_OUTPUT@"~
19896            case $lt_outputfile in
19897              *.exe|*.EXE) ;;
19898              *)
19899                lt_outputfile=$lt_outputfile.exe
19900                lt_tool_outputfile=$lt_tool_outputfile.exe
19901                ;;
19902            esac~
19903            func_to_tool_file "$lt_outputfile"~
19904            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
19905              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
19906              $RM "$lt_outputfile.manifest";
19907            fi'
19908	  ;;
19909	*)
19910	  # g++
19911	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
19912	  # as there is no search path for DLLs.
19913	  hardcode_libdir_flag_spec_CXX='-L$libdir'
19914	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
19915	  allow_undefined_flag_CXX=unsupported
19916	  always_export_symbols_CXX=no
19917	  enable_shared_with_static_runtimes_CXX=yes
19918
19919	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
19920	    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'
19921	    # If the export-symbols file already is a .def file, use it as
19922	    # is; otherwise, prepend EXPORTS...
19923	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
19924              cp $export_symbols $output_objdir/$soname.def;
19925            else
19926              echo EXPORTS > $output_objdir/$soname.def;
19927              cat $export_symbols >> $output_objdir/$soname.def;
19928            fi~
19929            $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'
19930	  else
19931	    ld_shlibs_CXX=no
19932	  fi
19933	  ;;
19934	esac
19935	;;
19936      darwin* | rhapsody*)
19937
19938
19939  archive_cmds_need_lc_CXX=no
19940  hardcode_direct_CXX=no
19941  hardcode_automatic_CXX=yes
19942  hardcode_shlibpath_var_CXX=unsupported
19943  if test yes = "$lt_cv_ld_force_load"; then
19944    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\"`'
19945
19946  else
19947    whole_archive_flag_spec_CXX=''
19948  fi
19949  link_all_deplibs_CXX=yes
19950  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
19951  case $cc_basename in
19952     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
19953     *) _lt_dar_can_shared=$GCC ;;
19954  esac
19955  if test yes = "$_lt_dar_can_shared"; then
19956    output_verbose_link_cmd=func_echo_all
19957    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"
19958    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
19959    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"
19960    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"
19961       if test yes != "$lt_cv_apple_cc_single_mod"; then
19962      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"
19963      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"
19964    fi
19965
19966  else
19967  ld_shlibs_CXX=no
19968  fi
19969
19970	;;
19971
19972      os2*)
19973	hardcode_libdir_flag_spec_CXX='-L$libdir'
19974	hardcode_minus_L_CXX=yes
19975	allow_undefined_flag_CXX=unsupported
19976	shrext_cmds=.dll
19977	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
19978	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
19979	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
19980	  $ECHO EXPORTS >> $output_objdir/$libname.def~
19981	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
19982	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
19983	  emximp -o $lib $output_objdir/$libname.def'
19984	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
19985	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
19986	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
19987	  $ECHO EXPORTS >> $output_objdir/$libname.def~
19988	  prefix_cmds="$SED"~
19989	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
19990	    prefix_cmds="$prefix_cmds -e 1d";
19991	  fi~
19992	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
19993	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
19994	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
19995	  emximp -o $lib $output_objdir/$libname.def'
19996	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
19997	enable_shared_with_static_runtimes_CXX=yes
19998	;;
19999
20000      dgux*)
20001        case $cc_basename in
20002          ec++*)
20003	    # FIXME: insert proper C++ library support
20004	    ld_shlibs_CXX=no
20005	    ;;
20006          ghcx*)
20007	    # Green Hills C++ Compiler
20008	    # FIXME: insert proper C++ library support
20009	    ld_shlibs_CXX=no
20010	    ;;
20011          *)
20012	    # FIXME: insert proper C++ library support
20013	    ld_shlibs_CXX=no
20014	    ;;
20015        esac
20016        ;;
20017
20018      freebsd2.*)
20019        # C++ shared libraries reported to be fairly broken before
20020	# switch to ELF
20021        ld_shlibs_CXX=no
20022        ;;
20023
20024      freebsd-elf*)
20025        archive_cmds_need_lc_CXX=no
20026        ;;
20027
20028      freebsd* | dragonfly*)
20029        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
20030        # conventions
20031        ld_shlibs_CXX=yes
20032        ;;
20033
20034      haiku*)
20035        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
20036        link_all_deplibs_CXX=yes
20037        ;;
20038
20039      hpux9*)
20040        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
20041        hardcode_libdir_separator_CXX=:
20042        export_dynamic_flag_spec_CXX='$wl-E'
20043        hardcode_direct_CXX=yes
20044        hardcode_minus_L_CXX=yes # Not in the search PATH,
20045				             # but as the default
20046				             # location of the library.
20047
20048        case $cc_basename in
20049          CC*)
20050            # FIXME: insert proper C++ library support
20051            ld_shlibs_CXX=no
20052            ;;
20053          aCC*)
20054            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'
20055            # Commands to make compiler produce verbose output that lists
20056            # what "hidden" libraries, object files and flags are used when
20057            # linking a shared library.
20058            #
20059            # There doesn't appear to be a way to prevent this compiler from
20060            # explicitly linking system object files so we need to strip them
20061            # from the output so that they don't get included in the library
20062            # dependencies.
20063            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"'
20064            ;;
20065          *)
20066            if test yes = "$GXX"; then
20067              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'
20068            else
20069              # FIXME: insert proper C++ library support
20070              ld_shlibs_CXX=no
20071            fi
20072            ;;
20073        esac
20074        ;;
20075
20076      hpux10*|hpux11*)
20077        if test no = "$with_gnu_ld"; then
20078	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
20079	  hardcode_libdir_separator_CXX=:
20080
20081          case $host_cpu in
20082            hppa*64*|ia64*)
20083              ;;
20084            *)
20085	      export_dynamic_flag_spec_CXX='$wl-E'
20086              ;;
20087          esac
20088        fi
20089        case $host_cpu in
20090          hppa*64*|ia64*)
20091            hardcode_direct_CXX=no
20092            hardcode_shlibpath_var_CXX=no
20093            ;;
20094          *)
20095            hardcode_direct_CXX=yes
20096            hardcode_direct_absolute_CXX=yes
20097            hardcode_minus_L_CXX=yes # Not in the search PATH,
20098					         # but as the default
20099					         # location of the library.
20100            ;;
20101        esac
20102
20103        case $cc_basename in
20104          CC*)
20105	    # FIXME: insert proper C++ library support
20106	    ld_shlibs_CXX=no
20107	    ;;
20108          aCC*)
20109	    case $host_cpu in
20110	      hppa*64*)
20111	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20112	        ;;
20113	      ia64*)
20114	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20115	        ;;
20116	      *)
20117	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20118	        ;;
20119	    esac
20120	    # Commands to make compiler produce verbose output that lists
20121	    # what "hidden" libraries, object files and flags are used when
20122	    # linking a shared library.
20123	    #
20124	    # There doesn't appear to be a way to prevent this compiler from
20125	    # explicitly linking system object files so we need to strip them
20126	    # from the output so that they don't get included in the library
20127	    # dependencies.
20128	    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"'
20129	    ;;
20130          *)
20131	    if test yes = "$GXX"; then
20132	      if test no = "$with_gnu_ld"; then
20133	        case $host_cpu in
20134	          hppa*64*)
20135	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20136	            ;;
20137	          ia64*)
20138	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20139	            ;;
20140	          *)
20141	            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'
20142	            ;;
20143	        esac
20144	      fi
20145	    else
20146	      # FIXME: insert proper C++ library support
20147	      ld_shlibs_CXX=no
20148	    fi
20149	    ;;
20150        esac
20151        ;;
20152
20153      interix[3-9]*)
20154	hardcode_direct_CXX=no
20155	hardcode_shlibpath_var_CXX=no
20156	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
20157	export_dynamic_flag_spec_CXX='$wl-E'
20158	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
20159	# Instead, shared libraries are loaded at an image base (0x10000000 by
20160	# default) and relocated if they conflict, which is a slow very memory
20161	# consuming and fragmenting process.  To avoid this, we pick a random,
20162	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
20163	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
20164	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'
20165	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'
20166	;;
20167      irix5* | irix6*)
20168        case $cc_basename in
20169          CC*)
20170	    # SGI C++
20171	    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'
20172
20173	    # Archives containing C++ object files must be created using
20174	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
20175	    # necessary to make sure instantiated templates are included
20176	    # in the archive.
20177	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
20178	    ;;
20179          *)
20180	    if test yes = "$GXX"; then
20181	      if test no = "$with_gnu_ld"; then
20182	        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'
20183	      else
20184	        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'
20185	      fi
20186	    fi
20187	    link_all_deplibs_CXX=yes
20188	    ;;
20189        esac
20190        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
20191        hardcode_libdir_separator_CXX=:
20192        inherit_rpath_CXX=yes
20193        ;;
20194
20195      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
20196        case $cc_basename in
20197          KCC*)
20198	    # Kuck and Associates, Inc. (KAI) C++ Compiler
20199
20200	    # KCC will only create a shared library if the output file
20201	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
20202	    # to its proper name (with version) after linking.
20203	    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'
20204	    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'
20205	    # Commands to make compiler produce verbose output that lists
20206	    # what "hidden" libraries, object files and flags are used when
20207	    # linking a shared library.
20208	    #
20209	    # There doesn't appear to be a way to prevent this compiler from
20210	    # explicitly linking system object files so we need to strip them
20211	    # from the output so that they don't get included in the library
20212	    # dependencies.
20213	    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"'
20214
20215	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
20216	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
20217
20218	    # Archives containing C++ object files must be created using
20219	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
20220	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
20221	    ;;
20222	  icpc* | ecpc* )
20223	    # Intel C++
20224	    with_gnu_ld=yes
20225	    # version 8.0 and above of icpc choke on multiply defined symbols
20226	    # if we add $predep_objects and $postdep_objects, however 7.1 and
20227	    # earlier do not add the objects themselves.
20228	    case `$CC -V 2>&1` in
20229	      *"Version 7."*)
20230	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
20231		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'
20232		;;
20233	      *)  # Version 8.0 or newer
20234	        tmp_idyn=
20235	        case $host_cpu in
20236		  ia64*) tmp_idyn=' -i_dynamic';;
20237		esac
20238	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
20239		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'
20240		;;
20241	    esac
20242	    archive_cmds_need_lc_CXX=no
20243	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
20244	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
20245	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
20246	    ;;
20247          pgCC* | pgcpp*)
20248            # Portland Group C++ compiler
20249	    case `$CC -V` in
20250	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
20251	      prelink_cmds_CXX='tpldir=Template.dir~
20252               rm -rf $tpldir~
20253               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
20254               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
20255	      old_archive_cmds_CXX='tpldir=Template.dir~
20256                rm -rf $tpldir~
20257                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
20258                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
20259                $RANLIB $oldlib'
20260	      archive_cmds_CXX='tpldir=Template.dir~
20261                rm -rf $tpldir~
20262                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
20263                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
20264	      archive_expsym_cmds_CXX='tpldir=Template.dir~
20265                rm -rf $tpldir~
20266                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
20267                $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'
20268	      ;;
20269	    *) # Version 6 and above use weak symbols
20270	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
20271	      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'
20272	      ;;
20273	    esac
20274
20275	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
20276	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
20277	    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'
20278            ;;
20279	  cxx*)
20280	    # Compaq C++
20281	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
20282	    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'
20283
20284	    runpath_var=LD_RUN_PATH
20285	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
20286	    hardcode_libdir_separator_CXX=:
20287
20288	    # Commands to make compiler produce verbose output that lists
20289	    # what "hidden" libraries, object files and flags are used when
20290	    # linking a shared library.
20291	    #
20292	    # There doesn't appear to be a way to prevent this compiler from
20293	    # explicitly linking system object files so we need to strip them
20294	    # from the output so that they don't get included in the library
20295	    # dependencies.
20296	    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'
20297	    ;;
20298	  xl* | mpixl* | bgxl*)
20299	    # IBM XL 8.0 on PPC, with GNU ld
20300	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
20301	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
20302	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
20303	    if test yes = "$supports_anon_versioning"; then
20304	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
20305                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
20306                echo "local: *; };" >> $output_objdir/$libname.ver~
20307                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
20308	    fi
20309	    ;;
20310	  *)
20311	    case `$CC -V 2>&1 | sed 5q` in
20312	    *Sun\ C*)
20313	      # Sun C++ 5.9
20314	      no_undefined_flag_CXX=' -zdefs'
20315	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20316	      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'
20317	      hardcode_libdir_flag_spec_CXX='-R$libdir'
20318	      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'
20319	      compiler_needs_object_CXX=yes
20320
20321	      # Not sure whether something based on
20322	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
20323	      # would be better.
20324	      output_verbose_link_cmd='func_echo_all'
20325
20326	      # Archives containing C++ object files must be created using
20327	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
20328	      # necessary to make sure instantiated templates are included
20329	      # in the archive.
20330	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
20331	      ;;
20332	    esac
20333	    ;;
20334	esac
20335	;;
20336
20337      lynxos*)
20338        # FIXME: insert proper C++ library support
20339	ld_shlibs_CXX=no
20340	;;
20341
20342      m88k*)
20343        # FIXME: insert proper C++ library support
20344        ld_shlibs_CXX=no
20345	;;
20346
20347      mvs*)
20348        case $cc_basename in
20349          cxx*)
20350	    # FIXME: insert proper C++ library support
20351	    ld_shlibs_CXX=no
20352	    ;;
20353	  *)
20354	    # FIXME: insert proper C++ library support
20355	    ld_shlibs_CXX=no
20356	    ;;
20357	esac
20358	;;
20359
20360      netbsd*)
20361        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20362	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
20363	  wlarc=
20364	  hardcode_libdir_flag_spec_CXX='-R$libdir'
20365	  hardcode_direct_CXX=yes
20366	  hardcode_shlibpath_var_CXX=no
20367	fi
20368	# Workaround some broken pre-1.5 toolchains
20369	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
20370	;;
20371
20372      *nto* | *qnx*)
20373        ld_shlibs_CXX=yes
20374	;;
20375
20376      openbsd* | bitrig*)
20377	if test -f /usr/libexec/ld.so; then
20378	  hardcode_direct_CXX=yes
20379	  hardcode_shlibpath_var_CXX=no
20380	  hardcode_direct_absolute_CXX=yes
20381	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
20382	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
20383	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
20384	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
20385	    export_dynamic_flag_spec_CXX='$wl-E'
20386	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
20387	  fi
20388	  output_verbose_link_cmd=func_echo_all
20389	else
20390	  ld_shlibs_CXX=no
20391	fi
20392	;;
20393
20394      osf3* | osf4* | osf5*)
20395        case $cc_basename in
20396          KCC*)
20397	    # Kuck and Associates, Inc. (KAI) C++ Compiler
20398
20399	    # KCC will only create a shared library if the output file
20400	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
20401	    # to its proper name (with version) after linking.
20402	    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'
20403
20404	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
20405	    hardcode_libdir_separator_CXX=:
20406
20407	    # Archives containing C++ object files must be created using
20408	    # the KAI C++ compiler.
20409	    case $host in
20410	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
20411	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
20412	    esac
20413	    ;;
20414          RCC*)
20415	    # Rational C++ 2.4.1
20416	    # FIXME: insert proper C++ library support
20417	    ld_shlibs_CXX=no
20418	    ;;
20419          cxx*)
20420	    case $host in
20421	      osf3*)
20422	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
20423	        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'
20424	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
20425		;;
20426	      *)
20427	        allow_undefined_flag_CXX=' -expect_unresolved \*'
20428	        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'
20429	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
20430                  echo "-hidden">> $lib.exp~
20431                  $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~
20432                  $RM $lib.exp'
20433	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
20434		;;
20435	    esac
20436
20437	    hardcode_libdir_separator_CXX=:
20438
20439	    # Commands to make compiler produce verbose output that lists
20440	    # what "hidden" libraries, object files and flags are used when
20441	    # linking a shared library.
20442	    #
20443	    # There doesn't appear to be a way to prevent this compiler from
20444	    # explicitly linking system object files so we need to strip them
20445	    # from the output so that they don't get included in the library
20446	    # dependencies.
20447	    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"'
20448	    ;;
20449	  *)
20450	    if test yes,no = "$GXX,$with_gnu_ld"; then
20451	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
20452	      case $host in
20453	        osf3*)
20454	          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'
20455		  ;;
20456	        *)
20457	          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'
20458		  ;;
20459	      esac
20460
20461	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
20462	      hardcode_libdir_separator_CXX=:
20463
20464	      # Commands to make compiler produce verbose output that lists
20465	      # what "hidden" libraries, object files and flags are used when
20466	      # linking a shared library.
20467	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
20468
20469	    else
20470	      # FIXME: insert proper C++ library support
20471	      ld_shlibs_CXX=no
20472	    fi
20473	    ;;
20474        esac
20475        ;;
20476
20477      psos*)
20478        # FIXME: insert proper C++ library support
20479        ld_shlibs_CXX=no
20480        ;;
20481
20482      sunos4*)
20483        case $cc_basename in
20484          CC*)
20485	    # Sun C++ 4.x
20486	    # FIXME: insert proper C++ library support
20487	    ld_shlibs_CXX=no
20488	    ;;
20489          lcc*)
20490	    # Lucid
20491	    # FIXME: insert proper C++ library support
20492	    ld_shlibs_CXX=no
20493	    ;;
20494          *)
20495	    # FIXME: insert proper C++ library support
20496	    ld_shlibs_CXX=no
20497	    ;;
20498        esac
20499        ;;
20500
20501      solaris*)
20502        case $cc_basename in
20503          CC* | sunCC*)
20504	    # Sun C++ 4.2, 5.x and Centerline C++
20505            archive_cmds_need_lc_CXX=yes
20506	    no_undefined_flag_CXX=' -zdefs'
20507	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20508	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
20509              $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'
20510
20511	    hardcode_libdir_flag_spec_CXX='-R$libdir'
20512	    hardcode_shlibpath_var_CXX=no
20513	    case $host_os in
20514	      solaris2.[0-5] | solaris2.[0-5].*) ;;
20515	      *)
20516		# The compiler driver will combine and reorder linker options,
20517		# but understands '-z linker_flag'.
20518	        # Supported since Solaris 2.6 (maybe 2.5.1?)
20519		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
20520	        ;;
20521	    esac
20522	    link_all_deplibs_CXX=yes
20523
20524	    output_verbose_link_cmd='func_echo_all'
20525
20526	    # Archives containing C++ object files must be created using
20527	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
20528	    # necessary to make sure instantiated templates are included
20529	    # in the archive.
20530	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
20531	    ;;
20532          gcx*)
20533	    # Green Hills C++ Compiler
20534	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
20535
20536	    # The C++ compiler must be used to create the archive.
20537	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
20538	    ;;
20539          *)
20540	    # GNU C++ compiler with Solaris linker
20541	    if test yes,no = "$GXX,$with_gnu_ld"; then
20542	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
20543	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
20544	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
20545	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
20546                  $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'
20547
20548	        # Commands to make compiler produce verbose output that lists
20549	        # what "hidden" libraries, object files and flags are used when
20550	        # linking a shared library.
20551	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
20552	      else
20553	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
20554	        # platform.
20555	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
20556	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
20557                  $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'
20558
20559	        # Commands to make compiler produce verbose output that lists
20560	        # what "hidden" libraries, object files and flags are used when
20561	        # linking a shared library.
20562	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
20563	      fi
20564
20565	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
20566	      case $host_os in
20567		solaris2.[0-5] | solaris2.[0-5].*) ;;
20568		*)
20569		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
20570		  ;;
20571	      esac
20572	    fi
20573	    ;;
20574        esac
20575        ;;
20576
20577    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
20578      no_undefined_flag_CXX='$wl-z,text'
20579      archive_cmds_need_lc_CXX=no
20580      hardcode_shlibpath_var_CXX=no
20581      runpath_var='LD_RUN_PATH'
20582
20583      case $cc_basename in
20584        CC*)
20585	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20586	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20587	  ;;
20588	*)
20589	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20590	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20591	  ;;
20592      esac
20593      ;;
20594
20595      sysv5* | sco3.2v5* | sco5v6*)
20596	# Note: We CANNOT use -z defs as we might desire, because we do not
20597	# link with -lc, and that would cause any symbols used from libc to
20598	# always be unresolved, which means just about no library would
20599	# ever link correctly.  If we're not using GNU ld we use -z text
20600	# though, which does catch some bad symbols but isn't as heavy-handed
20601	# as -z defs.
20602	no_undefined_flag_CXX='$wl-z,text'
20603	allow_undefined_flag_CXX='$wl-z,nodefs'
20604	archive_cmds_need_lc_CXX=no
20605	hardcode_shlibpath_var_CXX=no
20606	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
20607	hardcode_libdir_separator_CXX=':'
20608	link_all_deplibs_CXX=yes
20609	export_dynamic_flag_spec_CXX='$wl-Bexport'
20610	runpath_var='LD_RUN_PATH'
20611
20612	case $cc_basename in
20613          CC*)
20614	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20615	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20616	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
20617              '"$old_archive_cmds_CXX"
20618	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
20619              '"$reload_cmds_CXX"
20620	    ;;
20621	  *)
20622	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20623	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20624	    ;;
20625	esac
20626      ;;
20627
20628      tandem*)
20629        case $cc_basename in
20630          NCC*)
20631	    # NonStop-UX NCC 3.20
20632	    # FIXME: insert proper C++ library support
20633	    ld_shlibs_CXX=no
20634	    ;;
20635          *)
20636	    # FIXME: insert proper C++ library support
20637	    ld_shlibs_CXX=no
20638	    ;;
20639        esac
20640        ;;
20641
20642      vxworks*)
20643        # FIXME: insert proper C++ library support
20644        ld_shlibs_CXX=no
20645        ;;
20646
20647      *)
20648        # FIXME: insert proper C++ library support
20649        ld_shlibs_CXX=no
20650        ;;
20651    esac
20652
20653    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
20654$as_echo "$ld_shlibs_CXX" >&6; }
20655    test no = "$ld_shlibs_CXX" && can_build_shared=no
20656
20657    GCC_CXX=$GXX
20658    LD_CXX=$LD
20659
20660    ## CAVEAT EMPTOR:
20661    ## There is no encapsulation within the following macros, do not change
20662    ## the running order or otherwise move them around unless you know exactly
20663    ## what you are doing...
20664    # Dependencies to place before and after the object being linked:
20665predep_objects_CXX=
20666postdep_objects_CXX=
20667predeps_CXX=
20668postdeps_CXX=
20669compiler_lib_search_path_CXX=
20670
20671cat > conftest.$ac_ext <<_LT_EOF
20672class Foo
20673{
20674public:
20675  Foo (void) { a = 0; }
20676private:
20677  int a;
20678};
20679_LT_EOF
20680
20681
20682_lt_libdeps_save_CFLAGS=$CFLAGS
20683case "$CC $CFLAGS " in #(
20684*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
20685*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
20686*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
20687esac
20688
20689if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
20690  (eval $ac_compile) 2>&5
20691  ac_status=$?
20692  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20693  test $ac_status = 0; }; then
20694  # Parse the compiler output and extract the necessary
20695  # objects, libraries and library flags.
20696
20697  # Sentinel used to keep track of whether or not we are before
20698  # the conftest object file.
20699  pre_test_object_deps_done=no
20700
20701  for p in `eval "$output_verbose_link_cmd"`; do
20702    case $prev$p in
20703
20704    -L* | -R* | -l*)
20705       # Some compilers place space between "-{L,R}" and the path.
20706       # Remove the space.
20707       if test x-L = "$p" ||
20708          test x-R = "$p"; then
20709	 prev=$p
20710	 continue
20711       fi
20712
20713       # Expand the sysroot to ease extracting the directories later.
20714       if test -z "$prev"; then
20715         case $p in
20716         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
20717         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
20718         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
20719         esac
20720       fi
20721       case $p in
20722       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
20723       esac
20724       if test no = "$pre_test_object_deps_done"; then
20725	 case $prev in
20726	 -L | -R)
20727	   # Internal compiler library paths should come after those
20728	   # provided the user.  The postdeps already come after the
20729	   # user supplied libs so there is no need to process them.
20730	   if test -z "$compiler_lib_search_path_CXX"; then
20731	     compiler_lib_search_path_CXX=$prev$p
20732	   else
20733	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
20734	   fi
20735	   ;;
20736	 # The "-l" case would never come before the object being
20737	 # linked, so don't bother handling this case.
20738	 esac
20739       else
20740	 if test -z "$postdeps_CXX"; then
20741	   postdeps_CXX=$prev$p
20742	 else
20743	   postdeps_CXX="${postdeps_CXX} $prev$p"
20744	 fi
20745       fi
20746       prev=
20747       ;;
20748
20749    *.lto.$objext) ;; # Ignore GCC LTO objects
20750    *.$objext)
20751       # This assumes that the test object file only shows up
20752       # once in the compiler output.
20753       if test "$p" = "conftest.$objext"; then
20754	 pre_test_object_deps_done=yes
20755	 continue
20756       fi
20757
20758       if test no = "$pre_test_object_deps_done"; then
20759	 if test -z "$predep_objects_CXX"; then
20760	   predep_objects_CXX=$p
20761	 else
20762	   predep_objects_CXX="$predep_objects_CXX $p"
20763	 fi
20764       else
20765	 if test -z "$postdep_objects_CXX"; then
20766	   postdep_objects_CXX=$p
20767	 else
20768	   postdep_objects_CXX="$postdep_objects_CXX $p"
20769	 fi
20770       fi
20771       ;;
20772
20773    *) ;; # Ignore the rest.
20774
20775    esac
20776  done
20777
20778  # Clean up.
20779  rm -f a.out a.exe
20780else
20781  echo "libtool.m4: error: problem compiling CXX test program"
20782fi
20783
20784$RM -f confest.$objext
20785CFLAGS=$_lt_libdeps_save_CFLAGS
20786
20787# PORTME: override above test on systems where it is broken
20788case $host_os in
20789interix[3-9]*)
20790  # Interix 3.5 installs completely hosed .la files for C++, so rather than
20791  # hack all around it, let's just trust "g++" to DTRT.
20792  predep_objects_CXX=
20793  postdep_objects_CXX=
20794  postdeps_CXX=
20795  ;;
20796esac
20797
20798
20799case " $postdeps_CXX " in
20800*" -lc "*) archive_cmds_need_lc_CXX=no ;;
20801esac
20802 compiler_lib_search_dirs_CXX=
20803if test -n "${compiler_lib_search_path_CXX}"; then
20804 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
20805fi
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837    lt_prog_compiler_wl_CXX=
20838lt_prog_compiler_pic_CXX=
20839lt_prog_compiler_static_CXX=
20840
20841
20842  # C++ specific cases for pic, static, wl, etc.
20843  if test yes = "$GXX"; then
20844    lt_prog_compiler_wl_CXX='-Wl,'
20845    lt_prog_compiler_static_CXX='-static'
20846
20847    case $host_os in
20848    aix*)
20849      # All AIX code is PIC.
20850      if test ia64 = "$host_cpu"; then
20851	# AIX 5 now supports IA64 processor
20852	lt_prog_compiler_static_CXX='-Bstatic'
20853      fi
20854      lt_prog_compiler_pic_CXX='-fPIC'
20855      ;;
20856
20857    amigaos*)
20858      case $host_cpu in
20859      powerpc)
20860            # see comment about AmigaOS4 .so support
20861            lt_prog_compiler_pic_CXX='-fPIC'
20862        ;;
20863      m68k)
20864            # FIXME: we need at least 68020 code to build shared libraries, but
20865            # adding the '-m68020' flag to GCC prevents building anything better,
20866            # like '-m68040'.
20867            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
20868        ;;
20869      esac
20870      ;;
20871
20872    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20873      # PIC is the default for these OSes.
20874      ;;
20875    mingw* | cygwin* | os2* | pw32* | cegcc*)
20876      # This hack is so that the source file can tell whether it is being
20877      # built for inclusion in a dll (and should export symbols for example).
20878      # Although the cygwin gcc ignores -fPIC, still need this for old-style
20879      # (--disable-auto-import) libraries
20880      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
20881      case $host_os in
20882      os2*)
20883	lt_prog_compiler_static_CXX='$wl-static'
20884	;;
20885      esac
20886      ;;
20887    darwin* | rhapsody*)
20888      # PIC is the default on this platform
20889      # Common symbols not allowed in MH_DYLIB files
20890      lt_prog_compiler_pic_CXX='-fno-common'
20891      ;;
20892    *djgpp*)
20893      # DJGPP does not support shared libraries at all
20894      lt_prog_compiler_pic_CXX=
20895      ;;
20896    haiku*)
20897      # PIC is the default for Haiku.
20898      # The "-static" flag exists, but is broken.
20899      lt_prog_compiler_static_CXX=
20900      ;;
20901    interix[3-9]*)
20902      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
20903      # Instead, we relocate shared libraries at runtime.
20904      ;;
20905    sysv4*MP*)
20906      if test -d /usr/nec; then
20907	lt_prog_compiler_pic_CXX=-Kconform_pic
20908      fi
20909      ;;
20910    hpux*)
20911      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
20912      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
20913      # sets the default TLS model and affects inlining.
20914      case $host_cpu in
20915      hppa*64*)
20916	;;
20917      *)
20918	lt_prog_compiler_pic_CXX='-fPIC'
20919	;;
20920      esac
20921      ;;
20922    *qnx* | *nto*)
20923      # QNX uses GNU C++, but need to define -shared option too, otherwise
20924      # it will coredump.
20925      lt_prog_compiler_pic_CXX='-fPIC -shared'
20926      ;;
20927    *)
20928      lt_prog_compiler_pic_CXX='-fPIC'
20929      ;;
20930    esac
20931  else
20932    case $host_os in
20933      aix[4-9]*)
20934	# All AIX code is PIC.
20935	if test ia64 = "$host_cpu"; then
20936	  # AIX 5 now supports IA64 processor
20937	  lt_prog_compiler_static_CXX='-Bstatic'
20938	else
20939	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
20940	fi
20941	;;
20942      chorus*)
20943	case $cc_basename in
20944	cxch68*)
20945	  # Green Hills C++ Compiler
20946	  # _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"
20947	  ;;
20948	esac
20949	;;
20950      mingw* | cygwin* | os2* | pw32* | cegcc*)
20951	# This hack is so that the source file can tell whether it is being
20952	# built for inclusion in a dll (and should export symbols for example).
20953	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
20954	;;
20955      dgux*)
20956	case $cc_basename in
20957	  ec++*)
20958	    lt_prog_compiler_pic_CXX='-KPIC'
20959	    ;;
20960	  ghcx*)
20961	    # Green Hills C++ Compiler
20962	    lt_prog_compiler_pic_CXX='-pic'
20963	    ;;
20964	  *)
20965	    ;;
20966	esac
20967	;;
20968      freebsd* | dragonfly*)
20969	# FreeBSD uses GNU C++
20970	;;
20971      hpux9* | hpux10* | hpux11*)
20972	case $cc_basename in
20973	  CC*)
20974	    lt_prog_compiler_wl_CXX='-Wl,'
20975	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
20976	    if test ia64 != "$host_cpu"; then
20977	      lt_prog_compiler_pic_CXX='+Z'
20978	    fi
20979	    ;;
20980	  aCC*)
20981	    lt_prog_compiler_wl_CXX='-Wl,'
20982	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
20983	    case $host_cpu in
20984	    hppa*64*|ia64*)
20985	      # +Z the default
20986	      ;;
20987	    *)
20988	      lt_prog_compiler_pic_CXX='+Z'
20989	      ;;
20990	    esac
20991	    ;;
20992	  *)
20993	    ;;
20994	esac
20995	;;
20996      interix*)
20997	# This is c89, which is MS Visual C++ (no shared libs)
20998	# Anyone wants to do a port?
20999	;;
21000      irix5* | irix6* | nonstopux*)
21001	case $cc_basename in
21002	  CC*)
21003	    lt_prog_compiler_wl_CXX='-Wl,'
21004	    lt_prog_compiler_static_CXX='-non_shared'
21005	    # CC pic flag -KPIC is the default.
21006	    ;;
21007	  *)
21008	    ;;
21009	esac
21010	;;
21011      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
21012	case $cc_basename in
21013	  KCC*)
21014	    # KAI C++ Compiler
21015	    lt_prog_compiler_wl_CXX='--backend -Wl,'
21016	    lt_prog_compiler_pic_CXX='-fPIC'
21017	    ;;
21018	  ecpc* )
21019	    # old Intel C++ for x86_64, which still supported -KPIC.
21020	    lt_prog_compiler_wl_CXX='-Wl,'
21021	    lt_prog_compiler_pic_CXX='-KPIC'
21022	    lt_prog_compiler_static_CXX='-static'
21023	    ;;
21024	  icpc* )
21025	    # Intel C++, used to be incompatible with GCC.
21026	    # ICC 10 doesn't accept -KPIC any more.
21027	    lt_prog_compiler_wl_CXX='-Wl,'
21028	    lt_prog_compiler_pic_CXX='-fPIC'
21029	    lt_prog_compiler_static_CXX='-static'
21030	    ;;
21031	  pgCC* | pgcpp*)
21032	    # Portland Group C++ compiler
21033	    lt_prog_compiler_wl_CXX='-Wl,'
21034	    lt_prog_compiler_pic_CXX='-fpic'
21035	    lt_prog_compiler_static_CXX='-Bstatic'
21036	    ;;
21037	  cxx*)
21038	    # Compaq C++
21039	    # Make sure the PIC flag is empty.  It appears that all Alpha
21040	    # Linux and Compaq Tru64 Unix objects are PIC.
21041	    lt_prog_compiler_pic_CXX=
21042	    lt_prog_compiler_static_CXX='-non_shared'
21043	    ;;
21044	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
21045	    # IBM XL 8.0, 9.0 on PPC and BlueGene
21046	    lt_prog_compiler_wl_CXX='-Wl,'
21047	    lt_prog_compiler_pic_CXX='-qpic'
21048	    lt_prog_compiler_static_CXX='-qstaticlink'
21049	    ;;
21050	  *)
21051	    case `$CC -V 2>&1 | sed 5q` in
21052	    *Sun\ C*)
21053	      # Sun C++ 5.9
21054	      lt_prog_compiler_pic_CXX='-KPIC'
21055	      lt_prog_compiler_static_CXX='-Bstatic'
21056	      lt_prog_compiler_wl_CXX='-Qoption ld '
21057	      ;;
21058	    esac
21059	    ;;
21060	esac
21061	;;
21062      lynxos*)
21063	;;
21064      m88k*)
21065	;;
21066      mvs*)
21067	case $cc_basename in
21068	  cxx*)
21069	    lt_prog_compiler_pic_CXX='-W c,exportall'
21070	    ;;
21071	  *)
21072	    ;;
21073	esac
21074	;;
21075      netbsd* | netbsdelf*-gnu)
21076	;;
21077      *qnx* | *nto*)
21078        # QNX uses GNU C++, but need to define -shared option too, otherwise
21079        # it will coredump.
21080        lt_prog_compiler_pic_CXX='-fPIC -shared'
21081        ;;
21082      osf3* | osf4* | osf5*)
21083	case $cc_basename in
21084	  KCC*)
21085	    lt_prog_compiler_wl_CXX='--backend -Wl,'
21086	    ;;
21087	  RCC*)
21088	    # Rational C++ 2.4.1
21089	    lt_prog_compiler_pic_CXX='-pic'
21090	    ;;
21091	  cxx*)
21092	    # Digital/Compaq C++
21093	    lt_prog_compiler_wl_CXX='-Wl,'
21094	    # Make sure the PIC flag is empty.  It appears that all Alpha
21095	    # Linux and Compaq Tru64 Unix objects are PIC.
21096	    lt_prog_compiler_pic_CXX=
21097	    lt_prog_compiler_static_CXX='-non_shared'
21098	    ;;
21099	  *)
21100	    ;;
21101	esac
21102	;;
21103      psos*)
21104	;;
21105      solaris*)
21106	case $cc_basename in
21107	  CC* | sunCC*)
21108	    # Sun C++ 4.2, 5.x and Centerline C++
21109	    lt_prog_compiler_pic_CXX='-KPIC'
21110	    lt_prog_compiler_static_CXX='-Bstatic'
21111	    lt_prog_compiler_wl_CXX='-Qoption ld '
21112	    ;;
21113	  gcx*)
21114	    # Green Hills C++ Compiler
21115	    lt_prog_compiler_pic_CXX='-PIC'
21116	    ;;
21117	  *)
21118	    ;;
21119	esac
21120	;;
21121      sunos4*)
21122	case $cc_basename in
21123	  CC*)
21124	    # Sun C++ 4.x
21125	    lt_prog_compiler_pic_CXX='-pic'
21126	    lt_prog_compiler_static_CXX='-Bstatic'
21127	    ;;
21128	  lcc*)
21129	    # Lucid
21130	    lt_prog_compiler_pic_CXX='-pic'
21131	    ;;
21132	  *)
21133	    ;;
21134	esac
21135	;;
21136      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21137	case $cc_basename in
21138	  CC*)
21139	    lt_prog_compiler_wl_CXX='-Wl,'
21140	    lt_prog_compiler_pic_CXX='-KPIC'
21141	    lt_prog_compiler_static_CXX='-Bstatic'
21142	    ;;
21143	esac
21144	;;
21145      tandem*)
21146	case $cc_basename in
21147	  NCC*)
21148	    # NonStop-UX NCC 3.20
21149	    lt_prog_compiler_pic_CXX='-KPIC'
21150	    ;;
21151	  *)
21152	    ;;
21153	esac
21154	;;
21155      vxworks*)
21156	;;
21157      *)
21158	lt_prog_compiler_can_build_shared_CXX=no
21159	;;
21160    esac
21161  fi
21162
21163case $host_os in
21164  # For platforms that do not support PIC, -DPIC is meaningless:
21165  *djgpp*)
21166    lt_prog_compiler_pic_CXX=
21167    ;;
21168  *)
21169    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
21170    ;;
21171esac
21172
21173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
21174$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
21175if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
21176  $as_echo_n "(cached) " >&6
21177else
21178  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
21179fi
21180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
21181$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
21182lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
21183
21184#
21185# Check to make sure the PIC flag actually works.
21186#
21187if test -n "$lt_prog_compiler_pic_CXX"; then
21188  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
21189$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
21190if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
21191  $as_echo_n "(cached) " >&6
21192else
21193  lt_cv_prog_compiler_pic_works_CXX=no
21194   ac_outfile=conftest.$ac_objext
21195   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21196   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
21197   # Insert the option either (1) after the last *FLAGS variable, or
21198   # (2) before a word containing "conftest.", or (3) at the end.
21199   # Note that $ac_compile itself does not contain backslashes and begins
21200   # with a dollar sign (not a hyphen), so the echo should work correctly.
21201   # The option is referenced via a variable to avoid confusing sed.
21202   lt_compile=`echo "$ac_compile" | $SED \
21203   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21204   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21205   -e 's:$: $lt_compiler_flag:'`
21206   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
21207   (eval "$lt_compile" 2>conftest.err)
21208   ac_status=$?
21209   cat conftest.err >&5
21210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211   if (exit $ac_status) && test -s "$ac_outfile"; then
21212     # The compiler can only warn and ignore the option if not recognized
21213     # So say no if there are warnings other than the usual output.
21214     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
21215     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21216     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21217       lt_cv_prog_compiler_pic_works_CXX=yes
21218     fi
21219   fi
21220   $RM conftest*
21221
21222fi
21223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
21224$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
21225
21226if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
21227    case $lt_prog_compiler_pic_CXX in
21228     "" | " "*) ;;
21229     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
21230     esac
21231else
21232    lt_prog_compiler_pic_CXX=
21233     lt_prog_compiler_can_build_shared_CXX=no
21234fi
21235
21236fi
21237
21238
21239
21240
21241
21242#
21243# Check to make sure the static flag actually works.
21244#
21245wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
21246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21247$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
21248if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
21249  $as_echo_n "(cached) " >&6
21250else
21251  lt_cv_prog_compiler_static_works_CXX=no
21252   save_LDFLAGS=$LDFLAGS
21253   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21254   echo "$lt_simple_link_test_code" > conftest.$ac_ext
21255   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21256     # The linker can only warn and ignore the option if not recognized
21257     # So say no if there are warnings
21258     if test -s conftest.err; then
21259       # Append any errors to the config.log.
21260       cat conftest.err 1>&5
21261       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
21262       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21263       if diff conftest.exp conftest.er2 >/dev/null; then
21264         lt_cv_prog_compiler_static_works_CXX=yes
21265       fi
21266     else
21267       lt_cv_prog_compiler_static_works_CXX=yes
21268     fi
21269   fi
21270   $RM -r conftest*
21271   LDFLAGS=$save_LDFLAGS
21272
21273fi
21274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
21275$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
21276
21277if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
21278    :
21279else
21280    lt_prog_compiler_static_CXX=
21281fi
21282
21283
21284
21285
21286    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
21287$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
21288if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
21289  $as_echo_n "(cached) " >&6
21290else
21291  lt_cv_prog_compiler_c_o_CXX=no
21292   $RM -r conftest 2>/dev/null
21293   mkdir conftest
21294   cd conftest
21295   mkdir out
21296   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21297
21298   lt_compiler_flag="-o out/conftest2.$ac_objext"
21299   # Insert the option either (1) after the last *FLAGS variable, or
21300   # (2) before a word containing "conftest.", or (3) at the end.
21301   # Note that $ac_compile itself does not contain backslashes and begins
21302   # with a dollar sign (not a hyphen), so the echo should work correctly.
21303   lt_compile=`echo "$ac_compile" | $SED \
21304   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21305   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21306   -e 's:$: $lt_compiler_flag:'`
21307   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
21308   (eval "$lt_compile" 2>out/conftest.err)
21309   ac_status=$?
21310   cat out/conftest.err >&5
21311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312   if (exit $ac_status) && test -s out/conftest2.$ac_objext
21313   then
21314     # The compiler can only warn and ignore the option if not recognized
21315     # So say no if there are warnings
21316     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
21317     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21318     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21319       lt_cv_prog_compiler_c_o_CXX=yes
21320     fi
21321   fi
21322   chmod u+w . 2>&5
21323   $RM conftest*
21324   # SGI C++ compiler will create directory out/ii_files/ for
21325   # template instantiation
21326   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
21327   $RM out/* && rmdir out
21328   cd ..
21329   $RM -r conftest
21330   $RM conftest*
21331
21332fi
21333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
21334$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
21335
21336
21337
21338    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
21339$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
21340if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
21341  $as_echo_n "(cached) " >&6
21342else
21343  lt_cv_prog_compiler_c_o_CXX=no
21344   $RM -r conftest 2>/dev/null
21345   mkdir conftest
21346   cd conftest
21347   mkdir out
21348   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21349
21350   lt_compiler_flag="-o out/conftest2.$ac_objext"
21351   # Insert the option either (1) after the last *FLAGS variable, or
21352   # (2) before a word containing "conftest.", or (3) at the end.
21353   # Note that $ac_compile itself does not contain backslashes and begins
21354   # with a dollar sign (not a hyphen), so the echo should work correctly.
21355   lt_compile=`echo "$ac_compile" | $SED \
21356   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21357   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21358   -e 's:$: $lt_compiler_flag:'`
21359   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
21360   (eval "$lt_compile" 2>out/conftest.err)
21361   ac_status=$?
21362   cat out/conftest.err >&5
21363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364   if (exit $ac_status) && test -s out/conftest2.$ac_objext
21365   then
21366     # The compiler can only warn and ignore the option if not recognized
21367     # So say no if there are warnings
21368     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
21369     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21370     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21371       lt_cv_prog_compiler_c_o_CXX=yes
21372     fi
21373   fi
21374   chmod u+w . 2>&5
21375   $RM conftest*
21376   # SGI C++ compiler will create directory out/ii_files/ for
21377   # template instantiation
21378   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
21379   $RM out/* && rmdir out
21380   cd ..
21381   $RM -r conftest
21382   $RM conftest*
21383
21384fi
21385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
21386$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
21387
21388
21389
21390
21391hard_links=nottested
21392if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
21393  # do not overwrite the value of need_locks provided by the user
21394  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
21395$as_echo_n "checking if we can lock with hard links... " >&6; }
21396  hard_links=yes
21397  $RM conftest*
21398  ln conftest.a conftest.b 2>/dev/null && hard_links=no
21399  touch conftest.a
21400  ln conftest.a conftest.b 2>&5 || hard_links=no
21401  ln conftest.a conftest.b 2>/dev/null && hard_links=no
21402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
21403$as_echo "$hard_links" >&6; }
21404  if test no = "$hard_links"; then
21405    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
21406$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
21407    need_locks=warn
21408  fi
21409else
21410  need_locks=no
21411fi
21412
21413
21414
21415    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21416$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
21417
21418  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21419  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
21420  case $host_os in
21421  aix[4-9]*)
21422    # If we're using GNU nm, then we don't want the "-C" option.
21423    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
21424    # Without the "-l" option, or with the "-B" option, AIX nm treats
21425    # weak defined symbols like other global defined symbols, whereas
21426    # GNU nm marks them as "W".
21427    # While the 'weak' keyword is ignored in the Export File, we need
21428    # it in the Import File for the 'aix-soname' feature, so we have
21429    # to replace the "-B" option with "-P" for AIX nm.
21430    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
21431      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'
21432    else
21433      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'
21434    fi
21435    ;;
21436  pw32*)
21437    export_symbols_cmds_CXX=$ltdll_cmds
21438    ;;
21439  cygwin* | mingw* | cegcc*)
21440    case $cc_basename in
21441    cl*)
21442      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
21443      ;;
21444    *)
21445      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'
21446      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
21447      ;;
21448    esac
21449    ;;
21450  linux* | k*bsd*-gnu | gnu*)
21451    link_all_deplibs_CXX=no
21452    ;;
21453  *)
21454    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21455    ;;
21456  esac
21457
21458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
21459$as_echo "$ld_shlibs_CXX" >&6; }
21460test no = "$ld_shlibs_CXX" && can_build_shared=no
21461
21462with_gnu_ld_CXX=$with_gnu_ld
21463
21464
21465
21466
21467
21468
21469#
21470# Do we need to explicitly link libc?
21471#
21472case "x$archive_cmds_need_lc_CXX" in
21473x|xyes)
21474  # Assume -lc should be added
21475  archive_cmds_need_lc_CXX=yes
21476
21477  if test yes,yes = "$GCC,$enable_shared"; then
21478    case $archive_cmds_CXX in
21479    *'~'*)
21480      # FIXME: we may have to deal with multi-command sequences.
21481      ;;
21482    '$CC '*)
21483      # Test whether the compiler implicitly links with -lc since on some
21484      # systems, -lgcc has to come before -lc. If gcc already passes -lc
21485      # to ld, don't add -lc before -lgcc.
21486      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
21487$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
21488if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
21489  $as_echo_n "(cached) " >&6
21490else
21491  $RM conftest*
21492	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21493
21494	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
21495  (eval $ac_compile) 2>&5
21496  ac_status=$?
21497  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21498  test $ac_status = 0; } 2>conftest.err; then
21499	  soname=conftest
21500	  lib=conftest
21501	  libobjs=conftest.$ac_objext
21502	  deplibs=
21503	  wl=$lt_prog_compiler_wl_CXX
21504	  pic_flag=$lt_prog_compiler_pic_CXX
21505	  compiler_flags=-v
21506	  linker_flags=-v
21507	  verstring=
21508	  output_objdir=.
21509	  libname=conftest
21510	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
21511	  allow_undefined_flag_CXX=
21512	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
21513  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
21514  ac_status=$?
21515  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21516  test $ac_status = 0; }
21517	  then
21518	    lt_cv_archive_cmds_need_lc_CXX=no
21519	  else
21520	    lt_cv_archive_cmds_need_lc_CXX=yes
21521	  fi
21522	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
21523	else
21524	  cat conftest.err 1>&5
21525	fi
21526	$RM conftest*
21527
21528fi
21529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
21530$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
21531      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
21532      ;;
21533    esac
21534  fi
21535  ;;
21536esac
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
21600$as_echo_n "checking dynamic linker characteristics... " >&6; }
21601
21602library_names_spec=
21603libname_spec='lib$name'
21604soname_spec=
21605shrext_cmds=.so
21606postinstall_cmds=
21607postuninstall_cmds=
21608finish_cmds=
21609finish_eval=
21610shlibpath_var=
21611shlibpath_overrides_runpath=unknown
21612version_type=none
21613dynamic_linker="$host_os ld.so"
21614sys_lib_dlsearch_path_spec="/lib /usr/lib"
21615need_lib_prefix=unknown
21616hardcode_into_libs=no
21617
21618# when you set need_version to no, make sure it does not cause -set_version
21619# flags to be left without arguments
21620need_version=unknown
21621
21622
21623
21624case $host_os in
21625aix3*)
21626  version_type=linux # correct to gnu/linux during the next big refactor
21627  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
21628  shlibpath_var=LIBPATH
21629
21630  # AIX 3 has no versioning support, so we append a major version to the name.
21631  soname_spec='$libname$release$shared_ext$major'
21632  ;;
21633
21634aix[4-9]*)
21635  version_type=linux # correct to gnu/linux during the next big refactor
21636  need_lib_prefix=no
21637  need_version=no
21638  hardcode_into_libs=yes
21639  if test ia64 = "$host_cpu"; then
21640    # AIX 5 supports IA64
21641    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
21642    shlibpath_var=LD_LIBRARY_PATH
21643  else
21644    # With GCC up to 2.95.x, collect2 would create an import file
21645    # for dependence libraries.  The import file would start with
21646    # the line '#! .'.  This would cause the generated library to
21647    # depend on '.', always an invalid library.  This was fixed in
21648    # development snapshots of GCC prior to 3.0.
21649    case $host_os in
21650      aix4 | aix4.[01] | aix4.[01].*)
21651      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
21652	   echo ' yes '
21653	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
21654	:
21655      else
21656	can_build_shared=no
21657      fi
21658      ;;
21659    esac
21660    # Using Import Files as archive members, it is possible to support
21661    # filename-based versioning of shared library archives on AIX. While
21662    # this would work for both with and without runtime linking, it will
21663    # prevent static linking of such archives. So we do filename-based
21664    # shared library versioning with .so extension only, which is used
21665    # when both runtime linking and shared linking is enabled.
21666    # Unfortunately, runtime linking may impact performance, so we do
21667    # not want this to be the default eventually. Also, we use the
21668    # versioned .so libs for executables only if there is the -brtl
21669    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
21670    # To allow for filename-based versioning support, we need to create
21671    # libNAME.so.V as an archive file, containing:
21672    # *) an Import File, referring to the versioned filename of the
21673    #    archive as well as the shared archive member, telling the
21674    #    bitwidth (32 or 64) of that shared object, and providing the
21675    #    list of exported symbols of that shared object, eventually
21676    #    decorated with the 'weak' keyword
21677    # *) the shared object with the F_LOADONLY flag set, to really avoid
21678    #    it being seen by the linker.
21679    # At run time we better use the real file rather than another symlink,
21680    # but for link time we create the symlink libNAME.so -> libNAME.so.V
21681
21682    case $with_aix_soname,$aix_use_runtimelinking in
21683    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
21684    # soname into executable. Probably we can add versioning support to
21685    # collect2, so additional links can be useful in future.
21686    aix,yes) # traditional libtool
21687      dynamic_linker='AIX unversionable lib.so'
21688      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
21689      # instead of lib<name>.a to let people know that these are not
21690      # typical AIX shared libraries.
21691      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21692      ;;
21693    aix,no) # traditional AIX only
21694      dynamic_linker='AIX lib.a(lib.so.V)'
21695      # We preserve .a as extension for shared libraries through AIX4.2
21696      # and later when we are not doing run time linking.
21697      library_names_spec='$libname$release.a $libname.a'
21698      soname_spec='$libname$release$shared_ext$major'
21699      ;;
21700    svr4,*) # full svr4 only
21701      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
21702      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
21703      # We do not specify a path in Import Files, so LIBPATH fires.
21704      shlibpath_overrides_runpath=yes
21705      ;;
21706    *,yes) # both, prefer svr4
21707      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
21708      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
21709      # unpreferred sharedlib libNAME.a needs extra handling
21710      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"'
21711      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"'
21712      # We do not specify a path in Import Files, so LIBPATH fires.
21713      shlibpath_overrides_runpath=yes
21714      ;;
21715    *,no) # both, prefer aix
21716      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
21717      library_names_spec='$libname$release.a $libname.a'
21718      soname_spec='$libname$release$shared_ext$major'
21719      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
21720      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)'
21721      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"'
21722      ;;
21723    esac
21724    shlibpath_var=LIBPATH
21725  fi
21726  ;;
21727
21728amigaos*)
21729  case $host_cpu in
21730  powerpc)
21731    # Since July 2007 AmigaOS4 officially supports .so libraries.
21732    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
21733    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21734    ;;
21735  m68k)
21736    library_names_spec='$libname.ixlibrary $libname.a'
21737    # Create ${libname}_ixlibrary.a entries in /sys/libs.
21738    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'
21739    ;;
21740  esac
21741  ;;
21742
21743beos*)
21744  library_names_spec='$libname$shared_ext'
21745  dynamic_linker="$host_os ld.so"
21746  shlibpath_var=LIBRARY_PATH
21747  ;;
21748
21749bsdi[45]*)
21750  version_type=linux # correct to gnu/linux during the next big refactor
21751  need_version=no
21752  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21753  soname_spec='$libname$release$shared_ext$major'
21754  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
21755  shlibpath_var=LD_LIBRARY_PATH
21756  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
21757  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
21758  # the default ld.so.conf also contains /usr/contrib/lib and
21759  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
21760  # libtool to hard-code these into programs
21761  ;;
21762
21763cygwin* | mingw* | pw32* | cegcc*)
21764  version_type=windows
21765  shrext_cmds=.dll
21766  need_version=no
21767  need_lib_prefix=no
21768
21769  case $GCC,$cc_basename in
21770  yes,*)
21771    # gcc
21772    library_names_spec='$libname.dll.a'
21773    # DLL is installed to $(libdir)/../bin by postinstall_cmds
21774    postinstall_cmds='base_file=`basename \$file`~
21775      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
21776      dldir=$destdir/`dirname \$dlpath`~
21777      test -d \$dldir || mkdir -p \$dldir~
21778      $install_prog $dir/$dlname \$dldir/$dlname~
21779      chmod a+x \$dldir/$dlname~
21780      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
21781        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
21782      fi'
21783    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21784      dlpath=$dir/\$dldll~
21785       $RM \$dlpath'
21786    shlibpath_overrides_runpath=yes
21787
21788    case $host_os in
21789    cygwin*)
21790      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
21791      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
21792
21793      ;;
21794    mingw* | cegcc*)
21795      # MinGW DLLs use traditional 'lib' prefix
21796      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
21797      ;;
21798    pw32*)
21799      # pw32 DLLs use 'pw' prefix rather than 'lib'
21800      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
21801      ;;
21802    esac
21803    dynamic_linker='Win32 ld.exe'
21804    ;;
21805
21806  *,cl*)
21807    # Native MSVC
21808    libname_spec='$name'
21809    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
21810    library_names_spec='$libname.dll.lib'
21811
21812    case $build_os in
21813    mingw*)
21814      sys_lib_search_path_spec=
21815      lt_save_ifs=$IFS
21816      IFS=';'
21817      for lt_path in $LIB
21818      do
21819        IFS=$lt_save_ifs
21820        # Let DOS variable expansion print the short 8.3 style file name.
21821        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
21822        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
21823      done
21824      IFS=$lt_save_ifs
21825      # Convert to MSYS style.
21826      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
21827      ;;
21828    cygwin*)
21829      # Convert to unix form, then to dos form, then back to unix form
21830      # but this time dos style (no spaces!) so that the unix form looks
21831      # like /cygdrive/c/PROGRA~1:/cygdr...
21832      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
21833      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
21834      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21835      ;;
21836    *)
21837      sys_lib_search_path_spec=$LIB
21838      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
21839        # It is most probably a Windows format PATH.
21840        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21841      else
21842        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21843      fi
21844      # FIXME: find the short name or the path components, as spaces are
21845      # common. (e.g. "Program Files" -> "PROGRA~1")
21846      ;;
21847    esac
21848
21849    # DLL is installed to $(libdir)/../bin by postinstall_cmds
21850    postinstall_cmds='base_file=`basename \$file`~
21851      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
21852      dldir=$destdir/`dirname \$dlpath`~
21853      test -d \$dldir || mkdir -p \$dldir~
21854      $install_prog $dir/$dlname \$dldir/$dlname'
21855    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21856      dlpath=$dir/\$dldll~
21857       $RM \$dlpath'
21858    shlibpath_overrides_runpath=yes
21859    dynamic_linker='Win32 link.exe'
21860    ;;
21861
21862  *)
21863    # Assume MSVC wrapper
21864    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
21865    dynamic_linker='Win32 ld.exe'
21866    ;;
21867  esac
21868  # FIXME: first we should search . and the directory the executable is in
21869  shlibpath_var=PATH
21870  ;;
21871
21872darwin* | rhapsody*)
21873  dynamic_linker="$host_os dyld"
21874  version_type=darwin
21875  need_lib_prefix=no
21876  need_version=no
21877  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
21878  soname_spec='$libname$release$major$shared_ext'
21879  shlibpath_overrides_runpath=yes
21880  shlibpath_var=DYLD_LIBRARY_PATH
21881  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
21882
21883  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
21884  ;;
21885
21886dgux*)
21887  version_type=linux # correct to gnu/linux during the next big refactor
21888  need_lib_prefix=no
21889  need_version=no
21890  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21891  soname_spec='$libname$release$shared_ext$major'
21892  shlibpath_var=LD_LIBRARY_PATH
21893  ;;
21894
21895freebsd* | dragonfly*)
21896  # DragonFly does not have aout.  When/if they implement a new
21897  # versioning mechanism, adjust this.
21898  if test -x /usr/bin/objformat; then
21899    objformat=`/usr/bin/objformat`
21900  else
21901    case $host_os in
21902    freebsd[23].*) objformat=aout ;;
21903    *) objformat=elf ;;
21904    esac
21905  fi
21906  version_type=freebsd-$objformat
21907  case $version_type in
21908    freebsd-elf*)
21909      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21910      soname_spec='$libname$release$shared_ext$major'
21911      need_version=no
21912      need_lib_prefix=no
21913      ;;
21914    freebsd-*)
21915      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
21916      need_version=yes
21917      ;;
21918  esac
21919  shlibpath_var=LD_LIBRARY_PATH
21920  case $host_os in
21921  freebsd2.*)
21922    shlibpath_overrides_runpath=yes
21923    ;;
21924  freebsd3.[01]* | freebsdelf3.[01]*)
21925    shlibpath_overrides_runpath=yes
21926    hardcode_into_libs=yes
21927    ;;
21928  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
21929  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
21930    shlibpath_overrides_runpath=no
21931    hardcode_into_libs=yes
21932    ;;
21933  *) # from 4.6 on, and DragonFly
21934    shlibpath_overrides_runpath=yes
21935    hardcode_into_libs=yes
21936    ;;
21937  esac
21938  ;;
21939
21940haiku*)
21941  version_type=linux # correct to gnu/linux during the next big refactor
21942  need_lib_prefix=no
21943  need_version=no
21944  dynamic_linker="$host_os runtime_loader"
21945  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21946  soname_spec='$libname$release$shared_ext$major'
21947  shlibpath_var=LIBRARY_PATH
21948  shlibpath_overrides_runpath=no
21949  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
21950  hardcode_into_libs=yes
21951  ;;
21952
21953hpux9* | hpux10* | hpux11*)
21954  # Give a soname corresponding to the major version so that dld.sl refuses to
21955  # link against other versions.
21956  version_type=sunos
21957  need_lib_prefix=no
21958  need_version=no
21959  case $host_cpu in
21960  ia64*)
21961    shrext_cmds='.so'
21962    hardcode_into_libs=yes
21963    dynamic_linker="$host_os dld.so"
21964    shlibpath_var=LD_LIBRARY_PATH
21965    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21966    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21967    soname_spec='$libname$release$shared_ext$major'
21968    if test 32 = "$HPUX_IA64_MODE"; then
21969      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21970      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
21971    else
21972      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
21973      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
21974    fi
21975    ;;
21976  hppa*64*)
21977    shrext_cmds='.sl'
21978    hardcode_into_libs=yes
21979    dynamic_linker="$host_os dld.sl"
21980    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
21981    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21982    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21983    soname_spec='$libname$release$shared_ext$major'
21984    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21985    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21986    ;;
21987  *)
21988    shrext_cmds='.sl'
21989    dynamic_linker="$host_os dld.sl"
21990    shlibpath_var=SHLIB_PATH
21991    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
21992    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21993    soname_spec='$libname$release$shared_ext$major'
21994    ;;
21995  esac
21996  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
21997  postinstall_cmds='chmod 555 $lib'
21998  # or fails outright, so override atomically:
21999  install_override_mode=555
22000  ;;
22001
22002interix[3-9]*)
22003  version_type=linux # correct to gnu/linux during the next big refactor
22004  need_lib_prefix=no
22005  need_version=no
22006  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22007  soname_spec='$libname$release$shared_ext$major'
22008  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
22009  shlibpath_var=LD_LIBRARY_PATH
22010  shlibpath_overrides_runpath=no
22011  hardcode_into_libs=yes
22012  ;;
22013
22014irix5* | irix6* | nonstopux*)
22015  case $host_os in
22016    nonstopux*) version_type=nonstopux ;;
22017    *)
22018	if test yes = "$lt_cv_prog_gnu_ld"; then
22019		version_type=linux # correct to gnu/linux during the next big refactor
22020	else
22021		version_type=irix
22022	fi ;;
22023  esac
22024  need_lib_prefix=no
22025  need_version=no
22026  soname_spec='$libname$release$shared_ext$major'
22027  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
22028  case $host_os in
22029  irix5* | nonstopux*)
22030    libsuff= shlibsuff=
22031    ;;
22032  *)
22033    case $LD in # libtool.m4 will add one of these switches to LD
22034    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
22035      libsuff= shlibsuff= libmagic=32-bit;;
22036    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
22037      libsuff=32 shlibsuff=N32 libmagic=N32;;
22038    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
22039      libsuff=64 shlibsuff=64 libmagic=64-bit;;
22040    *) libsuff= shlibsuff= libmagic=never-match;;
22041    esac
22042    ;;
22043  esac
22044  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
22045  shlibpath_overrides_runpath=no
22046  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
22047  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
22048  hardcode_into_libs=yes
22049  ;;
22050
22051# No shared lib support for Linux oldld, aout, or coff.
22052linux*oldld* | linux*aout* | linux*coff*)
22053  dynamic_linker=no
22054  ;;
22055
22056linux*android*)
22057  version_type=none # Android doesn't support versioned libraries.
22058  need_lib_prefix=no
22059  need_version=no
22060  library_names_spec='$libname$release$shared_ext'
22061  soname_spec='$libname$release$shared_ext'
22062  finish_cmds=
22063  shlibpath_var=LD_LIBRARY_PATH
22064  shlibpath_overrides_runpath=yes
22065
22066  # This implies no fast_install, which is unacceptable.
22067  # Some rework will be needed to allow for fast_install
22068  # before this can be enabled.
22069  hardcode_into_libs=yes
22070
22071  dynamic_linker='Android linker'
22072  # Don't embed -rpath directories since the linker doesn't support them.
22073  hardcode_libdir_flag_spec_CXX='-L$libdir'
22074  ;;
22075
22076# This must be glibc/ELF.
22077linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
22078  version_type=linux # correct to gnu/linux during the next big refactor
22079  need_lib_prefix=no
22080  need_version=no
22081  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22082  soname_spec='$libname$release$shared_ext$major'
22083  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22084  shlibpath_var=LD_LIBRARY_PATH
22085  shlibpath_overrides_runpath=no
22086
22087  # Some binutils ld are patched to set DT_RUNPATH
22088  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
22089  $as_echo_n "(cached) " >&6
22090else
22091  lt_cv_shlibpath_overrides_runpath=no
22092    save_LDFLAGS=$LDFLAGS
22093    save_libdir=$libdir
22094    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
22095	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
22096    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22097/* end confdefs.h.  */
22098
22099int
22100main ()
22101{
22102
22103  ;
22104  return 0;
22105}
22106_ACEOF
22107if ac_fn_cxx_try_link "$LINENO"; then :
22108  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
22109  lt_cv_shlibpath_overrides_runpath=yes
22110fi
22111fi
22112rm -f core conftest.err conftest.$ac_objext \
22113    conftest$ac_exeext conftest.$ac_ext
22114    LDFLAGS=$save_LDFLAGS
22115    libdir=$save_libdir
22116
22117fi
22118
22119  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
22120
22121  # This implies no fast_install, which is unacceptable.
22122  # Some rework will be needed to allow for fast_install
22123  # before this can be enabled.
22124  hardcode_into_libs=yes
22125
22126  # Ideally, we could use ldconfig to report *all* directores which are
22127  # searched for libraries, however this is still not possible.  Aside from not
22128  # being certain /sbin/ldconfig is available, command
22129  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
22130  # even though it is searched at run-time.  Try to do the best guess by
22131  # appending ld.so.conf contents (and includes) to the search path.
22132  if test -f /etc/ld.so.conf; then
22133    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' ' '`
22134    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
22135  fi
22136
22137  # We used to test for /lib/ld.so.1 and disable shared libraries on
22138  # powerpc, because MkLinux only supported shared libraries with the
22139  # GNU dynamic linker.  Since this was broken with cross compilers,
22140  # most powerpc-linux boxes support dynamic linking these days and
22141  # people can always --disable-shared, the test was removed, and we
22142  # assume the GNU/Linux dynamic linker is in use.
22143  dynamic_linker='GNU/Linux ld.so'
22144  ;;
22145
22146netbsdelf*-gnu)
22147  version_type=linux
22148  need_lib_prefix=no
22149  need_version=no
22150  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22151  soname_spec='${libname}${release}${shared_ext}$major'
22152  shlibpath_var=LD_LIBRARY_PATH
22153  shlibpath_overrides_runpath=no
22154  hardcode_into_libs=yes
22155  dynamic_linker='NetBSD ld.elf_so'
22156  ;;
22157
22158netbsd*)
22159  version_type=sunos
22160  need_lib_prefix=no
22161  need_version=no
22162  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
22163    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
22164    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22165    dynamic_linker='NetBSD (a.out) ld.so'
22166  else
22167    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22168    soname_spec='$libname$release$shared_ext$major'
22169    dynamic_linker='NetBSD ld.elf_so'
22170  fi
22171  shlibpath_var=LD_LIBRARY_PATH
22172  shlibpath_overrides_runpath=yes
22173  hardcode_into_libs=yes
22174  ;;
22175
22176newsos6)
22177  version_type=linux # correct to gnu/linux during the next big refactor
22178  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22179  shlibpath_var=LD_LIBRARY_PATH
22180  shlibpath_overrides_runpath=yes
22181  ;;
22182
22183*nto* | *qnx*)
22184  version_type=qnx
22185  need_lib_prefix=no
22186  need_version=no
22187  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22188  soname_spec='$libname$release$shared_ext$major'
22189  shlibpath_var=LD_LIBRARY_PATH
22190  shlibpath_overrides_runpath=no
22191  hardcode_into_libs=yes
22192  dynamic_linker='ldqnx.so'
22193  ;;
22194
22195openbsd* | bitrig*)
22196  version_type=sunos
22197  sys_lib_dlsearch_path_spec=/usr/lib
22198  need_lib_prefix=no
22199  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
22200    need_version=no
22201  else
22202    need_version=yes
22203  fi
22204  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
22205  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22206  shlibpath_var=LD_LIBRARY_PATH
22207  shlibpath_overrides_runpath=yes
22208  ;;
22209
22210os2*)
22211  libname_spec='$name'
22212  version_type=windows
22213  shrext_cmds=.dll
22214  need_version=no
22215  need_lib_prefix=no
22216  # OS/2 can only load a DLL with a base name of 8 characters or less.
22217  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
22218    v=$($ECHO $release$versuffix | tr -d .-);
22219    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
22220    $ECHO $n$v`$shared_ext'
22221  library_names_spec='${libname}_dll.$libext'
22222  dynamic_linker='OS/2 ld.exe'
22223  shlibpath_var=BEGINLIBPATH
22224  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
22225  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22226  postinstall_cmds='base_file=`basename \$file`~
22227    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
22228    dldir=$destdir/`dirname \$dlpath`~
22229    test -d \$dldir || mkdir -p \$dldir~
22230    $install_prog $dir/$dlname \$dldir/$dlname~
22231    chmod a+x \$dldir/$dlname~
22232    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
22233      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
22234    fi'
22235  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
22236    dlpath=$dir/\$dldll~
22237    $RM \$dlpath'
22238  ;;
22239
22240osf3* | osf4* | osf5*)
22241  version_type=osf
22242  need_lib_prefix=no
22243  need_version=no
22244  soname_spec='$libname$release$shared_ext$major'
22245  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22246  shlibpath_var=LD_LIBRARY_PATH
22247  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
22248  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22249  ;;
22250
22251rdos*)
22252  dynamic_linker=no
22253  ;;
22254
22255solaris*)
22256  version_type=linux # correct to gnu/linux during the next big refactor
22257  need_lib_prefix=no
22258  need_version=no
22259  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22260  soname_spec='$libname$release$shared_ext$major'
22261  shlibpath_var=LD_LIBRARY_PATH
22262  shlibpath_overrides_runpath=yes
22263  hardcode_into_libs=yes
22264  # ldd complains unless libraries are executable
22265  postinstall_cmds='chmod +x $lib'
22266  ;;
22267
22268sunos4*)
22269  version_type=sunos
22270  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
22271  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
22272  shlibpath_var=LD_LIBRARY_PATH
22273  shlibpath_overrides_runpath=yes
22274  if test yes = "$with_gnu_ld"; then
22275    need_lib_prefix=no
22276  fi
22277  need_version=yes
22278  ;;
22279
22280sysv4 | sysv4.3*)
22281  version_type=linux # correct to gnu/linux during the next big refactor
22282  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22283  soname_spec='$libname$release$shared_ext$major'
22284  shlibpath_var=LD_LIBRARY_PATH
22285  case $host_vendor in
22286    sni)
22287      shlibpath_overrides_runpath=no
22288      need_lib_prefix=no
22289      runpath_var=LD_RUN_PATH
22290      ;;
22291    siemens)
22292      need_lib_prefix=no
22293      ;;
22294    motorola)
22295      need_lib_prefix=no
22296      need_version=no
22297      shlibpath_overrides_runpath=no
22298      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
22299      ;;
22300  esac
22301  ;;
22302
22303sysv4*MP*)
22304  if test -d /usr/nec; then
22305    version_type=linux # correct to gnu/linux during the next big refactor
22306    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
22307    soname_spec='$libname$shared_ext.$major'
22308    shlibpath_var=LD_LIBRARY_PATH
22309  fi
22310  ;;
22311
22312sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
22313  version_type=sco
22314  need_lib_prefix=no
22315  need_version=no
22316  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
22317  soname_spec='$libname$release$shared_ext$major'
22318  shlibpath_var=LD_LIBRARY_PATH
22319  shlibpath_overrides_runpath=yes
22320  hardcode_into_libs=yes
22321  if test yes = "$with_gnu_ld"; then
22322    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22323  else
22324    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
22325    case $host_os in
22326      sco3.2v5*)
22327        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
22328	;;
22329    esac
22330  fi
22331  sys_lib_dlsearch_path_spec='/usr/lib'
22332  ;;
22333
22334tpf*)
22335  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
22336  version_type=linux # correct to gnu/linux during the next big refactor
22337  need_lib_prefix=no
22338  need_version=no
22339  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22340  shlibpath_var=LD_LIBRARY_PATH
22341  shlibpath_overrides_runpath=no
22342  hardcode_into_libs=yes
22343  ;;
22344
22345uts4*)
22346  version_type=linux # correct to gnu/linux during the next big refactor
22347  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
22348  soname_spec='$libname$release$shared_ext$major'
22349  shlibpath_var=LD_LIBRARY_PATH
22350  ;;
22351
22352*)
22353  dynamic_linker=no
22354  ;;
22355esac
22356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
22357$as_echo "$dynamic_linker" >&6; }
22358test no = "$dynamic_linker" && can_build_shared=no
22359
22360variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
22361if test yes = "$GCC"; then
22362  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22363fi
22364
22365if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
22366  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
22367fi
22368
22369if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
22370  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
22371fi
22372
22373# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
22374configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
22375
22376# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
22377func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
22378
22379# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
22380configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
22422$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
22423hardcode_action_CXX=
22424if test -n "$hardcode_libdir_flag_spec_CXX" ||
22425   test -n "$runpath_var_CXX" ||
22426   test yes = "$hardcode_automatic_CXX"; then
22427
22428  # We can hardcode non-existent directories.
22429  if test no != "$hardcode_direct_CXX" &&
22430     # If the only mechanism to avoid hardcoding is shlibpath_var, we
22431     # have to relink, otherwise we might link with an installed library
22432     # when we should be linking with a yet-to-be-installed one
22433     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
22434     test no != "$hardcode_minus_L_CXX"; then
22435    # Linking always hardcodes the temporary library directory.
22436    hardcode_action_CXX=relink
22437  else
22438    # We can link without hardcoding, and we can hardcode nonexisting dirs.
22439    hardcode_action_CXX=immediate
22440  fi
22441else
22442  # We cannot hardcode anything, or else we can only hardcode existing
22443  # directories.
22444  hardcode_action_CXX=unsupported
22445fi
22446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
22447$as_echo "$hardcode_action_CXX" >&6; }
22448
22449if test relink = "$hardcode_action_CXX" ||
22450   test yes = "$inherit_rpath_CXX"; then
22451  # Fast installation is not supported
22452  enable_fast_install=no
22453elif test yes = "$shlibpath_overrides_runpath" ||
22454     test no = "$enable_shared"; then
22455  # Fast installation is not necessary
22456  enable_fast_install=needless
22457fi
22458
22459
22460
22461
22462
22463
22464
22465  fi # test -n "$compiler"
22466
22467  CC=$lt_save_CC
22468  CFLAGS=$lt_save_CFLAGS
22469  LDCXX=$LD
22470  LD=$lt_save_LD
22471  GCC=$lt_save_GCC
22472  with_gnu_ld=$lt_save_with_gnu_ld
22473  lt_cv_path_LDCXX=$lt_cv_path_LD
22474  lt_cv_path_LD=$lt_save_path_LD
22475  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
22476  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
22477fi # test yes != "$_lt_caught_CXX_error"
22478
22479ac_ext=c
22480ac_cpp='$CPP $CPPFLAGS'
22481ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22482ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22483ac_compiler_gnu=$ac_cv_c_compiler_gnu
22484
22485
22486# Extract the first word of "$CXX", so it can be a program name with args.
22487set dummy $CXX; ac_word=$2
22488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22489$as_echo_n "checking for $ac_word... " >&6; }
22490if ${ac_cv_prog_HAVE_CXX+:} false; then :
22491  $as_echo_n "(cached) " >&6
22492else
22493  if test -n "$HAVE_CXX"; then
22494  ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
22495else
22496as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22497for as_dir in $PATH
22498do
22499  IFS=$as_save_IFS
22500  test -z "$as_dir" && as_dir=.
22501    for ac_exec_ext in '' $ac_executable_extensions; do
22502  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22503    ac_cv_prog_HAVE_CXX="yes"
22504    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22505    break 2
22506  fi
22507done
22508  done
22509IFS=$as_save_IFS
22510
22511  test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
22512fi
22513fi
22514HAVE_CXX=$ac_cv_prog_HAVE_CXX
22515if test -n "$HAVE_CXX"; then
22516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CXX" >&5
22517$as_echo "$HAVE_CXX" >&6; }
22518else
22519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22520$as_echo "no" >&6; }
22521fi
22522
22523
22524
22525ac_ext=cpp
22526ac_cpp='$CXXCPP $CPPFLAGS'
22527ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22528ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22529ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
22531$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
22532if test -z "$CXXCPP"; then
22533  if ${ac_cv_prog_CXXCPP+:} false; then :
22534  $as_echo_n "(cached) " >&6
22535else
22536      # Double quotes because CXXCPP needs to be expanded
22537    for CXXCPP in "$CXX -E" "/lib/cpp"
22538    do
22539      ac_preproc_ok=false
22540for ac_cxx_preproc_warn_flag in '' yes
22541do
22542  # Use a header file that comes with gcc, so configuring glibc
22543  # with a fresh cross-compiler works.
22544  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22545  # <limits.h> exists even on freestanding compilers.
22546  # On the NeXT, cc -E runs the code through the compiler's parser,
22547  # not just through cpp. "Syntax error" is here to catch this case.
22548  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22549/* end confdefs.h.  */
22550#ifdef __STDC__
22551# include <limits.h>
22552#else
22553# include <assert.h>
22554#endif
22555		     Syntax error
22556_ACEOF
22557if ac_fn_cxx_try_cpp "$LINENO"; then :
22558
22559else
22560  # Broken: fails on valid input.
22561continue
22562fi
22563rm -f conftest.err conftest.i conftest.$ac_ext
22564
22565  # OK, works on sane cases.  Now check whether nonexistent headers
22566  # can be detected and how.
22567  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22568/* end confdefs.h.  */
22569#include <ac_nonexistent.h>
22570_ACEOF
22571if ac_fn_cxx_try_cpp "$LINENO"; then :
22572  # Broken: success on invalid input.
22573continue
22574else
22575  # Passes both tests.
22576ac_preproc_ok=:
22577break
22578fi
22579rm -f conftest.err conftest.i conftest.$ac_ext
22580
22581done
22582# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22583rm -f conftest.i conftest.err conftest.$ac_ext
22584if $ac_preproc_ok; then :
22585  break
22586fi
22587
22588    done
22589    ac_cv_prog_CXXCPP=$CXXCPP
22590
22591fi
22592  CXXCPP=$ac_cv_prog_CXXCPP
22593else
22594  ac_cv_prog_CXXCPP=$CXXCPP
22595fi
22596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
22597$as_echo "$CXXCPP" >&6; }
22598ac_preproc_ok=false
22599for ac_cxx_preproc_warn_flag in '' yes
22600do
22601  # Use a header file that comes with gcc, so configuring glibc
22602  # with a fresh cross-compiler works.
22603  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22604  # <limits.h> exists even on freestanding compilers.
22605  # On the NeXT, cc -E runs the code through the compiler's parser,
22606  # not just through cpp. "Syntax error" is here to catch this case.
22607  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22608/* end confdefs.h.  */
22609#ifdef __STDC__
22610# include <limits.h>
22611#else
22612# include <assert.h>
22613#endif
22614		     Syntax error
22615_ACEOF
22616if ac_fn_cxx_try_cpp "$LINENO"; then :
22617
22618else
22619  # Broken: fails on valid input.
22620continue
22621fi
22622rm -f conftest.err conftest.i conftest.$ac_ext
22623
22624  # OK, works on sane cases.  Now check whether nonexistent headers
22625  # can be detected and how.
22626  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22627/* end confdefs.h.  */
22628#include <ac_nonexistent.h>
22629_ACEOF
22630if ac_fn_cxx_try_cpp "$LINENO"; then :
22631  # Broken: success on invalid input.
22632continue
22633else
22634  # Passes both tests.
22635ac_preproc_ok=:
22636break
22637fi
22638rm -f conftest.err conftest.i conftest.$ac_ext
22639
22640done
22641# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22642rm -f conftest.i conftest.err conftest.$ac_ext
22643if $ac_preproc_ok; then :
22644
22645else
22646  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22647$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22648as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
22649See \`config.log' for more details" "$LINENO" 5; }
22650fi
22651
22652ac_ext=c
22653ac_cpp='$CPP $CPPFLAGS'
22654ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22655ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22656ac_compiler_gnu=$ac_cv_c_compiler_gnu
22657
22658
22659ac_ext=m
22660ac_cpp='$OBJCPP $CPPFLAGS'
22661ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22662ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22663ac_compiler_gnu=$ac_cv_objc_compiler_gnu
22664if test -n "$ac_tool_prefix"; then
22665  for ac_prog in gcc objcc objc cc CC
22666  do
22667    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
22668set dummy $ac_tool_prefix$ac_prog; ac_word=$2
22669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22670$as_echo_n "checking for $ac_word... " >&6; }
22671if ${ac_cv_prog_OBJC+:} false; then :
22672  $as_echo_n "(cached) " >&6
22673else
22674  if test -n "$OBJC"; then
22675  ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
22676else
22677as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22678for as_dir in $PATH
22679do
22680  IFS=$as_save_IFS
22681  test -z "$as_dir" && as_dir=.
22682    for ac_exec_ext in '' $ac_executable_extensions; do
22683  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22684    ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
22685    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22686    break 2
22687  fi
22688done
22689  done
22690IFS=$as_save_IFS
22691
22692fi
22693fi
22694OBJC=$ac_cv_prog_OBJC
22695if test -n "$OBJC"; then
22696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
22697$as_echo "$OBJC" >&6; }
22698else
22699  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22700$as_echo "no" >&6; }
22701fi
22702
22703
22704    test -n "$OBJC" && break
22705  done
22706fi
22707if test -z "$OBJC"; then
22708  ac_ct_OBJC=$OBJC
22709  for ac_prog in gcc objcc objc cc CC
22710do
22711  # Extract the first word of "$ac_prog", so it can be a program name with args.
22712set dummy $ac_prog; ac_word=$2
22713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22714$as_echo_n "checking for $ac_word... " >&6; }
22715if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
22716  $as_echo_n "(cached) " >&6
22717else
22718  if test -n "$ac_ct_OBJC"; then
22719  ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
22720else
22721as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22722for as_dir in $PATH
22723do
22724  IFS=$as_save_IFS
22725  test -z "$as_dir" && as_dir=.
22726    for ac_exec_ext in '' $ac_executable_extensions; do
22727  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22728    ac_cv_prog_ac_ct_OBJC="$ac_prog"
22729    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22730    break 2
22731  fi
22732done
22733  done
22734IFS=$as_save_IFS
22735
22736fi
22737fi
22738ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
22739if test -n "$ac_ct_OBJC"; then
22740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
22741$as_echo "$ac_ct_OBJC" >&6; }
22742else
22743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22744$as_echo "no" >&6; }
22745fi
22746
22747
22748  test -n "$ac_ct_OBJC" && break
22749done
22750
22751  if test "x$ac_ct_OBJC" = x; then
22752    OBJC="gcc"
22753  else
22754    case $cross_compiling:$ac_tool_warned in
22755yes:)
22756{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22757$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22758ac_tool_warned=yes ;;
22759esac
22760    OBJC=$ac_ct_OBJC
22761  fi
22762fi
22763
22764# Provide some information about the compiler.
22765$as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
22766set X $ac_compile
22767ac_compiler=$2
22768for ac_option in --version -v -V -qversion; do
22769  { { ac_try="$ac_compiler $ac_option >&5"
22770case "(($ac_try" in
22771  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22772  *) ac_try_echo=$ac_try;;
22773esac
22774eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
22775$as_echo "$ac_try_echo"; } >&5
22776  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
22777  ac_status=$?
22778  if test -s conftest.err; then
22779    sed '10a\
22780... rest of stderr output deleted ...
22781         10q' conftest.err >conftest.er1
22782    cat conftest.er1 >&5
22783  fi
22784  rm -f conftest.er1 conftest.err
22785  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22786  test $ac_status = 0; }
22787done
22788
22789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
22790$as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
22791if ${ac_cv_objc_compiler_gnu+:} false; then :
22792  $as_echo_n "(cached) " >&6
22793else
22794  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22795/* end confdefs.h.  */
22796
22797int
22798main ()
22799{
22800#ifndef __GNUC__
22801       choke me
22802#endif
22803
22804  ;
22805  return 0;
22806}
22807_ACEOF
22808if ac_fn_objc_try_compile "$LINENO"; then :
22809  ac_compiler_gnu=yes
22810else
22811  ac_compiler_gnu=no
22812fi
22813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22814ac_cv_objc_compiler_gnu=$ac_compiler_gnu
22815
22816fi
22817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
22818$as_echo "$ac_cv_objc_compiler_gnu" >&6; }
22819if test $ac_compiler_gnu = yes; then
22820  GOBJC=yes
22821else
22822  GOBJC=
22823fi
22824ac_test_OBJCFLAGS=${OBJCFLAGS+set}
22825ac_save_OBJCFLAGS=$OBJCFLAGS
22826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
22827$as_echo_n "checking whether $OBJC accepts -g... " >&6; }
22828if ${ac_cv_prog_objc_g+:} false; then :
22829  $as_echo_n "(cached) " >&6
22830else
22831  ac_save_objc_werror_flag=$ac_objc_werror_flag
22832   ac_objc_werror_flag=yes
22833   ac_cv_prog_objc_g=no
22834   OBJCFLAGS="-g"
22835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22836/* end confdefs.h.  */
22837
22838int
22839main ()
22840{
22841
22842  ;
22843  return 0;
22844}
22845_ACEOF
22846if ac_fn_objc_try_compile "$LINENO"; then :
22847  ac_cv_prog_objc_g=yes
22848else
22849  OBJCFLAGS=""
22850      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22851/* end confdefs.h.  */
22852
22853int
22854main ()
22855{
22856
22857  ;
22858  return 0;
22859}
22860_ACEOF
22861if ac_fn_objc_try_compile "$LINENO"; then :
22862
22863else
22864  ac_objc_werror_flag=$ac_save_objc_werror_flag
22865	 OBJCFLAGS="-g"
22866	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22867/* end confdefs.h.  */
22868
22869int
22870main ()
22871{
22872
22873  ;
22874  return 0;
22875}
22876_ACEOF
22877if ac_fn_objc_try_compile "$LINENO"; then :
22878  ac_cv_prog_objc_g=yes
22879fi
22880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22881fi
22882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22883fi
22884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22885   ac_objc_werror_flag=$ac_save_objc_werror_flag
22886fi
22887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
22888$as_echo "$ac_cv_prog_objc_g" >&6; }
22889if test "$ac_test_OBJCFLAGS" = set; then
22890  OBJCFLAGS=$ac_save_OBJCFLAGS
22891elif test $ac_cv_prog_objc_g = yes; then
22892  if test "$GOBJC" = yes; then
22893    OBJCFLAGS="-g -O2"
22894  else
22895    OBJCFLAGS="-g"
22896  fi
22897else
22898  if test "$GOBJC" = yes; then
22899    OBJCFLAGS="-O2"
22900  else
22901    OBJCFLAGS=
22902  fi
22903fi
22904ac_ext=c
22905ac_cpp='$CPP $CPPFLAGS'
22906ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22907ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22908ac_compiler_gnu=$ac_cv_c_compiler_gnu
22909
22910depcc="$OBJC" am_compiler_list='gcc3 gcc'
22911
22912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
22913$as_echo_n "checking dependency style of $depcc... " >&6; }
22914if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
22915  $as_echo_n "(cached) " >&6
22916else
22917  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
22918  # We make a subdir and do the tests there.  Otherwise we can end up
22919  # making bogus files that we don't know about and never remove.  For
22920  # instance it was reported that on HP-UX the gcc test will end up
22921  # making a dummy file named 'D' -- because '-MD' means "put the output
22922  # in D".
22923  rm -rf conftest.dir
22924  mkdir conftest.dir
22925  # Copy depcomp to subdir because otherwise we won't find it if we're
22926  # using a relative directory.
22927  cp "$am_depcomp" conftest.dir
22928  cd conftest.dir
22929  # We will build objects and dependencies in a subdirectory because
22930  # it helps to detect inapplicable dependency modes.  For instance
22931  # both Tru64's cc and ICC support -MD to output dependencies as a
22932  # side effect of compilation, but ICC will put the dependencies in
22933  # the current directory while Tru64 will put them in the object
22934  # directory.
22935  mkdir sub
22936
22937  am_cv_OBJC_dependencies_compiler_type=none
22938  if test "$am_compiler_list" = ""; then
22939     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
22940  fi
22941  am__universal=false
22942
22943
22944  for depmode in $am_compiler_list; do
22945    # Setup a source with many dependencies, because some compilers
22946    # like to wrap large dependency lists on column 80 (with \), and
22947    # we should not choose a depcomp mode which is confused by this.
22948    #
22949    # We need to recreate these files for each test, as the compiler may
22950    # overwrite some of them when testing with obscure command lines.
22951    # This happens at least with the AIX C compiler.
22952    : > sub/conftest.c
22953    for i in 1 2 3 4 5 6; do
22954      echo '#include "conftst'$i'.h"' >> sub/conftest.c
22955      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
22956      # Solaris 10 /bin/sh.
22957      echo '/* dummy */' > sub/conftst$i.h
22958    done
22959    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
22960
22961    # We check with '-c' and '-o' for the sake of the "dashmstdout"
22962    # mode.  It turns out that the SunPro C++ compiler does not properly
22963    # handle '-M -o', and we need to detect this.  Also, some Intel
22964    # versions had trouble with output in subdirs.
22965    am__obj=sub/conftest.${OBJEXT-o}
22966    am__minus_obj="-o $am__obj"
22967    case $depmode in
22968    gcc)
22969      # This depmode causes a compiler race in universal mode.
22970      test "$am__universal" = false || continue
22971      ;;
22972    nosideeffect)
22973      # After this tag, mechanisms are not by side-effect, so they'll
22974      # only be used when explicitly requested.
22975      if test "x$enable_dependency_tracking" = xyes; then
22976	continue
22977      else
22978	break
22979      fi
22980      ;;
22981    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
22982      # This compiler won't grok '-c -o', but also, the minuso test has
22983      # not run yet.  These depmodes are late enough in the game, and
22984      # so weak that their functioning should not be impacted.
22985      am__obj=conftest.${OBJEXT-o}
22986      am__minus_obj=
22987      ;;
22988    none) break ;;
22989    esac
22990    if depmode=$depmode \
22991       source=sub/conftest.c object=$am__obj \
22992       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
22993       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
22994         >/dev/null 2>conftest.err &&
22995       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
22996       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
22997       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
22998       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
22999      # icc doesn't choke on unknown options, it will just issue warnings
23000      # or remarks (even with -Werror).  So we grep stderr for any message
23001      # that says an option was ignored or not supported.
23002      # When given -MP, icc 7.0 and 7.1 complain thusly:
23003      #   icc: Command line warning: ignoring option '-M'; no argument required
23004      # The diagnosis changed in icc 8.0:
23005      #   icc: Command line remark: option '-MP' not supported
23006      if (grep 'ignoring option' conftest.err ||
23007          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
23008        am_cv_OBJC_dependencies_compiler_type=$depmode
23009        break
23010      fi
23011    fi
23012  done
23013
23014  cd ..
23015  rm -rf conftest.dir
23016else
23017  am_cv_OBJC_dependencies_compiler_type=none
23018fi
23019
23020fi
23021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
23022$as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
23023OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
23024
23025 if
23026  test "x$enable_dependency_tracking" != xno \
23027  && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
23028  am__fastdepOBJC_TRUE=
23029  am__fastdepOBJC_FALSE='#'
23030else
23031  am__fastdepOBJC_TRUE='#'
23032  am__fastdepOBJC_FALSE=
23033fi
23034
23035
23036
23037
23038
23039# By default we simply use the C compiler to build assembly code.
23040
23041test "${CCAS+set}" = set || CCAS=$CC
23042test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
23043
23044
23045
23046depcc="$CCAS"   am_compiler_list=
23047
23048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
23049$as_echo_n "checking dependency style of $depcc... " >&6; }
23050if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
23051  $as_echo_n "(cached) " >&6
23052else
23053  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
23054  # We make a subdir and do the tests there.  Otherwise we can end up
23055  # making bogus files that we don't know about and never remove.  For
23056  # instance it was reported that on HP-UX the gcc test will end up
23057  # making a dummy file named 'D' -- because '-MD' means "put the output
23058  # in D".
23059  rm -rf conftest.dir
23060  mkdir conftest.dir
23061  # Copy depcomp to subdir because otherwise we won't find it if we're
23062  # using a relative directory.
23063  cp "$am_depcomp" conftest.dir
23064  cd conftest.dir
23065  # We will build objects and dependencies in a subdirectory because
23066  # it helps to detect inapplicable dependency modes.  For instance
23067  # both Tru64's cc and ICC support -MD to output dependencies as a
23068  # side effect of compilation, but ICC will put the dependencies in
23069  # the current directory while Tru64 will put them in the object
23070  # directory.
23071  mkdir sub
23072
23073  am_cv_CCAS_dependencies_compiler_type=none
23074  if test "$am_compiler_list" = ""; then
23075     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
23076  fi
23077  am__universal=false
23078
23079
23080  for depmode in $am_compiler_list; do
23081    # Setup a source with many dependencies, because some compilers
23082    # like to wrap large dependency lists on column 80 (with \), and
23083    # we should not choose a depcomp mode which is confused by this.
23084    #
23085    # We need to recreate these files for each test, as the compiler may
23086    # overwrite some of them when testing with obscure command lines.
23087    # This happens at least with the AIX C compiler.
23088    : > sub/conftest.c
23089    for i in 1 2 3 4 5 6; do
23090      echo '#include "conftst'$i'.h"' >> sub/conftest.c
23091      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
23092      # Solaris 10 /bin/sh.
23093      echo '/* dummy */' > sub/conftst$i.h
23094    done
23095    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
23096
23097    # We check with '-c' and '-o' for the sake of the "dashmstdout"
23098    # mode.  It turns out that the SunPro C++ compiler does not properly
23099    # handle '-M -o', and we need to detect this.  Also, some Intel
23100    # versions had trouble with output in subdirs.
23101    am__obj=sub/conftest.${OBJEXT-o}
23102    am__minus_obj="-o $am__obj"
23103    case $depmode in
23104    gcc)
23105      # This depmode causes a compiler race in universal mode.
23106      test "$am__universal" = false || continue
23107      ;;
23108    nosideeffect)
23109      # After this tag, mechanisms are not by side-effect, so they'll
23110      # only be used when explicitly requested.
23111      if test "x$enable_dependency_tracking" = xyes; then
23112	continue
23113      else
23114	break
23115      fi
23116      ;;
23117    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
23118      # This compiler won't grok '-c -o', but also, the minuso test has
23119      # not run yet.  These depmodes are late enough in the game, and
23120      # so weak that their functioning should not be impacted.
23121      am__obj=conftest.${OBJEXT-o}
23122      am__minus_obj=
23123      ;;
23124    none) break ;;
23125    esac
23126    if depmode=$depmode \
23127       source=sub/conftest.c object=$am__obj \
23128       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
23129       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
23130         >/dev/null 2>conftest.err &&
23131       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
23132       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
23133       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
23134       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
23135      # icc doesn't choke on unknown options, it will just issue warnings
23136      # or remarks (even with -Werror).  So we grep stderr for any message
23137      # that says an option was ignored or not supported.
23138      # When given -MP, icc 7.0 and 7.1 complain thusly:
23139      #   icc: Command line warning: ignoring option '-M'; no argument required
23140      # The diagnosis changed in icc 8.0:
23141      #   icc: Command line remark: option '-MP' not supported
23142      if (grep 'ignoring option' conftest.err ||
23143          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
23144        am_cv_CCAS_dependencies_compiler_type=$depmode
23145        break
23146      fi
23147    fi
23148  done
23149
23150  cd ..
23151  rm -rf conftest.dir
23152else
23153  am_cv_CCAS_dependencies_compiler_type=none
23154fi
23155
23156fi
23157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
23158$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
23159CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
23160
23161 if
23162  test "x$enable_dependency_tracking" != xno \
23163  && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
23164  am__fastdepCCAS_TRUE=
23165  am__fastdepCCAS_FALSE='#'
23166else
23167  am__fastdepCCAS_TRUE='#'
23168  am__fastdepCCAS_FALSE=
23169fi
23170
23171
23172
23173
23174
23175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working do while(0) macros" >&5
23176$as_echo_n "checking for working do while(0) macros... " >&6; }
23177if ${_cv_g_support_dowhile_macros+:} false; then :
23178  $as_echo_n "(cached) " >&6
23179else
23180
23181	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23182/* end confdefs.h.  */
23183
23184int
23185main ()
23186{
23187
23188	#define STMT_START do
23189	#define STMT_END while(0)
23190	#define STMT_TEST STMT_START { i = 0; } STMT_END
23191	int main(void) { int i = 1; STMT_TEST; return i; }
23192  ;
23193  return 0;
23194}
23195_ACEOF
23196if ac_fn_c_try_compile "$LINENO"; then :
23197  _cv_g_support_dowhile_macros=yes
23198else
23199  _cv_g_support_dowhile_macros=no
23200fi
23201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23202
23203fi
23204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_g_support_dowhile_macros" >&5
23205$as_echo "$_cv_g_support_dowhile_macros" >&6; }
23206if test x$_cv_g_support_dowhile_macros = xyes; then
23207
23208$as_echo "#define HAVE_DOWHILE_MACROS 1" >>confdefs.h
23209
23210fi
23211
23212
23213# Extract the first word of "valgrind", so it can be a program name with args.
23214set dummy valgrind; ac_word=$2
23215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23216$as_echo_n "checking for $ac_word... " >&6; }
23217if ${ac_cv_path_VALGRIND_PATH+:} false; then :
23218  $as_echo_n "(cached) " >&6
23219else
23220  case $VALGRIND_PATH in
23221  [\\/]* | ?:[\\/]*)
23222  ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
23223  ;;
23224  *)
23225  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23226for as_dir in $PATH
23227do
23228  IFS=$as_save_IFS
23229  test -z "$as_dir" && as_dir=.
23230    for ac_exec_ext in '' $ac_executable_extensions; do
23231  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23232    ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
23233    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23234    break 2
23235  fi
23236done
23237  done
23238IFS=$as_save_IFS
23239
23240  test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
23241  ;;
23242esac
23243fi
23244VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
23245if test -n "$VALGRIND_PATH"; then
23246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
23247$as_echo "$VALGRIND_PATH" >&6; }
23248else
23249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23250$as_echo "no" >&6; }
23251fi
23252
23253
23254 if test ! "x$VALGRIND_PATH" = "xno"; then
23255  HAVE_VALGRIND_TRUE=
23256  HAVE_VALGRIND_FALSE='#'
23257else
23258  HAVE_VALGRIND_TRUE='#'
23259  HAVE_VALGRIND_FALSE=
23260fi
23261
23262
23263
23264
23265
23266    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
23267set dummy gtkdoc-check; ac_word=$2
23268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23269$as_echo_n "checking for $ac_word... " >&6; }
23270if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
23271  $as_echo_n "(cached) " >&6
23272else
23273  case $GTKDOC_CHECK in
23274  [\\/]* | ?:[\\/]*)
23275  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
23276  ;;
23277  *)
23278  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23279for as_dir in $PATH
23280do
23281  IFS=$as_save_IFS
23282  test -z "$as_dir" && as_dir=.
23283    for ac_exec_ext in '' $ac_executable_extensions; do
23284  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23285    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
23286    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23287    break 2
23288  fi
23289done
23290  done
23291IFS=$as_save_IFS
23292
23293  ;;
23294esac
23295fi
23296GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
23297if test -n "$GTKDOC_CHECK"; then
23298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
23299$as_echo "$GTKDOC_CHECK" >&6; }
23300else
23301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23302$as_echo "no" >&6; }
23303fi
23304
23305
23306  for ac_prog in gtkdoc-rebase
23307do
23308  # Extract the first word of "$ac_prog", so it can be a program name with args.
23309set dummy $ac_prog; ac_word=$2
23310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23311$as_echo_n "checking for $ac_word... " >&6; }
23312if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
23313  $as_echo_n "(cached) " >&6
23314else
23315  case $GTKDOC_REBASE in
23316  [\\/]* | ?:[\\/]*)
23317  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
23318  ;;
23319  *)
23320  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23321for as_dir in $PATH
23322do
23323  IFS=$as_save_IFS
23324  test -z "$as_dir" && as_dir=.
23325    for ac_exec_ext in '' $ac_executable_extensions; do
23326  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23327    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
23328    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23329    break 2
23330  fi
23331done
23332  done
23333IFS=$as_save_IFS
23334
23335  ;;
23336esac
23337fi
23338GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
23339if test -n "$GTKDOC_REBASE"; then
23340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
23341$as_echo "$GTKDOC_REBASE" >&6; }
23342else
23343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23344$as_echo "no" >&6; }
23345fi
23346
23347
23348  test -n "$GTKDOC_REBASE" && break
23349done
23350test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
23351
23352  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
23353set dummy gtkdoc-mkpdf; ac_word=$2
23354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23355$as_echo_n "checking for $ac_word... " >&6; }
23356if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
23357  $as_echo_n "(cached) " >&6
23358else
23359  case $GTKDOC_MKPDF in
23360  [\\/]* | ?:[\\/]*)
23361  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
23362  ;;
23363  *)
23364  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23365for as_dir in $PATH
23366do
23367  IFS=$as_save_IFS
23368  test -z "$as_dir" && as_dir=.
23369    for ac_exec_ext in '' $ac_executable_extensions; do
23370  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23371    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
23372    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23373    break 2
23374  fi
23375done
23376  done
23377IFS=$as_save_IFS
23378
23379  ;;
23380esac
23381fi
23382GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
23383if test -n "$GTKDOC_MKPDF"; then
23384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
23385$as_echo "$GTKDOC_MKPDF" >&6; }
23386else
23387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23388$as_echo "no" >&6; }
23389fi
23390
23391
23392
23393
23394# Check whether --with-html-dir was given.
23395if test "${with_html_dir+set}" = set; then :
23396  withval=$with_html_dir;
23397else
23398  with_html_dir='${datadir}/gtk-doc/html'
23399fi
23400
23401  HTML_DIR="$with_html_dir"
23402
23403
23404    # Check whether --enable-gtk-doc was given.
23405if test "${enable_gtk_doc+set}" = set; then :
23406  enableval=$enable_gtk_doc;
23407else
23408  enable_gtk_doc=no
23409fi
23410
23411
23412  if test x$enable_gtk_doc = xyes; then
23413    if test -n "$PKG_CONFIG" && \
23414    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.12\""; } >&5
23415  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.12") 2>&5
23416  ac_status=$?
23417  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23418  test $ac_status = 0; }; then
23419  :
23420else
23421  as_fn_error $? "You need to have gtk-doc >= 1.12 installed to build $PACKAGE_NAME" "$LINENO" 5
23422fi
23423        if test "x$PACKAGE_NAME" != "xglib"; then
23424
23425pkg_failed=no
23426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
23427$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
23428
23429if test -n "$PKG_CONFIG"; then
23430    if test -n "$GTKDOC_DEPS_CFLAGS"; then
23431        pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
23432    else
23433        if test -n "$PKG_CONFIG" && \
23434    { { $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
23435  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
23436  ac_status=$?
23437  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23438  test $ac_status = 0; }; then
23439  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
23440else
23441  pkg_failed=yes
23442fi
23443    fi
23444else
23445	pkg_failed=untried
23446fi
23447if test -n "$PKG_CONFIG"; then
23448    if test -n "$GTKDOC_DEPS_LIBS"; then
23449        pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
23450    else
23451        if test -n "$PKG_CONFIG" && \
23452    { { $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
23453  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
23454  ac_status=$?
23455  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23456  test $ac_status = 0; }; then
23457  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
23458else
23459  pkg_failed=yes
23460fi
23461    fi
23462else
23463	pkg_failed=untried
23464fi
23465
23466
23467
23468if test $pkg_failed = yes; then
23469
23470if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23471        _pkg_short_errors_supported=yes
23472else
23473        _pkg_short_errors_supported=no
23474fi
23475        if test $_pkg_short_errors_supported = yes; then
23476	        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"`
23477        else
23478	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0"`
23479        fi
23480	# Put the nasty error message in config.log where it belongs
23481	echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
23482
23483	as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
23484
23485$GTKDOC_DEPS_PKG_ERRORS
23486
23487Consider adjusting the PKG_CONFIG_PATH environment variable if you
23488installed software in a non-standard prefix.
23489
23490Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
23491and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
23492See the pkg-config man page for more details.
23493" "$LINENO" 5
23494elif test $pkg_failed = untried; then
23495	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23496$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23497as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
23498is in your PATH or set the PKG_CONFIG environment variable to the full
23499path to pkg-config.
23500
23501Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
23502and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
23503See the pkg-config man page for more details.
23504
23505To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23506See \`config.log' for more details" "$LINENO" 5; }
23507else
23508	GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
23509	GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
23510        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23511$as_echo "yes" >&6; }
23512	:
23513fi
23514    fi
23515        if test -z "$SED"; then
23516      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
23517$as_echo_n "checking for a sed that does not truncate output... " >&6; }
23518if ${ac_cv_path_SED+:} false; then :
23519  $as_echo_n "(cached) " >&6
23520else
23521            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
23522     for ac_i in 1 2 3 4 5 6 7; do
23523       ac_script="$ac_script$as_nl$ac_script"
23524     done
23525     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
23526     { ac_script=; unset ac_script;}
23527     if test -z "$SED"; then
23528  ac_path_SED_found=false
23529  # Loop through the user's path and test for each of PROGNAME-LIST
23530  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23531for as_dir in $PATH
23532do
23533  IFS=$as_save_IFS
23534  test -z "$as_dir" && as_dir=.
23535    for ac_prog in sed gsed; do
23536    for ac_exec_ext in '' $ac_executable_extensions; do
23537      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
23538      as_fn_executable_p "$ac_path_SED" || continue
23539# Check for GNU ac_path_SED and select it if it is found.
23540  # Check for GNU $ac_path_SED
23541case `"$ac_path_SED" --version 2>&1` in
23542*GNU*)
23543  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
23544*)
23545  ac_count=0
23546  $as_echo_n 0123456789 >"conftest.in"
23547  while :
23548  do
23549    cat "conftest.in" "conftest.in" >"conftest.tmp"
23550    mv "conftest.tmp" "conftest.in"
23551    cp "conftest.in" "conftest.nl"
23552    $as_echo '' >> "conftest.nl"
23553    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
23554    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
23555    as_fn_arith $ac_count + 1 && ac_count=$as_val
23556    if test $ac_count -gt ${ac_path_SED_max-0}; then
23557      # Best one so far, save it but keep looking for a better one
23558      ac_cv_path_SED="$ac_path_SED"
23559      ac_path_SED_max=$ac_count
23560    fi
23561    # 10*(2^10) chars as input seems more than enough
23562    test $ac_count -gt 10 && break
23563  done
23564  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
23565esac
23566
23567      $ac_path_SED_found && break 3
23568    done
23569  done
23570  done
23571IFS=$as_save_IFS
23572  if test -z "$ac_cv_path_SED"; then
23573    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
23574  fi
23575else
23576  ac_cv_path_SED=$SED
23577fi
23578
23579fi
23580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
23581$as_echo "$ac_cv_path_SED" >&6; }
23582 SED="$ac_cv_path_SED"
23583  rm -f conftest.sed
23584
23585    fi
23586  fi
23587
23588  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
23589$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
23590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
23591$as_echo "$enable_gtk_doc" >&6; }
23592
23593    # Check whether --enable-gtk-doc-html was given.
23594if test "${enable_gtk_doc_html+set}" = set; then :
23595  enableval=$enable_gtk_doc_html;
23596else
23597  enable_gtk_doc_html=yes
23598fi
23599
23600    # Check whether --enable-gtk-doc-pdf was given.
23601if test "${enable_gtk_doc_pdf+set}" = set; then :
23602  enableval=$enable_gtk_doc_pdf;
23603else
23604  enable_gtk_doc_pdf=no
23605fi
23606
23607
23608  if test -z "$GTKDOC_MKPDF"; then
23609    enable_gtk_doc_pdf=no
23610  fi
23611
23612
23613   if test x$enable_gtk_doc = xyes; then
23614  ENABLE_GTK_DOC_TRUE=
23615  ENABLE_GTK_DOC_FALSE='#'
23616else
23617  ENABLE_GTK_DOC_TRUE='#'
23618  ENABLE_GTK_DOC_FALSE=
23619fi
23620
23621   if test x$enable_gtk_doc_html = xyes; then
23622  GTK_DOC_BUILD_HTML_TRUE=
23623  GTK_DOC_BUILD_HTML_FALSE='#'
23624else
23625  GTK_DOC_BUILD_HTML_TRUE='#'
23626  GTK_DOC_BUILD_HTML_FALSE=
23627fi
23628
23629   if test x$enable_gtk_doc_pdf = xyes; then
23630  GTK_DOC_BUILD_PDF_TRUE=
23631  GTK_DOC_BUILD_PDF_FALSE='#'
23632else
23633  GTK_DOC_BUILD_PDF_TRUE='#'
23634  GTK_DOC_BUILD_PDF_FALSE=
23635fi
23636
23637   if test -n "$LIBTOOL"; then
23638  GTK_DOC_USE_LIBTOOL_TRUE=
23639  GTK_DOC_USE_LIBTOOL_FALSE='#'
23640else
23641  GTK_DOC_USE_LIBTOOL_TRUE='#'
23642  GTK_DOC_USE_LIBTOOL_FALSE=
23643fi
23644
23645
23646
23647
23648
23649
23650
23651
23652        # Find any Python interpreter.
23653    if test -z "$PYTHON"; then
23654      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
23655do
23656  # Extract the first word of "$ac_prog", so it can be a program name with args.
23657set dummy $ac_prog; ac_word=$2
23658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23659$as_echo_n "checking for $ac_word... " >&6; }
23660if ${ac_cv_path_PYTHON+:} false; then :
23661  $as_echo_n "(cached) " >&6
23662else
23663  case $PYTHON in
23664  [\\/]* | ?:[\\/]*)
23665  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
23666  ;;
23667  *)
23668  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23669for as_dir in $PATH
23670do
23671  IFS=$as_save_IFS
23672  test -z "$as_dir" && as_dir=.
23673    for ac_exec_ext in '' $ac_executable_extensions; do
23674  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23675    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
23676    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23677    break 2
23678  fi
23679done
23680  done
23681IFS=$as_save_IFS
23682
23683  ;;
23684esac
23685fi
23686PYTHON=$ac_cv_path_PYTHON
23687if test -n "$PYTHON"; then
23688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
23689$as_echo "$PYTHON" >&6; }
23690else
23691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23692$as_echo "no" >&6; }
23693fi
23694
23695
23696  test -n "$PYTHON" && break
23697done
23698test -n "$PYTHON" || PYTHON=":"
23699
23700    fi
23701    am_display_PYTHON=python
23702
23703
23704  if test "$PYTHON" = :; then
23705      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
23706  else
23707
23708
23709  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
23710$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
23711if ${am_cv_python_version+:} false; then :
23712  $as_echo_n "(cached) " >&6
23713else
23714  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
23715fi
23716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
23717$as_echo "$am_cv_python_version" >&6; }
23718  PYTHON_VERSION=$am_cv_python_version
23719
23720
23721
23722  PYTHON_PREFIX='${prefix}'
23723
23724  PYTHON_EXEC_PREFIX='${exec_prefix}'
23725
23726
23727
23728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
23729$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
23730if ${am_cv_python_platform+:} false; then :
23731  $as_echo_n "(cached) " >&6
23732else
23733  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
23734fi
23735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
23736$as_echo "$am_cv_python_platform" >&6; }
23737  PYTHON_PLATFORM=$am_cv_python_platform
23738
23739
23740  # Just factor out some code duplication.
23741  am_python_setup_sysconfig="\
23742import sys
23743# Prefer sysconfig over distutils.sysconfig, for better compatibility
23744# with python 3.x.  See automake bug#10227.
23745try:
23746    import sysconfig
23747except ImportError:
23748    can_use_sysconfig = 0
23749else:
23750    can_use_sysconfig = 1
23751# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
23752# <https://github.com/pypa/virtualenv/issues/118>
23753try:
23754    from platform import python_implementation
23755    if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
23756        can_use_sysconfig = 0
23757except ImportError:
23758    pass"
23759
23760
23761            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
23762$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
23763if ${am_cv_python_pythondir+:} false; then :
23764  $as_echo_n "(cached) " >&6
23765else
23766  if test "x$prefix" = xNONE
23767     then
23768       am_py_prefix=$ac_default_prefix
23769     else
23770       am_py_prefix=$prefix
23771     fi
23772     am_cv_python_pythondir=`$PYTHON -c "
23773$am_python_setup_sysconfig
23774if can_use_sysconfig:
23775    sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
23776else:
23777    from distutils import sysconfig
23778    sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
23779sys.stdout.write(sitedir)"`
23780     case $am_cv_python_pythondir in
23781     $am_py_prefix*)
23782       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
23783       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
23784       ;;
23785     *)
23786       case $am_py_prefix in
23787         /usr|/System*) ;;
23788         *)
23789	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
23790	  ;;
23791       esac
23792       ;;
23793     esac
23794
23795fi
23796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
23797$as_echo "$am_cv_python_pythondir" >&6; }
23798  pythondir=$am_cv_python_pythondir
23799
23800
23801
23802  pkgpythondir=\${pythondir}/$PACKAGE
23803
23804
23805        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
23806$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
23807if ${am_cv_python_pyexecdir+:} false; then :
23808  $as_echo_n "(cached) " >&6
23809else
23810  if test "x$exec_prefix" = xNONE
23811     then
23812       am_py_exec_prefix=$am_py_prefix
23813     else
23814       am_py_exec_prefix=$exec_prefix
23815     fi
23816     am_cv_python_pyexecdir=`$PYTHON -c "
23817$am_python_setup_sysconfig
23818if can_use_sysconfig:
23819    sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
23820else:
23821    from distutils import sysconfig
23822    sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
23823sys.stdout.write(sitedir)"`
23824     case $am_cv_python_pyexecdir in
23825     $am_py_exec_prefix*)
23826       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
23827       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
23828       ;;
23829     *)
23830       case $am_py_exec_prefix in
23831         /usr|/System*) ;;
23832         *)
23833	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
23834	   ;;
23835       esac
23836       ;;
23837     esac
23838
23839fi
23840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
23841$as_echo "$am_cv_python_pyexecdir" >&6; }
23842  pyexecdir=$am_cv_python_pyexecdir
23843
23844
23845
23846  pkgpyexecdir=\${pyexecdir}/$PACKAGE
23847
23848
23849
23850  fi
23851
23852
23853
23854
23855  build_plugin_docs=no
23856  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
23857$as_echo_n "checking whether to build plugin documentation... " >&6; }
23858  if test x$enable_gtk_doc = xyes; then
23859    if test x$PYTHON != x; then
23860      build_plugin_docs=yes
23861      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23862$as_echo "yes" >&6; }
23863    else
23864      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (python not found)" >&5
23865$as_echo "no (python not found)" >&6; }
23866    fi
23867  else
23868    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
23869$as_echo "no (gtk-doc disabled or not available)" >&6; }
23870  fi
23871
23872   if test x$build_plugin_docs = xyes; then
23873  ENABLE_PLUGIN_DOCS_TRUE=
23874  ENABLE_PLUGIN_DOCS_FALSE='#'
23875else
23876  ENABLE_PLUGIN_DOCS_TRUE='#'
23877  ENABLE_PLUGIN_DOCS_FALSE=
23878fi
23879
23880
23881
23882
23883LIBM=
23884case $host in
23885*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
23886  # These system don't have libm, or don't need it
23887  ;;
23888*-ncr-sysv4.3*)
23889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
23890$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
23891if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
23892  $as_echo_n "(cached) " >&6
23893else
23894  ac_check_lib_save_LIBS=$LIBS
23895LIBS="-lmw  $LIBS"
23896cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23897/* end confdefs.h.  */
23898
23899/* Override any GCC internal prototype to avoid an error.
23900   Use char because int might match the return type of a GCC
23901   builtin and then its argument prototype would still apply.  */
23902#ifdef __cplusplus
23903extern "C"
23904#endif
23905char _mwvalidcheckl ();
23906int
23907main ()
23908{
23909return _mwvalidcheckl ();
23910  ;
23911  return 0;
23912}
23913_ACEOF
23914if ac_fn_c_try_link "$LINENO"; then :
23915  ac_cv_lib_mw__mwvalidcheckl=yes
23916else
23917  ac_cv_lib_mw__mwvalidcheckl=no
23918fi
23919rm -f core conftest.err conftest.$ac_objext \
23920    conftest$ac_exeext conftest.$ac_ext
23921LIBS=$ac_check_lib_save_LIBS
23922fi
23923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
23924$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
23925if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
23926  LIBM=-lmw
23927fi
23928
23929  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
23930$as_echo_n "checking for cos in -lm... " >&6; }
23931if ${ac_cv_lib_m_cos+:} false; then :
23932  $as_echo_n "(cached) " >&6
23933else
23934  ac_check_lib_save_LIBS=$LIBS
23935LIBS="-lm  $LIBS"
23936cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23937/* end confdefs.h.  */
23938
23939/* Override any GCC internal prototype to avoid an error.
23940   Use char because int might match the return type of a GCC
23941   builtin and then its argument prototype would still apply.  */
23942#ifdef __cplusplus
23943extern "C"
23944#endif
23945char cos ();
23946int
23947main ()
23948{
23949return cos ();
23950  ;
23951  return 0;
23952}
23953_ACEOF
23954if ac_fn_c_try_link "$LINENO"; then :
23955  ac_cv_lib_m_cos=yes
23956else
23957  ac_cv_lib_m_cos=no
23958fi
23959rm -f core conftest.err conftest.$ac_objext \
23960    conftest$ac_exeext conftest.$ac_ext
23961LIBS=$ac_check_lib_save_LIBS
23962fi
23963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
23964$as_echo "$ac_cv_lib_m_cos" >&6; }
23965if test "x$ac_cv_lib_m_cos" = xyes; then :
23966  LIBM="$LIBM -lm"
23967fi
23968
23969  ;;
23970*)
23971  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
23972$as_echo_n "checking for cos in -lm... " >&6; }
23973if ${ac_cv_lib_m_cos+:} false; then :
23974  $as_echo_n "(cached) " >&6
23975else
23976  ac_check_lib_save_LIBS=$LIBS
23977LIBS="-lm  $LIBS"
23978cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23979/* end confdefs.h.  */
23980
23981/* Override any GCC internal prototype to avoid an error.
23982   Use char because int might match the return type of a GCC
23983   builtin and then its argument prototype would still apply.  */
23984#ifdef __cplusplus
23985extern "C"
23986#endif
23987char cos ();
23988int
23989main ()
23990{
23991return cos ();
23992  ;
23993  return 0;
23994}
23995_ACEOF
23996if ac_fn_c_try_link "$LINENO"; then :
23997  ac_cv_lib_m_cos=yes
23998else
23999  ac_cv_lib_m_cos=no
24000fi
24001rm -f core conftest.err conftest.$ac_objext \
24002    conftest$ac_exeext conftest.$ac_ext
24003LIBS=$ac_check_lib_save_LIBS
24004fi
24005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
24006$as_echo "$ac_cv_lib_m_cos" >&6; }
24007if test "x$ac_cv_lib_m_cos" = xyes; then :
24008  LIBM=-lm
24009fi
24010
24011  ;;
24012esac
24013
24014
24015
24016
24017for ac_func in clock_gettime
24018do :
24019  ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
24020if test "x$ac_cv_func_clock_gettime" = xyes; then :
24021  cat >>confdefs.h <<_ACEOF
24022#define HAVE_CLOCK_GETTIME 1
24023_ACEOF
24024
24025else
24026
24027  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
24028$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
24029if ${ac_cv_lib_rt_clock_gettime+:} false; then :
24030  $as_echo_n "(cached) " >&6
24031else
24032  ac_check_lib_save_LIBS=$LIBS
24033LIBS="-lrt  $LIBS"
24034cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24035/* end confdefs.h.  */
24036
24037/* Override any GCC internal prototype to avoid an error.
24038   Use char because int might match the return type of a GCC
24039   builtin and then its argument prototype would still apply.  */
24040#ifdef __cplusplus
24041extern "C"
24042#endif
24043char clock_gettime ();
24044int
24045main ()
24046{
24047return clock_gettime ();
24048  ;
24049  return 0;
24050}
24051_ACEOF
24052if ac_fn_c_try_link "$LINENO"; then :
24053  ac_cv_lib_rt_clock_gettime=yes
24054else
24055  ac_cv_lib_rt_clock_gettime=no
24056fi
24057rm -f core conftest.err conftest.$ac_objext \
24058    conftest$ac_exeext conftest.$ac_ext
24059LIBS=$ac_check_lib_save_LIBS
24060fi
24061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
24062$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
24063if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
24064
24065    $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
24066
24067    LIBRT="-lrt"
24068
24069
24070fi
24071
24072
24073fi
24074done
24075
24076
24077
24078
24079
24080
24081ac_ext=c
24082ac_cpp='$CPP $CPPFLAGS'
24083ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085ac_compiler_gnu=$ac_cv_c_compiler_gnu
24086
24087ax_pthread_ok=no
24088
24089# We used to check for pthread.h first, but this fails if pthread.h
24090# requires special compiler flags (e.g. on Tru64 or Sequent).
24091# It gets checked for in the link test anyway.
24092
24093# First of all, check if the user has set any of the PTHREAD_LIBS,
24094# etcetera environment variables, and if threads linking works using
24095# them:
24096if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
24097        ax_pthread_save_CC="$CC"
24098        ax_pthread_save_CFLAGS="$CFLAGS"
24099        ax_pthread_save_LIBS="$LIBS"
24100        if test "x$PTHREAD_CC" != "x"; then :
24101  CC="$PTHREAD_CC"
24102fi
24103        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
24104        LIBS="$PTHREAD_LIBS $LIBS"
24105        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
24106$as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
24107        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24108/* end confdefs.h.  */
24109
24110/* Override any GCC internal prototype to avoid an error.
24111   Use char because int might match the return type of a GCC
24112   builtin and then its argument prototype would still apply.  */
24113#ifdef __cplusplus
24114extern "C"
24115#endif
24116char pthread_join ();
24117int
24118main ()
24119{
24120return pthread_join ();
24121  ;
24122  return 0;
24123}
24124_ACEOF
24125if ac_fn_c_try_link "$LINENO"; then :
24126  ax_pthread_ok=yes
24127fi
24128rm -f core conftest.err conftest.$ac_objext \
24129    conftest$ac_exeext conftest.$ac_ext
24130        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
24131$as_echo "$ax_pthread_ok" >&6; }
24132        if test "x$ax_pthread_ok" = "xno"; then
24133                PTHREAD_LIBS=""
24134                PTHREAD_CFLAGS=""
24135        fi
24136        CC="$ax_pthread_save_CC"
24137        CFLAGS="$ax_pthread_save_CFLAGS"
24138        LIBS="$ax_pthread_save_LIBS"
24139fi
24140
24141# We must check for the threads library under a number of different
24142# names; the ordering is very important because some systems
24143# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
24144# libraries is broken (non-POSIX).
24145
24146# Create a list of thread flags to try.  Items starting with a "-" are
24147# C compiler flags, and other items are library names, except for "none"
24148# which indicates that we try without any flags at all, and "pthread-config"
24149# which is a program returning the flags for the Pth emulation library.
24150
24151ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
24152
24153# The ordering *is* (sometimes) important.  Some notes on the
24154# individual items follow:
24155
24156# pthreads: AIX (must check this before -lpthread)
24157# none: in case threads are in libc; should be tried before -Kthread and
24158#       other compiler flags to prevent continual compiler warnings
24159# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
24160# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
24161#           (Note: HP C rejects this with "bad form for `-t' option")
24162# -pthreads: Solaris/gcc (Note: HP C also rejects)
24163# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
24164#      doesn't hurt to check since this sometimes defines pthreads and
24165#      -D_REENTRANT too), HP C (must be checked before -lpthread, which
24166#      is present but should not be used directly; and before -mthreads,
24167#      because the compiler interprets this as "-mt" + "-hreads")
24168# -mthreads: Mingw32/gcc, Lynx/gcc
24169# pthread: Linux, etcetera
24170# --thread-safe: KAI C++
24171# pthread-config: use pthread-config program (for GNU Pth library)
24172
24173case $host_os in
24174
24175        freebsd*)
24176
24177        # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
24178        # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
24179
24180        ax_pthread_flags="-kthread lthread $ax_pthread_flags"
24181        ;;
24182
24183        hpux*)
24184
24185        # From the cc(1) man page: "[-mt] Sets various -D flags to enable
24186        # multi-threading and also sets -lpthread."
24187
24188        ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
24189        ;;
24190
24191        openedition*)
24192
24193        # IBM z/OS requires a feature-test macro to be defined in order to
24194        # enable POSIX threads at all, so give the user a hint if this is
24195        # not set. (We don't define these ourselves, as they can affect
24196        # other portions of the system API in unpredictable ways.)
24197
24198        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24199/* end confdefs.h.  */
24200
24201#            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
24202             AX_PTHREAD_ZOS_MISSING
24203#            endif
24204
24205_ACEOF
24206if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24207  $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1; then :
24208  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
24209$as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
24210fi
24211rm -f conftest*
24212
24213        ;;
24214
24215        solaris*)
24216
24217        # On Solaris (at least, for some versions), libc contains stubbed
24218        # (non-functional) versions of the pthreads routines, so link-based
24219        # tests will erroneously succeed. (N.B.: The stubs are missing
24220        # pthread_cleanup_push, or rather a function called by this macro,
24221        # so we could check for that, but who knows whether they'll stub
24222        # that too in a future libc.)  So we'll check first for the
24223        # standard Solaris way of linking pthreads (-mt -lpthread).
24224
24225        ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags"
24226        ;;
24227esac
24228
24229# GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
24230
24231if test "x$GCC" = "xyes"; then :
24232  ax_pthread_flags="-pthread -pthreads $ax_pthread_flags"
24233fi
24234
24235# The presence of a feature test macro requesting re-entrant function
24236# definitions is, on some systems, a strong hint that pthreads support is
24237# correctly enabled
24238
24239case $host_os in
24240        darwin* | hpux* | linux* | osf* | solaris*)
24241        ax_pthread_check_macro="_REENTRANT"
24242        ;;
24243
24244        aix*)
24245        ax_pthread_check_macro="_THREAD_SAFE"
24246        ;;
24247
24248        *)
24249        ax_pthread_check_macro="--"
24250        ;;
24251esac
24252if test "x$ax_pthread_check_macro" = "x--"; then :
24253  ax_pthread_check_cond=0
24254else
24255  ax_pthread_check_cond="!defined($ax_pthread_check_macro)"
24256fi
24257
24258# Are we compiling with Clang?
24259
24260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
24261$as_echo_n "checking whether $CC is Clang... " >&6; }
24262if ${ax_cv_PTHREAD_CLANG+:} false; then :
24263  $as_echo_n "(cached) " >&6
24264else
24265  ax_cv_PTHREAD_CLANG=no
24266     # Note that Autoconf sets GCC=yes for Clang as well as GCC
24267     if test "x$GCC" = "xyes"; then
24268        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24269/* end confdefs.h.  */
24270/* Note: Clang 2.7 lacks __clang_[a-z]+__ */
24271#            if defined(__clang__) && defined(__llvm__)
24272             AX_PTHREAD_CC_IS_CLANG
24273#            endif
24274
24275_ACEOF
24276if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24277  $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1; then :
24278  ax_cv_PTHREAD_CLANG=yes
24279fi
24280rm -f conftest*
24281
24282     fi
24283
24284fi
24285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
24286$as_echo "$ax_cv_PTHREAD_CLANG" >&6; }
24287ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
24288
24289ax_pthread_clang_warning=no
24290
24291# Clang needs special handling, because older versions handle the -pthread
24292# option in a rather... idiosyncratic way
24293
24294if test "x$ax_pthread_clang" = "xyes"; then
24295
24296        # Clang takes -pthread; it has never supported any other flag
24297
24298        # (Note 1: This will need to be revisited if a system that Clang
24299        # supports has POSIX threads in a separate library.  This tends not
24300        # to be the way of modern systems, but it's conceivable.)
24301
24302        # (Note 2: On some systems, notably Darwin, -pthread is not needed
24303        # to get POSIX threads support; the API is always present and
24304        # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
24305        # -pthread does define _REENTRANT, and while the Darwin headers
24306        # ignore this macro, third-party headers might not.)
24307
24308        PTHREAD_CFLAGS="-pthread"
24309        PTHREAD_LIBS=
24310
24311        ax_pthread_ok=yes
24312
24313        # However, older versions of Clang make a point of warning the user
24314        # that, in an invocation where only linking and no compilation is
24315        # taking place, the -pthread option has no effect ("argument unused
24316        # during compilation").  They expect -pthread to be passed in only
24317        # when source code is being compiled.
24318        #
24319        # Problem is, this is at odds with the way Automake and most other
24320        # C build frameworks function, which is that the same flags used in
24321        # compilation (CFLAGS) are also used in linking.  Many systems
24322        # supported by AX_PTHREAD require exactly this for POSIX threads
24323        # support, and in fact it is often not straightforward to specify a
24324        # flag that is used only in the compilation phase and not in
24325        # linking.  Such a scenario is extremely rare in practice.
24326        #
24327        # Even though use of the -pthread flag in linking would only print
24328        # a warning, this can be a nuisance for well-run software projects
24329        # that build with -Werror.  So if the active version of Clang has
24330        # this misfeature, we search for an option to squash it.
24331
24332        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
24333$as_echo_n "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
24334if ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+:} false; then :
24335  $as_echo_n "(cached) " >&6
24336else
24337  ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
24338             # Create an alternate version of $ac_link that compiles and
24339             # links in two steps (.c -> .o, .o -> exe) instead of one
24340             # (.c -> exe), because the warning occurs only in the second
24341             # step
24342             ax_pthread_save_ac_link="$ac_link"
24343             ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
24344             ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
24345             ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
24346             ax_pthread_save_CFLAGS="$CFLAGS"
24347             for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
24348                if test "x$ax_pthread_try" = "xunknown"; then :
24349  break
24350fi
24351                CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
24352                ac_link="$ax_pthread_save_ac_link"
24353                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24354/* end confdefs.h.  */
24355int main(void){return 0;}
24356_ACEOF
24357if ac_fn_c_try_link "$LINENO"; then :
24358  ac_link="$ax_pthread_2step_ac_link"
24359                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24360/* end confdefs.h.  */
24361int main(void){return 0;}
24362_ACEOF
24363if ac_fn_c_try_link "$LINENO"; then :
24364  break
24365fi
24366rm -f core conftest.err conftest.$ac_objext \
24367    conftest$ac_exeext conftest.$ac_ext
24368
24369fi
24370rm -f core conftest.err conftest.$ac_objext \
24371    conftest$ac_exeext conftest.$ac_ext
24372             done
24373             ac_link="$ax_pthread_save_ac_link"
24374             CFLAGS="$ax_pthread_save_CFLAGS"
24375             if test "x$ax_pthread_try" = "x"; then :
24376  ax_pthread_try=no
24377fi
24378             ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
24379
24380fi
24381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
24382$as_echo "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
24383
24384        case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
24385                no | unknown) ;;
24386                *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
24387        esac
24388
24389fi # $ax_pthread_clang = yes
24390
24391if test "x$ax_pthread_ok" = "xno"; then
24392for ax_pthread_try_flag in $ax_pthread_flags; do
24393
24394        case $ax_pthread_try_flag in
24395                none)
24396                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
24397$as_echo_n "checking whether pthreads work without any flags... " >&6; }
24398                ;;
24399
24400                -mt,pthread)
24401                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
24402$as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
24403                PTHREAD_CFLAGS="-mt"
24404                PTHREAD_LIBS="-lpthread"
24405                ;;
24406
24407                -*)
24408                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
24409$as_echo_n "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
24410                PTHREAD_CFLAGS="$ax_pthread_try_flag"
24411                ;;
24412
24413                pthread-config)
24414                # Extract the first word of "pthread-config", so it can be a program name with args.
24415set dummy pthread-config; ac_word=$2
24416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24417$as_echo_n "checking for $ac_word... " >&6; }
24418if ${ac_cv_prog_ax_pthread_config+:} false; then :
24419  $as_echo_n "(cached) " >&6
24420else
24421  if test -n "$ax_pthread_config"; then
24422  ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
24423else
24424as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24425for as_dir in $PATH
24426do
24427  IFS=$as_save_IFS
24428  test -z "$as_dir" && as_dir=.
24429    for ac_exec_ext in '' $ac_executable_extensions; do
24430  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24431    ac_cv_prog_ax_pthread_config="yes"
24432    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24433    break 2
24434  fi
24435done
24436  done
24437IFS=$as_save_IFS
24438
24439  test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
24440fi
24441fi
24442ax_pthread_config=$ac_cv_prog_ax_pthread_config
24443if test -n "$ax_pthread_config"; then
24444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
24445$as_echo "$ax_pthread_config" >&6; }
24446else
24447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24448$as_echo "no" >&6; }
24449fi
24450
24451
24452                if test "x$ax_pthread_config" = "xno"; then :
24453  continue
24454fi
24455                PTHREAD_CFLAGS="`pthread-config --cflags`"
24456                PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
24457                ;;
24458
24459                *)
24460                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
24461$as_echo_n "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
24462                PTHREAD_LIBS="-l$ax_pthread_try_flag"
24463                ;;
24464        esac
24465
24466        ax_pthread_save_CFLAGS="$CFLAGS"
24467        ax_pthread_save_LIBS="$LIBS"
24468        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
24469        LIBS="$PTHREAD_LIBS $LIBS"
24470
24471        # Check for various functions.  We must include pthread.h,
24472        # since some functions may be macros.  (On the Sequent, we
24473        # need a special flag -Kthread to make this header compile.)
24474        # We check for pthread_join because it is in -lpthread on IRIX
24475        # while pthread_create is in libc.  We check for pthread_attr_init
24476        # due to DEC craziness with -lpthreads.  We check for
24477        # pthread_cleanup_push because it is one of the few pthread
24478        # functions on Solaris that doesn't have a non-functional libc stub.
24479        # We try pthread_create on general principles.
24480
24481        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24482/* end confdefs.h.  */
24483#include <pthread.h>
24484#                       if $ax_pthread_check_cond
24485#                        error "$ax_pthread_check_macro must be defined"
24486#                       endif
24487                        static void routine(void *a) { a = 0; }
24488                        static void *start_routine(void *a) { return a; }
24489int
24490main ()
24491{
24492pthread_t th; pthread_attr_t attr;
24493                        pthread_create(&th, 0, start_routine, 0);
24494                        pthread_join(th, 0);
24495                        pthread_attr_init(&attr);
24496                        pthread_cleanup_push(routine, 0);
24497                        pthread_cleanup_pop(0) /* ; */
24498  ;
24499  return 0;
24500}
24501_ACEOF
24502if ac_fn_c_try_link "$LINENO"; then :
24503  ax_pthread_ok=yes
24504fi
24505rm -f core conftest.err conftest.$ac_objext \
24506    conftest$ac_exeext conftest.$ac_ext
24507
24508        CFLAGS="$ax_pthread_save_CFLAGS"
24509        LIBS="$ax_pthread_save_LIBS"
24510
24511        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
24512$as_echo "$ax_pthread_ok" >&6; }
24513        if test "x$ax_pthread_ok" = "xyes"; then :
24514  break
24515fi
24516
24517        PTHREAD_LIBS=""
24518        PTHREAD_CFLAGS=""
24519done
24520fi
24521
24522# Various other checks:
24523if test "x$ax_pthread_ok" = "xyes"; then
24524        ax_pthread_save_CFLAGS="$CFLAGS"
24525        ax_pthread_save_LIBS="$LIBS"
24526        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
24527        LIBS="$PTHREAD_LIBS $LIBS"
24528
24529        # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
24530        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
24531$as_echo_n "checking for joinable pthread attribute... " >&6; }
24532if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false; then :
24533  $as_echo_n "(cached) " >&6
24534else
24535  ax_cv_PTHREAD_JOINABLE_ATTR=unknown
24536             for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
24537                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24538/* end confdefs.h.  */
24539#include <pthread.h>
24540int
24541main ()
24542{
24543int attr = $ax_pthread_attr; return attr /* ; */
24544  ;
24545  return 0;
24546}
24547_ACEOF
24548if ac_fn_c_try_link "$LINENO"; then :
24549  ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
24550fi
24551rm -f core conftest.err conftest.$ac_objext \
24552    conftest$ac_exeext conftest.$ac_ext
24553             done
24554
24555fi
24556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
24557$as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
24558        if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
24559               test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
24560               test "x$ax_pthread_joinable_attr_defined" != "xyes"; then :
24561
24562cat >>confdefs.h <<_ACEOF
24563#define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
24564_ACEOF
24565
24566               ax_pthread_joinable_attr_defined=yes
24567
24568fi
24569
24570        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
24571$as_echo_n "checking whether more special flags are required for pthreads... " >&6; }
24572if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false; then :
24573  $as_echo_n "(cached) " >&6
24574else
24575  ax_cv_PTHREAD_SPECIAL_FLAGS=no
24576             case $host_os in
24577             solaris*)
24578             ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
24579             ;;
24580             esac
24581
24582fi
24583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
24584$as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
24585        if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
24586               test "x$ax_pthread_special_flags_added" != "xyes"; then :
24587  PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
24588               ax_pthread_special_flags_added=yes
24589fi
24590
24591        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
24592$as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
24593if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
24594  $as_echo_n "(cached) " >&6
24595else
24596  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24597/* end confdefs.h.  */
24598#include <pthread.h>
24599int
24600main ()
24601{
24602int i = PTHREAD_PRIO_INHERIT;
24603  ;
24604  return 0;
24605}
24606_ACEOF
24607if ac_fn_c_try_link "$LINENO"; then :
24608  ax_cv_PTHREAD_PRIO_INHERIT=yes
24609else
24610  ax_cv_PTHREAD_PRIO_INHERIT=no
24611fi
24612rm -f core conftest.err conftest.$ac_objext \
24613    conftest$ac_exeext conftest.$ac_ext
24614
24615fi
24616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
24617$as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
24618        if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
24619               test "x$ax_pthread_prio_inherit_defined" != "xyes"; then :
24620
24621$as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
24622
24623               ax_pthread_prio_inherit_defined=yes
24624
24625fi
24626
24627        CFLAGS="$ax_pthread_save_CFLAGS"
24628        LIBS="$ax_pthread_save_LIBS"
24629
24630        # More AIX lossage: compile with *_r variant
24631        if test "x$GCC" != "xyes"; then
24632            case $host_os in
24633                aix*)
24634                case "x/$CC" in #(
24635  x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
24636    #handle absolute path differently from PATH based program lookup
24637                     case "x$CC" in #(
24638  x/*) :
24639    if as_fn_executable_p ${CC}_r; then :
24640  PTHREAD_CC="${CC}_r"
24641fi ;; #(
24642  *) :
24643    for ac_prog in ${CC}_r
24644do
24645  # Extract the first word of "$ac_prog", so it can be a program name with args.
24646set dummy $ac_prog; ac_word=$2
24647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24648$as_echo_n "checking for $ac_word... " >&6; }
24649if ${ac_cv_prog_PTHREAD_CC+:} false; then :
24650  $as_echo_n "(cached) " >&6
24651else
24652  if test -n "$PTHREAD_CC"; then
24653  ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
24654else
24655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24656for as_dir in $PATH
24657do
24658  IFS=$as_save_IFS
24659  test -z "$as_dir" && as_dir=.
24660    for ac_exec_ext in '' $ac_executable_extensions; do
24661  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24662    ac_cv_prog_PTHREAD_CC="$ac_prog"
24663    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24664    break 2
24665  fi
24666done
24667  done
24668IFS=$as_save_IFS
24669
24670fi
24671fi
24672PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
24673if test -n "$PTHREAD_CC"; then
24674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
24675$as_echo "$PTHREAD_CC" >&6; }
24676else
24677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24678$as_echo "no" >&6; }
24679fi
24680
24681
24682  test -n "$PTHREAD_CC" && break
24683done
24684test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
24685 ;;
24686esac ;; #(
24687  *) :
24688     ;;
24689esac
24690                ;;
24691            esac
24692        fi
24693fi
24694
24695test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
24696
24697
24698
24699
24700
24701# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
24702if test "x$ax_pthread_ok" = "xyes"; then
24703
24704$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
24705
24706        :
24707else
24708        ax_pthread_ok=no
24709
24710fi
24711ac_ext=c
24712ac_cpp='$CPP $CPPFLAGS'
24713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24715ac_compiler_gnu=$ac_cv_c_compiler_gnu
24716
24717
24718
24719
24720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
24721$as_echo_n "checking for ANSI C header files... " >&6; }
24722if ${ac_cv_header_stdc+:} false; then :
24723  $as_echo_n "(cached) " >&6
24724else
24725  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24726/* end confdefs.h.  */
24727#include <stdlib.h>
24728#include <stdarg.h>
24729#include <string.h>
24730#include <float.h>
24731
24732int
24733main ()
24734{
24735
24736  ;
24737  return 0;
24738}
24739_ACEOF
24740if ac_fn_c_try_compile "$LINENO"; then :
24741  ac_cv_header_stdc=yes
24742else
24743  ac_cv_header_stdc=no
24744fi
24745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24746
24747if test $ac_cv_header_stdc = yes; then
24748  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
24749  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24750/* end confdefs.h.  */
24751#include <string.h>
24752
24753_ACEOF
24754if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24755  $EGREP "memchr" >/dev/null 2>&1; then :
24756
24757else
24758  ac_cv_header_stdc=no
24759fi
24760rm -f conftest*
24761
24762fi
24763
24764if test $ac_cv_header_stdc = yes; then
24765  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
24766  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24767/* end confdefs.h.  */
24768#include <stdlib.h>
24769
24770_ACEOF
24771if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24772  $EGREP "free" >/dev/null 2>&1; then :
24773
24774else
24775  ac_cv_header_stdc=no
24776fi
24777rm -f conftest*
24778
24779fi
24780
24781if test $ac_cv_header_stdc = yes; then
24782  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
24783  if test "$cross_compiling" = yes; then :
24784  :
24785else
24786  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24787/* end confdefs.h.  */
24788#include <ctype.h>
24789#include <stdlib.h>
24790#if ((' ' & 0x0FF) == 0x020)
24791# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
24792# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
24793#else
24794# define ISLOWER(c) \
24795		   (('a' <= (c) && (c) <= 'i') \
24796		     || ('j' <= (c) && (c) <= 'r') \
24797		     || ('s' <= (c) && (c) <= 'z'))
24798# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
24799#endif
24800
24801#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
24802int
24803main ()
24804{
24805  int i;
24806  for (i = 0; i < 256; i++)
24807    if (XOR (islower (i), ISLOWER (i))
24808	|| toupper (i) != TOUPPER (i))
24809      return 2;
24810  return 0;
24811}
24812_ACEOF
24813if ac_fn_c_try_run "$LINENO"; then :
24814
24815else
24816  ac_cv_header_stdc=no
24817fi
24818rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24819  conftest.$ac_objext conftest.beam conftest.$ac_ext
24820fi
24821
24822fi
24823fi
24824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
24825$as_echo "$ac_cv_header_stdc" >&6; }
24826if test $ac_cv_header_stdc = yes; then
24827
24828$as_echo "#define STDC_HEADERS 1" >>confdefs.h
24829
24830fi
24831
24832
24833# ------ AX CREATE STDINT H -------------------------------------
24834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
24835$as_echo_n "checking for stdint types... " >&6; }
24836ac_stdint_h=`echo _stdint.h`
24837# try to shortcircuit - if the default include path of the compiler
24838# can find a "stdint.h" header then we assume that all compilers can.
24839if ${ac_cv_header_stdint_t+:} false; then :
24840  $as_echo_n "(cached) " >&6
24841else
24842
24843old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
24844old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
24845old_CFLAGS="$CFLAGS"     ; CFLAGS=""
24846cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24847/* end confdefs.h.  */
24848#include <stdint.h>
24849int
24850main ()
24851{
24852int_least32_t v = 0;
24853  ;
24854  return 0;
24855}
24856_ACEOF
24857if ac_fn_c_try_compile "$LINENO"; then :
24858  ac_cv_stdint_result="(assuming C99 compatible system)"
24859 ac_cv_header_stdint_t="stdint.h";
24860else
24861  ac_cv_header_stdint_t=""
24862fi
24863rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24864if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
24865CFLAGS="-std=c99"
24866cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24867/* end confdefs.h.  */
24868#include <stdint.h>
24869int
24870main ()
24871{
24872int_least32_t v = 0;
24873  ;
24874  return 0;
24875}
24876_ACEOF
24877if ac_fn_c_try_compile "$LINENO"; then :
24878  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
24879$as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
24880fi
24881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24882fi
24883CXXFLAGS="$old_CXXFLAGS"
24884CPPFLAGS="$old_CPPFLAGS"
24885CFLAGS="$old_CFLAGS"
24886fi
24887
24888
24889v="... $ac_cv_header_stdint_h"
24890if test "$ac_stdint_h" = "stdint.h" ; then
24891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
24892$as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
24893elif test "$ac_stdint_h" = "inttypes.h" ; then
24894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
24895$as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
24896elif test "_$ac_cv_header_stdint_t" = "_" ; then
24897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
24898$as_echo "(putting them into $ac_stdint_h)$v" >&6; }
24899else
24900 ac_cv_header_stdint="$ac_cv_header_stdint_t"
24901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
24902$as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
24903fi
24904
24905if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
24906
24907
24908inttype_headers=`echo  | sed -e 's/,/ /g'`
24909
24910ac_cv_stdint_result="(no helpful system typedefs seen)"
24911
24912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
24913$as_echo_n "checking for stdint uintptr_t... " >&6; }
24914if ${ac_cv_header_stdint_x+:} false; then :
24915  $as_echo_n "(cached) " >&6
24916else
24917
24918 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
24919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24920$as_echo "(..)" >&6; }
24921  for i in    stdint.h inttypes.h sys/inttypes.h $inttype_headers
24922  do
24923   unset ac_cv_type_uintptr_t
24924   unset ac_cv_type_uint64_t
24925   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
24926"
24927if test "x$ac_cv_type_uintptr_t" = xyes; then :
24928  ac_cv_header_stdint_x=$i
24929else
24930  continue
24931fi
24932
24933   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
24934"
24935if test "x$ac_cv_type_uint64_t" = xyes; then :
24936  and64="/uint64_t"
24937else
24938  and64=""
24939fi
24940
24941   ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
24942 break
24943  done
24944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
24945$as_echo_n "checking for stdint uintptr_t... " >&6; }
24946
24947fi
24948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
24949$as_echo "$ac_cv_header_stdint_x" >&6; }
24950
24951
24952if test "_$ac_cv_header_stdint_x" = "_" ; then
24953
24954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
24955$as_echo_n "checking for stdint uint32_t... " >&6; }
24956if ${ac_cv_header_stdint_o+:} false; then :
24957  $as_echo_n "(cached) " >&6
24958else
24959
24960 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
24961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24962$as_echo "(..)" >&6; }
24963  for i in    inttypes.h sys/inttypes.h stdint.h $inttype_headers
24964  do
24965   unset ac_cv_type_uint32_t
24966   unset ac_cv_type_uint64_t
24967   ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
24968"
24969if test "x$ac_cv_type_uint32_t" = xyes; then :
24970  ac_cv_header_stdint_o=$i
24971else
24972  continue
24973fi
24974
24975   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
24976"
24977if test "x$ac_cv_type_uint64_t" = xyes; then :
24978  and64="/uint64_t"
24979else
24980  and64=""
24981fi
24982
24983   ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
24984 break
24985   break;
24986  done
24987  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
24988$as_echo_n "checking for stdint uint32_t... " >&6; }
24989
24990fi
24991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
24992$as_echo "$ac_cv_header_stdint_o" >&6; }
24993
24994fi
24995
24996if test "_$ac_cv_header_stdint_x" = "_" ; then
24997if test "_$ac_cv_header_stdint_o" = "_" ; then
24998
24999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
25000$as_echo_n "checking for stdint u_int32_t... " >&6; }
25001if ${ac_cv_header_stdint_u+:} false; then :
25002  $as_echo_n "(cached) " >&6
25003else
25004
25005 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
25006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
25007$as_echo "(..)" >&6; }
25008  for i in    sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
25009   unset ac_cv_type_u_int32_t
25010   unset ac_cv_type_u_int64_t
25011   ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
25012"
25013if test "x$ac_cv_type_u_int32_t" = xyes; then :
25014  ac_cv_header_stdint_u=$i
25015else
25016  continue
25017fi
25018
25019   ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
25020"
25021if test "x$ac_cv_type_u_int64_t" = xyes; then :
25022  and64="/u_int64_t"
25023else
25024  and64=""
25025fi
25026
25027   ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
25028 break
25029   break;
25030  done
25031  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
25032$as_echo_n "checking for stdint u_int32_t... " >&6; }
25033
25034fi
25035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
25036$as_echo "$ac_cv_header_stdint_u" >&6; }
25037
25038fi fi
25039
25040if test "_$ac_cv_header_stdint_x" = "_" ; then
25041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
25042$as_echo_n "checking for stdint datatype model... " >&6; }
25043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
25044$as_echo "(..)" >&6; }
25045
25046   # The cast to long int works around a bug in the HP C Compiler
25047# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25048# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25049# This bug is HP SR number 8606223364.
25050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
25051$as_echo_n "checking size of char... " >&6; }
25052if ${ac_cv_sizeof_char+:} false; then :
25053  $as_echo_n "(cached) " >&6
25054else
25055  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
25056
25057else
25058  if test "$ac_cv_type_char" = yes; then
25059     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25060$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25061as_fn_error 77 "cannot compute sizeof (char)
25062See \`config.log' for more details" "$LINENO" 5; }
25063   else
25064     ac_cv_sizeof_char=0
25065   fi
25066fi
25067
25068fi
25069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
25070$as_echo "$ac_cv_sizeof_char" >&6; }
25071
25072
25073
25074cat >>confdefs.h <<_ACEOF
25075#define SIZEOF_CHAR $ac_cv_sizeof_char
25076_ACEOF
25077
25078
25079   # The cast to long int works around a bug in the HP C Compiler
25080# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25081# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25082# This bug is HP SR number 8606223364.
25083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
25084$as_echo_n "checking size of short... " >&6; }
25085if ${ac_cv_sizeof_short+:} false; then :
25086  $as_echo_n "(cached) " >&6
25087else
25088  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
25089
25090else
25091  if test "$ac_cv_type_short" = yes; then
25092     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25093$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25094as_fn_error 77 "cannot compute sizeof (short)
25095See \`config.log' for more details" "$LINENO" 5; }
25096   else
25097     ac_cv_sizeof_short=0
25098   fi
25099fi
25100
25101fi
25102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
25103$as_echo "$ac_cv_sizeof_short" >&6; }
25104
25105
25106
25107cat >>confdefs.h <<_ACEOF
25108#define SIZEOF_SHORT $ac_cv_sizeof_short
25109_ACEOF
25110
25111
25112   # The cast to long int works around a bug in the HP C Compiler
25113# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25114# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25115# This bug is HP SR number 8606223364.
25116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
25117$as_echo_n "checking size of int... " >&6; }
25118if ${ac_cv_sizeof_int+:} false; then :
25119  $as_echo_n "(cached) " >&6
25120else
25121  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
25122
25123else
25124  if test "$ac_cv_type_int" = yes; then
25125     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25126$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25127as_fn_error 77 "cannot compute sizeof (int)
25128See \`config.log' for more details" "$LINENO" 5; }
25129   else
25130     ac_cv_sizeof_int=0
25131   fi
25132fi
25133
25134fi
25135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
25136$as_echo "$ac_cv_sizeof_int" >&6; }
25137
25138
25139
25140cat >>confdefs.h <<_ACEOF
25141#define SIZEOF_INT $ac_cv_sizeof_int
25142_ACEOF
25143
25144
25145   # The cast to long int works around a bug in the HP C Compiler
25146# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25147# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25148# This bug is HP SR number 8606223364.
25149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
25150$as_echo_n "checking size of long... " >&6; }
25151if ${ac_cv_sizeof_long+:} false; then :
25152  $as_echo_n "(cached) " >&6
25153else
25154  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
25155
25156else
25157  if test "$ac_cv_type_long" = yes; then
25158     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25159$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25160as_fn_error 77 "cannot compute sizeof (long)
25161See \`config.log' for more details" "$LINENO" 5; }
25162   else
25163     ac_cv_sizeof_long=0
25164   fi
25165fi
25166
25167fi
25168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
25169$as_echo "$ac_cv_sizeof_long" >&6; }
25170
25171
25172
25173cat >>confdefs.h <<_ACEOF
25174#define SIZEOF_LONG $ac_cv_sizeof_long
25175_ACEOF
25176
25177
25178   # The cast to long int works around a bug in the HP C Compiler
25179# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25180# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25181# This bug is HP SR number 8606223364.
25182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
25183$as_echo_n "checking size of void*... " >&6; }
25184if ${ac_cv_sizeof_voidp+:} false; then :
25185  $as_echo_n "(cached) " >&6
25186else
25187  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
25188
25189else
25190  if test "$ac_cv_type_voidp" = yes; then
25191     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25192$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25193as_fn_error 77 "cannot compute sizeof (void*)
25194See \`config.log' for more details" "$LINENO" 5; }
25195   else
25196     ac_cv_sizeof_voidp=0
25197   fi
25198fi
25199
25200fi
25201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
25202$as_echo "$ac_cv_sizeof_voidp" >&6; }
25203
25204
25205
25206cat >>confdefs.h <<_ACEOF
25207#define SIZEOF_VOIDP $ac_cv_sizeof_voidp
25208_ACEOF
25209
25210
25211   ac_cv_char_data_model=""
25212   ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
25213   ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
25214   ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
25215   ac_cv_long_data_model=""
25216   ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
25217   ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
25218   ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
25219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
25220$as_echo_n "checking data model... " >&6; }
25221   case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
25222    122/242)     ac_cv_data_model="IP16"  ; n="standard 16bit machine" ;;
25223    122/244)     ac_cv_data_model="LP32"  ; n="standard 32bit machine" ;;
25224    122/*)       ac_cv_data_model="i16"   ; n="unusual int16 model" ;;
25225    124/444)     ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
25226    124/488)     ac_cv_data_model="LP64"  ; n="standard 64bit unixish" ;;
25227    124/448)     ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
25228    124/*)       ac_cv_data_model="i32"   ; n="unusual int32 model" ;;
25229    128/888)     ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
25230    128/*)       ac_cv_data_model="i64"   ; n="unusual int64 model" ;;
25231    222/*2)      ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
25232    333/*3)      ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
25233    444/*4)      ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
25234    666/*6)      ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
25235    888/*8)      ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
25236    222/*|333/*|444/*|666/*|888/*) :
25237                 ac_cv_data_model="iDSP"  ; n="unusual dsptype" ;;
25238     *)          ac_cv_data_model="none"  ; n="very unusual model" ;;
25239   esac
25240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
25241$as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
25242
25243fi
25244
25245if test "_$ac_cv_header_stdint_x" != "_" ; then
25246   ac_cv_header_stdint="$ac_cv_header_stdint_x"
25247elif  test "_$ac_cv_header_stdint_o" != "_" ; then
25248   ac_cv_header_stdint="$ac_cv_header_stdint_o"
25249elif  test "_$ac_cv_header_stdint_u" != "_" ; then
25250   ac_cv_header_stdint="$ac_cv_header_stdint_u"
25251else
25252   ac_cv_header_stdint="stddef.h"
25253fi
25254
25255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
25256$as_echo_n "checking for extra inttypes in chosen header... " >&6; }
25257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
25258$as_echo "($ac_cv_header_stdint)" >&6; }
25259unset ac_cv_type_int_least32_t
25260unset ac_cv_type_int_fast32_t
25261ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
25262"
25263if test "x$ac_cv_type_int_least32_t" = xyes; then :
25264
25265fi
25266
25267ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
25268"
25269if test "x$ac_cv_type_int_fast32_t" = xyes; then :
25270
25271fi
25272
25273ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
25274"
25275if test "x$ac_cv_type_intmax_t" = xyes; then :
25276
25277fi
25278
25279
25280fi # shortcircut to system "stdint.h"
25281# ------------------ PREPARE VARIABLES ------------------------------
25282if test "$GCC" = "yes" ; then
25283ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
25284else
25285ac_cv_stdint_message="using $CC"
25286fi
25287
25288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
25289$as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
25290
25291# ----------------- DONE inttypes.h checks START header -------------
25292ac_config_commands="$ac_config_commands $ac_stdint_h"
25293
25294
25295
25296for ac_header in sys/time.h
25297do :
25298  ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
25299if test "x$ac_cv_header_sys_time_h" = xyes; then :
25300  cat >>confdefs.h <<_ACEOF
25301#define HAVE_SYS_TIME_H 1
25302_ACEOF
25303
25304fi
25305
25306done
25307
25308
25309for ac_header in sys/socket.h
25310do :
25311  ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
25312if test "x$ac_cv_header_sys_socket_h" = xyes; then :
25313  cat >>confdefs.h <<_ACEOF
25314#define HAVE_SYS_SOCKET_H 1
25315_ACEOF
25316
25317fi
25318
25319done
25320
25321
25322
25323
25324
25325  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/ioctl.h" >&5
25326$as_echo_n "checking for FIONREAD in sys/ioctl.h... " >&6; }
25327  if ${_cv_gst_fionread_in_sys_ioctl+:} false; then :
25328  $as_echo_n "(cached) " >&6
25329else
25330
25331    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25332/* end confdefs.h.  */
25333
25334#include <sys/types.h>
25335#include <sys/ioctl.h>
25336
25337int
25338main ()
25339{
25340
25341int x = FIONREAD;
25342if ( x )
25343  return 0;
25344
25345  ;
25346  return 0;
25347}
25348_ACEOF
25349if ac_fn_c_try_compile "$LINENO"; then :
25350  _cv_gst_fionread_in_sys_ioctl="yes"
25351else
25352  _cv_gst_fionread_in_sys_ioctl="no"
25353fi
25354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25355
25356fi
25357
25358
25359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_ioctl" >&5
25360$as_echo "$_cv_gst_fionread_in_sys_ioctl" >&6; }
25361
25362  if test "$_cv_gst_fionread_in_sys_ioctl" = "yes"; then
25363
25364$as_echo "#define HAVE_FIONREAD_IN_SYS_IOCTL 1" >>confdefs.h
25365
25366
25367  else
25368
25369    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/filio.h" >&5
25370$as_echo_n "checking for FIONREAD in sys/filio.h... " >&6; }
25371    if ${_cv_gst_fionread_in_sys_filio+:} false; then :
25372  $as_echo_n "(cached) " >&6
25373else
25374
25375      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25376/* end confdefs.h.  */
25377
25378  #include <sys/types.h>
25379  #include <sys/filio.h>
25380
25381int
25382main ()
25383{
25384
25385  int x = FIONREAD;
25386  if ( x )
25387    return 0;
25388
25389  ;
25390  return 0;
25391}
25392_ACEOF
25393if ac_fn_c_try_compile "$LINENO"; then :
25394  _cv_gst_fionread_in_sys_filio="yes"
25395else
25396  _cv_gst_fionread_in_sys_filio="no"
25397fi
25398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25399
25400fi
25401
25402
25403    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_filio" >&5
25404$as_echo "$_cv_gst_fionread_in_sys_filio" >&6; }
25405
25406    if test "$_cv_gst_fionread_in_sys_filio" = "yes"; then
25407
25408$as_echo "#define HAVE_FIONREAD_IN_SYS_FILIO 1" >>confdefs.h
25409
25410    fi
25411
25412  fi
25413
25414
25415
25416
25417
25418
25419  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports gcc-style inline assembly" >&5
25420$as_echo_n "checking if compiler supports gcc-style inline assembly... " >&6; }
25421
25422  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25423/* end confdefs.h.  */
25424
25425int
25426main ()
25427{
25428
25429#ifdef __GNUC_MINOR__
25430#if (__GNUC__ * 1000 + __GNUC_MINOR__) < 3004
25431#error GCC before 3.4 has critical bugs compiling inline assembly
25432#endif
25433#endif
25434__asm__ (""::)
25435  ;
25436  return 0;
25437}
25438_ACEOF
25439if ac_fn_c_try_compile "$LINENO"; then :
25440  flag_ok=yes
25441else
25442  flag_ok=no
25443fi
25444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25445
25446  if test "X$flag_ok" = Xyes ; then
25447    HAVE_GCC_ASM=yes
25448    true
25449  else
25450    HAVE_GCC_ASM=no
25451    true
25452  fi
25453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25454$as_echo "$flag_ok" >&6; }
25455
25456if test x$HAVE_GCC_ASM = xyes ; then
25457
25458$as_echo "#define HAVE_GCC_ASM 1" >>confdefs.h
25459
25460fi
25461 if test "x$HAVE_GCC_ASM" = "xyes"; then
25462  HAVE_GCC_ASM_TRUE=
25463  HAVE_GCC_ASM_FALSE='#'
25464else
25465  HAVE_GCC_ASM_TRUE='#'
25466  HAVE_GCC_ASM_FALSE=
25467fi
25468
25469
25470
25471LIBS_SAVE=$LIBS
25472LIBS="$LIBS $LIBM"
25473for ac_func in rint sinh cosh asinh fpclass
25474do :
25475  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25476ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25477if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25478  cat >>confdefs.h <<_ACEOF
25479#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25480_ACEOF
25481
25482fi
25483done
25484
25485LIBS=$LIBS_SAVE
25486
25487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
25488$as_echo_n "checking for isinf... " >&6; }
25489if ${ac_cv_have_isinf+:} false; then :
25490  $as_echo_n "(cached) " >&6
25491else
25492  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25493/* end confdefs.h.  */
25494#include <math.h>
25495int
25496main ()
25497{
25498float f = 0.0; int i=isinf(f)
25499  ;
25500  return 0;
25501}
25502_ACEOF
25503if ac_fn_c_try_link "$LINENO"; then :
25504  ac_cv_have_isinf="yes"
25505else
25506  ac_cv_have_isinf="no"
25507fi
25508rm -f core conftest.err conftest.$ac_objext \
25509    conftest$ac_exeext conftest.$ac_ext
25510fi
25511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
25512$as_echo "$ac_cv_have_isinf" >&6; }
25513if test "$ac_cv_have_isinf" = "yes"
25514then
25515
25516$as_echo "#define HAVE_ISINF 1" >>confdefs.h
25517
25518fi
25519
25520
25521
25522
25523  for ac_header in $ac_header_list
25524do :
25525  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25526ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
25527"
25528if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25529  cat >>confdefs.h <<_ACEOF
25530#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25531_ACEOF
25532
25533fi
25534
25535done
25536
25537
25538
25539
25540
25541
25542
25543
25544for ac_func in getpagesize
25545do :
25546  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
25547if test "x$ac_cv_func_getpagesize" = xyes; then :
25548  cat >>confdefs.h <<_ACEOF
25549#define HAVE_GETPAGESIZE 1
25550_ACEOF
25551
25552fi
25553done
25554
25555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
25556$as_echo_n "checking for working mmap... " >&6; }
25557if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
25558  $as_echo_n "(cached) " >&6
25559else
25560  if test "$cross_compiling" = yes; then :
25561  ac_cv_func_mmap_fixed_mapped=no
25562else
25563  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25564/* end confdefs.h.  */
25565$ac_includes_default
25566/* malloc might have been renamed as rpl_malloc. */
25567#undef malloc
25568
25569/* Thanks to Mike Haertel and Jim Avera for this test.
25570   Here is a matrix of mmap possibilities:
25571	mmap private not fixed
25572	mmap private fixed at somewhere currently unmapped
25573	mmap private fixed at somewhere already mapped
25574	mmap shared not fixed
25575	mmap shared fixed at somewhere currently unmapped
25576	mmap shared fixed at somewhere already mapped
25577   For private mappings, we should verify that changes cannot be read()
25578   back from the file, nor mmap's back from the file at a different
25579   address.  (There have been systems where private was not correctly
25580   implemented like the infamous i386 svr4.0, and systems where the
25581   VM page cache was not coherent with the file system buffer cache
25582   like early versions of FreeBSD and possibly contemporary NetBSD.)
25583   For shared mappings, we should conversely verify that changes get
25584   propagated back to all the places they're supposed to be.
25585
25586   Grep wants private fixed already mapped.
25587   The main things grep needs to know about mmap are:
25588   * does it exist and is it safe to write into the mmap'd area
25589   * how to use it (BSD variants)  */
25590
25591#include <fcntl.h>
25592#include <sys/mman.h>
25593
25594#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
25595char *malloc ();
25596#endif
25597
25598/* This mess was copied from the GNU getpagesize.h.  */
25599#ifndef HAVE_GETPAGESIZE
25600# ifdef _SC_PAGESIZE
25601#  define getpagesize() sysconf(_SC_PAGESIZE)
25602# else /* no _SC_PAGESIZE */
25603#  ifdef HAVE_SYS_PARAM_H
25604#   include <sys/param.h>
25605#   ifdef EXEC_PAGESIZE
25606#    define getpagesize() EXEC_PAGESIZE
25607#   else /* no EXEC_PAGESIZE */
25608#    ifdef NBPG
25609#     define getpagesize() NBPG * CLSIZE
25610#     ifndef CLSIZE
25611#      define CLSIZE 1
25612#     endif /* no CLSIZE */
25613#    else /* no NBPG */
25614#     ifdef NBPC
25615#      define getpagesize() NBPC
25616#     else /* no NBPC */
25617#      ifdef PAGESIZE
25618#       define getpagesize() PAGESIZE
25619#      endif /* PAGESIZE */
25620#     endif /* no NBPC */
25621#    endif /* no NBPG */
25622#   endif /* no EXEC_PAGESIZE */
25623#  else /* no HAVE_SYS_PARAM_H */
25624#   define getpagesize() 8192	/* punt totally */
25625#  endif /* no HAVE_SYS_PARAM_H */
25626# endif /* no _SC_PAGESIZE */
25627
25628#endif /* no HAVE_GETPAGESIZE */
25629
25630int
25631main ()
25632{
25633  char *data, *data2, *data3;
25634  const char *cdata2;
25635  int i, pagesize;
25636  int fd, fd2;
25637
25638  pagesize = getpagesize ();
25639
25640  /* First, make a file with some known garbage in it. */
25641  data = (char *) malloc (pagesize);
25642  if (!data)
25643    return 1;
25644  for (i = 0; i < pagesize; ++i)
25645    *(data + i) = rand ();
25646  umask (0);
25647  fd = creat ("conftest.mmap", 0600);
25648  if (fd < 0)
25649    return 2;
25650  if (write (fd, data, pagesize) != pagesize)
25651    return 3;
25652  close (fd);
25653
25654  /* Next, check that the tail of a page is zero-filled.  File must have
25655     non-zero length, otherwise we risk SIGBUS for entire page.  */
25656  fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
25657  if (fd2 < 0)
25658    return 4;
25659  cdata2 = "";
25660  if (write (fd2, cdata2, 1) != 1)
25661    return 5;
25662  data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
25663  if (data2 == MAP_FAILED)
25664    return 6;
25665  for (i = 0; i < pagesize; ++i)
25666    if (*(data2 + i))
25667      return 7;
25668  close (fd2);
25669  if (munmap (data2, pagesize))
25670    return 8;
25671
25672  /* Next, try to mmap the file at a fixed address which already has
25673     something else allocated at it.  If we can, also make sure that
25674     we see the same garbage.  */
25675  fd = open ("conftest.mmap", O_RDWR);
25676  if (fd < 0)
25677    return 9;
25678  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
25679		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
25680    return 10;
25681  for (i = 0; i < pagesize; ++i)
25682    if (*(data + i) != *(data2 + i))
25683      return 11;
25684
25685  /* Finally, make sure that changes to the mapped area do not
25686     percolate back to the file as seen by read().  (This is a bug on
25687     some variants of i386 svr4.0.)  */
25688  for (i = 0; i < pagesize; ++i)
25689    *(data2 + i) = *(data2 + i) + 1;
25690  data3 = (char *) malloc (pagesize);
25691  if (!data3)
25692    return 12;
25693  if (read (fd, data3, pagesize) != pagesize)
25694    return 13;
25695  for (i = 0; i < pagesize; ++i)
25696    if (*(data + i) != *(data3 + i))
25697      return 14;
25698  close (fd);
25699  free (data);
25700  free (data3);
25701  return 0;
25702}
25703_ACEOF
25704if ac_fn_c_try_run "$LINENO"; then :
25705  ac_cv_func_mmap_fixed_mapped=yes
25706else
25707  ac_cv_func_mmap_fixed_mapped=no
25708fi
25709rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25710  conftest.$ac_objext conftest.beam conftest.$ac_ext
25711fi
25712
25713fi
25714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
25715$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
25716if test $ac_cv_func_mmap_fixed_mapped = yes; then
25717
25718$as_echo "#define HAVE_MMAP 1" >>confdefs.h
25719
25720fi
25721rm -f conftest.mmap conftest.txt
25722
25723# The cast to long int works around a bug in the HP C Compiler
25724# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25725# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25726# This bug is HP SR number 8606223364.
25727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
25728$as_echo_n "checking size of off_t... " >&6; }
25729if ${ac_cv_sizeof_off_t+:} false; then :
25730  $as_echo_n "(cached) " >&6
25731else
25732  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
25733
25734else
25735  if test "$ac_cv_type_off_t" = yes; then
25736     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25737$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25738as_fn_error 77 "cannot compute sizeof (off_t)
25739See \`config.log' for more details" "$LINENO" 5; }
25740   else
25741     ac_cv_sizeof_off_t=0
25742   fi
25743fi
25744
25745fi
25746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
25747$as_echo "$ac_cv_sizeof_off_t" >&6; }
25748
25749
25750
25751cat >>confdefs.h <<_ACEOF
25752#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
25753_ACEOF
25754
25755
25756 if test "x$ac_cv_func_mmap_fixed_mapped" = "xyes"; then
25757  GST_HAVE_MMAP_TRUE=
25758  GST_HAVE_MMAP_FALSE='#'
25759else
25760  GST_HAVE_MMAP_TRUE='#'
25761  GST_HAVE_MMAP_FALSE=
25762fi
25763
25764
25765
25766ac_fn_c_check_type "$LINENO" "struct ip_mreqn" "ac_cv_type_struct_ip_mreqn" "#include <netinet/in.h>
25767"
25768if test "x$ac_cv_type_struct_ip_mreqn" = xyes; then :
25769
25770
25771$as_echo "#define HAVE_IP_MREQN /**/" >>confdefs.h
25772
25773fi
25774
25775
25776
25777
25778GLIB_REQ=2.40.0
25779
25780
25781
25782    GLIB_REQ=$GLIB_REQ
25783  if test "x$GLIB_REQ" = "x"
25784  then
25785    as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
25786  fi
25787
25788
25789
25790  which="glib-2.0 >= $GLIB_REQ gobject-2.0 gmodule-no-export-2.0"
25791    required="no"
25792
25793
25794pkg_failed=no
25795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
25796$as_echo_n "checking for GLIB... " >&6; }
25797
25798if test -n "$PKG_CONFIG"; then
25799    if test -n "$GLIB_CFLAGS"; then
25800        pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
25801    else
25802        if test -n "$PKG_CONFIG" && \
25803    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
25804  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
25805  ac_status=$?
25806  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25807  test $ac_status = 0; }; then
25808  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
25809else
25810  pkg_failed=yes
25811fi
25812    fi
25813else
25814	pkg_failed=untried
25815fi
25816if test -n "$PKG_CONFIG"; then
25817    if test -n "$GLIB_LIBS"; then
25818        pkg_cv_GLIB_LIBS="$GLIB_LIBS"
25819    else
25820        if test -n "$PKG_CONFIG" && \
25821    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
25822  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
25823  ac_status=$?
25824  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25825  test $ac_status = 0; }; then
25826  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
25827else
25828  pkg_failed=yes
25829fi
25830    fi
25831else
25832	pkg_failed=untried
25833fi
25834
25835
25836
25837if test $pkg_failed = yes; then
25838
25839if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25840        _pkg_short_errors_supported=yes
25841else
25842        _pkg_short_errors_supported=no
25843fi
25844        if test $_pkg_short_errors_supported = yes; then
25845	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
25846        else
25847	        GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
25848        fi
25849	# Put the nasty error message in config.log where it belongs
25850	echo "$GLIB_PKG_ERRORS" >&5
25851
25852	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25853$as_echo "no" >&6; }
25854
25855      HAVE_GLIB="no"
25856      if test "x$required" = "xyes"; then
25857        as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
25858      else
25859        { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
25860$as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
25861      fi
25862
25863elif test $pkg_failed = untried; then
25864
25865      HAVE_GLIB="no"
25866      if test "x$required" = "xyes"; then
25867        as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
25868      else
25869        { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
25870$as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
25871      fi
25872
25873else
25874	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
25875	GLIB_LIBS=$pkg_cv_GLIB_LIBS
25876        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25877$as_echo "yes" >&6; }
25878
25879      HAVE_GLIB="yes"
25880
25881fi
25882
25883
25884
25885  if test "x$HAVE_GLIB" = "xno"; then
25886    as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
25887  fi
25888
25889        GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
25890
25891    if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
25892    GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
25893  fi
25894
25895  # Check whether --enable-gobject-cast-checks was given.
25896if test "${enable_gobject_cast_checks+set}" = set; then :
25897  enableval=$enable_gobject_cast_checks; enable_gobject_cast_checks=$enableval
25898else
25899  enable_gobject_cast_checks=auto
25900fi
25901
25902
25903  if test "x$enable_gobject_cast_checks" = "xauto"; then
25904        if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
25905      enable_gobject_cast_checks=yes
25906    else
25907      enable_gobject_cast_checks=no
25908    fi
25909  fi
25910
25911  if test "x$enable_gobject_cast_checks" = "xno"; then
25912    GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
25913  fi
25914
25915  # Check whether --enable-glib-asserts was given.
25916if test "${enable_glib_asserts+set}" = set; then :
25917  enableval=$enable_glib_asserts; enable_glib_assertions=$enableval
25918else
25919  enable_glib_assertions=yes
25920fi
25921
25922
25923  if test "x$enable_glib_assertions" = "xno"; then
25924    GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
25925  fi
25926
25927                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-genmarshal" >&5
25928$as_echo_n "checking for glib-genmarshal... " >&6; }
25929  if test "x$GLIB_GENMARSHAL" != "x"; then
25930    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL (from environment)" >&5
25931$as_echo "$GLIB_GENMARSHAL (from environment)" >&6; }
25932  else
25933    GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
25934    if $GLIB_GENMARSHAL --version 2>/dev/null >/dev/null; then
25935      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL (from pkg-config path)" >&5
25936$as_echo "$GLIB_GENMARSHAL (from pkg-config path)" >&6; }
25937    else
25938      # Extract the first word of "glib-genmarshal", so it can be a program name with args.
25939set dummy glib-genmarshal; ac_word=$2
25940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25941$as_echo_n "checking for $ac_word... " >&6; }
25942if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
25943  $as_echo_n "(cached) " >&6
25944else
25945  case $GLIB_GENMARSHAL in
25946  [\\/]* | ?:[\\/]*)
25947  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
25948  ;;
25949  *)
25950  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25951for as_dir in $PATH
25952do
25953  IFS=$as_save_IFS
25954  test -z "$as_dir" && as_dir=.
25955    for ac_exec_ext in '' $ac_executable_extensions; do
25956  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25957    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
25958    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25959    break 2
25960  fi
25961done
25962  done
25963IFS=$as_save_IFS
25964
25965  test -z "$ac_cv_path_GLIB_GENMARSHAL" && ac_cv_path_GLIB_GENMARSHAL="glib-genmarshal"
25966  ;;
25967esac
25968fi
25969GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
25970if test -n "$GLIB_GENMARSHAL"; then
25971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
25972$as_echo "$GLIB_GENMARSHAL" >&6; }
25973else
25974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25975$as_echo "no" >&6; }
25976fi
25977
25978
25979      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
25980$as_echo "$GLIB_GENMARSHAL" >&6; }
25981    fi
25982  fi
25983  if ! $GLIB_GENMARSHAL --version 2>/dev/null >/dev/null; then
25984    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $GLIB_GENMARSHAL does not seem to work!" >&5
25985$as_echo "$as_me: WARNING: $GLIB_GENMARSHAL does not seem to work!" >&2;}
25986  fi
25987
25988
25989    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-mkenums" >&5
25990$as_echo_n "checking for glib-mkenums... " >&6; }
25991  if test "x$GLIB_MKENUMS" != "x"; then
25992    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS (from environment)" >&5
25993$as_echo "$GLIB_MKENUMS (from environment)" >&6; }
25994  else
25995        GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
25996    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
25997$as_echo "$GLIB_MKENUMS" >&6; }
25998  fi
25999  if ! $GLIB_MKENUMS --version 2>/dev/null >/dev/null; then
26000    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $GLIB_MKENUMS does not seem to work!" >&5
26001$as_echo "$as_me: WARNING: $GLIB_MKENUMS does not seem to work!" >&2;}
26002  fi
26003
26004
26005
26006
26007
26008pkg_failed=no
26009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
26010$as_echo_n "checking for GIO... " >&6; }
26011
26012if test -n "$PKG_CONFIG"; then
26013    if test -n "$GIO_CFLAGS"; then
26014        pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
26015    else
26016        if test -n "$PKG_CONFIG" && \
26017    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQ\""; } >&5
26018  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQ") 2>&5
26019  ac_status=$?
26020  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26021  test $ac_status = 0; }; then
26022  pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= $GLIB_REQ" 2>/dev/null`
26023else
26024  pkg_failed=yes
26025fi
26026    fi
26027else
26028	pkg_failed=untried
26029fi
26030if test -n "$PKG_CONFIG"; then
26031    if test -n "$GIO_LIBS"; then
26032        pkg_cv_GIO_LIBS="$GIO_LIBS"
26033    else
26034        if test -n "$PKG_CONFIG" && \
26035    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQ\""; } >&5
26036  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQ") 2>&5
26037  ac_status=$?
26038  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26039  test $ac_status = 0; }; then
26040  pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= $GLIB_REQ" 2>/dev/null`
26041else
26042  pkg_failed=yes
26043fi
26044    fi
26045else
26046	pkg_failed=untried
26047fi
26048
26049
26050
26051if test $pkg_failed = yes; then
26052
26053if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26054        _pkg_short_errors_supported=yes
26055else
26056        _pkg_short_errors_supported=no
26057fi
26058        if test $_pkg_short_errors_supported = yes; then
26059	        GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= $GLIB_REQ"`
26060        else
26061	        GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= $GLIB_REQ"`
26062        fi
26063	# Put the nasty error message in config.log where it belongs
26064	echo "$GIO_PKG_ERRORS" >&5
26065
26066	as_fn_error $? "Package requirements (gio-2.0 >= $GLIB_REQ) were not met:
26067
26068$GIO_PKG_ERRORS
26069
26070Consider adjusting the PKG_CONFIG_PATH environment variable if you
26071installed software in a non-standard prefix.
26072
26073Alternatively, you may set the environment variables GIO_CFLAGS
26074and GIO_LIBS to avoid the need to call pkg-config.
26075See the pkg-config man page for more details.
26076" "$LINENO" 5
26077elif test $pkg_failed = untried; then
26078	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26079$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26080as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
26081is in your PATH or set the PKG_CONFIG environment variable to the full
26082path to pkg-config.
26083
26084Alternatively, you may set the environment variables GIO_CFLAGS
26085and GIO_LIBS to avoid the need to call pkg-config.
26086See the pkg-config man page for more details.
26087
26088To get pkg-config, see <http://pkg-config.freedesktop.org/>.
26089See \`config.log' for more details" "$LINENO" 5; }
26090else
26091	GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
26092	GIO_LIBS=$pkg_cv_GIO_LIBS
26093        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26094$as_echo "yes" >&6; }
26095	:
26096fi
26097  if test "x$HAVE_GIO" = "xno"; then
26098    as_fn_error $? "This package requires GIO >= $GLIB_REQ to compile." "$LINENO" 5
26099  fi
26100
26101  GIO_MODULE_DIR="`$PKG_CONFIG --variable=giomoduledir gio-2.0`"
26102
26103cat >>confdefs.h <<_ACEOF
26104#define GIO_MODULE_DIR "$GIO_MODULE_DIR"
26105_ACEOF
26106
26107  GIO_LIBDIR="`$PKG_CONFIG --variable=libdir gio-2.0`"
26108
26109cat >>confdefs.h <<_ACEOF
26110#define GIO_LIBDIR "$GIO_LIBDIR"
26111_ACEOF
26112
26113  GIO_PREFIX="`$PKG_CONFIG --variable=prefix gio-2.0`"
26114
26115cat >>confdefs.h <<_ACEOF
26116#define GIO_PREFIX "$GIO_PREFIX"
26117_ACEOF
26118
26119
26120
26121
26122
26123
26124
26125
26126  ORC_REQ=0.4.17
26127
26128  # Check whether --enable-orc was given.
26129if test "${enable_orc+set}" = set; then :
26130  enableval=$enable_orc; case "${enableval}" in
26131    auto) enable_orc=auto ;;
26132    yes) enable_orc=yes ;;
26133    no)  enable_orc=no ;;
26134    *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5 ;;
26135  esac
26136
26137else
26138  enable_orc=auto
26139fi
26140
26141  if test "x$enable_orc" != "xno" ; then
26142
26143pkg_failed=no
26144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
26145$as_echo_n "checking for ORC... " >&6; }
26146
26147if test -n "$PKG_CONFIG"; then
26148    if test -n "$ORC_CFLAGS"; then
26149        pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
26150    else
26151        if test -n "$PKG_CONFIG" && \
26152    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
26153  ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
26154  ac_status=$?
26155  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26156  test $ac_status = 0; }; then
26157  pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
26158else
26159  pkg_failed=yes
26160fi
26161    fi
26162else
26163	pkg_failed=untried
26164fi
26165if test -n "$PKG_CONFIG"; then
26166    if test -n "$ORC_LIBS"; then
26167        pkg_cv_ORC_LIBS="$ORC_LIBS"
26168    else
26169        if test -n "$PKG_CONFIG" && \
26170    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
26171  ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
26172  ac_status=$?
26173  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26174  test $ac_status = 0; }; then
26175  pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
26176else
26177  pkg_failed=yes
26178fi
26179    fi
26180else
26181	pkg_failed=untried
26182fi
26183
26184
26185
26186if test $pkg_failed = yes; then
26187
26188if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26189        _pkg_short_errors_supported=yes
26190else
26191        _pkg_short_errors_supported=no
26192fi
26193        if test $_pkg_short_errors_supported = yes; then
26194	        ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
26195        else
26196	        ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
26197        fi
26198	# Put the nasty error message in config.log where it belongs
26199	echo "$ORC_PKG_ERRORS" >&5
26200
26201	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26202$as_echo "no" >&6; }
26203
26204      if test "x$enable_orc" = "xyes" ; then
26205        as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
26206      fi
26207
26208$as_echo "#define DISABLE_ORC 1" >>confdefs.h
26209
26210      HAVE_ORC=no
26211      HAVE_ORCC=no
26212
26213elif test $pkg_failed = untried; then
26214
26215      if test "x$enable_orc" = "xyes" ; then
26216        as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
26217      fi
26218
26219$as_echo "#define DISABLE_ORC 1" >>confdefs.h
26220
26221      HAVE_ORC=no
26222      HAVE_ORCC=no
26223
26224else
26225	ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
26226	ORC_LIBS=$pkg_cv_ORC_LIBS
26227        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26228$as_echo "yes" >&6; }
26229
26230
26231$as_echo "#define HAVE_ORC 1" >>confdefs.h
26232
26233      HAVE_ORC=yes
26234      if test "x$ORCC" = "x" ; then
26235        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable orcc" >&5
26236$as_echo_n "checking for usable orcc... " >&6; }
26237        ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
26238                        if $ORCC --version 1> /dev/null 2> /dev/null; then :
26239
26240else
26241  ORCC=`which orcc`
26242fi
26243        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ORCC" >&5
26244$as_echo "$ORCC" >&6; }
26245      fi
26246
26247      ORCC_FLAGS="--compat $ORC_REQ"
26248
26249      if test "x$ORCC" = "x"; then :
26250  HAVE_ORCC=no
26251else
26252  HAVE_ORCC=yes
26253fi
26254
26255fi
26256  else
26257
26258$as_echo "#define DISABLE_ORC 1" >>confdefs.h
26259
26260    HAVE_ORC=no
26261    HAVE_ORCC=no
26262  fi
26263   if test "x$HAVE_ORC" = "xyes"; then
26264  HAVE_ORC_TRUE=
26265  HAVE_ORC_FALSE='#'
26266else
26267  HAVE_ORC_TRUE='#'
26268  HAVE_ORC_FALSE=
26269fi
26270
26271   if test "x$HAVE_ORCC" = "xyes"; then
26272  HAVE_ORCC_TRUE=
26273  HAVE_ORCC_FALSE='#'
26274else
26275  HAVE_ORCC_TRUE='#'
26276  HAVE_ORCC_FALSE=
26277fi
26278
26279
26280
26281
26282
26283
26284  module=gstreamer-$GST_API_VERSION
26285  minver=$GST_REQ
26286  name="GStreamer"
26287  required=yes
26288
26289pkg_failed=no
26290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
26291$as_echo_n "checking for GST... " >&6; }
26292
26293if test -n "$PKG_CONFIG"; then
26294    if test -n "$GST_CFLAGS"; then
26295        pkg_cv_GST_CFLAGS="$GST_CFLAGS"
26296    else
26297        if test -n "$PKG_CONFIG" && \
26298    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
26299  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
26300  ac_status=$?
26301  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26302  test $ac_status = 0; }; then
26303  pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
26304else
26305  pkg_failed=yes
26306fi
26307    fi
26308else
26309	pkg_failed=untried
26310fi
26311if test -n "$PKG_CONFIG"; then
26312    if test -n "$GST_LIBS"; then
26313        pkg_cv_GST_LIBS="$GST_LIBS"
26314    else
26315        if test -n "$PKG_CONFIG" && \
26316    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
26317  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
26318  ac_status=$?
26319  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26320  test $ac_status = 0; }; then
26321  pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
26322else
26323  pkg_failed=yes
26324fi
26325    fi
26326else
26327	pkg_failed=untried
26328fi
26329
26330
26331
26332if test $pkg_failed = yes; then
26333
26334if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26335        _pkg_short_errors_supported=yes
26336else
26337        _pkg_short_errors_supported=no
26338fi
26339        if test $_pkg_short_errors_supported = yes; then
26340	        GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
26341        else
26342	        GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
26343        fi
26344	# Put the nasty error message in config.log where it belongs
26345	echo "$GST_PKG_ERRORS" >&5
26346
26347	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26348$as_echo "no" >&6; }
26349
26350      HAVE_GST="no"
26351      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
26352$as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
26353      if test "x$required" = "xyes"; then
26354        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
26355      else
26356        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
26357$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
26358      fi
26359
26360elif test $pkg_failed = untried; then
26361
26362      HAVE_GST="no"
26363      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
26364$as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
26365      if test "x$required" = "xyes"; then
26366        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
26367      else
26368        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
26369$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
26370      fi
26371
26372else
26373	GST_CFLAGS=$pkg_cv_GST_CFLAGS
26374	GST_LIBS=$pkg_cv_GST_LIBS
26375        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26376$as_echo "yes" >&6; }
26377
26378      HAVE_GST="yes"
26379
26380fi
26381
26382
26383    if test -z $GST_TOOLS_DIR; then
26384    GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_API_VERSION`
26385    if test -z $GST_TOOLS_DIR; then
26386      as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
26387    fi
26388  fi
26389  { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
26390$as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
26391
26392
26393        if test -z $GST_PLUGINS_DIR; then
26394    GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_API_VERSION`
26395    if test -z $GST_PLUGINS_DIR; then
26396      as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
26397    fi
26398  fi
26399  { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
26400$as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
26401
26402
26403
26404
26405  module=gstreamer-base-$GST_API_VERSION
26406  minver=$GST_REQ
26407  name="GStreamer Base Libraries"
26408  required=yes
26409
26410pkg_failed=no
26411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
26412$as_echo_n "checking for GST_BASE... " >&6; }
26413
26414if test -n "$PKG_CONFIG"; then
26415    if test -n "$GST_BASE_CFLAGS"; then
26416        pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
26417    else
26418        if test -n "$PKG_CONFIG" && \
26419    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
26420  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
26421  ac_status=$?
26422  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26423  test $ac_status = 0; }; then
26424  pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
26425else
26426  pkg_failed=yes
26427fi
26428    fi
26429else
26430	pkg_failed=untried
26431fi
26432if test -n "$PKG_CONFIG"; then
26433    if test -n "$GST_BASE_LIBS"; then
26434        pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
26435    else
26436        if test -n "$PKG_CONFIG" && \
26437    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
26438  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
26439  ac_status=$?
26440  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26441  test $ac_status = 0; }; then
26442  pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
26443else
26444  pkg_failed=yes
26445fi
26446    fi
26447else
26448	pkg_failed=untried
26449fi
26450
26451
26452
26453if test $pkg_failed = yes; then
26454
26455if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26456        _pkg_short_errors_supported=yes
26457else
26458        _pkg_short_errors_supported=no
26459fi
26460        if test $_pkg_short_errors_supported = yes; then
26461	        GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
26462        else
26463	        GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
26464        fi
26465	# Put the nasty error message in config.log where it belongs
26466	echo "$GST_BASE_PKG_ERRORS" >&5
26467
26468	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26469$as_echo "no" >&6; }
26470
26471      HAVE_GST_BASE="no"
26472      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
26473$as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
26474      if test "x$required" = "xyes"; then
26475        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
26476      else
26477        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
26478$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
26479      fi
26480
26481elif test $pkg_failed = untried; then
26482
26483      HAVE_GST_BASE="no"
26484      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
26485$as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
26486      if test "x$required" = "xyes"; then
26487        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
26488      else
26489        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
26490$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
26491      fi
26492
26493else
26494	GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
26495	GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
26496        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26497$as_echo "yes" >&6; }
26498
26499      HAVE_GST_BASE="yes"
26500
26501fi
26502
26503
26504
26505
26506
26507  module=gstreamer-controller-$GST_API_VERSION
26508  minver=$GST_REQ
26509  name="GStreamer Controller Library"
26510  required=yes
26511
26512pkg_failed=no
26513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CONTROLLER" >&5
26514$as_echo_n "checking for GST_CONTROLLER... " >&6; }
26515
26516if test -n "$PKG_CONFIG"; then
26517    if test -n "$GST_CONTROLLER_CFLAGS"; then
26518        pkg_cv_GST_CONTROLLER_CFLAGS="$GST_CONTROLLER_CFLAGS"
26519    else
26520        if test -n "$PKG_CONFIG" && \
26521    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
26522  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
26523  ac_status=$?
26524  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26525  test $ac_status = 0; }; then
26526  pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
26527else
26528  pkg_failed=yes
26529fi
26530    fi
26531else
26532	pkg_failed=untried
26533fi
26534if test -n "$PKG_CONFIG"; then
26535    if test -n "$GST_CONTROLLER_LIBS"; then
26536        pkg_cv_GST_CONTROLLER_LIBS="$GST_CONTROLLER_LIBS"
26537    else
26538        if test -n "$PKG_CONFIG" && \
26539    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
26540  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
26541  ac_status=$?
26542  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26543  test $ac_status = 0; }; then
26544  pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
26545else
26546  pkg_failed=yes
26547fi
26548    fi
26549else
26550	pkg_failed=untried
26551fi
26552
26553
26554
26555if test $pkg_failed = yes; then
26556
26557if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26558        _pkg_short_errors_supported=yes
26559else
26560        _pkg_short_errors_supported=no
26561fi
26562        if test $_pkg_short_errors_supported = yes; then
26563	        GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
26564        else
26565	        GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
26566        fi
26567	# Put the nasty error message in config.log where it belongs
26568	echo "$GST_CONTROLLER_PKG_ERRORS" >&5
26569
26570	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26571$as_echo "no" >&6; }
26572
26573      HAVE_GST_CONTROLLER="no"
26574      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
26575$as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
26576      if test "x$required" = "xyes"; then
26577        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
26578      else
26579        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
26580$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
26581      fi
26582
26583elif test $pkg_failed = untried; then
26584
26585      HAVE_GST_CONTROLLER="no"
26586      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
26587$as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
26588      if test "x$required" = "xyes"; then
26589        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
26590      else
26591        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
26592$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
26593      fi
26594
26595else
26596	GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS
26597	GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS
26598        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26599$as_echo "yes" >&6; }
26600
26601      HAVE_GST_CONTROLLER="yes"
26602
26603fi
26604
26605
26606
26607
26608
26609  module=gstreamer-net-$GST_API_VERSION
26610  minver=$GST_REQ
26611  name="GStreamer Network Library"
26612  required=yes
26613
26614pkg_failed=no
26615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_NET" >&5
26616$as_echo_n "checking for GST_NET... " >&6; }
26617
26618if test -n "$PKG_CONFIG"; then
26619    if test -n "$GST_NET_CFLAGS"; then
26620        pkg_cv_GST_NET_CFLAGS="$GST_NET_CFLAGS"
26621    else
26622        if test -n "$PKG_CONFIG" && \
26623    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
26624  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
26625  ac_status=$?
26626  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26627  test $ac_status = 0; }; then
26628  pkg_cv_GST_NET_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
26629else
26630  pkg_failed=yes
26631fi
26632    fi
26633else
26634	pkg_failed=untried
26635fi
26636if test -n "$PKG_CONFIG"; then
26637    if test -n "$GST_NET_LIBS"; then
26638        pkg_cv_GST_NET_LIBS="$GST_NET_LIBS"
26639    else
26640        if test -n "$PKG_CONFIG" && \
26641    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
26642  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
26643  ac_status=$?
26644  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26645  test $ac_status = 0; }; then
26646  pkg_cv_GST_NET_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
26647else
26648  pkg_failed=yes
26649fi
26650    fi
26651else
26652	pkg_failed=untried
26653fi
26654
26655
26656
26657if test $pkg_failed = yes; then
26658
26659if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26660        _pkg_short_errors_supported=yes
26661else
26662        _pkg_short_errors_supported=no
26663fi
26664        if test $_pkg_short_errors_supported = yes; then
26665	        GST_NET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
26666        else
26667	        GST_NET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
26668        fi
26669	# Put the nasty error message in config.log where it belongs
26670	echo "$GST_NET_PKG_ERRORS" >&5
26671
26672	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26673$as_echo "no" >&6; }
26674
26675      HAVE_GST_NET="no"
26676      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_NET_PKG_ERRORS" >&5
26677$as_echo "$as_me: $GST_NET_PKG_ERRORS" >&6;}
26678      if test "x$required" = "xyes"; then
26679        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
26680      else
26681        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
26682$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
26683      fi
26684
26685elif test $pkg_failed = untried; then
26686
26687      HAVE_GST_NET="no"
26688      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_NET_PKG_ERRORS" >&5
26689$as_echo "$as_me: $GST_NET_PKG_ERRORS" >&6;}
26690      if test "x$required" = "xyes"; then
26691        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
26692      else
26693        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
26694$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
26695      fi
26696
26697else
26698	GST_NET_CFLAGS=$pkg_cv_GST_NET_CFLAGS
26699	GST_NET_LIBS=$pkg_cv_GST_NET_LIBS
26700        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26701$as_echo "yes" >&6; }
26702
26703      HAVE_GST_NET="yes"
26704
26705fi
26706
26707
26708
26709
26710
26711  module=gstreamer-check-$GST_API_VERSION
26712  minver=$GST_REQ
26713  name="GStreamer Check unittest Library"
26714  required=no
26715
26716pkg_failed=no
26717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
26718$as_echo_n "checking for GST_CHECK... " >&6; }
26719
26720if test -n "$PKG_CONFIG"; then
26721    if test -n "$GST_CHECK_CFLAGS"; then
26722        pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
26723    else
26724        if test -n "$PKG_CONFIG" && \
26725    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
26726  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
26727  ac_status=$?
26728  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26729  test $ac_status = 0; }; then
26730  pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
26731else
26732  pkg_failed=yes
26733fi
26734    fi
26735else
26736	pkg_failed=untried
26737fi
26738if test -n "$PKG_CONFIG"; then
26739    if test -n "$GST_CHECK_LIBS"; then
26740        pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
26741    else
26742        if test -n "$PKG_CONFIG" && \
26743    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
26744  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
26745  ac_status=$?
26746  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26747  test $ac_status = 0; }; then
26748  pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
26749else
26750  pkg_failed=yes
26751fi
26752    fi
26753else
26754	pkg_failed=untried
26755fi
26756
26757
26758
26759if test $pkg_failed = yes; then
26760
26761if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26762        _pkg_short_errors_supported=yes
26763else
26764        _pkg_short_errors_supported=no
26765fi
26766        if test $_pkg_short_errors_supported = yes; then
26767	        GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
26768        else
26769	        GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
26770        fi
26771	# Put the nasty error message in config.log where it belongs
26772	echo "$GST_CHECK_PKG_ERRORS" >&5
26773
26774	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26775$as_echo "no" >&6; }
26776
26777      HAVE_GST_CHECK="no"
26778      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
26779$as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
26780      if test "x$required" = "xyes"; then
26781        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
26782      else
26783        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
26784$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
26785      fi
26786
26787elif test $pkg_failed = untried; then
26788
26789      HAVE_GST_CHECK="no"
26790      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
26791$as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
26792      if test "x$required" = "xyes"; then
26793        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
26794      else
26795        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
26796$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
26797      fi
26798
26799else
26800	GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
26801	GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
26802        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26803$as_echo "yes" >&6; }
26804
26805      HAVE_GST_CHECK="yes"
26806
26807fi
26808
26809
26810
26811
26812
26813  module=gstreamer-plugins-base-$GST_API_VERSION
26814  minver=$GSTPB_REQ
26815  name="GStreamer Base Plugins"
26816  required=yes
26817
26818pkg_failed=no
26819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
26820$as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
26821
26822if test -n "$PKG_CONFIG"; then
26823    if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
26824        pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
26825    else
26826        if test -n "$PKG_CONFIG" && \
26827    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
26828  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
26829  ac_status=$?
26830  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26831  test $ac_status = 0; }; then
26832  pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
26833else
26834  pkg_failed=yes
26835fi
26836    fi
26837else
26838	pkg_failed=untried
26839fi
26840if test -n "$PKG_CONFIG"; then
26841    if test -n "$GST_PLUGINS_BASE_LIBS"; then
26842        pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
26843    else
26844        if test -n "$PKG_CONFIG" && \
26845    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
26846  ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
26847  ac_status=$?
26848  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26849  test $ac_status = 0; }; then
26850  pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
26851else
26852  pkg_failed=yes
26853fi
26854    fi
26855else
26856	pkg_failed=untried
26857fi
26858
26859
26860
26861if test $pkg_failed = yes; then
26862
26863if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26864        _pkg_short_errors_supported=yes
26865else
26866        _pkg_short_errors_supported=no
26867fi
26868        if test $_pkg_short_errors_supported = yes; then
26869	        GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
26870        else
26871	        GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
26872        fi
26873	# Put the nasty error message in config.log where it belongs
26874	echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
26875
26876	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26877$as_echo "no" >&6; }
26878
26879      HAVE_GST_PLUGINS_BASE="no"
26880      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
26881$as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
26882      if test "x$required" = "xyes"; then
26883        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
26884      else
26885        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
26886$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
26887      fi
26888
26889elif test $pkg_failed = untried; then
26890
26891      HAVE_GST_PLUGINS_BASE="no"
26892      { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
26893$as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
26894      if test "x$required" = "xyes"; then
26895        as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
26896      else
26897        { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
26898$as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
26899      fi
26900
26901else
26902	GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
26903	GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
26904        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26905$as_echo "yes" >&6; }
26906
26907      HAVE_GST_PLUGINS_BASE="yes"
26908
26909fi
26910
26911
26912
26913  if test "x$HAVE_GST_PLUGINS_BASE" = "xyes"; then
26914                if test -z $GSTPB_PLUGINS_DIR; then
26915      GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_API_VERSION`
26916      if test -z $GSTPB_PLUGINS_DIR; then
26917        as_fn_error $? "no pluginsdir set in GStreamer Base Plugins pkg-config file" "$LINENO" 5
26918      fi
26919    fi
26920    { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
26921$as_echo "$as_me: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
26922    GST_PLUGINS_BASE_DIR="$GSTPB_PLUGINS_DIR/gst:$GSTPB_PLUGINS_DIR/sys:$GSTPB_PLUGINS_DIR/ext"
26923
26924
26925  fi
26926
26927
26928GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_API_VERSION`
26929if test -z $GST_TOOLS_DIR; then
26930  as_fn_error $? "no tools dir defined in GStreamer pkg-config file; core upgrade needed." "$LINENO" 5
26931fi
26932
26933
26934{ $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&5
26935$as_echo "$as_me: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&6;}
26936{ $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
26937$as_echo "$as_me: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
26938
26939
26940  which="gstreamer-gl-$GST_API_VERSION"
26941    required=$GST_REQ
26942
26943
26944pkg_failed=no
26945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_GL" >&5
26946$as_echo_n "checking for GST_GL... " >&6; }
26947
26948if test -n "$PKG_CONFIG"; then
26949    if test -n "$GST_GL_CFLAGS"; then
26950        pkg_cv_GST_GL_CFLAGS="$GST_GL_CFLAGS"
26951    else
26952        if test -n "$PKG_CONFIG" && \
26953    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
26954  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
26955  ac_status=$?
26956  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26957  test $ac_status = 0; }; then
26958  pkg_cv_GST_GL_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
26959else
26960  pkg_failed=yes
26961fi
26962    fi
26963else
26964	pkg_failed=untried
26965fi
26966if test -n "$PKG_CONFIG"; then
26967    if test -n "$GST_GL_LIBS"; then
26968        pkg_cv_GST_GL_LIBS="$GST_GL_LIBS"
26969    else
26970        if test -n "$PKG_CONFIG" && \
26971    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
26972  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
26973  ac_status=$?
26974  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26975  test $ac_status = 0; }; then
26976  pkg_cv_GST_GL_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
26977else
26978  pkg_failed=yes
26979fi
26980    fi
26981else
26982	pkg_failed=untried
26983fi
26984
26985
26986
26987if test $pkg_failed = yes; then
26988
26989if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26990        _pkg_short_errors_supported=yes
26991else
26992        _pkg_short_errors_supported=no
26993fi
26994        if test $_pkg_short_errors_supported = yes; then
26995	        GST_GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
26996        else
26997	        GST_GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
26998        fi
26999	# Put the nasty error message in config.log where it belongs
27000	echo "$GST_GL_PKG_ERRORS" >&5
27001
27002	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27003$as_echo "no" >&6; }
27004
27005      HAVE_GST_GL="no"
27006      if test "x$required" = "xyes"; then
27007        as_fn_error $? "$GST_GL_PKG_ERRORS" "$LINENO" 5
27008      else
27009        { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GL_PKG_ERRORS" >&5
27010$as_echo "$as_me: $GST_GL_PKG_ERRORS" >&6;}
27011      fi
27012
27013elif test $pkg_failed = untried; then
27014
27015      HAVE_GST_GL="no"
27016      if test "x$required" = "xyes"; then
27017        as_fn_error $? "$GST_GL_PKG_ERRORS" "$LINENO" 5
27018      else
27019        { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GL_PKG_ERRORS" >&5
27020$as_echo "$as_me: $GST_GL_PKG_ERRORS" >&6;}
27021      fi
27022
27023else
27024	GST_GL_CFLAGS=$pkg_cv_GST_GL_CFLAGS
27025	GST_GL_LIBS=$pkg_cv_GST_GL_LIBS
27026        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27027$as_echo "yes" >&6; }
27028
27029      HAVE_GST_GL="yes"
27030
27031fi
27032
27033
27034
27035if test "x$HAVE_GST_GL" = "xyes"; then
27036
27037  { $as_echo "$as_me:${as_lineno-$LINENO}: checking GStreamer OpenGL window systems ..." >&5
27038$as_echo_n "checking GStreamer OpenGL window systems ...... " >&6; }
27039  GST_GL_WINSYS=`$PKG_CONFIG --variable=gl_winsys gstreamer-gl-1.0`
27040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GST_GL_WINSYS" >&5
27041$as_echo "$GST_GL_WINSYS" >&6; }
27042  GST_GL_HAVE_WINDOW_X11=""
27043  GST_GL_HAVE_WINDOW_WAYLAND=""
27044  GST_GL_HAVE_WINDOW_ANDROID=""
27045  GST_GL_HAVE_WINDOW_COCOA=""
27046  GST_GL_HAVE_WINDOW_EAGL=""
27047  case "$GST_GL_WINSYS" in  *x11*) GST_GL_HAVE_WINDOW_X11="1" ;; esac
27048  case "$GST_GL_WINSYS" in  *wayland*) GST_GL_HAVE_WINDOW_WAYLAND="1" ;; esac
27049  case "$GST_GL_WINSYS" in  *android*) GST_GL_HAVE_WINDOW_ANDROID="1" ;; esac
27050  case "$GST_GL_WINSYS" in  *cocoa*) GST_GL_HAVE_WINDOW_COCOA="1" ;; esac
27051  case "$GST_GL_WINSYS" in  *eagl*) GST_GL_HAVE_WINDOW_EAGL="1" ;; esac
27052
27053  { $as_echo "$as_me:${as_lineno-$LINENO}: checking GStreamer OpenGL platforms ..." >&5
27054$as_echo_n "checking GStreamer OpenGL platforms ...... " >&6; }
27055  GST_GL_PLATFORMS=`$PKG_CONFIG --variable=gl_platforms gstreamer-gl-1.0`
27056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GST_GL_PLATFORMS" >&5
27057$as_echo "$GST_GL_PLATFORMS" >&6; }
27058  GST_GL_HAVE_PLATFORM_GLX=""
27059  GST_GL_HAVE_PLATFORM_EGL=""
27060  GST_GL_HAVE_PLATFORM_CGL=""
27061  GST_GL_HAVE_PLATFORM_EAGL=""
27062  case "$GST_GL_PLATFORMS" in  *glx*) GST_GL_HAVE_PLATFORM_GLX="1" ;; esac
27063  case "$GST_GL_PLATFORMS" in  *egl*) GST_GL_HAVE_PLATFORM_EGL="1" ;; esac
27064  case "$GST_GL_PLATFORMS" in  *cgl*) GST_GL_HAVE_PLATFORM_CGL="1" ;; esac
27065  case "$GST_GL_PLATFORMS" in  *eagl*) GST_GL_HAVE_PLATFORM_EAGL="1" ;; esac
27066
27067  { $as_echo "$as_me:${as_lineno-$LINENO}: checking GStreamer OpenGL apis ..." >&5
27068$as_echo_n "checking GStreamer OpenGL apis ...... " >&6; }
27069  GST_GL_APIS=`$PKG_CONFIG --variable=gl_apis gstreamer-gl-1.0`
27070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GST_GL_APIS" >&5
27071$as_echo "$GST_GL_APIS" >&6; }
27072  GST_GL_HAVE_API_GLES2=""
27073  GST_GL_HAVE_API_GL=""
27074  case "$GST_GL_APIS" in  *gles2*) GST_GL_HAVE_API_GLES2="1" ;; esac
27075  case "$GST_GL_APIS" in "gl"|"gl "*|*" gl"|*" gl "*) GST_GL_HAVE_API_GL="1" ;; esac
27076fi
27077
27078 if test "x$HAVE_GST_CHECK" = "xyes"; then
27079  HAVE_GST_CHECK_TRUE=
27080  HAVE_GST_CHECK_FALSE='#'
27081else
27082  HAVE_GST_CHECK_TRUE='#'
27083  HAVE_GST_CHECK_FALSE=
27084fi
27085
27086
27087GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
27088GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`"
27089GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_API_VERSION`"
27090
27091
27092
27093
27094HAVE_GTK=no
27095GTK_REQ=3.0.0
27096if test "x$BUILD_EXAMPLES" = "xyes"; then
27097
27098pkg_failed=no
27099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
27100$as_echo_n "checking for GTK... " >&6; }
27101
27102if test -n "$PKG_CONFIG"; then
27103    if test -n "$GTK_CFLAGS"; then
27104        pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
27105    else
27106        if test -n "$PKG_CONFIG" && \
27107    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQ\""; } >&5
27108  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQ") 2>&5
27109  ac_status=$?
27110  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27111  test $ac_status = 0; }; then
27112  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQ" 2>/dev/null`
27113else
27114  pkg_failed=yes
27115fi
27116    fi
27117else
27118	pkg_failed=untried
27119fi
27120if test -n "$PKG_CONFIG"; then
27121    if test -n "$GTK_LIBS"; then
27122        pkg_cv_GTK_LIBS="$GTK_LIBS"
27123    else
27124        if test -n "$PKG_CONFIG" && \
27125    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQ\""; } >&5
27126  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQ") 2>&5
27127  ac_status=$?
27128  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27129  test $ac_status = 0; }; then
27130  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQ" 2>/dev/null`
27131else
27132  pkg_failed=yes
27133fi
27134    fi
27135else
27136	pkg_failed=untried
27137fi
27138
27139
27140
27141if test $pkg_failed = yes; then
27142
27143if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27144        _pkg_short_errors_supported=yes
27145else
27146        _pkg_short_errors_supported=no
27147fi
27148        if test $_pkg_short_errors_supported = yes; then
27149	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-3.0 >= $GTK_REQ"`
27150        else
27151	        GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-3.0 >= $GTK_REQ"`
27152        fi
27153	# Put the nasty error message in config.log where it belongs
27154	echo "$GTK_PKG_ERRORS" >&5
27155
27156	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27157$as_echo "no" >&6; }
27158                HAVE_GTK=no
27159elif test $pkg_failed = untried; then
27160	HAVE_GTK=no
27161else
27162	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
27163	GTK_LIBS=$pkg_cv_GTK_LIBS
27164        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27165$as_echo "yes" >&6; }
27166	HAVE_GTK=yes
27167fi
27168
27169pkg_failed=no
27170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_X11" >&5
27171$as_echo_n "checking for GTK_X11... " >&6; }
27172
27173if test -n "$PKG_CONFIG"; then
27174    if test -n "$GTK_X11_CFLAGS"; then
27175        pkg_cv_GTK_X11_CFLAGS="$GTK_X11_CFLAGS"
27176    else
27177        if test -n "$PKG_CONFIG" && \
27178    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-3.0 >= \$GTK_REQ\""; } >&5
27179  ($PKG_CONFIG --exists --print-errors "gtk+-x11-3.0 >= $GTK_REQ") 2>&5
27180  ac_status=$?
27181  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27182  test $ac_status = 0; }; then
27183  pkg_cv_GTK_X11_CFLAGS=`$PKG_CONFIG --cflags "gtk+-x11-3.0 >= $GTK_REQ" 2>/dev/null`
27184else
27185  pkg_failed=yes
27186fi
27187    fi
27188else
27189	pkg_failed=untried
27190fi
27191if test -n "$PKG_CONFIG"; then
27192    if test -n "$GTK_X11_LIBS"; then
27193        pkg_cv_GTK_X11_LIBS="$GTK_X11_LIBS"
27194    else
27195        if test -n "$PKG_CONFIG" && \
27196    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-3.0 >= \$GTK_REQ\""; } >&5
27197  ($PKG_CONFIG --exists --print-errors "gtk+-x11-3.0 >= $GTK_REQ") 2>&5
27198  ac_status=$?
27199  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27200  test $ac_status = 0; }; then
27201  pkg_cv_GTK_X11_LIBS=`$PKG_CONFIG --libs "gtk+-x11-3.0 >= $GTK_REQ" 2>/dev/null`
27202else
27203  pkg_failed=yes
27204fi
27205    fi
27206else
27207	pkg_failed=untried
27208fi
27209
27210
27211
27212if test $pkg_failed = yes; then
27213
27214if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27215        _pkg_short_errors_supported=yes
27216else
27217        _pkg_short_errors_supported=no
27218fi
27219        if test $_pkg_short_errors_supported = yes; then
27220	        GTK_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-x11-3.0 >= $GTK_REQ"`
27221        else
27222	        GTK_X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-x11-3.0 >= $GTK_REQ"`
27223        fi
27224	# Put the nasty error message in config.log where it belongs
27225	echo "$GTK_X11_PKG_ERRORS" >&5
27226
27227	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27228$as_echo "no" >&6; }
27229                HAVE_GTK_X11=no
27230elif test $pkg_failed = untried; then
27231	HAVE_GTK_X11=no
27232else
27233	GTK_X11_CFLAGS=$pkg_cv_GTK_X11_CFLAGS
27234	GTK_X11_LIBS=$pkg_cv_GTK_X11_LIBS
27235        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27236$as_echo "yes" >&6; }
27237	HAVE_GTK_X11=yes
27238fi
27239
27240
27241fi
27242 if test "x$HAVE_GTK" = "xyes"; then
27243  HAVE_GTK_TRUE=
27244  HAVE_GTK_FALSE='#'
27245else
27246  HAVE_GTK_TRUE='#'
27247  HAVE_GTK_FALSE=
27248fi
27249
27250 if test "x$HAVE_GTK_X11" = "xyes"; then
27251  HAVE_GTK_X11_TRUE=
27252  HAVE_GTK_X11_FALSE='#'
27253else
27254  HAVE_GTK_X11_TRUE='#'
27255  HAVE_GTK_X11_FALSE=
27256fi
27257
27258
27259# Check whether --enable-Bsymbolic was given.
27260if test "${enable_Bsymbolic+set}" = set; then :
27261  enableval=$enable_Bsymbolic;
27262else
27263  SAVED_LDFLAGS="${LDFLAGS}" SAVED_LIBS="${LIBS}"
27264               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
27265$as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
27266               LDFLAGS=-Wl,-Bsymbolic-functions
27267               LIBS=
27268               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27269/* end confdefs.h.  */
27270
27271int
27272main ()
27273{
27274return 0
27275  ;
27276  return 0;
27277}
27278_ACEOF
27279if ac_fn_c_try_link "$LINENO"; then :
27280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27281$as_echo "yes" >&6; }
27282                           enable_Bsymbolic=yes
27283else
27284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27285$as_echo "no" >&6; }
27286                           enable_Bsymbolic=no
27287fi
27288rm -f core conftest.err conftest.$ac_objext \
27289    conftest$ac_exeext conftest.$ac_ext
27290               LDFLAGS="${SAVED_LDFLAGS}" LIBS="${SAVED_LIBS}"
27291fi
27292
27293
27294
27295GST_LICENSE="LGPL"
27296
27297cat >>confdefs.h <<_ACEOF
27298#define GST_LICENSE "$GST_LICENSE"
27299_ACEOF
27300
27301
27302
27303
27304
27305  EXP_VAR=PLUGINDIR
27306  FROM_VAR=${libdir}/gstreamer-$GST_API_VERSION
27307
27308    prefix_save=$prefix
27309  exec_prefix_save=$exec_prefix
27310
27311    if test "x$prefix" = "xNONE"; then
27312    prefix="$ac_default_prefix"
27313  fi
27314    if test "x$exec_prefix" = "xNONE"; then
27315    exec_prefix=$prefix
27316  fi
27317
27318  full_var="$FROM_VAR"
27319    while true; do
27320    new_full_var="`eval echo $full_var`"
27321    if test "x$new_full_var" = "x$full_var"; then break; fi
27322    full_var=$new_full_var
27323  done
27324
27325    full_var=$new_full_var
27326  PLUGINDIR="$full_var"
27327
27328
27329    prefix=$prefix_save
27330  exec_prefix=$exec_prefix_save
27331
27332
27333cat >>confdefs.h <<_ACEOF
27334#define PLUGINDIR "$PLUGINDIR"
27335_ACEOF
27336
27337  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
27338$as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
27339
27340    plugindir="\$(libdir)/gstreamer-$GST_API_VERSION"
27341
27342
27343
27344
27345  if test "x$PACKAGE_VERSION_NANO" = "x0"; then
27346
27347      if test "xyes" = "xno" -o "xyes" = "x"; then
27348    GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
27349  elif test "xyes" = "xyes"; then
27350            if ( echo  "${srcdir}/gst-plugins-good.doap"  | grep '^20[1-9][0-9]-[0-1][0-9]-[0-3][0-9]' >/dev/null ) ; then
27351      GST_PACKAGE_RELEASE_DATETIME= "${srcdir}/gst-plugins-good.doap"
27352    else
27353            YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO   "${srcdir}/gst-plugins-good.doap" `;
27354      if test "x$YYYY_MM_DD" != "x"; then
27355        GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
27356      else
27357        as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
27358            release date for release version  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO  from  \"${srcdir}/gst-plugins-good.doap\" " "$LINENO" 5
27359        GST_PACKAGE_RELEASE_DATETIME=""
27360      fi
27361    fi
27362    elif ( echo yes | grep '^20[1-9][0-9]-[0-1][0-9]-[0-3][0-9]' >/dev/null ) ; then
27363    GST_PACKAGE_RELEASE_DATETIME=yes
27364  else
27365    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
27366$as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
27367    GST_PACKAGE_RELEASE_DATETIME=""
27368  fi
27369
27370  if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
27371    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
27372$as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
27373  else
27374    { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
27375$as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
27376
27377
27378cat >>confdefs.h <<_ACEOF
27379#define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
27380_ACEOF
27381
27382  fi
27383
27384  else
27385
27386      if test "xno" = "xno" -o "xno" = "x"; then
27387    GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
27388  elif test "xno" = "xyes"; then
27389            if ( echo  | grep '^20[1-9][0-9]-[0-1][0-9]-[0-3][0-9]' >/dev/null ) ; then
27390      GST_PACKAGE_RELEASE_DATETIME=
27391    else
27392            YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  `;
27393      if test "x$YYYY_MM_DD" != "x"; then
27394        GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
27395      else
27396        as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
27397            release date for release version  from " "$LINENO" 5
27398        GST_PACKAGE_RELEASE_DATETIME=""
27399      fi
27400    fi
27401    elif ( echo no | grep '^20[1-9][0-9]-[0-1][0-9]-[0-3][0-9]' >/dev/null ) ; then
27402    GST_PACKAGE_RELEASE_DATETIME=no
27403  else
27404    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
27405$as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
27406    GST_PACKAGE_RELEASE_DATETIME=""
27407  fi
27408
27409  if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
27410    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
27411$as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
27412  else
27413    { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
27414$as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
27415
27416
27417cat >>confdefs.h <<_ACEOF
27418#define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
27419_ACEOF
27420
27421  fi
27422
27423  fi
27424
27425
27426# set by AG_GST_PARSE_SUBSYSTEM_DISABLES above
27427NO_WARNINGS=""
27428
27429
27430
27431  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GStreamer debugging system is enabled" >&5
27432$as_echo_n "checking whether the GStreamer debugging system is enabled... " >&6; }
27433  ac_ext=c
27434ac_cpp='$CPP $CPPFLAGS'
27435ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27436ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27437ac_compiler_gnu=$ac_cv_c_compiler_gnu
27438
27439  save_CFLAGS="$CFLAGS"
27440  CFLAGS="$GST_CFLAGS $CFLAGS"
27441  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27442/* end confdefs.h.  */
27443
27444
27445      #include <gst/gstconfig.h>
27446      #ifdef GST_DISABLE_GST_DEBUG
27447      #error "debugging disabled, make compiler fail"
27448      #endif
27449_ACEOF
27450if ac_fn_c_try_compile "$LINENO"; then :
27451   debug_system_enabled=yes
27452else
27453  debug_system_enabled=no
27454fi
27455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27456  CFLAGS="$save_CFLAGS"
27457  ac_ext=c
27458ac_cpp='$CPP $CPPFLAGS'
27459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27461ac_compiler_gnu=$ac_cv_c_compiler_gnu
27462
27463
27464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug_system_enabled" >&5
27465$as_echo "$debug_system_enabled" >&6; }
27466
27467  if test "x$debug_system_enabled" = "xyes" ; then
27468    NO_WARNINGS=""
27469    true
27470  else
27471    NO_WARNINGS="-Wno-unused"
27472    true
27473  fi
27474
27475
27476
27477
27478
27479
27480  WARNING_CFLAGS=""
27481  ERROR_CFLAGS=""
27482
27483
27484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
27485$as_echo_n "checking to see if compiler understands -Wall... " >&6; }
27486
27487  save_CFLAGS="$CFLAGS"
27488  CFLAGS="$CFLAGS -Wall"
27489
27490  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27491/* end confdefs.h.  */
27492
27493int
27494main ()
27495{
27496
27497  ;
27498  return 0;
27499}
27500_ACEOF
27501if ac_fn_c_try_compile "$LINENO"; then :
27502  flag_ok=yes
27503else
27504  flag_ok=no
27505fi
27506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27507  CFLAGS="$save_CFLAGS"
27508
27509  if test "X$flag_ok" = Xyes ; then
27510    WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
27511    true
27512  else
27513
27514    true
27515  fi
27516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
27517$as_echo "$flag_ok" >&6; }
27518
27519
27520
27521  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
27522$as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
27523
27524  save_CFLAGS="$CFLAGS"
27525  CFLAGS="$CFLAGS -Wdeclaration-after-statement"
27526
27527  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27528/* end confdefs.h.  */
27529
27530int
27531main ()
27532{
27533
27534  ;
27535  return 0;
27536}
27537_ACEOF
27538if ac_fn_c_try_compile "$LINENO"; then :
27539  flag_ok=yes
27540else
27541  flag_ok=no
27542fi
27543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27544  CFLAGS="$save_CFLAGS"
27545
27546  if test "X$flag_ok" = Xyes ; then
27547    WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
27548    true
27549  else
27550
27551    true
27552  fi
27553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
27554$as_echo "$flag_ok" >&6; }
27555
27556
27557
27558  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
27559$as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
27560
27561  save_CFLAGS="$CFLAGS"
27562  CFLAGS="$CFLAGS -Wvla"
27563
27564  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27565/* end confdefs.h.  */
27566
27567int
27568main ()
27569{
27570
27571  ;
27572  return 0;
27573}
27574_ACEOF
27575if ac_fn_c_try_compile "$LINENO"; then :
27576  flag_ok=yes
27577else
27578  flag_ok=no
27579fi
27580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27581  CFLAGS="$save_CFLAGS"
27582
27583  if test "X$flag_ok" = Xyes ; then
27584    WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
27585    true
27586  else
27587
27588    true
27589  fi
27590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
27591$as_echo "$flag_ok" >&6; }
27592
27593
27594
27595  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
27596$as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
27597
27598  save_CFLAGS="$CFLAGS"
27599  CFLAGS="$CFLAGS -Wpointer-arith"
27600
27601  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27602/* end confdefs.h.  */
27603
27604int
27605main ()
27606{
27607
27608  ;
27609  return 0;
27610}
27611_ACEOF
27612if ac_fn_c_try_compile "$LINENO"; then :
27613  flag_ok=yes
27614else
27615  flag_ok=no
27616fi
27617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27618  CFLAGS="$save_CFLAGS"
27619
27620  if test "X$flag_ok" = Xyes ; then
27621    WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
27622    true
27623  else
27624
27625    true
27626  fi
27627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
27628$as_echo "$flag_ok" >&6; }
27629
27630
27631    if test "x$FATAL_WARNINGS" != "xno"
27632  then
27633
27634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
27635$as_echo_n "checking to see if compiler understands -Werror... " >&6; }
27636
27637  save_CFLAGS="$CFLAGS"
27638  CFLAGS="$CFLAGS -Werror"
27639
27640  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27641/* end confdefs.h.  */
27642
27643int
27644main ()
27645{
27646
27647  ;
27648  return 0;
27649}
27650_ACEOF
27651if ac_fn_c_try_compile "$LINENO"; then :
27652  flag_ok=yes
27653else
27654  flag_ok=no
27655fi
27656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27657  CFLAGS="$save_CFLAGS"
27658
27659  if test "X$flag_ok" = Xyes ; then
27660    ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
27661    true
27662  else
27663
27664    true
27665  fi
27666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
27667$as_echo "$flag_ok" >&6; }
27668
27669  fi
27670
27671  if test "x
27672      -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
27673      -Wwrite-strings -Wold-style-definition -Waggregate-return
27674      -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
27675      -Wnested-externs $NO_WARNINGS" != "x"
27676  then
27677    UNSUPPORTED=""
27678    list="
27679      -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
27680      -Wwrite-strings -Wold-style-definition -Waggregate-return
27681      -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
27682      -Wnested-externs $NO_WARNINGS"
27683    for each in $list
27684    do
27685
27686  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
27687$as_echo_n "checking to see if compiler understands $each... " >&6; }
27688
27689  save_CFLAGS="$CFLAGS"
27690  CFLAGS="$CFLAGS $each"
27691
27692  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27693/* end confdefs.h.  */
27694
27695int
27696main ()
27697{
27698
27699  ;
27700  return 0;
27701}
27702_ACEOF
27703if ac_fn_c_try_compile "$LINENO"; then :
27704  flag_ok=yes
27705else
27706  flag_ok=no
27707fi
27708rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27709  CFLAGS="$save_CFLAGS"
27710
27711  if test "X$flag_ok" = Xyes ; then
27712    WARNING_CFLAGS="$WARNING_CFLAGS $each"
27713    true
27714  else
27715    UNSUPPORTED="$UNSUPPORTED $each"
27716    true
27717  fi
27718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
27719$as_echo "$flag_ok" >&6; }
27720
27721    done
27722    if test "X$UNSUPPORTED" != X ; then
27723      { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
27724$as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
27725    fi
27726  fi
27727
27728
27729
27730  { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
27731$as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
27732  { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
27733$as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
27734
27735
27736
27737
27738
27739  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands " >&5
27740$as_echo_n "checking to see if c++ compiler understands ... " >&6; }
27741
27742  save_CPPFLAGS="$CPPFLAGS"
27743  CPPFLAGS="$CPPFLAGS "
27744
27745  ac_ext=cpp
27746ac_cpp='$CXXCPP $CPPFLAGS'
27747ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27748ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27749ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27750
27751
27752  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27753/* end confdefs.h.  */
27754
27755int
27756main ()
27757{
27758
27759  ;
27760  return 0;
27761}
27762_ACEOF
27763if ac_fn_cxx_try_compile "$LINENO"; then :
27764  flag_ok=yes
27765else
27766  flag_ok=no
27767fi
27768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27769  CPPFLAGS="$save_CPPFLAGS"
27770
27771  if test "X$flag_ok" = Xyes ; then
27772
27773    true
27774  else
27775
27776    true
27777  fi
27778
27779  ac_ext=c
27780ac_cpp='$CPP $CPPFLAGS'
27781ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27782ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27783ac_compiler_gnu=$ac_cv_c_compiler_gnu
27784
27785
27786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
27787$as_echo "$flag_ok" >&6; }
27788
27789
27790
27791
27792
27793  ERROR_CXXFLAGS=""
27794  WARNING_CXXFLAGS=""
27795
27796
27797
27798
27799  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wall" >&5
27800$as_echo_n "checking to see if c++ compiler understands -Wall... " >&6; }
27801
27802  save_CPPFLAGS="$CPPFLAGS"
27803  CPPFLAGS="$CPPFLAGS -Wall"
27804
27805  ac_ext=cpp
27806ac_cpp='$CXXCPP $CPPFLAGS'
27807ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27808ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27809ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27810
27811
27812  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27813/* end confdefs.h.  */
27814
27815int
27816main ()
27817{
27818
27819  ;
27820  return 0;
27821}
27822_ACEOF
27823if ac_fn_cxx_try_compile "$LINENO"; then :
27824  flag_ok=yes
27825else
27826  flag_ok=no
27827fi
27828rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27829  CPPFLAGS="$save_CPPFLAGS"
27830
27831  if test "X$flag_ok" = Xyes ; then
27832    WARNING_CXXFLAGS="$WARNING_CXXFLAGS -Wall"
27833    true
27834  else
27835
27836    true
27837  fi
27838
27839  ac_ext=c
27840ac_cpp='$CPP $CPPFLAGS'
27841ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27842ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27843ac_compiler_gnu=$ac_cv_c_compiler_gnu
27844
27845
27846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
27847$as_echo "$flag_ok" >&6; }
27848
27849
27850    if test "x$FATAL_WARNINGS" != "xno"
27851  then
27852
27853
27854
27855  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Werror" >&5
27856$as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; }
27857
27858  save_CPPFLAGS="$CPPFLAGS"
27859  CPPFLAGS="$CPPFLAGS -Werror"
27860
27861  ac_ext=cpp
27862ac_cpp='$CXXCPP $CPPFLAGS'
27863ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27864ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27865ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27866
27867
27868  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27869/* end confdefs.h.  */
27870
27871int
27872main ()
27873{
27874
27875  ;
27876  return 0;
27877}
27878_ACEOF
27879if ac_fn_cxx_try_compile "$LINENO"; then :
27880  flag_ok=yes
27881else
27882  flag_ok=no
27883fi
27884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27885  CPPFLAGS="$save_CPPFLAGS"
27886
27887  if test "X$flag_ok" = Xyes ; then
27888    ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror"
27889    true
27890  else
27891
27892    true
27893  fi
27894
27895  ac_ext=c
27896ac_cpp='$CPP $CPPFLAGS'
27897ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27898ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27899ac_compiler_gnu=$ac_cv_c_compiler_gnu
27900
27901
27902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
27903$as_echo "$flag_ok" >&6; }
27904
27905
27906    if test "x$ERROR_CXXFLAGS" != "x"
27907    then
27908
27909
27910
27911  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-non-virtual-dtor" >&5
27912$as_echo_n "checking to see if c++ compiler understands -Wno-non-virtual-dtor... " >&6; }
27913
27914  save_CPPFLAGS="$CPPFLAGS"
27915  CPPFLAGS="$CPPFLAGS -Wno-non-virtual-dtor"
27916
27917  ac_ext=cpp
27918ac_cpp='$CXXCPP $CPPFLAGS'
27919ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27920ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27921ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27922
27923
27924  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27925/* end confdefs.h.  */
27926
27927int
27928main ()
27929{
27930
27931  ;
27932  return 0;
27933}
27934_ACEOF
27935if ac_fn_cxx_try_compile "$LINENO"; then :
27936  flag_ok=yes
27937else
27938  flag_ok=no
27939fi
27940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27941  CPPFLAGS="$save_CPPFLAGS"
27942
27943  if test "X$flag_ok" = Xyes ; then
27944    ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Wno-non-virtual-dtor"
27945    true
27946  else
27947
27948    true
27949  fi
27950
27951  ac_ext=c
27952ac_cpp='$CPP $CPPFLAGS'
27953ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27954ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27955ac_compiler_gnu=$ac_cv_c_compiler_gnu
27956
27957
27958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
27959$as_echo "$flag_ok" >&6; }
27960
27961
27962				if test -n "$PKG_CONFIG" && \
27963    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
27964  ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
27965  ac_status=$?
27966  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27967  test $ac_status = 0; }; then
27968
27969
27970
27971
27972  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fno-strict-aliasing" >&5
27973$as_echo_n "checking to see if c++ compiler understands -fno-strict-aliasing... " >&6; }
27974
27975  save_CPPFLAGS="$CPPFLAGS"
27976  CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
27977
27978  ac_ext=cpp
27979ac_cpp='$CXXCPP $CPPFLAGS'
27980ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27981ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27982ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27983
27984
27985  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27986/* end confdefs.h.  */
27987
27988int
27989main ()
27990{
27991
27992  ;
27993  return 0;
27994}
27995_ACEOF
27996if ac_fn_cxx_try_compile "$LINENO"; then :
27997  flag_ok=yes
27998else
27999  flag_ok=no
28000fi
28001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28002  CPPFLAGS="$save_CPPFLAGS"
28003
28004  if test "X$flag_ok" = Xyes ; then
28005    ERROR_CXXFLAGS="$ERROR_CXXFLAGS -fno-strict-aliasing"
28006    true
28007  else
28008
28009    true
28010  fi
28011
28012  ac_ext=c
28013ac_cpp='$CPP $CPPFLAGS'
28014ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28015ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28016ac_compiler_gnu=$ac_cv_c_compiler_gnu
28017
28018
28019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
28020$as_echo "$flag_ok" >&6; }
28021
28022
28023fi
28024    fi
28025  fi
28026
28027  if test "x
28028        -Wmissing-declarations -Wredundant-decls
28029        -Wwrite-strings
28030        -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
28031        $NO_WARNINGS" != "x"
28032  then
28033    UNSUPPORTED=""
28034    list="
28035        -Wmissing-declarations -Wredundant-decls
28036        -Wwrite-strings
28037        -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
28038        $NO_WARNINGS"
28039    for each in $list
28040    do
28041
28042
28043
28044  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands $each" >&5
28045$as_echo_n "checking to see if c++ compiler understands $each... " >&6; }
28046
28047  save_CPPFLAGS="$CPPFLAGS"
28048  CPPFLAGS="$CPPFLAGS $each"
28049
28050  ac_ext=cpp
28051ac_cpp='$CXXCPP $CPPFLAGS'
28052ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28053ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28054ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28055
28056
28057  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28058/* end confdefs.h.  */
28059
28060int
28061main ()
28062{
28063
28064  ;
28065  return 0;
28066}
28067_ACEOF
28068if ac_fn_cxx_try_compile "$LINENO"; then :
28069  flag_ok=yes
28070else
28071  flag_ok=no
28072fi
28073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28074  CPPFLAGS="$save_CPPFLAGS"
28075
28076  if test "X$flag_ok" = Xyes ; then
28077    WARNING_CXXFLAGS="$WARNING_CXXFLAGS $each"
28078    true
28079  else
28080    UNSUPPORTED="$UNSUPPORTED $each"
28081    true
28082  fi
28083
28084  ac_ext=c
28085ac_cpp='$CPP $CPPFLAGS'
28086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28088ac_compiler_gnu=$ac_cv_c_compiler_gnu
28089
28090
28091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
28092$as_echo "$flag_ok" >&6; }
28093
28094    done
28095    if test "X$UNSUPPORTED" != X ; then
28096      { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
28097$as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
28098    fi
28099  fi
28100
28101
28102
28103  { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&5
28104$as_echo "$as_me: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&6;}
28105  { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&5
28106$as_echo "$as_me: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&6;}
28107
28108
28109
28110
28111
28112
28113  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if Objective C compiler understands " >&5
28114$as_echo_n "checking to see if Objective C compiler understands ... " >&6; }
28115
28116  save_CPPFLAGS="$CPPFLAGS"
28117  CPPFLAGS="$CPPFLAGS "
28118
28119  ac_ext=m
28120ac_cpp='$OBJCPP $CPPFLAGS'
28121ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28122ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28123ac_compiler_gnu=$ac_cv_objc_compiler_gnu
28124
28125
28126  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28127/* end confdefs.h.  */
28128
28129int
28130main ()
28131{
28132
28133  ;
28134  return 0;
28135}
28136_ACEOF
28137if ac_fn_objc_try_compile "$LINENO"; then :
28138  flag_ok=yes
28139else
28140  flag_ok=no
28141fi
28142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28143  CPPFLAGS="$save_CPPFLAGS"
28144
28145  if test "X$flag_ok" = Xyes ; then
28146
28147    true
28148  else
28149
28150    true
28151  fi
28152
28153  ac_ext=c
28154ac_cpp='$CPP $CPPFLAGS'
28155ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28156ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28157ac_compiler_gnu=$ac_cv_c_compiler_gnu
28158
28159
28160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
28161$as_echo "$flag_ok" >&6; }
28162
28163
28164
28165
28166
28167  ERROR_OBJCFLAGS=""
28168  WARNING_OBJCFLAGS=""
28169
28170
28171
28172
28173  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if Objective C compiler understands -Wall" >&5
28174$as_echo_n "checking to see if Objective C compiler understands -Wall... " >&6; }
28175
28176  save_CPPFLAGS="$CPPFLAGS"
28177  CPPFLAGS="$CPPFLAGS -Wall"
28178
28179  ac_ext=m
28180ac_cpp='$OBJCPP $CPPFLAGS'
28181ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28182ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28183ac_compiler_gnu=$ac_cv_objc_compiler_gnu
28184
28185
28186  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28187/* end confdefs.h.  */
28188
28189int
28190main ()
28191{
28192
28193  ;
28194  return 0;
28195}
28196_ACEOF
28197if ac_fn_objc_try_compile "$LINENO"; then :
28198  flag_ok=yes
28199else
28200  flag_ok=no
28201fi
28202rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28203  CPPFLAGS="$save_CPPFLAGS"
28204
28205  if test "X$flag_ok" = Xyes ; then
28206    WARNING_OBJCFLAGS="$WARNING_OBJCFLAGS -Wall"
28207    true
28208  else
28209
28210    true
28211  fi
28212
28213  ac_ext=c
28214ac_cpp='$CPP $CPPFLAGS'
28215ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28216ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28217ac_compiler_gnu=$ac_cv_c_compiler_gnu
28218
28219
28220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
28221$as_echo "$flag_ok" >&6; }
28222
28223
28224    if test "x$FATAL_WARNINGS" != "xno"
28225  then
28226
28227
28228
28229  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if Objective C compiler understands -Werror" >&5
28230$as_echo_n "checking to see if Objective C compiler understands -Werror... " >&6; }
28231
28232  save_CPPFLAGS="$CPPFLAGS"
28233  CPPFLAGS="$CPPFLAGS -Werror"
28234
28235  ac_ext=m
28236ac_cpp='$OBJCPP $CPPFLAGS'
28237ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28238ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28239ac_compiler_gnu=$ac_cv_objc_compiler_gnu
28240
28241
28242  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28243/* end confdefs.h.  */
28244
28245int
28246main ()
28247{
28248
28249  ;
28250  return 0;
28251}
28252_ACEOF
28253if ac_fn_objc_try_compile "$LINENO"; then :
28254  flag_ok=yes
28255else
28256  flag_ok=no
28257fi
28258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28259  CPPFLAGS="$save_CPPFLAGS"
28260
28261  if test "X$flag_ok" = Xyes ; then
28262    ERROR_OBJCFLAGS="$ERROR_OBJCFLAGS -Werror"
28263    true
28264  else
28265
28266    true
28267  fi
28268
28269  ac_ext=c
28270ac_cpp='$CPP $CPPFLAGS'
28271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28273ac_compiler_gnu=$ac_cv_c_compiler_gnu
28274
28275
28276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
28277$as_echo "$flag_ok" >&6; }
28278
28279
28280    if test "x$ERROR_OBJCFLAGS" != "x"
28281    then
28282				if test -n "$PKG_CONFIG" && \
28283    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
28284  ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
28285  ac_status=$?
28286  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28287  test $ac_status = 0; }; then
28288
28289
28290
28291
28292  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if Objective C compiler understands -fno-strict-aliasing" >&5
28293$as_echo_n "checking to see if Objective C compiler understands -fno-strict-aliasing... " >&6; }
28294
28295  save_CPPFLAGS="$CPPFLAGS"
28296  CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
28297
28298  ac_ext=m
28299ac_cpp='$OBJCPP $CPPFLAGS'
28300ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28301ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28302ac_compiler_gnu=$ac_cv_objc_compiler_gnu
28303
28304
28305  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28306/* end confdefs.h.  */
28307
28308int
28309main ()
28310{
28311
28312  ;
28313  return 0;
28314}
28315_ACEOF
28316if ac_fn_objc_try_compile "$LINENO"; then :
28317  flag_ok=yes
28318else
28319  flag_ok=no
28320fi
28321rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28322  CPPFLAGS="$save_CPPFLAGS"
28323
28324  if test "X$flag_ok" = Xyes ; then
28325    ERROR_OBJCFLAGS="$ERROR_OBJCFLAGS -fno-strict-aliasing"
28326    true
28327  else
28328
28329    true
28330  fi
28331
28332  ac_ext=c
28333ac_cpp='$CPP $CPPFLAGS'
28334ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28335ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28336ac_compiler_gnu=$ac_cv_c_compiler_gnu
28337
28338
28339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
28340$as_echo "$flag_ok" >&6; }
28341
28342
28343fi
28344    fi
28345  fi
28346
28347  if test "x
28348      -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
28349      -Wwrite-strings -Wold-style-definition
28350      -Winit-self -Wmissing-include-dirs -Wno-multichar
28351      -Wnested-externs $NO_WARNINGS" != "x"
28352  then
28353    UNSUPPORTED=""
28354    list="
28355      -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
28356      -Wwrite-strings -Wold-style-definition
28357      -Winit-self -Wmissing-include-dirs -Wno-multichar
28358      -Wnested-externs $NO_WARNINGS"
28359    for each in $list
28360    do
28361
28362
28363
28364  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if Objective C compiler understands $each" >&5
28365$as_echo_n "checking to see if Objective C compiler understands $each... " >&6; }
28366
28367  save_CPPFLAGS="$CPPFLAGS"
28368  CPPFLAGS="$CPPFLAGS $each"
28369
28370  ac_ext=m
28371ac_cpp='$OBJCPP $CPPFLAGS'
28372ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28373ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28374ac_compiler_gnu=$ac_cv_objc_compiler_gnu
28375
28376
28377  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28378/* end confdefs.h.  */
28379
28380int
28381main ()
28382{
28383
28384  ;
28385  return 0;
28386}
28387_ACEOF
28388if ac_fn_objc_try_compile "$LINENO"; then :
28389  flag_ok=yes
28390else
28391  flag_ok=no
28392fi
28393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28394  CPPFLAGS="$save_CPPFLAGS"
28395
28396  if test "X$flag_ok" = Xyes ; then
28397    WARNING_OBJCFLAGS="$WARNING_OBJCFLAGS $each"
28398    true
28399  else
28400    UNSUPPORTED="$UNSUPPORTED $each"
28401    true
28402  fi
28403
28404  ac_ext=c
28405ac_cpp='$CPP $CPPFLAGS'
28406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28408ac_compiler_gnu=$ac_cv_c_compiler_gnu
28409
28410
28411  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
28412$as_echo "$flag_ok" >&6; }
28413
28414    done
28415    if test "X$UNSUPPORTED" != X ; then
28416      { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
28417$as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
28418    fi
28419  fi
28420
28421
28422
28423  { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_OBJCFLAGS to $WARNING_OBJCFLAGS" >&5
28424$as_echo "$as_me: set WARNING_OBJCFLAGS to $WARNING_OBJCFLAGS" >&6;}
28425  { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_OBJCFLAGS to $ERROR_OBJCFLAGS" >&5
28426$as_echo "$as_me: set ERROR_OBJCFLAGS to $ERROR_OBJCFLAGS" >&6;}
28427
28428
28429
28430      if test "x$GST_GIT" = "xyes"; then
28431    GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
28432  else
28433    GST_LEVEL_DEFAULT=GST_LEVEL_NONE
28434  fi
28435
28436cat >>confdefs.h <<_ACEOF
28437#define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
28438_ACEOF
28439
28440
28441
28442
28443
28444            DEFAULT_AUDIOSINK="autoaudiosink"
28445  DEFAULT_VIDEOSINK="autovideosink"
28446  DEFAULT_AUDIOSRC="alsasrc"
28447  DEFAULT_VIDEOSRC="v4l2src"
28448  DEFAULT_VISUALIZER="goom"
28449  case "$host" in
28450    *-sun-* | *pc-solaris* )
28451      DEFAULT_AUDIOSRC="sunaudiosrc"
28452      ;;
28453    *-darwin* )
28454      DEFAULT_AUDIOSRC="osxaudiosrc"
28455      ;;
28456  esac
28457
28458
28459# Check whether --with-default-audiosink was given.
28460if test "${with_default_audiosink+set}" = set; then :
28461  withval=$with_default_audiosink;
28462      case "${withval}" in
28463        yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
28464        no)  as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
28465        *)   DEFAULT_AUDIOSINK="${withval}" ;;
28466      esac
28467
28468else
28469
28470      DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
28471
28472fi
28473
28474  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5
28475$as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;}
28476
28477
28478cat >>confdefs.h <<_ACEOF
28479#define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK"
28480_ACEOF
28481
28482
28483
28484# Check whether --with-default-audiosrc was given.
28485if test "${with_default_audiosrc+set}" = set; then :
28486  withval=$with_default_audiosrc;
28487      case "${withval}" in
28488        yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
28489        no)  as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
28490        *)   DEFAULT_AUDIOSRC="${withval}" ;;
28491      esac
28492
28493else
28494
28495      DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
28496
28497fi
28498
28499  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5
28500$as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;}
28501
28502
28503cat >>confdefs.h <<_ACEOF
28504#define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC"
28505_ACEOF
28506
28507
28508
28509# Check whether --with-default-videosink was given.
28510if test "${with_default_videosink+set}" = set; then :
28511  withval=$with_default_videosink;
28512      case "${withval}" in
28513        yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
28514        no)  as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
28515        *)   DEFAULT_VIDEOSINK="${withval}" ;;
28516      esac
28517
28518else
28519
28520      DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
28521
28522fi
28523
28524  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5
28525$as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;}
28526
28527
28528cat >>confdefs.h <<_ACEOF
28529#define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK"
28530_ACEOF
28531
28532
28533
28534# Check whether --with-default-videosrc was given.
28535if test "${with_default_videosrc+set}" = set; then :
28536  withval=$with_default_videosrc;
28537      case "${withval}" in
28538        yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
28539        no)  as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
28540        *)   DEFAULT_VIDEOSRC="${withval}" ;;
28541      esac
28542
28543else
28544
28545      DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
28546
28547fi
28548
28549  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5
28550$as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;}
28551
28552
28553cat >>confdefs.h <<_ACEOF
28554#define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC"
28555_ACEOF
28556
28557
28558
28559# Check whether --with-default-visualizer was given.
28560if test "${with_default_visualizer+set}" = set; then :
28561  withval=$with_default_visualizer;
28562      case "${withval}" in
28563        yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
28564        no)  as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
28565        *)   DEFAULT_VISUALIZER="${withval}" ;;
28566      esac
28567
28568else
28569
28570      DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
28571
28572fi
28573
28574  { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5
28575$as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;}
28576
28577
28578cat >>confdefs.h <<_ACEOF
28579#define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER"
28580_ACEOF
28581
28582
28583
28584
28585
28586  GST_PLUGINS_ALL="$GST_PLUGINS_ALL alpha"
28587
28588
28589
28590  # Check whether --enable-alpha was given.
28591if test "${enable_alpha+set}" = set; then :
28592  enableval=$enable_alpha;
28593      case "${enableval}" in
28594        yes) gst_use_alpha=yes ;;
28595        no) gst_use_alpha=no ;;
28596        *) as_fn_error $? "bad value ${enableval} for --enable-alpha" "$LINENO" 5 ;;
28597       esac
28598
28599else
28600  gst_use_alpha=yes
28601fi
28602
28603  if test x$gst_use_alpha = xno; then
28604    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin alpha" >&5
28605$as_echo "$as_me: disabling dependency-less plugin alpha" >&6;}
28606    WITHOUT_PLUGINS="$WITHOUT_PLUGINS alpha"
28607  fi
28608
28609
28610    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " alpha " > /dev/null; then
28611    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED alpha"
28612  fi
28613    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " alpha " > /dev/null; then
28614    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ alpha / /'`
28615  fi
28616    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " alpha " > /dev/null; then
28617    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ alpha / /'`
28618  fi
28619   if echo " $GST_PLUGINS_SELECTED " | grep -i " alpha " > /dev/null; then
28620  USE_PLUGIN_ALPHA_TRUE=
28621  USE_PLUGIN_ALPHA_FALSE='#'
28622else
28623  USE_PLUGIN_ALPHA_TRUE='#'
28624  USE_PLUGIN_ALPHA_FALSE=
28625fi
28626
28627
28628
28629  GST_PLUGINS_ALL="$GST_PLUGINS_ALL apetag"
28630
28631
28632
28633  # Check whether --enable-apetag was given.
28634if test "${enable_apetag+set}" = set; then :
28635  enableval=$enable_apetag;
28636      case "${enableval}" in
28637        yes) gst_use_apetag=yes ;;
28638        no) gst_use_apetag=no ;;
28639        *) as_fn_error $? "bad value ${enableval} for --enable-apetag" "$LINENO" 5 ;;
28640       esac
28641
28642else
28643  gst_use_apetag=yes
28644fi
28645
28646  if test x$gst_use_apetag = xno; then
28647    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin apetag" >&5
28648$as_echo "$as_me: disabling dependency-less plugin apetag" >&6;}
28649    WITHOUT_PLUGINS="$WITHOUT_PLUGINS apetag"
28650  fi
28651
28652
28653    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " apetag " > /dev/null; then
28654    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED apetag"
28655  fi
28656    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " apetag " > /dev/null; then
28657    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ apetag / /'`
28658  fi
28659    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " apetag " > /dev/null; then
28660    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ apetag / /'`
28661  fi
28662   if echo " $GST_PLUGINS_SELECTED " | grep -i " apetag " > /dev/null; then
28663  USE_PLUGIN_APETAG_TRUE=
28664  USE_PLUGIN_APETAG_FALSE='#'
28665else
28666  USE_PLUGIN_APETAG_TRUE='#'
28667  USE_PLUGIN_APETAG_FALSE=
28668fi
28669
28670
28671
28672  GST_PLUGINS_ALL="$GST_PLUGINS_ALL audiofx"
28673
28674
28675
28676  # Check whether --enable-audiofx was given.
28677if test "${enable_audiofx+set}" = set; then :
28678  enableval=$enable_audiofx;
28679      case "${enableval}" in
28680        yes) gst_use_audiofx=yes ;;
28681        no) gst_use_audiofx=no ;;
28682        *) as_fn_error $? "bad value ${enableval} for --enable-audiofx" "$LINENO" 5 ;;
28683       esac
28684
28685else
28686  gst_use_audiofx=yes
28687fi
28688
28689  if test x$gst_use_audiofx = xno; then
28690    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audiofx" >&5
28691$as_echo "$as_me: disabling dependency-less plugin audiofx" >&6;}
28692    WITHOUT_PLUGINS="$WITHOUT_PLUGINS audiofx"
28693  fi
28694
28695
28696    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audiofx " > /dev/null; then
28697    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audiofx"
28698  fi
28699    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audiofx " > /dev/null; then
28700    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audiofx / /'`
28701  fi
28702    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " audiofx " > /dev/null; then
28703    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audiofx / /'`
28704  fi
28705   if echo " $GST_PLUGINS_SELECTED " | grep -i " audiofx " > /dev/null; then
28706  USE_PLUGIN_AUDIOFX_TRUE=
28707  USE_PLUGIN_AUDIOFX_FALSE='#'
28708else
28709  USE_PLUGIN_AUDIOFX_TRUE='#'
28710  USE_PLUGIN_AUDIOFX_FALSE=
28711fi
28712
28713
28714
28715  GST_PLUGINS_ALL="$GST_PLUGINS_ALL audioparsers"
28716
28717
28718
28719  # Check whether --enable-audioparsers was given.
28720if test "${enable_audioparsers+set}" = set; then :
28721  enableval=$enable_audioparsers;
28722      case "${enableval}" in
28723        yes) gst_use_audioparsers=yes ;;
28724        no) gst_use_audioparsers=no ;;
28725        *) as_fn_error $? "bad value ${enableval} for --enable-audioparsers" "$LINENO" 5 ;;
28726       esac
28727
28728else
28729  gst_use_audioparsers=yes
28730fi
28731
28732  if test x$gst_use_audioparsers = xno; then
28733    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audioparsers" >&5
28734$as_echo "$as_me: disabling dependency-less plugin audioparsers" >&6;}
28735    WITHOUT_PLUGINS="$WITHOUT_PLUGINS audioparsers"
28736  fi
28737
28738
28739    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audioparsers " > /dev/null; then
28740    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audioparsers"
28741  fi
28742    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audioparsers " > /dev/null; then
28743    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audioparsers / /'`
28744  fi
28745    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " audioparsers " > /dev/null; then
28746    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audioparsers / /'`
28747  fi
28748   if echo " $GST_PLUGINS_SELECTED " | grep -i " audioparsers " > /dev/null; then
28749  USE_PLUGIN_AUDIOPARSERS_TRUE=
28750  USE_PLUGIN_AUDIOPARSERS_FALSE='#'
28751else
28752  USE_PLUGIN_AUDIOPARSERS_TRUE='#'
28753  USE_PLUGIN_AUDIOPARSERS_FALSE=
28754fi
28755
28756
28757
28758  GST_PLUGINS_ALL="$GST_PLUGINS_ALL auparse"
28759
28760
28761
28762  # Check whether --enable-auparse was given.
28763if test "${enable_auparse+set}" = set; then :
28764  enableval=$enable_auparse;
28765      case "${enableval}" in
28766        yes) gst_use_auparse=yes ;;
28767        no) gst_use_auparse=no ;;
28768        *) as_fn_error $? "bad value ${enableval} for --enable-auparse" "$LINENO" 5 ;;
28769       esac
28770
28771else
28772  gst_use_auparse=yes
28773fi
28774
28775  if test x$gst_use_auparse = xno; then
28776    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin auparse" >&5
28777$as_echo "$as_me: disabling dependency-less plugin auparse" >&6;}
28778    WITHOUT_PLUGINS="$WITHOUT_PLUGINS auparse"
28779  fi
28780
28781
28782    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " auparse " > /dev/null; then
28783    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED auparse"
28784  fi
28785    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " auparse " > /dev/null; then
28786    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ auparse / /'`
28787  fi
28788    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " auparse " > /dev/null; then
28789    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ auparse / /'`
28790  fi
28791   if echo " $GST_PLUGINS_SELECTED " | grep -i " auparse " > /dev/null; then
28792  USE_PLUGIN_AUPARSE_TRUE=
28793  USE_PLUGIN_AUPARSE_FALSE='#'
28794else
28795  USE_PLUGIN_AUPARSE_TRUE='#'
28796  USE_PLUGIN_AUPARSE_FALSE=
28797fi
28798
28799
28800
28801  GST_PLUGINS_ALL="$GST_PLUGINS_ALL autodetect"
28802
28803
28804
28805  # Check whether --enable-autodetect was given.
28806if test "${enable_autodetect+set}" = set; then :
28807  enableval=$enable_autodetect;
28808      case "${enableval}" in
28809        yes) gst_use_autodetect=yes ;;
28810        no) gst_use_autodetect=no ;;
28811        *) as_fn_error $? "bad value ${enableval} for --enable-autodetect" "$LINENO" 5 ;;
28812       esac
28813
28814else
28815  gst_use_autodetect=yes
28816fi
28817
28818  if test x$gst_use_autodetect = xno; then
28819    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin autodetect" >&5
28820$as_echo "$as_me: disabling dependency-less plugin autodetect" >&6;}
28821    WITHOUT_PLUGINS="$WITHOUT_PLUGINS autodetect"
28822  fi
28823
28824
28825    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " autodetect " > /dev/null; then
28826    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED autodetect"
28827  fi
28828    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " autodetect " > /dev/null; then
28829    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ autodetect / /'`
28830  fi
28831    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " autodetect " > /dev/null; then
28832    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ autodetect / /'`
28833  fi
28834   if echo " $GST_PLUGINS_SELECTED " | grep -i " autodetect " > /dev/null; then
28835  USE_PLUGIN_AUTODETECT_TRUE=
28836  USE_PLUGIN_AUTODETECT_FALSE='#'
28837else
28838  USE_PLUGIN_AUTODETECT_TRUE='#'
28839  USE_PLUGIN_AUTODETECT_FALSE=
28840fi
28841
28842
28843
28844  GST_PLUGINS_ALL="$GST_PLUGINS_ALL avi"
28845
28846
28847
28848  # Check whether --enable-avi was given.
28849if test "${enable_avi+set}" = set; then :
28850  enableval=$enable_avi;
28851      case "${enableval}" in
28852        yes) gst_use_avi=yes ;;
28853        no) gst_use_avi=no ;;
28854        *) as_fn_error $? "bad value ${enableval} for --enable-avi" "$LINENO" 5 ;;
28855       esac
28856
28857else
28858  gst_use_avi=yes
28859fi
28860
28861  if test x$gst_use_avi = xno; then
28862    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin avi" >&5
28863$as_echo "$as_me: disabling dependency-less plugin avi" >&6;}
28864    WITHOUT_PLUGINS="$WITHOUT_PLUGINS avi"
28865  fi
28866
28867
28868    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " avi " > /dev/null; then
28869    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED avi"
28870  fi
28871    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " avi " > /dev/null; then
28872    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ avi / /'`
28873  fi
28874    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " avi " > /dev/null; then
28875    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ avi / /'`
28876  fi
28877   if echo " $GST_PLUGINS_SELECTED " | grep -i " avi " > /dev/null; then
28878  USE_PLUGIN_AVI_TRUE=
28879  USE_PLUGIN_AVI_FALSE='#'
28880else
28881  USE_PLUGIN_AVI_TRUE='#'
28882  USE_PLUGIN_AVI_FALSE=
28883fi
28884
28885
28886
28887  GST_PLUGINS_ALL="$GST_PLUGINS_ALL cutter"
28888
28889
28890
28891  # Check whether --enable-cutter was given.
28892if test "${enable_cutter+set}" = set; then :
28893  enableval=$enable_cutter;
28894      case "${enableval}" in
28895        yes) gst_use_cutter=yes ;;
28896        no) gst_use_cutter=no ;;
28897        *) as_fn_error $? "bad value ${enableval} for --enable-cutter" "$LINENO" 5 ;;
28898       esac
28899
28900else
28901  gst_use_cutter=yes
28902fi
28903
28904  if test x$gst_use_cutter = xno; then
28905    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin cutter" >&5
28906$as_echo "$as_me: disabling dependency-less plugin cutter" >&6;}
28907    WITHOUT_PLUGINS="$WITHOUT_PLUGINS cutter"
28908  fi
28909
28910
28911    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " cutter " > /dev/null; then
28912    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED cutter"
28913  fi
28914    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " cutter " > /dev/null; then
28915    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ cutter / /'`
28916  fi
28917    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " cutter " > /dev/null; then
28918    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ cutter / /'`
28919  fi
28920   if echo " $GST_PLUGINS_SELECTED " | grep -i " cutter " > /dev/null; then
28921  USE_PLUGIN_CUTTER_TRUE=
28922  USE_PLUGIN_CUTTER_FALSE='#'
28923else
28924  USE_PLUGIN_CUTTER_TRUE='#'
28925  USE_PLUGIN_CUTTER_FALSE=
28926fi
28927
28928
28929
28930  GST_PLUGINS_ALL="$GST_PLUGINS_ALL debugutils"
28931
28932
28933
28934  # Check whether --enable-debugutils was given.
28935if test "${enable_debugutils+set}" = set; then :
28936  enableval=$enable_debugutils;
28937      case "${enableval}" in
28938        yes) gst_use_debugutils=yes ;;
28939        no) gst_use_debugutils=no ;;
28940        *) as_fn_error $? "bad value ${enableval} for --enable-debugutils" "$LINENO" 5 ;;
28941       esac
28942
28943else
28944  gst_use_debugutils=yes
28945fi
28946
28947  if test x$gst_use_debugutils = xno; then
28948    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin debugutils" >&5
28949$as_echo "$as_me: disabling dependency-less plugin debugutils" >&6;}
28950    WITHOUT_PLUGINS="$WITHOUT_PLUGINS debugutils"
28951  fi
28952
28953
28954    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " debugutils " > /dev/null; then
28955    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED debugutils"
28956  fi
28957    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " debugutils " > /dev/null; then
28958    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ debugutils / /'`
28959  fi
28960    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " debugutils " > /dev/null; then
28961    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ debugutils / /'`
28962  fi
28963   if echo " $GST_PLUGINS_SELECTED " | grep -i " debugutils " > /dev/null; then
28964  USE_PLUGIN_DEBUGUTILS_TRUE=
28965  USE_PLUGIN_DEBUGUTILS_FALSE='#'
28966else
28967  USE_PLUGIN_DEBUGUTILS_TRUE='#'
28968  USE_PLUGIN_DEBUGUTILS_FALSE=
28969fi
28970
28971
28972
28973  GST_PLUGINS_ALL="$GST_PLUGINS_ALL deinterlace"
28974
28975
28976
28977  # Check whether --enable-deinterlace was given.
28978if test "${enable_deinterlace+set}" = set; then :
28979  enableval=$enable_deinterlace;
28980      case "${enableval}" in
28981        yes) gst_use_deinterlace=yes ;;
28982        no) gst_use_deinterlace=no ;;
28983        *) as_fn_error $? "bad value ${enableval} for --enable-deinterlace" "$LINENO" 5 ;;
28984       esac
28985
28986else
28987  gst_use_deinterlace=yes
28988fi
28989
28990  if test x$gst_use_deinterlace = xno; then
28991    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin deinterlace" >&5
28992$as_echo "$as_me: disabling dependency-less plugin deinterlace" >&6;}
28993    WITHOUT_PLUGINS="$WITHOUT_PLUGINS deinterlace"
28994  fi
28995
28996
28997    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " deinterlace " > /dev/null; then
28998    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED deinterlace"
28999  fi
29000    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " deinterlace " > /dev/null; then
29001    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ deinterlace / /'`
29002  fi
29003    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " deinterlace " > /dev/null; then
29004    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ deinterlace / /'`
29005  fi
29006   if echo " $GST_PLUGINS_SELECTED " | grep -i " deinterlace " > /dev/null; then
29007  USE_PLUGIN_DEINTERLACE_TRUE=
29008  USE_PLUGIN_DEINTERLACE_FALSE='#'
29009else
29010  USE_PLUGIN_DEINTERLACE_TRUE='#'
29011  USE_PLUGIN_DEINTERLACE_FALSE=
29012fi
29013
29014
29015
29016  GST_PLUGINS_ALL="$GST_PLUGINS_ALL dtmf"
29017
29018
29019
29020  # Check whether --enable-dtmf was given.
29021if test "${enable_dtmf+set}" = set; then :
29022  enableval=$enable_dtmf;
29023      case "${enableval}" in
29024        yes) gst_use_dtmf=yes ;;
29025        no) gst_use_dtmf=no ;;
29026        *) as_fn_error $? "bad value ${enableval} for --enable-dtmf" "$LINENO" 5 ;;
29027       esac
29028
29029else
29030  gst_use_dtmf=yes
29031fi
29032
29033  if test x$gst_use_dtmf = xno; then
29034    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dtmf" >&5
29035$as_echo "$as_me: disabling dependency-less plugin dtmf" >&6;}
29036    WITHOUT_PLUGINS="$WITHOUT_PLUGINS dtmf"
29037  fi
29038
29039
29040    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dtmf " > /dev/null; then
29041    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dtmf"
29042  fi
29043    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dtmf " > /dev/null; then
29044    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dtmf / /'`
29045  fi
29046    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " dtmf " > /dev/null; then
29047    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dtmf / /'`
29048  fi
29049   if echo " $GST_PLUGINS_SELECTED " | grep -i " dtmf " > /dev/null; then
29050  USE_PLUGIN_DTMF_TRUE=
29051  USE_PLUGIN_DTMF_FALSE='#'
29052else
29053  USE_PLUGIN_DTMF_TRUE='#'
29054  USE_PLUGIN_DTMF_FALSE=
29055fi
29056
29057
29058
29059  GST_PLUGINS_ALL="$GST_PLUGINS_ALL effectv"
29060
29061
29062
29063  # Check whether --enable-effectv was given.
29064if test "${enable_effectv+set}" = set; then :
29065  enableval=$enable_effectv;
29066      case "${enableval}" in
29067        yes) gst_use_effectv=yes ;;
29068        no) gst_use_effectv=no ;;
29069        *) as_fn_error $? "bad value ${enableval} for --enable-effectv" "$LINENO" 5 ;;
29070       esac
29071
29072else
29073  gst_use_effectv=yes
29074fi
29075
29076  if test x$gst_use_effectv = xno; then
29077    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin effectv" >&5
29078$as_echo "$as_me: disabling dependency-less plugin effectv" >&6;}
29079    WITHOUT_PLUGINS="$WITHOUT_PLUGINS effectv"
29080  fi
29081
29082
29083    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " effectv " > /dev/null; then
29084    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED effectv"
29085  fi
29086    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " effectv " > /dev/null; then
29087    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ effectv / /'`
29088  fi
29089    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " effectv " > /dev/null; then
29090    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ effectv / /'`
29091  fi
29092   if echo " $GST_PLUGINS_SELECTED " | grep -i " effectv " > /dev/null; then
29093  USE_PLUGIN_EFFECTV_TRUE=
29094  USE_PLUGIN_EFFECTV_FALSE='#'
29095else
29096  USE_PLUGIN_EFFECTV_TRUE='#'
29097  USE_PLUGIN_EFFECTV_FALSE=
29098fi
29099
29100
29101
29102  GST_PLUGINS_ALL="$GST_PLUGINS_ALL equalizer"
29103
29104
29105
29106  # Check whether --enable-equalizer was given.
29107if test "${enable_equalizer+set}" = set; then :
29108  enableval=$enable_equalizer;
29109      case "${enableval}" in
29110        yes) gst_use_equalizer=yes ;;
29111        no) gst_use_equalizer=no ;;
29112        *) as_fn_error $? "bad value ${enableval} for --enable-equalizer" "$LINENO" 5 ;;
29113       esac
29114
29115else
29116  gst_use_equalizer=yes
29117fi
29118
29119  if test x$gst_use_equalizer = xno; then
29120    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin equalizer" >&5
29121$as_echo "$as_me: disabling dependency-less plugin equalizer" >&6;}
29122    WITHOUT_PLUGINS="$WITHOUT_PLUGINS equalizer"
29123  fi
29124
29125
29126    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " equalizer " > /dev/null; then
29127    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED equalizer"
29128  fi
29129    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " equalizer " > /dev/null; then
29130    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ equalizer / /'`
29131  fi
29132    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " equalizer " > /dev/null; then
29133    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ equalizer / /'`
29134  fi
29135   if echo " $GST_PLUGINS_SELECTED " | grep -i " equalizer " > /dev/null; then
29136  USE_PLUGIN_EQUALIZER_TRUE=
29137  USE_PLUGIN_EQUALIZER_FALSE='#'
29138else
29139  USE_PLUGIN_EQUALIZER_TRUE='#'
29140  USE_PLUGIN_EQUALIZER_FALSE=
29141fi
29142
29143
29144
29145  GST_PLUGINS_ALL="$GST_PLUGINS_ALL flv"
29146
29147
29148
29149  # Check whether --enable-flv was given.
29150if test "${enable_flv+set}" = set; then :
29151  enableval=$enable_flv;
29152      case "${enableval}" in
29153        yes) gst_use_flv=yes ;;
29154        no) gst_use_flv=no ;;
29155        *) as_fn_error $? "bad value ${enableval} for --enable-flv" "$LINENO" 5 ;;
29156       esac
29157
29158else
29159  gst_use_flv=yes
29160fi
29161
29162  if test x$gst_use_flv = xno; then
29163    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin flv" >&5
29164$as_echo "$as_me: disabling dependency-less plugin flv" >&6;}
29165    WITHOUT_PLUGINS="$WITHOUT_PLUGINS flv"
29166  fi
29167
29168
29169    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " flv " > /dev/null; then
29170    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED flv"
29171  fi
29172    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " flv " > /dev/null; then
29173    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ flv / /'`
29174  fi
29175    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " flv " > /dev/null; then
29176    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ flv / /'`
29177  fi
29178   if echo " $GST_PLUGINS_SELECTED " | grep -i " flv " > /dev/null; then
29179  USE_PLUGIN_FLV_TRUE=
29180  USE_PLUGIN_FLV_FALSE='#'
29181else
29182  USE_PLUGIN_FLV_TRUE='#'
29183  USE_PLUGIN_FLV_FALSE=
29184fi
29185
29186
29187
29188  GST_PLUGINS_ALL="$GST_PLUGINS_ALL flx"
29189
29190
29191
29192  # Check whether --enable-flx was given.
29193if test "${enable_flx+set}" = set; then :
29194  enableval=$enable_flx;
29195      case "${enableval}" in
29196        yes) gst_use_flx=yes ;;
29197        no) gst_use_flx=no ;;
29198        *) as_fn_error $? "bad value ${enableval} for --enable-flx" "$LINENO" 5 ;;
29199       esac
29200
29201else
29202  gst_use_flx=yes
29203fi
29204
29205  if test x$gst_use_flx = xno; then
29206    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin flx" >&5
29207$as_echo "$as_me: disabling dependency-less plugin flx" >&6;}
29208    WITHOUT_PLUGINS="$WITHOUT_PLUGINS flx"
29209  fi
29210
29211
29212    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " flx " > /dev/null; then
29213    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED flx"
29214  fi
29215    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " flx " > /dev/null; then
29216    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ flx / /'`
29217  fi
29218    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " flx " > /dev/null; then
29219    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ flx / /'`
29220  fi
29221   if echo " $GST_PLUGINS_SELECTED " | grep -i " flx " > /dev/null; then
29222  USE_PLUGIN_FLX_TRUE=
29223  USE_PLUGIN_FLX_FALSE='#'
29224else
29225  USE_PLUGIN_FLX_TRUE='#'
29226  USE_PLUGIN_FLX_FALSE=
29227fi
29228
29229
29230
29231  GST_PLUGINS_ALL="$GST_PLUGINS_ALL goom"
29232
29233
29234
29235  # Check whether --enable-goom was given.
29236if test "${enable_goom+set}" = set; then :
29237  enableval=$enable_goom;
29238      case "${enableval}" in
29239        yes) gst_use_goom=yes ;;
29240        no) gst_use_goom=no ;;
29241        *) as_fn_error $? "bad value ${enableval} for --enable-goom" "$LINENO" 5 ;;
29242       esac
29243
29244else
29245  gst_use_goom=yes
29246fi
29247
29248  if test x$gst_use_goom = xno; then
29249    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin goom" >&5
29250$as_echo "$as_me: disabling dependency-less plugin goom" >&6;}
29251    WITHOUT_PLUGINS="$WITHOUT_PLUGINS goom"
29252  fi
29253
29254
29255    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " goom " > /dev/null; then
29256    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED goom"
29257  fi
29258    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " goom " > /dev/null; then
29259    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ goom / /'`
29260  fi
29261    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " goom " > /dev/null; then
29262    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ goom / /'`
29263  fi
29264   if echo " $GST_PLUGINS_SELECTED " | grep -i " goom " > /dev/null; then
29265  USE_PLUGIN_GOOM_TRUE=
29266  USE_PLUGIN_GOOM_FALSE='#'
29267else
29268  USE_PLUGIN_GOOM_TRUE='#'
29269  USE_PLUGIN_GOOM_FALSE=
29270fi
29271
29272
29273
29274  GST_PLUGINS_ALL="$GST_PLUGINS_ALL goom2k1"
29275
29276
29277
29278  # Check whether --enable-goom2k1 was given.
29279if test "${enable_goom2k1+set}" = set; then :
29280  enableval=$enable_goom2k1;
29281      case "${enableval}" in
29282        yes) gst_use_goom2k1=yes ;;
29283        no) gst_use_goom2k1=no ;;
29284        *) as_fn_error $? "bad value ${enableval} for --enable-goom2k1" "$LINENO" 5 ;;
29285       esac
29286
29287else
29288  gst_use_goom2k1=yes
29289fi
29290
29291  if test x$gst_use_goom2k1 = xno; then
29292    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin goom2k1" >&5
29293$as_echo "$as_me: disabling dependency-less plugin goom2k1" >&6;}
29294    WITHOUT_PLUGINS="$WITHOUT_PLUGINS goom2k1"
29295  fi
29296
29297
29298    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " goom2k1 " > /dev/null; then
29299    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED goom2k1"
29300  fi
29301    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " goom2k1 " > /dev/null; then
29302    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ goom2k1 / /'`
29303  fi
29304    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " goom2k1 " > /dev/null; then
29305    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ goom2k1 / /'`
29306  fi
29307   if echo " $GST_PLUGINS_SELECTED " | grep -i " goom2k1 " > /dev/null; then
29308  USE_PLUGIN_GOOM2K1_TRUE=
29309  USE_PLUGIN_GOOM2K1_FALSE='#'
29310else
29311  USE_PLUGIN_GOOM2K1_TRUE='#'
29312  USE_PLUGIN_GOOM2K1_FALSE=
29313fi
29314
29315
29316
29317  GST_PLUGINS_ALL="$GST_PLUGINS_ALL icydemux"
29318
29319
29320
29321  # Check whether --enable-icydemux was given.
29322if test "${enable_icydemux+set}" = set; then :
29323  enableval=$enable_icydemux;
29324      case "${enableval}" in
29325        yes) gst_use_icydemux=yes ;;
29326        no) gst_use_icydemux=no ;;
29327        *) as_fn_error $? "bad value ${enableval} for --enable-icydemux" "$LINENO" 5 ;;
29328       esac
29329
29330else
29331  gst_use_icydemux=yes
29332fi
29333
29334  if test x$gst_use_icydemux = xno; then
29335    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin icydemux" >&5
29336$as_echo "$as_me: disabling dependency-less plugin icydemux" >&6;}
29337    WITHOUT_PLUGINS="$WITHOUT_PLUGINS icydemux"
29338  fi
29339
29340
29341    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " icydemux " > /dev/null; then
29342    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED icydemux"
29343  fi
29344    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " icydemux " > /dev/null; then
29345    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ icydemux / /'`
29346  fi
29347    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " icydemux " > /dev/null; then
29348    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ icydemux / /'`
29349  fi
29350   if echo " $GST_PLUGINS_SELECTED " | grep -i " icydemux " > /dev/null; then
29351  USE_PLUGIN_ICYDEMUX_TRUE=
29352  USE_PLUGIN_ICYDEMUX_FALSE='#'
29353else
29354  USE_PLUGIN_ICYDEMUX_TRUE='#'
29355  USE_PLUGIN_ICYDEMUX_FALSE=
29356fi
29357
29358
29359
29360  GST_PLUGINS_ALL="$GST_PLUGINS_ALL id3demux"
29361
29362
29363
29364  # Check whether --enable-id3demux was given.
29365if test "${enable_id3demux+set}" = set; then :
29366  enableval=$enable_id3demux;
29367      case "${enableval}" in
29368        yes) gst_use_id3demux=yes ;;
29369        no) gst_use_id3demux=no ;;
29370        *) as_fn_error $? "bad value ${enableval} for --enable-id3demux" "$LINENO" 5 ;;
29371       esac
29372
29373else
29374  gst_use_id3demux=yes
29375fi
29376
29377  if test x$gst_use_id3demux = xno; then
29378    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin id3demux" >&5
29379$as_echo "$as_me: disabling dependency-less plugin id3demux" >&6;}
29380    WITHOUT_PLUGINS="$WITHOUT_PLUGINS id3demux"
29381  fi
29382
29383
29384    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " id3demux " > /dev/null; then
29385    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED id3demux"
29386  fi
29387    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " id3demux " > /dev/null; then
29388    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ id3demux / /'`
29389  fi
29390    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " id3demux " > /dev/null; then
29391    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ id3demux / /'`
29392  fi
29393   if echo " $GST_PLUGINS_SELECTED " | grep -i " id3demux " > /dev/null; then
29394  USE_PLUGIN_ID3DEMUX_TRUE=
29395  USE_PLUGIN_ID3DEMUX_FALSE='#'
29396else
29397  USE_PLUGIN_ID3DEMUX_TRUE='#'
29398  USE_PLUGIN_ID3DEMUX_FALSE=
29399fi
29400
29401
29402
29403  GST_PLUGINS_ALL="$GST_PLUGINS_ALL imagefreeze"
29404
29405
29406
29407  # Check whether --enable-imagefreeze was given.
29408if test "${enable_imagefreeze+set}" = set; then :
29409  enableval=$enable_imagefreeze;
29410      case "${enableval}" in
29411        yes) gst_use_imagefreeze=yes ;;
29412        no) gst_use_imagefreeze=no ;;
29413        *) as_fn_error $? "bad value ${enableval} for --enable-imagefreeze" "$LINENO" 5 ;;
29414       esac
29415
29416else
29417  gst_use_imagefreeze=yes
29418fi
29419
29420  if test x$gst_use_imagefreeze = xno; then
29421    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin imagefreeze" >&5
29422$as_echo "$as_me: disabling dependency-less plugin imagefreeze" >&6;}
29423    WITHOUT_PLUGINS="$WITHOUT_PLUGINS imagefreeze"
29424  fi
29425
29426
29427    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " imagefreeze " > /dev/null; then
29428    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED imagefreeze"
29429  fi
29430    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " imagefreeze " > /dev/null; then
29431    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ imagefreeze / /'`
29432  fi
29433    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " imagefreeze " > /dev/null; then
29434    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ imagefreeze / /'`
29435  fi
29436   if echo " $GST_PLUGINS_SELECTED " | grep -i " imagefreeze " > /dev/null; then
29437  USE_PLUGIN_IMAGEFREEZE_TRUE=
29438  USE_PLUGIN_IMAGEFREEZE_FALSE='#'
29439else
29440  USE_PLUGIN_IMAGEFREEZE_TRUE='#'
29441  USE_PLUGIN_IMAGEFREEZE_FALSE=
29442fi
29443
29444
29445
29446  GST_PLUGINS_ALL="$GST_PLUGINS_ALL interleave"
29447
29448
29449
29450  # Check whether --enable-interleave was given.
29451if test "${enable_interleave+set}" = set; then :
29452  enableval=$enable_interleave;
29453      case "${enableval}" in
29454        yes) gst_use_interleave=yes ;;
29455        no) gst_use_interleave=no ;;
29456        *) as_fn_error $? "bad value ${enableval} for --enable-interleave" "$LINENO" 5 ;;
29457       esac
29458
29459else
29460  gst_use_interleave=yes
29461fi
29462
29463  if test x$gst_use_interleave = xno; then
29464    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin interleave" >&5
29465$as_echo "$as_me: disabling dependency-less plugin interleave" >&6;}
29466    WITHOUT_PLUGINS="$WITHOUT_PLUGINS interleave"
29467  fi
29468
29469
29470    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " interleave " > /dev/null; then
29471    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED interleave"
29472  fi
29473    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " interleave " > /dev/null; then
29474    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ interleave / /'`
29475  fi
29476    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " interleave " > /dev/null; then
29477    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ interleave / /'`
29478  fi
29479   if echo " $GST_PLUGINS_SELECTED " | grep -i " interleave " > /dev/null; then
29480  USE_PLUGIN_INTERLEAVE_TRUE=
29481  USE_PLUGIN_INTERLEAVE_FALSE='#'
29482else
29483  USE_PLUGIN_INTERLEAVE_TRUE='#'
29484  USE_PLUGIN_INTERLEAVE_FALSE=
29485fi
29486
29487
29488
29489  GST_PLUGINS_ALL="$GST_PLUGINS_ALL isomp4"
29490
29491
29492
29493  # Check whether --enable-isomp4 was given.
29494if test "${enable_isomp4+set}" = set; then :
29495  enableval=$enable_isomp4;
29496      case "${enableval}" in
29497        yes) gst_use_isomp4=yes ;;
29498        no) gst_use_isomp4=no ;;
29499        *) as_fn_error $? "bad value ${enableval} for --enable-isomp4" "$LINENO" 5 ;;
29500       esac
29501
29502else
29503  gst_use_isomp4=yes
29504fi
29505
29506  if test x$gst_use_isomp4 = xno; then
29507    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin isomp4" >&5
29508$as_echo "$as_me: disabling dependency-less plugin isomp4" >&6;}
29509    WITHOUT_PLUGINS="$WITHOUT_PLUGINS isomp4"
29510  fi
29511
29512
29513    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " isomp4 " > /dev/null; then
29514    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED isomp4"
29515  fi
29516    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " isomp4 " > /dev/null; then
29517    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ isomp4 / /'`
29518  fi
29519    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " isomp4 " > /dev/null; then
29520    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ isomp4 / /'`
29521  fi
29522   if echo " $GST_PLUGINS_SELECTED " | grep -i " isomp4 " > /dev/null; then
29523  USE_PLUGIN_ISOMP4_TRUE=
29524  USE_PLUGIN_ISOMP4_FALSE='#'
29525else
29526  USE_PLUGIN_ISOMP4_TRUE='#'
29527  USE_PLUGIN_ISOMP4_FALSE=
29528fi
29529
29530
29531
29532  GST_PLUGINS_ALL="$GST_PLUGINS_ALL law"
29533
29534
29535
29536  # Check whether --enable-law was given.
29537if test "${enable_law+set}" = set; then :
29538  enableval=$enable_law;
29539      case "${enableval}" in
29540        yes) gst_use_law=yes ;;
29541        no) gst_use_law=no ;;
29542        *) as_fn_error $? "bad value ${enableval} for --enable-law" "$LINENO" 5 ;;
29543       esac
29544
29545else
29546  gst_use_law=yes
29547fi
29548
29549  if test x$gst_use_law = xno; then
29550    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin law" >&5
29551$as_echo "$as_me: disabling dependency-less plugin law" >&6;}
29552    WITHOUT_PLUGINS="$WITHOUT_PLUGINS law"
29553  fi
29554
29555
29556    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " law " > /dev/null; then
29557    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED law"
29558  fi
29559    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " law " > /dev/null; then
29560    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ law / /'`
29561  fi
29562    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " law " > /dev/null; then
29563    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ law / /'`
29564  fi
29565   if echo " $GST_PLUGINS_SELECTED " | grep -i " law " > /dev/null; then
29566  USE_PLUGIN_LAW_TRUE=
29567  USE_PLUGIN_LAW_FALSE='#'
29568else
29569  USE_PLUGIN_LAW_TRUE='#'
29570  USE_PLUGIN_LAW_FALSE=
29571fi
29572
29573
29574
29575  GST_PLUGINS_ALL="$GST_PLUGINS_ALL level"
29576
29577
29578
29579  # Check whether --enable-level was given.
29580if test "${enable_level+set}" = set; then :
29581  enableval=$enable_level;
29582      case "${enableval}" in
29583        yes) gst_use_level=yes ;;
29584        no) gst_use_level=no ;;
29585        *) as_fn_error $? "bad value ${enableval} for --enable-level" "$LINENO" 5 ;;
29586       esac
29587
29588else
29589  gst_use_level=yes
29590fi
29591
29592  if test x$gst_use_level = xno; then
29593    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin level" >&5
29594$as_echo "$as_me: disabling dependency-less plugin level" >&6;}
29595    WITHOUT_PLUGINS="$WITHOUT_PLUGINS level"
29596  fi
29597
29598
29599    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " level " > /dev/null; then
29600    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED level"
29601  fi
29602    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " level " > /dev/null; then
29603    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ level / /'`
29604  fi
29605    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " level " > /dev/null; then
29606    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ level / /'`
29607  fi
29608   if echo " $GST_PLUGINS_SELECTED " | grep -i " level " > /dev/null; then
29609  USE_PLUGIN_LEVEL_TRUE=
29610  USE_PLUGIN_LEVEL_FALSE='#'
29611else
29612  USE_PLUGIN_LEVEL_TRUE='#'
29613  USE_PLUGIN_LEVEL_FALSE=
29614fi
29615
29616
29617
29618  GST_PLUGINS_ALL="$GST_PLUGINS_ALL matroska"
29619
29620
29621
29622  # Check whether --enable-matroska was given.
29623if test "${enable_matroska+set}" = set; then :
29624  enableval=$enable_matroska;
29625      case "${enableval}" in
29626        yes) gst_use_matroska=yes ;;
29627        no) gst_use_matroska=no ;;
29628        *) as_fn_error $? "bad value ${enableval} for --enable-matroska" "$LINENO" 5 ;;
29629       esac
29630
29631else
29632  gst_use_matroska=yes
29633fi
29634
29635  if test x$gst_use_matroska = xno; then
29636    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin matroska" >&5
29637$as_echo "$as_me: disabling dependency-less plugin matroska" >&6;}
29638    WITHOUT_PLUGINS="$WITHOUT_PLUGINS matroska"
29639  fi
29640
29641
29642    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " matroska " > /dev/null; then
29643    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED matroska"
29644  fi
29645    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " matroska " > /dev/null; then
29646    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ matroska / /'`
29647  fi
29648    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " matroska " > /dev/null; then
29649    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ matroska / /'`
29650  fi
29651   if echo " $GST_PLUGINS_SELECTED " | grep -i " matroska " > /dev/null; then
29652  USE_PLUGIN_MATROSKA_TRUE=
29653  USE_PLUGIN_MATROSKA_FALSE='#'
29654else
29655  USE_PLUGIN_MATROSKA_TRUE='#'
29656  USE_PLUGIN_MATROSKA_FALSE=
29657fi
29658
29659
29660
29661  GST_PLUGINS_ALL="$GST_PLUGINS_ALL monoscope"
29662
29663
29664
29665  # Check whether --enable-monoscope was given.
29666if test "${enable_monoscope+set}" = set; then :
29667  enableval=$enable_monoscope;
29668      case "${enableval}" in
29669        yes) gst_use_monoscope=yes ;;
29670        no) gst_use_monoscope=no ;;
29671        *) as_fn_error $? "bad value ${enableval} for --enable-monoscope" "$LINENO" 5 ;;
29672       esac
29673
29674else
29675  gst_use_monoscope=yes
29676fi
29677
29678  if test x$gst_use_monoscope = xno; then
29679    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin monoscope" >&5
29680$as_echo "$as_me: disabling dependency-less plugin monoscope" >&6;}
29681    WITHOUT_PLUGINS="$WITHOUT_PLUGINS monoscope"
29682  fi
29683
29684
29685    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " monoscope " > /dev/null; then
29686    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED monoscope"
29687  fi
29688    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " monoscope " > /dev/null; then
29689    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ monoscope / /'`
29690  fi
29691    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " monoscope " > /dev/null; then
29692    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ monoscope / /'`
29693  fi
29694   if echo " $GST_PLUGINS_SELECTED " | grep -i " monoscope " > /dev/null; then
29695  USE_PLUGIN_MONOSCOPE_TRUE=
29696  USE_PLUGIN_MONOSCOPE_FALSE='#'
29697else
29698  USE_PLUGIN_MONOSCOPE_TRUE='#'
29699  USE_PLUGIN_MONOSCOPE_FALSE=
29700fi
29701
29702
29703
29704  GST_PLUGINS_ALL="$GST_PLUGINS_ALL multifile"
29705
29706
29707
29708  # Check whether --enable-multifile was given.
29709if test "${enable_multifile+set}" = set; then :
29710  enableval=$enable_multifile;
29711      case "${enableval}" in
29712        yes) gst_use_multifile=yes ;;
29713        no) gst_use_multifile=no ;;
29714        *) as_fn_error $? "bad value ${enableval} for --enable-multifile" "$LINENO" 5 ;;
29715       esac
29716
29717else
29718  gst_use_multifile=yes
29719fi
29720
29721  if test x$gst_use_multifile = xno; then
29722    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin multifile" >&5
29723$as_echo "$as_me: disabling dependency-less plugin multifile" >&6;}
29724    WITHOUT_PLUGINS="$WITHOUT_PLUGINS multifile"
29725  fi
29726
29727
29728    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " multifile " > /dev/null; then
29729    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED multifile"
29730  fi
29731    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " multifile " > /dev/null; then
29732    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ multifile / /'`
29733  fi
29734    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " multifile " > /dev/null; then
29735    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ multifile / /'`
29736  fi
29737   if echo " $GST_PLUGINS_SELECTED " | grep -i " multifile " > /dev/null; then
29738  USE_PLUGIN_MULTIFILE_TRUE=
29739  USE_PLUGIN_MULTIFILE_FALSE='#'
29740else
29741  USE_PLUGIN_MULTIFILE_TRUE='#'
29742  USE_PLUGIN_MULTIFILE_FALSE=
29743fi
29744
29745
29746
29747  GST_PLUGINS_ALL="$GST_PLUGINS_ALL multipart"
29748
29749
29750
29751  # Check whether --enable-multipart was given.
29752if test "${enable_multipart+set}" = set; then :
29753  enableval=$enable_multipart;
29754      case "${enableval}" in
29755        yes) gst_use_multipart=yes ;;
29756        no) gst_use_multipart=no ;;
29757        *) as_fn_error $? "bad value ${enableval} for --enable-multipart" "$LINENO" 5 ;;
29758       esac
29759
29760else
29761  gst_use_multipart=yes
29762fi
29763
29764  if test x$gst_use_multipart = xno; then
29765    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin multipart" >&5
29766$as_echo "$as_me: disabling dependency-less plugin multipart" >&6;}
29767    WITHOUT_PLUGINS="$WITHOUT_PLUGINS multipart"
29768  fi
29769
29770
29771    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " multipart " > /dev/null; then
29772    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED multipart"
29773  fi
29774    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " multipart " > /dev/null; then
29775    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ multipart / /'`
29776  fi
29777    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " multipart " > /dev/null; then
29778    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ multipart / /'`
29779  fi
29780   if echo " $GST_PLUGINS_SELECTED " | grep -i " multipart " > /dev/null; then
29781  USE_PLUGIN_MULTIPART_TRUE=
29782  USE_PLUGIN_MULTIPART_FALSE='#'
29783else
29784  USE_PLUGIN_MULTIPART_TRUE='#'
29785  USE_PLUGIN_MULTIPART_FALSE=
29786fi
29787
29788
29789
29790  GST_PLUGINS_ALL="$GST_PLUGINS_ALL replaygain"
29791
29792
29793
29794  # Check whether --enable-replaygain was given.
29795if test "${enable_replaygain+set}" = set; then :
29796  enableval=$enable_replaygain;
29797      case "${enableval}" in
29798        yes) gst_use_replaygain=yes ;;
29799        no) gst_use_replaygain=no ;;
29800        *) as_fn_error $? "bad value ${enableval} for --enable-replaygain" "$LINENO" 5 ;;
29801       esac
29802
29803else
29804  gst_use_replaygain=yes
29805fi
29806
29807  if test x$gst_use_replaygain = xno; then
29808    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin replaygain" >&5
29809$as_echo "$as_me: disabling dependency-less plugin replaygain" >&6;}
29810    WITHOUT_PLUGINS="$WITHOUT_PLUGINS replaygain"
29811  fi
29812
29813
29814    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " replaygain " > /dev/null; then
29815    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED replaygain"
29816  fi
29817    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " replaygain " > /dev/null; then
29818    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ replaygain / /'`
29819  fi
29820    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " replaygain " > /dev/null; then
29821    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ replaygain / /'`
29822  fi
29823   if echo " $GST_PLUGINS_SELECTED " | grep -i " replaygain " > /dev/null; then
29824  USE_PLUGIN_REPLAYGAIN_TRUE=
29825  USE_PLUGIN_REPLAYGAIN_FALSE='#'
29826else
29827  USE_PLUGIN_REPLAYGAIN_TRUE='#'
29828  USE_PLUGIN_REPLAYGAIN_FALSE=
29829fi
29830
29831
29832
29833  GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtp"
29834
29835
29836
29837  # Check whether --enable-rtp was given.
29838if test "${enable_rtp+set}" = set; then :
29839  enableval=$enable_rtp;
29840      case "${enableval}" in
29841        yes) gst_use_rtp=yes ;;
29842        no) gst_use_rtp=no ;;
29843        *) as_fn_error $? "bad value ${enableval} for --enable-rtp" "$LINENO" 5 ;;
29844       esac
29845
29846else
29847  gst_use_rtp=yes
29848fi
29849
29850  if test x$gst_use_rtp = xno; then
29851    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtp" >&5
29852$as_echo "$as_me: disabling dependency-less plugin rtp" >&6;}
29853    WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtp"
29854  fi
29855
29856
29857    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtp " > /dev/null; then
29858    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtp"
29859  fi
29860    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtp " > /dev/null; then
29861    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtp / /'`
29862  fi
29863    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " rtp " > /dev/null; then
29864    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtp / /'`
29865  fi
29866   if echo " $GST_PLUGINS_SELECTED " | grep -i " rtp " > /dev/null; then
29867  USE_PLUGIN_RTP_TRUE=
29868  USE_PLUGIN_RTP_FALSE='#'
29869else
29870  USE_PLUGIN_RTP_TRUE='#'
29871  USE_PLUGIN_RTP_FALSE=
29872fi
29873
29874
29875
29876  GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtpmanager"
29877
29878
29879
29880  # Check whether --enable-rtpmanager was given.
29881if test "${enable_rtpmanager+set}" = set; then :
29882  enableval=$enable_rtpmanager;
29883      case "${enableval}" in
29884        yes) gst_use_rtpmanager=yes ;;
29885        no) gst_use_rtpmanager=no ;;
29886        *) as_fn_error $? "bad value ${enableval} for --enable-rtpmanager" "$LINENO" 5 ;;
29887       esac
29888
29889else
29890  gst_use_rtpmanager=yes
29891fi
29892
29893  if test x$gst_use_rtpmanager = xno; then
29894    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtpmanager" >&5
29895$as_echo "$as_me: disabling dependency-less plugin rtpmanager" >&6;}
29896    WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtpmanager"
29897  fi
29898
29899
29900    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtpmanager " > /dev/null; then
29901    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtpmanager"
29902  fi
29903    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtpmanager " > /dev/null; then
29904    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtpmanager / /'`
29905  fi
29906    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " rtpmanager " > /dev/null; then
29907    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtpmanager / /'`
29908  fi
29909   if echo " $GST_PLUGINS_SELECTED " | grep -i " rtpmanager " > /dev/null; then
29910  USE_PLUGIN_RTPMANAGER_TRUE=
29911  USE_PLUGIN_RTPMANAGER_FALSE='#'
29912else
29913  USE_PLUGIN_RTPMANAGER_TRUE='#'
29914  USE_PLUGIN_RTPMANAGER_FALSE=
29915fi
29916
29917
29918
29919  GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtsp"
29920
29921
29922
29923  # Check whether --enable-rtsp was given.
29924if test "${enable_rtsp+set}" = set; then :
29925  enableval=$enable_rtsp;
29926      case "${enableval}" in
29927        yes) gst_use_rtsp=yes ;;
29928        no) gst_use_rtsp=no ;;
29929        *) as_fn_error $? "bad value ${enableval} for --enable-rtsp" "$LINENO" 5 ;;
29930       esac
29931
29932else
29933  gst_use_rtsp=yes
29934fi
29935
29936  if test x$gst_use_rtsp = xno; then
29937    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtsp" >&5
29938$as_echo "$as_me: disabling dependency-less plugin rtsp" >&6;}
29939    WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtsp"
29940  fi
29941
29942
29943    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtsp " > /dev/null; then
29944    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtsp"
29945  fi
29946    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtsp " > /dev/null; then
29947    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtsp / /'`
29948  fi
29949    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " rtsp " > /dev/null; then
29950    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtsp / /'`
29951  fi
29952   if echo " $GST_PLUGINS_SELECTED " | grep -i " rtsp " > /dev/null; then
29953  USE_PLUGIN_RTSP_TRUE=
29954  USE_PLUGIN_RTSP_FALSE='#'
29955else
29956  USE_PLUGIN_RTSP_TRUE='#'
29957  USE_PLUGIN_RTSP_FALSE=
29958fi
29959
29960
29961
29962  GST_PLUGINS_ALL="$GST_PLUGINS_ALL shapewipe"
29963
29964
29965
29966  # Check whether --enable-shapewipe was given.
29967if test "${enable_shapewipe+set}" = set; then :
29968  enableval=$enable_shapewipe;
29969      case "${enableval}" in
29970        yes) gst_use_shapewipe=yes ;;
29971        no) gst_use_shapewipe=no ;;
29972        *) as_fn_error $? "bad value ${enableval} for --enable-shapewipe" "$LINENO" 5 ;;
29973       esac
29974
29975else
29976  gst_use_shapewipe=yes
29977fi
29978
29979  if test x$gst_use_shapewipe = xno; then
29980    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin shapewipe" >&5
29981$as_echo "$as_me: disabling dependency-less plugin shapewipe" >&6;}
29982    WITHOUT_PLUGINS="$WITHOUT_PLUGINS shapewipe"
29983  fi
29984
29985
29986    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " shapewipe " > /dev/null; then
29987    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED shapewipe"
29988  fi
29989    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " shapewipe " > /dev/null; then
29990    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ shapewipe / /'`
29991  fi
29992    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " shapewipe " > /dev/null; then
29993    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ shapewipe / /'`
29994  fi
29995   if echo " $GST_PLUGINS_SELECTED " | grep -i " shapewipe " > /dev/null; then
29996  USE_PLUGIN_SHAPEWIPE_TRUE=
29997  USE_PLUGIN_SHAPEWIPE_FALSE='#'
29998else
29999  USE_PLUGIN_SHAPEWIPE_TRUE='#'
30000  USE_PLUGIN_SHAPEWIPE_FALSE=
30001fi
30002
30003
30004
30005  GST_PLUGINS_ALL="$GST_PLUGINS_ALL smpte"
30006
30007
30008
30009  # Check whether --enable-smpte was given.
30010if test "${enable_smpte+set}" = set; then :
30011  enableval=$enable_smpte;
30012      case "${enableval}" in
30013        yes) gst_use_smpte=yes ;;
30014        no) gst_use_smpte=no ;;
30015        *) as_fn_error $? "bad value ${enableval} for --enable-smpte" "$LINENO" 5 ;;
30016       esac
30017
30018else
30019  gst_use_smpte=yes
30020fi
30021
30022  if test x$gst_use_smpte = xno; then
30023    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin smpte" >&5
30024$as_echo "$as_me: disabling dependency-less plugin smpte" >&6;}
30025    WITHOUT_PLUGINS="$WITHOUT_PLUGINS smpte"
30026  fi
30027
30028
30029    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " smpte " > /dev/null; then
30030    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED smpte"
30031  fi
30032    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " smpte " > /dev/null; then
30033    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ smpte / /'`
30034  fi
30035    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " smpte " > /dev/null; then
30036    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ smpte / /'`
30037  fi
30038   if echo " $GST_PLUGINS_SELECTED " | grep -i " smpte " > /dev/null; then
30039  USE_PLUGIN_SMPTE_TRUE=
30040  USE_PLUGIN_SMPTE_FALSE='#'
30041else
30042  USE_PLUGIN_SMPTE_TRUE='#'
30043  USE_PLUGIN_SMPTE_FALSE=
30044fi
30045
30046
30047
30048  GST_PLUGINS_ALL="$GST_PLUGINS_ALL spectrum"
30049
30050
30051
30052  # Check whether --enable-spectrum was given.
30053if test "${enable_spectrum+set}" = set; then :
30054  enableval=$enable_spectrum;
30055      case "${enableval}" in
30056        yes) gst_use_spectrum=yes ;;
30057        no) gst_use_spectrum=no ;;
30058        *) as_fn_error $? "bad value ${enableval} for --enable-spectrum" "$LINENO" 5 ;;
30059       esac
30060
30061else
30062  gst_use_spectrum=yes
30063fi
30064
30065  if test x$gst_use_spectrum = xno; then
30066    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin spectrum" >&5
30067$as_echo "$as_me: disabling dependency-less plugin spectrum" >&6;}
30068    WITHOUT_PLUGINS="$WITHOUT_PLUGINS spectrum"
30069  fi
30070
30071
30072    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " spectrum " > /dev/null; then
30073    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED spectrum"
30074  fi
30075    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " spectrum " > /dev/null; then
30076    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ spectrum / /'`
30077  fi
30078    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " spectrum " > /dev/null; then
30079    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ spectrum / /'`
30080  fi
30081   if echo " $GST_PLUGINS_SELECTED " | grep -i " spectrum " > /dev/null; then
30082  USE_PLUGIN_SPECTRUM_TRUE=
30083  USE_PLUGIN_SPECTRUM_FALSE='#'
30084else
30085  USE_PLUGIN_SPECTRUM_TRUE='#'
30086  USE_PLUGIN_SPECTRUM_FALSE=
30087fi
30088
30089
30090
30091  GST_PLUGINS_ALL="$GST_PLUGINS_ALL udp"
30092
30093
30094
30095  # Check whether --enable-udp was given.
30096if test "${enable_udp+set}" = set; then :
30097  enableval=$enable_udp;
30098      case "${enableval}" in
30099        yes) gst_use_udp=yes ;;
30100        no) gst_use_udp=no ;;
30101        *) as_fn_error $? "bad value ${enableval} for --enable-udp" "$LINENO" 5 ;;
30102       esac
30103
30104else
30105  gst_use_udp=yes
30106fi
30107
30108  if test x$gst_use_udp = xno; then
30109    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin udp" >&5
30110$as_echo "$as_me: disabling dependency-less plugin udp" >&6;}
30111    WITHOUT_PLUGINS="$WITHOUT_PLUGINS udp"
30112  fi
30113
30114
30115    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " udp " > /dev/null; then
30116    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED udp"
30117  fi
30118    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " udp " > /dev/null; then
30119    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ udp / /'`
30120  fi
30121    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " udp " > /dev/null; then
30122    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ udp / /'`
30123  fi
30124   if echo " $GST_PLUGINS_SELECTED " | grep -i " udp " > /dev/null; then
30125  USE_PLUGIN_UDP_TRUE=
30126  USE_PLUGIN_UDP_FALSE='#'
30127else
30128  USE_PLUGIN_UDP_TRUE='#'
30129  USE_PLUGIN_UDP_FALSE=
30130fi
30131
30132
30133
30134  GST_PLUGINS_ALL="$GST_PLUGINS_ALL videobox"
30135
30136
30137
30138  # Check whether --enable-videobox was given.
30139if test "${enable_videobox+set}" = set; then :
30140  enableval=$enable_videobox;
30141      case "${enableval}" in
30142        yes) gst_use_videobox=yes ;;
30143        no) gst_use_videobox=no ;;
30144        *) as_fn_error $? "bad value ${enableval} for --enable-videobox" "$LINENO" 5 ;;
30145       esac
30146
30147else
30148  gst_use_videobox=yes
30149fi
30150
30151  if test x$gst_use_videobox = xno; then
30152    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videobox" >&5
30153$as_echo "$as_me: disabling dependency-less plugin videobox" >&6;}
30154    WITHOUT_PLUGINS="$WITHOUT_PLUGINS videobox"
30155  fi
30156
30157
30158    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videobox " > /dev/null; then
30159    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videobox"
30160  fi
30161    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videobox " > /dev/null; then
30162    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videobox / /'`
30163  fi
30164    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " videobox " > /dev/null; then
30165    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videobox / /'`
30166  fi
30167   if echo " $GST_PLUGINS_SELECTED " | grep -i " videobox " > /dev/null; then
30168  USE_PLUGIN_VIDEOBOX_TRUE=
30169  USE_PLUGIN_VIDEOBOX_FALSE='#'
30170else
30171  USE_PLUGIN_VIDEOBOX_TRUE='#'
30172  USE_PLUGIN_VIDEOBOX_FALSE=
30173fi
30174
30175
30176
30177  GST_PLUGINS_ALL="$GST_PLUGINS_ALL videocrop"
30178
30179
30180
30181  # Check whether --enable-videocrop was given.
30182if test "${enable_videocrop+set}" = set; then :
30183  enableval=$enable_videocrop;
30184      case "${enableval}" in
30185        yes) gst_use_videocrop=yes ;;
30186        no) gst_use_videocrop=no ;;
30187        *) as_fn_error $? "bad value ${enableval} for --enable-videocrop" "$LINENO" 5 ;;
30188       esac
30189
30190else
30191  gst_use_videocrop=yes
30192fi
30193
30194  if test x$gst_use_videocrop = xno; then
30195    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videocrop" >&5
30196$as_echo "$as_me: disabling dependency-less plugin videocrop" >&6;}
30197    WITHOUT_PLUGINS="$WITHOUT_PLUGINS videocrop"
30198  fi
30199
30200
30201    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videocrop " > /dev/null; then
30202    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videocrop"
30203  fi
30204    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videocrop " > /dev/null; then
30205    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videocrop / /'`
30206  fi
30207    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " videocrop " > /dev/null; then
30208    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videocrop / /'`
30209  fi
30210   if echo " $GST_PLUGINS_SELECTED " | grep -i " videocrop " > /dev/null; then
30211  USE_PLUGIN_VIDEOCROP_TRUE=
30212  USE_PLUGIN_VIDEOCROP_FALSE='#'
30213else
30214  USE_PLUGIN_VIDEOCROP_TRUE='#'
30215  USE_PLUGIN_VIDEOCROP_FALSE=
30216fi
30217
30218
30219
30220  GST_PLUGINS_ALL="$GST_PLUGINS_ALL videofilter"
30221
30222
30223
30224  # Check whether --enable-videofilter was given.
30225if test "${enable_videofilter+set}" = set; then :
30226  enableval=$enable_videofilter;
30227      case "${enableval}" in
30228        yes) gst_use_videofilter=yes ;;
30229        no) gst_use_videofilter=no ;;
30230        *) as_fn_error $? "bad value ${enableval} for --enable-videofilter" "$LINENO" 5 ;;
30231       esac
30232
30233else
30234  gst_use_videofilter=yes
30235fi
30236
30237  if test x$gst_use_videofilter = xno; then
30238    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videofilter" >&5
30239$as_echo "$as_me: disabling dependency-less plugin videofilter" >&6;}
30240    WITHOUT_PLUGINS="$WITHOUT_PLUGINS videofilter"
30241  fi
30242
30243
30244    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videofilter " > /dev/null; then
30245    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videofilter"
30246  fi
30247    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videofilter " > /dev/null; then
30248    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videofilter / /'`
30249  fi
30250    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " videofilter " > /dev/null; then
30251    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videofilter / /'`
30252  fi
30253   if echo " $GST_PLUGINS_SELECTED " | grep -i " videofilter " > /dev/null; then
30254  USE_PLUGIN_VIDEOFILTER_TRUE=
30255  USE_PLUGIN_VIDEOFILTER_FALSE='#'
30256else
30257  USE_PLUGIN_VIDEOFILTER_TRUE='#'
30258  USE_PLUGIN_VIDEOFILTER_FALSE=
30259fi
30260
30261
30262
30263  GST_PLUGINS_ALL="$GST_PLUGINS_ALL videomixer"
30264
30265
30266
30267  # Check whether --enable-videomixer was given.
30268if test "${enable_videomixer+set}" = set; then :
30269  enableval=$enable_videomixer;
30270      case "${enableval}" in
30271        yes) gst_use_videomixer=yes ;;
30272        no) gst_use_videomixer=no ;;
30273        *) as_fn_error $? "bad value ${enableval} for --enable-videomixer" "$LINENO" 5 ;;
30274       esac
30275
30276else
30277  gst_use_videomixer=yes
30278fi
30279
30280  if test x$gst_use_videomixer = xno; then
30281    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videomixer" >&5
30282$as_echo "$as_me: disabling dependency-less plugin videomixer" >&6;}
30283    WITHOUT_PLUGINS="$WITHOUT_PLUGINS videomixer"
30284  fi
30285
30286
30287    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videomixer " > /dev/null; then
30288    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videomixer"
30289  fi
30290    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videomixer " > /dev/null; then
30291    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videomixer / /'`
30292  fi
30293    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " videomixer " > /dev/null; then
30294    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videomixer / /'`
30295  fi
30296   if echo " $GST_PLUGINS_SELECTED " | grep -i " videomixer " > /dev/null; then
30297  USE_PLUGIN_VIDEOMIXER_TRUE=
30298  USE_PLUGIN_VIDEOMIXER_FALSE='#'
30299else
30300  USE_PLUGIN_VIDEOMIXER_TRUE='#'
30301  USE_PLUGIN_VIDEOMIXER_FALSE=
30302fi
30303
30304
30305
30306  GST_PLUGINS_ALL="$GST_PLUGINS_ALL wavenc"
30307
30308
30309
30310  # Check whether --enable-wavenc was given.
30311if test "${enable_wavenc+set}" = set; then :
30312  enableval=$enable_wavenc;
30313      case "${enableval}" in
30314        yes) gst_use_wavenc=yes ;;
30315        no) gst_use_wavenc=no ;;
30316        *) as_fn_error $? "bad value ${enableval} for --enable-wavenc" "$LINENO" 5 ;;
30317       esac
30318
30319else
30320  gst_use_wavenc=yes
30321fi
30322
30323  if test x$gst_use_wavenc = xno; then
30324    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin wavenc" >&5
30325$as_echo "$as_me: disabling dependency-less plugin wavenc" >&6;}
30326    WITHOUT_PLUGINS="$WITHOUT_PLUGINS wavenc"
30327  fi
30328
30329
30330    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " wavenc " > /dev/null; then
30331    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED wavenc"
30332  fi
30333    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " wavenc " > /dev/null; then
30334    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ wavenc / /'`
30335  fi
30336    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " wavenc " > /dev/null; then
30337    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ wavenc / /'`
30338  fi
30339   if echo " $GST_PLUGINS_SELECTED " | grep -i " wavenc " > /dev/null; then
30340  USE_PLUGIN_WAVENC_TRUE=
30341  USE_PLUGIN_WAVENC_FALSE='#'
30342else
30343  USE_PLUGIN_WAVENC_TRUE='#'
30344  USE_PLUGIN_WAVENC_FALSE=
30345fi
30346
30347
30348
30349  GST_PLUGINS_ALL="$GST_PLUGINS_ALL wavparse"
30350
30351
30352
30353  # Check whether --enable-wavparse was given.
30354if test "${enable_wavparse+set}" = set; then :
30355  enableval=$enable_wavparse;
30356      case "${enableval}" in
30357        yes) gst_use_wavparse=yes ;;
30358        no) gst_use_wavparse=no ;;
30359        *) as_fn_error $? "bad value ${enableval} for --enable-wavparse" "$LINENO" 5 ;;
30360       esac
30361
30362else
30363  gst_use_wavparse=yes
30364fi
30365
30366  if test x$gst_use_wavparse = xno; then
30367    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin wavparse" >&5
30368$as_echo "$as_me: disabling dependency-less plugin wavparse" >&6;}
30369    WITHOUT_PLUGINS="$WITHOUT_PLUGINS wavparse"
30370  fi
30371
30372
30373    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " wavparse " > /dev/null; then
30374    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED wavparse"
30375  fi
30376    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " wavparse " > /dev/null; then
30377    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ wavparse / /'`
30378  fi
30379    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " wavparse " > /dev/null; then
30380    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ wavparse / /'`
30381  fi
30382   if echo " $GST_PLUGINS_SELECTED " | grep -i " wavparse " > /dev/null; then
30383  USE_PLUGIN_WAVPARSE_TRUE=
30384  USE_PLUGIN_WAVPARSE_FALSE='#'
30385else
30386  USE_PLUGIN_WAVPARSE_TRUE='#'
30387  USE_PLUGIN_WAVPARSE_FALSE=
30388fi
30389
30390
30391
30392  GST_PLUGINS_ALL="$GST_PLUGINS_ALL y4m"
30393
30394
30395
30396  # Check whether --enable-y4m was given.
30397if test "${enable_y4m+set}" = set; then :
30398  enableval=$enable_y4m;
30399      case "${enableval}" in
30400        yes) gst_use_y4m=yes ;;
30401        no) gst_use_y4m=no ;;
30402        *) as_fn_error $? "bad value ${enableval} for --enable-y4m" "$LINENO" 5 ;;
30403       esac
30404
30405else
30406  gst_use_y4m=yes
30407fi
30408
30409  if test x$gst_use_y4m = xno; then
30410    { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin y4m" >&5
30411$as_echo "$as_me: disabling dependency-less plugin y4m" >&6;}
30412    WITHOUT_PLUGINS="$WITHOUT_PLUGINS y4m"
30413  fi
30414
30415
30416    if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " y4m " > /dev/null; then
30417    GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED y4m"
30418  fi
30419    if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " y4m " > /dev/null; then
30420    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ y4m / /'`
30421  fi
30422    if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " y4m " > /dev/null; then
30423    GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ y4m / /'`
30424  fi
30425   if echo " $GST_PLUGINS_SELECTED " | grep -i " y4m " > /dev/null; then
30426  USE_PLUGIN_Y4M_TRUE=
30427  USE_PLUGIN_Y4M_FALSE='#'
30428else
30429  USE_PLUGIN_Y4M_TRUE='#'
30430  USE_PLUGIN_Y4M_FALSE=
30431fi
30432
30433
30434
30435if test "x$BUILD_EXPERIMENTAL" != "xyes"; then
30436
30437  GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ monoscope / /'`
30438   if false; then
30439  USE_PLUGIN_MONOSCOPE_TRUE=
30440  USE_PLUGIN_MONOSCOPE_FALSE='#'
30441else
30442  USE_PLUGIN_MONOSCOPE_TRUE='#'
30443  USE_PLUGIN_MONOSCOPE_FALSE=
30444fi
30445
30446
30447fi
30448
30449
30450echo
30451{ $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in sys/" >&5
30452$as_echo "$as_me: Checking libraries for plugins in sys/" >&6;}
30453echo
30454
30455echo
30456{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: DirectSound plug-in ***" >&5
30457$as_echo "$as_me: *** checking feature: DirectSound plug-in ***" >&6;}
30458if test "xdirectsoundsink" != "x"
30459then
30460  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: directsoundsink ***" >&5
30461$as_echo "$as_me: *** for plug-ins: directsoundsink ***" >&6;}
30462fi
30463NOUSE=
30464if test "x$USE_DIRECTSOUND" = "xno"; then
30465  NOUSE="yes"
30466fi
30467# Check whether --enable-directsound was given.
30468if test "${enable_directsound+set}" = set; then :
30469  enableval=$enable_directsound;  case "${enableval}" in
30470      yes) USE_DIRECTSOUND=yes;;
30471      no) USE_DIRECTSOUND=no;;
30472      *) as_fn_error $? "bad value ${enableval} for --enable-directsound" "$LINENO" 5 ;;
30473    esac
30474else
30475   USE_DIRECTSOUND=yes
30476fi
30477
30478if test "x$NOUSE" = "xyes"; then
30479  USE_DIRECTSOUND="no"
30480  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** directsoundsink pre-configured not to be built" >&5
30481$as_echo "$as_me: WARNING: *** directsoundsink pre-configured not to be built" >&2;}
30482fi
30483NOUSE=
30484
30485if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " DIRECTSOUND " > /dev/null; then
30486  USE_DIRECTSOUND="no"
30487  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** directsoundsink not ported" >&5
30488$as_echo "$as_me: WARNING: *** directsoundsink not ported" >&2;}
30489fi
30490
30491
30492if test x$USE_DIRECTSOUND = xyes; then
30493
30494  gst_check_save_LIBS=$LIBS
30495  gst_check_save_LDFLAGS=$LDFLAGS
30496  gst_check_save_CFLAGS=$CFLAGS
30497  gst_check_save_CPPFLAGS=$CPPFLAGS
30498  gst_check_save_CXXFLAGS=$CXXFLAGS
30499
30500  HAVE_DIRECTSOUND=no
30501
30502  HAVE_DIRECTSOUND="no"
30503  save_CFLAGS="$CFLAGS"
30504  save_LDFLAGS="$LDFLAGS"
30505  save_LIBS="$LIBS"
30506  CFLAGS="$CFLAGS $DIRECTSOUND_CFLAGS"
30507  LDFLAGS="$LDFLAGS $DIRECTSOUND_LDFLAGS"
30508  LIBS="$LIBS -ldsound -ldxerr9 -luser32 -lole32"
30509  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectSound LDFLAGS" >&5
30510$as_echo_n "checking for DirectSound LDFLAGS... " >&6; }
30511  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30512/* end confdefs.h.  */
30513
30514#include <windows.h>
30515#include <dxerr9.h>
30516#include <dsound.h>
30517
30518int
30519main ()
30520{
30521
30522  DXGetErrorString9 (0);
30523  DirectSoundCreate(NULL, NULL, NULL);
30524  CLSIDFromString(NULL, NULL);
30525
30526  ;
30527  return 0;
30528}
30529
30530_ACEOF
30531if ac_fn_c_try_link "$LINENO"; then :
30532  HAVE_DIRECTSOUND="yes"
30533else
30534  HAVE_DIRECTSOUND="no"
30535fi
30536rm -f core conftest.err conftest.$ac_objext \
30537    conftest$ac_exeext conftest.$ac_ext
30538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DIRECTSOUND" >&5
30539$as_echo "$HAVE_DIRECTSOUND" >&6; }
30540  CFLAGS=$save_CFLAGS
30541  LDFLAGS=$save_LDFLAGS
30542  LIBS=$save_LIBS
30543
30544  if test "x$HAVE_DIRECTSOUND" = "xyes";  then
30545        DIRECTSOUND_LIBS="-ldsound -ldxerr9 -luser32 -lole32"
30546
30547
30548
30549  fi
30550
30551
30552
30553  LIBS=$gst_check_save_LIBS
30554  LDFLAGS=$gst_check_save_LDFLAGS
30555  CFLAGS=$gst_check_save_CFLAGS
30556  CPPFLAGS=$gst_check_save_CPPFLAGS
30557  CXXFLAGS=$gst_check_save_CXXFLAGS
30558
30559    if test x$HAVE_DIRECTSOUND = xno; then
30560    USE_DIRECTSOUND=no
30561  else
30562    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: directsoundsink" >&5
30563$as_echo "$as_me: *** These plugins will be built: directsoundsink" >&6;}
30564  fi
30565fi
30566if test x$USE_DIRECTSOUND = xyes; then
30567  :
30568  if test "xdirectsoundsink" != "x"; then
30569    GST_PLUGINS_YES="\tdirectsoundsink\n$GST_PLUGINS_YES"
30570  fi
30571
30572$as_echo "#define HAVE_DIRECTSOUND /**/" >>confdefs.h
30573
30574else
30575  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: directsoundsink" >&5
30576$as_echo "$as_me: *** These plugins will not be built: directsoundsink" >&6;}
30577  if test "xdirectsoundsink" != "x"; then
30578    GST_PLUGINS_NO="\tdirectsoundsink\n$GST_PLUGINS_NO"
30579  fi
30580  :
30581fi
30582 if test x$USE_DIRECTSOUND = xyes; then
30583  USE_DIRECTSOUND_TRUE=
30584  USE_DIRECTSOUND_FALSE='#'
30585else
30586  USE_DIRECTSOUND_TRUE='#'
30587  USE_DIRECTSOUND_FALSE=
30588fi
30589
30590
30591
30592echo
30593{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Win32 WaveForm ***" >&5
30594$as_echo "$as_me: *** checking feature: Win32 WaveForm ***" >&6;}
30595if test "xwaveformsink" != "x"
30596then
30597  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: waveformsink ***" >&5
30598$as_echo "$as_me: *** for plug-ins: waveformsink ***" >&6;}
30599fi
30600NOUSE=
30601if test "x$USE_WAVEFORM" = "xno"; then
30602  NOUSE="yes"
30603fi
30604# Check whether --enable-waveform was given.
30605if test "${enable_waveform+set}" = set; then :
30606  enableval=$enable_waveform;  case "${enableval}" in
30607      yes) USE_WAVEFORM=yes;;
30608      no) USE_WAVEFORM=no;;
30609      *) as_fn_error $? "bad value ${enableval} for --enable-waveform" "$LINENO" 5 ;;
30610    esac
30611else
30612   USE_WAVEFORM=yes
30613fi
30614
30615if test "x$NOUSE" = "xyes"; then
30616  USE_WAVEFORM="no"
30617  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** waveformsink pre-configured not to be built" >&5
30618$as_echo "$as_me: WARNING: *** waveformsink pre-configured not to be built" >&2;}
30619fi
30620NOUSE=
30621
30622if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " WAVEFORM " > /dev/null; then
30623  USE_WAVEFORM="no"
30624  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** waveformsink not ported" >&5
30625$as_echo "$as_me: WARNING: *** waveformsink not ported" >&2;}
30626fi
30627
30628
30629if test x$USE_WAVEFORM = xyes; then
30630
30631  gst_check_save_LIBS=$LIBS
30632  gst_check_save_LDFLAGS=$LDFLAGS
30633  gst_check_save_CFLAGS=$CFLAGS
30634  gst_check_save_CPPFLAGS=$CPPFLAGS
30635  gst_check_save_CXXFLAGS=$CXXFLAGS
30636
30637  HAVE_WAVEFORM=no
30638
30639  ac_fn_c_check_header_compile "$LINENO" "mmsystem.h" "ac_cv_header_mmsystem_h" "#include <windows.h>
30640"
30641if test "x$ac_cv_header_mmsystem_h" = xyes; then :
30642  HAVE_WAVEFORM="yes"
30643else
30644  HAVE_WAVEFORM="no"
30645fi
30646
30647
30648
30649
30650  LIBS=$gst_check_save_LIBS
30651  LDFLAGS=$gst_check_save_LDFLAGS
30652  CFLAGS=$gst_check_save_CFLAGS
30653  CPPFLAGS=$gst_check_save_CPPFLAGS
30654  CXXFLAGS=$gst_check_save_CXXFLAGS
30655
30656    if test x$HAVE_WAVEFORM = xno; then
30657    USE_WAVEFORM=no
30658  else
30659    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: waveformsink" >&5
30660$as_echo "$as_me: *** These plugins will be built: waveformsink" >&6;}
30661  fi
30662fi
30663if test x$USE_WAVEFORM = xyes; then
30664  :
30665  if test "xwaveformsink" != "x"; then
30666    GST_PLUGINS_YES="\twaveformsink\n$GST_PLUGINS_YES"
30667  fi
30668
30669$as_echo "#define HAVE_WAVEFORM /**/" >>confdefs.h
30670
30671else
30672  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: waveformsink" >&5
30673$as_echo "$as_me: *** These plugins will not be built: waveformsink" >&6;}
30674  if test "xwaveformsink" != "x"; then
30675    GST_PLUGINS_NO="\twaveformsink\n$GST_PLUGINS_NO"
30676  fi
30677  :
30678fi
30679 if test x$USE_WAVEFORM = xyes; then
30680  USE_WAVEFORM_TRUE=
30681  USE_WAVEFORM_FALSE='#'
30682else
30683  USE_WAVEFORM_TRUE='#'
30684  USE_WAVEFORM_FALSE=
30685fi
30686
30687
30688
30689echo
30690{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OSS audio ***" >&5
30691$as_echo "$as_me: *** checking feature: OSS audio ***" >&6;}
30692if test "xossaudio" != "x"
30693then
30694  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ossaudio ***" >&5
30695$as_echo "$as_me: *** for plug-ins: ossaudio ***" >&6;}
30696fi
30697NOUSE=
30698if test "x$USE_OSS" = "xno"; then
30699  NOUSE="yes"
30700fi
30701# Check whether --enable-oss was given.
30702if test "${enable_oss+set}" = set; then :
30703  enableval=$enable_oss;  case "${enableval}" in
30704      yes) USE_OSS=yes;;
30705      no) USE_OSS=no;;
30706      *) as_fn_error $? "bad value ${enableval} for --enable-oss" "$LINENO" 5 ;;
30707    esac
30708else
30709   USE_OSS=yes
30710fi
30711
30712if test "x$NOUSE" = "xyes"; then
30713  USE_OSS="no"
30714  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ossaudio pre-configured not to be built" >&5
30715$as_echo "$as_me: WARNING: *** ossaudio pre-configured not to be built" >&2;}
30716fi
30717NOUSE=
30718
30719if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " OSS " > /dev/null; then
30720  USE_OSS="no"
30721  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ossaudio not ported" >&5
30722$as_echo "$as_me: WARNING: *** ossaudio not ported" >&2;}
30723fi
30724
30725
30726if test x$USE_OSS = xyes; then
30727
30728  gst_check_save_LIBS=$LIBS
30729  gst_check_save_LDFLAGS=$LDFLAGS
30730  gst_check_save_CFLAGS=$CFLAGS
30731  gst_check_save_CPPFLAGS=$CPPFLAGS
30732  gst_check_save_CXXFLAGS=$CXXFLAGS
30733
30734  HAVE_OSS=no
30735
30736 HAVE_OSS="yes"
30737 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
30738if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
30739
30740
30741$as_echo "#define HAVE_OSS_INCLUDE_IN_SYS /**/" >>confdefs.h
30742
30743
30744else
30745
30746   ac_fn_c_check_header_mongrel "$LINENO" "soundcard.h" "ac_cv_header_soundcard_h" "$ac_includes_default"
30747if test "x$ac_cv_header_soundcard_h" = xyes; then :
30748
30749
30750$as_echo "#define HAVE_OSS_INCLUDE_IN_ROOT /**/" >>confdefs.h
30751
30752
30753else
30754
30755       ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default"
30756if test "x$ac_cv_header_machine_soundcard_h" = xyes; then :
30757
30758
30759$as_echo "#define HAVE_OSS_INCLUDE_IN_MACHINE /**/" >>confdefs.h
30760
30761
30762else
30763
30764       HAVE_OSS="no"
30765
30766fi
30767
30768
30769
30770fi
30771
30772
30773
30774fi
30775
30776
30777
30778
30779  LIBS=$gst_check_save_LIBS
30780  LDFLAGS=$gst_check_save_LDFLAGS
30781  CFLAGS=$gst_check_save_CFLAGS
30782  CPPFLAGS=$gst_check_save_CPPFLAGS
30783  CXXFLAGS=$gst_check_save_CXXFLAGS
30784
30785    if test x$HAVE_OSS = xno; then
30786    USE_OSS=no
30787  else
30788    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ossaudio" >&5
30789$as_echo "$as_me: *** These plugins will be built: ossaudio" >&6;}
30790  fi
30791fi
30792if test x$USE_OSS = xyes; then
30793  :
30794  if test "xossaudio" != "x"; then
30795    GST_PLUGINS_YES="\tossaudio\n$GST_PLUGINS_YES"
30796  fi
30797
30798$as_echo "#define HAVE_OSS /**/" >>confdefs.h
30799
30800else
30801  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ossaudio" >&5
30802$as_echo "$as_me: *** These plugins will not be built: ossaudio" >&6;}
30803  if test "xossaudio" != "x"; then
30804    GST_PLUGINS_NO="\tossaudio\n$GST_PLUGINS_NO"
30805  fi
30806  :
30807fi
30808 if test x$USE_OSS = xyes; then
30809  USE_OSS_TRUE=
30810  USE_OSS_FALSE='#'
30811else
30812  USE_OSS_TRUE='#'
30813  USE_OSS_FALSE=
30814fi
30815
30816
30817
30818echo
30819{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Open Sound System 4 ***" >&5
30820$as_echo "$as_me: *** checking feature: Open Sound System 4 ***" >&6;}
30821if test "xoss4" != "x"
30822then
30823  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: oss4 ***" >&5
30824$as_echo "$as_me: *** for plug-ins: oss4 ***" >&6;}
30825fi
30826NOUSE=
30827if test "x$USE_OSS4" = "xno"; then
30828  NOUSE="yes"
30829fi
30830# Check whether --enable-oss4 was given.
30831if test "${enable_oss4+set}" = set; then :
30832  enableval=$enable_oss4;  case "${enableval}" in
30833      yes) USE_OSS4=yes;;
30834      no) USE_OSS4=no;;
30835      *) as_fn_error $? "bad value ${enableval} for --enable-oss4" "$LINENO" 5 ;;
30836    esac
30837else
30838   USE_OSS4=yes
30839fi
30840
30841if test "x$NOUSE" = "xyes"; then
30842  USE_OSS4="no"
30843  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** oss4 pre-configured not to be built" >&5
30844$as_echo "$as_me: WARNING: *** oss4 pre-configured not to be built" >&2;}
30845fi
30846NOUSE=
30847
30848if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " OSS4 " > /dev/null; then
30849  USE_OSS4="no"
30850  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** oss4 not ported" >&5
30851$as_echo "$as_me: WARNING: *** oss4 not ported" >&2;}
30852fi
30853
30854
30855if test x$USE_OSS4 = xyes; then
30856
30857  gst_check_save_LIBS=$LIBS
30858  gst_check_save_LDFLAGS=$LDFLAGS
30859  gst_check_save_CFLAGS=$CFLAGS
30860  gst_check_save_CPPFLAGS=$CPPFLAGS
30861  gst_check_save_CXXFLAGS=$CXXFLAGS
30862
30863  HAVE_OSS4=no
30864
30865  { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking if we can build the OSS4 elements" >&5
30866$as_echo_n "checking Checking if we can build the OSS4 elements... " >&6; }
30867  for ac_header in fcntl.h sys/ioctl.h sys/stat.h sys/types.h
30868do :
30869  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
30870ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
30871if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
30872  cat >>confdefs.h <<_ACEOF
30873#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
30874_ACEOF
30875 test -z "$OSS4_MISSING_HEADER" && HAVE_OSS4="yes"
30876else
30877  OSS4_MISSING_HEADER="yes";HAVE_OSS4="no"
30878fi
30879
30880done
30881
30882
30883
30884  LIBS=$gst_check_save_LIBS
30885  LDFLAGS=$gst_check_save_LDFLAGS
30886  CFLAGS=$gst_check_save_CFLAGS
30887  CPPFLAGS=$gst_check_save_CPPFLAGS
30888  CXXFLAGS=$gst_check_save_CXXFLAGS
30889
30890    if test x$HAVE_OSS4 = xno; then
30891    USE_OSS4=no
30892  else
30893    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: oss4" >&5
30894$as_echo "$as_me: *** These plugins will be built: oss4" >&6;}
30895  fi
30896fi
30897if test x$USE_OSS4 = xyes; then
30898  :
30899  if test "xoss4" != "x"; then
30900    GST_PLUGINS_YES="\toss4\n$GST_PLUGINS_YES"
30901  fi
30902
30903$as_echo "#define HAVE_OSS4 /**/" >>confdefs.h
30904
30905else
30906  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: oss4" >&5
30907$as_echo "$as_me: *** These plugins will not be built: oss4" >&6;}
30908  if test "xoss4" != "x"; then
30909    GST_PLUGINS_NO="\toss4\n$GST_PLUGINS_NO"
30910  fi
30911  :
30912fi
30913 if test x$USE_OSS4 = xyes; then
30914  USE_OSS4_TRUE=
30915  USE_OSS4_FALSE='#'
30916else
30917  USE_OSS4_TRUE='#'
30918  USE_OSS4_FALSE=
30919fi
30920
30921
30922
30923HAVE_IOS="no"
30924echo
30925{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OSX audio ***" >&5
30926$as_echo "$as_me: *** checking feature: OSX audio ***" >&6;}
30927if test "xosxaudio" != "x"
30928then
30929  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: osxaudio ***" >&5
30930$as_echo "$as_me: *** for plug-ins: osxaudio ***" >&6;}
30931fi
30932NOUSE=
30933if test "x$USE_OSX_AUDIO" = "xno"; then
30934  NOUSE="yes"
30935fi
30936# Check whether --enable-osx_audio was given.
30937if test "${enable_osx_audio+set}" = set; then :
30938  enableval=$enable_osx_audio;  case "${enableval}" in
30939      yes) USE_OSX_AUDIO=yes;;
30940      no) USE_OSX_AUDIO=no;;
30941      *) as_fn_error $? "bad value ${enableval} for --enable-osx_audio" "$LINENO" 5 ;;
30942    esac
30943else
30944   USE_OSX_AUDIO=yes
30945fi
30946
30947if test "x$NOUSE" = "xyes"; then
30948  USE_OSX_AUDIO="no"
30949  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** osxaudio pre-configured not to be built" >&5
30950$as_echo "$as_me: WARNING: *** osxaudio pre-configured not to be built" >&2;}
30951fi
30952NOUSE=
30953
30954if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " OSX_AUDIO " > /dev/null; then
30955  USE_OSX_AUDIO="no"
30956  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** osxaudio not ported" >&5
30957$as_echo "$as_me: WARNING: *** osxaudio not ported" >&2;}
30958fi
30959
30960
30961if test x$USE_OSX_AUDIO = xyes; then
30962
30963  gst_check_save_LIBS=$LIBS
30964  gst_check_save_LDFLAGS=$LDFLAGS
30965  gst_check_save_CFLAGS=$CFLAGS
30966  gst_check_save_CPPFLAGS=$CPPFLAGS
30967  gst_check_save_CXXFLAGS=$CXXFLAGS
30968
30969  HAVE_OSX_AUDIO=no
30970
30971  ac_fn_c_check_header_mongrel "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
30972if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes; then :
30973  HAVE_OSX_AUDIO="yes"
30974else
30975  ac_fn_c_check_header_mongrel "$LINENO" "CoreAudio/CoreAudioTypes.h" "ac_cv_header_CoreAudio_CoreAudioTypes_h" "$ac_includes_default"
30976if test "x$ac_cv_header_CoreAudio_CoreAudioTypes_h" = xyes; then :
30977
30978      HAVE_OSX_AUDIO="yes"
30979      HAVE_IOS="yes"
30980
30981else
30982
30983      HAVE_OSX_AUDIO="no"
30984      HAVE_IOS="no"
30985
30986fi
30987
30988
30989
30990fi
30991
30992
30993
30994
30995  LIBS=$gst_check_save_LIBS
30996  LDFLAGS=$gst_check_save_LDFLAGS
30997  CFLAGS=$gst_check_save_CFLAGS
30998  CPPFLAGS=$gst_check_save_CPPFLAGS
30999  CXXFLAGS=$gst_check_save_CXXFLAGS
31000
31001    if test x$HAVE_OSX_AUDIO = xno; then
31002    USE_OSX_AUDIO=no
31003  else
31004    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: osxaudio" >&5
31005$as_echo "$as_me: *** These plugins will be built: osxaudio" >&6;}
31006  fi
31007fi
31008if test x$USE_OSX_AUDIO = xyes; then
31009  :
31010  if test "xosxaudio" != "x"; then
31011    GST_PLUGINS_YES="\tosxaudio\n$GST_PLUGINS_YES"
31012  fi
31013
31014$as_echo "#define HAVE_OSX_AUDIO /**/" >>confdefs.h
31015
31016else
31017  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: osxaudio" >&5
31018$as_echo "$as_me: *** These plugins will not be built: osxaudio" >&6;}
31019  if test "xosxaudio" != "x"; then
31020    GST_PLUGINS_NO="\tosxaudio\n$GST_PLUGINS_NO"
31021  fi
31022  :
31023fi
31024 if test x$USE_OSX_AUDIO = xyes; then
31025  USE_OSX_AUDIO_TRUE=
31026  USE_OSX_AUDIO_FALSE='#'
31027else
31028  USE_OSX_AUDIO_TRUE='#'
31029  USE_OSX_AUDIO_FALSE=
31030fi
31031
31032
31033if test "x$HAVE_IOS" = "xyes"; then
31034
31035$as_echo "#define HAVE_IOS 1" >>confdefs.h
31036
31037fi
31038 if test "x$HAVE_IOS" = "xyes"; then
31039  HAVE_IOS_TRUE=
31040  HAVE_IOS_FALSE='#'
31041else
31042  HAVE_IOS_TRUE='#'
31043  HAVE_IOS_FALSE=
31044fi
31045
31046
31047HAVE_OSX_VIDEO="no"
31048echo
31049{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OSX video ***" >&5
31050$as_echo "$as_me: *** checking feature: OSX video ***" >&6;}
31051if test "xosxvideosink" != "x"
31052then
31053  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: osxvideosink ***" >&5
31054$as_echo "$as_me: *** for plug-ins: osxvideosink ***" >&6;}
31055fi
31056NOUSE=
31057if test "x$USE_OSX_VIDEO" = "xno"; then
31058  NOUSE="yes"
31059fi
31060# Check whether --enable-osx_video was given.
31061if test "${enable_osx_video+set}" = set; then :
31062  enableval=$enable_osx_video;  case "${enableval}" in
31063      yes) USE_OSX_VIDEO=yes;;
31064      no) USE_OSX_VIDEO=no;;
31065      *) as_fn_error $? "bad value ${enableval} for --enable-osx_video" "$LINENO" 5 ;;
31066    esac
31067else
31068   USE_OSX_VIDEO=yes
31069fi
31070
31071if test "x$NOUSE" = "xyes"; then
31072  USE_OSX_VIDEO="no"
31073  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** osxvideosink pre-configured not to be built" >&5
31074$as_echo "$as_me: WARNING: *** osxvideosink pre-configured not to be built" >&2;}
31075fi
31076NOUSE=
31077
31078if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " OSX_VIDEO " > /dev/null; then
31079  USE_OSX_VIDEO="no"
31080  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** osxvideosink not ported" >&5
31081$as_echo "$as_me: WARNING: *** osxvideosink not ported" >&2;}
31082fi
31083
31084
31085if test x$USE_OSX_VIDEO = xyes; then
31086
31087  gst_check_save_LIBS=$LIBS
31088  gst_check_save_LDFLAGS=$LDFLAGS
31089  gst_check_save_CFLAGS=$CFLAGS
31090  gst_check_save_CPPFLAGS=$CPPFLAGS
31091  gst_check_save_CXXFLAGS=$CXXFLAGS
31092
31093  HAVE_OSX_VIDEO=no
31094
31095  ac_fn_c_check_header_mongrel "$LINENO" "OpenGL/gl.h" "ac_cv_header_OpenGL_gl_h" "$ac_includes_default"
31096if test "x$ac_cv_header_OpenGL_gl_h" = xyes; then :
31097  HAVE_OSX_VIDEO="yes"
31098else
31099  HAVE_OSX_VIDEO="no"
31100fi
31101
31102
31103
31104
31105  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31106/* end confdefs.h.  */
31107
31108        #include <AvailabilityMacros.h>
31109        #if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
31110        #error Too old OSX version
31111        #endif
31112
31113int
31114main ()
31115{
31116return 0;
31117  ;
31118  return 0;
31119}
31120_ACEOF
31121if ac_fn_c_try_compile "$LINENO"; then :
31122  HAVE_OSX_VIDEO="yes"
31123else
31124  HAVE_OSX_VIDEO="no"
31125fi
31126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31127
31128
31129  LIBS=$gst_check_save_LIBS
31130  LDFLAGS=$gst_check_save_LDFLAGS
31131  CFLAGS=$gst_check_save_CFLAGS
31132  CPPFLAGS=$gst_check_save_CPPFLAGS
31133  CXXFLAGS=$gst_check_save_CXXFLAGS
31134
31135    if test x$HAVE_OSX_VIDEO = xno; then
31136    USE_OSX_VIDEO=no
31137  else
31138    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: osxvideosink" >&5
31139$as_echo "$as_me: *** These plugins will be built: osxvideosink" >&6;}
31140  fi
31141fi
31142if test x$USE_OSX_VIDEO = xyes; then
31143  :
31144  if test "xosxvideosink" != "x"; then
31145    GST_PLUGINS_YES="\tosxvideosink\n$GST_PLUGINS_YES"
31146  fi
31147
31148$as_echo "#define HAVE_OSX_VIDEO /**/" >>confdefs.h
31149
31150else
31151  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: osxvideosink" >&5
31152$as_echo "$as_me: *** These plugins will not be built: osxvideosink" >&6;}
31153  if test "xosxvideosink" != "x"; then
31154    GST_PLUGINS_NO="\tosxvideosink\n$GST_PLUGINS_NO"
31155  fi
31156  :
31157fi
31158 if test x$USE_OSX_VIDEO = xyes; then
31159  USE_OSX_VIDEO_TRUE=
31160  USE_OSX_VIDEO_FALSE='#'
31161else
31162  USE_OSX_VIDEO_TRUE='#'
31163  USE_OSX_VIDEO_FALSE=
31164fi
31165
31166
31167
31168HAVE_GST_V4L2=no
31169echo
31170{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Video 4 Linux 2 ***" >&5
31171$as_echo "$as_me: *** checking feature: Video 4 Linux 2 ***" >&6;}
31172if test "xvideo4linux2" != "x"
31173then
31174  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: video4linux2 ***" >&5
31175$as_echo "$as_me: *** for plug-ins: video4linux2 ***" >&6;}
31176fi
31177NOUSE=
31178if test "x$USE_GST_V4L2" = "xno"; then
31179  NOUSE="yes"
31180fi
31181# Check whether --enable-gst_v4l2 was given.
31182if test "${enable_gst_v4l2+set}" = set; then :
31183  enableval=$enable_gst_v4l2;  case "${enableval}" in
31184      yes) USE_GST_V4L2=yes;;
31185      no) USE_GST_V4L2=no;;
31186      *) as_fn_error $? "bad value ${enableval} for --enable-gst_v4l2" "$LINENO" 5 ;;
31187    esac
31188else
31189   USE_GST_V4L2=yes
31190fi
31191
31192if test "x$NOUSE" = "xyes"; then
31193  USE_GST_V4L2="no"
31194  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** video4linux2 pre-configured not to be built" >&5
31195$as_echo "$as_me: WARNING: *** video4linux2 pre-configured not to be built" >&2;}
31196fi
31197NOUSE=
31198
31199if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " GST_V4L2 " > /dev/null; then
31200  USE_GST_V4L2="no"
31201  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** video4linux2 not ported" >&5
31202$as_echo "$as_me: WARNING: *** video4linux2 not ported" >&2;}
31203fi
31204
31205
31206if test x$USE_GST_V4L2 = xyes; then
31207
31208  gst_check_save_LIBS=$LIBS
31209  gst_check_save_LDFLAGS=$LDFLAGS
31210  gst_check_save_CFLAGS=$CFLAGS
31211  gst_check_save_CPPFLAGS=$CPPFLAGS
31212  gst_check_save_CXXFLAGS=$CXXFLAGS
31213
31214  HAVE_GST_V4L2=no
31215
31216  { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for video4linux2 header ..." >&5
31217$as_echo_n "checking Checking for video4linux2 header ...... " >&6; }
31218  ac_fn_c_check_header_mongrel "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "$ac_includes_default"
31219if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
31220   HAVE_GST_V4L2=yes
31221else
31222
31223    ac_fn_c_check_header_mongrel "$LINENO" "sys/videodev2.h" "ac_cv_header_sys_videodev2_h" "$ac_includes_default"
31224if test "x$ac_cv_header_sys_videodev2_h" = xyes; then :
31225   HAVE_GST_V4L2=yes
31226else
31227
31228      ac_fn_c_check_header_mongrel "$LINENO" "sys/videoio.h" "ac_cv_header_sys_videoio_h" "$ac_includes_default"
31229if test "x$ac_cv_header_sys_videoio_h" = xyes; then :
31230   HAVE_GST_V4L2=yes
31231fi
31232
31233
31234
31235fi
31236
31237
31238
31239fi
31240
31241
31242  if test "x$HAVE_VIDEODEV" = "xno"; then
31243     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: video4linux2 was not found" >&5
31244$as_echo "$as_me: WARNING: video4linux2 was not found" >&2;}
31245  fi
31246
31247
31248  LIBS=$gst_check_save_LIBS
31249  LDFLAGS=$gst_check_save_LDFLAGS
31250  CFLAGS=$gst_check_save_CFLAGS
31251  CPPFLAGS=$gst_check_save_CPPFLAGS
31252  CXXFLAGS=$gst_check_save_CXXFLAGS
31253
31254    if test x$HAVE_GST_V4L2 = xno; then
31255    USE_GST_V4L2=no
31256  else
31257    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: video4linux2" >&5
31258$as_echo "$as_me: *** These plugins will be built: video4linux2" >&6;}
31259  fi
31260fi
31261if test x$USE_GST_V4L2 = xyes; then
31262  :
31263  if test "xvideo4linux2" != "x"; then
31264    GST_PLUGINS_YES="\tvideo4linux2\n$GST_PLUGINS_YES"
31265  fi
31266
31267$as_echo "#define HAVE_GST_V4L2 /**/" >>confdefs.h
31268
31269else
31270  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: video4linux2" >&5
31271$as_echo "$as_me: *** These plugins will not be built: video4linux2" >&6;}
31272  if test "xvideo4linux2" != "x"; then
31273    GST_PLUGINS_NO="\tvideo4linux2\n$GST_PLUGINS_NO"
31274  fi
31275  :
31276fi
31277 if test x$USE_GST_V4L2 = xyes; then
31278  USE_GST_V4L2_TRUE=
31279  USE_GST_V4L2_FALSE='#'
31280else
31281  USE_GST_V4L2_TRUE='#'
31282  USE_GST_V4L2_FALSE=
31283fi
31284
31285
31286
31287# Optional gudev for device probing
31288
31289# Check whether --with-gudev was given.
31290if test "${with_gudev+set}" = set; then :
31291  withval=$with_gudev;
31292else
31293  with_gudev=check
31294fi
31295
31296if test x$HAVE_GST_V4L2 = xyes; then
31297  if test x$with_gudev != xno; then
31298
31299pkg_failed=no
31300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUDEV" >&5
31301$as_echo_n "checking for GUDEV... " >&6; }
31302
31303if test -n "$PKG_CONFIG"; then
31304    if test -n "$GUDEV_CFLAGS"; then
31305        pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS"
31306    else
31307        if test -n "$PKG_CONFIG" && \
31308    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 147 \""; } >&5
31309  ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 147 ") 2>&5
31310  ac_status=$?
31311  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31312  test $ac_status = 0; }; then
31313  pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags " gudev-1.0 >= 147 " 2>/dev/null`
31314else
31315  pkg_failed=yes
31316fi
31317    fi
31318else
31319	pkg_failed=untried
31320fi
31321if test -n "$PKG_CONFIG"; then
31322    if test -n "$GUDEV_LIBS"; then
31323        pkg_cv_GUDEV_LIBS="$GUDEV_LIBS"
31324    else
31325        if test -n "$PKG_CONFIG" && \
31326    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 147 \""; } >&5
31327  ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 147 ") 2>&5
31328  ac_status=$?
31329  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31330  test $ac_status = 0; }; then
31331  pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs " gudev-1.0 >= 147 " 2>/dev/null`
31332else
31333  pkg_failed=yes
31334fi
31335    fi
31336else
31337	pkg_failed=untried
31338fi
31339
31340
31341
31342if test $pkg_failed = yes; then
31343
31344if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31345        _pkg_short_errors_supported=yes
31346else
31347        _pkg_short_errors_supported=no
31348fi
31349        if test $_pkg_short_errors_supported = yes; then
31350	        GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gudev-1.0 >= 147 "`
31351        else
31352	        GUDEV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gudev-1.0 >= 147 "`
31353        fi
31354	# Put the nasty error message in config.log where it belongs
31355	echo "$GUDEV_PKG_ERRORS" >&5
31356
31357	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31358$as_echo "no" >&6; }
31359                true
31360elif test $pkg_failed = untried; then
31361	true
31362else
31363	GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS
31364	GUDEV_LIBS=$pkg_cv_GUDEV_LIBS
31365        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31366$as_echo "yes" >&6; }
31367
31368$as_echo "#define HAVE_GUDEV 1" >>confdefs.h
31369
31370
31371fi
31372  fi
31373fi
31374
31375
31376
31377
31378# Make libv4l2 non-automagic
31379
31380# Check whether --with-libv4l2 was given.
31381if test "${with_libv4l2+set}" = set; then :
31382  withval=$with_libv4l2;
31383else
31384  with_libv4l2=check
31385fi
31386
31387if test x$HAVE_GST_V4L2 = xyes; then
31388  if test x$with_libv4l2 != xno; then
31389
31390pkg_failed=no
31391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBV4L2" >&5
31392$as_echo_n "checking for LIBV4L2... " >&6; }
31393
31394if test -n "$PKG_CONFIG"; then
31395    if test -n "$LIBV4L2_CFLAGS"; then
31396        pkg_cv_LIBV4L2_CFLAGS="$LIBV4L2_CFLAGS"
31397    else
31398        if test -n "$PKG_CONFIG" && \
31399    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libv4l2\""; } >&5
31400  ($PKG_CONFIG --exists --print-errors "libv4l2") 2>&5
31401  ac_status=$?
31402  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31403  test $ac_status = 0; }; then
31404  pkg_cv_LIBV4L2_CFLAGS=`$PKG_CONFIG --cflags "libv4l2" 2>/dev/null`
31405else
31406  pkg_failed=yes
31407fi
31408    fi
31409else
31410	pkg_failed=untried
31411fi
31412if test -n "$PKG_CONFIG"; then
31413    if test -n "$LIBV4L2_LIBS"; then
31414        pkg_cv_LIBV4L2_LIBS="$LIBV4L2_LIBS"
31415    else
31416        if test -n "$PKG_CONFIG" && \
31417    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libv4l2\""; } >&5
31418  ($PKG_CONFIG --exists --print-errors "libv4l2") 2>&5
31419  ac_status=$?
31420  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31421  test $ac_status = 0; }; then
31422  pkg_cv_LIBV4L2_LIBS=`$PKG_CONFIG --libs "libv4l2" 2>/dev/null`
31423else
31424  pkg_failed=yes
31425fi
31426    fi
31427else
31428	pkg_failed=untried
31429fi
31430
31431
31432
31433if test $pkg_failed = yes; then
31434
31435if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31436        _pkg_short_errors_supported=yes
31437else
31438        _pkg_short_errors_supported=no
31439fi
31440        if test $_pkg_short_errors_supported = yes; then
31441	        LIBV4L2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libv4l2"`
31442        else
31443	        LIBV4L2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libv4l2"`
31444        fi
31445	# Put the nasty error message in config.log where it belongs
31446	echo "$LIBV4L2_PKG_ERRORS" >&5
31447
31448	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31449$as_echo "no" >&6; }
31450
31451          have_libv4l2=no
31452
31453elif test $pkg_failed = untried; then
31454
31455          have_libv4l2=no
31456
31457else
31458	LIBV4L2_CFLAGS=$pkg_cv_LIBV4L2_CFLAGS
31459	LIBV4L2_LIBS=$pkg_cv_LIBV4L2_LIBS
31460        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31461$as_echo "yes" >&6; }
31462	 have_libv4l2=yes
31463
31464$as_echo "#define HAVE_LIBV4L2 1" >>confdefs.h
31465
31466
31467fi
31468  else
31469    have_libv4l2=no
31470  fi
31471fi
31472
31473default_v4l2_probe=no
31474case $host in #(
31475  *-*linux*) :
31476    case $host_cpu in #(
31477  arm*) :
31478
31479          default_v4l2_probe=yes ;; #(
31480  aarch64*) :
31481
31482          default_v4l2_probe=yes ;; #(
31483  *) :
31484     ;;
31485esac ;; #(
31486  *) :
31487     ;;
31488esac
31489# Check whether --enable-v4l2-probe was given.
31490if test "${enable_v4l2_probe+set}" = set; then :
31491  enableval=$enable_v4l2_probe;
31492else
31493  enable_v4l2_probe=$default_v4l2_probe
31494fi
31495
31496if test "x$enable_v4l2_probe" = "xyes"; then
31497
31498$as_echo "#define GST_V4L2_ENABLE_PROBE 1" >>confdefs.h
31499
31500fi
31501
31502echo
31503{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X libraries and plugins ***" >&5
31504$as_echo "$as_me: *** checking feature: X libraries and plugins ***" >&6;}
31505if test "xximagesrc" != "x"
31506then
31507  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ximagesrc ***" >&5
31508$as_echo "$as_me: *** for plug-ins: ximagesrc ***" >&6;}
31509fi
31510NOUSE=
31511if test "x$USE_X" = "xno"; then
31512  NOUSE="yes"
31513fi
31514# Check whether --enable-x was given.
31515if test "${enable_x+set}" = set; then :
31516  enableval=$enable_x;  case "${enableval}" in
31517      yes) USE_X=yes;;
31518      no) USE_X=no;;
31519      *) as_fn_error $? "bad value ${enableval} for --enable-x" "$LINENO" 5 ;;
31520    esac
31521else
31522   USE_X=yes
31523fi
31524
31525if test "x$NOUSE" = "xyes"; then
31526  USE_X="no"
31527  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ximagesrc pre-configured not to be built" >&5
31528$as_echo "$as_me: WARNING: *** ximagesrc pre-configured not to be built" >&2;}
31529fi
31530NOUSE=
31531
31532if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " X " > /dev/null; then
31533  USE_X="no"
31534  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ximagesrc not ported" >&5
31535$as_echo "$as_me: WARNING: *** ximagesrc not ported" >&2;}
31536fi
31537
31538
31539if test x$USE_X = xyes; then
31540
31541  gst_check_save_LIBS=$LIBS
31542  gst_check_save_LDFLAGS=$LDFLAGS
31543  gst_check_save_CFLAGS=$CFLAGS
31544  gst_check_save_CPPFLAGS=$CPPFLAGS
31545  gst_check_save_CXXFLAGS=$CXXFLAGS
31546
31547  HAVE_X=no
31548
31549
31550pkg_failed=no
31551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
31552$as_echo_n "checking for X... " >&6; }
31553
31554if test -n "$PKG_CONFIG"; then
31555    if test -n "$X_CFLAGS"; then
31556        pkg_cv_X_CFLAGS="$X_CFLAGS"
31557    else
31558        if test -n "$PKG_CONFIG" && \
31559    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
31560  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
31561  ac_status=$?
31562  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31563  test $ac_status = 0; }; then
31564  pkg_cv_X_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
31565else
31566  pkg_failed=yes
31567fi
31568    fi
31569else
31570	pkg_failed=untried
31571fi
31572if test -n "$PKG_CONFIG"; then
31573    if test -n "$X_LIBS"; then
31574        pkg_cv_X_LIBS="$X_LIBS"
31575    else
31576        if test -n "$PKG_CONFIG" && \
31577    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
31578  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
31579  ac_status=$?
31580  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31581  test $ac_status = 0; }; then
31582  pkg_cv_X_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
31583else
31584  pkg_failed=yes
31585fi
31586    fi
31587else
31588	pkg_failed=untried
31589fi
31590
31591
31592
31593if test $pkg_failed = yes; then
31594
31595if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31596        _pkg_short_errors_supported=yes
31597else
31598        _pkg_short_errors_supported=no
31599fi
31600        if test $_pkg_short_errors_supported = yes; then
31601	        X_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11"`
31602        else
31603	        X_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
31604        fi
31605	# Put the nasty error message in config.log where it belongs
31606	echo "$X_PKG_ERRORS" >&5
31607
31608	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31609$as_echo "no" >&6; }
31610                 HAVE_X="no"
31611elif test $pkg_failed = untried; then
31612	 HAVE_X="no"
31613else
31614	X_CFLAGS=$pkg_cv_X_CFLAGS
31615	X_LIBS=$pkg_cv_X_LIBS
31616        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31617$as_echo "yes" >&6; }
31618
31619    HAVE_X="yes"
31620
31621pkg_failed=no
31622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFIXES" >&5
31623$as_echo_n "checking for XFIXES... " >&6; }
31624
31625if test -n "$PKG_CONFIG"; then
31626    if test -n "$XFIXES_CFLAGS"; then
31627        pkg_cv_XFIXES_CFLAGS="$XFIXES_CFLAGS"
31628    else
31629        if test -n "$PKG_CONFIG" && \
31630    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" xfixes \""; } >&5
31631  ($PKG_CONFIG --exists --print-errors " xfixes ") 2>&5
31632  ac_status=$?
31633  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31634  test $ac_status = 0; }; then
31635  pkg_cv_XFIXES_CFLAGS=`$PKG_CONFIG --cflags " xfixes " 2>/dev/null`
31636else
31637  pkg_failed=yes
31638fi
31639    fi
31640else
31641	pkg_failed=untried
31642fi
31643if test -n "$PKG_CONFIG"; then
31644    if test -n "$XFIXES_LIBS"; then
31645        pkg_cv_XFIXES_LIBS="$XFIXES_LIBS"
31646    else
31647        if test -n "$PKG_CONFIG" && \
31648    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" xfixes \""; } >&5
31649  ($PKG_CONFIG --exists --print-errors " xfixes ") 2>&5
31650  ac_status=$?
31651  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31652  test $ac_status = 0; }; then
31653  pkg_cv_XFIXES_LIBS=`$PKG_CONFIG --libs " xfixes " 2>/dev/null`
31654else
31655  pkg_failed=yes
31656fi
31657    fi
31658else
31659	pkg_failed=untried
31660fi
31661
31662
31663
31664if test $pkg_failed = yes; then
31665
31666if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31667        _pkg_short_errors_supported=yes
31668else
31669        _pkg_short_errors_supported=no
31670fi
31671        if test $_pkg_short_errors_supported = yes; then
31672	        XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " xfixes "`
31673        else
31674	        XFIXES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " xfixes "`
31675        fi
31676	# Put the nasty error message in config.log where it belongs
31677	echo "$XFIXES_PKG_ERRORS" >&5
31678
31679	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31680$as_echo "no" >&6; }
31681                 HAVE_XFIXES="no"
31682elif test $pkg_failed = untried; then
31683	 HAVE_XFIXES="no"
31684else
31685	XFIXES_CFLAGS=$pkg_cv_XFIXES_CFLAGS
31686	XFIXES_LIBS=$pkg_cv_XFIXES_LIBS
31687        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31688$as_echo "yes" >&6; }
31689
31690
31691$as_echo "#define HAVE_XFIXES 1" >>confdefs.h
31692
31693
31694fi
31695
31696
31697pkg_failed=no
31698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDAMAGE" >&5
31699$as_echo_n "checking for XDAMAGE... " >&6; }
31700
31701if test -n "$PKG_CONFIG"; then
31702    if test -n "$XDAMAGE_CFLAGS"; then
31703        pkg_cv_XDAMAGE_CFLAGS="$XDAMAGE_CFLAGS"
31704    else
31705        if test -n "$PKG_CONFIG" && \
31706    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" xdamage \""; } >&5
31707  ($PKG_CONFIG --exists --print-errors " xdamage ") 2>&5
31708  ac_status=$?
31709  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31710  test $ac_status = 0; }; then
31711  pkg_cv_XDAMAGE_CFLAGS=`$PKG_CONFIG --cflags " xdamage " 2>/dev/null`
31712else
31713  pkg_failed=yes
31714fi
31715    fi
31716else
31717	pkg_failed=untried
31718fi
31719if test -n "$PKG_CONFIG"; then
31720    if test -n "$XDAMAGE_LIBS"; then
31721        pkg_cv_XDAMAGE_LIBS="$XDAMAGE_LIBS"
31722    else
31723        if test -n "$PKG_CONFIG" && \
31724    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" xdamage \""; } >&5
31725  ($PKG_CONFIG --exists --print-errors " xdamage ") 2>&5
31726  ac_status=$?
31727  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31728  test $ac_status = 0; }; then
31729  pkg_cv_XDAMAGE_LIBS=`$PKG_CONFIG --libs " xdamage " 2>/dev/null`
31730else
31731  pkg_failed=yes
31732fi
31733    fi
31734else
31735	pkg_failed=untried
31736fi
31737
31738
31739
31740if test $pkg_failed = yes; then
31741
31742if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31743        _pkg_short_errors_supported=yes
31744else
31745        _pkg_short_errors_supported=no
31746fi
31747        if test $_pkg_short_errors_supported = yes; then
31748	        XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " xdamage "`
31749        else
31750	        XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " xdamage "`
31751        fi
31752	# Put the nasty error message in config.log where it belongs
31753	echo "$XDAMAGE_PKG_ERRORS" >&5
31754
31755	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31756$as_echo "no" >&6; }
31757                 HAVE_XDAMAGE="no"
31758elif test $pkg_failed = untried; then
31759	 HAVE_XDAMAGE="no"
31760else
31761	XDAMAGE_CFLAGS=$pkg_cv_XDAMAGE_CFLAGS
31762	XDAMAGE_LIBS=$pkg_cv_XDAMAGE_LIBS
31763        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31764$as_echo "yes" >&6; }
31765
31766
31767$as_echo "#define HAVE_XDAMAGE 1" >>confdefs.h
31768
31769
31770fi
31771
31772
31773pkg_failed=no
31774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
31775$as_echo_n "checking for XEXT... " >&6; }
31776
31777if test -n "$PKG_CONFIG"; then
31778    if test -n "$XEXT_CFLAGS"; then
31779        pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
31780    else
31781        if test -n "$PKG_CONFIG" && \
31782    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" xext \""; } >&5
31783  ($PKG_CONFIG --exists --print-errors " xext ") 2>&5
31784  ac_status=$?
31785  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31786  test $ac_status = 0; }; then
31787  pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags " xext " 2>/dev/null`
31788else
31789  pkg_failed=yes
31790fi
31791    fi
31792else
31793	pkg_failed=untried
31794fi
31795if test -n "$PKG_CONFIG"; then
31796    if test -n "$XEXT_LIBS"; then
31797        pkg_cv_XEXT_LIBS="$XEXT_LIBS"
31798    else
31799        if test -n "$PKG_CONFIG" && \
31800    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" xext \""; } >&5
31801  ($PKG_CONFIG --exists --print-errors " xext ") 2>&5
31802  ac_status=$?
31803  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31804  test $ac_status = 0; }; then
31805  pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs " xext " 2>/dev/null`
31806else
31807  pkg_failed=yes
31808fi
31809    fi
31810else
31811	pkg_failed=untried
31812fi
31813
31814
31815
31816if test $pkg_failed = yes; then
31817
31818if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31819        _pkg_short_errors_supported=yes
31820else
31821        _pkg_short_errors_supported=no
31822fi
31823        if test $_pkg_short_errors_supported = yes; then
31824	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " xext "`
31825        else
31826	        XEXT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " xext "`
31827        fi
31828	# Put the nasty error message in config.log where it belongs
31829	echo "$XEXT_PKG_ERRORS" >&5
31830
31831	as_fn_error $? "Package requirements ( xext ) were not met:
31832
31833$XEXT_PKG_ERRORS
31834
31835Consider adjusting the PKG_CONFIG_PATH environment variable if you
31836installed software in a non-standard prefix.
31837
31838Alternatively, you may set the environment variables XEXT_CFLAGS
31839and XEXT_LIBS to avoid the need to call pkg-config.
31840See the pkg-config man page for more details.
31841" "$LINENO" 5
31842elif test $pkg_failed = untried; then
31843	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31844$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
31845as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
31846is in your PATH or set the PKG_CONFIG environment variable to the full
31847path to pkg-config.
31848
31849Alternatively, you may set the environment variables XEXT_CFLAGS
31850and XEXT_LIBS to avoid the need to call pkg-config.
31851See the pkg-config man page for more details.
31852
31853To get pkg-config, see <http://pkg-config.freedesktop.org/>.
31854See \`config.log' for more details" "$LINENO" 5; }
31855else
31856	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
31857	XEXT_LIBS=$pkg_cv_XEXT_LIBS
31858        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31859$as_echo "yes" >&6; }
31860
31861      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for  XShmAttach  in -lXext" >&5
31862$as_echo_n "checking for  XShmAttach  in -lXext... " >&6; }
31863if ${ac_cv_lib_Xext__XShmAttach_+:} false; then :
31864  $as_echo_n "(cached) " >&6
31865else
31866  ac_check_lib_save_LIBS=$LIBS
31867LIBS="-lXext  $X_LIBS  $LIBS"
31868cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31869/* end confdefs.h.  */
31870
31871/* Override any GCC internal prototype to avoid an error.
31872   Use char because int might match the return type of a GCC
31873   builtin and then its argument prototype would still apply.  */
31874#ifdef __cplusplus
31875extern "C"
31876#endif
31877char  XShmAttach  ();
31878int
31879main ()
31880{
31881return  XShmAttach  ();
31882  ;
31883  return 0;
31884}
31885_ACEOF
31886if ac_fn_c_try_link "$LINENO"; then :
31887  ac_cv_lib_Xext__XShmAttach_=yes
31888else
31889  ac_cv_lib_Xext__XShmAttach_=no
31890fi
31891rm -f core conftest.err conftest.$ac_objext \
31892    conftest$ac_exeext conftest.$ac_ext
31893LIBS=$ac_check_lib_save_LIBS
31894fi
31895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext__XShmAttach_" >&5
31896$as_echo "$ac_cv_lib_Xext__XShmAttach_" >&6; }
31897if test "x$ac_cv_lib_Xext__XShmAttach_" = xyes; then :
31898
31899
31900$as_echo "#define HAVE_XSHM 1" >>confdefs.h
31901
31902        XSHM_LIBS="$XEXT_LIBS"
31903        XSHM_CFLAGS="$XEXT_CFLAGS"
31904
31905else
31906   HAVE_XEXT="no"
31907fi
31908
31909
31910fi
31911
31912
31913
31914fi
31915
31916
31917  LIBS=$gst_check_save_LIBS
31918  LDFLAGS=$gst_check_save_LDFLAGS
31919  CFLAGS=$gst_check_save_CFLAGS
31920  CPPFLAGS=$gst_check_save_CPPFLAGS
31921  CXXFLAGS=$gst_check_save_CXXFLAGS
31922
31923    if test x$HAVE_X = xno; then
31924    USE_X=no
31925  else
31926    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ximagesrc" >&5
31927$as_echo "$as_me: *** These plugins will be built: ximagesrc" >&6;}
31928  fi
31929fi
31930if test x$USE_X = xyes; then
31931  :
31932  if test "xximagesrc" != "x"; then
31933    GST_PLUGINS_YES="\tximagesrc\n$GST_PLUGINS_YES"
31934  fi
31935
31936$as_echo "#define HAVE_X /**/" >>confdefs.h
31937
31938else
31939  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ximagesrc" >&5
31940$as_echo "$as_me: *** These plugins will not be built: ximagesrc" >&6;}
31941  if test "xximagesrc" != "x"; then
31942    GST_PLUGINS_NO="\tximagesrc\n$GST_PLUGINS_NO"
31943  fi
31944  :
31945fi
31946 if test x$USE_X = xyes; then
31947  USE_X_TRUE=
31948  USE_X_FALSE='#'
31949else
31950  USE_X_TRUE='#'
31951  USE_X_FALSE=
31952fi
31953
31954
31955
31956
31957if test "x$BUILD_EXTERNAL" = "xyes"; then
31958
31959echo
31960{ $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in ext/" >&5
31961$as_echo "$as_me: Checking libraries for plugins in ext/" >&6;}
31962echo
31963
31964echo
31965{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: aalib ASCII Art library ***" >&5
31966$as_echo "$as_me: *** checking feature: aalib ASCII Art library ***" >&6;}
31967if test "xaasink" != "x"
31968then
31969  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: aasink ***" >&5
31970$as_echo "$as_me: *** for plug-ins: aasink ***" >&6;}
31971fi
31972NOUSE=
31973if test "x$USE_AALIB" = "xno"; then
31974  NOUSE="yes"
31975fi
31976# Check whether --enable-aalib was given.
31977if test "${enable_aalib+set}" = set; then :
31978  enableval=$enable_aalib;  case "${enableval}" in
31979      yes) USE_AALIB=yes;;
31980      no) USE_AALIB=no;;
31981      *) as_fn_error $? "bad value ${enableval} for --enable-aalib" "$LINENO" 5 ;;
31982    esac
31983else
31984   USE_AALIB=yes
31985fi
31986
31987if test "x$NOUSE" = "xyes"; then
31988  USE_AALIB="no"
31989  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** aasink pre-configured not to be built" >&5
31990$as_echo "$as_me: WARNING: *** aasink pre-configured not to be built" >&2;}
31991fi
31992NOUSE=
31993
31994if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " AALIB " > /dev/null; then
31995  USE_AALIB="no"
31996  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** aasink not ported" >&5
31997$as_echo "$as_me: WARNING: *** aasink not ported" >&2;}
31998fi
31999
32000
32001if test x$USE_AALIB = xyes; then
32002
32003  gst_check_save_LIBS=$LIBS
32004  gst_check_save_LDFLAGS=$LDFLAGS
32005  gst_check_save_CFLAGS=$CFLAGS
32006  gst_check_save_CPPFLAGS=$CPPFLAGS
32007  gst_check_save_CXXFLAGS=$CXXFLAGS
32008
32009  HAVE_AALIB=no
32010
32011
32012# Check whether --with-aalib-prefix was given.
32013if test "${with_aalib_prefix+set}" = set; then :
32014  withval=$with_aalib_prefix; aalib_prefix="$withval"
32015else
32016  aalib_prefix=""
32017fi
32018
32019
32020
32021# Check whether --with-aalib-exec-prefix was given.
32022if test "${with_aalib_exec_prefix+set}" = set; then :
32023  withval=$with_aalib_exec_prefix; aalib_exec_prefix="$withval"
32024else
32025  aalib_exec_prefix=""
32026fi
32027
32028
32029# Check whether --enable-aalibtest was given.
32030if test "${enable_aalibtest+set}" = set; then :
32031  enableval=$enable_aalibtest;
32032else
32033  enable_aalibtest=yes
32034fi
32035
32036
32037  if test x$aalib_exec_prefix != x ; then
32038     aalib_args="$aalib_args --exec-prefix=$aalib_exec_prefix"
32039     if test x${AALIB_CONFIG+set} != xset ; then
32040        AALIB_CONFIG=$aalib_exec_prefix/bin/aalib-config
32041     fi
32042  fi
32043  if test x$aalib_prefix != x ; then
32044     aalib_args="$aalib_args --prefix=$aalib_prefix"
32045     if test x${AALIB_CONFIG+set} != xset ; then
32046        AALIB_CONFIG=$aalib_prefix/bin/aalib-config
32047     fi
32048  fi
32049
32050  # Extract the first word of "aalib-config", so it can be a program name with args.
32051set dummy aalib-config; ac_word=$2
32052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32053$as_echo_n "checking for $ac_word... " >&6; }
32054if ${ac_cv_path_AALIB_CONFIG+:} false; then :
32055  $as_echo_n "(cached) " >&6
32056else
32057  case $AALIB_CONFIG in
32058  [\\/]* | ?:[\\/]*)
32059  ac_cv_path_AALIB_CONFIG="$AALIB_CONFIG" # Let the user override the test with a path.
32060  ;;
32061  *)
32062  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32063for as_dir in $PATH
32064do
32065  IFS=$as_save_IFS
32066  test -z "$as_dir" && as_dir=.
32067    for ac_exec_ext in '' $ac_executable_extensions; do
32068  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32069    ac_cv_path_AALIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32070    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32071    break 2
32072  fi
32073done
32074  done
32075IFS=$as_save_IFS
32076
32077  test -z "$ac_cv_path_AALIB_CONFIG" && ac_cv_path_AALIB_CONFIG="no"
32078  ;;
32079esac
32080fi
32081AALIB_CONFIG=$ac_cv_path_AALIB_CONFIG
32082if test -n "$AALIB_CONFIG"; then
32083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AALIB_CONFIG" >&5
32084$as_echo "$AALIB_CONFIG" >&6; }
32085else
32086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32087$as_echo "no" >&6; }
32088fi
32089
32090
32091  min_aalib_version=0.11.0
32092  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AALIB - version >= $min_aalib_version" >&5
32093$as_echo_n "checking for AALIB - version >= $min_aalib_version... " >&6; }
32094  no_aalib=""
32095  if test "$AALIB_CONFIG" = "no" ; then
32096    no_aalib=yes
32097  else
32098    AALIB_CFLAGS=`$AALIB_CONFIG $aalibconf_args --cflags`
32099    AALIB_LIBS=`$AALIB_CONFIG $aalibconf_args --libs`
32100
32101    aalib_major_version=`$AALIB_CONFIG $aalib_args --version | \
32102           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
32103    aalib_minor_version=`$AALIB_CONFIG $aalib_args --version | \
32104           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
32105    aalib_micro_version=`$AALIB_CONFIG $aalib_config_args --version | \
32106           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
32107    if test "x$enable_aalibtest" = "xyes" ; then
32108      ac_save_CFLAGS="$CFLAGS"
32109      ac_save_LIBS="$LIBS"
32110      CFLAGS="$CFLAGS $AALIB_CFLAGS"
32111      LIBS="$LIBS $AALIB_LIBS"
32112      rm -f conf.aalibtest
32113      if test "$cross_compiling" = yes; then :
32114  echo $ac_n "cross compiling; assumed OK... $ac_c"
32115else
32116  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32117/* end confdefs.h.  */
32118
32119#include <stdio.h>
32120#include <stdlib.h>
32121#include <string.h>
32122#include "aalib.h"
32123
32124char*
32125my_strdup (char *str)
32126{
32127  char *new_str;
32128
32129  if (str)
32130    {
32131      new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
32132      strcpy (new_str, str);
32133    }
32134  else
32135    new_str = NULL;
32136
32137  return new_str;
32138}
32139
32140int main (int argc, char *argv[])
32141{
32142  int major, minor, micro;
32143  char *tmp_version;
32144
32145  /* This hangs on some systems (?)
32146  system ("touch conf.aalibtest");
32147  */
32148  { FILE *fp = fopen("conf.aalibtest", "a"); if ( fp ) fclose(fp); }
32149
32150  /* HP/UX 9 (%@#!) writes to sscanf strings */
32151  tmp_version = my_strdup("$min_aalib_version");
32152  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
32153     printf("%s, bad version string\n", "$min_aalib_version");
32154     exit(1);
32155   }
32156
32157   if (($aalib_major_version > major) ||
32158      (($aalib_major_version == major) && ($aalib_minor_version > minor)) ||
32159      (($aalib_major_version == major) && ($aalib_minor_version == minor) && ($aalib_micro_version >= micro)))
32160    {
32161      return 0;
32162    }
32163  else
32164    {
32165      printf("\n*** 'aalib-config --version' returned %d.%d.%d, but the minimum version\n", $aalib_major_version, $aalib_minor_version, $aalib_micro_version);
32166      printf("*** of AALIB required is %d.%d.%d. If aalib-config is correct, then it is\n", major, minor, micro);
32167      printf("*** best to upgrade to the required version.\n");
32168      printf("*** If aalib-config was wrong, set the environment variable AALIB_CONFIG\n");
32169      printf("*** to point to the correct copy of aalib-config, and remove the file\n");
32170      printf("*** config.cache before re-running configure\n");
32171      return 1;
32172    }
32173}
32174
32175
32176_ACEOF
32177if ac_fn_c_try_run "$LINENO"; then :
32178
32179else
32180  no_aalib=yes
32181fi
32182rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
32183  conftest.$ac_objext conftest.beam conftest.$ac_ext
32184fi
32185
32186       CFLAGS="$ac_save_CFLAGS"
32187       LIBS="$ac_save_LIBS"
32188     fi
32189  fi
32190  if test "x$no_aalib" = x ; then
32191     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32192$as_echo "yes" >&6; }
32193     HAVE_AALIB=yes
32194  else
32195     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32196$as_echo "no" >&6; }
32197     if test "$AALIB_CONFIG" = "no" ; then
32198       echo "*** The aalib-config script installed by AALIB could not be found"
32199       echo "*** If AALIB was installed in PREFIX, make sure PREFIX/bin is in"
32200       echo "*** your path, or set the AALIB_CONFIG environment variable to the"
32201       echo "*** full path to aalib-config."
32202     else
32203       if test -f conf.aalibtest ; then
32204        :
32205       else
32206          echo "*** Could not run AALIB test program, checking why..."
32207          CFLAGS="$CFLAGS $AALIB_CFLAGS"
32208          LIBS="$LIBS $AALIB_LIBS"
32209          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32210/* end confdefs.h.  */
32211
32212#include <stdio.h>
32213#include "AALIB.h"
32214
32215int
32216main ()
32217{
32218 return 0;
32219  ;
32220  return 0;
32221}
32222_ACEOF
32223if ac_fn_c_try_link "$LINENO"; then :
32224   echo "*** The test program compiled, but did not run. This usually means"
32225          echo "*** that the run-time linker is not finding AALIB or finding the wrong"
32226          echo "*** version of AALIB. If it is not finding AALIB, you'll need to set your"
32227          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32228          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
32229          echo "*** is required on your system"
32230	  echo "***"
32231          echo "*** If you have an old version installed, it is best to remove it, although"
32232          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32233else
32234   echo "*** The test program failed to compile or link. See the file config.log for the"
32235          echo "*** exact error that occured. This usually means AALIB was incorrectly installed"
32236          echo "*** or that you have moved AALIB since it was installed. In the latter case, you"
32237          echo "*** may want to edit the aalib-config script: $AALIB_CONFIG"
32238fi
32239rm -f core conftest.err conftest.$ac_objext \
32240    conftest$ac_exeext conftest.$ac_ext
32241          CFLAGS="$ac_save_CFLAGS"
32242          LIBS="$ac_save_LIBS"
32243       fi
32244     fi
32245     AALIB_CFLAGS=""
32246     AALIB_LIBS=""
32247     HAVE_AALIB=no
32248  fi
32249
32250
32251  rm -f conf.aalibtest
32252
32253
32254
32255  LIBS=$gst_check_save_LIBS
32256  LDFLAGS=$gst_check_save_LDFLAGS
32257  CFLAGS=$gst_check_save_CFLAGS
32258  CPPFLAGS=$gst_check_save_CPPFLAGS
32259  CXXFLAGS=$gst_check_save_CXXFLAGS
32260
32261    if test x$HAVE_AALIB = xno; then
32262    USE_AALIB=no
32263  else
32264    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: aasink" >&5
32265$as_echo "$as_me: *** These plugins will be built: aasink" >&6;}
32266  fi
32267fi
32268if test x$USE_AALIB = xyes; then
32269  :
32270  if test "xaasink" != "x"; then
32271    GST_PLUGINS_YES="\taasink\n$GST_PLUGINS_YES"
32272  fi
32273
32274$as_echo "#define HAVE_AALIB /**/" >>confdefs.h
32275
32276else
32277  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: aasink" >&5
32278$as_echo "$as_me: *** These plugins will not be built: aasink" >&6;}
32279  if test "xaasink" != "x"; then
32280    GST_PLUGINS_NO="\taasink\n$GST_PLUGINS_NO"
32281  fi
32282  :
32283fi
32284 if test x$USE_AALIB = xyes; then
32285  USE_AALIB_TRUE=
32286  USE_AALIB_FALSE='#'
32287else
32288  USE_AALIB_TRUE='#'
32289  USE_AALIB_FALSE=
32290fi
32291
32292
32293
32294echo
32295{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Cairo graphics rendering and gobject bindings ***" >&5
32296$as_echo "$as_me: *** checking feature: Cairo graphics rendering and gobject bindings ***" >&6;}
32297if test "xcairo" != "x"
32298then
32299  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cairo ***" >&5
32300$as_echo "$as_me: *** for plug-ins: cairo ***" >&6;}
32301fi
32302NOUSE=
32303if test "x$USE_CAIRO" = "xno"; then
32304  NOUSE="yes"
32305fi
32306# Check whether --enable-cairo was given.
32307if test "${enable_cairo+set}" = set; then :
32308  enableval=$enable_cairo;  case "${enableval}" in
32309      yes) USE_CAIRO=yes;;
32310      no) USE_CAIRO=no;;
32311      *) as_fn_error $? "bad value ${enableval} for --enable-cairo" "$LINENO" 5 ;;
32312    esac
32313else
32314   USE_CAIRO=yes
32315fi
32316
32317if test "x$NOUSE" = "xyes"; then
32318  USE_CAIRO="no"
32319  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cairo pre-configured not to be built" >&5
32320$as_echo "$as_me: WARNING: *** cairo pre-configured not to be built" >&2;}
32321fi
32322NOUSE=
32323
32324if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " CAIRO " > /dev/null; then
32325  USE_CAIRO="no"
32326  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cairo not ported" >&5
32327$as_echo "$as_me: WARNING: *** cairo not ported" >&2;}
32328fi
32329
32330
32331if test x$USE_CAIRO = xyes; then
32332
32333  gst_check_save_LIBS=$LIBS
32334  gst_check_save_LDFLAGS=$LDFLAGS
32335  gst_check_save_CFLAGS=$CFLAGS
32336  gst_check_save_CPPFLAGS=$CPPFLAGS
32337  gst_check_save_CXXFLAGS=$CXXFLAGS
32338
32339  HAVE_CAIRO=no
32340
32341
32342  which="cairo >= 1.10.0 cairo-gobject >= 1.10.0"
32343    required="no"
32344
32345
32346pkg_failed=no
32347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
32348$as_echo_n "checking for CAIRO... " >&6; }
32349
32350if test -n "$PKG_CONFIG"; then
32351    if test -n "$CAIRO_CFLAGS"; then
32352        pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
32353    else
32354        if test -n "$PKG_CONFIG" && \
32355    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32356  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32357  ac_status=$?
32358  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32359  test $ac_status = 0; }; then
32360  pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32361else
32362  pkg_failed=yes
32363fi
32364    fi
32365else
32366	pkg_failed=untried
32367fi
32368if test -n "$PKG_CONFIG"; then
32369    if test -n "$CAIRO_LIBS"; then
32370        pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
32371    else
32372        if test -n "$PKG_CONFIG" && \
32373    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32374  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32375  ac_status=$?
32376  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32377  test $ac_status = 0; }; then
32378  pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32379else
32380  pkg_failed=yes
32381fi
32382    fi
32383else
32384	pkg_failed=untried
32385fi
32386
32387
32388
32389if test $pkg_failed = yes; then
32390
32391if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32392        _pkg_short_errors_supported=yes
32393else
32394        _pkg_short_errors_supported=no
32395fi
32396        if test $_pkg_short_errors_supported = yes; then
32397	        CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32398        else
32399	        CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32400        fi
32401	# Put the nasty error message in config.log where it belongs
32402	echo "$CAIRO_PKG_ERRORS" >&5
32403
32404	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32405$as_echo "no" >&6; }
32406
32407      HAVE_CAIRO="no"
32408      if test "x$required" = "xyes"; then
32409        as_fn_error $? "$CAIRO_PKG_ERRORS" "$LINENO" 5
32410      else
32411        { $as_echo "$as_me:${as_lineno-$LINENO}: $CAIRO_PKG_ERRORS" >&5
32412$as_echo "$as_me: $CAIRO_PKG_ERRORS" >&6;}
32413      fi
32414
32415elif test $pkg_failed = untried; then
32416
32417      HAVE_CAIRO="no"
32418      if test "x$required" = "xyes"; then
32419        as_fn_error $? "$CAIRO_PKG_ERRORS" "$LINENO" 5
32420      else
32421        { $as_echo "$as_me:${as_lineno-$LINENO}: $CAIRO_PKG_ERRORS" >&5
32422$as_echo "$as_me: $CAIRO_PKG_ERRORS" >&6;}
32423      fi
32424
32425else
32426	CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
32427	CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
32428        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32429$as_echo "yes" >&6; }
32430
32431      HAVE_CAIRO="yes"
32432
32433fi
32434
32435
32436
32437
32438  LIBS=$gst_check_save_LIBS
32439  LDFLAGS=$gst_check_save_LDFLAGS
32440  CFLAGS=$gst_check_save_CFLAGS
32441  CPPFLAGS=$gst_check_save_CPPFLAGS
32442  CXXFLAGS=$gst_check_save_CXXFLAGS
32443
32444    if test x$HAVE_CAIRO = xno; then
32445    USE_CAIRO=no
32446  else
32447    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cairo" >&5
32448$as_echo "$as_me: *** These plugins will be built: cairo" >&6;}
32449  fi
32450fi
32451if test x$USE_CAIRO = xyes; then
32452  :
32453  if test "xcairo" != "x"; then
32454    GST_PLUGINS_YES="\tcairo\n$GST_PLUGINS_YES"
32455  fi
32456
32457$as_echo "#define HAVE_CAIRO /**/" >>confdefs.h
32458
32459else
32460  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cairo" >&5
32461$as_echo "$as_me: *** These plugins will not be built: cairo" >&6;}
32462  if test "xcairo" != "x"; then
32463    GST_PLUGINS_NO="\tcairo\n$GST_PLUGINS_NO"
32464  fi
32465  :
32466fi
32467 if test x$USE_CAIRO = xyes; then
32468  USE_CAIRO_TRUE=
32469  USE_CAIRO_FALSE='#'
32470else
32471  USE_CAIRO_TRUE='#'
32472  USE_CAIRO_FALSE=
32473fi
32474
32475
32476
32477echo
32478{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: FLAC lossless audio ***" >&5
32479$as_echo "$as_me: *** checking feature: FLAC lossless audio ***" >&6;}
32480if test "xflac" != "x"
32481then
32482  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: flac ***" >&5
32483$as_echo "$as_me: *** for plug-ins: flac ***" >&6;}
32484fi
32485NOUSE=
32486if test "x$USE_FLAC" = "xno"; then
32487  NOUSE="yes"
32488fi
32489# Check whether --enable-flac was given.
32490if test "${enable_flac+set}" = set; then :
32491  enableval=$enable_flac;  case "${enableval}" in
32492      yes) USE_FLAC=yes;;
32493      no) USE_FLAC=no;;
32494      *) as_fn_error $? "bad value ${enableval} for --enable-flac" "$LINENO" 5 ;;
32495    esac
32496else
32497   USE_FLAC=yes
32498fi
32499
32500if test "x$NOUSE" = "xyes"; then
32501  USE_FLAC="no"
32502  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** flac pre-configured not to be built" >&5
32503$as_echo "$as_me: WARNING: *** flac pre-configured not to be built" >&2;}
32504fi
32505NOUSE=
32506
32507if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " FLAC " > /dev/null; then
32508  USE_FLAC="no"
32509  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** flac not ported" >&5
32510$as_echo "$as_me: WARNING: *** flac not ported" >&2;}
32511fi
32512
32513
32514if test x$USE_FLAC = xyes; then
32515
32516  gst_check_save_LIBS=$LIBS
32517  gst_check_save_LDFLAGS=$LDFLAGS
32518  gst_check_save_CFLAGS=$CFLAGS
32519  gst_check_save_CPPFLAGS=$CPPFLAGS
32520  gst_check_save_CXXFLAGS=$CXXFLAGS
32521
32522  HAVE_FLAC=no
32523
32524
32525  which="flac >= 1.1.4"
32526    required="no"
32527
32528
32529pkg_failed=no
32530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5
32531$as_echo_n "checking for FLAC... " >&6; }
32532
32533if test -n "$PKG_CONFIG"; then
32534    if test -n "$FLAC_CFLAGS"; then
32535        pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS"
32536    else
32537        if test -n "$PKG_CONFIG" && \
32538    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32539  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32540  ac_status=$?
32541  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32542  test $ac_status = 0; }; then
32543  pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32544else
32545  pkg_failed=yes
32546fi
32547    fi
32548else
32549	pkg_failed=untried
32550fi
32551if test -n "$PKG_CONFIG"; then
32552    if test -n "$FLAC_LIBS"; then
32553        pkg_cv_FLAC_LIBS="$FLAC_LIBS"
32554    else
32555        if test -n "$PKG_CONFIG" && \
32556    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32557  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32558  ac_status=$?
32559  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32560  test $ac_status = 0; }; then
32561  pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32562else
32563  pkg_failed=yes
32564fi
32565    fi
32566else
32567	pkg_failed=untried
32568fi
32569
32570
32571
32572if test $pkg_failed = yes; then
32573
32574if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32575        _pkg_short_errors_supported=yes
32576else
32577        _pkg_short_errors_supported=no
32578fi
32579        if test $_pkg_short_errors_supported = yes; then
32580	        FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32581        else
32582	        FLAC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32583        fi
32584	# Put the nasty error message in config.log where it belongs
32585	echo "$FLAC_PKG_ERRORS" >&5
32586
32587	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32588$as_echo "no" >&6; }
32589
32590      HAVE_FLAC="no"
32591      if test "x$required" = "xyes"; then
32592        as_fn_error $? "$FLAC_PKG_ERRORS" "$LINENO" 5
32593      else
32594        { $as_echo "$as_me:${as_lineno-$LINENO}: $FLAC_PKG_ERRORS" >&5
32595$as_echo "$as_me: $FLAC_PKG_ERRORS" >&6;}
32596      fi
32597
32598elif test $pkg_failed = untried; then
32599
32600      HAVE_FLAC="no"
32601      if test "x$required" = "xyes"; then
32602        as_fn_error $? "$FLAC_PKG_ERRORS" "$LINENO" 5
32603      else
32604        { $as_echo "$as_me:${as_lineno-$LINENO}: $FLAC_PKG_ERRORS" >&5
32605$as_echo "$as_me: $FLAC_PKG_ERRORS" >&6;}
32606      fi
32607
32608else
32609	FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS
32610	FLAC_LIBS=$pkg_cv_FLAC_LIBS
32611        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32612$as_echo "yes" >&6; }
32613
32614      HAVE_FLAC="yes"
32615
32616fi
32617
32618
32619
32620
32621  LIBS=$gst_check_save_LIBS
32622  LDFLAGS=$gst_check_save_LDFLAGS
32623  CFLAGS=$gst_check_save_CFLAGS
32624  CPPFLAGS=$gst_check_save_CPPFLAGS
32625  CXXFLAGS=$gst_check_save_CXXFLAGS
32626
32627    if test x$HAVE_FLAC = xno; then
32628    USE_FLAC=no
32629  else
32630    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: flac" >&5
32631$as_echo "$as_me: *** These plugins will be built: flac" >&6;}
32632  fi
32633fi
32634if test x$USE_FLAC = xyes; then
32635  :
32636  if test "xflac" != "x"; then
32637    GST_PLUGINS_YES="\tflac\n$GST_PLUGINS_YES"
32638  fi
32639
32640$as_echo "#define HAVE_FLAC /**/" >>confdefs.h
32641
32642else
32643  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: flac" >&5
32644$as_echo "$as_me: *** These plugins will not be built: flac" >&6;}
32645  if test "xflac" != "x"; then
32646    GST_PLUGINS_NO="\tflac\n$GST_PLUGINS_NO"
32647  fi
32648  :
32649fi
32650 if test x$USE_FLAC = xyes; then
32651  USE_FLAC_TRUE=
32652  USE_FLAC_FALSE='#'
32653else
32654  USE_FLAC_TRUE='#'
32655  USE_FLAC_FALSE=
32656fi
32657
32658
32659
32660echo
32661{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GDK pixbuf ***" >&5
32662$as_echo "$as_me: *** checking feature: GDK pixbuf ***" >&6;}
32663if test "xgdkpixbuf" != "x"
32664then
32665  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gdkpixbuf ***" >&5
32666$as_echo "$as_me: *** for plug-ins: gdkpixbuf ***" >&6;}
32667fi
32668NOUSE=
32669if test "x$USE_GDK_PIXBUF" = "xno"; then
32670  NOUSE="yes"
32671fi
32672# Check whether --enable-gdk_pixbuf was given.
32673if test "${enable_gdk_pixbuf+set}" = set; then :
32674  enableval=$enable_gdk_pixbuf;  case "${enableval}" in
32675      yes) USE_GDK_PIXBUF=yes;;
32676      no) USE_GDK_PIXBUF=no;;
32677      *) as_fn_error $? "bad value ${enableval} for --enable-gdk_pixbuf" "$LINENO" 5 ;;
32678    esac
32679else
32680   USE_GDK_PIXBUF=yes
32681fi
32682
32683if test "x$NOUSE" = "xyes"; then
32684  USE_GDK_PIXBUF="no"
32685  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gdkpixbuf pre-configured not to be built" >&5
32686$as_echo "$as_me: WARNING: *** gdkpixbuf pre-configured not to be built" >&2;}
32687fi
32688NOUSE=
32689
32690if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " GDK_PIXBUF " > /dev/null; then
32691  USE_GDK_PIXBUF="no"
32692  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gdkpixbuf not ported" >&5
32693$as_echo "$as_me: WARNING: *** gdkpixbuf not ported" >&2;}
32694fi
32695
32696
32697if test x$USE_GDK_PIXBUF = xyes; then
32698
32699  gst_check_save_LIBS=$LIBS
32700  gst_check_save_LDFLAGS=$LDFLAGS
32701  gst_check_save_CFLAGS=$CFLAGS
32702  gst_check_save_CPPFLAGS=$CPPFLAGS
32703  gst_check_save_CXXFLAGS=$CXXFLAGS
32704
32705  HAVE_GDK_PIXBUF=no
32706
32707
32708  which="gdk-pixbuf-2.0 >= 2.8.0"
32709    required="no"
32710
32711
32712pkg_failed=no
32713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5
32714$as_echo_n "checking for GDK_PIXBUF... " >&6; }
32715
32716if test -n "$PKG_CONFIG"; then
32717    if test -n "$GDK_PIXBUF_CFLAGS"; then
32718        pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
32719    else
32720        if test -n "$PKG_CONFIG" && \
32721    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32722  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32723  ac_status=$?
32724  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32725  test $ac_status = 0; }; then
32726  pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32727else
32728  pkg_failed=yes
32729fi
32730    fi
32731else
32732	pkg_failed=untried
32733fi
32734if test -n "$PKG_CONFIG"; then
32735    if test -n "$GDK_PIXBUF_LIBS"; then
32736        pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
32737    else
32738        if test -n "$PKG_CONFIG" && \
32739    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32740  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32741  ac_status=$?
32742  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32743  test $ac_status = 0; }; then
32744  pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32745else
32746  pkg_failed=yes
32747fi
32748    fi
32749else
32750	pkg_failed=untried
32751fi
32752
32753
32754
32755if test $pkg_failed = yes; then
32756
32757if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32758        _pkg_short_errors_supported=yes
32759else
32760        _pkg_short_errors_supported=no
32761fi
32762        if test $_pkg_short_errors_supported = yes; then
32763	        GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32764        else
32765	        GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32766        fi
32767	# Put the nasty error message in config.log where it belongs
32768	echo "$GDK_PIXBUF_PKG_ERRORS" >&5
32769
32770	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32771$as_echo "no" >&6; }
32772
32773      HAVE_GDK_PIXBUF="no"
32774      if test "x$required" = "xyes"; then
32775        as_fn_error $? "$GDK_PIXBUF_PKG_ERRORS" "$LINENO" 5
32776      else
32777        { $as_echo "$as_me:${as_lineno-$LINENO}: $GDK_PIXBUF_PKG_ERRORS" >&5
32778$as_echo "$as_me: $GDK_PIXBUF_PKG_ERRORS" >&6;}
32779      fi
32780
32781elif test $pkg_failed = untried; then
32782
32783      HAVE_GDK_PIXBUF="no"
32784      if test "x$required" = "xyes"; then
32785        as_fn_error $? "$GDK_PIXBUF_PKG_ERRORS" "$LINENO" 5
32786      else
32787        { $as_echo "$as_me:${as_lineno-$LINENO}: $GDK_PIXBUF_PKG_ERRORS" >&5
32788$as_echo "$as_me: $GDK_PIXBUF_PKG_ERRORS" >&6;}
32789      fi
32790
32791else
32792	GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
32793	GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
32794        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32795$as_echo "yes" >&6; }
32796
32797      HAVE_GDK_PIXBUF="yes"
32798
32799fi
32800
32801
32802
32803
32804  LIBS=$gst_check_save_LIBS
32805  LDFLAGS=$gst_check_save_LDFLAGS
32806  CFLAGS=$gst_check_save_CFLAGS
32807  CPPFLAGS=$gst_check_save_CPPFLAGS
32808  CXXFLAGS=$gst_check_save_CXXFLAGS
32809
32810    if test x$HAVE_GDK_PIXBUF = xno; then
32811    USE_GDK_PIXBUF=no
32812  else
32813    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gdkpixbuf" >&5
32814$as_echo "$as_me: *** These plugins will be built: gdkpixbuf" >&6;}
32815  fi
32816fi
32817if test x$USE_GDK_PIXBUF = xyes; then
32818  :
32819  if test "xgdkpixbuf" != "x"; then
32820    GST_PLUGINS_YES="\tgdkpixbuf\n$GST_PLUGINS_YES"
32821  fi
32822
32823$as_echo "#define HAVE_GDK_PIXBUF /**/" >>confdefs.h
32824
32825else
32826  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gdkpixbuf" >&5
32827$as_echo "$as_me: *** These plugins will not be built: gdkpixbuf" >&6;}
32828  if test "xgdkpixbuf" != "x"; then
32829    GST_PLUGINS_NO="\tgdkpixbuf\n$GST_PLUGINS_NO"
32830  fi
32831  :
32832fi
32833 if test x$USE_GDK_PIXBUF = xyes; then
32834  USE_GDK_PIXBUF_TRUE=
32835  USE_GDK_PIXBUF_FALSE='#'
32836else
32837  USE_GDK_PIXBUF_TRUE='#'
32838  USE_GDK_PIXBUF_FALSE=
32839fi
32840
32841
32842
32843HAVE_GTK3_GL="no"
32844echo
32845{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Gtk+ elements ***" >&5
32846$as_echo "$as_me: *** checking feature: Gtk+ elements ***" >&6;}
32847if test "xgtk" != "x"
32848then
32849  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gtk ***" >&5
32850$as_echo "$as_me: *** for plug-ins: gtk ***" >&6;}
32851fi
32852NOUSE=
32853if test "x$USE_GTK3" = "xno"; then
32854  NOUSE="yes"
32855fi
32856# Check whether --enable-gtk3 was given.
32857if test "${enable_gtk3+set}" = set; then :
32858  enableval=$enable_gtk3;  case "${enableval}" in
32859      yes) USE_GTK3=yes;;
32860      no) USE_GTK3=no;;
32861      *) as_fn_error $? "bad value ${enableval} for --enable-gtk3" "$LINENO" 5 ;;
32862    esac
32863else
32864   USE_GTK3=yes
32865fi
32866
32867if test "x$NOUSE" = "xyes"; then
32868  USE_GTK3="no"
32869  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gtk pre-configured not to be built" >&5
32870$as_echo "$as_me: WARNING: *** gtk pre-configured not to be built" >&2;}
32871fi
32872NOUSE=
32873
32874if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " GTK3 " > /dev/null; then
32875  USE_GTK3="no"
32876  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gtk not ported" >&5
32877$as_echo "$as_me: WARNING: *** gtk not ported" >&2;}
32878fi
32879
32880
32881if test x$USE_GTK3 = xyes; then
32882
32883  gst_check_save_LIBS=$LIBS
32884  gst_check_save_LDFLAGS=$LDFLAGS
32885  gst_check_save_CFLAGS=$CFLAGS
32886  gst_check_save_CPPFLAGS=$CPPFLAGS
32887  gst_check_save_CXXFLAGS=$CXXFLAGS
32888
32889  HAVE_GTK3=no
32890
32891
32892pkg_failed=no
32893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3" >&5
32894$as_echo_n "checking for GTK3... " >&6; }
32895
32896if test -n "$PKG_CONFIG"; then
32897    if test -n "$GTK3_CFLAGS"; then
32898        pkg_cv_GTK3_CFLAGS="$GTK3_CFLAGS"
32899    else
32900        if test -n "$PKG_CONFIG" && \
32901    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
32902  ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
32903  ac_status=$?
32904  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32905  test $ac_status = 0; }; then
32906  pkg_cv_GTK3_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
32907else
32908  pkg_failed=yes
32909fi
32910    fi
32911else
32912	pkg_failed=untried
32913fi
32914if test -n "$PKG_CONFIG"; then
32915    if test -n "$GTK3_LIBS"; then
32916        pkg_cv_GTK3_LIBS="$GTK3_LIBS"
32917    else
32918        if test -n "$PKG_CONFIG" && \
32919    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
32920  ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
32921  ac_status=$?
32922  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32923  test $ac_status = 0; }; then
32924  pkg_cv_GTK3_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
32925else
32926  pkg_failed=yes
32927fi
32928    fi
32929else
32930	pkg_failed=untried
32931fi
32932
32933
32934
32935if test $pkg_failed = yes; then
32936
32937if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32938        _pkg_short_errors_supported=yes
32939else
32940        _pkg_short_errors_supported=no
32941fi
32942        if test $_pkg_short_errors_supported = yes; then
32943	        GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-3.0"`
32944        else
32945	        GTK3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-3.0"`
32946        fi
32947	# Put the nasty error message in config.log where it belongs
32948	echo "$GTK3_PKG_ERRORS" >&5
32949
32950	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32951$as_echo "no" >&6; }
32952
32953    HAVE_GTK3="no"
32954
32955elif test $pkg_failed = untried; then
32956
32957    HAVE_GTK3="no"
32958
32959else
32960	GTK3_CFLAGS=$pkg_cv_GTK3_CFLAGS
32961	GTK3_LIBS=$pkg_cv_GTK3_LIBS
32962        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32963$as_echo "yes" >&6; }
32964
32965
32966$as_echo "#define HAVE_GTK3 1" >>confdefs.h
32967
32968    HAVE_GTK3="yes"
32969
32970fi
32971
32972pkg_failed=no
32973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3_GL" >&5
32974$as_echo_n "checking for GTK3_GL... " >&6; }
32975
32976if test -n "$PKG_CONFIG"; then
32977    if test -n "$GTK3_GL_CFLAGS"; then
32978        pkg_cv_GTK3_GL_CFLAGS="$GTK3_GL_CFLAGS"
32979    else
32980        if test -n "$PKG_CONFIG" && \
32981    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.15.0\""; } >&5
32982  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.15.0") 2>&5
32983  ac_status=$?
32984  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32985  test $ac_status = 0; }; then
32986  pkg_cv_GTK3_GL_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.15.0" 2>/dev/null`
32987else
32988  pkg_failed=yes
32989fi
32990    fi
32991else
32992	pkg_failed=untried
32993fi
32994if test -n "$PKG_CONFIG"; then
32995    if test -n "$GTK3_GL_LIBS"; then
32996        pkg_cv_GTK3_GL_LIBS="$GTK3_GL_LIBS"
32997    else
32998        if test -n "$PKG_CONFIG" && \
32999    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.15.0\""; } >&5
33000  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.15.0") 2>&5
33001  ac_status=$?
33002  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33003  test $ac_status = 0; }; then
33004  pkg_cv_GTK3_GL_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.15.0" 2>/dev/null`
33005else
33006  pkg_failed=yes
33007fi
33008    fi
33009else
33010	pkg_failed=untried
33011fi
33012
33013
33014
33015if test $pkg_failed = yes; then
33016
33017if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33018        _pkg_short_errors_supported=yes
33019else
33020        _pkg_short_errors_supported=no
33021fi
33022        if test $_pkg_short_errors_supported = yes; then
33023	        GTK3_GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-3.0 >= 3.15.0"`
33024        else
33025	        GTK3_GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-3.0 >= 3.15.0"`
33026        fi
33027	# Put the nasty error message in config.log where it belongs
33028	echo "$GTK3_GL_PKG_ERRORS" >&5
33029
33030	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33031$as_echo "no" >&6; }
33032
33033      HAVE_GTK3_GL="no"
33034
33035elif test $pkg_failed = untried; then
33036
33037      HAVE_GTK3_GL="no"
33038
33039else
33040	GTK3_GL_CFLAGS=$pkg_cv_GTK3_GL_CFLAGS
33041	GTK3_GL_LIBS=$pkg_cv_GTK3_GL_LIBS
33042        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33043$as_echo "yes" >&6; }
33044
33045    GDK_WINDOWING="no"
33046    if test "x$GST_GL_HAVE_WINDOW_X11" = "x1" -a "x$GST_GL_HAVE_PLATFORM_GLX" = "x1"; then
33047
33048pkg_failed=no
33049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3_X11" >&5
33050$as_echo_n "checking for GTK3_X11... " >&6; }
33051
33052if test -n "$PKG_CONFIG"; then
33053    if test -n "$GTK3_X11_CFLAGS"; then
33054        pkg_cv_GTK3_X11_CFLAGS="$GTK3_X11_CFLAGS"
33055    else
33056        if test -n "$PKG_CONFIG" && \
33057    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-3.0\""; } >&5
33058  ($PKG_CONFIG --exists --print-errors "gtk+-x11-3.0") 2>&5
33059  ac_status=$?
33060  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33061  test $ac_status = 0; }; then
33062  pkg_cv_GTK3_X11_CFLAGS=`$PKG_CONFIG --cflags "gtk+-x11-3.0" 2>/dev/null`
33063else
33064  pkg_failed=yes
33065fi
33066    fi
33067else
33068	pkg_failed=untried
33069fi
33070if test -n "$PKG_CONFIG"; then
33071    if test -n "$GTK3_X11_LIBS"; then
33072        pkg_cv_GTK3_X11_LIBS="$GTK3_X11_LIBS"
33073    else
33074        if test -n "$PKG_CONFIG" && \
33075    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-3.0\""; } >&5
33076  ($PKG_CONFIG --exists --print-errors "gtk+-x11-3.0") 2>&5
33077  ac_status=$?
33078  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33079  test $ac_status = 0; }; then
33080  pkg_cv_GTK3_X11_LIBS=`$PKG_CONFIG --libs "gtk+-x11-3.0" 2>/dev/null`
33081else
33082  pkg_failed=yes
33083fi
33084    fi
33085else
33086	pkg_failed=untried
33087fi
33088
33089
33090
33091if test $pkg_failed = yes; then
33092
33093if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33094        _pkg_short_errors_supported=yes
33095else
33096        _pkg_short_errors_supported=no
33097fi
33098        if test $_pkg_short_errors_supported = yes; then
33099	        GTK3_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-x11-3.0"`
33100        else
33101	        GTK3_X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-x11-3.0"`
33102        fi
33103	# Put the nasty error message in config.log where it belongs
33104	echo "$GTK3_X11_PKG_ERRORS" >&5
33105
33106	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33107$as_echo "no" >&6; }
33108                { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find Gtk X11 integration" >&5
33109$as_echo "$as_me: Could not find Gtk X11 integration" >&6;}
33110elif test $pkg_failed = untried; then
33111	{ $as_echo "$as_me:${as_lineno-$LINENO}: Could not find Gtk X11 integration" >&5
33112$as_echo "$as_me: Could not find Gtk X11 integration" >&6;}
33113else
33114	GTK3_X11_CFLAGS=$pkg_cv_GTK3_X11_CFLAGS
33115	GTK3_X11_LIBS=$pkg_cv_GTK3_X11_LIBS
33116        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33117$as_echo "yes" >&6; }
33118
33119        GTK3_CFLAGS="$GTK3_CFLAGS $GTK3_X11_CFLAGS"
33120        GTK3_LIBS="$GTK3_LIBS $GTK3_X11_LIBS"
33121        GDK_WINDOWING="yes"
33122
33123fi
33124    fi
33125    if test "x$GST_GL_HAVE_WINDOW_WAYLAND" = "x1" -a "x$GST_GL_HAVE_PLATFORM_EGL" = "x1"; then
33126
33127pkg_failed=no
33128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3_WAYLAND" >&5
33129$as_echo_n "checking for GTK3_WAYLAND... " >&6; }
33130
33131if test -n "$PKG_CONFIG"; then
33132    if test -n "$GTK3_WAYLAND_CFLAGS"; then
33133        pkg_cv_GTK3_WAYLAND_CFLAGS="$GTK3_WAYLAND_CFLAGS"
33134    else
33135        if test -n "$PKG_CONFIG" && \
33136    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-wayland-3.0\""; } >&5
33137  ($PKG_CONFIG --exists --print-errors "gtk+-wayland-3.0") 2>&5
33138  ac_status=$?
33139  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33140  test $ac_status = 0; }; then
33141  pkg_cv_GTK3_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags "gtk+-wayland-3.0" 2>/dev/null`
33142else
33143  pkg_failed=yes
33144fi
33145    fi
33146else
33147	pkg_failed=untried
33148fi
33149if test -n "$PKG_CONFIG"; then
33150    if test -n "$GTK3_WAYLAND_LIBS"; then
33151        pkg_cv_GTK3_WAYLAND_LIBS="$GTK3_WAYLAND_LIBS"
33152    else
33153        if test -n "$PKG_CONFIG" && \
33154    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-wayland-3.0\""; } >&5
33155  ($PKG_CONFIG --exists --print-errors "gtk+-wayland-3.0") 2>&5
33156  ac_status=$?
33157  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33158  test $ac_status = 0; }; then
33159  pkg_cv_GTK3_WAYLAND_LIBS=`$PKG_CONFIG --libs "gtk+-wayland-3.0" 2>/dev/null`
33160else
33161  pkg_failed=yes
33162fi
33163    fi
33164else
33165	pkg_failed=untried
33166fi
33167
33168
33169
33170if test $pkg_failed = yes; then
33171
33172if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33173        _pkg_short_errors_supported=yes
33174else
33175        _pkg_short_errors_supported=no
33176fi
33177        if test $_pkg_short_errors_supported = yes; then
33178	        GTK3_WAYLAND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-wayland-3.0"`
33179        else
33180	        GTK3_WAYLAND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-wayland-3.0"`
33181        fi
33182	# Put the nasty error message in config.log where it belongs
33183	echo "$GTK3_WAYLAND_PKG_ERRORS" >&5
33184
33185	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33186$as_echo "no" >&6; }
33187                { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find Gtk Wayland integration" >&5
33188$as_echo "$as_me: Could not find Gtk Wayland integration" >&6;}
33189elif test $pkg_failed = untried; then
33190	{ $as_echo "$as_me:${as_lineno-$LINENO}: Could not find Gtk Wayland integration" >&5
33191$as_echo "$as_me: Could not find Gtk Wayland integration" >&6;}
33192else
33193	GTK3_WAYLAND_CFLAGS=$pkg_cv_GTK3_WAYLAND_CFLAGS
33194	GTK3_WAYLAND_LIBS=$pkg_cv_GTK3_WAYLAND_LIBS
33195        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33196$as_echo "yes" >&6; }
33197
33198        GTK3_CFLAGS="$GTK3_CFLAGS $GTK3_WAYLAND_CFLAGS"
33199        GTK3_LIBS="$GTK3_LIBS $GTK3_WAYLAND_LIBS"
33200        GDK_WINDOWING="yes"
33201
33202fi
33203    fi
33204    if test "x$GDK_WINDOWING" = "xyes" -a "x$HAVE_GST_GL" = "xyes"; then
33205
33206$as_echo "#define HAVE_GTK3_GL 1" >>confdefs.h
33207
33208      HAVE_GTK3_GL="yes"
33209    fi
33210
33211fi
33212
33213
33214  LIBS=$gst_check_save_LIBS
33215  LDFLAGS=$gst_check_save_LDFLAGS
33216  CFLAGS=$gst_check_save_CFLAGS
33217  CPPFLAGS=$gst_check_save_CPPFLAGS
33218  CXXFLAGS=$gst_check_save_CXXFLAGS
33219
33220    if test x$HAVE_GTK3 = xno; then
33221    USE_GTK3=no
33222  else
33223    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gtk" >&5
33224$as_echo "$as_me: *** These plugins will be built: gtk" >&6;}
33225  fi
33226fi
33227if test x$USE_GTK3 = xyes; then
33228  :
33229  if test "xgtk" != "x"; then
33230    GST_PLUGINS_YES="\tgtk\n$GST_PLUGINS_YES"
33231  fi
33232
33233$as_echo "#define HAVE_GTK3 /**/" >>confdefs.h
33234
33235else
33236  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gtk" >&5
33237$as_echo "$as_me: *** These plugins will not be built: gtk" >&6;}
33238  if test "xgtk" != "x"; then
33239    GST_PLUGINS_NO="\tgtk\n$GST_PLUGINS_NO"
33240  fi
33241  :
33242fi
33243 if test x$USE_GTK3 = xyes; then
33244  USE_GTK3_TRUE=
33245  USE_GTK3_FALSE='#'
33246else
33247  USE_GTK3_TRUE='#'
33248  USE_GTK3_FALSE=
33249fi
33250
33251
33252 if test "x$HAVE_GTK3_GL" = "xyes"; then
33253  USE_GTK3_GL_TRUE=
33254  USE_GTK3_GL_FALSE='#'
33255else
33256  USE_GTK3_GL_TRUE='#'
33257  USE_GTK3_GL_FALSE=
33258fi
33259
33260
33261echo
33262{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Jack ***" >&5
33263$as_echo "$as_me: *** checking feature: Jack ***" >&6;}
33264if test "xjack" != "x"
33265then
33266  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: jack ***" >&5
33267$as_echo "$as_me: *** for plug-ins: jack ***" >&6;}
33268fi
33269NOUSE=
33270if test "x$USE_JACK" = "xno"; then
33271  NOUSE="yes"
33272fi
33273# Check whether --enable-jack was given.
33274if test "${enable_jack+set}" = set; then :
33275  enableval=$enable_jack;  case "${enableval}" in
33276      yes) USE_JACK=yes;;
33277      no) USE_JACK=no;;
33278      *) as_fn_error $? "bad value ${enableval} for --enable-jack" "$LINENO" 5 ;;
33279    esac
33280else
33281   USE_JACK=yes
33282fi
33283
33284if test "x$NOUSE" = "xyes"; then
33285  USE_JACK="no"
33286  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jack pre-configured not to be built" >&5
33287$as_echo "$as_me: WARNING: *** jack pre-configured not to be built" >&2;}
33288fi
33289NOUSE=
33290
33291if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " JACK " > /dev/null; then
33292  USE_JACK="no"
33293  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jack not ported" >&5
33294$as_echo "$as_me: WARNING: *** jack not ported" >&2;}
33295fi
33296
33297
33298if test x$USE_JACK = xyes; then
33299
33300  gst_check_save_LIBS=$LIBS
33301  gst_check_save_LDFLAGS=$LDFLAGS
33302  gst_check_save_CFLAGS=$CFLAGS
33303  gst_check_save_CPPFLAGS=$CPPFLAGS
33304  gst_check_save_CXXFLAGS=$CXXFLAGS
33305
33306  HAVE_JACK=no
33307
33308
33309pkg_failed=no
33310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5
33311$as_echo_n "checking for JACK... " >&6; }
33312
33313if test -n "$PKG_CONFIG"; then
33314    if test -n "$JACK_CFLAGS"; then
33315        pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
33316    else
33317        if test -n "$PKG_CONFIG" && \
33318    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.10\""; } >&5
33319  ($PKG_CONFIG --exists --print-errors "jack >= 0.99.10") 2>&5
33320  ac_status=$?
33321  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33322  test $ac_status = 0; }; then
33323  pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.99.10" 2>/dev/null`
33324else
33325  pkg_failed=yes
33326fi
33327    fi
33328else
33329	pkg_failed=untried
33330fi
33331if test -n "$PKG_CONFIG"; then
33332    if test -n "$JACK_LIBS"; then
33333        pkg_cv_JACK_LIBS="$JACK_LIBS"
33334    else
33335        if test -n "$PKG_CONFIG" && \
33336    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.10\""; } >&5
33337  ($PKG_CONFIG --exists --print-errors "jack >= 0.99.10") 2>&5
33338  ac_status=$?
33339  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33340  test $ac_status = 0; }; then
33341  pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack >= 0.99.10" 2>/dev/null`
33342else
33343  pkg_failed=yes
33344fi
33345    fi
33346else
33347	pkg_failed=untried
33348fi
33349
33350
33351
33352if test $pkg_failed = yes; then
33353
33354if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33355        _pkg_short_errors_supported=yes
33356else
33357        _pkg_short_errors_supported=no
33358fi
33359        if test $_pkg_short_errors_supported = yes; then
33360	        JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "jack >= 0.99.10"`
33361        else
33362	        JACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "jack >= 0.99.10"`
33363        fi
33364	# Put the nasty error message in config.log where it belongs
33365	echo "$JACK_PKG_ERRORS" >&5
33366
33367	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33368$as_echo "no" >&6; }
33369                HAVE_JACK="no"
33370elif test $pkg_failed = untried; then
33371	HAVE_JACK="no"
33372else
33373	JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
33374	JACK_LIBS=$pkg_cv_JACK_LIBS
33375        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33376$as_echo "yes" >&6; }
33377	HAVE_JACK="yes"
33378fi
33379
33380
33381
33382
33383  which="jack >= 0.120.1 jack < 1.0"
33384    required="no"
33385
33386
33387pkg_failed=no
33388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK_0_120_1" >&5
33389$as_echo_n "checking for JACK_0_120_1... " >&6; }
33390
33391if test -n "$PKG_CONFIG"; then
33392    if test -n "$JACK_0_120_1_CFLAGS"; then
33393        pkg_cv_JACK_0_120_1_CFLAGS="$JACK_0_120_1_CFLAGS"
33394    else
33395        if test -n "$PKG_CONFIG" && \
33396    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33397  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33398  ac_status=$?
33399  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33400  test $ac_status = 0; }; then
33401  pkg_cv_JACK_0_120_1_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33402else
33403  pkg_failed=yes
33404fi
33405    fi
33406else
33407	pkg_failed=untried
33408fi
33409if test -n "$PKG_CONFIG"; then
33410    if test -n "$JACK_0_120_1_LIBS"; then
33411        pkg_cv_JACK_0_120_1_LIBS="$JACK_0_120_1_LIBS"
33412    else
33413        if test -n "$PKG_CONFIG" && \
33414    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33415  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33416  ac_status=$?
33417  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33418  test $ac_status = 0; }; then
33419  pkg_cv_JACK_0_120_1_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33420else
33421  pkg_failed=yes
33422fi
33423    fi
33424else
33425	pkg_failed=untried
33426fi
33427
33428
33429
33430if test $pkg_failed = yes; then
33431
33432if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33433        _pkg_short_errors_supported=yes
33434else
33435        _pkg_short_errors_supported=no
33436fi
33437        if test $_pkg_short_errors_supported = yes; then
33438	        JACK_0_120_1_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33439        else
33440	        JACK_0_120_1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33441        fi
33442	# Put the nasty error message in config.log where it belongs
33443	echo "$JACK_0_120_1_PKG_ERRORS" >&5
33444
33445	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33446$as_echo "no" >&6; }
33447
33448      HAVE_JACK_0_120_1="no"
33449      if test "x$required" = "xyes"; then
33450        as_fn_error $? "$JACK_0_120_1_PKG_ERRORS" "$LINENO" 5
33451      else
33452        { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_0_120_1_PKG_ERRORS" >&5
33453$as_echo "$as_me: $JACK_0_120_1_PKG_ERRORS" >&6;}
33454      fi
33455
33456elif test $pkg_failed = untried; then
33457
33458      HAVE_JACK_0_120_1="no"
33459      if test "x$required" = "xyes"; then
33460        as_fn_error $? "$JACK_0_120_1_PKG_ERRORS" "$LINENO" 5
33461      else
33462        { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_0_120_1_PKG_ERRORS" >&5
33463$as_echo "$as_me: $JACK_0_120_1_PKG_ERRORS" >&6;}
33464      fi
33465
33466else
33467	JACK_0_120_1_CFLAGS=$pkg_cv_JACK_0_120_1_CFLAGS
33468	JACK_0_120_1_LIBS=$pkg_cv_JACK_0_120_1_LIBS
33469        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33470$as_echo "yes" >&6; }
33471
33472      HAVE_JACK_0_120_1="yes"
33473
33474fi
33475
33476
33477  if test x$HAVE_JACK_0_120_1 = xyes; then
33478
33479$as_echo "#define HAVE_JACK_0_120_1 1" >>confdefs.h
33480
33481  fi
33482
33483  which="jack >= 1.9.7"
33484    required="no"
33485
33486
33487pkg_failed=no
33488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK_1_9_7" >&5
33489$as_echo_n "checking for JACK_1_9_7... " >&6; }
33490
33491if test -n "$PKG_CONFIG"; then
33492    if test -n "$JACK_1_9_7_CFLAGS"; then
33493        pkg_cv_JACK_1_9_7_CFLAGS="$JACK_1_9_7_CFLAGS"
33494    else
33495        if test -n "$PKG_CONFIG" && \
33496    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33497  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33498  ac_status=$?
33499  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33500  test $ac_status = 0; }; then
33501  pkg_cv_JACK_1_9_7_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33502else
33503  pkg_failed=yes
33504fi
33505    fi
33506else
33507	pkg_failed=untried
33508fi
33509if test -n "$PKG_CONFIG"; then
33510    if test -n "$JACK_1_9_7_LIBS"; then
33511        pkg_cv_JACK_1_9_7_LIBS="$JACK_1_9_7_LIBS"
33512    else
33513        if test -n "$PKG_CONFIG" && \
33514    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33515  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33516  ac_status=$?
33517  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33518  test $ac_status = 0; }; then
33519  pkg_cv_JACK_1_9_7_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33520else
33521  pkg_failed=yes
33522fi
33523    fi
33524else
33525	pkg_failed=untried
33526fi
33527
33528
33529
33530if test $pkg_failed = yes; then
33531
33532if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33533        _pkg_short_errors_supported=yes
33534else
33535        _pkg_short_errors_supported=no
33536fi
33537        if test $_pkg_short_errors_supported = yes; then
33538	        JACK_1_9_7_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33539        else
33540	        JACK_1_9_7_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33541        fi
33542	# Put the nasty error message in config.log where it belongs
33543	echo "$JACK_1_9_7_PKG_ERRORS" >&5
33544
33545	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33546$as_echo "no" >&6; }
33547
33548      HAVE_JACK_1_9_7="no"
33549      if test "x$required" = "xyes"; then
33550        as_fn_error $? "$JACK_1_9_7_PKG_ERRORS" "$LINENO" 5
33551      else
33552        { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_1_9_7_PKG_ERRORS" >&5
33553$as_echo "$as_me: $JACK_1_9_7_PKG_ERRORS" >&6;}
33554      fi
33555
33556elif test $pkg_failed = untried; then
33557
33558      HAVE_JACK_1_9_7="no"
33559      if test "x$required" = "xyes"; then
33560        as_fn_error $? "$JACK_1_9_7_PKG_ERRORS" "$LINENO" 5
33561      else
33562        { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_1_9_7_PKG_ERRORS" >&5
33563$as_echo "$as_me: $JACK_1_9_7_PKG_ERRORS" >&6;}
33564      fi
33565
33566else
33567	JACK_1_9_7_CFLAGS=$pkg_cv_JACK_1_9_7_CFLAGS
33568	JACK_1_9_7_LIBS=$pkg_cv_JACK_1_9_7_LIBS
33569        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33570$as_echo "yes" >&6; }
33571
33572      HAVE_JACK_1_9_7="yes"
33573
33574fi
33575
33576
33577  if test x$HAVE_JACK_1_9_7 = xyes; then
33578
33579$as_echo "#define HAVE_JACK_1_9_7 1" >>confdefs.h
33580
33581  fi
33582
33583
33584
33585  LIBS=$gst_check_save_LIBS
33586  LDFLAGS=$gst_check_save_LDFLAGS
33587  CFLAGS=$gst_check_save_CFLAGS
33588  CPPFLAGS=$gst_check_save_CPPFLAGS
33589  CXXFLAGS=$gst_check_save_CXXFLAGS
33590
33591    if test x$HAVE_JACK = xno; then
33592    USE_JACK=no
33593  else
33594    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: jack" >&5
33595$as_echo "$as_me: *** These plugins will be built: jack" >&6;}
33596  fi
33597fi
33598if test x$USE_JACK = xyes; then
33599  :
33600  if test "xjack" != "x"; then
33601    GST_PLUGINS_YES="\tjack\n$GST_PLUGINS_YES"
33602  fi
33603
33604$as_echo "#define HAVE_JACK /**/" >>confdefs.h
33605
33606else
33607  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: jack" >&5
33608$as_echo "$as_me: *** These plugins will not be built: jack" >&6;}
33609  if test "xjack" != "x"; then
33610    GST_PLUGINS_NO="\tjack\n$GST_PLUGINS_NO"
33611  fi
33612  :
33613fi
33614 if test x$USE_JACK = xyes; then
33615  USE_JACK_TRUE=
33616  USE_JACK_FALSE='#'
33617else
33618  USE_JACK_TRUE='#'
33619  USE_JACK_FALSE=
33620fi
33621
33622
33623
33624echo
33625{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: jpeg library ***" >&5
33626$as_echo "$as_me: *** checking feature: jpeg library ***" >&6;}
33627if test "xjpeg" != "x"
33628then
33629  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: jpeg ***" >&5
33630$as_echo "$as_me: *** for plug-ins: jpeg ***" >&6;}
33631fi
33632NOUSE=
33633if test "x$USE_JPEG" = "xno"; then
33634  NOUSE="yes"
33635fi
33636# Check whether --enable-jpeg was given.
33637if test "${enable_jpeg+set}" = set; then :
33638  enableval=$enable_jpeg;  case "${enableval}" in
33639      yes) USE_JPEG=yes;;
33640      no) USE_JPEG=no;;
33641      *) as_fn_error $? "bad value ${enableval} for --enable-jpeg" "$LINENO" 5 ;;
33642    esac
33643else
33644   USE_JPEG=yes
33645fi
33646
33647if test "x$NOUSE" = "xyes"; then
33648  USE_JPEG="no"
33649  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jpeg pre-configured not to be built" >&5
33650$as_echo "$as_me: WARNING: *** jpeg pre-configured not to be built" >&2;}
33651fi
33652NOUSE=
33653
33654if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " JPEG " > /dev/null; then
33655  USE_JPEG="no"
33656  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jpeg not ported" >&5
33657$as_echo "$as_me: WARNING: *** jpeg not ported" >&2;}
33658fi
33659
33660
33661if test x$USE_JPEG = xyes; then
33662
33663  gst_check_save_LIBS=$LIBS
33664  gst_check_save_LDFLAGS=$LDFLAGS
33665  gst_check_save_CFLAGS=$CFLAGS
33666  gst_check_save_CPPFLAGS=$CPPFLAGS
33667  gst_check_save_CXXFLAGS=$CXXFLAGS
33668
33669  HAVE_JPEG=no
33670
33671
33672# Check whether --with-jpeg-mmx was given.
33673if test "${with_jpeg_mmx+set}" = set; then :
33674  withval=$with_jpeg_mmx;
33675fi
33676
33677  OLD_LIBS="$LIBS"
33678  if test x$with_jpeg_mmx != x; then
33679    LIBS="$LIBS -L$with_jpeg_mmx"
33680  fi
33681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_set_defaults in -ljpeg-mmx" >&5
33682$as_echo_n "checking for jpeg_set_defaults in -ljpeg-mmx... " >&6; }
33683if ${ac_cv_lib_jpeg_mmx_jpeg_set_defaults+:} false; then :
33684  $as_echo_n "(cached) " >&6
33685else
33686  ac_check_lib_save_LIBS=$LIBS
33687LIBS="-ljpeg-mmx  $LIBS"
33688cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33689/* end confdefs.h.  */
33690
33691/* Override any GCC internal prototype to avoid an error.
33692   Use char because int might match the return type of a GCC
33693   builtin and then its argument prototype would still apply.  */
33694#ifdef __cplusplus
33695extern "C"
33696#endif
33697char jpeg_set_defaults ();
33698int
33699main ()
33700{
33701return jpeg_set_defaults ();
33702  ;
33703  return 0;
33704}
33705_ACEOF
33706if ac_fn_c_try_link "$LINENO"; then :
33707  ac_cv_lib_jpeg_mmx_jpeg_set_defaults=yes
33708else
33709  ac_cv_lib_jpeg_mmx_jpeg_set_defaults=no
33710fi
33711rm -f core conftest.err conftest.$ac_objext \
33712    conftest$ac_exeext conftest.$ac_ext
33713LIBS=$ac_check_lib_save_LIBS
33714fi
33715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_mmx_jpeg_set_defaults" >&5
33716$as_echo "$ac_cv_lib_jpeg_mmx_jpeg_set_defaults" >&6; }
33717if test "x$ac_cv_lib_jpeg_mmx_jpeg_set_defaults" = xyes; then :
33718  HAVE_JPEG="yes"
33719else
33720  HAVE_JPEG="no"
33721fi
33722
33723  JPEG_LIBS="$LIBS -ljpeg-mmx"
33724  LIBS="$OLD_LIBS"
33725  if test x$HAVE_JPEG != xyes; then
33726    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_set_defaults in -ljpeg" >&5
33727$as_echo_n "checking for jpeg_set_defaults in -ljpeg... " >&6; }
33728if ${ac_cv_lib_jpeg_jpeg_set_defaults+:} false; then :
33729  $as_echo_n "(cached) " >&6
33730else
33731  ac_check_lib_save_LIBS=$LIBS
33732LIBS="-ljpeg  $LIBS"
33733cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33734/* end confdefs.h.  */
33735
33736/* Override any GCC internal prototype to avoid an error.
33737   Use char because int might match the return type of a GCC
33738   builtin and then its argument prototype would still apply.  */
33739#ifdef __cplusplus
33740extern "C"
33741#endif
33742char jpeg_set_defaults ();
33743int
33744main ()
33745{
33746return jpeg_set_defaults ();
33747  ;
33748  return 0;
33749}
33750_ACEOF
33751if ac_fn_c_try_link "$LINENO"; then :
33752  ac_cv_lib_jpeg_jpeg_set_defaults=yes
33753else
33754  ac_cv_lib_jpeg_jpeg_set_defaults=no
33755fi
33756rm -f core conftest.err conftest.$ac_objext \
33757    conftest$ac_exeext conftest.$ac_ext
33758LIBS=$ac_check_lib_save_LIBS
33759fi
33760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_set_defaults" >&5
33761$as_echo "$ac_cv_lib_jpeg_jpeg_set_defaults" >&6; }
33762if test "x$ac_cv_lib_jpeg_jpeg_set_defaults" = xyes; then :
33763  HAVE_JPEG="yes"
33764else
33765  HAVE_JPEG="no"
33766fi
33767
33768    JPEG_LIBS="-ljpeg"
33769  fi
33770
33771
33772
33773  LIBS=$gst_check_save_LIBS
33774  LDFLAGS=$gst_check_save_LDFLAGS
33775  CFLAGS=$gst_check_save_CFLAGS
33776  CPPFLAGS=$gst_check_save_CPPFLAGS
33777  CXXFLAGS=$gst_check_save_CXXFLAGS
33778
33779    if test x$HAVE_JPEG = xno; then
33780    USE_JPEG=no
33781  else
33782    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: jpeg" >&5
33783$as_echo "$as_me: *** These plugins will be built: jpeg" >&6;}
33784  fi
33785fi
33786if test x$USE_JPEG = xyes; then
33787  :
33788  if test "xjpeg" != "x"; then
33789    GST_PLUGINS_YES="\tjpeg\n$GST_PLUGINS_YES"
33790  fi
33791
33792$as_echo "#define HAVE_JPEG /**/" >>confdefs.h
33793
33794else
33795  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: jpeg" >&5
33796$as_echo "$as_me: *** These plugins will not be built: jpeg" >&6;}
33797  if test "xjpeg" != "x"; then
33798    GST_PLUGINS_NO="\tjpeg\n$GST_PLUGINS_NO"
33799  fi
33800  :
33801fi
33802 if test x$USE_JPEG = xyes; then
33803  USE_JPEG_TRUE=
33804  USE_JPEG_FALSE='#'
33805else
33806  USE_JPEG_TRUE='#'
33807  USE_JPEG_FALSE=
33808fi
33809
33810
33811
33812echo
33813{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: lame mp3 encoder library ***" >&5
33814$as_echo "$as_me: *** checking feature: lame mp3 encoder library ***" >&6;}
33815if test "xlame" != "x"
33816then
33817  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: lame ***" >&5
33818$as_echo "$as_me: *** for plug-ins: lame ***" >&6;}
33819fi
33820NOUSE=
33821if test "x$USE_LAME" = "xno"; then
33822  NOUSE="yes"
33823fi
33824# Check whether --enable-lame was given.
33825if test "${enable_lame+set}" = set; then :
33826  enableval=$enable_lame;  case "${enableval}" in
33827      yes) USE_LAME=yes;;
33828      no) USE_LAME=no;;
33829      *) as_fn_error $? "bad value ${enableval} for --enable-lame" "$LINENO" 5 ;;
33830    esac
33831else
33832   USE_LAME=yes
33833fi
33834
33835if test "x$NOUSE" = "xyes"; then
33836  USE_LAME="no"
33837  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** lame pre-configured not to be built" >&5
33838$as_echo "$as_me: WARNING: *** lame pre-configured not to be built" >&2;}
33839fi
33840NOUSE=
33841
33842if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " LAME " > /dev/null; then
33843  USE_LAME="no"
33844  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** lame not ported" >&5
33845$as_echo "$as_me: WARNING: *** lame not ported" >&2;}
33846fi
33847
33848
33849if test x$USE_LAME = xyes; then
33850
33851  gst_check_save_LIBS=$LIBS
33852  gst_check_save_LDFLAGS=$LDFLAGS
33853  gst_check_save_CFLAGS=$CFLAGS
33854  gst_check_save_CPPFLAGS=$CPPFLAGS
33855  gst_check_save_CXXFLAGS=$CXXFLAGS
33856
33857  HAVE_LAME=no
33858
33859
33860  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lame_init in -lmp3lame" >&5
33861$as_echo_n "checking for lame_init in -lmp3lame... " >&6; }
33862if ${ac_cv_lib_mp3lame_lame_init+:} false; then :
33863  $as_echo_n "(cached) " >&6
33864else
33865  ac_check_lib_save_LIBS=$LIBS
33866LIBS="-lmp3lame $LIBM $LIBS"
33867cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33868/* end confdefs.h.  */
33869
33870/* Override any GCC internal prototype to avoid an error.
33871   Use char because int might match the return type of a GCC
33872   builtin and then its argument prototype would still apply.  */
33873#ifdef __cplusplus
33874extern "C"
33875#endif
33876char lame_init ();
33877int
33878main ()
33879{
33880return lame_init ();
33881  ;
33882  return 0;
33883}
33884_ACEOF
33885if ac_fn_c_try_link "$LINENO"; then :
33886  ac_cv_lib_mp3lame_lame_init=yes
33887else
33888  ac_cv_lib_mp3lame_lame_init=no
33889fi
33890rm -f core conftest.err conftest.$ac_objext \
33891    conftest$ac_exeext conftest.$ac_ext
33892LIBS=$ac_check_lib_save_LIBS
33893fi
33894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mp3lame_lame_init" >&5
33895$as_echo "$ac_cv_lib_mp3lame_lame_init" >&6; }
33896if test "x$ac_cv_lib_mp3lame_lame_init" = xyes; then :
33897  HAVE_LAME=yes
33898else
33899  HAVE_LAME=no
33900fi
33901
33902  if test "x$HAVE_LAME" = "xyes"; then
33903    ac_fn_c_check_header_mongrel "$LINENO" "lame/lame.h" "ac_cv_header_lame_lame_h" "$ac_includes_default"
33904if test "x$ac_cv_header_lame_lame_h" = xyes; then :
33905  :
33906else
33907  HAVE_LAME=no
33908fi
33909
33910
33911    if test "x$HAVE_LAME" = "xyes"; then
33912
33913    HAVE_LAME="yes"
33914    LAME_LIBS="-lmp3lame $LIBM"
33915        LAME_CFLAGS=""
33916    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33917/* end confdefs.h.  */
33918#include <lame/lame.h>
33919int
33920main ()
33921{
33922 int preset = MEDIUM
33923  ;
33924  return 0;
33925}
33926_ACEOF
33927if ac_fn_c_try_compile "$LINENO"; then :
33928  LAME_CFLAGS="-DGSTLAME_PRESET"
33929else
33930  LAME_CFLAGS=""
33931
33932fi
33933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33934    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33935/* end confdefs.h.  */
33936#include <lame/lame.h>
33937int
33938main ()
33939{
33940
33941        void *ptr = &lame_set_VBR_quality
33942
33943  ;
33944  return 0;
33945}
33946_ACEOF
33947if ac_fn_c_try_compile "$LINENO"; then :
33948  LAME_CFLAGS="$LAME_CFLAGS -DHAVE_LAME_SET_VBR_QUALITY"
33949else
33950  LAME_CFLAGS="$LAME_CFLAGS"
33951
33952fi
33953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33954
33955
33956
33957    else
33958      :
33959    fi
33960  else
33961    :
33962  fi
33963
33964
33965
33966
33967
33968  LIBS=$gst_check_save_LIBS
33969  LDFLAGS=$gst_check_save_LDFLAGS
33970  CFLAGS=$gst_check_save_CFLAGS
33971  CPPFLAGS=$gst_check_save_CPPFLAGS
33972  CXXFLAGS=$gst_check_save_CXXFLAGS
33973
33974    if test x$HAVE_LAME = xno; then
33975    USE_LAME=no
33976  else
33977    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: lame" >&5
33978$as_echo "$as_me: *** These plugins will be built: lame" >&6;}
33979  fi
33980fi
33981if test x$USE_LAME = xyes; then
33982  :
33983  if test "xlame" != "x"; then
33984    GST_PLUGINS_YES="\tlame\n$GST_PLUGINS_YES"
33985  fi
33986
33987$as_echo "#define HAVE_LAME /**/" >>confdefs.h
33988
33989else
33990  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: lame" >&5
33991$as_echo "$as_me: *** These plugins will not be built: lame" >&6;}
33992  if test "xlame" != "x"; then
33993    GST_PLUGINS_NO="\tlame\n$GST_PLUGINS_NO"
33994  fi
33995  :
33996fi
33997 if test x$USE_LAME = xyes; then
33998  USE_LAME_TRUE=
33999  USE_LAME_FALSE='#'
34000else
34001  USE_LAME_TRUE='#'
34002  USE_LAME_FALSE=
34003fi
34004
34005
34006
34007echo
34008{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libcaca coloured ASCII art ***" >&5
34009$as_echo "$as_me: *** checking feature: libcaca coloured ASCII art ***" >&6;}
34010if test "xcacasink" != "x"
34011then
34012  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cacasink ***" >&5
34013$as_echo "$as_me: *** for plug-ins: cacasink ***" >&6;}
34014fi
34015NOUSE=
34016if test "x$USE_LIBCACA" = "xno"; then
34017  NOUSE="yes"
34018fi
34019# Check whether --enable-libcaca was given.
34020if test "${enable_libcaca+set}" = set; then :
34021  enableval=$enable_libcaca;  case "${enableval}" in
34022      yes) USE_LIBCACA=yes;;
34023      no) USE_LIBCACA=no;;
34024      *) as_fn_error $? "bad value ${enableval} for --enable-libcaca" "$LINENO" 5 ;;
34025    esac
34026else
34027   USE_LIBCACA=yes
34028fi
34029
34030if test "x$NOUSE" = "xyes"; then
34031  USE_LIBCACA="no"
34032  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cacasink pre-configured not to be built" >&5
34033$as_echo "$as_me: WARNING: *** cacasink pre-configured not to be built" >&2;}
34034fi
34035NOUSE=
34036
34037if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " LIBCACA " > /dev/null; then
34038  USE_LIBCACA="no"
34039  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cacasink not ported" >&5
34040$as_echo "$as_me: WARNING: *** cacasink not ported" >&2;}
34041fi
34042
34043
34044if test x$USE_LIBCACA = xyes; then
34045
34046  gst_check_save_LIBS=$LIBS
34047  gst_check_save_LDFLAGS=$LDFLAGS
34048  gst_check_save_CFLAGS=$CFLAGS
34049  gst_check_save_CPPFLAGS=$CPPFLAGS
34050  gst_check_save_CXXFLAGS=$CXXFLAGS
34051
34052  HAVE_LIBCACA=no
34053
34054
34055  which="caca"
34056    required="no"
34057
34058
34059pkg_failed=no
34060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCACA" >&5
34061$as_echo_n "checking for LIBCACA... " >&6; }
34062
34063if test -n "$PKG_CONFIG"; then
34064    if test -n "$LIBCACA_CFLAGS"; then
34065        pkg_cv_LIBCACA_CFLAGS="$LIBCACA_CFLAGS"
34066    else
34067        if test -n "$PKG_CONFIG" && \
34068    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34069  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34070  ac_status=$?
34071  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34072  test $ac_status = 0; }; then
34073  pkg_cv_LIBCACA_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34074else
34075  pkg_failed=yes
34076fi
34077    fi
34078else
34079	pkg_failed=untried
34080fi
34081if test -n "$PKG_CONFIG"; then
34082    if test -n "$LIBCACA_LIBS"; then
34083        pkg_cv_LIBCACA_LIBS="$LIBCACA_LIBS"
34084    else
34085        if test -n "$PKG_CONFIG" && \
34086    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34087  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34088  ac_status=$?
34089  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34090  test $ac_status = 0; }; then
34091  pkg_cv_LIBCACA_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34092else
34093  pkg_failed=yes
34094fi
34095    fi
34096else
34097	pkg_failed=untried
34098fi
34099
34100
34101
34102if test $pkg_failed = yes; then
34103
34104if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34105        _pkg_short_errors_supported=yes
34106else
34107        _pkg_short_errors_supported=no
34108fi
34109        if test $_pkg_short_errors_supported = yes; then
34110	        LIBCACA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34111        else
34112	        LIBCACA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34113        fi
34114	# Put the nasty error message in config.log where it belongs
34115	echo "$LIBCACA_PKG_ERRORS" >&5
34116
34117	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34118$as_echo "no" >&6; }
34119
34120      HAVE_LIBCACA="no"
34121      if test "x$required" = "xyes"; then
34122        as_fn_error $? "$LIBCACA_PKG_ERRORS" "$LINENO" 5
34123      else
34124        { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBCACA_PKG_ERRORS" >&5
34125$as_echo "$as_me: $LIBCACA_PKG_ERRORS" >&6;}
34126      fi
34127
34128elif test $pkg_failed = untried; then
34129
34130      HAVE_LIBCACA="no"
34131      if test "x$required" = "xyes"; then
34132        as_fn_error $? "$LIBCACA_PKG_ERRORS" "$LINENO" 5
34133      else
34134        { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBCACA_PKG_ERRORS" >&5
34135$as_echo "$as_me: $LIBCACA_PKG_ERRORS" >&6;}
34136      fi
34137
34138else
34139	LIBCACA_CFLAGS=$pkg_cv_LIBCACA_CFLAGS
34140	LIBCACA_LIBS=$pkg_cv_LIBCACA_LIBS
34141        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34142$as_echo "yes" >&6; }
34143
34144      HAVE_LIBCACA="yes"
34145
34146fi
34147
34148
34149
34150
34151  LIBS=$gst_check_save_LIBS
34152  LDFLAGS=$gst_check_save_LDFLAGS
34153  CFLAGS=$gst_check_save_CFLAGS
34154  CPPFLAGS=$gst_check_save_CPPFLAGS
34155  CXXFLAGS=$gst_check_save_CXXFLAGS
34156
34157    if test x$HAVE_LIBCACA = xno; then
34158    USE_LIBCACA=no
34159  else
34160    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cacasink" >&5
34161$as_echo "$as_me: *** These plugins will be built: cacasink" >&6;}
34162  fi
34163fi
34164if test x$USE_LIBCACA = xyes; then
34165  :
34166  if test "xcacasink" != "x"; then
34167    GST_PLUGINS_YES="\tcacasink\n$GST_PLUGINS_YES"
34168  fi
34169
34170$as_echo "#define HAVE_LIBCACA /**/" >>confdefs.h
34171
34172else
34173  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cacasink" >&5
34174$as_echo "$as_me: *** These plugins will not be built: cacasink" >&6;}
34175  if test "xcacasink" != "x"; then
34176    GST_PLUGINS_NO="\tcacasink\n$GST_PLUGINS_NO"
34177  fi
34178  :
34179fi
34180 if test x$USE_LIBCACA = xyes; then
34181  USE_LIBCACA_TRUE=
34182  USE_LIBCACA_FALSE='#'
34183else
34184  USE_LIBCACA_TRUE='#'
34185  USE_LIBCACA_FALSE=
34186fi
34187
34188
34189
34190echo
34191{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libdv DV demuxer/decoder ***" >&5
34192$as_echo "$as_me: *** checking feature: libdv DV demuxer/decoder ***" >&6;}
34193if test "xdv" != "x"
34194then
34195  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dv ***" >&5
34196$as_echo "$as_me: *** for plug-ins: dv ***" >&6;}
34197fi
34198NOUSE=
34199if test "x$USE_LIBDV" = "xno"; then
34200  NOUSE="yes"
34201fi
34202# Check whether --enable-libdv was given.
34203if test "${enable_libdv+set}" = set; then :
34204  enableval=$enable_libdv;  case "${enableval}" in
34205      yes) USE_LIBDV=yes;;
34206      no) USE_LIBDV=no;;
34207      *) as_fn_error $? "bad value ${enableval} for --enable-libdv" "$LINENO" 5 ;;
34208    esac
34209else
34210   USE_LIBDV=yes
34211fi
34212
34213if test "x$NOUSE" = "xyes"; then
34214  USE_LIBDV="no"
34215  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dv pre-configured not to be built" >&5
34216$as_echo "$as_me: WARNING: *** dv pre-configured not to be built" >&2;}
34217fi
34218NOUSE=
34219
34220if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " LIBDV " > /dev/null; then
34221  USE_LIBDV="no"
34222  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dv not ported" >&5
34223$as_echo "$as_me: WARNING: *** dv not ported" >&2;}
34224fi
34225
34226
34227if test x$USE_LIBDV = xyes; then
34228
34229  gst_check_save_LIBS=$LIBS
34230  gst_check_save_LDFLAGS=$LDFLAGS
34231  gst_check_save_CFLAGS=$CFLAGS
34232  gst_check_save_CPPFLAGS=$CPPFLAGS
34233  gst_check_save_CXXFLAGS=$CXXFLAGS
34234
34235  HAVE_LIBDV=no
34236
34237
34238  which="libdv >= 0.100"
34239    required="no"
34240
34241
34242pkg_failed=no
34243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDV" >&5
34244$as_echo_n "checking for LIBDV... " >&6; }
34245
34246if test -n "$PKG_CONFIG"; then
34247    if test -n "$LIBDV_CFLAGS"; then
34248        pkg_cv_LIBDV_CFLAGS="$LIBDV_CFLAGS"
34249    else
34250        if test -n "$PKG_CONFIG" && \
34251    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34252  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34253  ac_status=$?
34254  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34255  test $ac_status = 0; }; then
34256  pkg_cv_LIBDV_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34257else
34258  pkg_failed=yes
34259fi
34260    fi
34261else
34262	pkg_failed=untried
34263fi
34264if test -n "$PKG_CONFIG"; then
34265    if test -n "$LIBDV_LIBS"; then
34266        pkg_cv_LIBDV_LIBS="$LIBDV_LIBS"
34267    else
34268        if test -n "$PKG_CONFIG" && \
34269    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34270  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34271  ac_status=$?
34272  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34273  test $ac_status = 0; }; then
34274  pkg_cv_LIBDV_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34275else
34276  pkg_failed=yes
34277fi
34278    fi
34279else
34280	pkg_failed=untried
34281fi
34282
34283
34284
34285if test $pkg_failed = yes; then
34286
34287if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34288        _pkg_short_errors_supported=yes
34289else
34290        _pkg_short_errors_supported=no
34291fi
34292        if test $_pkg_short_errors_supported = yes; then
34293	        LIBDV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34294        else
34295	        LIBDV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34296        fi
34297	# Put the nasty error message in config.log where it belongs
34298	echo "$LIBDV_PKG_ERRORS" >&5
34299
34300	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34301$as_echo "no" >&6; }
34302
34303      HAVE_LIBDV="no"
34304      if test "x$required" = "xyes"; then
34305        as_fn_error $? "$LIBDV_PKG_ERRORS" "$LINENO" 5
34306      else
34307        { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBDV_PKG_ERRORS" >&5
34308$as_echo "$as_me: $LIBDV_PKG_ERRORS" >&6;}
34309      fi
34310
34311elif test $pkg_failed = untried; then
34312
34313      HAVE_LIBDV="no"
34314      if test "x$required" = "xyes"; then
34315        as_fn_error $? "$LIBDV_PKG_ERRORS" "$LINENO" 5
34316      else
34317        { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBDV_PKG_ERRORS" >&5
34318$as_echo "$as_me: $LIBDV_PKG_ERRORS" >&6;}
34319      fi
34320
34321else
34322	LIBDV_CFLAGS=$pkg_cv_LIBDV_CFLAGS
34323	LIBDV_LIBS=$pkg_cv_LIBDV_LIBS
34324        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34325$as_echo "yes" >&6; }
34326
34327      HAVE_LIBDV="yes"
34328
34329fi
34330
34331
34332
34333
34334  LIBS=$gst_check_save_LIBS
34335  LDFLAGS=$gst_check_save_LDFLAGS
34336  CFLAGS=$gst_check_save_CFLAGS
34337  CPPFLAGS=$gst_check_save_CPPFLAGS
34338  CXXFLAGS=$gst_check_save_CXXFLAGS
34339
34340    if test x$HAVE_LIBDV = xno; then
34341    USE_LIBDV=no
34342  else
34343    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dv" >&5
34344$as_echo "$as_me: *** These plugins will be built: dv" >&6;}
34345  fi
34346fi
34347if test x$USE_LIBDV = xyes; then
34348  :
34349  if test "xdv" != "x"; then
34350    GST_PLUGINS_YES="\tdv\n$GST_PLUGINS_YES"
34351  fi
34352
34353$as_echo "#define HAVE_LIBDV /**/" >>confdefs.h
34354
34355else
34356  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dv" >&5
34357$as_echo "$as_me: *** These plugins will not be built: dv" >&6;}
34358  if test "xdv" != "x"; then
34359    GST_PLUGINS_NO="\tdv\n$GST_PLUGINS_NO"
34360  fi
34361  :
34362fi
34363 if test x$USE_LIBDV = xyes; then
34364  USE_LIBDV_TRUE=
34365  USE_LIBDV_FALSE='#'
34366else
34367  USE_LIBDV_TRUE='#'
34368  USE_LIBDV_FALSE=
34369fi
34370
34371
34372
34373echo
34374{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Portable Network Graphics library ***" >&5
34375$as_echo "$as_me: *** checking feature: Portable Network Graphics library ***" >&6;}
34376if test "xpng" != "x"
34377then
34378  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: png ***" >&5
34379$as_echo "$as_me: *** for plug-ins: png ***" >&6;}
34380fi
34381NOUSE=
34382if test "x$USE_LIBPNG" = "xno"; then
34383  NOUSE="yes"
34384fi
34385# Check whether --enable-libpng was given.
34386if test "${enable_libpng+set}" = set; then :
34387  enableval=$enable_libpng;  case "${enableval}" in
34388      yes) USE_LIBPNG=yes;;
34389      no) USE_LIBPNG=no;;
34390      *) as_fn_error $? "bad value ${enableval} for --enable-libpng" "$LINENO" 5 ;;
34391    esac
34392else
34393   USE_LIBPNG=yes
34394fi
34395
34396if test "x$NOUSE" = "xyes"; then
34397  USE_LIBPNG="no"
34398  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** png pre-configured not to be built" >&5
34399$as_echo "$as_me: WARNING: *** png pre-configured not to be built" >&2;}
34400fi
34401NOUSE=
34402
34403if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " LIBPNG " > /dev/null; then
34404  USE_LIBPNG="no"
34405  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** png not ported" >&5
34406$as_echo "$as_me: WARNING: *** png not ported" >&2;}
34407fi
34408
34409
34410if test x$USE_LIBPNG = xyes; then
34411
34412  gst_check_save_LIBS=$LIBS
34413  gst_check_save_LDFLAGS=$LDFLAGS
34414  gst_check_save_CFLAGS=$CFLAGS
34415  gst_check_save_CPPFLAGS=$CPPFLAGS
34416  gst_check_save_CXXFLAGS=$CXXFLAGS
34417
34418  HAVE_LIBPNG=no
34419
34420
34421  which="libpng >= 1.2"
34422    required="no"
34423
34424
34425pkg_failed=no
34426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPNG" >&5
34427$as_echo_n "checking for LIBPNG... " >&6; }
34428
34429if test -n "$PKG_CONFIG"; then
34430    if test -n "$LIBPNG_CFLAGS"; then
34431        pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
34432    else
34433        if test -n "$PKG_CONFIG" && \
34434    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34435  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34436  ac_status=$?
34437  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34438  test $ac_status = 0; }; then
34439  pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34440else
34441  pkg_failed=yes
34442fi
34443    fi
34444else
34445	pkg_failed=untried
34446fi
34447if test -n "$PKG_CONFIG"; then
34448    if test -n "$LIBPNG_LIBS"; then
34449        pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
34450    else
34451        if test -n "$PKG_CONFIG" && \
34452    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34453  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34454  ac_status=$?
34455  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34456  test $ac_status = 0; }; then
34457  pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34458else
34459  pkg_failed=yes
34460fi
34461    fi
34462else
34463	pkg_failed=untried
34464fi
34465
34466
34467
34468if test $pkg_failed = yes; then
34469
34470if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34471        _pkg_short_errors_supported=yes
34472else
34473        _pkg_short_errors_supported=no
34474fi
34475        if test $_pkg_short_errors_supported = yes; then
34476	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34477        else
34478	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34479        fi
34480	# Put the nasty error message in config.log where it belongs
34481	echo "$LIBPNG_PKG_ERRORS" >&5
34482
34483	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34484$as_echo "no" >&6; }
34485
34486      HAVE_LIBPNG="no"
34487      if test "x$required" = "xyes"; then
34488        as_fn_error $? "$LIBPNG_PKG_ERRORS" "$LINENO" 5
34489      else
34490        { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBPNG_PKG_ERRORS" >&5
34491$as_echo "$as_me: $LIBPNG_PKG_ERRORS" >&6;}
34492      fi
34493
34494elif test $pkg_failed = untried; then
34495
34496      HAVE_LIBPNG="no"
34497      if test "x$required" = "xyes"; then
34498        as_fn_error $? "$LIBPNG_PKG_ERRORS" "$LINENO" 5
34499      else
34500        { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBPNG_PKG_ERRORS" >&5
34501$as_echo "$as_me: $LIBPNG_PKG_ERRORS" >&6;}
34502      fi
34503
34504else
34505	LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
34506	LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
34507        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34508$as_echo "yes" >&6; }
34509
34510      HAVE_LIBPNG="yes"
34511
34512fi
34513
34514
34515  if test $HAVE_LIBPNG = "yes"; then
34516
34517pkg_failed=no
34518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPNG_1_5" >&5
34519$as_echo_n "checking for LIBPNG_1_5... " >&6; }
34520
34521if test -n "$PKG_CONFIG"; then
34522    if test -n "$LIBPNG_1_5_CFLAGS"; then
34523        pkg_cv_LIBPNG_1_5_CFLAGS="$LIBPNG_1_5_CFLAGS"
34524    else
34525        if test -n "$PKG_CONFIG" && \
34526    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.5.1\""; } >&5
34527  ($PKG_CONFIG --exists --print-errors "libpng >= 1.5.1") 2>&5
34528  ac_status=$?
34529  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34530  test $ac_status = 0; }; then
34531  pkg_cv_LIBPNG_1_5_CFLAGS=`$PKG_CONFIG --cflags "libpng >= 1.5.1" 2>/dev/null`
34532else
34533  pkg_failed=yes
34534fi
34535    fi
34536else
34537	pkg_failed=untried
34538fi
34539if test -n "$PKG_CONFIG"; then
34540    if test -n "$LIBPNG_1_5_LIBS"; then
34541        pkg_cv_LIBPNG_1_5_LIBS="$LIBPNG_1_5_LIBS"
34542    else
34543        if test -n "$PKG_CONFIG" && \
34544    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.5.1\""; } >&5
34545  ($PKG_CONFIG --exists --print-errors "libpng >= 1.5.1") 2>&5
34546  ac_status=$?
34547  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34548  test $ac_status = 0; }; then
34549  pkg_cv_LIBPNG_1_5_LIBS=`$PKG_CONFIG --libs "libpng >= 1.5.1" 2>/dev/null`
34550else
34551  pkg_failed=yes
34552fi
34553    fi
34554else
34555	pkg_failed=untried
34556fi
34557
34558
34559
34560if test $pkg_failed = yes; then
34561
34562if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34563        _pkg_short_errors_supported=yes
34564else
34565        _pkg_short_errors_supported=no
34566fi
34567        if test $_pkg_short_errors_supported = yes; then
34568	        LIBPNG_1_5_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng >= 1.5.1"`
34569        else
34570	        LIBPNG_1_5_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng >= 1.5.1"`
34571        fi
34572	# Put the nasty error message in config.log where it belongs
34573	echo "$LIBPNG_1_5_PKG_ERRORS" >&5
34574
34575	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34576$as_echo "no" >&6; }
34577                true
34578elif test $pkg_failed = untried; then
34579	true
34580else
34581	LIBPNG_1_5_CFLAGS=$pkg_cv_LIBPNG_1_5_CFLAGS
34582	LIBPNG_1_5_LIBS=$pkg_cv_LIBPNG_1_5_LIBS
34583        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34584$as_echo "yes" >&6; }
34585
34586
34587$as_echo "#define HAVE_LIBPNG_1_5 1" >>confdefs.h
34588
34589
34590fi
34591  fi
34592
34593
34594  LIBS=$gst_check_save_LIBS
34595  LDFLAGS=$gst_check_save_LDFLAGS
34596  CFLAGS=$gst_check_save_CFLAGS
34597  CPPFLAGS=$gst_check_save_CPPFLAGS
34598  CXXFLAGS=$gst_check_save_CXXFLAGS
34599
34600    if test x$HAVE_LIBPNG = xno; then
34601    USE_LIBPNG=no
34602  else
34603    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: png" >&5
34604$as_echo "$as_me: *** These plugins will be built: png" >&6;}
34605  fi
34606fi
34607if test x$USE_LIBPNG = xyes; then
34608  :
34609  if test "xpng" != "x"; then
34610    GST_PLUGINS_YES="\tpng\n$GST_PLUGINS_YES"
34611  fi
34612
34613$as_echo "#define HAVE_LIBPNG /**/" >>confdefs.h
34614
34615else
34616  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: png" >&5
34617$as_echo "$as_me: *** These plugins will not be built: png" >&6;}
34618  if test "xpng" != "x"; then
34619    GST_PLUGINS_NO="\tpng\n$GST_PLUGINS_NO"
34620  fi
34621  :
34622fi
34623 if test x$USE_LIBPNG = xyes; then
34624  USE_LIBPNG_TRUE=
34625  USE_LIBPNG_FALSE='#'
34626else
34627  USE_LIBPNG_TRUE='#'
34628  USE_LIBPNG_FALSE=
34629fi
34630
34631
34632
34633echo
34634{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: mpg123 audio decoder ***" >&5
34635$as_echo "$as_me: *** checking feature: mpg123 audio decoder ***" >&6;}
34636if test "xmpg123" != "x"
34637then
34638  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mpg123 ***" >&5
34639$as_echo "$as_me: *** for plug-ins: mpg123 ***" >&6;}
34640fi
34641NOUSE=
34642if test "x$USE_MPG123" = "xno"; then
34643  NOUSE="yes"
34644fi
34645# Check whether --enable-mpg123 was given.
34646if test "${enable_mpg123+set}" = set; then :
34647  enableval=$enable_mpg123;  case "${enableval}" in
34648      yes) USE_MPG123=yes;;
34649      no) USE_MPG123=no;;
34650      *) as_fn_error $? "bad value ${enableval} for --enable-mpg123" "$LINENO" 5 ;;
34651    esac
34652else
34653   USE_MPG123=yes
34654fi
34655
34656if test "x$NOUSE" = "xyes"; then
34657  USE_MPG123="no"
34658  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mpg123 pre-configured not to be built" >&5
34659$as_echo "$as_me: WARNING: *** mpg123 pre-configured not to be built" >&2;}
34660fi
34661NOUSE=
34662
34663if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " MPG123 " > /dev/null; then
34664  USE_MPG123="no"
34665  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mpg123 not ported" >&5
34666$as_echo "$as_me: WARNING: *** mpg123 not ported" >&2;}
34667fi
34668
34669
34670if test x$USE_MPG123 = xyes; then
34671
34672  gst_check_save_LIBS=$LIBS
34673  gst_check_save_LDFLAGS=$LDFLAGS
34674  gst_check_save_CFLAGS=$CFLAGS
34675  gst_check_save_CPPFLAGS=$CPPFLAGS
34676  gst_check_save_CXXFLAGS=$CXXFLAGS
34677
34678  HAVE_MPG123=no
34679
34680
34681pkg_failed=no
34682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPG123" >&5
34683$as_echo_n "checking for MPG123... " >&6; }
34684
34685if test -n "$PKG_CONFIG"; then
34686    if test -n "$MPG123_CFLAGS"; then
34687        pkg_cv_MPG123_CFLAGS="$MPG123_CFLAGS"
34688    else
34689        if test -n "$PKG_CONFIG" && \
34690    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpg123 >= 1.13\""; } >&5
34691  ($PKG_CONFIG --exists --print-errors "libmpg123 >= 1.13") 2>&5
34692  ac_status=$?
34693  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34694  test $ac_status = 0; }; then
34695  pkg_cv_MPG123_CFLAGS=`$PKG_CONFIG --cflags "libmpg123 >= 1.13" 2>/dev/null`
34696else
34697  pkg_failed=yes
34698fi
34699    fi
34700else
34701	pkg_failed=untried
34702fi
34703if test -n "$PKG_CONFIG"; then
34704    if test -n "$MPG123_LIBS"; then
34705        pkg_cv_MPG123_LIBS="$MPG123_LIBS"
34706    else
34707        if test -n "$PKG_CONFIG" && \
34708    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpg123 >= 1.13\""; } >&5
34709  ($PKG_CONFIG --exists --print-errors "libmpg123 >= 1.13") 2>&5
34710  ac_status=$?
34711  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34712  test $ac_status = 0; }; then
34713  pkg_cv_MPG123_LIBS=`$PKG_CONFIG --libs "libmpg123 >= 1.13" 2>/dev/null`
34714else
34715  pkg_failed=yes
34716fi
34717    fi
34718else
34719	pkg_failed=untried
34720fi
34721
34722
34723
34724if test $pkg_failed = yes; then
34725
34726if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34727        _pkg_short_errors_supported=yes
34728else
34729        _pkg_short_errors_supported=no
34730fi
34731        if test $_pkg_short_errors_supported = yes; then
34732	        MPG123_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmpg123 >= 1.13"`
34733        else
34734	        MPG123_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmpg123 >= 1.13"`
34735        fi
34736	# Put the nasty error message in config.log where it belongs
34737	echo "$MPG123_PKG_ERRORS" >&5
34738
34739	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34740$as_echo "no" >&6; }
34741                HAVE_MPG123="no"
34742elif test $pkg_failed = untried; then
34743	HAVE_MPG123="no"
34744else
34745	MPG123_CFLAGS=$pkg_cv_MPG123_CFLAGS
34746	MPG123_LIBS=$pkg_cv_MPG123_LIBS
34747        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34748$as_echo "yes" >&6; }
34749	HAVE_MPG123="yes"
34750fi
34751
34752
34753
34754
34755  LIBS=$gst_check_save_LIBS
34756  LDFLAGS=$gst_check_save_LDFLAGS
34757  CFLAGS=$gst_check_save_CFLAGS
34758  CPPFLAGS=$gst_check_save_CPPFLAGS
34759  CXXFLAGS=$gst_check_save_CXXFLAGS
34760
34761    if test x$HAVE_MPG123 = xno; then
34762    USE_MPG123=no
34763  else
34764    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mpg123" >&5
34765$as_echo "$as_me: *** These plugins will be built: mpg123" >&6;}
34766  fi
34767fi
34768if test x$USE_MPG123 = xyes; then
34769  :
34770  if test "xmpg123" != "x"; then
34771    GST_PLUGINS_YES="\tmpg123\n$GST_PLUGINS_YES"
34772  fi
34773
34774$as_echo "#define HAVE_MPG123 /**/" >>confdefs.h
34775
34776else
34777  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mpg123" >&5
34778$as_echo "$as_me: *** These plugins will not be built: mpg123" >&6;}
34779  if test "xmpg123" != "x"; then
34780    GST_PLUGINS_NO="\tmpg123\n$GST_PLUGINS_NO"
34781  fi
34782  :
34783fi
34784 if test x$USE_MPG123 = xyes; then
34785  USE_MPG123_TRUE=
34786  USE_MPG123_FALSE='#'
34787else
34788  USE_MPG123_TRUE='#'
34789  USE_MPG123_FALSE=
34790fi
34791
34792
34793
34794echo
34795{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: pulseaudio plug-in ***" >&5
34796$as_echo "$as_me: *** checking feature: pulseaudio plug-in ***" >&6;}
34797if test "xpulseaudio" != "x"
34798then
34799  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: pulseaudio ***" >&5
34800$as_echo "$as_me: *** for plug-ins: pulseaudio ***" >&6;}
34801fi
34802NOUSE=
34803if test "x$USE_PULSE" = "xno"; then
34804  NOUSE="yes"
34805fi
34806# Check whether --enable-pulse was given.
34807if test "${enable_pulse+set}" = set; then :
34808  enableval=$enable_pulse;  case "${enableval}" in
34809      yes) USE_PULSE=yes;;
34810      no) USE_PULSE=no;;
34811      *) as_fn_error $? "bad value ${enableval} for --enable-pulse" "$LINENO" 5 ;;
34812    esac
34813else
34814   USE_PULSE=yes
34815fi
34816
34817if test "x$NOUSE" = "xyes"; then
34818  USE_PULSE="no"
34819  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pulseaudio pre-configured not to be built" >&5
34820$as_echo "$as_me: WARNING: *** pulseaudio pre-configured not to be built" >&2;}
34821fi
34822NOUSE=
34823
34824if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " PULSE " > /dev/null; then
34825  USE_PULSE="no"
34826  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pulseaudio not ported" >&5
34827$as_echo "$as_me: WARNING: *** pulseaudio not ported" >&2;}
34828fi
34829
34830
34831if test x$USE_PULSE = xyes; then
34832
34833  gst_check_save_LIBS=$LIBS
34834  gst_check_save_LDFLAGS=$LDFLAGS
34835  gst_check_save_CFLAGS=$CFLAGS
34836  gst_check_save_CPPFLAGS=$CPPFLAGS
34837  gst_check_save_CXXFLAGS=$CXXFLAGS
34838
34839  HAVE_PULSE=no
34840
34841
34842    for ac_header in process.h
34843do :
34844  ac_fn_c_check_header_mongrel "$LINENO" "process.h" "ac_cv_header_process_h" "$ac_includes_default"
34845if test "x$ac_cv_header_process_h" = xyes; then :
34846  cat >>confdefs.h <<_ACEOF
34847#define HAVE_PROCESS_H 1
34848_ACEOF
34849
34850fi
34851
34852done
34853
34854
34855
34856  which="libpulse >= 2.0"
34857    required="no"
34858
34859
34860pkg_failed=no
34861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE" >&5
34862$as_echo_n "checking for PULSE... " >&6; }
34863
34864if test -n "$PKG_CONFIG"; then
34865    if test -n "$PULSE_CFLAGS"; then
34866        pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
34867    else
34868        if test -n "$PKG_CONFIG" && \
34869    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34870  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34871  ac_status=$?
34872  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34873  test $ac_status = 0; }; then
34874  pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34875else
34876  pkg_failed=yes
34877fi
34878    fi
34879else
34880	pkg_failed=untried
34881fi
34882if test -n "$PKG_CONFIG"; then
34883    if test -n "$PULSE_LIBS"; then
34884        pkg_cv_PULSE_LIBS="$PULSE_LIBS"
34885    else
34886        if test -n "$PKG_CONFIG" && \
34887    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34888  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34889  ac_status=$?
34890  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34891  test $ac_status = 0; }; then
34892  pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34893else
34894  pkg_failed=yes
34895fi
34896    fi
34897else
34898	pkg_failed=untried
34899fi
34900
34901
34902
34903if test $pkg_failed = yes; then
34904
34905if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34906        _pkg_short_errors_supported=yes
34907else
34908        _pkg_short_errors_supported=no
34909fi
34910        if test $_pkg_short_errors_supported = yes; then
34911	        PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34912        else
34913	        PULSE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34914        fi
34915	# Put the nasty error message in config.log where it belongs
34916	echo "$PULSE_PKG_ERRORS" >&5
34917
34918	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34919$as_echo "no" >&6; }
34920
34921      HAVE_PULSE="no"
34922      if test "x$required" = "xyes"; then
34923        as_fn_error $? "$PULSE_PKG_ERRORS" "$LINENO" 5
34924      else
34925        { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_PKG_ERRORS" >&5
34926$as_echo "$as_me: $PULSE_PKG_ERRORS" >&6;}
34927      fi
34928
34929elif test $pkg_failed = untried; then
34930
34931      HAVE_PULSE="no"
34932      if test "x$required" = "xyes"; then
34933        as_fn_error $? "$PULSE_PKG_ERRORS" "$LINENO" 5
34934      else
34935        { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_PKG_ERRORS" >&5
34936$as_echo "$as_me: $PULSE_PKG_ERRORS" >&6;}
34937      fi
34938
34939else
34940	PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
34941	PULSE_LIBS=$pkg_cv_PULSE_LIBS
34942        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34943$as_echo "yes" >&6; }
34944
34945      HAVE_PULSE="yes"
34946
34947fi
34948
34949
34950
34951
34952  LIBS=$gst_check_save_LIBS
34953  LDFLAGS=$gst_check_save_LDFLAGS
34954  CFLAGS=$gst_check_save_CFLAGS
34955  CPPFLAGS=$gst_check_save_CPPFLAGS
34956  CXXFLAGS=$gst_check_save_CXXFLAGS
34957
34958    if test x$HAVE_PULSE = xno; then
34959    USE_PULSE=no
34960  else
34961    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: pulseaudio" >&5
34962$as_echo "$as_me: *** These plugins will be built: pulseaudio" >&6;}
34963  fi
34964fi
34965if test x$USE_PULSE = xyes; then
34966  :
34967  if test "xpulseaudio" != "x"; then
34968    GST_PLUGINS_YES="\tpulseaudio\n$GST_PLUGINS_YES"
34969  fi
34970
34971$as_echo "#define HAVE_PULSE /**/" >>confdefs.h
34972
34973else
34974  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: pulseaudio" >&5
34975$as_echo "$as_me: *** These plugins will not be built: pulseaudio" >&6;}
34976  if test "xpulseaudio" != "x"; then
34977    GST_PLUGINS_NO="\tpulseaudio\n$GST_PLUGINS_NO"
34978  fi
34979  :
34980fi
34981 if test x$USE_PULSE = xyes; then
34982  USE_PULSE_TRUE=
34983  USE_PULSE_FALSE='#'
34984else
34985  USE_PULSE_TRUE='#'
34986  USE_PULSE_FALSE=
34987fi
34988
34989
34990
34991echo
34992{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: raw1394 and avc1394 library ***" >&5
34993$as_echo "$as_me: *** checking feature: raw1394 and avc1394 library ***" >&6;}
34994if test "x1394" != "x"
34995then
34996  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: 1394 ***" >&5
34997$as_echo "$as_me: *** for plug-ins: 1394 ***" >&6;}
34998fi
34999NOUSE=
35000if test "x$USE_DV1394" = "xno"; then
35001  NOUSE="yes"
35002fi
35003# Check whether --enable-dv1394 was given.
35004if test "${enable_dv1394+set}" = set; then :
35005  enableval=$enable_dv1394;  case "${enableval}" in
35006      yes) USE_DV1394=yes;;
35007      no) USE_DV1394=no;;
35008      *) as_fn_error $? "bad value ${enableval} for --enable-dv1394" "$LINENO" 5 ;;
35009    esac
35010else
35011   USE_DV1394=yes
35012fi
35013
35014if test "x$NOUSE" = "xyes"; then
35015  USE_DV1394="no"
35016  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** 1394 pre-configured not to be built" >&5
35017$as_echo "$as_me: WARNING: *** 1394 pre-configured not to be built" >&2;}
35018fi
35019NOUSE=
35020
35021if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " DV1394 " > /dev/null; then
35022  USE_DV1394="no"
35023  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** 1394 not ported" >&5
35024$as_echo "$as_me: WARNING: *** 1394 not ported" >&2;}
35025fi
35026
35027
35028if test x$USE_DV1394 = xyes; then
35029
35030  gst_check_save_LIBS=$LIBS
35031  gst_check_save_LDFLAGS=$LDFLAGS
35032  gst_check_save_CFLAGS=$CFLAGS
35033  gst_check_save_CPPFLAGS=$CPPFLAGS
35034  gst_check_save_CXXFLAGS=$CXXFLAGS
35035
35036  HAVE_DV1394=no
35037
35038
35039  which="libraw1394 >= 2.0.0"
35040    required="no"
35041
35042
35043pkg_failed=no
35044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAW1394" >&5
35045$as_echo_n "checking for RAW1394... " >&6; }
35046
35047if test -n "$PKG_CONFIG"; then
35048    if test -n "$RAW1394_CFLAGS"; then
35049        pkg_cv_RAW1394_CFLAGS="$RAW1394_CFLAGS"
35050    else
35051        if test -n "$PKG_CONFIG" && \
35052    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35053  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35054  ac_status=$?
35055  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35056  test $ac_status = 0; }; then
35057  pkg_cv_RAW1394_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
35058else
35059  pkg_failed=yes
35060fi
35061    fi
35062else
35063	pkg_failed=untried
35064fi
35065if test -n "$PKG_CONFIG"; then
35066    if test -n "$RAW1394_LIBS"; then
35067        pkg_cv_RAW1394_LIBS="$RAW1394_LIBS"
35068    else
35069        if test -n "$PKG_CONFIG" && \
35070    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35071  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35072  ac_status=$?
35073  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35074  test $ac_status = 0; }; then
35075  pkg_cv_RAW1394_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
35076else
35077  pkg_failed=yes
35078fi
35079    fi
35080else
35081	pkg_failed=untried
35082fi
35083
35084
35085
35086if test $pkg_failed = yes; then
35087
35088if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35089        _pkg_short_errors_supported=yes
35090else
35091        _pkg_short_errors_supported=no
35092fi
35093        if test $_pkg_short_errors_supported = yes; then
35094	        RAW1394_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
35095        else
35096	        RAW1394_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
35097        fi
35098	# Put the nasty error message in config.log where it belongs
35099	echo "$RAW1394_PKG_ERRORS" >&5
35100
35101	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35102$as_echo "no" >&6; }
35103
35104      HAVE_RAW1394="no"
35105      if test "x$required" = "xyes"; then
35106        as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
35107      else
35108        { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
35109$as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
35110      fi
35111
35112elif test $pkg_failed = untried; then
35113
35114      HAVE_RAW1394="no"
35115      if test "x$required" = "xyes"; then
35116        as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
35117      else
35118        { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
35119$as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
35120      fi
35121
35122else
35123	RAW1394_CFLAGS=$pkg_cv_RAW1394_CFLAGS
35124	RAW1394_LIBS=$pkg_cv_RAW1394_LIBS
35125        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35126$as_echo "yes" >&6; }
35127
35128      HAVE_RAW1394="yes"
35129
35130fi
35131
35132
35133
35134  which="libiec61883 >= 1.0.0"
35135    required="no"
35136
35137
35138pkg_failed=no
35139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIEC61883" >&5
35140$as_echo_n "checking for LIBIEC61883... " >&6; }
35141
35142if test -n "$PKG_CONFIG"; then
35143    if test -n "$LIBIEC61883_CFLAGS"; then
35144        pkg_cv_LIBIEC61883_CFLAGS="$LIBIEC61883_CFLAGS"
35145    else
35146        if test -n "$PKG_CONFIG" && \
35147    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35148  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35149  ac_status=$?
35150  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35151  test $ac_status = 0; }; then
35152  pkg_cv_LIBIEC61883_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
35153else
35154  pkg_failed=yes
35155fi
35156    fi
35157else
35158	pkg_failed=untried
35159fi
35160if test -n "$PKG_CONFIG"; then
35161    if test -n "$LIBIEC61883_LIBS"; then
35162        pkg_cv_LIBIEC61883_LIBS="$LIBIEC61883_LIBS"
35163    else
35164        if test -n "$PKG_CONFIG" && \
35165    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35166  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35167  ac_status=$?
35168  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35169  test $ac_status = 0; }; then
35170  pkg_cv_LIBIEC61883_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
35171else
35172  pkg_failed=yes
35173fi
35174    fi
35175else
35176	pkg_failed=untried
35177fi
35178
35179
35180
35181if test $pkg_failed = yes; then
35182
35183if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35184        _pkg_short_errors_supported=yes
35185else
35186        _pkg_short_errors_supported=no
35187fi
35188        if test $_pkg_short_errors_supported = yes; then
35189	        LIBIEC61883_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
35190        else
35191	        LIBIEC61883_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
35192        fi
35193	# Put the nasty error message in config.log where it belongs
35194	echo "$LIBIEC61883_PKG_ERRORS" >&5
35195
35196	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35197$as_echo "no" >&6; }
35198
35199      HAVE_LIBIEC61883="no"
35200      if test "x$required" = "xyes"; then
35201        as_fn_error $? "$LIBIEC61883_PKG_ERRORS" "$LINENO" 5
35202      else
35203        { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBIEC61883_PKG_ERRORS" >&5
35204$as_echo "$as_me: $LIBIEC61883_PKG_ERRORS" >&6;}
35205      fi
35206
35207elif test $pkg_failed = untried; then
35208
35209      HAVE_LIBIEC61883="no"
35210      if test "x$required" = "xyes"; then
35211        as_fn_error $? "$LIBIEC61883_PKG_ERRORS" "$LINENO" 5
35212      else
35213        { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBIEC61883_PKG_ERRORS" >&5
35214$as_echo "$as_me: $LIBIEC61883_PKG_ERRORS" >&6;}
35215      fi
35216
35217else
35218	LIBIEC61883_CFLAGS=$pkg_cv_LIBIEC61883_CFLAGS
35219	LIBIEC61883_LIBS=$pkg_cv_LIBIEC61883_LIBS
35220        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35221$as_echo "yes" >&6; }
35222
35223      HAVE_LIBIEC61883="yes"
35224
35225fi
35226
35227
35228    if test x$HAVE_RAW1394 = xyes && \
35229     test x$HAVE_LIBIEC61883 = xyes; then
35230
35231  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avc1394_send_command in -lavc1394" >&5
35232$as_echo_n "checking for avc1394_send_command in -lavc1394... " >&6; }
35233if ${ac_cv_lib_avc1394_avc1394_send_command+:} false; then :
35234  $as_echo_n "(cached) " >&6
35235else
35236  ac_check_lib_save_LIBS=$LIBS
35237LIBS="-lavc1394 $RAW1394_LIBS $LIBS"
35238cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35239/* end confdefs.h.  */
35240
35241/* Override any GCC internal prototype to avoid an error.
35242   Use char because int might match the return type of a GCC
35243   builtin and then its argument prototype would still apply.  */
35244#ifdef __cplusplus
35245extern "C"
35246#endif
35247char avc1394_send_command ();
35248int
35249main ()
35250{
35251return avc1394_send_command ();
35252  ;
35253  return 0;
35254}
35255_ACEOF
35256if ac_fn_c_try_link "$LINENO"; then :
35257  ac_cv_lib_avc1394_avc1394_send_command=yes
35258else
35259  ac_cv_lib_avc1394_avc1394_send_command=no
35260fi
35261rm -f core conftest.err conftest.$ac_objext \
35262    conftest$ac_exeext conftest.$ac_ext
35263LIBS=$ac_check_lib_save_LIBS
35264fi
35265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avc1394_avc1394_send_command" >&5
35266$as_echo "$ac_cv_lib_avc1394_avc1394_send_command" >&6; }
35267if test "x$ac_cv_lib_avc1394_avc1394_send_command" = xyes; then :
35268  HAVE_AVC1394=yes
35269else
35270  HAVE_AVC1394=no
35271fi
35272
35273  if test "x$HAVE_AVC1394" = "xyes"; then
35274    ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/avc1394.h" "ac_cv_header_libavc1394_avc1394_h" "$ac_includes_default"
35275if test "x$ac_cv_header_libavc1394_avc1394_h" = xyes; then :
35276  :
35277else
35278  HAVE_AVC1394=no
35279fi
35280
35281
35282    if test "x$HAVE_AVC1394" = "xyes"; then
35283            AVC1394_LIBS="-lavc1394"
35284    else
35285      :
35286    fi
35287  else
35288    :
35289  fi
35290
35291
35292
35293
35294  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rom1394_free_directory in -lrom1394" >&5
35295$as_echo_n "checking for rom1394_free_directory in -lrom1394... " >&6; }
35296if ${ac_cv_lib_rom1394_rom1394_free_directory+:} false; then :
35297  $as_echo_n "(cached) " >&6
35298else
35299  ac_check_lib_save_LIBS=$LIBS
35300LIBS="-lrom1394 $RAW1394_LIBS $LIBS"
35301cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35302/* end confdefs.h.  */
35303
35304/* Override any GCC internal prototype to avoid an error.
35305   Use char because int might match the return type of a GCC
35306   builtin and then its argument prototype would still apply.  */
35307#ifdef __cplusplus
35308extern "C"
35309#endif
35310char rom1394_free_directory ();
35311int
35312main ()
35313{
35314return rom1394_free_directory ();
35315  ;
35316  return 0;
35317}
35318_ACEOF
35319if ac_fn_c_try_link "$LINENO"; then :
35320  ac_cv_lib_rom1394_rom1394_free_directory=yes
35321else
35322  ac_cv_lib_rom1394_rom1394_free_directory=no
35323fi
35324rm -f core conftest.err conftest.$ac_objext \
35325    conftest$ac_exeext conftest.$ac_ext
35326LIBS=$ac_check_lib_save_LIBS
35327fi
35328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rom1394_rom1394_free_directory" >&5
35329$as_echo "$ac_cv_lib_rom1394_rom1394_free_directory" >&6; }
35330if test "x$ac_cv_lib_rom1394_rom1394_free_directory" = xyes; then :
35331  HAVE_ROM1394=yes
35332else
35333  HAVE_ROM1394=no
35334fi
35335
35336  if test "x$HAVE_ROM1394" = "xyes"; then
35337    ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/rom1394.h" "ac_cv_header_libavc1394_rom1394_h" "$ac_includes_default"
35338if test "x$ac_cv_header_libavc1394_rom1394_h" = xyes; then :
35339  :
35340else
35341  HAVE_ROM1394=no
35342fi
35343
35344
35345    if test "x$HAVE_ROM1394" = "xyes"; then
35346            ROM1394_LIBS="-lrom1394"
35347    else
35348      :
35349    fi
35350  else
35351    :
35352  fi
35353
35354
35355
35356       if test x$HAVE_AVC1394 = xyes && \
35357          test x$HAVE_AVC1394 = xyes && \
35358	  test x$HAVE_ROM1394 = xyes; then
35359	  HAVE_DV1394=yes
35360          DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS $LIBIEC61883_LIBS"
35361          DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883"
35362
35363
35364	fi
35365  else
35366       if test x$HAVE_RAW1394 = xno; then
35367
35368  which="libraw1394 >= 1.1.0"
35369    required="no"
35370
35371
35372pkg_failed=no
35373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAW1394" >&5
35374$as_echo_n "checking for RAW1394... " >&6; }
35375
35376if test -n "$PKG_CONFIG"; then
35377    if test -n "$RAW1394_CFLAGS"; then
35378        pkg_cv_RAW1394_CFLAGS="$RAW1394_CFLAGS"
35379    else
35380        if test -n "$PKG_CONFIG" && \
35381    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35382  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35383  ac_status=$?
35384  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35385  test $ac_status = 0; }; then
35386  pkg_cv_RAW1394_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
35387else
35388  pkg_failed=yes
35389fi
35390    fi
35391else
35392	pkg_failed=untried
35393fi
35394if test -n "$PKG_CONFIG"; then
35395    if test -n "$RAW1394_LIBS"; then
35396        pkg_cv_RAW1394_LIBS="$RAW1394_LIBS"
35397    else
35398        if test -n "$PKG_CONFIG" && \
35399    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35400  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35401  ac_status=$?
35402  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35403  test $ac_status = 0; }; then
35404  pkg_cv_RAW1394_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
35405else
35406  pkg_failed=yes
35407fi
35408    fi
35409else
35410	pkg_failed=untried
35411fi
35412
35413
35414
35415if test $pkg_failed = yes; then
35416
35417if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35418        _pkg_short_errors_supported=yes
35419else
35420        _pkg_short_errors_supported=no
35421fi
35422        if test $_pkg_short_errors_supported = yes; then
35423	        RAW1394_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
35424        else
35425	        RAW1394_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
35426        fi
35427	# Put the nasty error message in config.log where it belongs
35428	echo "$RAW1394_PKG_ERRORS" >&5
35429
35430	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35431$as_echo "no" >&6; }
35432
35433      HAVE_RAW1394="no"
35434      if test "x$required" = "xyes"; then
35435        as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
35436      else
35437        { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
35438$as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
35439      fi
35440
35441elif test $pkg_failed = untried; then
35442
35443      HAVE_RAW1394="no"
35444      if test "x$required" = "xyes"; then
35445        as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
35446      else
35447        { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
35448$as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
35449      fi
35450
35451else
35452	RAW1394_CFLAGS=$pkg_cv_RAW1394_CFLAGS
35453	RAW1394_LIBS=$pkg_cv_RAW1394_LIBS
35454        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35455$as_echo "yes" >&6; }
35456
35457      HAVE_RAW1394="yes"
35458
35459fi
35460
35461
35462
35463  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avc1394_send_command in -lavc1394" >&5
35464$as_echo_n "checking for avc1394_send_command in -lavc1394... " >&6; }
35465if ${ac_cv_lib_avc1394_avc1394_send_command+:} false; then :
35466  $as_echo_n "(cached) " >&6
35467else
35468  ac_check_lib_save_LIBS=$LIBS
35469LIBS="-lavc1394 $RAW1394_LIBS $LIBS"
35470cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35471/* end confdefs.h.  */
35472
35473/* Override any GCC internal prototype to avoid an error.
35474   Use char because int might match the return type of a GCC
35475   builtin and then its argument prototype would still apply.  */
35476#ifdef __cplusplus
35477extern "C"
35478#endif
35479char avc1394_send_command ();
35480int
35481main ()
35482{
35483return avc1394_send_command ();
35484  ;
35485  return 0;
35486}
35487_ACEOF
35488if ac_fn_c_try_link "$LINENO"; then :
35489  ac_cv_lib_avc1394_avc1394_send_command=yes
35490else
35491  ac_cv_lib_avc1394_avc1394_send_command=no
35492fi
35493rm -f core conftest.err conftest.$ac_objext \
35494    conftest$ac_exeext conftest.$ac_ext
35495LIBS=$ac_check_lib_save_LIBS
35496fi
35497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avc1394_avc1394_send_command" >&5
35498$as_echo "$ac_cv_lib_avc1394_avc1394_send_command" >&6; }
35499if test "x$ac_cv_lib_avc1394_avc1394_send_command" = xyes; then :
35500  HAVE_AVC1394=yes
35501else
35502  HAVE_AVC1394=no
35503fi
35504
35505  if test "x$HAVE_AVC1394" = "xyes"; then
35506    ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/avc1394.h" "ac_cv_header_libavc1394_avc1394_h" "$ac_includes_default"
35507if test "x$ac_cv_header_libavc1394_avc1394_h" = xyes; then :
35508  :
35509else
35510  HAVE_AVC1394=no
35511fi
35512
35513
35514    if test "x$HAVE_AVC1394" = "xyes"; then
35515            AVC1394_LIBS="-lavc1394"
35516    else
35517      :
35518    fi
35519  else
35520    :
35521  fi
35522
35523
35524
35525
35526  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rom1394_free_directory in -lrom1394" >&5
35527$as_echo_n "checking for rom1394_free_directory in -lrom1394... " >&6; }
35528if ${ac_cv_lib_rom1394_rom1394_free_directory+:} false; then :
35529  $as_echo_n "(cached) " >&6
35530else
35531  ac_check_lib_save_LIBS=$LIBS
35532LIBS="-lrom1394 $RAW1394_LIBS $LIBS"
35533cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35534/* end confdefs.h.  */
35535
35536/* Override any GCC internal prototype to avoid an error.
35537   Use char because int might match the return type of a GCC
35538   builtin and then its argument prototype would still apply.  */
35539#ifdef __cplusplus
35540extern "C"
35541#endif
35542char rom1394_free_directory ();
35543int
35544main ()
35545{
35546return rom1394_free_directory ();
35547  ;
35548  return 0;
35549}
35550_ACEOF
35551if ac_fn_c_try_link "$LINENO"; then :
35552  ac_cv_lib_rom1394_rom1394_free_directory=yes
35553else
35554  ac_cv_lib_rom1394_rom1394_free_directory=no
35555fi
35556rm -f core conftest.err conftest.$ac_objext \
35557    conftest$ac_exeext conftest.$ac_ext
35558LIBS=$ac_check_lib_save_LIBS
35559fi
35560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rom1394_rom1394_free_directory" >&5
35561$as_echo "$ac_cv_lib_rom1394_rom1394_free_directory" >&6; }
35562if test "x$ac_cv_lib_rom1394_rom1394_free_directory" = xyes; then :
35563  HAVE_ROM1394=yes
35564else
35565  HAVE_ROM1394=no
35566fi
35567
35568  if test "x$HAVE_ROM1394" = "xyes"; then
35569    ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/rom1394.h" "ac_cv_header_libavc1394_rom1394_h" "$ac_includes_default"
35570if test "x$ac_cv_header_libavc1394_rom1394_h" = xyes; then :
35571  :
35572else
35573  HAVE_ROM1394=no
35574fi
35575
35576
35577    if test "x$HAVE_ROM1394" = "xyes"; then
35578            ROM1394_LIBS="-lrom1394"
35579    else
35580      :
35581    fi
35582  else
35583    :
35584  fi
35585
35586
35587
35588          if test x$HAVE_RAW1394 = xyes && \
35589	     test x$HAVE_AVC1394 = xyes && \
35590	     test x$HAVE_ROM1394 = xyes; then
35591	     HAVE_DV1394=yes
35592	     DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS"
35593	     DV1394_CFLAGS="$RAW1394_CFLAGS"
35594	     if test x$HAVE_LIBIEC61883 = xyes; then
35595	       DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883"
35596	       DV1394_LIBS="$DV1394_LIBS $LIBIEC61883_LIBS"
35597	     fi
35598
35599
35600           fi
35601	 fi
35602  fi
35603
35604
35605  LIBS=$gst_check_save_LIBS
35606  LDFLAGS=$gst_check_save_LDFLAGS
35607  CFLAGS=$gst_check_save_CFLAGS
35608  CPPFLAGS=$gst_check_save_CPPFLAGS
35609  CXXFLAGS=$gst_check_save_CXXFLAGS
35610
35611    if test x$HAVE_DV1394 = xno; then
35612    USE_DV1394=no
35613  else
35614    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: 1394" >&5
35615$as_echo "$as_me: *** These plugins will be built: 1394" >&6;}
35616  fi
35617fi
35618if test x$USE_DV1394 = xyes; then
35619  :
35620  if test "x1394" != "x"; then
35621    GST_PLUGINS_YES="\t1394\n$GST_PLUGINS_YES"
35622  fi
35623
35624$as_echo "#define HAVE_DV1394 /**/" >>confdefs.h
35625
35626else
35627  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: 1394" >&5
35628$as_echo "$as_me: *** These plugins will not be built: 1394" >&6;}
35629  if test "x1394" != "x"; then
35630    GST_PLUGINS_NO="\t1394\n$GST_PLUGINS_NO"
35631  fi
35632  :
35633fi
35634 if test x$USE_DV1394 = xyes; then
35635  USE_DV1394_TRUE=
35636  USE_DV1394_FALSE='#'
35637else
35638  USE_DV1394_TRUE='#'
35639  USE_DV1394_FALSE=
35640fi
35641
35642
35643 if  test "x${HAVE_LIBIEC61883}" = xyes  ; then
35644  USE_LIBIEC61883_TRUE=
35645  USE_LIBIEC61883_FALSE='#'
35646else
35647  USE_LIBIEC61883_TRUE='#'
35648  USE_LIBIEC61883_FALSE=
35649fi
35650
35651
35652echo
35653{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Qt elements ***" >&5
35654$as_echo "$as_me: *** checking feature: Qt elements ***" >&6;}
35655if test "xqt" != "x"
35656then
35657  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: qt ***" >&5
35658$as_echo "$as_me: *** for plug-ins: qt ***" >&6;}
35659fi
35660NOUSE=
35661if test "x$USE_QT" = "xno"; then
35662  NOUSE="yes"
35663fi
35664# Check whether --enable-qt was given.
35665if test "${enable_qt+set}" = set; then :
35666  enableval=$enable_qt;  case "${enableval}" in
35667      yes) USE_QT=yes;;
35668      no) USE_QT=no;;
35669      *) as_fn_error $? "bad value ${enableval} for --enable-qt" "$LINENO" 5 ;;
35670    esac
35671else
35672   USE_QT=yes
35673fi
35674
35675if test "x$NOUSE" = "xyes"; then
35676  USE_QT="no"
35677  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** qt pre-configured not to be built" >&5
35678$as_echo "$as_me: WARNING: *** qt pre-configured not to be built" >&2;}
35679fi
35680NOUSE=
35681
35682if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " QT " > /dev/null; then
35683  USE_QT="no"
35684  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** qt not ported" >&5
35685$as_echo "$as_me: WARNING: *** qt not ported" >&2;}
35686fi
35687
35688
35689if test x$USE_QT = xyes; then
35690
35691  gst_check_save_LIBS=$LIBS
35692  gst_check_save_LDFLAGS=$LDFLAGS
35693  gst_check_save_CFLAGS=$CFLAGS
35694  gst_check_save_CPPFLAGS=$CPPFLAGS
35695  gst_check_save_CXXFLAGS=$CXXFLAGS
35696
35697  HAVE_QT=no
35698
35699
35700pkg_failed=no
35701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
35702$as_echo_n "checking for QT... " >&6; }
35703
35704if test -n "$PKG_CONFIG"; then
35705    if test -n "$QT_CFLAGS"; then
35706        pkg_cv_QT_CFLAGS="$QT_CFLAGS"
35707    else
35708        if test -n "$PKG_CONFIG" && \
35709    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core Qt5Gui Qt5Qml Qt5Quick >= 5.4.0\""; } >&5
35710  ($PKG_CONFIG --exists --print-errors "Qt5Core Qt5Gui Qt5Qml Qt5Quick >= 5.4.0") 2>&5
35711  ac_status=$?
35712  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35713  test $ac_status = 0; }; then
35714  pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "Qt5Core Qt5Gui Qt5Qml Qt5Quick >= 5.4.0" 2>/dev/null`
35715else
35716  pkg_failed=yes
35717fi
35718    fi
35719else
35720	pkg_failed=untried
35721fi
35722if test -n "$PKG_CONFIG"; then
35723    if test -n "$QT_LIBS"; then
35724        pkg_cv_QT_LIBS="$QT_LIBS"
35725    else
35726        if test -n "$PKG_CONFIG" && \
35727    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core Qt5Gui Qt5Qml Qt5Quick >= 5.4.0\""; } >&5
35728  ($PKG_CONFIG --exists --print-errors "Qt5Core Qt5Gui Qt5Qml Qt5Quick >= 5.4.0") 2>&5
35729  ac_status=$?
35730  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35731  test $ac_status = 0; }; then
35732  pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "Qt5Core Qt5Gui Qt5Qml Qt5Quick >= 5.4.0" 2>/dev/null`
35733else
35734  pkg_failed=yes
35735fi
35736    fi
35737else
35738	pkg_failed=untried
35739fi
35740
35741
35742
35743if test $pkg_failed = yes; then
35744
35745if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35746        _pkg_short_errors_supported=yes
35747else
35748        _pkg_short_errors_supported=no
35749fi
35750        if test $_pkg_short_errors_supported = yes; then
35751	        QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "Qt5Core Qt5Gui Qt5Qml Qt5Quick >= 5.4.0"`
35752        else
35753	        QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "Qt5Core Qt5Gui Qt5Qml Qt5Quick >= 5.4.0"`
35754        fi
35755	# Put the nasty error message in config.log where it belongs
35756	echo "$QT_PKG_ERRORS" >&5
35757
35758	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35759$as_echo "no" >&6; }
35760
35761      HAVE_QT="no"
35762
35763elif test $pkg_failed = untried; then
35764
35765      HAVE_QT="no"
35766
35767else
35768	QT_CFLAGS=$pkg_cv_QT_CFLAGS
35769	QT_LIBS=$pkg_cv_QT_LIBS
35770        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35771$as_echo "yes" >&6; }
35772
35773      QT_PATH=`$PKG_CONFIG --variable=exec_prefix Qt5Core`
35774      QT_HOST_PATH=`$PKG_CONFIG --variable=host_bins Qt5Core`
35775
35776# Check whether --with-moc was given.
35777if test "${with_moc+set}" = set; then :
35778  withval=$with_moc; MOC=$withval
35779fi
35780
35781      for ac_prog in moc-qt5 moc
35782do
35783  # Extract the first word of "$ac_prog", so it can be a program name with args.
35784set dummy $ac_prog; ac_word=$2
35785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
35786$as_echo_n "checking for $ac_word... " >&6; }
35787if ${ac_cv_path_MOC+:} false; then :
35788  $as_echo_n "(cached) " >&6
35789else
35790  case $MOC in
35791  [\\/]* | ?:[\\/]*)
35792  ac_cv_path_MOC="$MOC" # Let the user override the test with a path.
35793  ;;
35794  *)
35795  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35796for as_dir in "${QT_HOST_PATH}" "${QT_PATH}/bin"
35797do
35798  IFS=$as_save_IFS
35799  test -z "$as_dir" && as_dir=.
35800    for ac_exec_ext in '' $ac_executable_extensions; do
35801  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35802    ac_cv_path_MOC="$as_dir/$ac_word$ac_exec_ext"
35803    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
35804    break 2
35805  fi
35806done
35807  done
35808IFS=$as_save_IFS
35809
35810  ;;
35811esac
35812fi
35813MOC=$ac_cv_path_MOC
35814if test -n "$MOC"; then
35815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
35816$as_echo "$MOC" >&6; }
35817else
35818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35819$as_echo "no" >&6; }
35820fi
35821
35822
35823  test -n "$MOC" && break
35824done
35825test -n "$MOC" || MOC="moc"
35826
35827
35828# Check whether --with-rcc was given.
35829if test "${with_rcc+set}" = set; then :
35830  withval=$with_rcc; RCC=$withval
35831fi
35832
35833      for ac_prog in rcc-qt5 rcc
35834do
35835  # Extract the first word of "$ac_prog", so it can be a program name with args.
35836set dummy $ac_prog; ac_word=$2
35837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
35838$as_echo_n "checking for $ac_word... " >&6; }
35839if ${ac_cv_path_RCC+:} false; then :
35840  $as_echo_n "(cached) " >&6
35841else
35842  case $RCC in
35843  [\\/]* | ?:[\\/]*)
35844  ac_cv_path_RCC="$RCC" # Let the user override the test with a path.
35845  ;;
35846  *)
35847  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35848for as_dir in "${QT_HOST_PATH}" "${QT_PATH}/bin"
35849do
35850  IFS=$as_save_IFS
35851  test -z "$as_dir" && as_dir=.
35852    for ac_exec_ext in '' $ac_executable_extensions; do
35853  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35854    ac_cv_path_RCC="$as_dir/$ac_word$ac_exec_ext"
35855    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
35856    break 2
35857  fi
35858done
35859  done
35860IFS=$as_save_IFS
35861
35862  ;;
35863esac
35864fi
35865RCC=$ac_cv_path_RCC
35866if test -n "$RCC"; then
35867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RCC" >&5
35868$as_echo "$RCC" >&6; }
35869else
35870  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35871$as_echo "no" >&6; }
35872fi
35873
35874
35875  test -n "$RCC" && break
35876done
35877test -n "$RCC" || RCC="rcc"
35878
35879
35880# Check whether --with-uic was given.
35881if test "${with_uic+set}" = set; then :
35882  withval=$with_uic; UIC=$withval
35883fi
35884
35885      for ac_prog in uic-qt5 uic
35886do
35887  # Extract the first word of "$ac_prog", so it can be a program name with args.
35888set dummy $ac_prog; ac_word=$2
35889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
35890$as_echo_n "checking for $ac_word... " >&6; }
35891if ${ac_cv_path_UIC+:} false; then :
35892  $as_echo_n "(cached) " >&6
35893else
35894  case $UIC in
35895  [\\/]* | ?:[\\/]*)
35896  ac_cv_path_UIC="$UIC" # Let the user override the test with a path.
35897  ;;
35898  *)
35899  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35900for as_dir in "${QT_HOST_PATH}" "${QT_PATH}/bin"
35901do
35902  IFS=$as_save_IFS
35903  test -z "$as_dir" && as_dir=.
35904    for ac_exec_ext in '' $ac_executable_extensions; do
35905  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35906    ac_cv_path_UIC="$as_dir/$ac_word$ac_exec_ext"
35907    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
35908    break 2
35909  fi
35910done
35911  done
35912IFS=$as_save_IFS
35913
35914  ;;
35915esac
35916fi
35917UIC=$ac_cv_path_UIC
35918if test -n "$UIC"; then
35919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UIC" >&5
35920$as_echo "$UIC" >&6; }
35921else
35922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35923$as_echo "no" >&6; }
35924fi
35925
35926
35927  test -n "$UIC" && break
35928done
35929test -n "$UIC" || UIC="uic"
35930
35931      if test "x$MOC" = "x" || test "x$UIC" = "x" || test "x$RCC" = "x"; then
35932        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: One of the required qt build programs was not found" >&5
35933$as_echo "$as_me: WARNING: One of the required qt build programs was not found" >&2;}
35934        HAVE_QT="no"
35935      else
35936        HAVE_QT="yes"
35937        HAVE_QT_WINDOWING="no"
35938        QT_VERSION="`$PKG_CONFIG --define-prefix --modversion Qt5Core`"
35939        QPA_INCLUDE_PATH=`$PKG_CONFIG --variable=includedir Qt5Core`/QtGui/${QT_VERSION}/QtGui
35940        if test -f "$PKG_CONFIG_SYSROOT_DIR/$QPA_INCLUDE_PATH/qpa/qplatformnativeinterface.h"; then :
35941
35942          QT_CFLAGS="$QT_CFLAGS -I$PKG_CONFIG_SYSROOT_DIR/$QPA_INCLUDE_PATH"
35943          HAVE_QT_QPA_HEADER="yes"
35944
35945$as_echo "#define HAVE_QT_QPA_HEADER /**/" >>confdefs.h
35946
35947
35948else
35949  { $as_echo "$as_me:${as_lineno-$LINENO}: Cannot find QPA" >&5
35950$as_echo "$as_me: Cannot find QPA" >&6;}
35951fi
35952        if test "x$GST_GL_HAVE_WINDOW_X11" = "x1" -a "x$GST_GL_HAVE_PLATFORM_GLX" = "x1" || test "x$GST_GL_HAVE_WINDOW_X11" = "x1" -a "x$GST_GL_HAVE_PLATFORM_EGL" = "x1"; then
35953
35954pkg_failed=no
35955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_X11" >&5
35956$as_echo_n "checking for QT_X11... " >&6; }
35957
35958if test -n "$PKG_CONFIG"; then
35959    if test -n "$QT_X11_CFLAGS"; then
35960        pkg_cv_QT_X11_CFLAGS="$QT_X11_CFLAGS"
35961    else
35962        if test -n "$PKG_CONFIG" && \
35963    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5X11Extras\""; } >&5
35964  ($PKG_CONFIG --exists --print-errors "Qt5X11Extras") 2>&5
35965  ac_status=$?
35966  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35967  test $ac_status = 0; }; then
35968  pkg_cv_QT_X11_CFLAGS=`$PKG_CONFIG --cflags "Qt5X11Extras" 2>/dev/null`
35969else
35970  pkg_failed=yes
35971fi
35972    fi
35973else
35974	pkg_failed=untried
35975fi
35976if test -n "$PKG_CONFIG"; then
35977    if test -n "$QT_X11_LIBS"; then
35978        pkg_cv_QT_X11_LIBS="$QT_X11_LIBS"
35979    else
35980        if test -n "$PKG_CONFIG" && \
35981    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5X11Extras\""; } >&5
35982  ($PKG_CONFIG --exists --print-errors "Qt5X11Extras") 2>&5
35983  ac_status=$?
35984  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35985  test $ac_status = 0; }; then
35986  pkg_cv_QT_X11_LIBS=`$PKG_CONFIG --libs "Qt5X11Extras" 2>/dev/null`
35987else
35988  pkg_failed=yes
35989fi
35990    fi
35991else
35992	pkg_failed=untried
35993fi
35994
35995
35996
35997if test $pkg_failed = yes; then
35998
35999if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36000        _pkg_short_errors_supported=yes
36001else
36002        _pkg_short_errors_supported=no
36003fi
36004        if test $_pkg_short_errors_supported = yes; then
36005	        QT_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "Qt5X11Extras"`
36006        else
36007	        QT_X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "Qt5X11Extras"`
36008        fi
36009	# Put the nasty error message in config.log where it belongs
36010	echo "$QT_X11_PKG_ERRORS" >&5
36011
36012	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36013$as_echo "no" >&6; }
36014                { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find Qt X11 integration" >&5
36015$as_echo "$as_me: Could not find Qt X11 integration" >&6;}
36016elif test $pkg_failed = untried; then
36017	{ $as_echo "$as_me:${as_lineno-$LINENO}: Could not find Qt X11 integration" >&5
36018$as_echo "$as_me: Could not find Qt X11 integration" >&6;}
36019else
36020	QT_X11_CFLAGS=$pkg_cv_QT_X11_CFLAGS
36021	QT_X11_LIBS=$pkg_cv_QT_X11_LIBS
36022        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36023$as_echo "yes" >&6; }
36024
36025
36026$as_echo "#define HAVE_QT_X11 /**/" >>confdefs.h
36027
36028            QT_CFLAGS="$QT_CFLAGS $QT_X11_CFLAGS"
36029            QT_LIBS="$QT_LIBS $QT_X11_LIBS"
36030            HAVE_QT_WINDOWING="yes"
36031
36032fi
36033        fi
36034        if test "x$GST_GL_HAVE_WINDOW_WAYLAND" = "x1" -a "x$GST_GL_HAVE_PLATFORM_EGL" = "x1" -a "x$HAVE_QT_QPA_HEADER" = "xyes"; then
36035
36036pkg_failed=no
36037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_WAYLAND" >&5
36038$as_echo_n "checking for QT_WAYLAND... " >&6; }
36039
36040if test -n "$PKG_CONFIG"; then
36041    if test -n "$QT_WAYLAND_CFLAGS"; then
36042        pkg_cv_QT_WAYLAND_CFLAGS="$QT_WAYLAND_CFLAGS"
36043    else
36044        if test -n "$PKG_CONFIG" && \
36045    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5WaylandClient\""; } >&5
36046  ($PKG_CONFIG --exists --print-errors "Qt5WaylandClient") 2>&5
36047  ac_status=$?
36048  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36049  test $ac_status = 0; }; then
36050  pkg_cv_QT_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags "Qt5WaylandClient" 2>/dev/null`
36051else
36052  pkg_failed=yes
36053fi
36054    fi
36055else
36056	pkg_failed=untried
36057fi
36058if test -n "$PKG_CONFIG"; then
36059    if test -n "$QT_WAYLAND_LIBS"; then
36060        pkg_cv_QT_WAYLAND_LIBS="$QT_WAYLAND_LIBS"
36061    else
36062        if test -n "$PKG_CONFIG" && \
36063    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5WaylandClient\""; } >&5
36064  ($PKG_CONFIG --exists --print-errors "Qt5WaylandClient") 2>&5
36065  ac_status=$?
36066  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36067  test $ac_status = 0; }; then
36068  pkg_cv_QT_WAYLAND_LIBS=`$PKG_CONFIG --libs "Qt5WaylandClient" 2>/dev/null`
36069else
36070  pkg_failed=yes
36071fi
36072    fi
36073else
36074	pkg_failed=untried
36075fi
36076
36077
36078
36079if test $pkg_failed = yes; then
36080
36081if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36082        _pkg_short_errors_supported=yes
36083else
36084        _pkg_short_errors_supported=no
36085fi
36086        if test $_pkg_short_errors_supported = yes; then
36087	        QT_WAYLAND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "Qt5WaylandClient"`
36088        else
36089	        QT_WAYLAND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "Qt5WaylandClient"`
36090        fi
36091	# Put the nasty error message in config.log where it belongs
36092	echo "$QT_WAYLAND_PKG_ERRORS" >&5
36093
36094	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36095$as_echo "no" >&6; }
36096                { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find Qt Wayland integration" >&5
36097$as_echo "$as_me: Could not find Qt Wayland integration" >&6;}
36098elif test $pkg_failed = untried; then
36099	{ $as_echo "$as_me:${as_lineno-$LINENO}: Could not find Qt Wayland integration" >&5
36100$as_echo "$as_me: Could not find Qt Wayland integration" >&6;}
36101else
36102	QT_WAYLAND_CFLAGS=$pkg_cv_QT_WAYLAND_CFLAGS
36103	QT_WAYLAND_LIBS=$pkg_cv_QT_WAYLAND_LIBS
36104        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36105$as_echo "yes" >&6; }
36106
36107
36108$as_echo "#define HAVE_QT_WAYLAND /**/" >>confdefs.h
36109
36110            QT_CFLAGS="$QT_CFLAGS $QT_WAYLAND_CFLAGS"
36111            QT_LIBS="$QT_LIBS $QT_WAYLAND_LIBS"
36112            HAVE_QT_WINDOWING="yes"
36113
36114fi
36115        fi
36116        if test "x$GST_GL_HAVE_PLATFORM_EGL" = "x1"; then
36117          if test "x$GST_GL_HAVE_WINDOW_ANDROID" = "x1"; then
36118
36119pkg_failed=no
36120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_ANDROID" >&5
36121$as_echo_n "checking for QT_ANDROID... " >&6; }
36122
36123if test -n "$PKG_CONFIG"; then
36124    if test -n "$QT_ANDROID_CFLAGS"; then
36125        pkg_cv_QT_ANDROID_CFLAGS="$QT_ANDROID_CFLAGS"
36126    else
36127        if test -n "$PKG_CONFIG" && \
36128    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5AndroidExtras\""; } >&5
36129  ($PKG_CONFIG --exists --print-errors "Qt5AndroidExtras") 2>&5
36130  ac_status=$?
36131  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36132  test $ac_status = 0; }; then
36133  pkg_cv_QT_ANDROID_CFLAGS=`$PKG_CONFIG --cflags "Qt5AndroidExtras" 2>/dev/null`
36134else
36135  pkg_failed=yes
36136fi
36137    fi
36138else
36139	pkg_failed=untried
36140fi
36141if test -n "$PKG_CONFIG"; then
36142    if test -n "$QT_ANDROID_LIBS"; then
36143        pkg_cv_QT_ANDROID_LIBS="$QT_ANDROID_LIBS"
36144    else
36145        if test -n "$PKG_CONFIG" && \
36146    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5AndroidExtras\""; } >&5
36147  ($PKG_CONFIG --exists --print-errors "Qt5AndroidExtras") 2>&5
36148  ac_status=$?
36149  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36150  test $ac_status = 0; }; then
36151  pkg_cv_QT_ANDROID_LIBS=`$PKG_CONFIG --libs "Qt5AndroidExtras" 2>/dev/null`
36152else
36153  pkg_failed=yes
36154fi
36155    fi
36156else
36157	pkg_failed=untried
36158fi
36159
36160
36161
36162if test $pkg_failed = yes; then
36163
36164if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36165        _pkg_short_errors_supported=yes
36166else
36167        _pkg_short_errors_supported=no
36168fi
36169        if test $_pkg_short_errors_supported = yes; then
36170	        QT_ANDROID_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "Qt5AndroidExtras"`
36171        else
36172	        QT_ANDROID_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "Qt5AndroidExtras"`
36173        fi
36174	# Put the nasty error message in config.log where it belongs
36175	echo "$QT_ANDROID_PKG_ERRORS" >&5
36176
36177	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36178$as_echo "no" >&6; }
36179                { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find Qt Android integration" >&5
36180$as_echo "$as_me: Could not find Qt Android integration" >&6;}
36181elif test $pkg_failed = untried; then
36182	{ $as_echo "$as_me:${as_lineno-$LINENO}: Could not find Qt Android integration" >&5
36183$as_echo "$as_me: Could not find Qt Android integration" >&6;}
36184else
36185	QT_ANDROID_CFLAGS=$pkg_cv_QT_ANDROID_CFLAGS
36186	QT_ANDROID_LIBS=$pkg_cv_QT_ANDROID_LIBS
36187        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36188$as_echo "yes" >&6; }
36189
36190              # c++ on android requires a standard library and there are multiple
36191              # choices.  cerbero provides a pkg-config file the describes a choice
36192              # so try to use that.  Outside cerbero one has to pass these flags
36193              # manually for the library one is using
36194
36195pkg_failed=no
36196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUSTL" >&5
36197$as_echo_n "checking for GNUSTL... " >&6; }
36198
36199if test -n "$PKG_CONFIG"; then
36200    if test -n "$GNUSTL_CFLAGS"; then
36201        pkg_cv_GNUSTL_CFLAGS="$GNUSTL_CFLAGS"
36202    else
36203        if test -n "$PKG_CONFIG" && \
36204    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnustl\""; } >&5
36205  ($PKG_CONFIG --exists --print-errors "gnustl") 2>&5
36206  ac_status=$?
36207  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36208  test $ac_status = 0; }; then
36209  pkg_cv_GNUSTL_CFLAGS=`$PKG_CONFIG --cflags "gnustl" 2>/dev/null`
36210else
36211  pkg_failed=yes
36212fi
36213    fi
36214else
36215	pkg_failed=untried
36216fi
36217if test -n "$PKG_CONFIG"; then
36218    if test -n "$GNUSTL_LIBS"; then
36219        pkg_cv_GNUSTL_LIBS="$GNUSTL_LIBS"
36220    else
36221        if test -n "$PKG_CONFIG" && \
36222    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnustl\""; } >&5
36223  ($PKG_CONFIG --exists --print-errors "gnustl") 2>&5
36224  ac_status=$?
36225  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36226  test $ac_status = 0; }; then
36227  pkg_cv_GNUSTL_LIBS=`$PKG_CONFIG --libs "gnustl" 2>/dev/null`
36228else
36229  pkg_failed=yes
36230fi
36231    fi
36232else
36233	pkg_failed=untried
36234fi
36235
36236
36237
36238if test $pkg_failed = yes; then
36239
36240if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36241        _pkg_short_errors_supported=yes
36242else
36243        _pkg_short_errors_supported=no
36244fi
36245        if test $_pkg_short_errors_supported = yes; then
36246	        GNUSTL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnustl"`
36247        else
36248	        GNUSTL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnustl"`
36249        fi
36250	# Put the nasty error message in config.log where it belongs
36251	echo "$GNUSTL_PKG_ERRORS" >&5
36252
36253	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36254$as_echo "no" >&6; }
36255
36256                { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find Standard C++ library" >&5
36257$as_echo "$as_me: Could not find Standard C++ library" >&6;}
36258elif test $pkg_failed = untried; then
36259
36260                { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find Standard C++ library" >&5
36261$as_echo "$as_me: Could not find Standard C++ library" >&6;}
36262else
36263	GNUSTL_CFLAGS=$pkg_cv_GNUSTL_CFLAGS
36264	GNUSTL_LIBS=$pkg_cv_GNUSTL_LIBS
36265        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36266$as_echo "yes" >&6; }
36267
36268                QT_CFLAGS="$QT_CFLAGS $GNUSTL_CFLAGS"
36269                QT_LIBS="$QT_LIBS $GNUSTL_LIBS"
36270
36271fi
36272
36273$as_echo "#define HAVE_QT_ANDROID /**/" >>confdefs.h
36274
36275              QT_CFLAGS="$QT_CFLAGS $QT_ANDROID_CFLAGS"
36276              QT_LIBS="$QT_LIBS $QT_ANDROID_LIBS"
36277              HAVE_QT_WINDOWING="yes"
36278
36279fi
36280          else
36281
36282$as_echo "#define HAVE_QT_EGLFS /**/" >>confdefs.h
36283
36284              HAVE_QT_WINDOWING="yes"
36285          fi
36286        fi
36287        if test "x$GST_GL_HAVE_WINDOW_COCOA" = "x1" -a "x$GST_GL_HAVE_PLATFORM_CGL" = "x1"; then
36288
36289pkg_failed=no
36290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_MAC" >&5
36291$as_echo_n "checking for QT_MAC... " >&6; }
36292
36293if test -n "$PKG_CONFIG"; then
36294    if test -n "$QT_MAC_CFLAGS"; then
36295        pkg_cv_QT_MAC_CFLAGS="$QT_MAC_CFLAGS"
36296    else
36297        if test -n "$PKG_CONFIG" && \
36298    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5MacExtras\""; } >&5
36299  ($PKG_CONFIG --exists --print-errors "Qt5MacExtras") 2>&5
36300  ac_status=$?
36301  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36302  test $ac_status = 0; }; then
36303  pkg_cv_QT_MAC_CFLAGS=`$PKG_CONFIG --cflags "Qt5MacExtras" 2>/dev/null`
36304else
36305  pkg_failed=yes
36306fi
36307    fi
36308else
36309	pkg_failed=untried
36310fi
36311if test -n "$PKG_CONFIG"; then
36312    if test -n "$QT_MAC_LIBS"; then
36313        pkg_cv_QT_MAC_LIBS="$QT_MAC_LIBS"
36314    else
36315        if test -n "$PKG_CONFIG" && \
36316    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5MacExtras\""; } >&5
36317  ($PKG_CONFIG --exists --print-errors "Qt5MacExtras") 2>&5
36318  ac_status=$?
36319  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36320  test $ac_status = 0; }; then
36321  pkg_cv_QT_MAC_LIBS=`$PKG_CONFIG --libs "Qt5MacExtras" 2>/dev/null`
36322else
36323  pkg_failed=yes
36324fi
36325    fi
36326else
36327	pkg_failed=untried
36328fi
36329
36330
36331
36332if test $pkg_failed = yes; then
36333
36334if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36335        _pkg_short_errors_supported=yes
36336else
36337        _pkg_short_errors_supported=no
36338fi
36339        if test $_pkg_short_errors_supported = yes; then
36340	        QT_MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "Qt5MacExtras"`
36341        else
36342	        QT_MAC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "Qt5MacExtras"`
36343        fi
36344	# Put the nasty error message in config.log where it belongs
36345	echo "$QT_MAC_PKG_ERRORS" >&5
36346
36347	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36348$as_echo "no" >&6; }
36349                { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find Qt Mac integration" >&5
36350$as_echo "$as_me: Could not find Qt Mac integration" >&6;}
36351elif test $pkg_failed = untried; then
36352	{ $as_echo "$as_me:${as_lineno-$LINENO}: Could not find Qt Mac integration" >&5
36353$as_echo "$as_me: Could not find Qt Mac integration" >&6;}
36354else
36355	QT_MAC_CFLAGS=$pkg_cv_QT_MAC_CFLAGS
36356	QT_MAC_LIBS=$pkg_cv_QT_MAC_LIBS
36357        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36358$as_echo "yes" >&6; }
36359
36360
36361$as_echo "#define HAVE_QT_MAC /**/" >>confdefs.h
36362
36363            QT_LIBDIR=`$PKG_CONFIG --variable=libdir Qt5Core`
36364            QT_CFLAGS="$QT_CFLAGS $QT_MAC_CFLAGS -F$QT_LIBDIR -framework QtCore -framework QtGui -framework QtQuick -framework QtQml -framework QtMacExtras"
36365            QT_LIBS="$QT_LIBS $QT_MAC_LIBS"
36366            HAVE_QT_WINDOWING="yes"
36367
36368fi
36369        fi
36370        if test "x$GST_GL_HAVE_WINDOW_EAGL" = "x1" -a "x$GST_GL_HAVE_PLATFORM_EAGL" = "x1"; then
36371          if test "x$HAVE_IOS" = "xyes"; then
36372            # iOS doesn't have its own extras package so if we have the core
36373            # modules we are good to go
36374
36375$as_echo "#define HAVE_QT_IOS /**/" >>confdefs.h
36376
36377            HAVE_QT_WINDOWING="yes"
36378          fi
36379        fi
36380        if test "x$HAVE_QT_WINDOWING" = "xno"; then
36381          { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find any Qt Windowing integration" >&5
36382$as_echo "$as_me: WARNING: Could not find any Qt Windowing integration" >&2;}
36383          HAVE_QT="no"
36384        fi
36385
36386
36387      fi
36388
36389fi
36390
36391
36392  LIBS=$gst_check_save_LIBS
36393  LDFLAGS=$gst_check_save_LDFLAGS
36394  CFLAGS=$gst_check_save_CFLAGS
36395  CPPFLAGS=$gst_check_save_CPPFLAGS
36396  CXXFLAGS=$gst_check_save_CXXFLAGS
36397
36398    if test x$HAVE_QT = xno; then
36399    USE_QT=no
36400  else
36401    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: qt" >&5
36402$as_echo "$as_me: *** These plugins will be built: qt" >&6;}
36403  fi
36404fi
36405if test x$USE_QT = xyes; then
36406  :
36407  if test "xqt" != "x"; then
36408    GST_PLUGINS_YES="\tqt\n$GST_PLUGINS_YES"
36409  fi
36410
36411$as_echo "#define HAVE_QT /**/" >>confdefs.h
36412
36413else
36414  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: qt" >&5
36415$as_echo "$as_me: *** These plugins will not be built: qt" >&6;}
36416  if test "xqt" != "x"; then
36417    GST_PLUGINS_NO="\tqt\n$GST_PLUGINS_NO"
36418  fi
36419  :
36420fi
36421 if test x$USE_QT = xyes; then
36422  USE_QT_TRUE=
36423  USE_QT_FALSE='#'
36424else
36425  USE_QT_TRUE='#'
36426  USE_QT_FALSE=
36427fi
36428
36429
36430
36431echo
36432{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Shoutcast/Icecast client library ***" >&5
36433$as_echo "$as_me: *** checking feature: Shoutcast/Icecast client library ***" >&6;}
36434if test "xshout2" != "x"
36435then
36436  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: shout2 ***" >&5
36437$as_echo "$as_me: *** for plug-ins: shout2 ***" >&6;}
36438fi
36439NOUSE=
36440if test "x$USE_SHOUT2" = "xno"; then
36441  NOUSE="yes"
36442fi
36443# Check whether --enable-shout2 was given.
36444if test "${enable_shout2+set}" = set; then :
36445  enableval=$enable_shout2;  case "${enableval}" in
36446      yes) USE_SHOUT2=yes;;
36447      no) USE_SHOUT2=no;;
36448      *) as_fn_error $? "bad value ${enableval} for --enable-shout2" "$LINENO" 5 ;;
36449    esac
36450else
36451   USE_SHOUT2=yes
36452fi
36453
36454if test "x$NOUSE" = "xyes"; then
36455  USE_SHOUT2="no"
36456  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** shout2 pre-configured not to be built" >&5
36457$as_echo "$as_me: WARNING: *** shout2 pre-configured not to be built" >&2;}
36458fi
36459NOUSE=
36460
36461if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " SHOUT2 " > /dev/null; then
36462  USE_SHOUT2="no"
36463  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** shout2 not ported" >&5
36464$as_echo "$as_me: WARNING: *** shout2 not ported" >&2;}
36465fi
36466
36467
36468if test x$USE_SHOUT2 = xyes; then
36469
36470  gst_check_save_LIBS=$LIBS
36471  gst_check_save_LDFLAGS=$LDFLAGS
36472  gst_check_save_CFLAGS=$CFLAGS
36473  gst_check_save_CPPFLAGS=$CPPFLAGS
36474  gst_check_save_CXXFLAGS=$CXXFLAGS
36475
36476  HAVE_SHOUT2=no
36477
36478
36479  which="shout >= 2.0"
36480    required="no"
36481
36482
36483pkg_failed=no
36484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHOUT2" >&5
36485$as_echo_n "checking for SHOUT2... " >&6; }
36486
36487if test -n "$PKG_CONFIG"; then
36488    if test -n "$SHOUT2_CFLAGS"; then
36489        pkg_cv_SHOUT2_CFLAGS="$SHOUT2_CFLAGS"
36490    else
36491        if test -n "$PKG_CONFIG" && \
36492    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
36493  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
36494  ac_status=$?
36495  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36496  test $ac_status = 0; }; then
36497  pkg_cv_SHOUT2_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
36498else
36499  pkg_failed=yes
36500fi
36501    fi
36502else
36503	pkg_failed=untried
36504fi
36505if test -n "$PKG_CONFIG"; then
36506    if test -n "$SHOUT2_LIBS"; then
36507        pkg_cv_SHOUT2_LIBS="$SHOUT2_LIBS"
36508    else
36509        if test -n "$PKG_CONFIG" && \
36510    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
36511  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
36512  ac_status=$?
36513  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36514  test $ac_status = 0; }; then
36515  pkg_cv_SHOUT2_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
36516else
36517  pkg_failed=yes
36518fi
36519    fi
36520else
36521	pkg_failed=untried
36522fi
36523
36524
36525
36526if test $pkg_failed = yes; then
36527
36528if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36529        _pkg_short_errors_supported=yes
36530else
36531        _pkg_short_errors_supported=no
36532fi
36533        if test $_pkg_short_errors_supported = yes; then
36534	        SHOUT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
36535        else
36536	        SHOUT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
36537        fi
36538	# Put the nasty error message in config.log where it belongs
36539	echo "$SHOUT2_PKG_ERRORS" >&5
36540
36541	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36542$as_echo "no" >&6; }
36543
36544      HAVE_SHOUT2="no"
36545      if test "x$required" = "xyes"; then
36546        as_fn_error $? "$SHOUT2_PKG_ERRORS" "$LINENO" 5
36547      else
36548        { $as_echo "$as_me:${as_lineno-$LINENO}: $SHOUT2_PKG_ERRORS" >&5
36549$as_echo "$as_me: $SHOUT2_PKG_ERRORS" >&6;}
36550      fi
36551
36552elif test $pkg_failed = untried; then
36553
36554      HAVE_SHOUT2="no"
36555      if test "x$required" = "xyes"; then
36556        as_fn_error $? "$SHOUT2_PKG_ERRORS" "$LINENO" 5
36557      else
36558        { $as_echo "$as_me:${as_lineno-$LINENO}: $SHOUT2_PKG_ERRORS" >&5
36559$as_echo "$as_me: $SHOUT2_PKG_ERRORS" >&6;}
36560      fi
36561
36562else
36563	SHOUT2_CFLAGS=$pkg_cv_SHOUT2_CFLAGS
36564	SHOUT2_LIBS=$pkg_cv_SHOUT2_LIBS
36565        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36566$as_echo "yes" >&6; }
36567
36568      HAVE_SHOUT2="yes"
36569
36570fi
36571
36572
36573
36574
36575  LIBS=$gst_check_save_LIBS
36576  LDFLAGS=$gst_check_save_LDFLAGS
36577  CFLAGS=$gst_check_save_CFLAGS
36578  CPPFLAGS=$gst_check_save_CPPFLAGS
36579  CXXFLAGS=$gst_check_save_CXXFLAGS
36580
36581    if test x$HAVE_SHOUT2 = xno; then
36582    USE_SHOUT2=no
36583  else
36584    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: shout2" >&5
36585$as_echo "$as_me: *** These plugins will be built: shout2" >&6;}
36586  fi
36587fi
36588if test x$USE_SHOUT2 = xyes; then
36589  :
36590  if test "xshout2" != "x"; then
36591    GST_PLUGINS_YES="\tshout2\n$GST_PLUGINS_YES"
36592  fi
36593
36594$as_echo "#define HAVE_SHOUT2 /**/" >>confdefs.h
36595
36596else
36597  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: shout2" >&5
36598$as_echo "$as_me: *** These plugins will not be built: shout2" >&6;}
36599  if test "xshout2" != "x"; then
36600    GST_PLUGINS_NO="\tshout2\n$GST_PLUGINS_NO"
36601  fi
36602  :
36603fi
36604 if test x$USE_SHOUT2 = xyes; then
36605  USE_SHOUT2_TRUE=
36606  USE_SHOUT2_FALSE='#'
36607else
36608  USE_SHOUT2_TRUE='#'
36609  USE_SHOUT2_FALSE=
36610fi
36611
36612
36613
36614echo
36615{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: soup http client plugin (2.4) ***" >&5
36616$as_echo "$as_me: *** checking feature: soup http client plugin (2.4) ***" >&6;}
36617if test "xsouphttpsrc" != "x"
36618then
36619  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: souphttpsrc ***" >&5
36620$as_echo "$as_me: *** for plug-ins: souphttpsrc ***" >&6;}
36621fi
36622NOUSE=
36623if test "x$USE_SOUP" = "xno"; then
36624  NOUSE="yes"
36625fi
36626# Check whether --enable-soup was given.
36627if test "${enable_soup+set}" = set; then :
36628  enableval=$enable_soup;  case "${enableval}" in
36629      yes) USE_SOUP=yes;;
36630      no) USE_SOUP=no;;
36631      *) as_fn_error $? "bad value ${enableval} for --enable-soup" "$LINENO" 5 ;;
36632    esac
36633else
36634   USE_SOUP=yes
36635fi
36636
36637if test "x$NOUSE" = "xyes"; then
36638  USE_SOUP="no"
36639  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** souphttpsrc pre-configured not to be built" >&5
36640$as_echo "$as_me: WARNING: *** souphttpsrc pre-configured not to be built" >&2;}
36641fi
36642NOUSE=
36643
36644if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " SOUP " > /dev/null; then
36645  USE_SOUP="no"
36646  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** souphttpsrc not ported" >&5
36647$as_echo "$as_me: WARNING: *** souphttpsrc not ported" >&2;}
36648fi
36649
36650
36651if test x$USE_SOUP = xyes; then
36652
36653  gst_check_save_LIBS=$LIBS
36654  gst_check_save_LDFLAGS=$LDFLAGS
36655  gst_check_save_CFLAGS=$CFLAGS
36656  gst_check_save_CPPFLAGS=$CPPFLAGS
36657  gst_check_save_CXXFLAGS=$CXXFLAGS
36658
36659  HAVE_SOUP=no
36660
36661
36662pkg_failed=no
36663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
36664$as_echo_n "checking for SOUP... " >&6; }
36665
36666if test -n "$PKG_CONFIG"; then
36667    if test -n "$SOUP_CFLAGS"; then
36668        pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
36669    else
36670        if test -n "$PKG_CONFIG" && \
36671    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.48\""; } >&5
36672  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.48") 2>&5
36673  ac_status=$?
36674  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36675  test $ac_status = 0; }; then
36676  pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.48" 2>/dev/null`
36677else
36678  pkg_failed=yes
36679fi
36680    fi
36681else
36682	pkg_failed=untried
36683fi
36684if test -n "$PKG_CONFIG"; then
36685    if test -n "$SOUP_LIBS"; then
36686        pkg_cv_SOUP_LIBS="$SOUP_LIBS"
36687    else
36688        if test -n "$PKG_CONFIG" && \
36689    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.48\""; } >&5
36690  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.48") 2>&5
36691  ac_status=$?
36692  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36693  test $ac_status = 0; }; then
36694  pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.48" 2>/dev/null`
36695else
36696  pkg_failed=yes
36697fi
36698    fi
36699else
36700	pkg_failed=untried
36701fi
36702
36703
36704
36705if test $pkg_failed = yes; then
36706
36707if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36708        _pkg_short_errors_supported=yes
36709else
36710        _pkg_short_errors_supported=no
36711fi
36712        if test $_pkg_short_errors_supported = yes; then
36713	        SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4 >= 2.48"`
36714        else
36715	        SOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4 >= 2.48"`
36716        fi
36717	# Put the nasty error message in config.log where it belongs
36718	echo "$SOUP_PKG_ERRORS" >&5
36719
36720	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36721$as_echo "no" >&6; }
36722                HAVE_SOUP="no"
36723elif test $pkg_failed = untried; then
36724	HAVE_SOUP="no"
36725else
36726	SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
36727	SOUP_LIBS=$pkg_cv_SOUP_LIBS
36728        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36729$as_echo "yes" >&6; }
36730	HAVE_SOUP="yes"
36731fi
36732
36733
36734
36735
36736  LIBS=$gst_check_save_LIBS
36737  LDFLAGS=$gst_check_save_LDFLAGS
36738  CFLAGS=$gst_check_save_CFLAGS
36739  CPPFLAGS=$gst_check_save_CPPFLAGS
36740  CXXFLAGS=$gst_check_save_CXXFLAGS
36741
36742    if test x$HAVE_SOUP = xno; then
36743    USE_SOUP=no
36744  else
36745    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: souphttpsrc" >&5
36746$as_echo "$as_me: *** These plugins will be built: souphttpsrc" >&6;}
36747  fi
36748fi
36749if test x$USE_SOUP = xyes; then
36750  :
36751  if test "xsouphttpsrc" != "x"; then
36752    GST_PLUGINS_YES="\tsouphttpsrc\n$GST_PLUGINS_YES"
36753  fi
36754
36755$as_echo "#define HAVE_SOUP /**/" >>confdefs.h
36756
36757else
36758  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: souphttpsrc" >&5
36759$as_echo "$as_me: *** These plugins will not be built: souphttpsrc" >&6;}
36760  if test "xsouphttpsrc" != "x"; then
36761    GST_PLUGINS_NO="\tsouphttpsrc\n$GST_PLUGINS_NO"
36762  fi
36763  :
36764fi
36765 if test x$USE_SOUP = xyes; then
36766  USE_SOUP_TRUE=
36767  USE_SOUP_FALSE='#'
36768else
36769  USE_SOUP_TRUE='#'
36770  USE_SOUP_FALSE=
36771fi
36772
36773
36774
36775echo
36776{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: speex speech codec ***" >&5
36777$as_echo "$as_me: *** checking feature: speex speech codec ***" >&6;}
36778if test "xspeex" != "x"
36779then
36780  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: speex ***" >&5
36781$as_echo "$as_me: *** for plug-ins: speex ***" >&6;}
36782fi
36783NOUSE=
36784if test "x$USE_SPEEX" = "xno"; then
36785  NOUSE="yes"
36786fi
36787# Check whether --enable-speex was given.
36788if test "${enable_speex+set}" = set; then :
36789  enableval=$enable_speex;  case "${enableval}" in
36790      yes) USE_SPEEX=yes;;
36791      no) USE_SPEEX=no;;
36792      *) as_fn_error $? "bad value ${enableval} for --enable-speex" "$LINENO" 5 ;;
36793    esac
36794else
36795   USE_SPEEX=yes
36796fi
36797
36798if test "x$NOUSE" = "xyes"; then
36799  USE_SPEEX="no"
36800  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** speex pre-configured not to be built" >&5
36801$as_echo "$as_me: WARNING: *** speex pre-configured not to be built" >&2;}
36802fi
36803NOUSE=
36804
36805if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " SPEEX " > /dev/null; then
36806  USE_SPEEX="no"
36807  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** speex not ported" >&5
36808$as_echo "$as_me: WARNING: *** speex not ported" >&2;}
36809fi
36810
36811
36812if test x$USE_SPEEX = xyes; then
36813
36814  gst_check_save_LIBS=$LIBS
36815  gst_check_save_LDFLAGS=$LDFLAGS
36816  gst_check_save_CFLAGS=$CFLAGS
36817  gst_check_save_CPPFLAGS=$CPPFLAGS
36818  gst_check_save_CXXFLAGS=$CXXFLAGS
36819
36820  HAVE_SPEEX=no
36821
36822
36823  which="speex >= 1.1.6"
36824    required="no"
36825
36826
36827pkg_failed=no
36828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPEEX" >&5
36829$as_echo_n "checking for SPEEX... " >&6; }
36830
36831if test -n "$PKG_CONFIG"; then
36832    if test -n "$SPEEX_CFLAGS"; then
36833        pkg_cv_SPEEX_CFLAGS="$SPEEX_CFLAGS"
36834    else
36835        if test -n "$PKG_CONFIG" && \
36836    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
36837  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
36838  ac_status=$?
36839  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36840  test $ac_status = 0; }; then
36841  pkg_cv_SPEEX_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
36842else
36843  pkg_failed=yes
36844fi
36845    fi
36846else
36847	pkg_failed=untried
36848fi
36849if test -n "$PKG_CONFIG"; then
36850    if test -n "$SPEEX_LIBS"; then
36851        pkg_cv_SPEEX_LIBS="$SPEEX_LIBS"
36852    else
36853        if test -n "$PKG_CONFIG" && \
36854    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
36855  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
36856  ac_status=$?
36857  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36858  test $ac_status = 0; }; then
36859  pkg_cv_SPEEX_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
36860else
36861  pkg_failed=yes
36862fi
36863    fi
36864else
36865	pkg_failed=untried
36866fi
36867
36868
36869
36870if test $pkg_failed = yes; then
36871
36872if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36873        _pkg_short_errors_supported=yes
36874else
36875        _pkg_short_errors_supported=no
36876fi
36877        if test $_pkg_short_errors_supported = yes; then
36878	        SPEEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
36879        else
36880	        SPEEX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
36881        fi
36882	# Put the nasty error message in config.log where it belongs
36883	echo "$SPEEX_PKG_ERRORS" >&5
36884
36885	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36886$as_echo "no" >&6; }
36887
36888      HAVE_SPEEX="no"
36889      if test "x$required" = "xyes"; then
36890        as_fn_error $? "$SPEEX_PKG_ERRORS" "$LINENO" 5
36891      else
36892        { $as_echo "$as_me:${as_lineno-$LINENO}: $SPEEX_PKG_ERRORS" >&5
36893$as_echo "$as_me: $SPEEX_PKG_ERRORS" >&6;}
36894      fi
36895
36896elif test $pkg_failed = untried; then
36897
36898      HAVE_SPEEX="no"
36899      if test "x$required" = "xyes"; then
36900        as_fn_error $? "$SPEEX_PKG_ERRORS" "$LINENO" 5
36901      else
36902        { $as_echo "$as_me:${as_lineno-$LINENO}: $SPEEX_PKG_ERRORS" >&5
36903$as_echo "$as_me: $SPEEX_PKG_ERRORS" >&6;}
36904      fi
36905
36906else
36907	SPEEX_CFLAGS=$pkg_cv_SPEEX_CFLAGS
36908	SPEEX_LIBS=$pkg_cv_SPEEX_LIBS
36909        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36910$as_echo "yes" >&6; }
36911
36912      HAVE_SPEEX="yes"
36913
36914fi
36915
36916
36917
36918
36919  LIBS=$gst_check_save_LIBS
36920  LDFLAGS=$gst_check_save_LDFLAGS
36921  CFLAGS=$gst_check_save_CFLAGS
36922  CPPFLAGS=$gst_check_save_CPPFLAGS
36923  CXXFLAGS=$gst_check_save_CXXFLAGS
36924
36925    if test x$HAVE_SPEEX = xno; then
36926    USE_SPEEX=no
36927  else
36928    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: speex" >&5
36929$as_echo "$as_me: *** These plugins will be built: speex" >&6;}
36930  fi
36931fi
36932if test x$USE_SPEEX = xyes; then
36933  :
36934  if test "xspeex" != "x"; then
36935    GST_PLUGINS_YES="\tspeex\n$GST_PLUGINS_YES"
36936  fi
36937
36938$as_echo "#define HAVE_SPEEX /**/" >>confdefs.h
36939
36940else
36941  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: speex" >&5
36942$as_echo "$as_me: *** These plugins will not be built: speex" >&6;}
36943  if test "xspeex" != "x"; then
36944    GST_PLUGINS_NO="\tspeex\n$GST_PLUGINS_NO"
36945  fi
36946  :
36947fi
36948 if test x$USE_SPEEX = xyes; then
36949  USE_SPEEX_TRUE=
36950  USE_SPEEX_FALSE='#'
36951else
36952  USE_SPEEX_TRUE='#'
36953  USE_SPEEX_FALSE=
36954fi
36955
36956
36957
36958echo
36959{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: taglib tagging library ***" >&5
36960$as_echo "$as_me: *** checking feature: taglib tagging library ***" >&6;}
36961if test "xtaglib" != "x"
36962then
36963  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: taglib ***" >&5
36964$as_echo "$as_me: *** for plug-ins: taglib ***" >&6;}
36965fi
36966NOUSE=
36967if test "x$USE_TAGLIB" = "xno"; then
36968  NOUSE="yes"
36969fi
36970# Check whether --enable-taglib was given.
36971if test "${enable_taglib+set}" = set; then :
36972  enableval=$enable_taglib;  case "${enableval}" in
36973      yes) USE_TAGLIB=yes;;
36974      no) USE_TAGLIB=no;;
36975      *) as_fn_error $? "bad value ${enableval} for --enable-taglib" "$LINENO" 5 ;;
36976    esac
36977else
36978   USE_TAGLIB=yes
36979fi
36980
36981if test "x$NOUSE" = "xyes"; then
36982  USE_TAGLIB="no"
36983  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** taglib pre-configured not to be built" >&5
36984$as_echo "$as_me: WARNING: *** taglib pre-configured not to be built" >&2;}
36985fi
36986NOUSE=
36987
36988if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " TAGLIB " > /dev/null; then
36989  USE_TAGLIB="no"
36990  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** taglib not ported" >&5
36991$as_echo "$as_me: WARNING: *** taglib not ported" >&2;}
36992fi
36993
36994
36995if test x$USE_TAGLIB = xyes; then
36996
36997  gst_check_save_LIBS=$LIBS
36998  gst_check_save_LDFLAGS=$LDFLAGS
36999  gst_check_save_CFLAGS=$CFLAGS
37000  gst_check_save_CPPFLAGS=$CPPFLAGS
37001  gst_check_save_CXXFLAGS=$CXXFLAGS
37002
37003  HAVE_TAGLIB=no
37004
37005
37006  which="taglib >= 1.5"
37007    required="no"
37008
37009
37010pkg_failed=no
37011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TAGLIB" >&5
37012$as_echo_n "checking for TAGLIB... " >&6; }
37013
37014if test -n "$PKG_CONFIG"; then
37015    if test -n "$TAGLIB_CFLAGS"; then
37016        pkg_cv_TAGLIB_CFLAGS="$TAGLIB_CFLAGS"
37017    else
37018        if test -n "$PKG_CONFIG" && \
37019    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
37020  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
37021  ac_status=$?
37022  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37023  test $ac_status = 0; }; then
37024  pkg_cv_TAGLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
37025else
37026  pkg_failed=yes
37027fi
37028    fi
37029else
37030	pkg_failed=untried
37031fi
37032if test -n "$PKG_CONFIG"; then
37033    if test -n "$TAGLIB_LIBS"; then
37034        pkg_cv_TAGLIB_LIBS="$TAGLIB_LIBS"
37035    else
37036        if test -n "$PKG_CONFIG" && \
37037    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
37038  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
37039  ac_status=$?
37040  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37041  test $ac_status = 0; }; then
37042  pkg_cv_TAGLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
37043else
37044  pkg_failed=yes
37045fi
37046    fi
37047else
37048	pkg_failed=untried
37049fi
37050
37051
37052
37053if test $pkg_failed = yes; then
37054
37055if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37056        _pkg_short_errors_supported=yes
37057else
37058        _pkg_short_errors_supported=no
37059fi
37060        if test $_pkg_short_errors_supported = yes; then
37061	        TAGLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
37062        else
37063	        TAGLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
37064        fi
37065	# Put the nasty error message in config.log where it belongs
37066	echo "$TAGLIB_PKG_ERRORS" >&5
37067
37068	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37069$as_echo "no" >&6; }
37070
37071      HAVE_TAGLIB="no"
37072      if test "x$required" = "xyes"; then
37073        as_fn_error $? "$TAGLIB_PKG_ERRORS" "$LINENO" 5
37074      else
37075        { $as_echo "$as_me:${as_lineno-$LINENO}: $TAGLIB_PKG_ERRORS" >&5
37076$as_echo "$as_me: $TAGLIB_PKG_ERRORS" >&6;}
37077      fi
37078
37079elif test $pkg_failed = untried; then
37080
37081      HAVE_TAGLIB="no"
37082      if test "x$required" = "xyes"; then
37083        as_fn_error $? "$TAGLIB_PKG_ERRORS" "$LINENO" 5
37084      else
37085        { $as_echo "$as_me:${as_lineno-$LINENO}: $TAGLIB_PKG_ERRORS" >&5
37086$as_echo "$as_me: $TAGLIB_PKG_ERRORS" >&6;}
37087      fi
37088
37089else
37090	TAGLIB_CFLAGS=$pkg_cv_TAGLIB_CFLAGS
37091	TAGLIB_LIBS=$pkg_cv_TAGLIB_LIBS
37092        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37093$as_echo "yes" >&6; }
37094
37095      HAVE_TAGLIB="yes"
37096
37097fi
37098
37099
37100  if test "x$HAVE_CXX" != "xyes"; then
37101    USE_TAGLIB=false
37102    { $as_echo "$as_me:${as_lineno-$LINENO}: Not building taglib plugin: no C++ compiler found" >&5
37103$as_echo "$as_me: Not building taglib plugin: no C++ compiler found" >&6;}
37104  else
37105
37106
37107
37108  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-attributes" >&5
37109$as_echo_n "checking to see if c++ compiler understands -Wno-attributes... " >&6; }
37110
37111  save_CPPFLAGS="$CPPFLAGS"
37112  CPPFLAGS="$CPPFLAGS -Wno-attributes"
37113
37114  ac_ext=cpp
37115ac_cpp='$CXXCPP $CPPFLAGS'
37116ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37117ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37118ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37119
37120
37121  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37122/* end confdefs.h.  */
37123
37124int
37125main ()
37126{
37127
37128  ;
37129  return 0;
37130}
37131_ACEOF
37132if ac_fn_cxx_try_compile "$LINENO"; then :
37133  flag_ok=yes
37134else
37135  flag_ok=no
37136fi
37137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37138  CPPFLAGS="$save_CPPFLAGS"
37139
37140  if test "X$flag_ok" = Xyes ; then
37141
37142        TAGLIB_CXXFLAGS="$TAGLIB_CFLAGS -Wno-attributes"
37143
37144    true
37145  else
37146
37147        TAGLIB_CXXFLAGS="$TAGLIB_CFLAGS"
37148
37149    true
37150  fi
37151
37152  ac_ext=c
37153ac_cpp='$CPP $CPPFLAGS'
37154ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37155ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37156ac_compiler_gnu=$ac_cv_c_compiler_gnu
37157
37158
37159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
37160$as_echo "$flag_ok" >&6; }
37161
37162
37163  fi
37164
37165
37166  LIBS=$gst_check_save_LIBS
37167  LDFLAGS=$gst_check_save_LDFLAGS
37168  CFLAGS=$gst_check_save_CFLAGS
37169  CPPFLAGS=$gst_check_save_CPPFLAGS
37170  CXXFLAGS=$gst_check_save_CXXFLAGS
37171
37172    if test x$HAVE_TAGLIB = xno; then
37173    USE_TAGLIB=no
37174  else
37175    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: taglib" >&5
37176$as_echo "$as_me: *** These plugins will be built: taglib" >&6;}
37177  fi
37178fi
37179if test x$USE_TAGLIB = xyes; then
37180  :
37181  if test "xtaglib" != "x"; then
37182    GST_PLUGINS_YES="\ttaglib\n$GST_PLUGINS_YES"
37183  fi
37184
37185$as_echo "#define HAVE_TAGLIB /**/" >>confdefs.h
37186
37187else
37188  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: taglib" >&5
37189$as_echo "$as_me: *** These plugins will not be built: taglib" >&6;}
37190  if test "xtaglib" != "x"; then
37191    GST_PLUGINS_NO="\ttaglib\n$GST_PLUGINS_NO"
37192  fi
37193  :
37194fi
37195 if test x$USE_TAGLIB = xyes; then
37196  USE_TAGLIB_TRUE=
37197  USE_TAGLIB_FALSE='#'
37198else
37199  USE_TAGLIB_TRUE='#'
37200  USE_TAGLIB_FALSE=
37201fi
37202
37203
37204
37205echo
37206{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: twolame ***" >&5
37207$as_echo "$as_me: *** checking feature: twolame ***" >&6;}
37208if test "xtwolame" != "x"
37209then
37210  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: twolame ***" >&5
37211$as_echo "$as_me: *** for plug-ins: twolame ***" >&6;}
37212fi
37213NOUSE=
37214if test "x$USE_TWOLAME" = "xno"; then
37215  NOUSE="yes"
37216fi
37217# Check whether --enable-twolame was given.
37218if test "${enable_twolame+set}" = set; then :
37219  enableval=$enable_twolame;  case "${enableval}" in
37220      yes) USE_TWOLAME=yes;;
37221      no) USE_TWOLAME=no;;
37222      *) as_fn_error $? "bad value ${enableval} for --enable-twolame" "$LINENO" 5 ;;
37223    esac
37224else
37225   USE_TWOLAME=yes
37226fi
37227
37228if test "x$NOUSE" = "xyes"; then
37229  USE_TWOLAME="no"
37230  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** twolame pre-configured not to be built" >&5
37231$as_echo "$as_me: WARNING: *** twolame pre-configured not to be built" >&2;}
37232fi
37233NOUSE=
37234
37235if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " TWOLAME " > /dev/null; then
37236  USE_TWOLAME="no"
37237  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** twolame not ported" >&5
37238$as_echo "$as_me: WARNING: *** twolame not ported" >&2;}
37239fi
37240
37241
37242if test x$USE_TWOLAME = xyes; then
37243
37244  gst_check_save_LIBS=$LIBS
37245  gst_check_save_LDFLAGS=$LDFLAGS
37246  gst_check_save_CFLAGS=$CFLAGS
37247  gst_check_save_CPPFLAGS=$CPPFLAGS
37248  gst_check_save_CXXFLAGS=$CXXFLAGS
37249
37250  HAVE_TWOLAME=no
37251
37252
37253pkg_failed=no
37254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TWOLAME" >&5
37255$as_echo_n "checking for TWOLAME... " >&6; }
37256
37257if test -n "$PKG_CONFIG"; then
37258    if test -n "$TWOLAME_CFLAGS"; then
37259        pkg_cv_TWOLAME_CFLAGS="$TWOLAME_CFLAGS"
37260    else
37261        if test -n "$PKG_CONFIG" && \
37262    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame >= 0.3.10\""; } >&5
37263  ($PKG_CONFIG --exists --print-errors "twolame >= 0.3.10") 2>&5
37264  ac_status=$?
37265  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37266  test $ac_status = 0; }; then
37267  pkg_cv_TWOLAME_CFLAGS=`$PKG_CONFIG --cflags "twolame >= 0.3.10" 2>/dev/null`
37268else
37269  pkg_failed=yes
37270fi
37271    fi
37272else
37273	pkg_failed=untried
37274fi
37275if test -n "$PKG_CONFIG"; then
37276    if test -n "$TWOLAME_LIBS"; then
37277        pkg_cv_TWOLAME_LIBS="$TWOLAME_LIBS"
37278    else
37279        if test -n "$PKG_CONFIG" && \
37280    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame >= 0.3.10\""; } >&5
37281  ($PKG_CONFIG --exists --print-errors "twolame >= 0.3.10") 2>&5
37282  ac_status=$?
37283  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37284  test $ac_status = 0; }; then
37285  pkg_cv_TWOLAME_LIBS=`$PKG_CONFIG --libs "twolame >= 0.3.10" 2>/dev/null`
37286else
37287  pkg_failed=yes
37288fi
37289    fi
37290else
37291	pkg_failed=untried
37292fi
37293
37294
37295
37296if test $pkg_failed = yes; then
37297
37298if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37299        _pkg_short_errors_supported=yes
37300else
37301        _pkg_short_errors_supported=no
37302fi
37303        if test $_pkg_short_errors_supported = yes; then
37304	        TWOLAME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "twolame >= 0.3.10"`
37305        else
37306	        TWOLAME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "twolame >= 0.3.10"`
37307        fi
37308	# Put the nasty error message in config.log where it belongs
37309	echo "$TWOLAME_PKG_ERRORS" >&5
37310
37311	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37312$as_echo "no" >&6; }
37313
37314      HAVE_TWOLAME="no"
37315
37316elif test $pkg_failed = untried; then
37317
37318      HAVE_TWOLAME="no"
37319
37320else
37321	TWOLAME_CFLAGS=$pkg_cv_TWOLAME_CFLAGS
37322	TWOLAME_LIBS=$pkg_cv_TWOLAME_LIBS
37323        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37324$as_echo "yes" >&6; }
37325
37326      HAVE_TWOLAME="yes"
37327fi
37328
37329
37330
37331
37332  LIBS=$gst_check_save_LIBS
37333  LDFLAGS=$gst_check_save_LDFLAGS
37334  CFLAGS=$gst_check_save_CFLAGS
37335  CPPFLAGS=$gst_check_save_CPPFLAGS
37336  CXXFLAGS=$gst_check_save_CXXFLAGS
37337
37338    if test x$HAVE_TWOLAME = xno; then
37339    USE_TWOLAME=no
37340  else
37341    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: twolame" >&5
37342$as_echo "$as_me: *** These plugins will be built: twolame" >&6;}
37343  fi
37344fi
37345if test x$USE_TWOLAME = xyes; then
37346  :
37347  if test "xtwolame" != "x"; then
37348    GST_PLUGINS_YES="\ttwolame\n$GST_PLUGINS_YES"
37349  fi
37350
37351$as_echo "#define HAVE_TWOLAME /**/" >>confdefs.h
37352
37353else
37354  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: twolame" >&5
37355$as_echo "$as_me: *** These plugins will not be built: twolame" >&6;}
37356  if test "xtwolame" != "x"; then
37357    GST_PLUGINS_NO="\ttwolame\n$GST_PLUGINS_NO"
37358  fi
37359  :
37360fi
37361 if test x$USE_TWOLAME = xyes; then
37362  USE_TWOLAME_TRUE=
37363  USE_TWOLAME_FALSE='#'
37364else
37365  USE_TWOLAME_TRUE='#'
37366  USE_TWOLAME_FALSE=
37367fi
37368
37369
37370
37371
37372echo
37373{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: VPX decoder ***" >&5
37374$as_echo "$as_me: *** checking feature: VPX decoder ***" >&6;}
37375if test "xvpx" != "x"
37376then
37377  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vpx ***" >&5
37378$as_echo "$as_me: *** for plug-ins: vpx ***" >&6;}
37379fi
37380NOUSE=
37381if test "x$USE_VPX" = "xno"; then
37382  NOUSE="yes"
37383fi
37384# Check whether --enable-vpx was given.
37385if test "${enable_vpx+set}" = set; then :
37386  enableval=$enable_vpx;  case "${enableval}" in
37387      yes) USE_VPX=yes;;
37388      no) USE_VPX=no;;
37389      *) as_fn_error $? "bad value ${enableval} for --enable-vpx" "$LINENO" 5 ;;
37390    esac
37391else
37392   USE_VPX=yes
37393fi
37394
37395if test "x$NOUSE" = "xyes"; then
37396  USE_VPX="no"
37397  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vpx pre-configured not to be built" >&5
37398$as_echo "$as_me: WARNING: *** vpx pre-configured not to be built" >&2;}
37399fi
37400NOUSE=
37401
37402if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " VPX " > /dev/null; then
37403  USE_VPX="no"
37404  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vpx not ported" >&5
37405$as_echo "$as_me: WARNING: *** vpx not ported" >&2;}
37406fi
37407
37408
37409if test x$USE_VPX = xyes; then
37410
37411  gst_check_save_LIBS=$LIBS
37412  gst_check_save_LDFLAGS=$LDFLAGS
37413  gst_check_save_CFLAGS=$CFLAGS
37414  gst_check_save_CPPFLAGS=$CPPFLAGS
37415  gst_check_save_CXXFLAGS=$CXXFLAGS
37416
37417  HAVE_VPX=no
37418
37419
37420pkg_failed=no
37421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VPX" >&5
37422$as_echo_n "checking for VPX... " >&6; }
37423
37424if test -n "$PKG_CONFIG"; then
37425    if test -n "$VPX_CFLAGS"; then
37426        pkg_cv_VPX_CFLAGS="$VPX_CFLAGS"
37427    else
37428        if test -n "$PKG_CONFIG" && \
37429    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpx >= 1.1.0\""; } >&5
37430  ($PKG_CONFIG --exists --print-errors "vpx >= 1.1.0") 2>&5
37431  ac_status=$?
37432  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37433  test $ac_status = 0; }; then
37434  pkg_cv_VPX_CFLAGS=`$PKG_CONFIG --cflags "vpx >= 1.1.0" 2>/dev/null`
37435else
37436  pkg_failed=yes
37437fi
37438    fi
37439else
37440	pkg_failed=untried
37441fi
37442if test -n "$PKG_CONFIG"; then
37443    if test -n "$VPX_LIBS"; then
37444        pkg_cv_VPX_LIBS="$VPX_LIBS"
37445    else
37446        if test -n "$PKG_CONFIG" && \
37447    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpx >= 1.1.0\""; } >&5
37448  ($PKG_CONFIG --exists --print-errors "vpx >= 1.1.0") 2>&5
37449  ac_status=$?
37450  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37451  test $ac_status = 0; }; then
37452  pkg_cv_VPX_LIBS=`$PKG_CONFIG --libs "vpx >= 1.1.0" 2>/dev/null`
37453else
37454  pkg_failed=yes
37455fi
37456    fi
37457else
37458	pkg_failed=untried
37459fi
37460
37461
37462
37463if test $pkg_failed = yes; then
37464
37465if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37466        _pkg_short_errors_supported=yes
37467else
37468        _pkg_short_errors_supported=no
37469fi
37470        if test $_pkg_short_errors_supported = yes; then
37471	        VPX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vpx >= 1.1.0"`
37472        else
37473	        VPX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vpx >= 1.1.0"`
37474        fi
37475	# Put the nasty error message in config.log where it belongs
37476	echo "$VPX_PKG_ERRORS" >&5
37477
37478	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37479$as_echo "no" >&6; }
37480                HAVE_VPX="no"
37481elif test $pkg_failed = untried; then
37482	HAVE_VPX="no"
37483else
37484	VPX_CFLAGS=$pkg_cv_VPX_CFLAGS
37485	VPX_LIBS=$pkg_cv_VPX_LIBS
37486        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37487$as_echo "yes" >&6; }
37488	HAVE_VPX="yes"
37489fi
37490  HAVE_VP8=no
37491  HAVE_VP9=no
37492
37493  if test $HAVE_VPX = "yes"; then
37494    OLD_LIBS="$LIBS"
37495    OLD_CFLAGS="$CFLAGS"
37496    CFLAGS="$CFLAGS $VPX_CFLAGS"
37497    LIBS="$LIBS $VPX_LIBS"
37498    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp8_cx_algo in -lvpx" >&5
37499$as_echo_n "checking for vpx_codec_vp8_cx_algo in -lvpx... " >&6; }
37500if ${ac_cv_lib_vpx_vpx_codec_vp8_cx_algo+:} false; then :
37501  $as_echo_n "(cached) " >&6
37502else
37503  ac_check_lib_save_LIBS=$LIBS
37504LIBS="-lvpx  $LIBS"
37505cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37506/* end confdefs.h.  */
37507
37508/* Override any GCC internal prototype to avoid an error.
37509   Use char because int might match the return type of a GCC
37510   builtin and then its argument prototype would still apply.  */
37511#ifdef __cplusplus
37512extern "C"
37513#endif
37514char vpx_codec_vp8_cx_algo ();
37515int
37516main ()
37517{
37518return vpx_codec_vp8_cx_algo ();
37519  ;
37520  return 0;
37521}
37522_ACEOF
37523if ac_fn_c_try_link "$LINENO"; then :
37524  ac_cv_lib_vpx_vpx_codec_vp8_cx_algo=yes
37525else
37526  ac_cv_lib_vpx_vpx_codec_vp8_cx_algo=no
37527fi
37528rm -f core conftest.err conftest.$ac_objext \
37529    conftest$ac_exeext conftest.$ac_ext
37530LIBS=$ac_check_lib_save_LIBS
37531fi
37532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp8_cx_algo" >&5
37533$as_echo "$ac_cv_lib_vpx_vpx_codec_vp8_cx_algo" >&6; }
37534if test "x$ac_cv_lib_vpx_vpx_codec_vp8_cx_algo" = xyes; then :
37535
37536      HAVE_VP8=yes
37537
37538$as_echo "#define HAVE_VP8_ENCODER 1" >>confdefs.h
37539
37540
37541fi
37542
37543    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp8_dx_algo in -lvpx" >&5
37544$as_echo_n "checking for vpx_codec_vp8_dx_algo in -lvpx... " >&6; }
37545if ${ac_cv_lib_vpx_vpx_codec_vp8_dx_algo+:} false; then :
37546  $as_echo_n "(cached) " >&6
37547else
37548  ac_check_lib_save_LIBS=$LIBS
37549LIBS="-lvpx  $LIBS"
37550cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37551/* end confdefs.h.  */
37552
37553/* Override any GCC internal prototype to avoid an error.
37554   Use char because int might match the return type of a GCC
37555   builtin and then its argument prototype would still apply.  */
37556#ifdef __cplusplus
37557extern "C"
37558#endif
37559char vpx_codec_vp8_dx_algo ();
37560int
37561main ()
37562{
37563return vpx_codec_vp8_dx_algo ();
37564  ;
37565  return 0;
37566}
37567_ACEOF
37568if ac_fn_c_try_link "$LINENO"; then :
37569  ac_cv_lib_vpx_vpx_codec_vp8_dx_algo=yes
37570else
37571  ac_cv_lib_vpx_vpx_codec_vp8_dx_algo=no
37572fi
37573rm -f core conftest.err conftest.$ac_objext \
37574    conftest$ac_exeext conftest.$ac_ext
37575LIBS=$ac_check_lib_save_LIBS
37576fi
37577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp8_dx_algo" >&5
37578$as_echo "$ac_cv_lib_vpx_vpx_codec_vp8_dx_algo" >&6; }
37579if test "x$ac_cv_lib_vpx_vpx_codec_vp8_dx_algo" = xyes; then :
37580
37581      HAVE_VP8=yes
37582
37583$as_echo "#define HAVE_VP8_DECODER 1" >>confdefs.h
37584
37585
37586fi
37587
37588
37589
37590pkg_failed=no
37591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VPX_130" >&5
37592$as_echo_n "checking for VPX_130... " >&6; }
37593
37594if test -n "$PKG_CONFIG"; then
37595    if test -n "$VPX_130_CFLAGS"; then
37596        pkg_cv_VPX_130_CFLAGS="$VPX_130_CFLAGS"
37597    else
37598        if test -n "$PKG_CONFIG" && \
37599    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpx >= 1.3.0\""; } >&5
37600  ($PKG_CONFIG --exists --print-errors "vpx >= 1.3.0") 2>&5
37601  ac_status=$?
37602  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37603  test $ac_status = 0; }; then
37604  pkg_cv_VPX_130_CFLAGS=`$PKG_CONFIG --cflags "vpx >= 1.3.0" 2>/dev/null`
37605else
37606  pkg_failed=yes
37607fi
37608    fi
37609else
37610	pkg_failed=untried
37611fi
37612if test -n "$PKG_CONFIG"; then
37613    if test -n "$VPX_130_LIBS"; then
37614        pkg_cv_VPX_130_LIBS="$VPX_130_LIBS"
37615    else
37616        if test -n "$PKG_CONFIG" && \
37617    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpx >= 1.3.0\""; } >&5
37618  ($PKG_CONFIG --exists --print-errors "vpx >= 1.3.0") 2>&5
37619  ac_status=$?
37620  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37621  test $ac_status = 0; }; then
37622  pkg_cv_VPX_130_LIBS=`$PKG_CONFIG --libs "vpx >= 1.3.0" 2>/dev/null`
37623else
37624  pkg_failed=yes
37625fi
37626    fi
37627else
37628	pkg_failed=untried
37629fi
37630
37631
37632
37633if test $pkg_failed = yes; then
37634
37635if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37636        _pkg_short_errors_supported=yes
37637else
37638        _pkg_short_errors_supported=no
37639fi
37640        if test $_pkg_short_errors_supported = yes; then
37641	        VPX_130_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vpx >= 1.3.0"`
37642        else
37643	        VPX_130_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vpx >= 1.3.0"`
37644        fi
37645	# Put the nasty error message in config.log where it belongs
37646	echo "$VPX_130_PKG_ERRORS" >&5
37647
37648	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37649$as_echo "no" >&6; }
37650                true
37651elif test $pkg_failed = untried; then
37652	true
37653else
37654	VPX_130_CFLAGS=$pkg_cv_VPX_130_CFLAGS
37655	VPX_130_LIBS=$pkg_cv_VPX_130_LIBS
37656        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37657$as_echo "yes" >&6; }
37658
37659      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp9_cx_algo in -lvpx" >&5
37660$as_echo_n "checking for vpx_codec_vp9_cx_algo in -lvpx... " >&6; }
37661if ${ac_cv_lib_vpx_vpx_codec_vp9_cx_algo+:} false; then :
37662  $as_echo_n "(cached) " >&6
37663else
37664  ac_check_lib_save_LIBS=$LIBS
37665LIBS="-lvpx  $LIBS"
37666cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37667/* end confdefs.h.  */
37668
37669/* Override any GCC internal prototype to avoid an error.
37670   Use char because int might match the return type of a GCC
37671   builtin and then its argument prototype would still apply.  */
37672#ifdef __cplusplus
37673extern "C"
37674#endif
37675char vpx_codec_vp9_cx_algo ();
37676int
37677main ()
37678{
37679return vpx_codec_vp9_cx_algo ();
37680  ;
37681  return 0;
37682}
37683_ACEOF
37684if ac_fn_c_try_link "$LINENO"; then :
37685  ac_cv_lib_vpx_vpx_codec_vp9_cx_algo=yes
37686else
37687  ac_cv_lib_vpx_vpx_codec_vp9_cx_algo=no
37688fi
37689rm -f core conftest.err conftest.$ac_objext \
37690    conftest$ac_exeext conftest.$ac_ext
37691LIBS=$ac_check_lib_save_LIBS
37692fi
37693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp9_cx_algo" >&5
37694$as_echo "$ac_cv_lib_vpx_vpx_codec_vp9_cx_algo" >&6; }
37695if test "x$ac_cv_lib_vpx_vpx_codec_vp9_cx_algo" = xyes; then :
37696
37697        HAVE_VP9=yes
37698
37699$as_echo "#define HAVE_VP9_ENCODER 1" >>confdefs.h
37700
37701
37702fi
37703
37704      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp9_dx_algo in -lvpx" >&5
37705$as_echo_n "checking for vpx_codec_vp9_dx_algo in -lvpx... " >&6; }
37706if ${ac_cv_lib_vpx_vpx_codec_vp9_dx_algo+:} false; then :
37707  $as_echo_n "(cached) " >&6
37708else
37709  ac_check_lib_save_LIBS=$LIBS
37710LIBS="-lvpx  $LIBS"
37711cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37712/* end confdefs.h.  */
37713
37714/* Override any GCC internal prototype to avoid an error.
37715   Use char because int might match the return type of a GCC
37716   builtin and then its argument prototype would still apply.  */
37717#ifdef __cplusplus
37718extern "C"
37719#endif
37720char vpx_codec_vp9_dx_algo ();
37721int
37722main ()
37723{
37724return vpx_codec_vp9_dx_algo ();
37725  ;
37726  return 0;
37727}
37728_ACEOF
37729if ac_fn_c_try_link "$LINENO"; then :
37730  ac_cv_lib_vpx_vpx_codec_vp9_dx_algo=yes
37731else
37732  ac_cv_lib_vpx_vpx_codec_vp9_dx_algo=no
37733fi
37734rm -f core conftest.err conftest.$ac_objext \
37735    conftest$ac_exeext conftest.$ac_ext
37736LIBS=$ac_check_lib_save_LIBS
37737fi
37738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp9_dx_algo" >&5
37739$as_echo "$ac_cv_lib_vpx_vpx_codec_vp9_dx_algo" >&6; }
37740if test "x$ac_cv_lib_vpx_vpx_codec_vp9_dx_algo" = xyes; then :
37741
37742        HAVE_VP9=yes
37743
37744$as_echo "#define HAVE_VP9_DECODER 1" >>confdefs.h
37745
37746
37747fi
37748
37749
37750fi
37751
37752
37753pkg_failed=no
37754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VPX_140" >&5
37755$as_echo_n "checking for VPX_140... " >&6; }
37756
37757if test -n "$PKG_CONFIG"; then
37758    if test -n "$VPX_140_CFLAGS"; then
37759        pkg_cv_VPX_140_CFLAGS="$VPX_140_CFLAGS"
37760    else
37761        if test -n "$PKG_CONFIG" && \
37762    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpx >= 1.4.0\""; } >&5
37763  ($PKG_CONFIG --exists --print-errors "vpx >= 1.4.0") 2>&5
37764  ac_status=$?
37765  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37766  test $ac_status = 0; }; then
37767  pkg_cv_VPX_140_CFLAGS=`$PKG_CONFIG --cflags "vpx >= 1.4.0" 2>/dev/null`
37768else
37769  pkg_failed=yes
37770fi
37771    fi
37772else
37773	pkg_failed=untried
37774fi
37775if test -n "$PKG_CONFIG"; then
37776    if test -n "$VPX_140_LIBS"; then
37777        pkg_cv_VPX_140_LIBS="$VPX_140_LIBS"
37778    else
37779        if test -n "$PKG_CONFIG" && \
37780    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpx >= 1.4.0\""; } >&5
37781  ($PKG_CONFIG --exists --print-errors "vpx >= 1.4.0") 2>&5
37782  ac_status=$?
37783  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37784  test $ac_status = 0; }; then
37785  pkg_cv_VPX_140_LIBS=`$PKG_CONFIG --libs "vpx >= 1.4.0" 2>/dev/null`
37786else
37787  pkg_failed=yes
37788fi
37789    fi
37790else
37791	pkg_failed=untried
37792fi
37793
37794
37795
37796if test $pkg_failed = yes; then
37797
37798if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37799        _pkg_short_errors_supported=yes
37800else
37801        _pkg_short_errors_supported=no
37802fi
37803        if test $_pkg_short_errors_supported = yes; then
37804	        VPX_140_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vpx >= 1.4.0"`
37805        else
37806	        VPX_140_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vpx >= 1.4.0"`
37807        fi
37808	# Put the nasty error message in config.log where it belongs
37809	echo "$VPX_140_PKG_ERRORS" >&5
37810
37811	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37812$as_echo "no" >&6; }
37813                true
37814elif test $pkg_failed = untried; then
37815	true
37816else
37817	VPX_140_CFLAGS=$pkg_cv_VPX_140_CFLAGS
37818	VPX_140_LIBS=$pkg_cv_VPX_140_LIBS
37819        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37820$as_echo "yes" >&6; }
37821
37822
37823$as_echo "#define HAVE_VPX_1_4 1" >>confdefs.h
37824
37825
37826fi
37827
37828
37829pkg_failed=no
37830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VPX_180" >&5
37831$as_echo_n "checking for VPX_180... " >&6; }
37832
37833if test -n "$PKG_CONFIG"; then
37834    if test -n "$VPX_180_CFLAGS"; then
37835        pkg_cv_VPX_180_CFLAGS="$VPX_180_CFLAGS"
37836    else
37837        if test -n "$PKG_CONFIG" && \
37838    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpx >= 1.8.0\""; } >&5
37839  ($PKG_CONFIG --exists --print-errors "vpx >= 1.8.0") 2>&5
37840  ac_status=$?
37841  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37842  test $ac_status = 0; }; then
37843  pkg_cv_VPX_180_CFLAGS=`$PKG_CONFIG --cflags "vpx >= 1.8.0" 2>/dev/null`
37844else
37845  pkg_failed=yes
37846fi
37847    fi
37848else
37849	pkg_failed=untried
37850fi
37851if test -n "$PKG_CONFIG"; then
37852    if test -n "$VPX_180_LIBS"; then
37853        pkg_cv_VPX_180_LIBS="$VPX_180_LIBS"
37854    else
37855        if test -n "$PKG_CONFIG" && \
37856    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vpx >= 1.8.0\""; } >&5
37857  ($PKG_CONFIG --exists --print-errors "vpx >= 1.8.0") 2>&5
37858  ac_status=$?
37859  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37860  test $ac_status = 0; }; then
37861  pkg_cv_VPX_180_LIBS=`$PKG_CONFIG --libs "vpx >= 1.8.0" 2>/dev/null`
37862else
37863  pkg_failed=yes
37864fi
37865    fi
37866else
37867	pkg_failed=untried
37868fi
37869
37870
37871
37872if test $pkg_failed = yes; then
37873
37874if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37875        _pkg_short_errors_supported=yes
37876else
37877        _pkg_short_errors_supported=no
37878fi
37879        if test $_pkg_short_errors_supported = yes; then
37880	        VPX_180_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vpx >= 1.8.0"`
37881        else
37882	        VPX_180_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vpx >= 1.8.0"`
37883        fi
37884	# Put the nasty error message in config.log where it belongs
37885	echo "$VPX_180_PKG_ERRORS" >&5
37886
37887	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37888$as_echo "no" >&6; }
37889                true
37890elif test $pkg_failed = untried; then
37891	true
37892else
37893	VPX_180_CFLAGS=$pkg_cv_VPX_180_CFLAGS
37894	VPX_180_LIBS=$pkg_cv_VPX_180_LIBS
37895        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37896$as_echo "yes" >&6; }
37897
37898
37899$as_echo "#define HAVE_VPX_1_8 1" >>confdefs.h
37900
37901
37902fi
37903
37904    LIBS="$OLD_LIBS"
37905    CFLAGS="$OLD_CFLAGS"
37906  fi
37907
37908
37909
37910
37911  LIBS=$gst_check_save_LIBS
37912  LDFLAGS=$gst_check_save_LDFLAGS
37913  CFLAGS=$gst_check_save_CFLAGS
37914  CPPFLAGS=$gst_check_save_CPPFLAGS
37915  CXXFLAGS=$gst_check_save_CXXFLAGS
37916
37917    if test x$HAVE_VPX = xno; then
37918    USE_VPX=no
37919  else
37920    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vpx" >&5
37921$as_echo "$as_me: *** These plugins will be built: vpx" >&6;}
37922  fi
37923fi
37924if test x$USE_VPX = xyes; then
37925  :
37926  if test "xvpx" != "x"; then
37927    GST_PLUGINS_YES="\tvpx\n$GST_PLUGINS_YES"
37928  fi
37929
37930$as_echo "#define HAVE_VPX /**/" >>confdefs.h
37931
37932else
37933  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vpx" >&5
37934$as_echo "$as_me: *** These plugins will not be built: vpx" >&6;}
37935  if test "xvpx" != "x"; then
37936    GST_PLUGINS_NO="\tvpx\n$GST_PLUGINS_NO"
37937  fi
37938  :
37939fi
37940 if test x$USE_VPX = xyes; then
37941  USE_VPX_TRUE=
37942  USE_VPX_FALSE='#'
37943else
37944  USE_VPX_TRUE='#'
37945  USE_VPX_FALSE=
37946fi
37947
37948
37949
37950echo
37951{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: wavpack plug-in ***" >&5
37952$as_echo "$as_me: *** checking feature: wavpack plug-in ***" >&6;}
37953if test "xwavpack" != "x"
37954then
37955  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: wavpack ***" >&5
37956$as_echo "$as_me: *** for plug-ins: wavpack ***" >&6;}
37957fi
37958NOUSE=
37959if test "x$USE_WAVPACK" = "xno"; then
37960  NOUSE="yes"
37961fi
37962# Check whether --enable-wavpack was given.
37963if test "${enable_wavpack+set}" = set; then :
37964  enableval=$enable_wavpack;  case "${enableval}" in
37965      yes) USE_WAVPACK=yes;;
37966      no) USE_WAVPACK=no;;
37967      *) as_fn_error $? "bad value ${enableval} for --enable-wavpack" "$LINENO" 5 ;;
37968    esac
37969else
37970   USE_WAVPACK=yes
37971fi
37972
37973if test "x$NOUSE" = "xyes"; then
37974  USE_WAVPACK="no"
37975  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** wavpack pre-configured not to be built" >&5
37976$as_echo "$as_me: WARNING: *** wavpack pre-configured not to be built" >&2;}
37977fi
37978NOUSE=
37979
37980if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " WAVPACK " > /dev/null; then
37981  USE_WAVPACK="no"
37982  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** wavpack not ported" >&5
37983$as_echo "$as_me: WARNING: *** wavpack not ported" >&2;}
37984fi
37985
37986
37987if test x$USE_WAVPACK = xyes; then
37988
37989  gst_check_save_LIBS=$LIBS
37990  gst_check_save_LDFLAGS=$LDFLAGS
37991  gst_check_save_CFLAGS=$CFLAGS
37992  gst_check_save_CPPFLAGS=$CPPFLAGS
37993  gst_check_save_CXXFLAGS=$CXXFLAGS
37994
37995  HAVE_WAVPACK=no
37996
37997
37998  which="wavpack >= 4.60.0"
37999    required="no"
38000
38001
38002pkg_failed=no
38003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAVPACK" >&5
38004$as_echo_n "checking for WAVPACK... " >&6; }
38005
38006if test -n "$PKG_CONFIG"; then
38007    if test -n "$WAVPACK_CFLAGS"; then
38008        pkg_cv_WAVPACK_CFLAGS="$WAVPACK_CFLAGS"
38009    else
38010        if test -n "$PKG_CONFIG" && \
38011    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
38012  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
38013  ac_status=$?
38014  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38015  test $ac_status = 0; }; then
38016  pkg_cv_WAVPACK_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
38017else
38018  pkg_failed=yes
38019fi
38020    fi
38021else
38022	pkg_failed=untried
38023fi
38024if test -n "$PKG_CONFIG"; then
38025    if test -n "$WAVPACK_LIBS"; then
38026        pkg_cv_WAVPACK_LIBS="$WAVPACK_LIBS"
38027    else
38028        if test -n "$PKG_CONFIG" && \
38029    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
38030  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
38031  ac_status=$?
38032  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38033  test $ac_status = 0; }; then
38034  pkg_cv_WAVPACK_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
38035else
38036  pkg_failed=yes
38037fi
38038    fi
38039else
38040	pkg_failed=untried
38041fi
38042
38043
38044
38045if test $pkg_failed = yes; then
38046
38047if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38048        _pkg_short_errors_supported=yes
38049else
38050        _pkg_short_errors_supported=no
38051fi
38052        if test $_pkg_short_errors_supported = yes; then
38053	        WAVPACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
38054        else
38055	        WAVPACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
38056        fi
38057	# Put the nasty error message in config.log where it belongs
38058	echo "$WAVPACK_PKG_ERRORS" >&5
38059
38060	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38061$as_echo "no" >&6; }
38062
38063      HAVE_WAVPACK="no"
38064      if test "x$required" = "xyes"; then
38065        as_fn_error $? "$WAVPACK_PKG_ERRORS" "$LINENO" 5
38066      else
38067        { $as_echo "$as_me:${as_lineno-$LINENO}: $WAVPACK_PKG_ERRORS" >&5
38068$as_echo "$as_me: $WAVPACK_PKG_ERRORS" >&6;}
38069      fi
38070
38071elif test $pkg_failed = untried; then
38072
38073      HAVE_WAVPACK="no"
38074      if test "x$required" = "xyes"; then
38075        as_fn_error $? "$WAVPACK_PKG_ERRORS" "$LINENO" 5
38076      else
38077        { $as_echo "$as_me:${as_lineno-$LINENO}: $WAVPACK_PKG_ERRORS" >&5
38078$as_echo "$as_me: $WAVPACK_PKG_ERRORS" >&6;}
38079      fi
38080
38081else
38082	WAVPACK_CFLAGS=$pkg_cv_WAVPACK_CFLAGS
38083	WAVPACK_LIBS=$pkg_cv_WAVPACK_LIBS
38084        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38085$as_echo "yes" >&6; }
38086
38087      HAVE_WAVPACK="yes"
38088
38089fi
38090
38091
38092
38093
38094  LIBS=$gst_check_save_LIBS
38095  LDFLAGS=$gst_check_save_LDFLAGS
38096  CFLAGS=$gst_check_save_CFLAGS
38097  CPPFLAGS=$gst_check_save_CPPFLAGS
38098  CXXFLAGS=$gst_check_save_CXXFLAGS
38099
38100    if test x$HAVE_WAVPACK = xno; then
38101    USE_WAVPACK=no
38102  else
38103    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: wavpack" >&5
38104$as_echo "$as_me: *** These plugins will be built: wavpack" >&6;}
38105  fi
38106fi
38107if test x$USE_WAVPACK = xyes; then
38108  :
38109  if test "xwavpack" != "x"; then
38110    GST_PLUGINS_YES="\twavpack\n$GST_PLUGINS_YES"
38111  fi
38112
38113$as_echo "#define HAVE_WAVPACK /**/" >>confdefs.h
38114
38115else
38116  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: wavpack" >&5
38117$as_echo "$as_me: *** These plugins will not be built: wavpack" >&6;}
38118  if test "xwavpack" != "x"; then
38119    GST_PLUGINS_NO="\twavpack\n$GST_PLUGINS_NO"
38120  fi
38121  :
38122fi
38123 if test x$USE_WAVPACK = xyes; then
38124  USE_WAVPACK_TRUE=
38125  USE_WAVPACK_FALSE='#'
38126else
38127  USE_WAVPACK_TRUE='#'
38128  USE_WAVPACK_FALSE=
38129fi
38130
38131
38132
38133echo
38134{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: zlib support for qtdemux/matroska ***" >&5
38135$as_echo "$as_me: *** checking feature: zlib support for qtdemux/matroska ***" >&6;}
38136if test "x" != "x"
38137then
38138  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
38139$as_echo "$as_me: *** for plug-ins:  ***" >&6;}
38140fi
38141NOUSE=
38142if test "x$USE_ZLIB" = "xno"; then
38143  NOUSE="yes"
38144fi
38145# Check whether --enable-zlib was given.
38146if test "${enable_zlib+set}" = set; then :
38147  enableval=$enable_zlib;  case "${enableval}" in
38148      yes) USE_ZLIB=yes;;
38149      no) USE_ZLIB=no;;
38150      *) as_fn_error $? "bad value ${enableval} for --enable-zlib" "$LINENO" 5 ;;
38151    esac
38152else
38153   USE_ZLIB=yes
38154fi
38155
38156if test "x$NOUSE" = "xyes"; then
38157  USE_ZLIB="no"
38158  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
38159$as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
38160fi
38161NOUSE=
38162
38163if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " ZLIB " > /dev/null; then
38164  USE_ZLIB="no"
38165  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  not ported" >&5
38166$as_echo "$as_me: WARNING: ***  not ported" >&2;}
38167fi
38168
38169
38170if test x$USE_ZLIB = xyes; then
38171
38172  gst_check_save_LIBS=$LIBS
38173  gst_check_save_LDFLAGS=$LDFLAGS
38174  gst_check_save_CFLAGS=$CFLAGS
38175  gst_check_save_CPPFLAGS=$CPPFLAGS
38176  gst_check_save_CXXFLAGS=$CXXFLAGS
38177
38178  HAVE_ZLIB=no
38179
38180
38181  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompress in -lz" >&5
38182$as_echo_n "checking for uncompress in -lz... " >&6; }
38183if ${ac_cv_lib_z_uncompress+:} false; then :
38184  $as_echo_n "(cached) " >&6
38185else
38186  ac_check_lib_save_LIBS=$LIBS
38187LIBS="-lz  $LIBS"
38188cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38189/* end confdefs.h.  */
38190
38191/* Override any GCC internal prototype to avoid an error.
38192   Use char because int might match the return type of a GCC
38193   builtin and then its argument prototype would still apply.  */
38194#ifdef __cplusplus
38195extern "C"
38196#endif
38197char uncompress ();
38198int
38199main ()
38200{
38201return uncompress ();
38202  ;
38203  return 0;
38204}
38205_ACEOF
38206if ac_fn_c_try_link "$LINENO"; then :
38207  ac_cv_lib_z_uncompress=yes
38208else
38209  ac_cv_lib_z_uncompress=no
38210fi
38211rm -f core conftest.err conftest.$ac_objext \
38212    conftest$ac_exeext conftest.$ac_ext
38213LIBS=$ac_check_lib_save_LIBS
38214fi
38215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_uncompress" >&5
38216$as_echo "$ac_cv_lib_z_uncompress" >&6; }
38217if test "x$ac_cv_lib_z_uncompress" = xyes; then :
38218  HAVE_ZLIB=yes
38219else
38220  HAVE_ZLIB=no
38221fi
38222
38223  if test "x$HAVE_ZLIB" = "xyes"; then
38224    ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
38225if test "x$ac_cv_header_zlib_h" = xyes; then :
38226  :
38227else
38228  HAVE_ZLIB=no
38229fi
38230
38231
38232    if test "x$HAVE_ZLIB" = "xyes"; then
38233
38234    HAVE_ZLIB="yes"
38235    ZLIB_LIBS="-lz"
38236
38237
38238    else
38239      :
38240    fi
38241  else
38242    :
38243  fi
38244
38245
38246
38247
38248
38249  LIBS=$gst_check_save_LIBS
38250  LDFLAGS=$gst_check_save_LDFLAGS
38251  CFLAGS=$gst_check_save_CFLAGS
38252  CPPFLAGS=$gst_check_save_CPPFLAGS
38253  CXXFLAGS=$gst_check_save_CXXFLAGS
38254
38255    if test x$HAVE_ZLIB = xno; then
38256    USE_ZLIB=no
38257  else
38258    :
38259  fi
38260fi
38261if test x$USE_ZLIB = xyes; then
38262  :
38263  if test "x" != "x"; then
38264    GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
38265  fi
38266
38267$as_echo "#define HAVE_ZLIB /**/" >>confdefs.h
38268
38269else
38270  :
38271  if test "x" != "x"; then
38272    GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
38273  fi
38274  :
38275fi
38276 if test x$USE_ZLIB = xyes; then
38277  USE_ZLIB_TRUE=
38278  USE_ZLIB_FALSE='#'
38279else
38280  USE_ZLIB_TRUE='#'
38281  USE_ZLIB_FALSE=
38282fi
38283
38284
38285
38286echo
38287{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: bz2 library for matroska  ***" >&5
38288$as_echo "$as_me: *** checking feature: bz2 library for matroska  ***" >&6;}
38289if test "x" != "x"
38290then
38291  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
38292$as_echo "$as_me: *** for plug-ins:  ***" >&6;}
38293fi
38294NOUSE=
38295if test "x$USE_BZ2" = "xno"; then
38296  NOUSE="yes"
38297fi
38298# Check whether --enable-bz2 was given.
38299if test "${enable_bz2+set}" = set; then :
38300  enableval=$enable_bz2;  case "${enableval}" in
38301      yes) USE_BZ2=yes;;
38302      no) USE_BZ2=no;;
38303      *) as_fn_error $? "bad value ${enableval} for --enable-bz2" "$LINENO" 5 ;;
38304    esac
38305else
38306   USE_BZ2=yes
38307fi
38308
38309if test "x$NOUSE" = "xyes"; then
38310  USE_BZ2="no"
38311  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
38312$as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
38313fi
38314NOUSE=
38315
38316if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " BZ2 " > /dev/null; then
38317  USE_BZ2="no"
38318  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  not ported" >&5
38319$as_echo "$as_me: WARNING: ***  not ported" >&2;}
38320fi
38321
38322
38323if test x$USE_BZ2 = xyes; then
38324
38325  gst_check_save_LIBS=$LIBS
38326  gst_check_save_LDFLAGS=$LDFLAGS
38327  gst_check_save_CFLAGS=$CFLAGS
38328  gst_check_save_CPPFLAGS=$CPPFLAGS
38329  gst_check_save_CXXFLAGS=$CXXFLAGS
38330
38331  HAVE_BZ2=no
38332
38333  save_LIBS=$LIBS
38334  LIBS="$LIBS -lbz2"
38335  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzlibVersion in -lbz2" >&5
38336$as_echo_n "checking for BZ2_bzlibVersion in -lbz2... " >&6; }
38337  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38338/* end confdefs.h.  */
38339#include <bzlib.h>
38340int
38341main ()
38342{
38343const char *version = BZ2_bzlibVersion ();
38344  ;
38345  return 0;
38346}
38347_ACEOF
38348if ac_fn_c_try_link "$LINENO"; then :
38349  HAVE_BZ2=yes
38350else
38351  HAVE_BZ2=no
38352fi
38353rm -f core conftest.err conftest.$ac_objext \
38354    conftest$ac_exeext conftest.$ac_ext
38355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_BZ2" >&5
38356$as_echo "$HAVE_BZ2" >&6; }
38357  LIBS=$save_LIBS
38358  if test "x$HAVE_BZ2" = "xyes"; then
38359    BZ2_LIBS="-lbz2"
38360  fi
38361
38362
38363
38364  LIBS=$gst_check_save_LIBS
38365  LDFLAGS=$gst_check_save_LDFLAGS
38366  CFLAGS=$gst_check_save_CFLAGS
38367  CPPFLAGS=$gst_check_save_CPPFLAGS
38368  CXXFLAGS=$gst_check_save_CXXFLAGS
38369
38370    if test x$HAVE_BZ2 = xno; then
38371    USE_BZ2=no
38372  else
38373    :
38374  fi
38375fi
38376if test x$USE_BZ2 = xyes; then
38377  :
38378  if test "x" != "x"; then
38379    GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
38380  fi
38381
38382$as_echo "#define HAVE_BZ2 /**/" >>confdefs.h
38383
38384else
38385  :
38386  if test "x" != "x"; then
38387    GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
38388  fi
38389  :
38390fi
38391 if test x$USE_BZ2 = xyes; then
38392  USE_BZ2_TRUE=
38393  USE_BZ2_FALSE='#'
38394else
38395  USE_BZ2_TRUE='#'
38396  USE_BZ2_FALSE=
38397fi
38398
38399
38400
38401else
38402
38403 if false; then
38404  USE_AALIB_TRUE=
38405  USE_AALIB_FALSE='#'
38406else
38407  USE_AALIB_TRUE='#'
38408  USE_AALIB_FALSE=
38409fi
38410
38411 if false; then
38412  USE_BZ2_TRUE=
38413  USE_BZ2_FALSE='#'
38414else
38415  USE_BZ2_TRUE='#'
38416  USE_BZ2_FALSE=
38417fi
38418
38419 if false; then
38420  USE_CAIRO_TRUE=
38421  USE_CAIRO_FALSE='#'
38422else
38423  USE_CAIRO_TRUE='#'
38424  USE_CAIRO_FALSE=
38425fi
38426
38427 if false; then
38428  USE_DIRECTSOUND_TRUE=
38429  USE_DIRECTSOUND_FALSE='#'
38430else
38431  USE_DIRECTSOUND_TRUE='#'
38432  USE_DIRECTSOUND_FALSE=
38433fi
38434
38435 if false; then
38436  USE_DV1394_TRUE=
38437  USE_DV1394_FALSE='#'
38438else
38439  USE_DV1394_TRUE='#'
38440  USE_DV1394_FALSE=
38441fi
38442
38443 if false; then
38444  USE_FLAC_TRUE=
38445  USE_FLAC_FALSE='#'
38446else
38447  USE_FLAC_TRUE='#'
38448  USE_FLAC_FALSE=
38449fi
38450
38451 if false; then
38452  USE_GDK_PIXBUF_TRUE=
38453  USE_GDK_PIXBUF_FALSE='#'
38454else
38455  USE_GDK_PIXBUF_TRUE='#'
38456  USE_GDK_PIXBUF_FALSE=
38457fi
38458
38459 if false; then
38460  USE_GTK3_TRUE=
38461  USE_GTK3_FALSE='#'
38462else
38463  USE_GTK3_TRUE='#'
38464  USE_GTK3_FALSE=
38465fi
38466
38467 if false; then
38468  USE_GTK3_GL_TRUE=
38469  USE_GTK3_GL_FALSE='#'
38470else
38471  USE_GTK3_GL_TRUE='#'
38472  USE_GTK3_GL_FALSE=
38473fi
38474
38475 if false; then
38476  USE_JACK_TRUE=
38477  USE_JACK_FALSE='#'
38478else
38479  USE_JACK_TRUE='#'
38480  USE_JACK_FALSE=
38481fi
38482
38483 if false; then
38484  USE_JPEG_TRUE=
38485  USE_JPEG_FALSE='#'
38486else
38487  USE_JPEG_TRUE='#'
38488  USE_JPEG_FALSE=
38489fi
38490
38491 if false; then
38492  USE_LAME_TRUE=
38493  USE_LAME_FALSE='#'
38494else
38495  USE_LAME_TRUE='#'
38496  USE_LAME_FALSE=
38497fi
38498
38499 if false; then
38500  USE_LIBCACA_TRUE=
38501  USE_LIBCACA_FALSE='#'
38502else
38503  USE_LIBCACA_TRUE='#'
38504  USE_LIBCACA_FALSE=
38505fi
38506
38507 if false; then
38508  USE_LIBDV_TRUE=
38509  USE_LIBDV_FALSE='#'
38510else
38511  USE_LIBDV_TRUE='#'
38512  USE_LIBDV_FALSE=
38513fi
38514
38515 if false; then
38516  USE_LIBIEC61883_TRUE=
38517  USE_LIBIEC61883_FALSE='#'
38518else
38519  USE_LIBIEC61883_TRUE='#'
38520  USE_LIBIEC61883_FALSE=
38521fi
38522
38523 if false; then
38524  USE_LIBPNG_TRUE=
38525  USE_LIBPNG_FALSE='#'
38526else
38527  USE_LIBPNG_TRUE='#'
38528  USE_LIBPNG_FALSE=
38529fi
38530
38531 if false; then
38532  USE_MPG123_TRUE=
38533  USE_MPG123_FALSE='#'
38534else
38535  USE_MPG123_TRUE='#'
38536  USE_MPG123_FALSE=
38537fi
38538
38539 if false; then
38540  USE_OSS_TRUE=
38541  USE_OSS_FALSE='#'
38542else
38543  USE_OSS_TRUE='#'
38544  USE_OSS_FALSE=
38545fi
38546
38547 if false; then
38548  USE_OSS4_TRUE=
38549  USE_OSS4_FALSE='#'
38550else
38551  USE_OSS4_TRUE='#'
38552  USE_OSS4_FALSE=
38553fi
38554
38555 if false; then
38556  USE_OSX_AUDIO_TRUE=
38557  USE_OSX_AUDIO_FALSE='#'
38558else
38559  USE_OSX_AUDIO_TRUE='#'
38560  USE_OSX_AUDIO_FALSE=
38561fi
38562
38563 if false; then
38564  USE_OSX_VIDEO_TRUE=
38565  USE_OSX_VIDEO_FALSE='#'
38566else
38567  USE_OSX_VIDEO_TRUE='#'
38568  USE_OSX_VIDEO_FALSE=
38569fi
38570
38571 if false; then
38572  USE_PULSE_TRUE=
38573  USE_PULSE_FALSE='#'
38574else
38575  USE_PULSE_TRUE='#'
38576  USE_PULSE_FALSE=
38577fi
38578
38579 if false; then
38580  USE_QT_TRUE=
38581  USE_QT_FALSE='#'
38582else
38583  USE_QT_TRUE='#'
38584  USE_QT_FALSE=
38585fi
38586
38587 if false; then
38588  USE_SHOUT2_TRUE=
38589  USE_SHOUT2_FALSE='#'
38590else
38591  USE_SHOUT2_TRUE='#'
38592  USE_SHOUT2_FALSE=
38593fi
38594
38595 if false; then
38596  USE_SOUP_TRUE=
38597  USE_SOUP_FALSE='#'
38598else
38599  USE_SOUP_TRUE='#'
38600  USE_SOUP_FALSE=
38601fi
38602
38603 if false; then
38604  USE_SPEEX_TRUE=
38605  USE_SPEEX_FALSE='#'
38606else
38607  USE_SPEEX_TRUE='#'
38608  USE_SPEEX_FALSE=
38609fi
38610
38611 if false; then
38612  USE_TAGLIB_TRUE=
38613  USE_TAGLIB_FALSE='#'
38614else
38615  USE_TAGLIB_TRUE='#'
38616  USE_TAGLIB_FALSE=
38617fi
38618
38619 if false; then
38620  USE_TWOLAME_TRUE=
38621  USE_TWOLAME_FALSE='#'
38622else
38623  USE_TWOLAME_TRUE='#'
38624  USE_TWOLAME_FALSE=
38625fi
38626
38627 if false; then
38628  USE_VPX_TRUE=
38629  USE_VPX_FALSE='#'
38630else
38631  USE_VPX_TRUE='#'
38632  USE_VPX_FALSE=
38633fi
38634
38635 if false; then
38636  USE_WAVEFORM_TRUE=
38637  USE_WAVEFORM_FALSE='#'
38638else
38639  USE_WAVEFORM_TRUE='#'
38640  USE_WAVEFORM_FALSE=
38641fi
38642
38643 if false; then
38644  USE_WAVPACK_TRUE=
38645  USE_WAVPACK_FALSE='#'
38646else
38647  USE_WAVPACK_TRUE='#'
38648  USE_WAVPACK_FALSE=
38649fi
38650
38651 if false; then
38652  USE_X_TRUE=
38653  USE_X_FALSE='#'
38654else
38655  USE_X_TRUE='#'
38656  USE_X_FALSE=
38657fi
38658
38659 if false; then
38660  USE_ZLIB_TRUE=
38661  USE_ZLIB_FALSE='#'
38662else
38663  USE_ZLIB_TRUE='#'
38664  USE_ZLIB_FALSE=
38665fi
38666
38667
38668fi
38669
38670
38671if test "x$USE_DEBUG" = xyes; then
38672   PROFILE_CFLAGS="-g"
38673fi
38674
38675
38676if test "x$PACKAGE_VERSION_NANO" = "x1"; then
38677    DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
38678else
38679  DEPRECATED_CFLAGS=""
38680fi
38681
38682
38683VISIBILITY_CFLAGS=""
38684
38685  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fvisibility=hidden" >&5
38686$as_echo_n "checking to see if compiler understands -fvisibility=hidden... " >&6; }
38687
38688  save_CFLAGS="$CFLAGS"
38689  CFLAGS="$CFLAGS -fvisibility=hidden"
38690
38691  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38692/* end confdefs.h.  */
38693
38694int
38695main ()
38696{
38697
38698  ;
38699  return 0;
38700}
38701_ACEOF
38702if ac_fn_c_try_compile "$LINENO"; then :
38703  flag_ok=yes
38704else
38705  flag_ok=no
38706fi
38707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38708  CFLAGS="$save_CFLAGS"
38709
38710  if test "X$flag_ok" = Xyes ; then
38711    VISIBILITY_CFLAGS="-fvisibility=hidden"
38712    true
38713  else
38714
38715    true
38716  fi
38717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
38718$as_echo "$flag_ok" >&6; }
38719
38720
38721
38722VISIBILITY_CXXFLAGS=""
38723if test "x$HAVE_CXX" = "xyes"; then
38724
38725
38726
38727  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fvisibility=hidden" >&5
38728$as_echo_n "checking to see if c++ compiler understands -fvisibility=hidden... " >&6; }
38729
38730  save_CPPFLAGS="$CPPFLAGS"
38731  CPPFLAGS="$CPPFLAGS -fvisibility=hidden"
38732
38733  ac_ext=cpp
38734ac_cpp='$CXXCPP $CPPFLAGS'
38735ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38736ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38737ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38738
38739
38740  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38741/* end confdefs.h.  */
38742
38743int
38744main ()
38745{
38746
38747  ;
38748  return 0;
38749}
38750_ACEOF
38751if ac_fn_cxx_try_compile "$LINENO"; then :
38752  flag_ok=yes
38753else
38754  flag_ok=no
38755fi
38756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38757  CPPFLAGS="$save_CPPFLAGS"
38758
38759  if test "X$flag_ok" = Xyes ; then
38760    VISIBILITY_CXXFLAGS="-fvisibility=hidden"
38761    true
38762  else
38763
38764    true
38765  fi
38766
38767  ac_ext=c
38768ac_cpp='$CPP $CPPFLAGS'
38769ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38770ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38771ac_compiler_gnu=$ac_cv_c_compiler_gnu
38772
38773
38774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
38775$as_echo "$flag_ok" >&6; }
38776
38777fi
38778
38779
38780
38781  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
38782$as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
38783
38784  save_CFLAGS="$CFLAGS"
38785  CFLAGS="$CFLAGS -fno-strict-aliasing"
38786
38787  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38788/* end confdefs.h.  */
38789
38790int
38791main ()
38792{
38793
38794  ;
38795  return 0;
38796}
38797_ACEOF
38798if ac_fn_c_try_compile "$LINENO"; then :
38799  flag_ok=yes
38800else
38801  flag_ok=no
38802fi
38803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38804  CFLAGS="$save_CFLAGS"
38805
38806  if test "X$flag_ok" = Xyes ; then
38807    EXTRA_CFLAGS="-fno-strict-aliasing"
38808    true
38809  else
38810
38811    true
38812  fi
38813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
38814$as_echo "$flag_ok" >&6; }
38815
38816
38817
38818GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
38819GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
38820GST_OPTION_OBJCFLAGS="\$(WARNING_OBJCFLAGS) \$(ERROR_OBJCFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
38821
38822
38823
38824
38825
38826
38827GST_CFLAGS="$GST_CFLAGS -DGST_USE_UNSTABLE_API"
38828GST_CXXFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $EXTRA_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CXXFLAGS) \$(VISIBILITY_CXXFLAGS)"
38829GST_OBJCFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $EXTRA_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_OBJCFLAGS)"
38830GST_CFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $EXTRA_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS) \$(VISIBILITY_CFLAGS)"
38831
38832
38833
38834
38835
38836GST_ALL_LDFLAGS="-no-undefined"
38837if test "x${enable_Bsymbolic}" = "xyes"; then
38838  GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions"
38839fi
38840
38841
38842GST_PLUGIN_LDFLAGS="-module -avoid-version $GST_ALL_LDFLAGS"
38843
38844
38845
38846$MKDIR_P tests/check/orc
38847
38848ac_config_files="$ac_config_files Makefile gst/Makefile gst/alpha/Makefile gst/apetag/Makefile gst/audiofx/Makefile gst/audioparsers/Makefile gst/auparse/Makefile gst/autodetect/Makefile gst/avi/Makefile gst/cutter/Makefile gst/deinterlace/Makefile gst/dtmf/Makefile gst/debugutils/Makefile gst/effectv/Makefile gst/equalizer/Makefile gst/flv/Makefile gst/goom/Makefile gst/goom2k1/Makefile gst/id3demux/Makefile gst/icydemux/Makefile gst/imagefreeze/Makefile gst/interleave/Makefile gst/isomp4/Makefile gst/law/Makefile gst/level/Makefile gst/matroska/Makefile gst/monoscope/Makefile gst/multifile/Makefile gst/multipart/Makefile gst/replaygain/Makefile gst/rtp/Makefile gst/rtpmanager/Makefile gst/rtsp/Makefile gst/shapewipe/Makefile gst/smpte/Makefile gst/spectrum/Makefile gst/udp/Makefile gst/videobox/Makefile gst/videocrop/Makefile gst/videofilter/Makefile gst/videomixer/Makefile gst/wavenc/Makefile gst/wavparse/Makefile gst/flx/Makefile gst/y4m/Makefile ext/Makefile ext/aalib/Makefile ext/cairo/Makefile ext/dv/Makefile ext/flac/Makefile ext/gdk_pixbuf/Makefile ext/gtk/Makefile ext/jack/Makefile ext/jpeg/Makefile ext/lame/Makefile ext/libcaca/Makefile ext/libpng/Makefile ext/mpg123/Makefile ext/pulse/Makefile ext/qt/Makefile ext/raw1394/Makefile ext/shout2/Makefile ext/soup/Makefile ext/speex/Makefile ext/taglib/Makefile ext/twolame/Makefile ext/vpx/Makefile ext/wavpack/Makefile sys/Makefile sys/directsound/Makefile sys/oss/Makefile sys/oss4/Makefile sys/osxaudio/Makefile sys/osxvideo/Makefile sys/v4l2/Makefile sys/waveform/Makefile sys/ximage/Makefile po/Makefile.in tests/Makefile tests/check/Makefile tests/examples/Makefile tests/examples/audiofx/Makefile tests/examples/cairo/Makefile tests/examples/equalizer/Makefile tests/examples/gtk/Makefile tests/examples/jack/Makefile tests/examples/level/Makefile tests/examples/rtp/Makefile tests/examples/rtsp/Makefile tests/examples/shapewipe/Makefile tests/examples/spectrum/Makefile tests/examples/v4l2/Makefile tests/files/Makefile tests/icles/Makefile common/Makefile common/m4/Makefile m4/Makefile docs/Makefile docs/plugins/Makefile docs/version.entities pkgconfig/Makefile pkgconfig/gstreamer-plugins-good-uninstalled.pc"
38849
38850cat >confcache <<\_ACEOF
38851# This file is a shell script that caches the results of configure
38852# tests run on this system so they can be shared between configure
38853# scripts and configure runs, see configure's option --config-cache.
38854# It is not useful on other systems.  If it contains results you don't
38855# want to keep, you may remove or edit it.
38856#
38857# config.status only pays attention to the cache file if you give it
38858# the --recheck option to rerun configure.
38859#
38860# `ac_cv_env_foo' variables (set or unset) will be overridden when
38861# loading this file, other *unset* `ac_cv_foo' will be assigned the
38862# following values.
38863
38864_ACEOF
38865
38866# The following way of writing the cache mishandles newlines in values,
38867# but we know of no workaround that is simple, portable, and efficient.
38868# So, we kill variables containing newlines.
38869# Ultrix sh set writes to stderr and can't be redirected directly,
38870# and sets the high bit in the cache file unless we assign to the vars.
38871(
38872  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38873    eval ac_val=\$$ac_var
38874    case $ac_val in #(
38875    *${as_nl}*)
38876      case $ac_var in #(
38877      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
38878$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
38879      esac
38880      case $ac_var in #(
38881      _ | IFS | as_nl) ;; #(
38882      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
38883      *) { eval $ac_var=; unset $ac_var;} ;;
38884      esac ;;
38885    esac
38886  done
38887
38888  (set) 2>&1 |
38889    case $as_nl`(ac_space=' '; set) 2>&1` in #(
38890    *${as_nl}ac_space=\ *)
38891      # `set' does not quote correctly, so add quotes: double-quote
38892      # substitution turns \\\\ into \\, and sed turns \\ into \.
38893      sed -n \
38894	"s/'/'\\\\''/g;
38895	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38896      ;; #(
38897    *)
38898      # `set' quotes correctly as required by POSIX, so do not add quotes.
38899      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38900      ;;
38901    esac |
38902    sort
38903) |
38904  sed '
38905     /^ac_cv_env_/b end
38906     t clear
38907     :clear
38908     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38909     t end
38910     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38911     :end' >>confcache
38912if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38913  if test -w "$cache_file"; then
38914    if test "x$cache_file" != "x/dev/null"; then
38915      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
38916$as_echo "$as_me: updating cache $cache_file" >&6;}
38917      if test ! -f "$cache_file" || test -h "$cache_file"; then
38918	cat confcache >"$cache_file"
38919      else
38920        case $cache_file in #(
38921        */* | ?:*)
38922	  mv -f confcache "$cache_file"$$ &&
38923	  mv -f "$cache_file"$$ "$cache_file" ;; #(
38924        *)
38925	  mv -f confcache "$cache_file" ;;
38926	esac
38927      fi
38928    fi
38929  else
38930    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
38931$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38932  fi
38933fi
38934rm -f confcache
38935
38936test "x$prefix" = xNONE && prefix=$ac_default_prefix
38937# Let make expand exec_prefix.
38938test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
38939
38940DEFS=-DHAVE_CONFIG_H
38941
38942ac_libobjs=
38943ac_ltlibobjs=
38944U=
38945for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
38946  # 1. Remove the extension, and $U if already installed.
38947  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
38948  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
38949  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
38950  #    will be set to the directory where LIBOBJS objects are built.
38951  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
38952  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
38953done
38954LIBOBJS=$ac_libobjs
38955
38956LTLIBOBJS=$ac_ltlibobjs
38957
38958
38959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
38960$as_echo_n "checking that generated files are newer than configure... " >&6; }
38961   if test -n "$am_sleep_pid"; then
38962     # Hide warnings about reused PIDs.
38963     wait $am_sleep_pid 2>/dev/null
38964   fi
38965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
38966$as_echo "done" >&6; }
38967 if test -n "$EXEEXT"; then
38968  am__EXEEXT_TRUE=
38969  am__EXEEXT_FALSE='#'
38970else
38971  am__EXEEXT_TRUE='#'
38972  am__EXEEXT_FALSE=
38973fi
38974
38975if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
38976  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
38977Usually this means the macro was only invoked conditionally." "$LINENO" 5
38978fi
38979if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
38980  as_fn_error $? "conditional \"AMDEP\" was never defined.
38981Usually this means the macro was only invoked conditionally." "$LINENO" 5
38982fi
38983if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
38984  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
38985Usually this means the macro was only invoked conditionally." "$LINENO" 5
38986fi
38987if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
38988  as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
38989Usually this means the macro was only invoked conditionally." "$LINENO" 5
38990fi
38991if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
38992  as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
38993Usually this means the macro was only invoked conditionally." "$LINENO" 5
38994fi
38995if test -z "${USE_EXTERNAL_TRUE}" && test -z "${USE_EXTERNAL_FALSE}"; then
38996  as_fn_error $? "conditional \"USE_EXTERNAL\" was never defined.
38997Usually this means the macro was only invoked conditionally." "$LINENO" 5
38998fi
38999if test -z "${BUILD_EXTERNAL_TRUE}" && test -z "${BUILD_EXTERNAL_FALSE}"; then
39000  as_fn_error $? "conditional \"BUILD_EXTERNAL\" was never defined.
39001Usually this means the macro was only invoked conditionally." "$LINENO" 5
39002fi
39003if test -z "${USE_EXPERIMENTAL_TRUE}" && test -z "${USE_EXPERIMENTAL_FALSE}"; then
39004  as_fn_error $? "conditional \"USE_EXPERIMENTAL\" was never defined.
39005Usually this means the macro was only invoked conditionally." "$LINENO" 5
39006fi
39007if test -z "${BUILD_EXPERIMENTAL_TRUE}" && test -z "${BUILD_EXPERIMENTAL_FALSE}"; then
39008  as_fn_error $? "conditional \"BUILD_EXPERIMENTAL\" was never defined.
39009Usually this means the macro was only invoked conditionally." "$LINENO" 5
39010fi
39011
39012if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
39013  as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
39014Usually this means the macro was only invoked conditionally." "$LINENO" 5
39015fi
39016if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
39017  as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
39018Usually this means the macro was only invoked conditionally." "$LINENO" 5
39019fi
39020if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
39021  as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
39022Usually this means the macro was only invoked conditionally." "$LINENO" 5
39023fi
39024if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
39025  as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
39026Usually this means the macro was only invoked conditionally." "$LINENO" 5
39027fi
39028if test -z "${HAVE_CPU_ARC_TRUE}" && test -z "${HAVE_CPU_ARC_FALSE}"; then
39029  as_fn_error $? "conditional \"HAVE_CPU_ARC\" was never defined.
39030Usually this means the macro was only invoked conditionally." "$LINENO" 5
39031fi
39032if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
39033  as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
39034Usually this means the macro was only invoked conditionally." "$LINENO" 5
39035fi
39036if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
39037  as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
39038Usually this means the macro was only invoked conditionally." "$LINENO" 5
39039fi
39040if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
39041  as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
39042Usually this means the macro was only invoked conditionally." "$LINENO" 5
39043fi
39044if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
39045  as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
39046Usually this means the macro was only invoked conditionally." "$LINENO" 5
39047fi
39048if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
39049  as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
39050Usually this means the macro was only invoked conditionally." "$LINENO" 5
39051fi
39052if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
39053  as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
39054Usually this means the macro was only invoked conditionally." "$LINENO" 5
39055fi
39056if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
39057  as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
39058Usually this means the macro was only invoked conditionally." "$LINENO" 5
39059fi
39060if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
39061  as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
39062Usually this means the macro was only invoked conditionally." "$LINENO" 5
39063fi
39064if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
39065  as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
39066Usually this means the macro was only invoked conditionally." "$LINENO" 5
39067fi
39068if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
39069  as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
39070Usually this means the macro was only invoked conditionally." "$LINENO" 5
39071fi
39072
39073if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
39074  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
39075Usually this means the macro was only invoked conditionally." "$LINENO" 5
39076fi
39077if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
39078  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
39079Usually this means the macro was only invoked conditionally." "$LINENO" 5
39080fi
39081if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
39082  as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
39083Usually this means the macro was only invoked conditionally." "$LINENO" 5
39084fi
39085if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
39086  as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
39087Usually this means the macro was only invoked conditionally." "$LINENO" 5
39088fi
39089if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
39090  as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
39091Usually this means the macro was only invoked conditionally." "$LINENO" 5
39092fi
39093if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
39094  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
39095Usually this means the macro was only invoked conditionally." "$LINENO" 5
39096fi
39097if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
39098  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
39099Usually this means the macro was only invoked conditionally." "$LINENO" 5
39100fi
39101if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
39102  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
39103Usually this means the macro was only invoked conditionally." "$LINENO" 5
39104fi
39105if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
39106  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
39107Usually this means the macro was only invoked conditionally." "$LINENO" 5
39108fi
39109if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
39110  as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
39111Usually this means the macro was only invoked conditionally." "$LINENO" 5
39112fi
39113if test -z "${HAVE_GCC_ASM_TRUE}" && test -z "${HAVE_GCC_ASM_FALSE}"; then
39114  as_fn_error $? "conditional \"HAVE_GCC_ASM\" was never defined.
39115Usually this means the macro was only invoked conditionally." "$LINENO" 5
39116fi
39117if test -z "${GST_HAVE_MMAP_TRUE}" && test -z "${GST_HAVE_MMAP_FALSE}"; then
39118  as_fn_error $? "conditional \"GST_HAVE_MMAP\" was never defined.
39119Usually this means the macro was only invoked conditionally." "$LINENO" 5
39120fi
39121if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
39122  as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
39123Usually this means the macro was only invoked conditionally." "$LINENO" 5
39124fi
39125if test -z "${HAVE_ORCC_TRUE}" && test -z "${HAVE_ORCC_FALSE}"; then
39126  as_fn_error $? "conditional \"HAVE_ORCC\" was never defined.
39127Usually this means the macro was only invoked conditionally." "$LINENO" 5
39128fi
39129if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
39130  as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
39131Usually this means the macro was only invoked conditionally." "$LINENO" 5
39132fi
39133if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
39134  as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
39135Usually this means the macro was only invoked conditionally." "$LINENO" 5
39136fi
39137if test -z "${HAVE_GTK_X11_TRUE}" && test -z "${HAVE_GTK_X11_FALSE}"; then
39138  as_fn_error $? "conditional \"HAVE_GTK_X11\" was never defined.
39139Usually this means the macro was only invoked conditionally." "$LINENO" 5
39140fi
39141if test -z "${USE_PLUGIN_ALPHA_TRUE}" && test -z "${USE_PLUGIN_ALPHA_FALSE}"; then
39142  as_fn_error $? "conditional \"USE_PLUGIN_ALPHA\" was never defined.
39143Usually this means the macro was only invoked conditionally." "$LINENO" 5
39144fi
39145if test -z "${USE_PLUGIN_APETAG_TRUE}" && test -z "${USE_PLUGIN_APETAG_FALSE}"; then
39146  as_fn_error $? "conditional \"USE_PLUGIN_APETAG\" was never defined.
39147Usually this means the macro was only invoked conditionally." "$LINENO" 5
39148fi
39149if test -z "${USE_PLUGIN_AUDIOFX_TRUE}" && test -z "${USE_PLUGIN_AUDIOFX_FALSE}"; then
39150  as_fn_error $? "conditional \"USE_PLUGIN_AUDIOFX\" was never defined.
39151Usually this means the macro was only invoked conditionally." "$LINENO" 5
39152fi
39153if test -z "${USE_PLUGIN_AUDIOPARSERS_TRUE}" && test -z "${USE_PLUGIN_AUDIOPARSERS_FALSE}"; then
39154  as_fn_error $? "conditional \"USE_PLUGIN_AUDIOPARSERS\" was never defined.
39155Usually this means the macro was only invoked conditionally." "$LINENO" 5
39156fi
39157if test -z "${USE_PLUGIN_AUPARSE_TRUE}" && test -z "${USE_PLUGIN_AUPARSE_FALSE}"; then
39158  as_fn_error $? "conditional \"USE_PLUGIN_AUPARSE\" was never defined.
39159Usually this means the macro was only invoked conditionally." "$LINENO" 5
39160fi
39161if test -z "${USE_PLUGIN_AUTODETECT_TRUE}" && test -z "${USE_PLUGIN_AUTODETECT_FALSE}"; then
39162  as_fn_error $? "conditional \"USE_PLUGIN_AUTODETECT\" was never defined.
39163Usually this means the macro was only invoked conditionally." "$LINENO" 5
39164fi
39165if test -z "${USE_PLUGIN_AVI_TRUE}" && test -z "${USE_PLUGIN_AVI_FALSE}"; then
39166  as_fn_error $? "conditional \"USE_PLUGIN_AVI\" was never defined.
39167Usually this means the macro was only invoked conditionally." "$LINENO" 5
39168fi
39169if test -z "${USE_PLUGIN_CUTTER_TRUE}" && test -z "${USE_PLUGIN_CUTTER_FALSE}"; then
39170  as_fn_error $? "conditional \"USE_PLUGIN_CUTTER\" was never defined.
39171Usually this means the macro was only invoked conditionally." "$LINENO" 5
39172fi
39173if test -z "${USE_PLUGIN_DEBUGUTILS_TRUE}" && test -z "${USE_PLUGIN_DEBUGUTILS_FALSE}"; then
39174  as_fn_error $? "conditional \"USE_PLUGIN_DEBUGUTILS\" was never defined.
39175Usually this means the macro was only invoked conditionally." "$LINENO" 5
39176fi
39177if test -z "${USE_PLUGIN_DEINTERLACE_TRUE}" && test -z "${USE_PLUGIN_DEINTERLACE_FALSE}"; then
39178  as_fn_error $? "conditional \"USE_PLUGIN_DEINTERLACE\" was never defined.
39179Usually this means the macro was only invoked conditionally." "$LINENO" 5
39180fi
39181if test -z "${USE_PLUGIN_DTMF_TRUE}" && test -z "${USE_PLUGIN_DTMF_FALSE}"; then
39182  as_fn_error $? "conditional \"USE_PLUGIN_DTMF\" was never defined.
39183Usually this means the macro was only invoked conditionally." "$LINENO" 5
39184fi
39185if test -z "${USE_PLUGIN_EFFECTV_TRUE}" && test -z "${USE_PLUGIN_EFFECTV_FALSE}"; then
39186  as_fn_error $? "conditional \"USE_PLUGIN_EFFECTV\" was never defined.
39187Usually this means the macro was only invoked conditionally." "$LINENO" 5
39188fi
39189if test -z "${USE_PLUGIN_EQUALIZER_TRUE}" && test -z "${USE_PLUGIN_EQUALIZER_FALSE}"; then
39190  as_fn_error $? "conditional \"USE_PLUGIN_EQUALIZER\" was never defined.
39191Usually this means the macro was only invoked conditionally." "$LINENO" 5
39192fi
39193if test -z "${USE_PLUGIN_FLV_TRUE}" && test -z "${USE_PLUGIN_FLV_FALSE}"; then
39194  as_fn_error $? "conditional \"USE_PLUGIN_FLV\" was never defined.
39195Usually this means the macro was only invoked conditionally." "$LINENO" 5
39196fi
39197if test -z "${USE_PLUGIN_FLX_TRUE}" && test -z "${USE_PLUGIN_FLX_FALSE}"; then
39198  as_fn_error $? "conditional \"USE_PLUGIN_FLX\" was never defined.
39199Usually this means the macro was only invoked conditionally." "$LINENO" 5
39200fi
39201if test -z "${USE_PLUGIN_GOOM_TRUE}" && test -z "${USE_PLUGIN_GOOM_FALSE}"; then
39202  as_fn_error $? "conditional \"USE_PLUGIN_GOOM\" was never defined.
39203Usually this means the macro was only invoked conditionally." "$LINENO" 5
39204fi
39205if test -z "${USE_PLUGIN_GOOM2K1_TRUE}" && test -z "${USE_PLUGIN_GOOM2K1_FALSE}"; then
39206  as_fn_error $? "conditional \"USE_PLUGIN_GOOM2K1\" was never defined.
39207Usually this means the macro was only invoked conditionally." "$LINENO" 5
39208fi
39209if test -z "${USE_PLUGIN_ICYDEMUX_TRUE}" && test -z "${USE_PLUGIN_ICYDEMUX_FALSE}"; then
39210  as_fn_error $? "conditional \"USE_PLUGIN_ICYDEMUX\" was never defined.
39211Usually this means the macro was only invoked conditionally." "$LINENO" 5
39212fi
39213if test -z "${USE_PLUGIN_ID3DEMUX_TRUE}" && test -z "${USE_PLUGIN_ID3DEMUX_FALSE}"; then
39214  as_fn_error $? "conditional \"USE_PLUGIN_ID3DEMUX\" was never defined.
39215Usually this means the macro was only invoked conditionally." "$LINENO" 5
39216fi
39217if test -z "${USE_PLUGIN_IMAGEFREEZE_TRUE}" && test -z "${USE_PLUGIN_IMAGEFREEZE_FALSE}"; then
39218  as_fn_error $? "conditional \"USE_PLUGIN_IMAGEFREEZE\" was never defined.
39219Usually this means the macro was only invoked conditionally." "$LINENO" 5
39220fi
39221if test -z "${USE_PLUGIN_INTERLEAVE_TRUE}" && test -z "${USE_PLUGIN_INTERLEAVE_FALSE}"; then
39222  as_fn_error $? "conditional \"USE_PLUGIN_INTERLEAVE\" was never defined.
39223Usually this means the macro was only invoked conditionally." "$LINENO" 5
39224fi
39225if test -z "${USE_PLUGIN_ISOMP4_TRUE}" && test -z "${USE_PLUGIN_ISOMP4_FALSE}"; then
39226  as_fn_error $? "conditional \"USE_PLUGIN_ISOMP4\" was never defined.
39227Usually this means the macro was only invoked conditionally." "$LINENO" 5
39228fi
39229if test -z "${USE_PLUGIN_LAW_TRUE}" && test -z "${USE_PLUGIN_LAW_FALSE}"; then
39230  as_fn_error $? "conditional \"USE_PLUGIN_LAW\" was never defined.
39231Usually this means the macro was only invoked conditionally." "$LINENO" 5
39232fi
39233if test -z "${USE_PLUGIN_LEVEL_TRUE}" && test -z "${USE_PLUGIN_LEVEL_FALSE}"; then
39234  as_fn_error $? "conditional \"USE_PLUGIN_LEVEL\" was never defined.
39235Usually this means the macro was only invoked conditionally." "$LINENO" 5
39236fi
39237if test -z "${USE_PLUGIN_MATROSKA_TRUE}" && test -z "${USE_PLUGIN_MATROSKA_FALSE}"; then
39238  as_fn_error $? "conditional \"USE_PLUGIN_MATROSKA\" was never defined.
39239Usually this means the macro was only invoked conditionally." "$LINENO" 5
39240fi
39241if test -z "${USE_PLUGIN_MONOSCOPE_TRUE}" && test -z "${USE_PLUGIN_MONOSCOPE_FALSE}"; then
39242  as_fn_error $? "conditional \"USE_PLUGIN_MONOSCOPE\" was never defined.
39243Usually this means the macro was only invoked conditionally." "$LINENO" 5
39244fi
39245if test -z "${USE_PLUGIN_MULTIFILE_TRUE}" && test -z "${USE_PLUGIN_MULTIFILE_FALSE}"; then
39246  as_fn_error $? "conditional \"USE_PLUGIN_MULTIFILE\" was never defined.
39247Usually this means the macro was only invoked conditionally." "$LINENO" 5
39248fi
39249if test -z "${USE_PLUGIN_MULTIPART_TRUE}" && test -z "${USE_PLUGIN_MULTIPART_FALSE}"; then
39250  as_fn_error $? "conditional \"USE_PLUGIN_MULTIPART\" was never defined.
39251Usually this means the macro was only invoked conditionally." "$LINENO" 5
39252fi
39253if test -z "${USE_PLUGIN_REPLAYGAIN_TRUE}" && test -z "${USE_PLUGIN_REPLAYGAIN_FALSE}"; then
39254  as_fn_error $? "conditional \"USE_PLUGIN_REPLAYGAIN\" was never defined.
39255Usually this means the macro was only invoked conditionally." "$LINENO" 5
39256fi
39257if test -z "${USE_PLUGIN_RTP_TRUE}" && test -z "${USE_PLUGIN_RTP_FALSE}"; then
39258  as_fn_error $? "conditional \"USE_PLUGIN_RTP\" was never defined.
39259Usually this means the macro was only invoked conditionally." "$LINENO" 5
39260fi
39261if test -z "${USE_PLUGIN_RTPMANAGER_TRUE}" && test -z "${USE_PLUGIN_RTPMANAGER_FALSE}"; then
39262  as_fn_error $? "conditional \"USE_PLUGIN_RTPMANAGER\" was never defined.
39263Usually this means the macro was only invoked conditionally." "$LINENO" 5
39264fi
39265if test -z "${USE_PLUGIN_RTSP_TRUE}" && test -z "${USE_PLUGIN_RTSP_FALSE}"; then
39266  as_fn_error $? "conditional \"USE_PLUGIN_RTSP\" was never defined.
39267Usually this means the macro was only invoked conditionally." "$LINENO" 5
39268fi
39269if test -z "${USE_PLUGIN_SHAPEWIPE_TRUE}" && test -z "${USE_PLUGIN_SHAPEWIPE_FALSE}"; then
39270  as_fn_error $? "conditional \"USE_PLUGIN_SHAPEWIPE\" was never defined.
39271Usually this means the macro was only invoked conditionally." "$LINENO" 5
39272fi
39273if test -z "${USE_PLUGIN_SMPTE_TRUE}" && test -z "${USE_PLUGIN_SMPTE_FALSE}"; then
39274  as_fn_error $? "conditional \"USE_PLUGIN_SMPTE\" was never defined.
39275Usually this means the macro was only invoked conditionally." "$LINENO" 5
39276fi
39277if test -z "${USE_PLUGIN_SPECTRUM_TRUE}" && test -z "${USE_PLUGIN_SPECTRUM_FALSE}"; then
39278  as_fn_error $? "conditional \"USE_PLUGIN_SPECTRUM\" was never defined.
39279Usually this means the macro was only invoked conditionally." "$LINENO" 5
39280fi
39281if test -z "${USE_PLUGIN_UDP_TRUE}" && test -z "${USE_PLUGIN_UDP_FALSE}"; then
39282  as_fn_error $? "conditional \"USE_PLUGIN_UDP\" was never defined.
39283Usually this means the macro was only invoked conditionally." "$LINENO" 5
39284fi
39285if test -z "${USE_PLUGIN_VIDEOBOX_TRUE}" && test -z "${USE_PLUGIN_VIDEOBOX_FALSE}"; then
39286  as_fn_error $? "conditional \"USE_PLUGIN_VIDEOBOX\" was never defined.
39287Usually this means the macro was only invoked conditionally." "$LINENO" 5
39288fi
39289if test -z "${USE_PLUGIN_VIDEOCROP_TRUE}" && test -z "${USE_PLUGIN_VIDEOCROP_FALSE}"; then
39290  as_fn_error $? "conditional \"USE_PLUGIN_VIDEOCROP\" was never defined.
39291Usually this means the macro was only invoked conditionally." "$LINENO" 5
39292fi
39293if test -z "${USE_PLUGIN_VIDEOFILTER_TRUE}" && test -z "${USE_PLUGIN_VIDEOFILTER_FALSE}"; then
39294  as_fn_error $? "conditional \"USE_PLUGIN_VIDEOFILTER\" was never defined.
39295Usually this means the macro was only invoked conditionally." "$LINENO" 5
39296fi
39297if test -z "${USE_PLUGIN_VIDEOMIXER_TRUE}" && test -z "${USE_PLUGIN_VIDEOMIXER_FALSE}"; then
39298  as_fn_error $? "conditional \"USE_PLUGIN_VIDEOMIXER\" was never defined.
39299Usually this means the macro was only invoked conditionally." "$LINENO" 5
39300fi
39301if test -z "${USE_PLUGIN_WAVENC_TRUE}" && test -z "${USE_PLUGIN_WAVENC_FALSE}"; then
39302  as_fn_error $? "conditional \"USE_PLUGIN_WAVENC\" was never defined.
39303Usually this means the macro was only invoked conditionally." "$LINENO" 5
39304fi
39305if test -z "${USE_PLUGIN_WAVPARSE_TRUE}" && test -z "${USE_PLUGIN_WAVPARSE_FALSE}"; then
39306  as_fn_error $? "conditional \"USE_PLUGIN_WAVPARSE\" was never defined.
39307Usually this means the macro was only invoked conditionally." "$LINENO" 5
39308fi
39309if test -z "${USE_PLUGIN_Y4M_TRUE}" && test -z "${USE_PLUGIN_Y4M_FALSE}"; then
39310  as_fn_error $? "conditional \"USE_PLUGIN_Y4M\" was never defined.
39311Usually this means the macro was only invoked conditionally." "$LINENO" 5
39312fi
39313if test -z "${USE_PLUGIN_MONOSCOPE_TRUE}" && test -z "${USE_PLUGIN_MONOSCOPE_FALSE}"; then
39314  as_fn_error $? "conditional \"USE_PLUGIN_MONOSCOPE\" was never defined.
39315Usually this means the macro was only invoked conditionally." "$LINENO" 5
39316fi
39317if test -z "${USE_DIRECTSOUND_TRUE}" && test -z "${USE_DIRECTSOUND_FALSE}"; then
39318  as_fn_error $? "conditional \"USE_DIRECTSOUND\" was never defined.
39319Usually this means the macro was only invoked conditionally." "$LINENO" 5
39320fi
39321if test -z "${USE_WAVEFORM_TRUE}" && test -z "${USE_WAVEFORM_FALSE}"; then
39322  as_fn_error $? "conditional \"USE_WAVEFORM\" was never defined.
39323Usually this means the macro was only invoked conditionally." "$LINENO" 5
39324fi
39325if test -z "${USE_OSS_TRUE}" && test -z "${USE_OSS_FALSE}"; then
39326  as_fn_error $? "conditional \"USE_OSS\" was never defined.
39327Usually this means the macro was only invoked conditionally." "$LINENO" 5
39328fi
39329if test -z "${USE_OSS4_TRUE}" && test -z "${USE_OSS4_FALSE}"; then
39330  as_fn_error $? "conditional \"USE_OSS4\" was never defined.
39331Usually this means the macro was only invoked conditionally." "$LINENO" 5
39332fi
39333if test -z "${USE_OSX_AUDIO_TRUE}" && test -z "${USE_OSX_AUDIO_FALSE}"; then
39334  as_fn_error $? "conditional \"USE_OSX_AUDIO\" was never defined.
39335Usually this means the macro was only invoked conditionally." "$LINENO" 5
39336fi
39337if test -z "${HAVE_IOS_TRUE}" && test -z "${HAVE_IOS_FALSE}"; then
39338  as_fn_error $? "conditional \"HAVE_IOS\" was never defined.
39339Usually this means the macro was only invoked conditionally." "$LINENO" 5
39340fi
39341if test -z "${USE_OSX_VIDEO_TRUE}" && test -z "${USE_OSX_VIDEO_FALSE}"; then
39342  as_fn_error $? "conditional \"USE_OSX_VIDEO\" was never defined.
39343Usually this means the macro was only invoked conditionally." "$LINENO" 5
39344fi
39345if test -z "${USE_GST_V4L2_TRUE}" && test -z "${USE_GST_V4L2_FALSE}"; then
39346  as_fn_error $? "conditional \"USE_GST_V4L2\" was never defined.
39347Usually this means the macro was only invoked conditionally." "$LINENO" 5
39348fi
39349if test -z "${USE_X_TRUE}" && test -z "${USE_X_FALSE}"; then
39350  as_fn_error $? "conditional \"USE_X\" was never defined.
39351Usually this means the macro was only invoked conditionally." "$LINENO" 5
39352fi
39353if test -z "${USE_AALIB_TRUE}" && test -z "${USE_AALIB_FALSE}"; then
39354  as_fn_error $? "conditional \"USE_AALIB\" was never defined.
39355Usually this means the macro was only invoked conditionally." "$LINENO" 5
39356fi
39357if test -z "${USE_CAIRO_TRUE}" && test -z "${USE_CAIRO_FALSE}"; then
39358  as_fn_error $? "conditional \"USE_CAIRO\" was never defined.
39359Usually this means the macro was only invoked conditionally." "$LINENO" 5
39360fi
39361if test -z "${USE_FLAC_TRUE}" && test -z "${USE_FLAC_FALSE}"; then
39362  as_fn_error $? "conditional \"USE_FLAC\" was never defined.
39363Usually this means the macro was only invoked conditionally." "$LINENO" 5
39364fi
39365if test -z "${USE_GDK_PIXBUF_TRUE}" && test -z "${USE_GDK_PIXBUF_FALSE}"; then
39366  as_fn_error $? "conditional \"USE_GDK_PIXBUF\" was never defined.
39367Usually this means the macro was only invoked conditionally." "$LINENO" 5
39368fi
39369if test -z "${USE_GTK3_TRUE}" && test -z "${USE_GTK3_FALSE}"; then
39370  as_fn_error $? "conditional \"USE_GTK3\" was never defined.
39371Usually this means the macro was only invoked conditionally." "$LINENO" 5
39372fi
39373if test -z "${USE_GTK3_GL_TRUE}" && test -z "${USE_GTK3_GL_FALSE}"; then
39374  as_fn_error $? "conditional \"USE_GTK3_GL\" was never defined.
39375Usually this means the macro was only invoked conditionally." "$LINENO" 5
39376fi
39377if test -z "${USE_JACK_TRUE}" && test -z "${USE_JACK_FALSE}"; then
39378  as_fn_error $? "conditional \"USE_JACK\" was never defined.
39379Usually this means the macro was only invoked conditionally." "$LINENO" 5
39380fi
39381if test -z "${USE_JPEG_TRUE}" && test -z "${USE_JPEG_FALSE}"; then
39382  as_fn_error $? "conditional \"USE_JPEG\" was never defined.
39383Usually this means the macro was only invoked conditionally." "$LINENO" 5
39384fi
39385if test -z "${USE_LAME_TRUE}" && test -z "${USE_LAME_FALSE}"; then
39386  as_fn_error $? "conditional \"USE_LAME\" was never defined.
39387Usually this means the macro was only invoked conditionally." "$LINENO" 5
39388fi
39389if test -z "${USE_LIBCACA_TRUE}" && test -z "${USE_LIBCACA_FALSE}"; then
39390  as_fn_error $? "conditional \"USE_LIBCACA\" was never defined.
39391Usually this means the macro was only invoked conditionally." "$LINENO" 5
39392fi
39393if test -z "${USE_LIBDV_TRUE}" && test -z "${USE_LIBDV_FALSE}"; then
39394  as_fn_error $? "conditional \"USE_LIBDV\" was never defined.
39395Usually this means the macro was only invoked conditionally." "$LINENO" 5
39396fi
39397if test -z "${USE_LIBPNG_TRUE}" && test -z "${USE_LIBPNG_FALSE}"; then
39398  as_fn_error $? "conditional \"USE_LIBPNG\" was never defined.
39399Usually this means the macro was only invoked conditionally." "$LINENO" 5
39400fi
39401if test -z "${USE_MPG123_TRUE}" && test -z "${USE_MPG123_FALSE}"; then
39402  as_fn_error $? "conditional \"USE_MPG123\" was never defined.
39403Usually this means the macro was only invoked conditionally." "$LINENO" 5
39404fi
39405if test -z "${USE_PULSE_TRUE}" && test -z "${USE_PULSE_FALSE}"; then
39406  as_fn_error $? "conditional \"USE_PULSE\" was never defined.
39407Usually this means the macro was only invoked conditionally." "$LINENO" 5
39408fi
39409if test -z "${USE_DV1394_TRUE}" && test -z "${USE_DV1394_FALSE}"; then
39410  as_fn_error $? "conditional \"USE_DV1394\" was never defined.
39411Usually this means the macro was only invoked conditionally." "$LINENO" 5
39412fi
39413if test -z "${USE_LIBIEC61883_TRUE}" && test -z "${USE_LIBIEC61883_FALSE}"; then
39414  as_fn_error $? "conditional \"USE_LIBIEC61883\" was never defined.
39415Usually this means the macro was only invoked conditionally." "$LINENO" 5
39416fi
39417if test -z "${USE_QT_TRUE}" && test -z "${USE_QT_FALSE}"; then
39418  as_fn_error $? "conditional \"USE_QT\" was never defined.
39419Usually this means the macro was only invoked conditionally." "$LINENO" 5
39420fi
39421if test -z "${USE_SHOUT2_TRUE}" && test -z "${USE_SHOUT2_FALSE}"; then
39422  as_fn_error $? "conditional \"USE_SHOUT2\" was never defined.
39423Usually this means the macro was only invoked conditionally." "$LINENO" 5
39424fi
39425if test -z "${USE_SOUP_TRUE}" && test -z "${USE_SOUP_FALSE}"; then
39426  as_fn_error $? "conditional \"USE_SOUP\" was never defined.
39427Usually this means the macro was only invoked conditionally." "$LINENO" 5
39428fi
39429if test -z "${USE_SPEEX_TRUE}" && test -z "${USE_SPEEX_FALSE}"; then
39430  as_fn_error $? "conditional \"USE_SPEEX\" was never defined.
39431Usually this means the macro was only invoked conditionally." "$LINENO" 5
39432fi
39433if test -z "${USE_TAGLIB_TRUE}" && test -z "${USE_TAGLIB_FALSE}"; then
39434  as_fn_error $? "conditional \"USE_TAGLIB\" was never defined.
39435Usually this means the macro was only invoked conditionally." "$LINENO" 5
39436fi
39437if test -z "${USE_TWOLAME_TRUE}" && test -z "${USE_TWOLAME_FALSE}"; then
39438  as_fn_error $? "conditional \"USE_TWOLAME\" was never defined.
39439Usually this means the macro was only invoked conditionally." "$LINENO" 5
39440fi
39441if test -z "${USE_VPX_TRUE}" && test -z "${USE_VPX_FALSE}"; then
39442  as_fn_error $? "conditional \"USE_VPX\" was never defined.
39443Usually this means the macro was only invoked conditionally." "$LINENO" 5
39444fi
39445if test -z "${USE_WAVPACK_TRUE}" && test -z "${USE_WAVPACK_FALSE}"; then
39446  as_fn_error $? "conditional \"USE_WAVPACK\" was never defined.
39447Usually this means the macro was only invoked conditionally." "$LINENO" 5
39448fi
39449if test -z "${USE_ZLIB_TRUE}" && test -z "${USE_ZLIB_FALSE}"; then
39450  as_fn_error $? "conditional \"USE_ZLIB\" was never defined.
39451Usually this means the macro was only invoked conditionally." "$LINENO" 5
39452fi
39453if test -z "${USE_BZ2_TRUE}" && test -z "${USE_BZ2_FALSE}"; then
39454  as_fn_error $? "conditional \"USE_BZ2\" was never defined.
39455Usually this means the macro was only invoked conditionally." "$LINENO" 5
39456fi
39457if test -z "${USE_AALIB_TRUE}" && test -z "${USE_AALIB_FALSE}"; then
39458  as_fn_error $? "conditional \"USE_AALIB\" was never defined.
39459Usually this means the macro was only invoked conditionally." "$LINENO" 5
39460fi
39461if test -z "${USE_BZ2_TRUE}" && test -z "${USE_BZ2_FALSE}"; then
39462  as_fn_error $? "conditional \"USE_BZ2\" was never defined.
39463Usually this means the macro was only invoked conditionally." "$LINENO" 5
39464fi
39465if test -z "${USE_CAIRO_TRUE}" && test -z "${USE_CAIRO_FALSE}"; then
39466  as_fn_error $? "conditional \"USE_CAIRO\" was never defined.
39467Usually this means the macro was only invoked conditionally." "$LINENO" 5
39468fi
39469if test -z "${USE_DIRECTSOUND_TRUE}" && test -z "${USE_DIRECTSOUND_FALSE}"; then
39470  as_fn_error $? "conditional \"USE_DIRECTSOUND\" was never defined.
39471Usually this means the macro was only invoked conditionally." "$LINENO" 5
39472fi
39473if test -z "${USE_DV1394_TRUE}" && test -z "${USE_DV1394_FALSE}"; then
39474  as_fn_error $? "conditional \"USE_DV1394\" was never defined.
39475Usually this means the macro was only invoked conditionally." "$LINENO" 5
39476fi
39477if test -z "${USE_FLAC_TRUE}" && test -z "${USE_FLAC_FALSE}"; then
39478  as_fn_error $? "conditional \"USE_FLAC\" was never defined.
39479Usually this means the macro was only invoked conditionally." "$LINENO" 5
39480fi
39481if test -z "${USE_GDK_PIXBUF_TRUE}" && test -z "${USE_GDK_PIXBUF_FALSE}"; then
39482  as_fn_error $? "conditional \"USE_GDK_PIXBUF\" was never defined.
39483Usually this means the macro was only invoked conditionally." "$LINENO" 5
39484fi
39485if test -z "${USE_GTK3_TRUE}" && test -z "${USE_GTK3_FALSE}"; then
39486  as_fn_error $? "conditional \"USE_GTK3\" was never defined.
39487Usually this means the macro was only invoked conditionally." "$LINENO" 5
39488fi
39489if test -z "${USE_GTK3_GL_TRUE}" && test -z "${USE_GTK3_GL_FALSE}"; then
39490  as_fn_error $? "conditional \"USE_GTK3_GL\" was never defined.
39491Usually this means the macro was only invoked conditionally." "$LINENO" 5
39492fi
39493if test -z "${USE_JACK_TRUE}" && test -z "${USE_JACK_FALSE}"; then
39494  as_fn_error $? "conditional \"USE_JACK\" was never defined.
39495Usually this means the macro was only invoked conditionally." "$LINENO" 5
39496fi
39497if test -z "${USE_JPEG_TRUE}" && test -z "${USE_JPEG_FALSE}"; then
39498  as_fn_error $? "conditional \"USE_JPEG\" was never defined.
39499Usually this means the macro was only invoked conditionally." "$LINENO" 5
39500fi
39501if test -z "${USE_LAME_TRUE}" && test -z "${USE_LAME_FALSE}"; then
39502  as_fn_error $? "conditional \"USE_LAME\" was never defined.
39503Usually this means the macro was only invoked conditionally." "$LINENO" 5
39504fi
39505if test -z "${USE_LIBCACA_TRUE}" && test -z "${USE_LIBCACA_FALSE}"; then
39506  as_fn_error $? "conditional \"USE_LIBCACA\" was never defined.
39507Usually this means the macro was only invoked conditionally." "$LINENO" 5
39508fi
39509if test -z "${USE_LIBDV_TRUE}" && test -z "${USE_LIBDV_FALSE}"; then
39510  as_fn_error $? "conditional \"USE_LIBDV\" was never defined.
39511Usually this means the macro was only invoked conditionally." "$LINENO" 5
39512fi
39513if test -z "${USE_LIBIEC61883_TRUE}" && test -z "${USE_LIBIEC61883_FALSE}"; then
39514  as_fn_error $? "conditional \"USE_LIBIEC61883\" was never defined.
39515Usually this means the macro was only invoked conditionally." "$LINENO" 5
39516fi
39517if test -z "${USE_LIBPNG_TRUE}" && test -z "${USE_LIBPNG_FALSE}"; then
39518  as_fn_error $? "conditional \"USE_LIBPNG\" was never defined.
39519Usually this means the macro was only invoked conditionally." "$LINENO" 5
39520fi
39521if test -z "${USE_MPG123_TRUE}" && test -z "${USE_MPG123_FALSE}"; then
39522  as_fn_error $? "conditional \"USE_MPG123\" was never defined.
39523Usually this means the macro was only invoked conditionally." "$LINENO" 5
39524fi
39525if test -z "${USE_OSS_TRUE}" && test -z "${USE_OSS_FALSE}"; then
39526  as_fn_error $? "conditional \"USE_OSS\" was never defined.
39527Usually this means the macro was only invoked conditionally." "$LINENO" 5
39528fi
39529if test -z "${USE_OSS4_TRUE}" && test -z "${USE_OSS4_FALSE}"; then
39530  as_fn_error $? "conditional \"USE_OSS4\" was never defined.
39531Usually this means the macro was only invoked conditionally." "$LINENO" 5
39532fi
39533if test -z "${USE_OSX_AUDIO_TRUE}" && test -z "${USE_OSX_AUDIO_FALSE}"; then
39534  as_fn_error $? "conditional \"USE_OSX_AUDIO\" was never defined.
39535Usually this means the macro was only invoked conditionally." "$LINENO" 5
39536fi
39537if test -z "${USE_OSX_VIDEO_TRUE}" && test -z "${USE_OSX_VIDEO_FALSE}"; then
39538  as_fn_error $? "conditional \"USE_OSX_VIDEO\" was never defined.
39539Usually this means the macro was only invoked conditionally." "$LINENO" 5
39540fi
39541if test -z "${USE_PULSE_TRUE}" && test -z "${USE_PULSE_FALSE}"; then
39542  as_fn_error $? "conditional \"USE_PULSE\" was never defined.
39543Usually this means the macro was only invoked conditionally." "$LINENO" 5
39544fi
39545if test -z "${USE_QT_TRUE}" && test -z "${USE_QT_FALSE}"; then
39546  as_fn_error $? "conditional \"USE_QT\" was never defined.
39547Usually this means the macro was only invoked conditionally." "$LINENO" 5
39548fi
39549if test -z "${USE_SHOUT2_TRUE}" && test -z "${USE_SHOUT2_FALSE}"; then
39550  as_fn_error $? "conditional \"USE_SHOUT2\" was never defined.
39551Usually this means the macro was only invoked conditionally." "$LINENO" 5
39552fi
39553if test -z "${USE_SOUP_TRUE}" && test -z "${USE_SOUP_FALSE}"; then
39554  as_fn_error $? "conditional \"USE_SOUP\" was never defined.
39555Usually this means the macro was only invoked conditionally." "$LINENO" 5
39556fi
39557if test -z "${USE_SPEEX_TRUE}" && test -z "${USE_SPEEX_FALSE}"; then
39558  as_fn_error $? "conditional \"USE_SPEEX\" was never defined.
39559Usually this means the macro was only invoked conditionally." "$LINENO" 5
39560fi
39561if test -z "${USE_TAGLIB_TRUE}" && test -z "${USE_TAGLIB_FALSE}"; then
39562  as_fn_error $? "conditional \"USE_TAGLIB\" was never defined.
39563Usually this means the macro was only invoked conditionally." "$LINENO" 5
39564fi
39565if test -z "${USE_TWOLAME_TRUE}" && test -z "${USE_TWOLAME_FALSE}"; then
39566  as_fn_error $? "conditional \"USE_TWOLAME\" was never defined.
39567Usually this means the macro was only invoked conditionally." "$LINENO" 5
39568fi
39569if test -z "${USE_VPX_TRUE}" && test -z "${USE_VPX_FALSE}"; then
39570  as_fn_error $? "conditional \"USE_VPX\" was never defined.
39571Usually this means the macro was only invoked conditionally." "$LINENO" 5
39572fi
39573if test -z "${USE_WAVEFORM_TRUE}" && test -z "${USE_WAVEFORM_FALSE}"; then
39574  as_fn_error $? "conditional \"USE_WAVEFORM\" was never defined.
39575Usually this means the macro was only invoked conditionally." "$LINENO" 5
39576fi
39577if test -z "${USE_WAVPACK_TRUE}" && test -z "${USE_WAVPACK_FALSE}"; then
39578  as_fn_error $? "conditional \"USE_WAVPACK\" was never defined.
39579Usually this means the macro was only invoked conditionally." "$LINENO" 5
39580fi
39581if test -z "${USE_X_TRUE}" && test -z "${USE_X_FALSE}"; then
39582  as_fn_error $? "conditional \"USE_X\" was never defined.
39583Usually this means the macro was only invoked conditionally." "$LINENO" 5
39584fi
39585if test -z "${USE_ZLIB_TRUE}" && test -z "${USE_ZLIB_FALSE}"; then
39586  as_fn_error $? "conditional \"USE_ZLIB\" was never defined.
39587Usually this means the macro was only invoked conditionally." "$LINENO" 5
39588fi
39589
39590: "${CONFIG_STATUS=./config.status}"
39591ac_write_fail=0
39592ac_clean_files_save=$ac_clean_files
39593ac_clean_files="$ac_clean_files $CONFIG_STATUS"
39594{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
39595$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
39596as_write_fail=0
39597cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
39598#! $SHELL
39599# Generated by $as_me.
39600# Run this file to recreate the current configuration.
39601# Compiler output produced by configure, useful for debugging
39602# configure, is in config.log if it exists.
39603
39604debug=false
39605ac_cs_recheck=false
39606ac_cs_silent=false
39607
39608SHELL=\${CONFIG_SHELL-$SHELL}
39609export SHELL
39610_ASEOF
39611cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
39612## -------------------- ##
39613## M4sh Initialization. ##
39614## -------------------- ##
39615
39616# Be more Bourne compatible
39617DUALCASE=1; export DUALCASE # for MKS sh
39618if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
39619  emulate sh
39620  NULLCMD=:
39621  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
39622  # is contrary to our usage.  Disable this feature.
39623  alias -g '${1+"$@"}'='"$@"'
39624  setopt NO_GLOB_SUBST
39625else
39626  case `(set -o) 2>/dev/null` in #(
39627  *posix*) :
39628    set -o posix ;; #(
39629  *) :
39630     ;;
39631esac
39632fi
39633
39634
39635as_nl='
39636'
39637export as_nl
39638# Printing a long string crashes Solaris 7 /usr/bin/printf.
39639as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39640as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39641as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
39642# Prefer a ksh shell builtin over an external printf program on Solaris,
39643# but without wasting forks for bash or zsh.
39644if test -z "$BASH_VERSION$ZSH_VERSION" \
39645    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
39646  as_echo='print -r --'
39647  as_echo_n='print -rn --'
39648elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
39649  as_echo='printf %s\n'
39650  as_echo_n='printf %s'
39651else
39652  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
39653    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
39654    as_echo_n='/usr/ucb/echo -n'
39655  else
39656    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
39657    as_echo_n_body='eval
39658      arg=$1;
39659      case $arg in #(
39660      *"$as_nl"*)
39661	expr "X$arg" : "X\\(.*\\)$as_nl";
39662	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
39663      esac;
39664      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
39665    '
39666    export as_echo_n_body
39667    as_echo_n='sh -c $as_echo_n_body as_echo'
39668  fi
39669  export as_echo_body
39670  as_echo='sh -c $as_echo_body as_echo'
39671fi
39672
39673# The user is always right.
39674if test "${PATH_SEPARATOR+set}" != set; then
39675  PATH_SEPARATOR=:
39676  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
39677    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
39678      PATH_SEPARATOR=';'
39679  }
39680fi
39681
39682
39683# IFS
39684# We need space, tab and new line, in precisely that order.  Quoting is
39685# there to prevent editors from complaining about space-tab.
39686# (If _AS_PATH_WALK were called with IFS unset, it would disable word
39687# splitting by setting IFS to empty value.)
39688IFS=" ""	$as_nl"
39689
39690# Find who we are.  Look in the path if we contain no directory separator.
39691as_myself=
39692case $0 in #((
39693  *[\\/]* ) as_myself=$0 ;;
39694  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39695for as_dir in $PATH
39696do
39697  IFS=$as_save_IFS
39698  test -z "$as_dir" && as_dir=.
39699    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
39700  done
39701IFS=$as_save_IFS
39702
39703     ;;
39704esac
39705# We did not find ourselves, most probably we were run as `sh COMMAND'
39706# in which case we are not to be found in the path.
39707if test "x$as_myself" = x; then
39708  as_myself=$0
39709fi
39710if test ! -f "$as_myself"; then
39711  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
39712  exit 1
39713fi
39714
39715# Unset variables that we do not need and which cause bugs (e.g. in
39716# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
39717# suppresses any "Segmentation fault" message there.  '((' could
39718# trigger a bug in pdksh 5.2.14.
39719for as_var in BASH_ENV ENV MAIL MAILPATH
39720do eval test x\${$as_var+set} = xset \
39721  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
39722done
39723PS1='$ '
39724PS2='> '
39725PS4='+ '
39726
39727# NLS nuisances.
39728LC_ALL=C
39729export LC_ALL
39730LANGUAGE=C
39731export LANGUAGE
39732
39733# CDPATH.
39734(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
39735
39736
39737# as_fn_error STATUS ERROR [LINENO LOG_FD]
39738# ----------------------------------------
39739# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
39740# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
39741# script with STATUS, using 1 if that was 0.
39742as_fn_error ()
39743{
39744  as_status=$1; test $as_status -eq 0 && as_status=1
39745  if test "$4"; then
39746    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
39747    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
39748  fi
39749  $as_echo "$as_me: error: $2" >&2
39750  as_fn_exit $as_status
39751} # as_fn_error
39752
39753
39754# as_fn_set_status STATUS
39755# -----------------------
39756# Set $? to STATUS, without forking.
39757as_fn_set_status ()
39758{
39759  return $1
39760} # as_fn_set_status
39761
39762# as_fn_exit STATUS
39763# -----------------
39764# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
39765as_fn_exit ()
39766{
39767  set +e
39768  as_fn_set_status $1
39769  exit $1
39770} # as_fn_exit
39771
39772# as_fn_unset VAR
39773# ---------------
39774# Portably unset VAR.
39775as_fn_unset ()
39776{
39777  { eval $1=; unset $1;}
39778}
39779as_unset=as_fn_unset
39780# as_fn_append VAR VALUE
39781# ----------------------
39782# Append the text in VALUE to the end of the definition contained in VAR. Take
39783# advantage of any shell optimizations that allow amortized linear growth over
39784# repeated appends, instead of the typical quadratic growth present in naive
39785# implementations.
39786if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
39787  eval 'as_fn_append ()
39788  {
39789    eval $1+=\$2
39790  }'
39791else
39792  as_fn_append ()
39793  {
39794    eval $1=\$$1\$2
39795  }
39796fi # as_fn_append
39797
39798# as_fn_arith ARG...
39799# ------------------
39800# Perform arithmetic evaluation on the ARGs, and store the result in the
39801# global $as_val. Take advantage of shells that can avoid forks. The arguments
39802# must be portable across $(()) and expr.
39803if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
39804  eval 'as_fn_arith ()
39805  {
39806    as_val=$(( $* ))
39807  }'
39808else
39809  as_fn_arith ()
39810  {
39811    as_val=`expr "$@" || test $? -eq 1`
39812  }
39813fi # as_fn_arith
39814
39815
39816if expr a : '\(a\)' >/dev/null 2>&1 &&
39817   test "X`expr 00001 : '.*\(...\)'`" = X001; then
39818  as_expr=expr
39819else
39820  as_expr=false
39821fi
39822
39823if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
39824  as_basename=basename
39825else
39826  as_basename=false
39827fi
39828
39829if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
39830  as_dirname=dirname
39831else
39832  as_dirname=false
39833fi
39834
39835as_me=`$as_basename -- "$0" ||
39836$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
39837	 X"$0" : 'X\(//\)$' \| \
39838	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
39839$as_echo X/"$0" |
39840    sed '/^.*\/\([^/][^/]*\)\/*$/{
39841	    s//\1/
39842	    q
39843	  }
39844	  /^X\/\(\/\/\)$/{
39845	    s//\1/
39846	    q
39847	  }
39848	  /^X\/\(\/\).*/{
39849	    s//\1/
39850	    q
39851	  }
39852	  s/.*/./; q'`
39853
39854# Avoid depending upon Character Ranges.
39855as_cr_letters='abcdefghijklmnopqrstuvwxyz'
39856as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39857as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39858as_cr_digits='0123456789'
39859as_cr_alnum=$as_cr_Letters$as_cr_digits
39860
39861ECHO_C= ECHO_N= ECHO_T=
39862case `echo -n x` in #(((((
39863-n*)
39864  case `echo 'xy\c'` in
39865  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
39866  xy)  ECHO_C='\c';;
39867  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
39868       ECHO_T='	';;
39869  esac;;
39870*)
39871  ECHO_N='-n';;
39872esac
39873
39874rm -f conf$$ conf$$.exe conf$$.file
39875if test -d conf$$.dir; then
39876  rm -f conf$$.dir/conf$$.file
39877else
39878  rm -f conf$$.dir
39879  mkdir conf$$.dir 2>/dev/null
39880fi
39881if (echo >conf$$.file) 2>/dev/null; then
39882  if ln -s conf$$.file conf$$ 2>/dev/null; then
39883    as_ln_s='ln -s'
39884    # ... but there are two gotchas:
39885    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
39886    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
39887    # In both cases, we have to default to `cp -pR'.
39888    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
39889      as_ln_s='cp -pR'
39890  elif ln conf$$.file conf$$ 2>/dev/null; then
39891    as_ln_s=ln
39892  else
39893    as_ln_s='cp -pR'
39894  fi
39895else
39896  as_ln_s='cp -pR'
39897fi
39898rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
39899rmdir conf$$.dir 2>/dev/null
39900
39901
39902# as_fn_mkdir_p
39903# -------------
39904# Create "$as_dir" as a directory, including parents if necessary.
39905as_fn_mkdir_p ()
39906{
39907
39908  case $as_dir in #(
39909  -*) as_dir=./$as_dir;;
39910  esac
39911  test -d "$as_dir" || eval $as_mkdir_p || {
39912    as_dirs=
39913    while :; do
39914      case $as_dir in #(
39915      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
39916      *) as_qdir=$as_dir;;
39917      esac
39918      as_dirs="'$as_qdir' $as_dirs"
39919      as_dir=`$as_dirname -- "$as_dir" ||
39920$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39921	 X"$as_dir" : 'X\(//\)[^/]' \| \
39922	 X"$as_dir" : 'X\(//\)$' \| \
39923	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
39924$as_echo X"$as_dir" |
39925    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39926	    s//\1/
39927	    q
39928	  }
39929	  /^X\(\/\/\)[^/].*/{
39930	    s//\1/
39931	    q
39932	  }
39933	  /^X\(\/\/\)$/{
39934	    s//\1/
39935	    q
39936	  }
39937	  /^X\(\/\).*/{
39938	    s//\1/
39939	    q
39940	  }
39941	  s/.*/./; q'`
39942      test -d "$as_dir" && break
39943    done
39944    test -z "$as_dirs" || eval "mkdir $as_dirs"
39945  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
39946
39947
39948} # as_fn_mkdir_p
39949if mkdir -p . 2>/dev/null; then
39950  as_mkdir_p='mkdir -p "$as_dir"'
39951else
39952  test -d ./-p && rmdir ./-p
39953  as_mkdir_p=false
39954fi
39955
39956
39957# as_fn_executable_p FILE
39958# -----------------------
39959# Test if FILE is an executable regular file.
39960as_fn_executable_p ()
39961{
39962  test -f "$1" && test -x "$1"
39963} # as_fn_executable_p
39964as_test_x='test -x'
39965as_executable_p=as_fn_executable_p
39966
39967# Sed expression to map a string onto a valid CPP name.
39968as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
39969
39970# Sed expression to map a string onto a valid variable name.
39971as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
39972
39973
39974exec 6>&1
39975## ----------------------------------- ##
39976## Main body of $CONFIG_STATUS script. ##
39977## ----------------------------------- ##
39978_ASEOF
39979test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
39980
39981cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
39982# Save the log message, to keep $0 and so on meaningful, and to
39983# report actual input values of CONFIG_FILES etc. instead of their
39984# values after options handling.
39985ac_log="
39986This file was extended by GStreamer Good Plug-ins $as_me 1.16.2, which was
39987generated by GNU Autoconf 2.69.  Invocation command line was
39988
39989  CONFIG_FILES    = $CONFIG_FILES
39990  CONFIG_HEADERS  = $CONFIG_HEADERS
39991  CONFIG_LINKS    = $CONFIG_LINKS
39992  CONFIG_COMMANDS = $CONFIG_COMMANDS
39993  $ $0 $@
39994
39995on `(hostname || uname -n) 2>/dev/null | sed 1q`
39996"
39997
39998_ACEOF
39999
40000case $ac_config_files in *"
40001"*) set x $ac_config_files; shift; ac_config_files=$*;;
40002esac
40003
40004case $ac_config_headers in *"
40005"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
40006esac
40007
40008
40009cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40010# Files that config.status was made for.
40011config_files="$ac_config_files"
40012config_headers="$ac_config_headers"
40013config_commands="$ac_config_commands"
40014
40015_ACEOF
40016
40017cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40018ac_cs_usage="\
40019\`$as_me' instantiates files and other configuration actions
40020from templates according to the current configuration.  Unless the files
40021and actions are specified as TAGs, all are instantiated by default.
40022
40023Usage: $0 [OPTION]... [TAG]...
40024
40025  -h, --help       print this help, then exit
40026  -V, --version    print version number and configuration settings, then exit
40027      --config     print configuration, then exit
40028  -q, --quiet, --silent
40029                   do not print progress messages
40030  -d, --debug      don't remove temporary files
40031      --recheck    update $as_me by reconfiguring in the same conditions
40032      --file=FILE[:TEMPLATE]
40033                   instantiate the configuration file FILE
40034      --header=FILE[:TEMPLATE]
40035                   instantiate the configuration header FILE
40036
40037Configuration files:
40038$config_files
40039
40040Configuration headers:
40041$config_headers
40042
40043Configuration commands:
40044$config_commands
40045
40046Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
40047
40048_ACEOF
40049cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40050ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
40051ac_cs_version="\\
40052GStreamer Good Plug-ins config.status 1.16.2
40053configured by $0, generated by GNU Autoconf 2.69,
40054  with options \\"\$ac_cs_config\\"
40055
40056Copyright (C) 2012 Free Software Foundation, Inc.
40057This config.status script is free software; the Free Software Foundation
40058gives unlimited permission to copy, distribute and modify it."
40059
40060ac_pwd='$ac_pwd'
40061srcdir='$srcdir'
40062INSTALL='$INSTALL'
40063MKDIR_P='$MKDIR_P'
40064AWK='$AWK'
40065test -n "\$AWK" || AWK=awk
40066_ACEOF
40067
40068cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40069# The default lists apply if the user does not specify any file.
40070ac_need_defaults=:
40071while test $# != 0
40072do
40073  case $1 in
40074  --*=?*)
40075    ac_option=`expr "X$1" : 'X\([^=]*\)='`
40076    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
40077    ac_shift=:
40078    ;;
40079  --*=)
40080    ac_option=`expr "X$1" : 'X\([^=]*\)='`
40081    ac_optarg=
40082    ac_shift=:
40083    ;;
40084  *)
40085    ac_option=$1
40086    ac_optarg=$2
40087    ac_shift=shift
40088    ;;
40089  esac
40090
40091  case $ac_option in
40092  # Handling of the options.
40093  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40094    ac_cs_recheck=: ;;
40095  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
40096    $as_echo "$ac_cs_version"; exit ;;
40097  --config | --confi | --conf | --con | --co | --c )
40098    $as_echo "$ac_cs_config"; exit ;;
40099  --debug | --debu | --deb | --de | --d | -d )
40100    debug=: ;;
40101  --file | --fil | --fi | --f )
40102    $ac_shift
40103    case $ac_optarg in
40104    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
40105    '') as_fn_error $? "missing file argument" ;;
40106    esac
40107    as_fn_append CONFIG_FILES " '$ac_optarg'"
40108    ac_need_defaults=false;;
40109  --header | --heade | --head | --hea )
40110    $ac_shift
40111    case $ac_optarg in
40112    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
40113    esac
40114    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
40115    ac_need_defaults=false;;
40116  --he | --h)
40117    # Conflict between --help and --header
40118    as_fn_error $? "ambiguous option: \`$1'
40119Try \`$0 --help' for more information.";;
40120  --help | --hel | -h )
40121    $as_echo "$ac_cs_usage"; exit ;;
40122  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
40123  | -silent | --silent | --silen | --sile | --sil | --si | --s)
40124    ac_cs_silent=: ;;
40125
40126  # This is an error.
40127  -*) as_fn_error $? "unrecognized option: \`$1'
40128Try \`$0 --help' for more information." ;;
40129
40130  *) as_fn_append ac_config_targets " $1"
40131     ac_need_defaults=false ;;
40132
40133  esac
40134  shift
40135done
40136
40137ac_configure_extra_args=
40138
40139if $ac_cs_silent; then
40140  exec 6>/dev/null
40141  ac_configure_extra_args="$ac_configure_extra_args --silent"
40142fi
40143
40144_ACEOF
40145cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40146if \$ac_cs_recheck; then
40147  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40148  shift
40149  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
40150  CONFIG_SHELL='$SHELL'
40151  export CONFIG_SHELL
40152  exec "\$@"
40153fi
40154
40155_ACEOF
40156cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40157exec 5>>config.log
40158{
40159  echo
40160  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
40161## Running $as_me. ##
40162_ASBOX
40163  $as_echo "$ac_log"
40164} >&5
40165
40166_ACEOF
40167cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40168#
40169# INIT-COMMANDS
40170#
40171AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
40172
40173
40174# The HP-UX ksh and POSIX shell print the target directory to stdout
40175# if CDPATH is set.
40176(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
40177
40178sed_quote_subst='$sed_quote_subst'
40179double_quote_subst='$double_quote_subst'
40180delay_variable_subst='$delay_variable_subst'
40181macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
40182macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
40183AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
40184DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
40185OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
40186enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
40187enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
40188pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
40189enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
40190shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
40191SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
40192ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
40193PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
40194host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
40195host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
40196host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
40197build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
40198build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
40199build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
40200SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
40201Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
40202GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
40203EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
40204FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
40205LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
40206NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
40207LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
40208max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
40209ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
40210exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
40211lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
40212lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
40213lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
40214lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
40215lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
40216reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
40217reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
40218deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
40219file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
40220file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
40221want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
40222sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
40223AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
40224AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
40225archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
40226STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
40227RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
40228old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
40229old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
40230old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
40231lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
40232CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
40233CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
40234compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
40235GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
40236lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
40237lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
40238lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
40239lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
40240lt_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"`'
40241lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
40242nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
40243lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
40244lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
40245objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
40246MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
40247lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
40248lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
40249lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
40250lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
40251lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
40252need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
40253MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
40254DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
40255NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
40256LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
40257OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
40258OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
40259libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
40260shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
40261extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
40262archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
40263enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
40264export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
40265whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
40266compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
40267old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
40268old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
40269archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
40270archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
40271module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
40272module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
40273with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
40274allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
40275no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
40276hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
40277hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
40278hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
40279hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
40280hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
40281hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
40282hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
40283inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
40284link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
40285always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
40286export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
40287exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
40288include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
40289prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
40290postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
40291file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
40292variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
40293need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
40294need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
40295version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
40296runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
40297shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
40298shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
40299libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
40300library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
40301soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
40302install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
40303postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
40304postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
40305finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
40306finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
40307hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
40308sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
40309configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
40310configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
40311hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
40312enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
40313enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
40314enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
40315old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
40316striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
40317compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
40318predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
40319postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
40320predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
40321postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
40322compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
40323LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
40324reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
40325reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
40326old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
40327compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
40328GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
40329lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
40330lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
40331lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
40332lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
40333lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
40334archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
40335enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
40336export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
40337whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
40338compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
40339old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
40340old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
40341archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
40342archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
40343module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
40344module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
40345with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
40346allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
40347no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
40348hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
40349hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
40350hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
40351hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
40352hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
40353hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
40354hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
40355inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
40356link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
40357always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
40358export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
40359exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
40360include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
40361prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
40362postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
40363file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
40364hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
40365compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
40366predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
40367postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
40368predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
40369postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
40370compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
40371
40372LTCC='$LTCC'
40373LTCFLAGS='$LTCFLAGS'
40374compiler='$compiler_DEFAULT'
40375
40376# A function that is used when there is no print builtin or printf.
40377func_fallback_echo ()
40378{
40379  eval 'cat <<_LTECHO_EOF
40380\$1
40381_LTECHO_EOF'
40382}
40383
40384# Quote evaled strings.
40385for var in AS \
40386DLLTOOL \
40387OBJDUMP \
40388SHELL \
40389ECHO \
40390PATH_SEPARATOR \
40391SED \
40392GREP \
40393EGREP \
40394FGREP \
40395LD \
40396NM \
40397LN_S \
40398lt_SP2NL \
40399lt_NL2SP \
40400reload_flag \
40401deplibs_check_method \
40402file_magic_cmd \
40403file_magic_glob \
40404want_nocaseglob \
40405sharedlib_from_linklib_cmd \
40406AR \
40407AR_FLAGS \
40408archiver_list_spec \
40409STRIP \
40410RANLIB \
40411CC \
40412CFLAGS \
40413compiler \
40414lt_cv_sys_global_symbol_pipe \
40415lt_cv_sys_global_symbol_to_cdecl \
40416lt_cv_sys_global_symbol_to_import \
40417lt_cv_sys_global_symbol_to_c_name_address \
40418lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
40419lt_cv_nm_interface \
40420nm_file_list_spec \
40421lt_cv_truncate_bin \
40422lt_prog_compiler_no_builtin_flag \
40423lt_prog_compiler_pic \
40424lt_prog_compiler_wl \
40425lt_prog_compiler_static \
40426lt_cv_prog_compiler_c_o \
40427need_locks \
40428MANIFEST_TOOL \
40429DSYMUTIL \
40430NMEDIT \
40431LIPO \
40432OTOOL \
40433OTOOL64 \
40434shrext_cmds \
40435export_dynamic_flag_spec \
40436whole_archive_flag_spec \
40437compiler_needs_object \
40438with_gnu_ld \
40439allow_undefined_flag \
40440no_undefined_flag \
40441hardcode_libdir_flag_spec \
40442hardcode_libdir_separator \
40443exclude_expsyms \
40444include_expsyms \
40445file_list_spec \
40446variables_saved_for_relink \
40447libname_spec \
40448library_names_spec \
40449soname_spec \
40450install_override_mode \
40451finish_eval \
40452old_striplib \
40453striplib \
40454compiler_lib_search_dirs \
40455predep_objects \
40456postdep_objects \
40457predeps \
40458postdeps \
40459compiler_lib_search_path \
40460LD_CXX \
40461reload_flag_CXX \
40462compiler_CXX \
40463lt_prog_compiler_no_builtin_flag_CXX \
40464lt_prog_compiler_pic_CXX \
40465lt_prog_compiler_wl_CXX \
40466lt_prog_compiler_static_CXX \
40467lt_cv_prog_compiler_c_o_CXX \
40468export_dynamic_flag_spec_CXX \
40469whole_archive_flag_spec_CXX \
40470compiler_needs_object_CXX \
40471with_gnu_ld_CXX \
40472allow_undefined_flag_CXX \
40473no_undefined_flag_CXX \
40474hardcode_libdir_flag_spec_CXX \
40475hardcode_libdir_separator_CXX \
40476exclude_expsyms_CXX \
40477include_expsyms_CXX \
40478file_list_spec_CXX \
40479compiler_lib_search_dirs_CXX \
40480predep_objects_CXX \
40481postdep_objects_CXX \
40482predeps_CXX \
40483postdeps_CXX \
40484compiler_lib_search_path_CXX; do
40485    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
40486    *[\\\\\\\`\\"\\\$]*)
40487      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
40488      ;;
40489    *)
40490      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
40491      ;;
40492    esac
40493done
40494
40495# Double-quote double-evaled strings.
40496for var in reload_cmds \
40497old_postinstall_cmds \
40498old_postuninstall_cmds \
40499old_archive_cmds \
40500extract_expsyms_cmds \
40501old_archive_from_new_cmds \
40502old_archive_from_expsyms_cmds \
40503archive_cmds \
40504archive_expsym_cmds \
40505module_cmds \
40506module_expsym_cmds \
40507export_symbols_cmds \
40508prelink_cmds \
40509postlink_cmds \
40510postinstall_cmds \
40511postuninstall_cmds \
40512finish_cmds \
40513sys_lib_search_path_spec \
40514configure_time_dlsearch_path \
40515configure_time_lt_sys_library_path \
40516reload_cmds_CXX \
40517old_archive_cmds_CXX \
40518old_archive_from_new_cmds_CXX \
40519old_archive_from_expsyms_cmds_CXX \
40520archive_cmds_CXX \
40521archive_expsym_cmds_CXX \
40522module_cmds_CXX \
40523module_expsym_cmds_CXX \
40524export_symbols_cmds_CXX \
40525prelink_cmds_CXX \
40526postlink_cmds_CXX; do
40527    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
40528    *[\\\\\\\`\\"\\\$]*)
40529      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
40530      ;;
40531    *)
40532      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
40533      ;;
40534    esac
40535done
40536
40537ac_aux_dir='$ac_aux_dir'
40538
40539# See if we are running on zsh, and set the options that allow our
40540# commands through without removal of \ escapes INIT.
40541if test -n "\${ZSH_VERSION+set}"; then
40542   setopt NO_GLOB_SUBST
40543fi
40544
40545
40546    PACKAGE='$PACKAGE'
40547    VERSION='$VERSION'
40548    RM='$RM'
40549    ofile='$ofile'
40550
40551
40552
40553
40554
40555# Capture the value of obsolete ALL_LINGUAS because we need it to compute
40556    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
40557    # from automake < 1.5.
40558    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
40559    # Capture the value of LINGUAS because we need it to compute CATALOGS.
40560    LINGUAS="${LINGUAS-%UNSET%}"
40561
40562# variables for create stdint.h replacement
40563PACKAGE="$PACKAGE"
40564VERSION="$VERSION"
40565ac_stdint_h="$ac_stdint_h"
40566_ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
40567ac_cv_stdint_message="$ac_cv_stdint_message"
40568ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
40569ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
40570ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
40571ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
40572ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
40573ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
40574ac_cv_char_data_model="$ac_cv_char_data_model"
40575ac_cv_long_data_model="$ac_cv_long_data_model"
40576ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
40577ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
40578ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
40579
40580
40581_ACEOF
40582
40583cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40584
40585# Handling of arguments.
40586for ac_config_target in $ac_config_targets
40587do
40588  case $ac_config_target in
40589    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
40590    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
40591    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
40592    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
40593    "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
40594    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
40595    "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
40596    "gst/alpha/Makefile") CONFIG_FILES="$CONFIG_FILES gst/alpha/Makefile" ;;
40597    "gst/apetag/Makefile") CONFIG_FILES="$CONFIG_FILES gst/apetag/Makefile" ;;
40598    "gst/audiofx/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audiofx/Makefile" ;;
40599    "gst/audioparsers/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audioparsers/Makefile" ;;
40600    "gst/auparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/auparse/Makefile" ;;
40601    "gst/autodetect/Makefile") CONFIG_FILES="$CONFIG_FILES gst/autodetect/Makefile" ;;
40602    "gst/avi/Makefile") CONFIG_FILES="$CONFIG_FILES gst/avi/Makefile" ;;
40603    "gst/cutter/Makefile") CONFIG_FILES="$CONFIG_FILES gst/cutter/Makefile" ;;
40604    "gst/deinterlace/Makefile") CONFIG_FILES="$CONFIG_FILES gst/deinterlace/Makefile" ;;
40605    "gst/dtmf/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dtmf/Makefile" ;;
40606    "gst/debugutils/Makefile") CONFIG_FILES="$CONFIG_FILES gst/debugutils/Makefile" ;;
40607    "gst/effectv/Makefile") CONFIG_FILES="$CONFIG_FILES gst/effectv/Makefile" ;;
40608    "gst/equalizer/Makefile") CONFIG_FILES="$CONFIG_FILES gst/equalizer/Makefile" ;;
40609    "gst/flv/Makefile") CONFIG_FILES="$CONFIG_FILES gst/flv/Makefile" ;;
40610    "gst/goom/Makefile") CONFIG_FILES="$CONFIG_FILES gst/goom/Makefile" ;;
40611    "gst/goom2k1/Makefile") CONFIG_FILES="$CONFIG_FILES gst/goom2k1/Makefile" ;;
40612    "gst/id3demux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/id3demux/Makefile" ;;
40613    "gst/icydemux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/icydemux/Makefile" ;;
40614    "gst/imagefreeze/Makefile") CONFIG_FILES="$CONFIG_FILES gst/imagefreeze/Makefile" ;;
40615    "gst/interleave/Makefile") CONFIG_FILES="$CONFIG_FILES gst/interleave/Makefile" ;;
40616    "gst/isomp4/Makefile") CONFIG_FILES="$CONFIG_FILES gst/isomp4/Makefile" ;;
40617    "gst/law/Makefile") CONFIG_FILES="$CONFIG_FILES gst/law/Makefile" ;;
40618    "gst/level/Makefile") CONFIG_FILES="$CONFIG_FILES gst/level/Makefile" ;;
40619    "gst/matroska/Makefile") CONFIG_FILES="$CONFIG_FILES gst/matroska/Makefile" ;;
40620    "gst/monoscope/Makefile") CONFIG_FILES="$CONFIG_FILES gst/monoscope/Makefile" ;;
40621    "gst/multifile/Makefile") CONFIG_FILES="$CONFIG_FILES gst/multifile/Makefile" ;;
40622    "gst/multipart/Makefile") CONFIG_FILES="$CONFIG_FILES gst/multipart/Makefile" ;;
40623    "gst/replaygain/Makefile") CONFIG_FILES="$CONFIG_FILES gst/replaygain/Makefile" ;;
40624    "gst/rtp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtp/Makefile" ;;
40625    "gst/rtpmanager/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtpmanager/Makefile" ;;
40626    "gst/rtsp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtsp/Makefile" ;;
40627    "gst/shapewipe/Makefile") CONFIG_FILES="$CONFIG_FILES gst/shapewipe/Makefile" ;;
40628    "gst/smpte/Makefile") CONFIG_FILES="$CONFIG_FILES gst/smpte/Makefile" ;;
40629    "gst/spectrum/Makefile") CONFIG_FILES="$CONFIG_FILES gst/spectrum/Makefile" ;;
40630    "gst/udp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/udp/Makefile" ;;
40631    "gst/videobox/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videobox/Makefile" ;;
40632    "gst/videocrop/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videocrop/Makefile" ;;
40633    "gst/videofilter/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videofilter/Makefile" ;;
40634    "gst/videomixer/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videomixer/Makefile" ;;
40635    "gst/wavenc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/wavenc/Makefile" ;;
40636    "gst/wavparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/wavparse/Makefile" ;;
40637    "gst/flx/Makefile") CONFIG_FILES="$CONFIG_FILES gst/flx/Makefile" ;;
40638    "gst/y4m/Makefile") CONFIG_FILES="$CONFIG_FILES gst/y4m/Makefile" ;;
40639    "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
40640    "ext/aalib/Makefile") CONFIG_FILES="$CONFIG_FILES ext/aalib/Makefile" ;;
40641    "ext/cairo/Makefile") CONFIG_FILES="$CONFIG_FILES ext/cairo/Makefile" ;;
40642    "ext/dv/Makefile") CONFIG_FILES="$CONFIG_FILES ext/dv/Makefile" ;;
40643    "ext/flac/Makefile") CONFIG_FILES="$CONFIG_FILES ext/flac/Makefile" ;;
40644    "ext/gdk_pixbuf/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gdk_pixbuf/Makefile" ;;
40645    "ext/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gtk/Makefile" ;;
40646    "ext/jack/Makefile") CONFIG_FILES="$CONFIG_FILES ext/jack/Makefile" ;;
40647    "ext/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES ext/jpeg/Makefile" ;;
40648    "ext/lame/Makefile") CONFIG_FILES="$CONFIG_FILES ext/lame/Makefile" ;;
40649    "ext/libcaca/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libcaca/Makefile" ;;
40650    "ext/libpng/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libpng/Makefile" ;;
40651    "ext/mpg123/Makefile") CONFIG_FILES="$CONFIG_FILES ext/mpg123/Makefile" ;;
40652    "ext/pulse/Makefile") CONFIG_FILES="$CONFIG_FILES ext/pulse/Makefile" ;;
40653    "ext/qt/Makefile") CONFIG_FILES="$CONFIG_FILES ext/qt/Makefile" ;;
40654    "ext/raw1394/Makefile") CONFIG_FILES="$CONFIG_FILES ext/raw1394/Makefile" ;;
40655    "ext/shout2/Makefile") CONFIG_FILES="$CONFIG_FILES ext/shout2/Makefile" ;;
40656    "ext/soup/Makefile") CONFIG_FILES="$CONFIG_FILES ext/soup/Makefile" ;;
40657    "ext/speex/Makefile") CONFIG_FILES="$CONFIG_FILES ext/speex/Makefile" ;;
40658    "ext/taglib/Makefile") CONFIG_FILES="$CONFIG_FILES ext/taglib/Makefile" ;;
40659    "ext/twolame/Makefile") CONFIG_FILES="$CONFIG_FILES ext/twolame/Makefile" ;;
40660    "ext/vpx/Makefile") CONFIG_FILES="$CONFIG_FILES ext/vpx/Makefile" ;;
40661    "ext/wavpack/Makefile") CONFIG_FILES="$CONFIG_FILES ext/wavpack/Makefile" ;;
40662    "sys/Makefile") CONFIG_FILES="$CONFIG_FILES sys/Makefile" ;;
40663    "sys/directsound/Makefile") CONFIG_FILES="$CONFIG_FILES sys/directsound/Makefile" ;;
40664    "sys/oss/Makefile") CONFIG_FILES="$CONFIG_FILES sys/oss/Makefile" ;;
40665    "sys/oss4/Makefile") CONFIG_FILES="$CONFIG_FILES sys/oss4/Makefile" ;;
40666    "sys/osxaudio/Makefile") CONFIG_FILES="$CONFIG_FILES sys/osxaudio/Makefile" ;;
40667    "sys/osxvideo/Makefile") CONFIG_FILES="$CONFIG_FILES sys/osxvideo/Makefile" ;;
40668    "sys/v4l2/Makefile") CONFIG_FILES="$CONFIG_FILES sys/v4l2/Makefile" ;;
40669    "sys/waveform/Makefile") CONFIG_FILES="$CONFIG_FILES sys/waveform/Makefile" ;;
40670    "sys/ximage/Makefile") CONFIG_FILES="$CONFIG_FILES sys/ximage/Makefile" ;;
40671    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
40672    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
40673    "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
40674    "tests/examples/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/Makefile" ;;
40675    "tests/examples/audiofx/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/audiofx/Makefile" ;;
40676    "tests/examples/cairo/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/cairo/Makefile" ;;
40677    "tests/examples/equalizer/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/equalizer/Makefile" ;;
40678    "tests/examples/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/gtk/Makefile" ;;
40679    "tests/examples/jack/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/jack/Makefile" ;;
40680    "tests/examples/level/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/level/Makefile" ;;
40681    "tests/examples/rtp/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/rtp/Makefile" ;;
40682    "tests/examples/rtsp/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/rtsp/Makefile" ;;
40683    "tests/examples/shapewipe/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/shapewipe/Makefile" ;;
40684    "tests/examples/spectrum/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/spectrum/Makefile" ;;
40685    "tests/examples/v4l2/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/v4l2/Makefile" ;;
40686    "tests/files/Makefile") CONFIG_FILES="$CONFIG_FILES tests/files/Makefile" ;;
40687    "tests/icles/Makefile") CONFIG_FILES="$CONFIG_FILES tests/icles/Makefile" ;;
40688    "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
40689    "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
40690    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
40691    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
40692    "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
40693    "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
40694    "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
40695    "pkgconfig/gstreamer-plugins-good-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-good-uninstalled.pc" ;;
40696
40697  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
40698  esac
40699done
40700
40701
40702# If the user did not use the arguments to specify the items to instantiate,
40703# then the envvar interface is used.  Set only those that are not.
40704# We use the long form for the default assignment because of an extremely
40705# bizarre bug on SunOS 4.1.3.
40706if $ac_need_defaults; then
40707  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
40708  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
40709  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
40710fi
40711
40712# Have a temporary directory for convenience.  Make it in the build tree
40713# simply because there is no reason against having it here, and in addition,
40714# creating and moving files from /tmp can sometimes cause problems.
40715# Hook for its removal unless debugging.
40716# Note that there is a small window in which the directory will not be cleaned:
40717# after its creation but before its name has been assigned to `$tmp'.
40718$debug ||
40719{
40720  tmp= ac_tmp=
40721  trap 'exit_status=$?
40722  : "${ac_tmp:=$tmp}"
40723  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
40724' 0
40725  trap 'as_fn_exit 1' 1 2 13 15
40726}
40727# Create a (secure) tmp directory for tmp files.
40728
40729{
40730  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
40731  test -d "$tmp"
40732}  ||
40733{
40734  tmp=./conf$$-$RANDOM
40735  (umask 077 && mkdir "$tmp")
40736} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
40737ac_tmp=$tmp
40738
40739# Set up the scripts for CONFIG_FILES section.
40740# No need to generate them if there are no CONFIG_FILES.
40741# This happens for instance with `./config.status config.h'.
40742if test -n "$CONFIG_FILES"; then
40743
40744
40745ac_cr=`echo X | tr X '\015'`
40746# On cygwin, bash can eat \r inside `` if the user requested igncr.
40747# But we know of no other shell where ac_cr would be empty at this
40748# point, so we can use a bashism as a fallback.
40749if test "x$ac_cr" = x; then
40750  eval ac_cr=\$\'\\r\'
40751fi
40752ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
40753if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
40754  ac_cs_awk_cr='\\r'
40755else
40756  ac_cs_awk_cr=$ac_cr
40757fi
40758
40759echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
40760_ACEOF
40761
40762
40763{
40764  echo "cat >conf$$subs.awk <<_ACEOF" &&
40765  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
40766  echo "_ACEOF"
40767} >conf$$subs.sh ||
40768  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
40769ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
40770ac_delim='%!_!# '
40771for ac_last_try in false false false false false :; do
40772  . ./conf$$subs.sh ||
40773    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
40774
40775  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
40776  if test $ac_delim_n = $ac_delim_num; then
40777    break
40778  elif $ac_last_try; then
40779    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
40780  else
40781    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
40782  fi
40783done
40784rm -f conf$$subs.sh
40785
40786cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40787cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
40788_ACEOF
40789sed -n '
40790h
40791s/^/S["/; s/!.*/"]=/
40792p
40793g
40794s/^[^!]*!//
40795:repl
40796t repl
40797s/'"$ac_delim"'$//
40798t delim
40799:nl
40800h
40801s/\(.\{148\}\)..*/\1/
40802t more1
40803s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
40804p
40805n
40806b repl
40807:more1
40808s/["\\]/\\&/g; s/^/"/; s/$/"\\/
40809p
40810g
40811s/.\{148\}//
40812t nl
40813:delim
40814h
40815s/\(.\{148\}\)..*/\1/
40816t more2
40817s/["\\]/\\&/g; s/^/"/; s/$/"/
40818p
40819b
40820:more2
40821s/["\\]/\\&/g; s/^/"/; s/$/"\\/
40822p
40823g
40824s/.\{148\}//
40825t delim
40826' <conf$$subs.awk | sed '
40827/^[^""]/{
40828  N
40829  s/\n//
40830}
40831' >>$CONFIG_STATUS || ac_write_fail=1
40832rm -f conf$$subs.awk
40833cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40834_ACAWK
40835cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
40836  for (key in S) S_is_set[key] = 1
40837  FS = ""
40838
40839}
40840{
40841  line = $ 0
40842  nfields = split(line, field, "@")
40843  substed = 0
40844  len = length(field[1])
40845  for (i = 2; i < nfields; i++) {
40846    key = field[i]
40847    keylen = length(key)
40848    if (S_is_set[key]) {
40849      value = S[key]
40850      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
40851      len += length(value) + length(field[++i])
40852      substed = 1
40853    } else
40854      len += 1 + keylen
40855  }
40856
40857  print line
40858}
40859
40860_ACAWK
40861_ACEOF
40862cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40863if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
40864  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
40865else
40866  cat
40867fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
40868  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
40869_ACEOF
40870
40871# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
40872# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
40873# trailing colons and then remove the whole line if VPATH becomes empty
40874# (actually we leave an empty line to preserve line numbers).
40875if test "x$srcdir" = x.; then
40876  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
40877h
40878s///
40879s/^/:/
40880s/[	 ]*$/:/
40881s/:\$(srcdir):/:/g
40882s/:\${srcdir}:/:/g
40883s/:@srcdir@:/:/g
40884s/^:*//
40885s/:*$//
40886x
40887s/\(=[	 ]*\).*/\1/
40888G
40889s/\n//
40890s/^[^=]*=[	 ]*$//
40891}'
40892fi
40893
40894cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40895fi # test -n "$CONFIG_FILES"
40896
40897# Set up the scripts for CONFIG_HEADERS section.
40898# No need to generate them if there are no CONFIG_HEADERS.
40899# This happens for instance with `./config.status Makefile'.
40900if test -n "$CONFIG_HEADERS"; then
40901cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
40902BEGIN {
40903_ACEOF
40904
40905# Transform confdefs.h into an awk script `defines.awk', embedded as
40906# here-document in config.status, that substitutes the proper values into
40907# config.h.in to produce config.h.
40908
40909# Create a delimiter string that does not exist in confdefs.h, to ease
40910# handling of long lines.
40911ac_delim='%!_!# '
40912for ac_last_try in false false :; do
40913  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
40914  if test -z "$ac_tt"; then
40915    break
40916  elif $ac_last_try; then
40917    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
40918  else
40919    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
40920  fi
40921done
40922
40923# For the awk script, D is an array of macro values keyed by name,
40924# likewise P contains macro parameters if any.  Preserve backslash
40925# newline sequences.
40926
40927ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
40928sed -n '
40929s/.\{148\}/&'"$ac_delim"'/g
40930t rset
40931:rset
40932s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
40933t def
40934d
40935:def
40936s/\\$//
40937t bsnl
40938s/["\\]/\\&/g
40939s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
40940D["\1"]=" \3"/p
40941s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
40942d
40943:bsnl
40944s/["\\]/\\&/g
40945s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
40946D["\1"]=" \3\\\\\\n"\\/p
40947t cont
40948s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
40949t cont
40950d
40951:cont
40952n
40953s/.\{148\}/&'"$ac_delim"'/g
40954t clear
40955:clear
40956s/\\$//
40957t bsnlc
40958s/["\\]/\\&/g; s/^/"/; s/$/"/p
40959d
40960:bsnlc
40961s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
40962b cont
40963' <confdefs.h | sed '
40964s/'"$ac_delim"'/"\\\
40965"/g' >>$CONFIG_STATUS || ac_write_fail=1
40966
40967cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40968  for (key in D) D_is_set[key] = 1
40969  FS = ""
40970}
40971/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
40972  line = \$ 0
40973  split(line, arg, " ")
40974  if (arg[1] == "#") {
40975    defundef = arg[2]
40976    mac1 = arg[3]
40977  } else {
40978    defundef = substr(arg[1], 2)
40979    mac1 = arg[2]
40980  }
40981  split(mac1, mac2, "(") #)
40982  macro = mac2[1]
40983  prefix = substr(line, 1, index(line, defundef) - 1)
40984  if (D_is_set[macro]) {
40985    # Preserve the white space surrounding the "#".
40986    print prefix "define", macro P[macro] D[macro]
40987    next
40988  } else {
40989    # Replace #undef with comments.  This is necessary, for example,
40990    # in the case of _POSIX_SOURCE, which is predefined and required
40991    # on some systems where configure will not decide to define it.
40992    if (defundef == "undef") {
40993      print "/*", prefix defundef, macro, "*/"
40994      next
40995    }
40996  }
40997}
40998{ print }
40999_ACAWK
41000_ACEOF
41001cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41002  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
41003fi # test -n "$CONFIG_HEADERS"
41004
41005
41006eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
41007shift
41008for ac_tag
41009do
41010  case $ac_tag in
41011  :[FHLC]) ac_mode=$ac_tag; continue;;
41012  esac
41013  case $ac_mode$ac_tag in
41014  :[FHL]*:*);;
41015  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
41016  :[FH]-) ac_tag=-:-;;
41017  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
41018  esac
41019  ac_save_IFS=$IFS
41020  IFS=:
41021  set x $ac_tag
41022  IFS=$ac_save_IFS
41023  shift
41024  ac_file=$1
41025  shift
41026
41027  case $ac_mode in
41028  :L) ac_source=$1;;
41029  :[FH])
41030    ac_file_inputs=
41031    for ac_f
41032    do
41033      case $ac_f in
41034      -) ac_f="$ac_tmp/stdin";;
41035      *) # Look for the file first in the build tree, then in the source tree
41036	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
41037	 # because $ac_f cannot contain `:'.
41038	 test -f "$ac_f" ||
41039	   case $ac_f in
41040	   [\\/$]*) false;;
41041	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
41042	   esac ||
41043	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
41044      esac
41045      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
41046      as_fn_append ac_file_inputs " '$ac_f'"
41047    done
41048
41049    # Let's still pretend it is `configure' which instantiates (i.e., don't
41050    # use $as_me), people would be surprised to read:
41051    #    /* config.h.  Generated by config.status.  */
41052    configure_input='Generated from '`
41053	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
41054	`' by configure.'
41055    if test x"$ac_file" != x-; then
41056      configure_input="$ac_file.  $configure_input"
41057      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
41058$as_echo "$as_me: creating $ac_file" >&6;}
41059    fi
41060    # Neutralize special characters interpreted by sed in replacement strings.
41061    case $configure_input in #(
41062    *\&* | *\|* | *\\* )
41063       ac_sed_conf_input=`$as_echo "$configure_input" |
41064       sed 's/[\\\\&|]/\\\\&/g'`;; #(
41065    *) ac_sed_conf_input=$configure_input;;
41066    esac
41067
41068    case $ac_tag in
41069    *:-:* | *:-) cat >"$ac_tmp/stdin" \
41070      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
41071    esac
41072    ;;
41073  esac
41074
41075  ac_dir=`$as_dirname -- "$ac_file" ||
41076$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41077	 X"$ac_file" : 'X\(//\)[^/]' \| \
41078	 X"$ac_file" : 'X\(//\)$' \| \
41079	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
41080$as_echo X"$ac_file" |
41081    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41082	    s//\1/
41083	    q
41084	  }
41085	  /^X\(\/\/\)[^/].*/{
41086	    s//\1/
41087	    q
41088	  }
41089	  /^X\(\/\/\)$/{
41090	    s//\1/
41091	    q
41092	  }
41093	  /^X\(\/\).*/{
41094	    s//\1/
41095	    q
41096	  }
41097	  s/.*/./; q'`
41098  as_dir="$ac_dir"; as_fn_mkdir_p
41099  ac_builddir=.
41100
41101case "$ac_dir" in
41102.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
41103*)
41104  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
41105  # A ".." for each directory in $ac_dir_suffix.
41106  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
41107  case $ac_top_builddir_sub in
41108  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
41109  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
41110  esac ;;
41111esac
41112ac_abs_top_builddir=$ac_pwd
41113ac_abs_builddir=$ac_pwd$ac_dir_suffix
41114# for backward compatibility:
41115ac_top_builddir=$ac_top_build_prefix
41116
41117case $srcdir in
41118  .)  # We are building in place.
41119    ac_srcdir=.
41120    ac_top_srcdir=$ac_top_builddir_sub
41121    ac_abs_top_srcdir=$ac_pwd ;;
41122  [\\/]* | ?:[\\/]* )  # Absolute name.
41123    ac_srcdir=$srcdir$ac_dir_suffix;
41124    ac_top_srcdir=$srcdir
41125    ac_abs_top_srcdir=$srcdir ;;
41126  *) # Relative name.
41127    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
41128    ac_top_srcdir=$ac_top_build_prefix$srcdir
41129    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
41130esac
41131ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
41132
41133
41134  case $ac_mode in
41135  :F)
41136  #
41137  # CONFIG_FILE
41138  #
41139
41140  case $INSTALL in
41141  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
41142  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
41143  esac
41144  ac_MKDIR_P=$MKDIR_P
41145  case $MKDIR_P in
41146  [\\/$]* | ?:[\\/]* ) ;;
41147  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
41148  esac
41149_ACEOF
41150
41151cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41152# If the template does not know about datarootdir, expand it.
41153# FIXME: This hack should be removed a few years after 2.60.
41154ac_datarootdir_hack=; ac_datarootdir_seen=
41155ac_sed_dataroot='
41156/datarootdir/ {
41157  p
41158  q
41159}
41160/@datadir@/p
41161/@docdir@/p
41162/@infodir@/p
41163/@localedir@/p
41164/@mandir@/p'
41165case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
41166*datarootdir*) ac_datarootdir_seen=yes;;
41167*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
41168  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
41169$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
41170_ACEOF
41171cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41172  ac_datarootdir_hack='
41173  s&@datadir@&$datadir&g
41174  s&@docdir@&$docdir&g
41175  s&@infodir@&$infodir&g
41176  s&@localedir@&$localedir&g
41177  s&@mandir@&$mandir&g
41178  s&\\\${datarootdir}&$datarootdir&g' ;;
41179esac
41180_ACEOF
41181
41182# Neutralize VPATH when `$srcdir' = `.'.
41183# Shell code in configure.ac might set extrasub.
41184# FIXME: do we really want to maintain this feature?
41185cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41186ac_sed_extra="$ac_vpsub
41187$extrasub
41188_ACEOF
41189cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41190:t
41191/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
41192s|@configure_input@|$ac_sed_conf_input|;t t
41193s&@top_builddir@&$ac_top_builddir_sub&;t t
41194s&@top_build_prefix@&$ac_top_build_prefix&;t t
41195s&@srcdir@&$ac_srcdir&;t t
41196s&@abs_srcdir@&$ac_abs_srcdir&;t t
41197s&@top_srcdir@&$ac_top_srcdir&;t t
41198s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
41199s&@builddir@&$ac_builddir&;t t
41200s&@abs_builddir@&$ac_abs_builddir&;t t
41201s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
41202s&@INSTALL@&$ac_INSTALL&;t t
41203s&@MKDIR_P@&$ac_MKDIR_P&;t t
41204$ac_datarootdir_hack
41205"
41206eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
41207  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
41208
41209test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
41210  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
41211  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
41212      "$ac_tmp/out"`; test -z "$ac_out"; } &&
41213  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
41214which seems to be undefined.  Please make sure it is defined" >&5
41215$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
41216which seems to be undefined.  Please make sure it is defined" >&2;}
41217
41218  rm -f "$ac_tmp/stdin"
41219  case $ac_file in
41220  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
41221  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
41222  esac \
41223  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
41224 ;;
41225  :H)
41226  #
41227  # CONFIG_HEADER
41228  #
41229  if test x"$ac_file" != x-; then
41230    {
41231      $as_echo "/* $configure_input  */" \
41232      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
41233    } >"$ac_tmp/config.h" \
41234      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
41235    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
41236      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
41237$as_echo "$as_me: $ac_file is unchanged" >&6;}
41238    else
41239      rm -f "$ac_file"
41240      mv "$ac_tmp/config.h" "$ac_file" \
41241	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
41242    fi
41243  else
41244    $as_echo "/* $configure_input  */" \
41245      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
41246      || as_fn_error $? "could not create -" "$LINENO" 5
41247  fi
41248# Compute "$ac_file"'s index in $config_headers.
41249_am_arg="$ac_file"
41250_am_stamp_count=1
41251for _am_header in $config_headers :; do
41252  case $_am_header in
41253    $_am_arg | $_am_arg:* )
41254      break ;;
41255    * )
41256      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
41257  esac
41258done
41259echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
41260$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41261	 X"$_am_arg" : 'X\(//\)[^/]' \| \
41262	 X"$_am_arg" : 'X\(//\)$' \| \
41263	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
41264$as_echo X"$_am_arg" |
41265    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41266	    s//\1/
41267	    q
41268	  }
41269	  /^X\(\/\/\)[^/].*/{
41270	    s//\1/
41271	    q
41272	  }
41273	  /^X\(\/\/\)$/{
41274	    s//\1/
41275	    q
41276	  }
41277	  /^X\(\/\).*/{
41278	    s//\1/
41279	    q
41280	  }
41281	  s/.*/./; q'`/stamp-h$_am_stamp_count
41282 ;;
41283
41284  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
41285$as_echo "$as_me: executing $ac_file commands" >&6;}
41286 ;;
41287  esac
41288
41289
41290  case $ac_file$ac_mode in
41291    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
41292  # Older Autoconf quotes --file arguments for eval, but not when files
41293  # are listed without --file.  Let's play safe and only enable the eval
41294  # if we detect the quoting.
41295  # TODO: see whether this extra hack can be removed once we start
41296  # requiring Autoconf 2.70 or later.
41297  case $CONFIG_FILES in #(
41298  *\'*) :
41299    eval set x "$CONFIG_FILES" ;; #(
41300  *) :
41301    set x $CONFIG_FILES ;; #(
41302  *) :
41303     ;;
41304esac
41305  shift
41306  # Used to flag and report bootstrapping failures.
41307  am_rc=0
41308  for am_mf
41309  do
41310    # Strip MF so we end up with the name of the file.
41311    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
41312    # Check whether this is an Automake generated Makefile which includes
41313    # dependency-tracking related rules and includes.
41314    # Grep'ing the whole file directly is not great: AIX grep has a line
41315    # limit of 2048, but all sed's we know have understand at least 4000.
41316    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
41317      || continue
41318    am_dirpart=`$as_dirname -- "$am_mf" ||
41319$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41320	 X"$am_mf" : 'X\(//\)[^/]' \| \
41321	 X"$am_mf" : 'X\(//\)$' \| \
41322	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
41323$as_echo X"$am_mf" |
41324    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41325	    s//\1/
41326	    q
41327	  }
41328	  /^X\(\/\/\)[^/].*/{
41329	    s//\1/
41330	    q
41331	  }
41332	  /^X\(\/\/\)$/{
41333	    s//\1/
41334	    q
41335	  }
41336	  /^X\(\/\).*/{
41337	    s//\1/
41338	    q
41339	  }
41340	  s/.*/./; q'`
41341    am_filepart=`$as_basename -- "$am_mf" ||
41342$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
41343	 X"$am_mf" : 'X\(//\)$' \| \
41344	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
41345$as_echo X/"$am_mf" |
41346    sed '/^.*\/\([^/][^/]*\)\/*$/{
41347	    s//\1/
41348	    q
41349	  }
41350	  /^X\/\(\/\/\)$/{
41351	    s//\1/
41352	    q
41353	  }
41354	  /^X\/\(\/\).*/{
41355	    s//\1/
41356	    q
41357	  }
41358	  s/.*/./; q'`
41359    { echo "$as_me:$LINENO: cd "$am_dirpart" \
41360      && sed -e '/# am--include-marker/d' "$am_filepart" \
41361        | $MAKE -f - am--depfiles" >&5
41362   (cd "$am_dirpart" \
41363      && sed -e '/# am--include-marker/d' "$am_filepart" \
41364        | $MAKE -f - am--depfiles) >&5 2>&5
41365   ac_status=$?
41366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41367   (exit $ac_status); } || am_rc=$?
41368  done
41369  if test $am_rc -ne 0; then
41370    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41371$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
41372as_fn_error $? "Something went wrong bootstrapping makefile fragments
41373    for automatic dependency tracking.  Try re-running configure with the
41374    '--disable-dependency-tracking' option to at least be able to build
41375    the package (albeit without support for automatic dependency tracking).
41376See \`config.log' for more details" "$LINENO" 5; }
41377  fi
41378  { am_dirpart=; unset am_dirpart;}
41379  { am_filepart=; unset am_filepart;}
41380  { am_mf=; unset am_mf;}
41381  { am_rc=; unset am_rc;}
41382  rm -f conftest-deps.mk
41383}
41384 ;;
41385    "libtool":C)
41386
41387    # See if we are running on zsh, and set the options that allow our
41388    # commands through without removal of \ escapes.
41389    if test -n "${ZSH_VERSION+set}"; then
41390      setopt NO_GLOB_SUBST
41391    fi
41392
41393    cfgfile=${ofile}T
41394    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
41395    $RM "$cfgfile"
41396
41397    cat <<_LT_EOF >> "$cfgfile"
41398#! $SHELL
41399# Generated automatically by $as_me ($PACKAGE) $VERSION
41400# NOTE: Changes made to this file will be lost: look at ltmain.sh.
41401
41402# Provide generalized library-building support services.
41403# Written by Gordon Matzigkeit, 1996
41404
41405# Copyright (C) 2014 Free Software Foundation, Inc.
41406# This is free software; see the source for copying conditions.  There is NO
41407# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
41408
41409# GNU Libtool is free software; you can redistribute it and/or modify
41410# it under the terms of the GNU General Public License as published by
41411# the Free Software Foundation; either version 2 of of the License, or
41412# (at your option) any later version.
41413#
41414# As a special exception to the GNU General Public License, if you
41415# distribute this file as part of a program or library that is built
41416# using GNU Libtool, you may include this file under the  same
41417# distribution terms that you use for the rest of that program.
41418#
41419# GNU Libtool is distributed in the hope that it will be useful, but
41420# WITHOUT ANY WARRANTY; without even the implied warranty of
41421# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
41422# GNU General Public License for more details.
41423#
41424# You should have received a copy of the GNU General Public License
41425# along with this program.  If not, see <http://www.gnu.org/licenses/>.
41426
41427
41428# The names of the tagged configurations supported by this script.
41429available_tags='CXX '
41430
41431# Configured defaults for sys_lib_dlsearch_path munging.
41432: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
41433
41434# ### BEGIN LIBTOOL CONFIG
41435
41436# Which release of libtool.m4 was used?
41437macro_version=$macro_version
41438macro_revision=$macro_revision
41439
41440# Assembler program.
41441AS=$lt_AS
41442
41443# DLL creation program.
41444DLLTOOL=$lt_DLLTOOL
41445
41446# Object dumper program.
41447OBJDUMP=$lt_OBJDUMP
41448
41449# Whether or not to build static libraries.
41450build_old_libs=$enable_static
41451
41452# Whether or not to build shared libraries.
41453build_libtool_libs=$enable_shared
41454
41455# What type of objects to build.
41456pic_mode=$pic_mode
41457
41458# Whether or not to optimize for fast installation.
41459fast_install=$enable_fast_install
41460
41461# Shared archive member basename,for filename based shared library versioning on AIX.
41462shared_archive_member_spec=$shared_archive_member_spec
41463
41464# Shell to use when invoking shell scripts.
41465SHELL=$lt_SHELL
41466
41467# An echo program that protects backslashes.
41468ECHO=$lt_ECHO
41469
41470# The PATH separator for the build system.
41471PATH_SEPARATOR=$lt_PATH_SEPARATOR
41472
41473# The host system.
41474host_alias=$host_alias
41475host=$host
41476host_os=$host_os
41477
41478# The build system.
41479build_alias=$build_alias
41480build=$build
41481build_os=$build_os
41482
41483# A sed program that does not truncate output.
41484SED=$lt_SED
41485
41486# Sed that helps us avoid accidentally triggering echo(1) options like -n.
41487Xsed="\$SED -e 1s/^X//"
41488
41489# A grep program that handles long lines.
41490GREP=$lt_GREP
41491
41492# An ERE matcher.
41493EGREP=$lt_EGREP
41494
41495# A literal string matcher.
41496FGREP=$lt_FGREP
41497
41498# A BSD- or MS-compatible name lister.
41499NM=$lt_NM
41500
41501# Whether we need soft or hard links.
41502LN_S=$lt_LN_S
41503
41504# What is the maximum length of a command?
41505max_cmd_len=$max_cmd_len
41506
41507# Object file suffix (normally "o").
41508objext=$ac_objext
41509
41510# Executable file suffix (normally "").
41511exeext=$exeext
41512
41513# whether the shell understands "unset".
41514lt_unset=$lt_unset
41515
41516# turn spaces into newlines.
41517SP2NL=$lt_lt_SP2NL
41518
41519# turn newlines into spaces.
41520NL2SP=$lt_lt_NL2SP
41521
41522# convert \$build file names to \$host format.
41523to_host_file_cmd=$lt_cv_to_host_file_cmd
41524
41525# convert \$build files to toolchain format.
41526to_tool_file_cmd=$lt_cv_to_tool_file_cmd
41527
41528# Method to check whether dependent libraries are shared objects.
41529deplibs_check_method=$lt_deplibs_check_method
41530
41531# Command to use when deplibs_check_method = "file_magic".
41532file_magic_cmd=$lt_file_magic_cmd
41533
41534# How to find potential files when deplibs_check_method = "file_magic".
41535file_magic_glob=$lt_file_magic_glob
41536
41537# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
41538want_nocaseglob=$lt_want_nocaseglob
41539
41540# Command to associate shared and link libraries.
41541sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
41542
41543# The archiver.
41544AR=$lt_AR
41545
41546# Flags to create an archive.
41547AR_FLAGS=$lt_AR_FLAGS
41548
41549# How to feed a file listing to the archiver.
41550archiver_list_spec=$lt_archiver_list_spec
41551
41552# A symbol stripping program.
41553STRIP=$lt_STRIP
41554
41555# Commands used to install an old-style archive.
41556RANLIB=$lt_RANLIB
41557old_postinstall_cmds=$lt_old_postinstall_cmds
41558old_postuninstall_cmds=$lt_old_postuninstall_cmds
41559
41560# Whether to use a lock for old archive extraction.
41561lock_old_archive_extraction=$lock_old_archive_extraction
41562
41563# A C compiler.
41564LTCC=$lt_CC
41565
41566# LTCC compiler flags.
41567LTCFLAGS=$lt_CFLAGS
41568
41569# Take the output of nm and produce a listing of raw symbols and C names.
41570global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
41571
41572# Transform the output of nm in a proper C declaration.
41573global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
41574
41575# Transform the output of nm into a list of symbols to manually relocate.
41576global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
41577
41578# Transform the output of nm in a C name address pair.
41579global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
41580
41581# Transform the output of nm in a C name address pair when lib prefix is needed.
41582global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
41583
41584# The name lister interface.
41585nm_interface=$lt_lt_cv_nm_interface
41586
41587# Specify filename containing input files for \$NM.
41588nm_file_list_spec=$lt_nm_file_list_spec
41589
41590# The root where to search for dependent libraries,and where our libraries should be installed.
41591lt_sysroot=$lt_sysroot
41592
41593# Command to truncate a binary pipe.
41594lt_truncate_bin=$lt_lt_cv_truncate_bin
41595
41596# The name of the directory that contains temporary libtool files.
41597objdir=$objdir
41598
41599# Used to examine libraries when file_magic_cmd begins with "file".
41600MAGIC_CMD=$MAGIC_CMD
41601
41602# Must we lock files when doing compilation?
41603need_locks=$lt_need_locks
41604
41605# Manifest tool.
41606MANIFEST_TOOL=$lt_MANIFEST_TOOL
41607
41608# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
41609DSYMUTIL=$lt_DSYMUTIL
41610
41611# Tool to change global to local symbols on Mac OS X.
41612NMEDIT=$lt_NMEDIT
41613
41614# Tool to manipulate fat objects and archives on Mac OS X.
41615LIPO=$lt_LIPO
41616
41617# ldd/readelf like tool for Mach-O binaries on Mac OS X.
41618OTOOL=$lt_OTOOL
41619
41620# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
41621OTOOL64=$lt_OTOOL64
41622
41623# Old archive suffix (normally "a").
41624libext=$libext
41625
41626# Shared library suffix (normally ".so").
41627shrext_cmds=$lt_shrext_cmds
41628
41629# The commands to extract the exported symbol list from a shared archive.
41630extract_expsyms_cmds=$lt_extract_expsyms_cmds
41631
41632# Variables whose values should be saved in libtool wrapper scripts and
41633# restored at link time.
41634variables_saved_for_relink=$lt_variables_saved_for_relink
41635
41636# Do we need the "lib" prefix for modules?
41637need_lib_prefix=$need_lib_prefix
41638
41639# Do we need a version for libraries?
41640need_version=$need_version
41641
41642# Library versioning type.
41643version_type=$version_type
41644
41645# Shared library runtime path variable.
41646runpath_var=$runpath_var
41647
41648# Shared library path variable.
41649shlibpath_var=$shlibpath_var
41650
41651# Is shlibpath searched before the hard-coded library search path?
41652shlibpath_overrides_runpath=$shlibpath_overrides_runpath
41653
41654# Format of library name prefix.
41655libname_spec=$lt_libname_spec
41656
41657# List of archive names.  First name is the real one, the rest are links.
41658# The last name is the one that the linker finds with -lNAME
41659library_names_spec=$lt_library_names_spec
41660
41661# The coded name of the library, if different from the real name.
41662soname_spec=$lt_soname_spec
41663
41664# Permission mode override for installation of shared libraries.
41665install_override_mode=$lt_install_override_mode
41666
41667# Command to use after installation of a shared archive.
41668postinstall_cmds=$lt_postinstall_cmds
41669
41670# Command to use after uninstallation of a shared archive.
41671postuninstall_cmds=$lt_postuninstall_cmds
41672
41673# Commands used to finish a libtool library installation in a directory.
41674finish_cmds=$lt_finish_cmds
41675
41676# As "finish_cmds", except a single script fragment to be evaled but
41677# not shown.
41678finish_eval=$lt_finish_eval
41679
41680# Whether we should hardcode library paths into libraries.
41681hardcode_into_libs=$hardcode_into_libs
41682
41683# Compile-time system search path for libraries.
41684sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
41685
41686# Detected run-time system search path for libraries.
41687sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
41688
41689# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
41690configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
41691
41692# Whether dlopen is supported.
41693dlopen_support=$enable_dlopen
41694
41695# Whether dlopen of programs is supported.
41696dlopen_self=$enable_dlopen_self
41697
41698# Whether dlopen of statically linked programs is supported.
41699dlopen_self_static=$enable_dlopen_self_static
41700
41701# Commands to strip libraries.
41702old_striplib=$lt_old_striplib
41703striplib=$lt_striplib
41704
41705
41706# The linker used to build libraries.
41707LD=$lt_LD
41708
41709# How to create reloadable object files.
41710reload_flag=$lt_reload_flag
41711reload_cmds=$lt_reload_cmds
41712
41713# Commands used to build an old-style archive.
41714old_archive_cmds=$lt_old_archive_cmds
41715
41716# A language specific compiler.
41717CC=$lt_compiler
41718
41719# Is the compiler the GNU compiler?
41720with_gcc=$GCC
41721
41722# Compiler flag to turn off builtin functions.
41723no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
41724
41725# Additional compiler flags for building library objects.
41726pic_flag=$lt_lt_prog_compiler_pic
41727
41728# How to pass a linker flag through the compiler.
41729wl=$lt_lt_prog_compiler_wl
41730
41731# Compiler flag to prevent dynamic linking.
41732link_static_flag=$lt_lt_prog_compiler_static
41733
41734# Does compiler simultaneously support -c and -o options?
41735compiler_c_o=$lt_lt_cv_prog_compiler_c_o
41736
41737# Whether or not to add -lc for building shared libraries.
41738build_libtool_need_lc=$archive_cmds_need_lc
41739
41740# Whether or not to disallow shared libs when runtime libs are static.
41741allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
41742
41743# Compiler flag to allow reflexive dlopens.
41744export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
41745
41746# Compiler flag to generate shared objects directly from archives.
41747whole_archive_flag_spec=$lt_whole_archive_flag_spec
41748
41749# Whether the compiler copes with passing no objects directly.
41750compiler_needs_object=$lt_compiler_needs_object
41751
41752# Create an old-style archive from a shared archive.
41753old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
41754
41755# Create a temporary old-style archive to link instead of a shared archive.
41756old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
41757
41758# Commands used to build a shared archive.
41759archive_cmds=$lt_archive_cmds
41760archive_expsym_cmds=$lt_archive_expsym_cmds
41761
41762# Commands used to build a loadable module if different from building
41763# a shared archive.
41764module_cmds=$lt_module_cmds
41765module_expsym_cmds=$lt_module_expsym_cmds
41766
41767# Whether we are building with GNU ld or not.
41768with_gnu_ld=$lt_with_gnu_ld
41769
41770# Flag that allows shared libraries with undefined symbols to be built.
41771allow_undefined_flag=$lt_allow_undefined_flag
41772
41773# Flag that enforces no undefined symbols.
41774no_undefined_flag=$lt_no_undefined_flag
41775
41776# Flag to hardcode \$libdir into a binary during linking.
41777# This must work even if \$libdir does not exist
41778hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
41779
41780# Whether we need a single "-rpath" flag with a separated argument.
41781hardcode_libdir_separator=$lt_hardcode_libdir_separator
41782
41783# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
41784# DIR into the resulting binary.
41785hardcode_direct=$hardcode_direct
41786
41787# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
41788# DIR into the resulting binary and the resulting library dependency is
41789# "absolute",i.e impossible to change by setting \$shlibpath_var if the
41790# library is relocated.
41791hardcode_direct_absolute=$hardcode_direct_absolute
41792
41793# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
41794# into the resulting binary.
41795hardcode_minus_L=$hardcode_minus_L
41796
41797# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
41798# into the resulting binary.
41799hardcode_shlibpath_var=$hardcode_shlibpath_var
41800
41801# Set to "yes" if building a shared library automatically hardcodes DIR
41802# into the library and all subsequent libraries and executables linked
41803# against it.
41804hardcode_automatic=$hardcode_automatic
41805
41806# Set to yes if linker adds runtime paths of dependent libraries
41807# to runtime path list.
41808inherit_rpath=$inherit_rpath
41809
41810# Whether libtool must link a program against all its dependency libraries.
41811link_all_deplibs=$link_all_deplibs
41812
41813# Set to "yes" if exported symbols are required.
41814always_export_symbols=$always_export_symbols
41815
41816# The commands to list exported symbols.
41817export_symbols_cmds=$lt_export_symbols_cmds
41818
41819# Symbols that should not be listed in the preloaded symbols.
41820exclude_expsyms=$lt_exclude_expsyms
41821
41822# Symbols that must always be exported.
41823include_expsyms=$lt_include_expsyms
41824
41825# Commands necessary for linking programs (against libraries) with templates.
41826prelink_cmds=$lt_prelink_cmds
41827
41828# Commands necessary for finishing linking programs.
41829postlink_cmds=$lt_postlink_cmds
41830
41831# Specify filename containing input files.
41832file_list_spec=$lt_file_list_spec
41833
41834# How to hardcode a shared library path into an executable.
41835hardcode_action=$hardcode_action
41836
41837# The directories searched by this compiler when creating a shared library.
41838compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
41839
41840# Dependencies to place before and after the objects being linked to
41841# create a shared library.
41842predep_objects=$lt_predep_objects
41843postdep_objects=$lt_postdep_objects
41844predeps=$lt_predeps
41845postdeps=$lt_postdeps
41846
41847# The library search path used internally by the compiler when linking
41848# a shared library.
41849compiler_lib_search_path=$lt_compiler_lib_search_path
41850
41851# ### END LIBTOOL CONFIG
41852
41853_LT_EOF
41854
41855    cat <<'_LT_EOF' >> "$cfgfile"
41856
41857# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
41858
41859# func_munge_path_list VARIABLE PATH
41860# -----------------------------------
41861# VARIABLE is name of variable containing _space_ separated list of
41862# directories to be munged by the contents of PATH, which is string
41863# having a format:
41864# "DIR[:DIR]:"
41865#       string "DIR[ DIR]" will be prepended to VARIABLE
41866# ":DIR[:DIR]"
41867#       string "DIR[ DIR]" will be appended to VARIABLE
41868# "DIRP[:DIRP]::[DIRA:]DIRA"
41869#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
41870#       "DIRA[ DIRA]" will be appended to VARIABLE
41871# "DIR[:DIR]"
41872#       VARIABLE will be replaced by "DIR[ DIR]"
41873func_munge_path_list ()
41874{
41875    case x$2 in
41876    x)
41877        ;;
41878    *:)
41879        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
41880        ;;
41881    x:*)
41882        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
41883        ;;
41884    *::*)
41885        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
41886        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
41887        ;;
41888    *)
41889        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
41890        ;;
41891    esac
41892}
41893
41894
41895# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
41896func_cc_basename ()
41897{
41898    for cc_temp in $*""; do
41899      case $cc_temp in
41900        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
41901        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
41902        \-*) ;;
41903        *) break;;
41904      esac
41905    done
41906    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
41907}
41908
41909
41910# ### END FUNCTIONS SHARED WITH CONFIGURE
41911
41912_LT_EOF
41913
41914  case $host_os in
41915  aix3*)
41916    cat <<\_LT_EOF >> "$cfgfile"
41917# AIX sometimes has problems with the GCC collect2 program.  For some
41918# reason, if we set the COLLECT_NAMES environment variable, the problems
41919# vanish in a puff of smoke.
41920if test set != "${COLLECT_NAMES+set}"; then
41921  COLLECT_NAMES=
41922  export COLLECT_NAMES
41923fi
41924_LT_EOF
41925    ;;
41926  esac
41927
41928
41929ltmain=$ac_aux_dir/ltmain.sh
41930
41931
41932  # We use sed instead of cat because bash on DJGPP gets confused if
41933  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
41934  # text mode, it properly converts lines to CR/LF.  This bash problem
41935  # is reportedly fixed, but why not run on old versions too?
41936  sed '$q' "$ltmain" >> "$cfgfile" \
41937     || (rm -f "$cfgfile"; exit 1)
41938
41939   mv -f "$cfgfile" "$ofile" ||
41940    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
41941  chmod +x "$ofile"
41942
41943
41944    cat <<_LT_EOF >> "$ofile"
41945
41946# ### BEGIN LIBTOOL TAG CONFIG: CXX
41947
41948# The linker used to build libraries.
41949LD=$lt_LD_CXX
41950
41951# How to create reloadable object files.
41952reload_flag=$lt_reload_flag_CXX
41953reload_cmds=$lt_reload_cmds_CXX
41954
41955# Commands used to build an old-style archive.
41956old_archive_cmds=$lt_old_archive_cmds_CXX
41957
41958# A language specific compiler.
41959CC=$lt_compiler_CXX
41960
41961# Is the compiler the GNU compiler?
41962with_gcc=$GCC_CXX
41963
41964# Compiler flag to turn off builtin functions.
41965no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
41966
41967# Additional compiler flags for building library objects.
41968pic_flag=$lt_lt_prog_compiler_pic_CXX
41969
41970# How to pass a linker flag through the compiler.
41971wl=$lt_lt_prog_compiler_wl_CXX
41972
41973# Compiler flag to prevent dynamic linking.
41974link_static_flag=$lt_lt_prog_compiler_static_CXX
41975
41976# Does compiler simultaneously support -c and -o options?
41977compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
41978
41979# Whether or not to add -lc for building shared libraries.
41980build_libtool_need_lc=$archive_cmds_need_lc_CXX
41981
41982# Whether or not to disallow shared libs when runtime libs are static.
41983allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
41984
41985# Compiler flag to allow reflexive dlopens.
41986export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
41987
41988# Compiler flag to generate shared objects directly from archives.
41989whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
41990
41991# Whether the compiler copes with passing no objects directly.
41992compiler_needs_object=$lt_compiler_needs_object_CXX
41993
41994# Create an old-style archive from a shared archive.
41995old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
41996
41997# Create a temporary old-style archive to link instead of a shared archive.
41998old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
41999
42000# Commands used to build a shared archive.
42001archive_cmds=$lt_archive_cmds_CXX
42002archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
42003
42004# Commands used to build a loadable module if different from building
42005# a shared archive.
42006module_cmds=$lt_module_cmds_CXX
42007module_expsym_cmds=$lt_module_expsym_cmds_CXX
42008
42009# Whether we are building with GNU ld or not.
42010with_gnu_ld=$lt_with_gnu_ld_CXX
42011
42012# Flag that allows shared libraries with undefined symbols to be built.
42013allow_undefined_flag=$lt_allow_undefined_flag_CXX
42014
42015# Flag that enforces no undefined symbols.
42016no_undefined_flag=$lt_no_undefined_flag_CXX
42017
42018# Flag to hardcode \$libdir into a binary during linking.
42019# This must work even if \$libdir does not exist
42020hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
42021
42022# Whether we need a single "-rpath" flag with a separated argument.
42023hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
42024
42025# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
42026# DIR into the resulting binary.
42027hardcode_direct=$hardcode_direct_CXX
42028
42029# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
42030# DIR into the resulting binary and the resulting library dependency is
42031# "absolute",i.e impossible to change by setting \$shlibpath_var if the
42032# library is relocated.
42033hardcode_direct_absolute=$hardcode_direct_absolute_CXX
42034
42035# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
42036# into the resulting binary.
42037hardcode_minus_L=$hardcode_minus_L_CXX
42038
42039# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
42040# into the resulting binary.
42041hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
42042
42043# Set to "yes" if building a shared library automatically hardcodes DIR
42044# into the library and all subsequent libraries and executables linked
42045# against it.
42046hardcode_automatic=$hardcode_automatic_CXX
42047
42048# Set to yes if linker adds runtime paths of dependent libraries
42049# to runtime path list.
42050inherit_rpath=$inherit_rpath_CXX
42051
42052# Whether libtool must link a program against all its dependency libraries.
42053link_all_deplibs=$link_all_deplibs_CXX
42054
42055# Set to "yes" if exported symbols are required.
42056always_export_symbols=$always_export_symbols_CXX
42057
42058# The commands to list exported symbols.
42059export_symbols_cmds=$lt_export_symbols_cmds_CXX
42060
42061# Symbols that should not be listed in the preloaded symbols.
42062exclude_expsyms=$lt_exclude_expsyms_CXX
42063
42064# Symbols that must always be exported.
42065include_expsyms=$lt_include_expsyms_CXX
42066
42067# Commands necessary for linking programs (against libraries) with templates.
42068prelink_cmds=$lt_prelink_cmds_CXX
42069
42070# Commands necessary for finishing linking programs.
42071postlink_cmds=$lt_postlink_cmds_CXX
42072
42073# Specify filename containing input files.
42074file_list_spec=$lt_file_list_spec_CXX
42075
42076# How to hardcode a shared library path into an executable.
42077hardcode_action=$hardcode_action_CXX
42078
42079# The directories searched by this compiler when creating a shared library.
42080compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
42081
42082# Dependencies to place before and after the objects being linked to
42083# create a shared library.
42084predep_objects=$lt_predep_objects_CXX
42085postdep_objects=$lt_postdep_objects_CXX
42086predeps=$lt_predeps_CXX
42087postdeps=$lt_postdeps_CXX
42088
42089# The library search path used internally by the compiler when linking
42090# a shared library.
42091compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
42092
42093# ### END LIBTOOL TAG CONFIG: CXX
42094_LT_EOF
42095
42096 ;;
42097    "po-directories":C)
42098    for ac_file in $CONFIG_FILES; do
42099      # Support "outfile[:infile[:infile...]]"
42100      case "$ac_file" in
42101        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
42102      esac
42103      # PO directories have a Makefile.in generated from Makefile.in.in.
42104      case "$ac_file" in */Makefile.in)
42105        # Adjust a relative srcdir.
42106        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
42107        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
42108        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
42109        # In autoconf-2.13 it is called $ac_given_srcdir.
42110        # In autoconf-2.50 it is called $srcdir.
42111        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
42112        case "$ac_given_srcdir" in
42113          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
42114          /*) top_srcdir="$ac_given_srcdir" ;;
42115          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
42116        esac
42117        # Treat a directory as a PO directory if and only if it has a
42118        # POTFILES.in file. This allows packages to have multiple PO
42119        # directories under different names or in different locations.
42120        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
42121          rm -f "$ac_dir/POTFILES"
42122          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
42123          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
42124          POMAKEFILEDEPS="POTFILES.in"
42125          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
42126          # on $ac_dir but don't depend on user-specified configuration
42127          # parameters.
42128          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
42129            # The LINGUAS file contains the set of available languages.
42130            if test -n "$OBSOLETE_ALL_LINGUAS"; then
42131              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
42132            fi
42133            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
42134            # Hide the ALL_LINGUAS assigment from automake < 1.5.
42135            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
42136            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
42137          else
42138            # The set of available languages was given in configure.in.
42139            # Hide the ALL_LINGUAS assigment from automake < 1.5.
42140            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
42141          fi
42142          # Compute POFILES
42143          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
42144          # Compute UPDATEPOFILES
42145          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
42146          # Compute DUMMYPOFILES
42147          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
42148          # Compute GMOFILES
42149          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
42150          case "$ac_given_srcdir" in
42151            .) srcdirpre= ;;
42152            *) srcdirpre='$(srcdir)/' ;;
42153          esac
42154          POFILES=
42155          UPDATEPOFILES=
42156          DUMMYPOFILES=
42157          GMOFILES=
42158          for lang in $ALL_LINGUAS; do
42159            POFILES="$POFILES $srcdirpre$lang.po"
42160            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
42161            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
42162            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
42163          done
42164          # CATALOGS depends on both $ac_dir and the user's LINGUAS
42165          # environment variable.
42166          INST_LINGUAS=
42167          if test -n "$ALL_LINGUAS"; then
42168            for presentlang in $ALL_LINGUAS; do
42169              useit=no
42170              if test "%UNSET%" != "$LINGUAS"; then
42171                desiredlanguages="$LINGUAS"
42172              else
42173                desiredlanguages="$ALL_LINGUAS"
42174              fi
42175              for desiredlang in $desiredlanguages; do
42176                # Use the presentlang catalog if desiredlang is
42177                #   a. equal to presentlang, or
42178                #   b. a variant of presentlang (because in this case,
42179                #      presentlang can be used as a fallback for messages
42180                #      which are not translated in the desiredlang catalog).
42181                case "$desiredlang" in
42182                  "$presentlang"*) useit=yes;;
42183                esac
42184              done
42185              if test $useit = yes; then
42186                INST_LINGUAS="$INST_LINGUAS $presentlang"
42187              fi
42188            done
42189          fi
42190          CATALOGS=
42191          if test -n "$INST_LINGUAS"; then
42192            for lang in $INST_LINGUAS; do
42193              CATALOGS="$CATALOGS $lang.gmo"
42194            done
42195          fi
42196          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
42197          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"
42198          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
42199            if test -f "$f"; then
42200              case "$f" in
42201                *.orig | *.bak | *~) ;;
42202                *) cat "$f" >> "$ac_dir/Makefile" ;;
42203              esac
42204            fi
42205          done
42206        fi
42207        ;;
42208      esac
42209    done ;;
42210    "$ac_stdint_h":C)
42211{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
42212$as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
42213ac_stdint=$tmp/_stdint.h
42214
42215echo "#ifndef" $_ac_stdint_h >$ac_stdint
42216echo "#define" $_ac_stdint_h "1" >>$ac_stdint
42217echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
42218echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
42219echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
42220if test "_$ac_cv_header_stdint_t" != "_" ; then
42221echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
42222echo "#include <stdint.h>" >>$ac_stdint
42223echo "#endif" >>$ac_stdint
42224echo "#endif" >>$ac_stdint
42225else
42226
42227cat >>$ac_stdint <<STDINT_EOF
42228
42229/* ................... shortcircuit part ........................... */
42230
42231#if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
42232#include <stdint.h>
42233#else
42234#include <stddef.h>
42235
42236/* .................... configured part ............................ */
42237
42238STDINT_EOF
42239
42240echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
42241if test "_$ac_cv_header_stdint_x" != "_" ; then
42242  ac_header="$ac_cv_header_stdint_x"
42243  echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
42244else
42245  echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
42246fi
42247
42248echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
42249if  test "_$ac_cv_header_stdint_o" != "_" ; then
42250  ac_header="$ac_cv_header_stdint_o"
42251  echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
42252else
42253  echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
42254fi
42255
42256echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
42257if  test "_$ac_cv_header_stdint_u" != "_" ; then
42258  ac_header="$ac_cv_header_stdint_u"
42259  echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
42260else
42261  echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
42262fi
42263
42264echo "" >>$ac_stdint
42265
42266if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
42267  echo "#include <$ac_header>" >>$ac_stdint
42268  echo "" >>$ac_stdint
42269fi fi
42270
42271echo "/* which 64bit typedef has been found */" >>$ac_stdint
42272if test "$ac_cv_type_uint64_t" = "yes" ; then
42273echo "#define   _STDINT_HAVE_UINT64_T" "1"  >>$ac_stdint
42274else
42275echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
42276fi
42277if test "$ac_cv_type_u_int64_t" = "yes" ; then
42278echo "#define   _STDINT_HAVE_U_INT64_T" "1"  >>$ac_stdint
42279else
42280echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
42281fi
42282echo "" >>$ac_stdint
42283
42284echo "/* which type model has been detected */" >>$ac_stdint
42285if test "_$ac_cv_char_data_model" != "_" ; then
42286echo "#define   _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
42287echo "#define   _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
42288else
42289echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
42290echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
42291fi
42292echo "" >>$ac_stdint
42293
42294echo "/* whether int_least types were detected */" >>$ac_stdint
42295if test "$ac_cv_type_int_least32_t" = "yes"; then
42296echo "#define   _STDINT_HAVE_INT_LEAST32_T" "1"  >>$ac_stdint
42297else
42298echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
42299fi
42300echo "/* whether int_fast types were detected */" >>$ac_stdint
42301if test "$ac_cv_type_int_fast32_t" = "yes"; then
42302echo "#define   _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
42303else
42304echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
42305fi
42306echo "/* whether intmax_t type was detected */" >>$ac_stdint
42307if test "$ac_cv_type_intmax_t" = "yes"; then
42308echo "#define   _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
42309else
42310echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
42311fi
42312echo "" >>$ac_stdint
42313
42314  cat >>$ac_stdint <<STDINT_EOF
42315/* .................... detections part ............................ */
42316
42317/* whether we need to define bitspecific types from compiler base types */
42318#ifndef _STDINT_HEADER_INTPTR
42319#ifndef _STDINT_HEADER_UINT32
42320#ifndef _STDINT_HEADER_U_INT32
42321#define _STDINT_NEED_INT_MODEL_T
42322#else
42323#define _STDINT_HAVE_U_INT_TYPES
42324#endif
42325#endif
42326#endif
42327
42328#ifdef _STDINT_HAVE_U_INT_TYPES
42329#undef _STDINT_NEED_INT_MODEL_T
42330#endif
42331
42332#ifdef  _STDINT_CHAR_MODEL
42333#if     _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
42334#ifndef _STDINT_BYTE_MODEL
42335#define _STDINT_BYTE_MODEL 12
42336#endif
42337#endif
42338#endif
42339
42340#ifndef _STDINT_HAVE_INT_LEAST32_T
42341#define _STDINT_NEED_INT_LEAST_T
42342#endif
42343
42344#ifndef _STDINT_HAVE_INT_FAST32_T
42345#define _STDINT_NEED_INT_FAST_T
42346#endif
42347
42348#ifndef _STDINT_HEADER_INTPTR
42349#define _STDINT_NEED_INTPTR_T
42350#ifndef _STDINT_HAVE_INTMAX_T
42351#define _STDINT_NEED_INTMAX_T
42352#endif
42353#endif
42354
42355
42356/* .................... definition part ............................ */
42357
42358/* some system headers have good uint64_t */
42359#ifndef _HAVE_UINT64_T
42360#if     defined _STDINT_HAVE_UINT64_T  || defined HAVE_UINT64_T
42361#define _HAVE_UINT64_T
42362#elif   defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
42363#define _HAVE_UINT64_T
42364typedef u_int64_t uint64_t;
42365#endif
42366#endif
42367
42368#ifndef _HAVE_UINT64_T
42369/* .. here are some common heuristics using compiler runtime specifics */
42370#if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
42371#define _HAVE_UINT64_T
42372#define _HAVE_LONGLONG_UINT64_T
42373typedef long long int64_t;
42374typedef unsigned long long uint64_t;
42375
42376#elif !defined __STRICT_ANSI__
42377#if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
42378#define _HAVE_UINT64_T
42379typedef __int64 int64_t;
42380typedef unsigned __int64 uint64_t;
42381
42382#elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
42383/* note: all ELF-systems seem to have loff-support which needs 64-bit */
42384#if !defined _NO_LONGLONG
42385#define _HAVE_UINT64_T
42386#define _HAVE_LONGLONG_UINT64_T
42387typedef long long int64_t;
42388typedef unsigned long long uint64_t;
42389#endif
42390
42391#elif defined __alpha || (defined __mips && defined _ABIN32)
42392#if !defined _NO_LONGLONG
42393typedef long int64_t;
42394typedef unsigned long uint64_t;
42395#endif
42396  /* compiler/cpu type to define int64_t */
42397#endif
42398#endif
42399#endif
42400
42401#if defined _STDINT_HAVE_U_INT_TYPES
42402/* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
42403typedef u_int8_t uint8_t;
42404typedef u_int16_t uint16_t;
42405typedef u_int32_t uint32_t;
42406
42407/* glibc compatibility */
42408#ifndef __int8_t_defined
42409#define __int8_t_defined
42410#endif
42411#endif
42412
42413#ifdef _STDINT_NEED_INT_MODEL_T
42414/* we must guess all the basic types. Apart from byte-adressable system, */
42415/* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
42416/* (btw, those nibble-addressable systems are way off, or so we assume) */
42417
42418
42419#if defined _STDINT_BYTE_MODEL
42420#if _STDINT_LONG_MODEL+0 == 242
42421/* 2:4:2 =  IP16 = a normal 16-bit system                */
42422typedef unsigned char   uint8_t;
42423typedef unsigned short  uint16_t;
42424typedef unsigned long   uint32_t;
42425#ifndef __int8_t_defined
42426#define __int8_t_defined
42427typedef          char    int8_t;
42428typedef          short   int16_t;
42429typedef          long    int32_t;
42430#endif
42431#elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
42432/* 2:4:4 =  LP32 = a 32-bit system derived from a 16-bit */
42433/* 4:4:4 = ILP32 = a normal 32-bit system                */
42434typedef unsigned char   uint8_t;
42435typedef unsigned short  uint16_t;
42436typedef unsigned int    uint32_t;
42437#ifndef __int8_t_defined
42438#define __int8_t_defined
42439typedef          char    int8_t;
42440typedef          short   int16_t;
42441typedef          int     int32_t;
42442#endif
42443#elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
42444/* 4:8:4 =  IP32 = a 32-bit system prepared for 64-bit    */
42445/* 4:8:8 =  LP64 = a normal 64-bit system                 */
42446typedef unsigned char   uint8_t;
42447typedef unsigned short  uint16_t;
42448typedef unsigned int    uint32_t;
42449#ifndef __int8_t_defined
42450#define __int8_t_defined
42451typedef          char    int8_t;
42452typedef          short   int16_t;
42453typedef          int     int32_t;
42454#endif
42455/* this system has a "long" of 64bit */
42456#ifndef _HAVE_UINT64_T
42457#define _HAVE_UINT64_T
42458typedef unsigned long   uint64_t;
42459typedef          long    int64_t;
42460#endif
42461#elif _STDINT_LONG_MODEL+0 == 448
42462/*      LLP64   a 64-bit system derived from a 32-bit system */
42463typedef unsigned char   uint8_t;
42464typedef unsigned short  uint16_t;
42465typedef unsigned int    uint32_t;
42466#ifndef __int8_t_defined
42467#define __int8_t_defined
42468typedef          char    int8_t;
42469typedef          short   int16_t;
42470typedef          int     int32_t;
42471#endif
42472/* assuming the system has a "long long" */
42473#ifndef _HAVE_UINT64_T
42474#define _HAVE_UINT64_T
42475#define _HAVE_LONGLONG_UINT64_T
42476typedef unsigned long long uint64_t;
42477typedef          long long  int64_t;
42478#endif
42479#else
42480#define _STDINT_NO_INT32_T
42481#endif
42482#else
42483#define _STDINT_NO_INT8_T
42484#define _STDINT_NO_INT32_T
42485#endif
42486#endif
42487
42488/*
42489 * quote from SunOS-5.8 sys/inttypes.h:
42490 * Use at your own risk.  As of February 1996, the committee is squarely
42491 * behind the fixed sized types; the "least" and "fast" types are still being
42492 * discussed.  The probability that the "fast" types may be removed before
42493 * the standard is finalized is high enough that they are not currently
42494 * implemented.
42495 */
42496
42497#if defined _STDINT_NEED_INT_LEAST_T
42498typedef  int8_t    int_least8_t;
42499typedef  int16_t   int_least16_t;
42500typedef  int32_t   int_least32_t;
42501#ifdef _HAVE_UINT64_T
42502typedef  int64_t   int_least64_t;
42503#endif
42504
42505typedef uint8_t   uint_least8_t;
42506typedef uint16_t  uint_least16_t;
42507typedef uint32_t  uint_least32_t;
42508#ifdef _HAVE_UINT64_T
42509typedef uint64_t  uint_least64_t;
42510#endif
42511  /* least types */
42512#endif
42513
42514#if defined _STDINT_NEED_INT_FAST_T
42515typedef  int8_t    int_fast8_t;
42516typedef  int       int_fast16_t;
42517typedef  int32_t   int_fast32_t;
42518#ifdef _HAVE_UINT64_T
42519typedef  int64_t   int_fast64_t;
42520#endif
42521
42522typedef uint8_t   uint_fast8_t;
42523typedef unsigned  uint_fast16_t;
42524typedef uint32_t  uint_fast32_t;
42525#ifdef _HAVE_UINT64_T
42526typedef uint64_t  uint_fast64_t;
42527#endif
42528  /* fast types */
42529#endif
42530
42531#ifdef _STDINT_NEED_INTMAX_T
42532#ifdef _HAVE_UINT64_T
42533typedef  int64_t       intmax_t;
42534typedef uint64_t      uintmax_t;
42535#else
42536typedef          long  intmax_t;
42537typedef unsigned long uintmax_t;
42538#endif
42539#endif
42540
42541#ifdef _STDINT_NEED_INTPTR_T
42542#ifndef __intptr_t_defined
42543#define __intptr_t_defined
42544/* we encourage using "long" to store pointer values, never use "int" ! */
42545#if   _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
42546typedef  unsigned int   uintptr_t;
42547typedef           int    intptr_t;
42548#elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
42549typedef  unsigned long  uintptr_t;
42550typedef           long   intptr_t;
42551#elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
42552typedef        uint64_t uintptr_t;
42553typedef         int64_t  intptr_t;
42554#else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
42555typedef  unsigned long  uintptr_t;
42556typedef           long   intptr_t;
42557#endif
42558#endif
42559#endif
42560
42561/* The ISO C99 standard specifies that in C++ implementations these
42562   should only be defined if explicitly requested.  */
42563#if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
42564#ifndef UINT32_C
42565
42566/* Signed.  */
42567# define INT8_C(c)      c
42568# define INT16_C(c)     c
42569# define INT32_C(c)     c
42570# ifdef _HAVE_LONGLONG_UINT64_T
42571#  define INT64_C(c)    c ## L
42572# else
42573#  define INT64_C(c)    c ## LL
42574# endif
42575
42576/* Unsigned.  */
42577# define UINT8_C(c)     c ## U
42578# define UINT16_C(c)    c ## U
42579# define UINT32_C(c)    c ## U
42580# ifdef _HAVE_LONGLONG_UINT64_T
42581#  define UINT64_C(c)   c ## UL
42582# else
42583#  define UINT64_C(c)   c ## ULL
42584# endif
42585
42586/* Maximal type.  */
42587# ifdef _HAVE_LONGLONG_UINT64_T
42588#  define INTMAX_C(c)   c ## L
42589#  define UINTMAX_C(c)  c ## UL
42590# else
42591#  define INTMAX_C(c)   c ## LL
42592#  define UINTMAX_C(c)  c ## ULL
42593# endif
42594
42595  /* literalnumbers */
42596#endif
42597#endif
42598
42599/* These limits are merily those of a two complement byte-oriented system */
42600
42601/* Minimum of signed integral types.  */
42602# define INT8_MIN               (-128)
42603# define INT16_MIN              (-32767-1)
42604# define INT32_MIN              (-2147483647-1)
42605# define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
42606/* Maximum of signed integral types.  */
42607# define INT8_MAX               (127)
42608# define INT16_MAX              (32767)
42609# define INT32_MAX              (2147483647)
42610# define INT64_MAX              (__INT64_C(9223372036854775807))
42611
42612/* Maximum of unsigned integral types.  */
42613# define UINT8_MAX              (255)
42614# define UINT16_MAX             (65535)
42615# define UINT32_MAX             (4294967295U)
42616# define UINT64_MAX             (__UINT64_C(18446744073709551615))
42617
42618/* Minimum of signed integral types having a minimum size.  */
42619# define INT_LEAST8_MIN         INT8_MIN
42620# define INT_LEAST16_MIN        INT16_MIN
42621# define INT_LEAST32_MIN        INT32_MIN
42622# define INT_LEAST64_MIN        INT64_MIN
42623/* Maximum of signed integral types having a minimum size.  */
42624# define INT_LEAST8_MAX         INT8_MAX
42625# define INT_LEAST16_MAX        INT16_MAX
42626# define INT_LEAST32_MAX        INT32_MAX
42627# define INT_LEAST64_MAX        INT64_MAX
42628
42629/* Maximum of unsigned integral types having a minimum size.  */
42630# define UINT_LEAST8_MAX        UINT8_MAX
42631# define UINT_LEAST16_MAX       UINT16_MAX
42632# define UINT_LEAST32_MAX       UINT32_MAX
42633# define UINT_LEAST64_MAX       UINT64_MAX
42634
42635  /* shortcircuit*/
42636#endif
42637  /* once */
42638#endif
42639#endif
42640STDINT_EOF
42641fi
42642    if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
42643      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
42644$as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
42645    else
42646      ac_dir=`$as_dirname -- "$ac_stdint_h" ||
42647$as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42648	 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
42649	 X"$ac_stdint_h" : 'X\(//\)$' \| \
42650	 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
42651$as_echo X"$ac_stdint_h" |
42652    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42653	    s//\1/
42654	    q
42655	  }
42656	  /^X\(\/\/\)[^/].*/{
42657	    s//\1/
42658	    q
42659	  }
42660	  /^X\(\/\/\)$/{
42661	    s//\1/
42662	    q
42663	  }
42664	  /^X\(\/\).*/{
42665	    s//\1/
42666	    q
42667	  }
42668	  s/.*/./; q'`
42669      as_dir="$ac_dir"; as_fn_mkdir_p
42670      rm -f $ac_stdint_h
42671      mv $ac_stdint $ac_stdint_h
42672    fi
42673 ;;
42674
42675  esac
42676done # for ac_tag
42677
42678
42679as_fn_exit 0
42680_ACEOF
42681ac_clean_files=$ac_clean_files_save
42682
42683test $ac_write_fail = 0 ||
42684  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42685
42686
42687# configure is writing to config.log, and then calls config.status.
42688# config.status does its own redirection, appending to config.log.
42689# Unfortunately, on DOS this fails, as config.log is still kept open
42690# by configure, so config.status won't be able to write to it; its
42691# output is simply discarded.  So we exec the FD to /dev/null,
42692# effectively closing config.log, so it can be properly (re)opened and
42693# appended to by config.status.  When coming back to configure, we
42694# need to make the FD available again.
42695if test "$no_create" != yes; then
42696  ac_cs_success=:
42697  ac_config_status_args=
42698  test "$silent" = yes &&
42699    ac_config_status_args="$ac_config_status_args --quiet"
42700  exec 5>/dev/null
42701  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42702  exec 5>>config.log
42703  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42704  # would make configure fail if this is the last instruction.
42705  $ac_cs_success || as_fn_exit 1
42706fi
42707if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42708  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42709$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42710fi
42711
42712
42713
42714
42715printf "configure: *** Plug-ins without external dependencies that will be built:\n"
42716( for i in $GST_PLUGINS_SELECTED; do printf '\t'$i'\n'; done ) | sort
42717printf "\n"
42718
42719printf "configure: *** Plug-ins without external dependencies that will NOT be built:\n"
42720( for i in $GST_PLUGINS_ALL; do
42721    case " $GST_PLUGINS_SELECTED " in
42722      *\ $i\ *)
42723	;;
42724      *)
42725	printf '\t'$i'\n'
42726	;;
42727    esac
42728  done ) | sort
42729printf "\n"
42730
42731printf "configure: *** Plug-ins that have NOT been ported:\n"
42732( for i in $GST_PLUGINS_NONPORTED; do
42733	printf '\t'$i'\n'
42734  done ) | sort
42735printf "\n"
42736
42737if test "x$BUILD_EXTERNAL" = "xno"; then
42738  printf "configure: *** No plug-ins with external dependencies will be built\n"
42739else
42740  printf "configure: *** Plug-ins with dependencies that will be built:"
42741  printf "$GST_PLUGINS_YES\n" | sort
42742  printf "\n"
42743  printf "configure: *** Plug-ins with dependencies that will NOT be built:"
42744  printf "$GST_PLUGINS_NO\n" | sort
42745  printf "\n"
42746fi
42747
42748
42749  if test "$HAVE_ORC" = yes ; then
42750    printf "configure: *** Orc acceleration enabled.\n"
42751  else
42752    if test "x$enable_orc" = "xno" ; then
42753      printf "configure: *** Orc acceleration disabled by --disable-orc.  Slower code paths\n"
42754      printf "               will be used.\n"
42755    else
42756      printf "configure: *** Orc acceleration disabled.  Requires Orc >= $ORC_REQ, which was\n"
42757      printf "               not found.  Slower code paths will be used.\n"
42758    fi
42759  fi
42760  printf "\n"
42761
42762
42763