add 0.10 suffix package name to diff with 1.0
[profile/ivi/gst-plugins-ugly0.10.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GStreamer Ugly Plug-ins 0.10.19.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
254 $0: have one."
255   fi
256   exit 1
257 fi
258 fi
259 fi
260 SHELL=${CONFIG_SHELL-/bin/sh}
261 export SHELL
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
265
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
269 # as_fn_unset VAR
270 # ---------------
271 # Portably unset VAR.
272 as_fn_unset ()
273 {
274   { eval $1=; unset $1;}
275 }
276 as_unset=as_fn_unset
277
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
281 as_fn_set_status ()
282 {
283   return $1
284 } # as_fn_set_status
285
286 # as_fn_exit STATUS
287 # -----------------
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 as_fn_exit ()
290 {
291   set +e
292   as_fn_set_status $1
293   exit $1
294 } # as_fn_exit
295
296 # as_fn_mkdir_p
297 # -------------
298 # Create "$as_dir" as a directory, including parents if necessary.
299 as_fn_mkdir_p ()
300 {
301
302   case $as_dir in #(
303   -*) as_dir=./$as_dir;;
304   esac
305   test -d "$as_dir" || eval $as_mkdir_p || {
306     as_dirs=
307     while :; do
308       case $as_dir in #(
309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310       *) as_qdir=$as_dir;;
311       esac
312       as_dirs="'$as_qdir' $as_dirs"
313       as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315          X"$as_dir" : 'X\(//\)[^/]' \| \
316          X"$as_dir" : 'X\(//\)$' \| \
317          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)[^/].*/{
324             s//\1/
325             q
326           }
327           /^X\(\/\/\)$/{
328             s//\1/
329             q
330           }
331           /^X\(\/\).*/{
332             s//\1/
333             q
334           }
335           s/.*/./; q'`
336       test -d "$as_dir" && break
337     done
338     test -z "$as_dirs" || eval "mkdir $as_dirs"
339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
341
342 } # as_fn_mkdir_p
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
348 # implementations.
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350   eval 'as_fn_append ()
351   {
352     eval $1+=\$2
353   }'
354 else
355   as_fn_append ()
356   {
357     eval $1=\$$1\$2
358   }
359 fi # as_fn_append
360
361 # as_fn_arith ARG...
362 # ------------------
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367   eval 'as_fn_arith ()
368   {
369     as_val=$(( $* ))
370   }'
371 else
372   as_fn_arith ()
373   {
374     as_val=`expr "$@" || test $? -eq 1`
375   }
376 fi # as_fn_arith
377
378
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
384 as_fn_error ()
385 {
386   as_status=$1; test $as_status -eq 0 && as_status=1
387   if test "$4"; then
388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390   fi
391   $as_echo "$as_me: error: $2" >&2
392   as_fn_exit $as_status
393 } # as_fn_error
394
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
397   as_expr=expr
398 else
399   as_expr=false
400 fi
401
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403   as_basename=basename
404 else
405   as_basename=false
406 fi
407
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409   as_dirname=dirname
410 else
411   as_dirname=false
412 fi
413
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416          X"$0" : 'X\(//\)$' \| \
417          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 $as_echo X/"$0" |
419     sed '/^.*\/\([^/][^/]*\)\/*$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\/\)$/{
424             s//\1/
425             q
426           }
427           /^X\/\(\/\).*/{
428             s//\1/
429             q
430           }
431           s/.*/./; q'`
432
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
446   sed -n '
447     p
448     /[$]LINENO/=
449   ' <$as_myself |
450     sed '
451       s/[$]LINENO.*/&-/
452       t lineno
453       b
454       :lineno
455       N
456       :loop
457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458       t loop
459       s/-\n.*//
460     ' >$as_me.lineno &&
461   chmod +x "$as_me.lineno" ||
462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
464   # Don't try to exec as it changes $[0], causing all sort of problems
465   # (the dirname of $[0] is not the place where we might find the
466   # original and so on.  Autoconf is especially sensitive to this).
467   . "./$as_me.lineno"
468   # Exit status is that of the last command.
469   exit
470 }
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
474 -n*)
475   case `echo 'xy\c'` in
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477   xy)  ECHO_C='\c';;
478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479        ECHO_T=' ';;
480   esac;;
481 *)
482   ECHO_N='-n';;
483 esac
484
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487   rm -f conf$$.dir/conf$$.file
488 else
489   rm -f conf$$.dir
490   mkdir conf$$.dir 2>/dev/null
491 fi
492 if (echo >conf$$.file) 2>/dev/null; then
493   if ln -s conf$$.file conf$$ 2>/dev/null; then
494     as_ln_s='ln -s'
495     # ... but there are two gotchas:
496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498     # In both cases, we have to default to `cp -p'.
499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500       as_ln_s='cp -p'
501   elif ln conf$$.file conf$$ 2>/dev/null; then
502     as_ln_s=ln
503   else
504     as_ln_s='cp -p'
505   fi
506 else
507   as_ln_s='cp -p'
508 fi
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
511
512 if mkdir -p . 2>/dev/null; then
513   as_mkdir_p='mkdir -p "$as_dir"'
514 else
515   test -d ./-p && rmdir ./-p
516   as_mkdir_p=false
517 fi
518
519 if test -x / >/dev/null 2>&1; then
520   as_test_x='test -x'
521 else
522   if ls -dL / >/dev/null 2>&1; then
523     as_ls_L_option=L
524   else
525     as_ls_L_option=
526   fi
527   as_test_x='
528     eval sh -c '\''
529       if test -d "$1"; then
530         test -d "$1/.";
531       else
532         case $1 in #(
533         -*)set "./$1";;
534         esac;
535         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536         ???[sx]*):;;*)false;;esac;fi
537     '\'' sh
538   '
539 fi
540 as_executable_p=$as_test_x
541
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548 SHELL=${CONFIG_SHELL-/bin/sh}
549
550
551 test -n "$DJDIR" || exec 7<&0 </dev/null
552 exec 6>&1
553
554 # Name of the host.
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570
571 # Identity of this package.
572 PACKAGE_NAME='GStreamer Ugly Plug-ins'
573 PACKAGE_TARNAME='gst-plugins-ugly'
574 PACKAGE_VERSION='0.10.19'
575 PACKAGE_STRING='GStreamer Ugly Plug-ins 0.10.19'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
577 PACKAGE_URL=''
578
579 ac_unique_file="ext/mad/gstmad.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 #  include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #  include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
615
616 gt_needs=
617 ac_subst_vars='am__EXEEXT_FALSE
618 am__EXEEXT_TRUE
619 LTLIBOBJS
620 LIBOBJS
621 GST_PLUGIN_LDFLAGS
622 GST_ALL_LDFLAGS
623 GST_CXXFLAGS
624 GST_OPTION_CXXFLAGS
625 GST_OPTION_CFLAGS
626 DEPRECATED_CFLAGS
627 PROFILE_CFLAGS
628 USE_X264_FALSE
629 USE_X264_TRUE
630 X264_LIBS
631 X264_CFLAGS
632 USE_TWOLAME_FALSE
633 USE_TWOLAME_TRUE
634 TWOLAME_LIBS
635 TWOLAME_CFLAGS
636 USE_SIDPLAY_FALSE
637 USE_SIDPLAY_TRUE
638 SIDPLAY_LIBS
639 SIDPLAY_CFLAGS
640 USE_MPEG2DEC_FALSE
641 USE_MPEG2DEC_TRUE
642 MPEG2DEC_LIBS
643 MPEG2DEC_CFLAGS
644 USE_MAD_FALSE
645 USE_MAD_TRUE
646 MAD_LIBS
647 MAD_CFLAGS
648 USE_LAME_FALSE
649 USE_LAME_TRUE
650 HAVE_LAME
651 LAME_LIBS
652 LAME_CFLAGS
653 USE_DVDREAD_FALSE
654 USE_DVDREAD_TRUE
655 DVDREAD_LIBS
656 HAVE_DVDREAD
657 USE_CDIO_FALSE
658 USE_CDIO_TRUE
659 CDIO_LIBS
660 CDIO_CFLAGS
661 USE_AMRWB_FALSE
662 USE_AMRWB_TRUE
663 HAVE_AMRWB
664 AMRWB_LIBS
665 AMRWB_CFLAGS
666 USE_AMRNB_FALSE
667 USE_AMRNB_TRUE
668 HAVE_AMRNB
669 AMRNB_LIBS
670 AMRNB_CFLAGS
671 USE_A52DEC_FALSE
672 USE_A52DEC_TRUE
673 A52DEC_LIBS
674 A52DEC_CFLAGS
675 WIN32_LIBS
676 USE_PLUGIN_SYNAESTHESIA_FALSE
677 USE_PLUGIN_SYNAESTHESIA_TRUE
678 USE_PLUGIN_REALMEDIA_FALSE
679 USE_PLUGIN_REALMEDIA_TRUE
680 USE_PLUGIN_MPEGSTREAM_FALSE
681 USE_PLUGIN_MPEGSTREAM_TRUE
682 USE_PLUGIN_MPEGAUDIOPARSE_FALSE
683 USE_PLUGIN_MPEGAUDIOPARSE_TRUE
684 USE_PLUGIN_IEC958_FALSE
685 USE_PLUGIN_IEC958_TRUE
686 USE_PLUGIN_DVDSUB_FALSE
687 USE_PLUGIN_DVDSUB_TRUE
688 USE_PLUGIN_DVDLPCMDEC_FALSE
689 USE_PLUGIN_DVDLPCMDEC_TRUE
690 USE_PLUGIN_ASFDEMUX_FALSE
691 USE_PLUGIN_ASFDEMUX_TRUE
692 DEFAULT_VISUALIZER
693 DEFAULT_VIDEOSRC
694 DEFAULT_VIDEOSINK
695 DEFAULT_AUDIOSRC
696 DEFAULT_AUDIOSINK
697 GST_LEVEL_DEFAULT
698 ERROR_CXXFLAGS
699 WARNING_CXXFLAGS
700 ERROR_CFLAGS
701 WARNING_CFLAGS
702 plugindir
703 PLUGINDIR
704 GST_LICENSE
705 GSTPB_PREFIX
706 GST_PREFIX
707 GLIB_PREFIX
708 HAVE_GST_CHECK_FALSE
709 HAVE_GST_CHECK_TRUE
710 GSTPB_PLUGINS_DIR
711 GST_PLUGINS_BASE_DIR
712 GST_PLUGINS_BASE_LIBS
713 GST_PLUGINS_BASE_CFLAGS
714 GST_CHECK_LIBS
715 GST_CHECK_CFLAGS
716 GST_BASE_LIBS
717 GST_BASE_CFLAGS
718 GST_PLUGINS_DIR
719 GST_TOOLS_DIR
720 GST_LIBS
721 GST_CFLAGS
722 HAVE_ORCC_FALSE
723 HAVE_ORCC_TRUE
724 HAVE_ORC_FALSE
725 HAVE_ORC_TRUE
726 ORCC_FLAGS
727 ORCC
728 ORC_LIBS
729 ORC_CFLAGS
730 GLIB_EXTRA_CFLAGS
731 GLIB_LIBS
732 GLIB_CFLAGS
733 GLIB_REQ
734 LIBM
735 ENABLE_PLUGIN_DOCS_FALSE
736 ENABLE_PLUGIN_DOCS_TRUE
737 pkgpyexecdir
738 pyexecdir
739 pkgpythondir
740 pythondir
741 PYTHON_PLATFORM
742 PYTHON_EXEC_PREFIX
743 PYTHON_PREFIX
744 PYTHON_VERSION
745 PYTHON
746 GTK_DOC_USE_LIBTOOL_FALSE
747 GTK_DOC_USE_LIBTOOL_TRUE
748 ENABLE_GTK_DOC_FALSE
749 ENABLE_GTK_DOC_TRUE
750 GTKDOC_CHECK
751 HTML_DIR
752 HAVE_VALGRIND_FALSE
753 HAVE_VALGRIND_TRUE
754 VALGRIND_PATH
755 HAVE_CXX
756 CXXCPP
757 am__fastdepCXX_FALSE
758 am__fastdepCXX_TRUE
759 CXXDEPMODE
760 ac_ct_CXX
761 CXX
762 HAVE_CPU_CRISV32_FALSE
763 HAVE_CPU_CRISV32_TRUE
764 HAVE_CPU_CRIS_FALSE
765 HAVE_CPU_CRIS_TRUE
766 HAVE_CPU_X86_64_FALSE
767 HAVE_CPU_X86_64_TRUE
768 HAVE_CPU_M68K_FALSE
769 HAVE_CPU_M68K_TRUE
770 HAVE_CPU_IA64_FALSE
771 HAVE_CPU_IA64_TRUE
772 HAVE_CPU_S390_FALSE
773 HAVE_CPU_S390_TRUE
774 HAVE_CPU_MIPS_FALSE
775 HAVE_CPU_MIPS_TRUE
776 HAVE_CPU_HPPA_FALSE
777 HAVE_CPU_HPPA_TRUE
778 HAVE_CPU_SPARC_FALSE
779 HAVE_CPU_SPARC_TRUE
780 HAVE_CPU_ARM_FALSE
781 HAVE_CPU_ARM_TRUE
782 HAVE_CPU_ALPHA_FALSE
783 HAVE_CPU_ALPHA_TRUE
784 HAVE_CPU_PPC64_FALSE
785 HAVE_CPU_PPC64_TRUE
786 HAVE_CPU_PPC_FALSE
787 HAVE_CPU_PPC_TRUE
788 HAVE_CPU_I386_FALSE
789 HAVE_CPU_I386_TRUE
790 BUILD_EXPERIMENTAL_FALSE
791 BUILD_EXPERIMENTAL_TRUE
792 USE_EXPERIMENTAL_FALSE
793 USE_EXPERIMENTAL_TRUE
794 BUILD_EXTERNAL_FALSE
795 BUILD_EXTERNAL_TRUE
796 USE_EXTERNAL_FALSE
797 USE_EXTERNAL_TRUE
798 GST_PLUGINS_SELECTED
799 GST_PLUGINS_ALL
800 GST_PACKAGE_ORIGIN
801 GST_PACKAGE_NAME
802 BUILD_EXAMPLES_FALSE
803 BUILD_EXAMPLES_TRUE
804 GST_GCOV_ENABLED_FALSE
805 GST_GCOV_ENABLED_TRUE
806 CCASFLAGS
807 FFLAGS
808 CXXFLAGS
809 GCOV
810 GCOV_LIBS
811 GCOV_CFLAGS
812 VALGRIND_LIBS
813 VALGRIND_CFLAGS
814 PKG_CONFIG
815 LOCALEDIR
816 GETTEXT_PACKAGE
817 POSUB
818 LTLIBINTL
819 LIBINTL
820 INTLLIBS
821 LTLIBICONV
822 LIBICONV
823 INTL_MACOSX_LIBS
824 XGETTEXT_EXTRA_OPTIONS
825 MSGMERGE
826 XGETTEXT_015
827 XGETTEXT
828 GMSGFMT_015
829 MSGFMT_015
830 GMSGFMT
831 MSGFMT
832 GETTEXT_MACRO_VERSION
833 USE_NLS
834 ACLOCAL_AMFLAGS
835 CPP
836 OTOOL64
837 OTOOL
838 LIPO
839 NMEDIT
840 DSYMUTIL
841 MANIFEST_TOOL
842 RANLIB
843 ac_ct_AR
844 AR
845 LN_S
846 NM
847 ac_ct_DUMPBIN
848 DUMPBIN
849 LD
850 FGREP
851 EGREP
852 GREP
853 SED
854 am__fastdepCC_FALSE
855 am__fastdepCC_TRUE
856 CCDEPMODE
857 am__nodep
858 AMDEPBACKSLASH
859 AMDEP_FALSE
860 AMDEP_TRUE
861 am__quote
862 am__include
863 DEPDIR
864 OBJEXT
865 EXEEXT
866 ac_ct_CC
867 CPPFLAGS
868 LDFLAGS
869 CFLAGS
870 CC
871 LIBTOOL
872 OBJDUMP
873 DLLTOOL
874 AS
875 GST_MAJORMINOR
876 AM_BACKSLASH
877 AM_DEFAULT_VERBOSITY
878 AM_DEFAULT_V
879 AM_V
880 host_os
881 host_vendor
882 host_cpu
883 host
884 build_os
885 build_vendor
886 build_cpu
887 build
888 MAINT
889 MAINTAINER_MODE_FALSE
890 MAINTAINER_MODE_TRUE
891 PACKAGE_VERSION_RELEASE
892 PACKAGE_VERSION_NANO
893 PACKAGE_VERSION_MICRO
894 PACKAGE_VERSION_MINOR
895 PACKAGE_VERSION_MAJOR
896 am__untar
897 am__tar
898 AMTAR
899 am__leading_dot
900 SET_MAKE
901 AWK
902 mkdir_p
903 MKDIR_P
904 INSTALL_STRIP_PROGRAM
905 STRIP
906 install_sh
907 MAKEINFO
908 AUTOHEADER
909 AUTOMAKE
910 AUTOCONF
911 ACLOCAL
912 VERSION
913 PACKAGE
914 CYGPATH_W
915 am__isrc
916 INSTALL_DATA
917 INSTALL_SCRIPT
918 INSTALL_PROGRAM
919 target_alias
920 host_alias
921 build_alias
922 LIBS
923 ECHO_T
924 ECHO_N
925 ECHO_C
926 DEFS
927 mandir
928 localedir
929 libdir
930 psdir
931 pdfdir
932 dvidir
933 htmldir
934 infodir
935 docdir
936 oldincludedir
937 includedir
938 localstatedir
939 sharedstatedir
940 sysconfdir
941 datadir
942 datarootdir
943 libexecdir
944 sbindir
945 bindir
946 program_transform_name
947 prefix
948 exec_prefix
949 PACKAGE_URL
950 PACKAGE_BUGREPORT
951 PACKAGE_STRING
952 PACKAGE_VERSION
953 PACKAGE_TARNAME
954 PACKAGE_NAME
955 PATH_SEPARATOR
956 SHELL'
957 ac_subst_files=''
958 ac_user_opts='
959 enable_option_checking
960 enable_maintainer_mode
961 enable_silent_rules
962 enable_shared
963 enable_static
964 with_pic
965 enable_fast_install
966 enable_dependency_tracking
967 with_gnu_ld
968 with_sysroot
969 enable_libtool_lock
970 with_autoconf
971 with_autoheader
972 with_automake
973 with_aclocal
974 enable_nls
975 enable_rpath
976 with_libiconv_prefix
977 with_libintl_prefix
978 enable_debug
979 enable_profiling
980 enable_valgrind
981 enable_gcov
982 enable_examples
983 with_pkg_config_path
984 with_package_name
985 with_package_origin
986 with_plugins
987 enable_external
988 enable_experimental
989 with_html_dir
990 enable_gtk_doc
991 enable_gobject_cast_checks
992 enable_glib_asserts
993 enable_orc
994 with_default_audiosink
995 with_default_audiosrc
996 with_default_videosink
997 with_default_videosrc
998 with_default_visualizer
999 enable_asfdemux
1000 enable_dvdlpcmdec
1001 enable_dvdsub
1002 enable_iec958
1003 enable_mpegaudioparse
1004 enable_mpegstream
1005 enable_realmedia
1006 enable_synaesthesia
1007 enable_a52dec
1008 with_a52dec_prefix
1009 enable_amrnb
1010 enable_amrwb
1011 enable_cdio
1012 enable_dvdread
1013 enable_lame
1014 enable_mad
1015 enable_mpeg2dec
1016 enable_sidplay
1017 enable_twolame
1018 enable_x264
1019 '
1020       ac_precious_vars='build_alias
1021 host_alias
1022 target_alias
1023 CC
1024 CFLAGS
1025 LDFLAGS
1026 LIBS
1027 CPPFLAGS
1028 CPP
1029 PKG_CONFIG
1030 VALGRIND_CFLAGS
1031 VALGRIND_LIBS
1032 CXX
1033 CXXFLAGS
1034 CCC
1035 CXXCPP
1036 GLIB_CFLAGS
1037 GLIB_LIBS
1038 ORC_CFLAGS
1039 ORC_LIBS
1040 GST_CFLAGS
1041 GST_LIBS
1042 GST_BASE_CFLAGS
1043 GST_BASE_LIBS
1044 GST_CHECK_CFLAGS
1045 GST_CHECK_LIBS
1046 GST_PLUGINS_BASE_CFLAGS
1047 GST_PLUGINS_BASE_LIBS
1048 AMRNB_CFLAGS
1049 AMRNB_LIBS
1050 AMRWB_CFLAGS
1051 AMRWB_LIBS
1052 CDIO_CFLAGS
1053 CDIO_LIBS
1054 MAD_CFLAGS
1055 MAD_LIBS
1056 MPEG2DEC_CFLAGS
1057 MPEG2DEC_LIBS
1058 TWOLAME_CFLAGS
1059 TWOLAME_LIBS
1060 X264_CFLAGS
1061 X264_LIBS'
1062
1063
1064 # Initialize some variables set by options.
1065 ac_init_help=
1066 ac_init_version=false
1067 ac_unrecognized_opts=
1068 ac_unrecognized_sep=
1069 # The variables have the same names as the options, with
1070 # dashes changed to underlines.
1071 cache_file=/dev/null
1072 exec_prefix=NONE
1073 no_create=
1074 no_recursion=
1075 prefix=NONE
1076 program_prefix=NONE
1077 program_suffix=NONE
1078 program_transform_name=s,x,x,
1079 silent=
1080 site=
1081 srcdir=
1082 verbose=
1083 x_includes=NONE
1084 x_libraries=NONE
1085
1086 # Installation directory options.
1087 # These are left unexpanded so users can "make install exec_prefix=/foo"
1088 # and all the variables that are supposed to be based on exec_prefix
1089 # by default will actually change.
1090 # Use braces instead of parens because sh, perl, etc. also accept them.
1091 # (The list follows the same order as the GNU Coding Standards.)
1092 bindir='${exec_prefix}/bin'
1093 sbindir='${exec_prefix}/sbin'
1094 libexecdir='${exec_prefix}/libexec'
1095 datarootdir='${prefix}/share'
1096 datadir='${datarootdir}'
1097 sysconfdir='${prefix}/etc'
1098 sharedstatedir='${prefix}/com'
1099 localstatedir='${prefix}/var'
1100 includedir='${prefix}/include'
1101 oldincludedir='/usr/include'
1102 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1103 infodir='${datarootdir}/info'
1104 htmldir='${docdir}'
1105 dvidir='${docdir}'
1106 pdfdir='${docdir}'
1107 psdir='${docdir}'
1108 libdir='${exec_prefix}/lib'
1109 localedir='${datarootdir}/locale'
1110 mandir='${datarootdir}/man'
1111
1112 ac_prev=
1113 ac_dashdash=
1114 for ac_option
1115 do
1116   # If the previous option needs an argument, assign it.
1117   if test -n "$ac_prev"; then
1118     eval $ac_prev=\$ac_option
1119     ac_prev=
1120     continue
1121   fi
1122
1123   case $ac_option in
1124   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1125   *=)   ac_optarg= ;;
1126   *)    ac_optarg=yes ;;
1127   esac
1128
1129   # Accept the important Cygnus configure options, so we can diagnose typos.
1130
1131   case $ac_dashdash$ac_option in
1132   --)
1133     ac_dashdash=yes ;;
1134
1135   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1136     ac_prev=bindir ;;
1137   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1138     bindir=$ac_optarg ;;
1139
1140   -build | --build | --buil | --bui | --bu)
1141     ac_prev=build_alias ;;
1142   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1143     build_alias=$ac_optarg ;;
1144
1145   -cache-file | --cache-file | --cache-fil | --cache-fi \
1146   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1147     ac_prev=cache_file ;;
1148   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1149   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1150     cache_file=$ac_optarg ;;
1151
1152   --config-cache | -C)
1153     cache_file=config.cache ;;
1154
1155   -datadir | --datadir | --datadi | --datad)
1156     ac_prev=datadir ;;
1157   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1158     datadir=$ac_optarg ;;
1159
1160   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1161   | --dataroo | --dataro | --datar)
1162     ac_prev=datarootdir ;;
1163   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1164   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1165     datarootdir=$ac_optarg ;;
1166
1167   -disable-* | --disable-*)
1168     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1169     # Reject names that are not valid shell variable names.
1170     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1171       as_fn_error $? "invalid feature name: $ac_useropt"
1172     ac_useropt_orig=$ac_useropt
1173     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174     case $ac_user_opts in
1175       *"
1176 "enable_$ac_useropt"
1177 "*) ;;
1178       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1179          ac_unrecognized_sep=', ';;
1180     esac
1181     eval enable_$ac_useropt=no ;;
1182
1183   -docdir | --docdir | --docdi | --doc | --do)
1184     ac_prev=docdir ;;
1185   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1186     docdir=$ac_optarg ;;
1187
1188   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1189     ac_prev=dvidir ;;
1190   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1191     dvidir=$ac_optarg ;;
1192
1193   -enable-* | --enable-*)
1194     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1195     # Reject names that are not valid shell variable names.
1196     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197       as_fn_error $? "invalid feature name: $ac_useropt"
1198     ac_useropt_orig=$ac_useropt
1199     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200     case $ac_user_opts in
1201       *"
1202 "enable_$ac_useropt"
1203 "*) ;;
1204       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1205          ac_unrecognized_sep=', ';;
1206     esac
1207     eval enable_$ac_useropt=\$ac_optarg ;;
1208
1209   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1210   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1211   | --exec | --exe | --ex)
1212     ac_prev=exec_prefix ;;
1213   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1214   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1215   | --exec=* | --exe=* | --ex=*)
1216     exec_prefix=$ac_optarg ;;
1217
1218   -gas | --gas | --ga | --g)
1219     # Obsolete; use --with-gas.
1220     with_gas=yes ;;
1221
1222   -help | --help | --hel | --he | -h)
1223     ac_init_help=long ;;
1224   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1225     ac_init_help=recursive ;;
1226   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1227     ac_init_help=short ;;
1228
1229   -host | --host | --hos | --ho)
1230     ac_prev=host_alias ;;
1231   -host=* | --host=* | --hos=* | --ho=*)
1232     host_alias=$ac_optarg ;;
1233
1234   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1235     ac_prev=htmldir ;;
1236   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1237   | --ht=*)
1238     htmldir=$ac_optarg ;;
1239
1240   -includedir | --includedir | --includedi | --included | --include \
1241   | --includ | --inclu | --incl | --inc)
1242     ac_prev=includedir ;;
1243   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1244   | --includ=* | --inclu=* | --incl=* | --inc=*)
1245     includedir=$ac_optarg ;;
1246
1247   -infodir | --infodir | --infodi | --infod | --info | --inf)
1248     ac_prev=infodir ;;
1249   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1250     infodir=$ac_optarg ;;
1251
1252   -libdir | --libdir | --libdi | --libd)
1253     ac_prev=libdir ;;
1254   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1255     libdir=$ac_optarg ;;
1256
1257   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1258   | --libexe | --libex | --libe)
1259     ac_prev=libexecdir ;;
1260   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1261   | --libexe=* | --libex=* | --libe=*)
1262     libexecdir=$ac_optarg ;;
1263
1264   -localedir | --localedir | --localedi | --localed | --locale)
1265     ac_prev=localedir ;;
1266   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1267     localedir=$ac_optarg ;;
1268
1269   -localstatedir | --localstatedir | --localstatedi | --localstated \
1270   | --localstate | --localstat | --localsta | --localst | --locals)
1271     ac_prev=localstatedir ;;
1272   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1273   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1274     localstatedir=$ac_optarg ;;
1275
1276   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1277     ac_prev=mandir ;;
1278   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1279     mandir=$ac_optarg ;;
1280
1281   -nfp | --nfp | --nf)
1282     # Obsolete; use --without-fp.
1283     with_fp=no ;;
1284
1285   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1286   | --no-cr | --no-c | -n)
1287     no_create=yes ;;
1288
1289   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1290   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1291     no_recursion=yes ;;
1292
1293   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1294   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1295   | --oldin | --oldi | --old | --ol | --o)
1296     ac_prev=oldincludedir ;;
1297   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1298   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1299   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1300     oldincludedir=$ac_optarg ;;
1301
1302   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1303     ac_prev=prefix ;;
1304   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1305     prefix=$ac_optarg ;;
1306
1307   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1308   | --program-pre | --program-pr | --program-p)
1309     ac_prev=program_prefix ;;
1310   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1311   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1312     program_prefix=$ac_optarg ;;
1313
1314   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1315   | --program-suf | --program-su | --program-s)
1316     ac_prev=program_suffix ;;
1317   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1318   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1319     program_suffix=$ac_optarg ;;
1320
1321   -program-transform-name | --program-transform-name \
1322   | --program-transform-nam | --program-transform-na \
1323   | --program-transform-n | --program-transform- \
1324   | --program-transform | --program-transfor \
1325   | --program-transfo | --program-transf \
1326   | --program-trans | --program-tran \
1327   | --progr-tra | --program-tr | --program-t)
1328     ac_prev=program_transform_name ;;
1329   -program-transform-name=* | --program-transform-name=* \
1330   | --program-transform-nam=* | --program-transform-na=* \
1331   | --program-transform-n=* | --program-transform-=* \
1332   | --program-transform=* | --program-transfor=* \
1333   | --program-transfo=* | --program-transf=* \
1334   | --program-trans=* | --program-tran=* \
1335   | --progr-tra=* | --program-tr=* | --program-t=*)
1336     program_transform_name=$ac_optarg ;;
1337
1338   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1339     ac_prev=pdfdir ;;
1340   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1341     pdfdir=$ac_optarg ;;
1342
1343   -psdir | --psdir | --psdi | --psd | --ps)
1344     ac_prev=psdir ;;
1345   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1346     psdir=$ac_optarg ;;
1347
1348   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1349   | -silent | --silent | --silen | --sile | --sil)
1350     silent=yes ;;
1351
1352   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1353     ac_prev=sbindir ;;
1354   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1355   | --sbi=* | --sb=*)
1356     sbindir=$ac_optarg ;;
1357
1358   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1359   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1360   | --sharedst | --shareds | --shared | --share | --shar \
1361   | --sha | --sh)
1362     ac_prev=sharedstatedir ;;
1363   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1364   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1365   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1366   | --sha=* | --sh=*)
1367     sharedstatedir=$ac_optarg ;;
1368
1369   -site | --site | --sit)
1370     ac_prev=site ;;
1371   -site=* | --site=* | --sit=*)
1372     site=$ac_optarg ;;
1373
1374   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1375     ac_prev=srcdir ;;
1376   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1377     srcdir=$ac_optarg ;;
1378
1379   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1380   | --syscon | --sysco | --sysc | --sys | --sy)
1381     ac_prev=sysconfdir ;;
1382   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1383   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1384     sysconfdir=$ac_optarg ;;
1385
1386   -target | --target | --targe | --targ | --tar | --ta | --t)
1387     ac_prev=target_alias ;;
1388   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1389     target_alias=$ac_optarg ;;
1390
1391   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1392     verbose=yes ;;
1393
1394   -version | --version | --versio | --versi | --vers | -V)
1395     ac_init_version=: ;;
1396
1397   -with-* | --with-*)
1398     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1399     # Reject names that are not valid shell variable names.
1400     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1401       as_fn_error $? "invalid package name: $ac_useropt"
1402     ac_useropt_orig=$ac_useropt
1403     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1404     case $ac_user_opts in
1405       *"
1406 "with_$ac_useropt"
1407 "*) ;;
1408       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1409          ac_unrecognized_sep=', ';;
1410     esac
1411     eval with_$ac_useropt=\$ac_optarg ;;
1412
1413   -without-* | --without-*)
1414     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1415     # Reject names that are not valid shell variable names.
1416     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1417       as_fn_error $? "invalid package name: $ac_useropt"
1418     ac_useropt_orig=$ac_useropt
1419     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1420     case $ac_user_opts in
1421       *"
1422 "with_$ac_useropt"
1423 "*) ;;
1424       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1425          ac_unrecognized_sep=', ';;
1426     esac
1427     eval with_$ac_useropt=no ;;
1428
1429   --x)
1430     # Obsolete; use --with-x.
1431     with_x=yes ;;
1432
1433   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1434   | --x-incl | --x-inc | --x-in | --x-i)
1435     ac_prev=x_includes ;;
1436   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1437   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1438     x_includes=$ac_optarg ;;
1439
1440   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1441   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1442     ac_prev=x_libraries ;;
1443   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1444   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1445     x_libraries=$ac_optarg ;;
1446
1447   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1448 Try \`$0 --help' for more information"
1449     ;;
1450
1451   *=*)
1452     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1453     # Reject names that are not valid shell variable names.
1454     case $ac_envvar in #(
1455       '' | [0-9]* | *[!_$as_cr_alnum]* )
1456       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1457     esac
1458     eval $ac_envvar=\$ac_optarg
1459     export $ac_envvar ;;
1460
1461   *)
1462     # FIXME: should be removed in autoconf 3.0.
1463     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1464     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1465       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1466     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1467     ;;
1468
1469   esac
1470 done
1471
1472 if test -n "$ac_prev"; then
1473   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1474   as_fn_error $? "missing argument to $ac_option"
1475 fi
1476
1477 if test -n "$ac_unrecognized_opts"; then
1478   case $enable_option_checking in
1479     no) ;;
1480     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1481     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1482   esac
1483 fi
1484
1485 # Check all directory arguments for consistency.
1486 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1487                 datadir sysconfdir sharedstatedir localstatedir includedir \
1488                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1489                 libdir localedir mandir
1490 do
1491   eval ac_val=\$$ac_var
1492   # Remove trailing slashes.
1493   case $ac_val in
1494     */ )
1495       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1496       eval $ac_var=\$ac_val;;
1497   esac
1498   # Be sure to have absolute directory names.
1499   case $ac_val in
1500     [\\/$]* | ?:[\\/]* )  continue;;
1501     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1502   esac
1503   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1504 done
1505
1506 # There might be people who depend on the old broken behavior: `$host'
1507 # used to hold the argument of --host etc.
1508 # FIXME: To remove some day.
1509 build=$build_alias
1510 host=$host_alias
1511 target=$target_alias
1512
1513 # FIXME: To remove some day.
1514 if test "x$host_alias" != x; then
1515   if test "x$build_alias" = x; then
1516     cross_compiling=maybe
1517     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1518     If a cross compiler is detected then cross compile mode will be used" >&2
1519   elif test "x$build_alias" != "x$host_alias"; then
1520     cross_compiling=yes
1521   fi
1522 fi
1523
1524 ac_tool_prefix=
1525 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1526
1527 test "$silent" = yes && exec 6>/dev/null
1528
1529
1530 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1531 ac_ls_di=`ls -di .` &&
1532 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1533   as_fn_error $? "working directory cannot be determined"
1534 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1535   as_fn_error $? "pwd does not report name of working directory"
1536
1537
1538 # Find the source files, if location was not specified.
1539 if test -z "$srcdir"; then
1540   ac_srcdir_defaulted=yes
1541   # Try the directory containing this script, then the parent directory.
1542   ac_confdir=`$as_dirname -- "$as_myself" ||
1543 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1544          X"$as_myself" : 'X\(//\)[^/]' \| \
1545          X"$as_myself" : 'X\(//\)$' \| \
1546          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1547 $as_echo X"$as_myself" |
1548     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1549             s//\1/
1550             q
1551           }
1552           /^X\(\/\/\)[^/].*/{
1553             s//\1/
1554             q
1555           }
1556           /^X\(\/\/\)$/{
1557             s//\1/
1558             q
1559           }
1560           /^X\(\/\).*/{
1561             s//\1/
1562             q
1563           }
1564           s/.*/./; q'`
1565   srcdir=$ac_confdir
1566   if test ! -r "$srcdir/$ac_unique_file"; then
1567     srcdir=..
1568   fi
1569 else
1570   ac_srcdir_defaulted=no
1571 fi
1572 if test ! -r "$srcdir/$ac_unique_file"; then
1573   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1574   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1575 fi
1576 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1577 ac_abs_confdir=`(
1578         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1579         pwd)`
1580 # When building in place, set srcdir=.
1581 if test "$ac_abs_confdir" = "$ac_pwd"; then
1582   srcdir=.
1583 fi
1584 # Remove unnecessary trailing slashes from srcdir.
1585 # Double slashes in file names in object file debugging info
1586 # mess up M-x gdb in Emacs.
1587 case $srcdir in
1588 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1589 esac
1590 for ac_var in $ac_precious_vars; do
1591   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1592   eval ac_env_${ac_var}_value=\$${ac_var}
1593   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1594   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1595 done
1596
1597 #
1598 # Report the --help message.
1599 #
1600 if test "$ac_init_help" = "long"; then
1601   # Omit some internal or obsolete options to make the list less imposing.
1602   # This message is too long to be a string in the A/UX 3.1 sh.
1603   cat <<_ACEOF
1604 \`configure' configures GStreamer Ugly Plug-ins 0.10.19 to adapt to many kinds of systems.
1605
1606 Usage: $0 [OPTION]... [VAR=VALUE]...
1607
1608 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1609 VAR=VALUE.  See below for descriptions of some of the useful variables.
1610
1611 Defaults for the options are specified in brackets.
1612
1613 Configuration:
1614   -h, --help              display this help and exit
1615       --help=short        display options specific to this package
1616       --help=recursive    display the short help of all the included packages
1617   -V, --version           display version information and exit
1618   -q, --quiet, --silent   do not print \`checking ...' messages
1619       --cache-file=FILE   cache test results in FILE [disabled]
1620   -C, --config-cache      alias for \`--cache-file=config.cache'
1621   -n, --no-create         do not create output files
1622       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1623
1624 Installation directories:
1625   --prefix=PREFIX         install architecture-independent files in PREFIX
1626                           [$ac_default_prefix]
1627   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1628                           [PREFIX]
1629
1630 By default, \`make install' will install all the files in
1631 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1632 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1633 for instance \`--prefix=\$HOME'.
1634
1635 For better control, use the options below.
1636
1637 Fine tuning of the installation directories:
1638   --bindir=DIR            user executables [EPREFIX/bin]
1639   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1640   --libexecdir=DIR        program executables [EPREFIX/libexec]
1641   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1642   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1643   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1644   --libdir=DIR            object code libraries [EPREFIX/lib]
1645   --includedir=DIR        C header files [PREFIX/include]
1646   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1647   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1648   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1649   --infodir=DIR           info documentation [DATAROOTDIR/info]
1650   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1651   --mandir=DIR            man documentation [DATAROOTDIR/man]
1652   --docdir=DIR            documentation root
1653                           [DATAROOTDIR/doc/gst-plugins-ugly]
1654   --htmldir=DIR           html documentation [DOCDIR]
1655   --dvidir=DIR            dvi documentation [DOCDIR]
1656   --pdfdir=DIR            pdf documentation [DOCDIR]
1657   --psdir=DIR             ps documentation [DOCDIR]
1658 _ACEOF
1659
1660   cat <<\_ACEOF
1661
1662 Program names:
1663   --program-prefix=PREFIX            prepend PREFIX to installed program names
1664   --program-suffix=SUFFIX            append SUFFIX to installed program names
1665   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1666
1667 System types:
1668   --build=BUILD     configure for building on BUILD [guessed]
1669   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1670 _ACEOF
1671 fi
1672
1673 if test -n "$ac_init_help"; then
1674   case $ac_init_help in
1675      short | recursive ) echo "Configuration of GStreamer Ugly Plug-ins 0.10.19:";;
1676    esac
1677   cat <<\_ACEOF
1678
1679 Optional Features:
1680   --disable-option-checking  ignore unrecognized --enable/--with options
1681   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1682   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1683   --enable-maintainer-mode  enable make rules and dependencies not useful
1684                           (and sometimes confusing) to the casual installer
1685   --enable-silent-rules          less verbose build output (undo: `make V=1')
1686   --disable-silent-rules         verbose build output (undo: `make V=0')
1687   --enable-shared[=PKGS]  build shared libraries [default=yes]
1688   --enable-static[=PKGS]  build static libraries [default=yes]
1689   --enable-fast-install[=PKGS]
1690                           optimize for fast installation [default=yes]
1691   --disable-dependency-tracking  speeds up one-time build
1692   --enable-dependency-tracking   do not reject slow dependency extractors
1693   --disable-libtool-lock  avoid locking (might break parallel builds)
1694   --disable-nls           do not use Native Language Support
1695   --disable-rpath         do not hardcode runtime library paths
1696   --disable-debug         disable addition of -g debugging info
1697   --enable-profiling      adds -pg to compiler commandline, for profiling
1698   --disable-valgrind      disable run-time valgrind detection
1699   --enable-gcov           compile with coverage profiling instrumentation (gcc
1700                           only)
1701   --disable-examples      disable building examples
1702   --disable-external           disable building of plug-ins with external deps
1703   --enable-experimental        enable building of experimental plug-ins
1704   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1705   --enable-gobject-cast-checks=[no/auto/yes]
1706                           Enable GObject cast checks
1707   --enable-glib-asserts=[no/auto/yes]
1708                           Enable GLib assertion
1709   --enable-orc            use Orc if installed
1710   --disable-asfdemux      disable dependency-less asfdemux plugin
1711   --disable-dvdlpcmdec    disable dependency-less dvdlpcmdec plugin
1712   --disable-dvdsub        disable dependency-less dvdsub plugin
1713   --disable-iec958        disable dependency-less iec958 plugin
1714   --disable-mpegaudioparse
1715                           disable dependency-less mpegaudioparse plugin
1716   --disable-mpegstream    disable dependency-less mpegstream plugin
1717   --disable-realmedia     disable dependency-less realmedia plugin
1718   --disable-synaesthesia  disable dependency-less synaesthesia plugin
1719   --disable-a52dec             disable a52dec: a52dec
1720   --disable-amrnb              disable amrnb library: amrnb
1721   --disable-amrwb              disable amrwb library: amrwbdec
1722   --disable-cdio               disable cdio library: cdio
1723   --disable-dvdread            disable dvdread library: dvdreadsrc
1724   --disable-lame               disable lame mp3 encoder library: lame
1725   --disable-mad                disable mad mp3 decoder: mad
1726   --disable-mpeg2dec           disable mpeg2dec: mpeg2dec
1727   --disable-sidplay            disable libsidplay: sid
1728   --disable-twolame            disable twolame: twolame
1729   --disable-x264               disable x264 plug-in: x264
1730
1731 Optional Packages:
1732   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1733   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1734   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1735                           both]
1736   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1737   --with-sysroot=DIR Search for dependent libraries within DIR
1738                         (or the compiler's sysroot if not specified).
1739   --with-autoconf         use a different autoconf for regeneration of
1740                           Makefiles
1741   --with-autoheader       use a different autoheader for regeneration of
1742                           Makefiles
1743   --with-automake         use a different automake for regeneration of
1744                           Makefiles
1745   --with-aclocal          use a different aclocal for regeneration of
1746                           Makefiles
1747   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1748   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1749   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1750   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1751   --without-libintl-prefix     don't search for libintl in includedir and libdir
1752   --with-pkg-config-path  colon-separated list of pkg-config(1) dirs
1753   --with-package-name     specify package name to use in plugins
1754   --with-package-origin   specify package origin URL to use in plugins
1755   --with-plugins          comma-separated list of dependencyless plug-ins to
1756                           compile
1757   --with-html-dir=PATH    path to installed docs
1758   --with-default-audiosink
1759                           specify default audio sink
1760   --with-default-audiosrc specify default audio source
1761   --with-default-videosink
1762                           specify default video sink
1763   --with-default-videosrc specify default video source
1764   --with-default-visualizer
1765                           specify default visualizer
1766   --with-a52dec-prefix=PFX
1767                           prefix where a52dec is installed (optional)
1768
1769 Some influential environment variables:
1770   CC          C compiler command
1771   CFLAGS      C compiler flags
1772   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1773               nonstandard directory <lib dir>
1774   LIBS        libraries to pass to the linker, e.g. -l<library>
1775   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1776               you have headers in a nonstandard directory <include dir>
1777   CPP         C preprocessor
1778   PKG_CONFIG  path to pkg-config utility
1779   VALGRIND_CFLAGS
1780               C compiler flags for VALGRIND, overriding pkg-config
1781   VALGRIND_LIBS
1782               linker flags for VALGRIND, overriding pkg-config
1783   CXX         C++ compiler command
1784   CXXFLAGS    C++ compiler flags
1785   CXXCPP      C++ preprocessor
1786   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1787   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1788   ORC_CFLAGS  C compiler flags for ORC, overriding pkg-config
1789   ORC_LIBS    linker flags for ORC, overriding pkg-config
1790   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
1791   GST_LIBS    linker flags for GST, overriding pkg-config
1792   GST_BASE_CFLAGS
1793               C compiler flags for GST_BASE, overriding pkg-config
1794   GST_BASE_LIBS
1795               linker flags for GST_BASE, overriding pkg-config
1796   GST_CHECK_CFLAGS
1797               C compiler flags for GST_CHECK, overriding pkg-config
1798   GST_CHECK_LIBS
1799               linker flags for GST_CHECK, overriding pkg-config
1800   GST_PLUGINS_BASE_CFLAGS
1801               C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
1802   GST_PLUGINS_BASE_LIBS
1803               linker flags for GST_PLUGINS_BASE, overriding pkg-config
1804   AMRNB_CFLAGS
1805               C compiler flags for AMRNB, overriding pkg-config
1806   AMRNB_LIBS  linker flags for AMRNB, overriding pkg-config
1807   AMRWB_CFLAGS
1808               C compiler flags for AMRWB, overriding pkg-config
1809   AMRWB_LIBS  linker flags for AMRWB, overriding pkg-config
1810   CDIO_CFLAGS C compiler flags for CDIO, overriding pkg-config
1811   CDIO_LIBS   linker flags for CDIO, overriding pkg-config
1812   MAD_CFLAGS  C compiler flags for MAD, overriding pkg-config
1813   MAD_LIBS    linker flags for MAD, overriding pkg-config
1814   MPEG2DEC_CFLAGS
1815               C compiler flags for MPEG2DEC, overriding pkg-config
1816   MPEG2DEC_LIBS
1817               linker flags for MPEG2DEC, overriding pkg-config
1818   TWOLAME_CFLAGS
1819               C compiler flags for TWOLAME, overriding pkg-config
1820   TWOLAME_LIBS
1821               linker flags for TWOLAME, overriding pkg-config
1822   X264_CFLAGS C compiler flags for X264, overriding pkg-config
1823   X264_LIBS   linker flags for X264, overriding pkg-config
1824
1825 Use these variables to override the choices made by `configure' or to help
1826 it to find libraries and programs with nonstandard names/locations.
1827
1828 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
1829 _ACEOF
1830 ac_status=$?
1831 fi
1832
1833 if test "$ac_init_help" = "recursive"; then
1834   # If there are subdirs, report their specific --help.
1835   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1836     test -d "$ac_dir" ||
1837       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1838       continue
1839     ac_builddir=.
1840
1841 case "$ac_dir" in
1842 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1843 *)
1844   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1845   # A ".." for each directory in $ac_dir_suffix.
1846   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1847   case $ac_top_builddir_sub in
1848   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1849   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1850   esac ;;
1851 esac
1852 ac_abs_top_builddir=$ac_pwd
1853 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1854 # for backward compatibility:
1855 ac_top_builddir=$ac_top_build_prefix
1856
1857 case $srcdir in
1858   .)  # We are building in place.
1859     ac_srcdir=.
1860     ac_top_srcdir=$ac_top_builddir_sub
1861     ac_abs_top_srcdir=$ac_pwd ;;
1862   [\\/]* | ?:[\\/]* )  # Absolute name.
1863     ac_srcdir=$srcdir$ac_dir_suffix;
1864     ac_top_srcdir=$srcdir
1865     ac_abs_top_srcdir=$srcdir ;;
1866   *) # Relative name.
1867     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1868     ac_top_srcdir=$ac_top_build_prefix$srcdir
1869     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1870 esac
1871 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1872
1873     cd "$ac_dir" || { ac_status=$?; continue; }
1874     # Check for guested configure.
1875     if test -f "$ac_srcdir/configure.gnu"; then
1876       echo &&
1877       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1878     elif test -f "$ac_srcdir/configure"; then
1879       echo &&
1880       $SHELL "$ac_srcdir/configure" --help=recursive
1881     else
1882       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1883     fi || ac_status=$?
1884     cd "$ac_pwd" || { ac_status=$?; break; }
1885   done
1886 fi
1887
1888 test -n "$ac_init_help" && exit $ac_status
1889 if $ac_init_version; then
1890   cat <<\_ACEOF
1891 GStreamer Ugly Plug-ins configure 0.10.19
1892 generated by GNU Autoconf 2.68
1893
1894 Copyright (C) 2010 Free Software Foundation, Inc.
1895 This configure script is free software; the Free Software Foundation
1896 gives unlimited permission to copy, distribute and modify it.
1897 _ACEOF
1898   exit
1899 fi
1900
1901 ## ------------------------ ##
1902 ## Autoconf initialization. ##
1903 ## ------------------------ ##
1904
1905 # ac_fn_c_try_compile LINENO
1906 # --------------------------
1907 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1908 ac_fn_c_try_compile ()
1909 {
1910   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911   rm -f conftest.$ac_objext
1912   if { { ac_try="$ac_compile"
1913 case "(($ac_try" in
1914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1915   *) ac_try_echo=$ac_try;;
1916 esac
1917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1918 $as_echo "$ac_try_echo"; } >&5
1919   (eval "$ac_compile") 2>conftest.err
1920   ac_status=$?
1921   if test -s conftest.err; then
1922     grep -v '^ *+' conftest.err >conftest.er1
1923     cat conftest.er1 >&5
1924     mv -f conftest.er1 conftest.err
1925   fi
1926   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1927   test $ac_status = 0; } && {
1928          test -z "$ac_c_werror_flag" ||
1929          test ! -s conftest.err
1930        } && test -s conftest.$ac_objext; then :
1931   ac_retval=0
1932 else
1933   $as_echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1935
1936         ac_retval=1
1937 fi
1938   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939   as_fn_set_status $ac_retval
1940
1941 } # ac_fn_c_try_compile
1942
1943 # ac_fn_c_try_link LINENO
1944 # -----------------------
1945 # Try to link conftest.$ac_ext, and return whether this succeeded.
1946 ac_fn_c_try_link ()
1947 {
1948   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949   rm -f conftest.$ac_objext conftest$ac_exeext
1950   if { { ac_try="$ac_link"
1951 case "(($ac_try" in
1952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1953   *) ac_try_echo=$ac_try;;
1954 esac
1955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957   (eval "$ac_link") 2>conftest.err
1958   ac_status=$?
1959   if test -s conftest.err; then
1960     grep -v '^ *+' conftest.err >conftest.er1
1961     cat conftest.er1 >&5
1962     mv -f conftest.er1 conftest.err
1963   fi
1964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1965   test $ac_status = 0; } && {
1966          test -z "$ac_c_werror_flag" ||
1967          test ! -s conftest.err
1968        } && test -s conftest$ac_exeext && {
1969          test "$cross_compiling" = yes ||
1970          $as_test_x conftest$ac_exeext
1971        }; then :
1972   ac_retval=0
1973 else
1974   $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1976
1977         ac_retval=1
1978 fi
1979   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1980   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1981   # interfere with the next link command; also delete a directory that is
1982   # left behind by Apple's compiler.  We do this before executing the actions.
1983   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1984   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1985   as_fn_set_status $ac_retval
1986
1987 } # ac_fn_c_try_link
1988
1989 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1990 # -------------------------------------------------------
1991 # Tests whether HEADER exists and can be compiled using the include files in
1992 # INCLUDES, setting the cache variable VAR accordingly.
1993 ac_fn_c_check_header_compile ()
1994 {
1995   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1997 $as_echo_n "checking for $2... " >&6; }
1998 if eval \${$3+:} false; then :
1999   $as_echo_n "(cached) " >&6
2000 else
2001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h.  */
2003 $4
2004 #include <$2>
2005 _ACEOF
2006 if ac_fn_c_try_compile "$LINENO"; then :
2007   eval "$3=yes"
2008 else
2009   eval "$3=no"
2010 fi
2011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2012 fi
2013 eval ac_res=\$$3
2014                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2015 $as_echo "$ac_res" >&6; }
2016   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2017
2018 } # ac_fn_c_check_header_compile
2019
2020 # ac_fn_c_try_cpp LINENO
2021 # ----------------------
2022 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2023 ac_fn_c_try_cpp ()
2024 {
2025   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026   if { { ac_try="$ac_cpp conftest.$ac_ext"
2027 case "(($ac_try" in
2028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2029   *) ac_try_echo=$ac_try;;
2030 esac
2031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2032 $as_echo "$ac_try_echo"; } >&5
2033   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2034   ac_status=$?
2035   if test -s conftest.err; then
2036     grep -v '^ *+' conftest.err >conftest.er1
2037     cat conftest.er1 >&5
2038     mv -f conftest.er1 conftest.err
2039   fi
2040   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2041   test $ac_status = 0; } > conftest.i && {
2042          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2043          test ! -s conftest.err
2044        }; then :
2045   ac_retval=0
2046 else
2047   $as_echo "$as_me: failed program was:" >&5
2048 sed 's/^/| /' conftest.$ac_ext >&5
2049
2050     ac_retval=1
2051 fi
2052   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2053   as_fn_set_status $ac_retval
2054
2055 } # ac_fn_c_try_cpp
2056
2057 # ac_fn_c_try_run LINENO
2058 # ----------------------
2059 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2060 # that executables *can* be run.
2061 ac_fn_c_try_run ()
2062 {
2063   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2064   if { { ac_try="$ac_link"
2065 case "(($ac_try" in
2066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2067   *) ac_try_echo=$ac_try;;
2068 esac
2069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2070 $as_echo "$ac_try_echo"; } >&5
2071   (eval "$ac_link") 2>&5
2072   ac_status=$?
2073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2074   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2075   { { case "(($ac_try" in
2076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2077   *) ac_try_echo=$ac_try;;
2078 esac
2079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2080 $as_echo "$ac_try_echo"; } >&5
2081   (eval "$ac_try") 2>&5
2082   ac_status=$?
2083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2084   test $ac_status = 0; }; }; then :
2085   ac_retval=0
2086 else
2087   $as_echo "$as_me: program exited with status $ac_status" >&5
2088        $as_echo "$as_me: failed program was:" >&5
2089 sed 's/^/| /' conftest.$ac_ext >&5
2090
2091        ac_retval=$ac_status
2092 fi
2093   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2094   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2095   as_fn_set_status $ac_retval
2096
2097 } # ac_fn_c_try_run
2098
2099 # ac_fn_c_check_func LINENO FUNC VAR
2100 # ----------------------------------
2101 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2102 ac_fn_c_check_func ()
2103 {
2104   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2106 $as_echo_n "checking for $2... " >&6; }
2107 if eval \${$3+:} false; then :
2108   $as_echo_n "(cached) " >&6
2109 else
2110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2111 /* end confdefs.h.  */
2112 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2114 #define $2 innocuous_$2
2115
2116 /* System header to define __stub macros and hopefully few prototypes,
2117     which can conflict with char $2 (); below.
2118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2119     <limits.h> exists even on freestanding compilers.  */
2120
2121 #ifdef __STDC__
2122 # include <limits.h>
2123 #else
2124 # include <assert.h>
2125 #endif
2126
2127 #undef $2
2128
2129 /* Override any GCC internal prototype to avoid an error.
2130    Use char because int might match the return type of a GCC
2131    builtin and then its argument prototype would still apply.  */
2132 #ifdef __cplusplus
2133 extern "C"
2134 #endif
2135 char $2 ();
2136 /* The GNU C library defines this for functions which it implements
2137     to always fail with ENOSYS.  Some functions are actually named
2138     something starting with __ and the normal name is an alias.  */
2139 #if defined __stub_$2 || defined __stub___$2
2140 choke me
2141 #endif
2142
2143 int
2144 main ()
2145 {
2146 return $2 ();
2147   ;
2148   return 0;
2149 }
2150 _ACEOF
2151 if ac_fn_c_try_link "$LINENO"; then :
2152   eval "$3=yes"
2153 else
2154   eval "$3=no"
2155 fi
2156 rm -f core conftest.err conftest.$ac_objext \
2157     conftest$ac_exeext conftest.$ac_ext
2158 fi
2159 eval ac_res=\$$3
2160                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161 $as_echo "$ac_res" >&6; }
2162   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2163
2164 } # ac_fn_c_check_func
2165
2166 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2167 # ---------------------------------------------
2168 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2169 # accordingly.
2170 ac_fn_c_check_decl ()
2171 {
2172   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2173   as_decl_name=`echo $2|sed 's/ *(.*//'`
2174   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2176 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2177 if eval \${$3+:} false; then :
2178   $as_echo_n "(cached) " >&6
2179 else
2180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2181 /* end confdefs.h.  */
2182 $4
2183 int
2184 main ()
2185 {
2186 #ifndef $as_decl_name
2187 #ifdef __cplusplus
2188   (void) $as_decl_use;
2189 #else
2190   (void) $as_decl_name;
2191 #endif
2192 #endif
2193
2194   ;
2195   return 0;
2196 }
2197 _ACEOF
2198 if ac_fn_c_try_compile "$LINENO"; then :
2199   eval "$3=yes"
2200 else
2201   eval "$3=no"
2202 fi
2203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2204 fi
2205 eval ac_res=\$$3
2206                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2207 $as_echo "$ac_res" >&6; }
2208   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2209
2210 } # ac_fn_c_check_decl
2211
2212 # ac_fn_cxx_try_compile LINENO
2213 # ----------------------------
2214 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2215 ac_fn_cxx_try_compile ()
2216 {
2217   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2218   rm -f conftest.$ac_objext
2219   if { { ac_try="$ac_compile"
2220 case "(($ac_try" in
2221   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2222   *) ac_try_echo=$ac_try;;
2223 esac
2224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2225 $as_echo "$ac_try_echo"; } >&5
2226   (eval "$ac_compile") 2>conftest.err
2227   ac_status=$?
2228   if test -s conftest.err; then
2229     grep -v '^ *+' conftest.err >conftest.er1
2230     cat conftest.er1 >&5
2231     mv -f conftest.er1 conftest.err
2232   fi
2233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2234   test $ac_status = 0; } && {
2235          test -z "$ac_cxx_werror_flag" ||
2236          test ! -s conftest.err
2237        } && test -s conftest.$ac_objext; then :
2238   ac_retval=0
2239 else
2240   $as_echo "$as_me: failed program was:" >&5
2241 sed 's/^/| /' conftest.$ac_ext >&5
2242
2243         ac_retval=1
2244 fi
2245   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2246   as_fn_set_status $ac_retval
2247
2248 } # ac_fn_cxx_try_compile
2249
2250 # ac_fn_cxx_try_cpp LINENO
2251 # ------------------------
2252 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2253 ac_fn_cxx_try_cpp ()
2254 {
2255   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2256   if { { ac_try="$ac_cpp conftest.$ac_ext"
2257 case "(($ac_try" in
2258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2259   *) ac_try_echo=$ac_try;;
2260 esac
2261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2262 $as_echo "$ac_try_echo"; } >&5
2263   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2264   ac_status=$?
2265   if test -s conftest.err; then
2266     grep -v '^ *+' conftest.err >conftest.er1
2267     cat conftest.er1 >&5
2268     mv -f conftest.er1 conftest.err
2269   fi
2270   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2271   test $ac_status = 0; } > conftest.i && {
2272          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2273          test ! -s conftest.err
2274        }; then :
2275   ac_retval=0
2276 else
2277   $as_echo "$as_me: failed program was:" >&5
2278 sed 's/^/| /' conftest.$ac_ext >&5
2279
2280     ac_retval=1
2281 fi
2282   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2283   as_fn_set_status $ac_retval
2284
2285 } # ac_fn_cxx_try_cpp
2286
2287 # ac_fn_cxx_try_link LINENO
2288 # -------------------------
2289 # Try to link conftest.$ac_ext, and return whether this succeeded.
2290 ac_fn_cxx_try_link ()
2291 {
2292   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2293   rm -f conftest.$ac_objext conftest$ac_exeext
2294   if { { ac_try="$ac_link"
2295 case "(($ac_try" in
2296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2297   *) ac_try_echo=$ac_try;;
2298 esac
2299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2300 $as_echo "$ac_try_echo"; } >&5
2301   (eval "$ac_link") 2>conftest.err
2302   ac_status=$?
2303   if test -s conftest.err; then
2304     grep -v '^ *+' conftest.err >conftest.er1
2305     cat conftest.er1 >&5
2306     mv -f conftest.er1 conftest.err
2307   fi
2308   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2309   test $ac_status = 0; } && {
2310          test -z "$ac_cxx_werror_flag" ||
2311          test ! -s conftest.err
2312        } && test -s conftest$ac_exeext && {
2313          test "$cross_compiling" = yes ||
2314          $as_test_x conftest$ac_exeext
2315        }; then :
2316   ac_retval=0
2317 else
2318   $as_echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.$ac_ext >&5
2320
2321         ac_retval=1
2322 fi
2323   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2324   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2325   # interfere with the next link command; also delete a directory that is
2326   # left behind by Apple's compiler.  We do this before executing the actions.
2327   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2328   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2329   as_fn_set_status $ac_retval
2330
2331 } # ac_fn_cxx_try_link
2332
2333 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2334 # -------------------------------------------
2335 # Tests whether TYPE exists after having included INCLUDES, setting cache
2336 # variable VAR accordingly.
2337 ac_fn_c_check_type ()
2338 {
2339   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2341 $as_echo_n "checking for $2... " >&6; }
2342 if eval \${$3+:} false; then :
2343   $as_echo_n "(cached) " >&6
2344 else
2345   eval "$3=no"
2346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2347 /* end confdefs.h.  */
2348 $4
2349 int
2350 main ()
2351 {
2352 if (sizeof ($2))
2353          return 0;
2354   ;
2355   return 0;
2356 }
2357 _ACEOF
2358 if ac_fn_c_try_compile "$LINENO"; then :
2359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h.  */
2361 $4
2362 int
2363 main ()
2364 {
2365 if (sizeof (($2)))
2366             return 0;
2367   ;
2368   return 0;
2369 }
2370 _ACEOF
2371 if ac_fn_c_try_compile "$LINENO"; then :
2372
2373 else
2374   eval "$3=yes"
2375 fi
2376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2377 fi
2378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2379 fi
2380 eval ac_res=\$$3
2381                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2382 $as_echo "$ac_res" >&6; }
2383   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2384
2385 } # ac_fn_c_check_type
2386
2387 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2388 # --------------------------------------------
2389 # Tries to find the compile-time value of EXPR in a program that includes
2390 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2391 # computed
2392 ac_fn_c_compute_int ()
2393 {
2394   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2395   if test "$cross_compiling" = yes; then
2396     # Depending upon the size, compute the lo and hi bounds.
2397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398 /* end confdefs.h.  */
2399 $4
2400 int
2401 main ()
2402 {
2403 static int test_array [1 - 2 * !(($2) >= 0)];
2404 test_array [0] = 0
2405
2406   ;
2407   return 0;
2408 }
2409 _ACEOF
2410 if ac_fn_c_try_compile "$LINENO"; then :
2411   ac_lo=0 ac_mid=0
2412   while :; do
2413     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2414 /* end confdefs.h.  */
2415 $4
2416 int
2417 main ()
2418 {
2419 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2420 test_array [0] = 0
2421
2422   ;
2423   return 0;
2424 }
2425 _ACEOF
2426 if ac_fn_c_try_compile "$LINENO"; then :
2427   ac_hi=$ac_mid; break
2428 else
2429   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2430                         if test $ac_lo -le $ac_mid; then
2431                           ac_lo= ac_hi=
2432                           break
2433                         fi
2434                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2435 fi
2436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2437   done
2438 else
2439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2440 /* end confdefs.h.  */
2441 $4
2442 int
2443 main ()
2444 {
2445 static int test_array [1 - 2 * !(($2) < 0)];
2446 test_array [0] = 0
2447
2448   ;
2449   return 0;
2450 }
2451 _ACEOF
2452 if ac_fn_c_try_compile "$LINENO"; then :
2453   ac_hi=-1 ac_mid=-1
2454   while :; do
2455     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456 /* end confdefs.h.  */
2457 $4
2458 int
2459 main ()
2460 {
2461 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2462 test_array [0] = 0
2463
2464   ;
2465   return 0;
2466 }
2467 _ACEOF
2468 if ac_fn_c_try_compile "$LINENO"; then :
2469   ac_lo=$ac_mid; break
2470 else
2471   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2472                         if test $ac_mid -le $ac_hi; then
2473                           ac_lo= ac_hi=
2474                           break
2475                         fi
2476                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2477 fi
2478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2479   done
2480 else
2481   ac_lo= ac_hi=
2482 fi
2483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2484 fi
2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2486 # Binary search between lo and hi bounds.
2487 while test "x$ac_lo" != "x$ac_hi"; do
2488   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2490 /* end confdefs.h.  */
2491 $4
2492 int
2493 main ()
2494 {
2495 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2496 test_array [0] = 0
2497
2498   ;
2499   return 0;
2500 }
2501 _ACEOF
2502 if ac_fn_c_try_compile "$LINENO"; then :
2503   ac_hi=$ac_mid
2504 else
2505   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2506 fi
2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2508 done
2509 case $ac_lo in #((
2510 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2511 '') ac_retval=1 ;;
2512 esac
2513   else
2514     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2515 /* end confdefs.h.  */
2516 $4
2517 static long int longval () { return $2; }
2518 static unsigned long int ulongval () { return $2; }
2519 #include <stdio.h>
2520 #include <stdlib.h>
2521 int
2522 main ()
2523 {
2524
2525   FILE *f = fopen ("conftest.val", "w");
2526   if (! f)
2527     return 1;
2528   if (($2) < 0)
2529     {
2530       long int i = longval ();
2531       if (i != ($2))
2532         return 1;
2533       fprintf (f, "%ld", i);
2534     }
2535   else
2536     {
2537       unsigned long int i = ulongval ();
2538       if (i != ($2))
2539         return 1;
2540       fprintf (f, "%lu", i);
2541     }
2542   /* Do not output a trailing newline, as this causes \r\n confusion
2543      on some platforms.  */
2544   return ferror (f) || fclose (f) != 0;
2545
2546   ;
2547   return 0;
2548 }
2549 _ACEOF
2550 if ac_fn_c_try_run "$LINENO"; then :
2551   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2552 else
2553   ac_retval=1
2554 fi
2555 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2556   conftest.$ac_objext conftest.beam conftest.$ac_ext
2557 rm -f conftest.val
2558
2559   fi
2560   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2561   as_fn_set_status $ac_retval
2562
2563 } # ac_fn_c_compute_int
2564
2565 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2566 # -------------------------------------------------------
2567 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2568 # the include files in INCLUDES and setting the cache variable VAR
2569 # accordingly.
2570 ac_fn_c_check_header_mongrel ()
2571 {
2572   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2573   if eval \${$3+:} false; then :
2574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2575 $as_echo_n "checking for $2... " >&6; }
2576 if eval \${$3+:} false; then :
2577   $as_echo_n "(cached) " >&6
2578 fi
2579 eval ac_res=\$$3
2580                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2581 $as_echo "$ac_res" >&6; }
2582 else
2583   # Is the header compilable?
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2585 $as_echo_n "checking $2 usability... " >&6; }
2586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2587 /* end confdefs.h.  */
2588 $4
2589 #include <$2>
2590 _ACEOF
2591 if ac_fn_c_try_compile "$LINENO"; then :
2592   ac_header_compiler=yes
2593 else
2594   ac_header_compiler=no
2595 fi
2596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2598 $as_echo "$ac_header_compiler" >&6; }
2599
2600 # Is the header present?
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2602 $as_echo_n "checking $2 presence... " >&6; }
2603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2604 /* end confdefs.h.  */
2605 #include <$2>
2606 _ACEOF
2607 if ac_fn_c_try_cpp "$LINENO"; then :
2608   ac_header_preproc=yes
2609 else
2610   ac_header_preproc=no
2611 fi
2612 rm -f conftest.err conftest.i conftest.$ac_ext
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2614 $as_echo "$ac_header_preproc" >&6; }
2615
2616 # So?  What about this header?
2617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2618   yes:no: )
2619     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2620 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2621     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2622 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2623     ;;
2624   no:yes:* )
2625     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2626 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2627     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2628 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2629     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2630 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2631     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2632 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2633     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2634 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2635 ( $as_echo "## ------------------------------------------------------------------------ ##
2636 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2637 ## ------------------------------------------------------------------------ ##"
2638      ) | sed "s/^/$as_me: WARNING:     /" >&2
2639     ;;
2640 esac
2641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2642 $as_echo_n "checking for $2... " >&6; }
2643 if eval \${$3+:} false; then :
2644   $as_echo_n "(cached) " >&6
2645 else
2646   eval "$3=\$ac_header_compiler"
2647 fi
2648 eval ac_res=\$$3
2649                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2650 $as_echo "$ac_res" >&6; }
2651 fi
2652   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2653
2654 } # ac_fn_c_check_header_mongrel
2655
2656 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2657 # ---------------------------------------------------------
2658 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2659 # the include files in INCLUDES and setting the cache variable VAR
2660 # accordingly.
2661 ac_fn_cxx_check_header_mongrel ()
2662 {
2663   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2664   if eval \${$3+:} false; then :
2665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2666 $as_echo_n "checking for $2... " >&6; }
2667 if eval \${$3+:} false; then :
2668   $as_echo_n "(cached) " >&6
2669 fi
2670 eval ac_res=\$$3
2671                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2672 $as_echo "$ac_res" >&6; }
2673 else
2674   # Is the header compilable?
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2676 $as_echo_n "checking $2 usability... " >&6; }
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h.  */
2679 $4
2680 #include <$2>
2681 _ACEOF
2682 if ac_fn_cxx_try_compile "$LINENO"; then :
2683   ac_header_compiler=yes
2684 else
2685   ac_header_compiler=no
2686 fi
2687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2689 $as_echo "$ac_header_compiler" >&6; }
2690
2691 # Is the header present?
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2693 $as_echo_n "checking $2 presence... " >&6; }
2694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2695 /* end confdefs.h.  */
2696 #include <$2>
2697 _ACEOF
2698 if ac_fn_cxx_try_cpp "$LINENO"; then :
2699   ac_header_preproc=yes
2700 else
2701   ac_header_preproc=no
2702 fi
2703 rm -f conftest.err conftest.i conftest.$ac_ext
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2705 $as_echo "$ac_header_preproc" >&6; }
2706
2707 # So?  What about this header?
2708 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2709   yes:no: )
2710     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2711 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2712     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2713 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2714     ;;
2715   no:yes:* )
2716     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2717 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2718     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2719 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2720     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2721 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2722     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2723 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2724     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2726 ( $as_echo "## ------------------------------------------------------------------------ ##
2727 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2728 ## ------------------------------------------------------------------------ ##"
2729      ) | sed "s/^/$as_me: WARNING:     /" >&2
2730     ;;
2731 esac
2732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2733 $as_echo_n "checking for $2... " >&6; }
2734 if eval \${$3+:} false; then :
2735   $as_echo_n "(cached) " >&6
2736 else
2737   eval "$3=\$ac_header_compiler"
2738 fi
2739 eval ac_res=\$$3
2740                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2741 $as_echo "$ac_res" >&6; }
2742 fi
2743   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2744
2745 } # ac_fn_cxx_check_header_mongrel
2746
2747 # ac_fn_cxx_try_run LINENO
2748 # ------------------------
2749 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2750 # that executables *can* be run.
2751 ac_fn_cxx_try_run ()
2752 {
2753   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2754   if { { ac_try="$ac_link"
2755 case "(($ac_try" in
2756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757   *) ac_try_echo=$ac_try;;
2758 esac
2759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760 $as_echo "$ac_try_echo"; } >&5
2761   (eval "$ac_link") 2>&5
2762   ac_status=$?
2763   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2764   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2765   { { case "(($ac_try" in
2766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767   *) ac_try_echo=$ac_try;;
2768 esac
2769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2770 $as_echo "$ac_try_echo"; } >&5
2771   (eval "$ac_try") 2>&5
2772   ac_status=$?
2773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2774   test $ac_status = 0; }; }; then :
2775   ac_retval=0
2776 else
2777   $as_echo "$as_me: program exited with status $ac_status" >&5
2778        $as_echo "$as_me: failed program was:" >&5
2779 sed 's/^/| /' conftest.$ac_ext >&5
2780
2781        ac_retval=$ac_status
2782 fi
2783   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2784   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2785   as_fn_set_status $ac_retval
2786
2787 } # ac_fn_cxx_try_run
2788 cat >config.log <<_ACEOF
2789 This file contains any messages produced by compilers while
2790 running configure, to aid debugging if configure makes a mistake.
2791
2792 It was created by GStreamer Ugly Plug-ins $as_me 0.10.19, which was
2793 generated by GNU Autoconf 2.68.  Invocation command line was
2794
2795   $ $0 $@
2796
2797 _ACEOF
2798 exec 5>>config.log
2799 {
2800 cat <<_ASUNAME
2801 ## --------- ##
2802 ## Platform. ##
2803 ## --------- ##
2804
2805 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2806 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2807 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2808 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2809 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2810
2811 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2812 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2813
2814 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2815 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2816 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2817 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2818 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2819 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2820 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2821
2822 _ASUNAME
2823
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2825 for as_dir in $PATH
2826 do
2827   IFS=$as_save_IFS
2828   test -z "$as_dir" && as_dir=.
2829     $as_echo "PATH: $as_dir"
2830   done
2831 IFS=$as_save_IFS
2832
2833 } >&5
2834
2835 cat >&5 <<_ACEOF
2836
2837
2838 ## ----------- ##
2839 ## Core tests. ##
2840 ## ----------- ##
2841
2842 _ACEOF
2843
2844
2845 # Keep a trace of the command line.
2846 # Strip out --no-create and --no-recursion so they do not pile up.
2847 # Strip out --silent because we don't want to record it for future runs.
2848 # Also quote any args containing shell meta-characters.
2849 # Make two passes to allow for proper duplicate-argument suppression.
2850 ac_configure_args=
2851 ac_configure_args0=
2852 ac_configure_args1=
2853 ac_must_keep_next=false
2854 for ac_pass in 1 2
2855 do
2856   for ac_arg
2857   do
2858     case $ac_arg in
2859     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2860     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2861     | -silent | --silent | --silen | --sile | --sil)
2862       continue ;;
2863     *\'*)
2864       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2865     esac
2866     case $ac_pass in
2867     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2868     2)
2869       as_fn_append ac_configure_args1 " '$ac_arg'"
2870       if test $ac_must_keep_next = true; then
2871         ac_must_keep_next=false # Got value, back to normal.
2872       else
2873         case $ac_arg in
2874           *=* | --config-cache | -C | -disable-* | --disable-* \
2875           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2876           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2877           | -with-* | --with-* | -without-* | --without-* | --x)
2878             case "$ac_configure_args0 " in
2879               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2880             esac
2881             ;;
2882           -* ) ac_must_keep_next=true ;;
2883         esac
2884       fi
2885       as_fn_append ac_configure_args " '$ac_arg'"
2886       ;;
2887     esac
2888   done
2889 done
2890 { ac_configure_args0=; unset ac_configure_args0;}
2891 { ac_configure_args1=; unset ac_configure_args1;}
2892
2893 # When interrupted or exit'd, cleanup temporary files, and complete
2894 # config.log.  We remove comments because anyway the quotes in there
2895 # would cause problems or look ugly.
2896 # WARNING: Use '\'' to represent an apostrophe within the trap.
2897 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2898 trap 'exit_status=$?
2899   # Save into config.log some information that might help in debugging.
2900   {
2901     echo
2902
2903     $as_echo "## ---------------- ##
2904 ## Cache variables. ##
2905 ## ---------------- ##"
2906     echo
2907     # The following way of writing the cache mishandles newlines in values,
2908 (
2909   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2910     eval ac_val=\$$ac_var
2911     case $ac_val in #(
2912     *${as_nl}*)
2913       case $ac_var in #(
2914       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2915 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2916       esac
2917       case $ac_var in #(
2918       _ | IFS | as_nl) ;; #(
2919       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2920       *) { eval $ac_var=; unset $ac_var;} ;;
2921       esac ;;
2922     esac
2923   done
2924   (set) 2>&1 |
2925     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2926     *${as_nl}ac_space=\ *)
2927       sed -n \
2928         "s/'\''/'\''\\\\'\'''\''/g;
2929           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2930       ;; #(
2931     *)
2932       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2933       ;;
2934     esac |
2935     sort
2936 )
2937     echo
2938
2939     $as_echo "## ----------------- ##
2940 ## Output variables. ##
2941 ## ----------------- ##"
2942     echo
2943     for ac_var in $ac_subst_vars
2944     do
2945       eval ac_val=\$$ac_var
2946       case $ac_val in
2947       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2948       esac
2949       $as_echo "$ac_var='\''$ac_val'\''"
2950     done | sort
2951     echo
2952
2953     if test -n "$ac_subst_files"; then
2954       $as_echo "## ------------------- ##
2955 ## File substitutions. ##
2956 ## ------------------- ##"
2957       echo
2958       for ac_var in $ac_subst_files
2959       do
2960         eval ac_val=\$$ac_var
2961         case $ac_val in
2962         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2963         esac
2964         $as_echo "$ac_var='\''$ac_val'\''"
2965       done | sort
2966       echo
2967     fi
2968
2969     if test -s confdefs.h; then
2970       $as_echo "## ----------- ##
2971 ## confdefs.h. ##
2972 ## ----------- ##"
2973       echo
2974       cat confdefs.h
2975       echo
2976     fi
2977     test "$ac_signal" != 0 &&
2978       $as_echo "$as_me: caught signal $ac_signal"
2979     $as_echo "$as_me: exit $exit_status"
2980   } >&5
2981   rm -f core *.core core.conftest.* &&
2982     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2983     exit $exit_status
2984 ' 0
2985 for ac_signal in 1 2 13 15; do
2986   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2987 done
2988 ac_signal=0
2989
2990 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2991 rm -f -r conftest* confdefs.h
2992
2993 $as_echo "/* confdefs.h */" > confdefs.h
2994
2995 # Predefined preprocessor variables.
2996
2997 cat >>confdefs.h <<_ACEOF
2998 #define PACKAGE_NAME "$PACKAGE_NAME"
2999 _ACEOF
3000
3001 cat >>confdefs.h <<_ACEOF
3002 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3003 _ACEOF
3004
3005 cat >>confdefs.h <<_ACEOF
3006 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3007 _ACEOF
3008
3009 cat >>confdefs.h <<_ACEOF
3010 #define PACKAGE_STRING "$PACKAGE_STRING"
3011 _ACEOF
3012
3013 cat >>confdefs.h <<_ACEOF
3014 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3015 _ACEOF
3016
3017 cat >>confdefs.h <<_ACEOF
3018 #define PACKAGE_URL "$PACKAGE_URL"
3019 _ACEOF
3020
3021
3022 # Let the site file select an alternate cache file if it wants to.
3023 # Prefer an explicitly selected file to automatically selected ones.
3024 ac_site_file1=NONE
3025 ac_site_file2=NONE
3026 if test -n "$CONFIG_SITE"; then
3027   # We do not want a PATH search for config.site.
3028   case $CONFIG_SITE in #((
3029     -*)  ac_site_file1=./$CONFIG_SITE;;
3030     */*) ac_site_file1=$CONFIG_SITE;;
3031     *)   ac_site_file1=./$CONFIG_SITE;;
3032   esac
3033 elif test "x$prefix" != xNONE; then
3034   ac_site_file1=$prefix/share/config.site
3035   ac_site_file2=$prefix/etc/config.site
3036 else
3037   ac_site_file1=$ac_default_prefix/share/config.site
3038   ac_site_file2=$ac_default_prefix/etc/config.site
3039 fi
3040 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3041 do
3042   test "x$ac_site_file" = xNONE && continue
3043   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3044     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3045 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3046     sed 's/^/| /' "$ac_site_file" >&5
3047     . "$ac_site_file" \
3048       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050 as_fn_error $? "failed to load site script $ac_site_file
3051 See \`config.log' for more details" "$LINENO" 5; }
3052   fi
3053 done
3054
3055 if test -r "$cache_file"; then
3056   # Some versions of bash will fail to source /dev/null (special files
3057   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3058   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3059     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3060 $as_echo "$as_me: loading cache $cache_file" >&6;}
3061     case $cache_file in
3062       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3063       *)                      . "./$cache_file";;
3064     esac
3065   fi
3066 else
3067   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3068 $as_echo "$as_me: creating cache $cache_file" >&6;}
3069   >$cache_file
3070 fi
3071
3072 gt_needs="$gt_needs "
3073 # Check that the precious variables saved in the cache have kept the same
3074 # value.
3075 ac_cache_corrupted=false
3076 for ac_var in $ac_precious_vars; do
3077   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3078   eval ac_new_set=\$ac_env_${ac_var}_set
3079   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3080   eval ac_new_val=\$ac_env_${ac_var}_value
3081   case $ac_old_set,$ac_new_set in
3082     set,)
3083       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3084 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3085       ac_cache_corrupted=: ;;
3086     ,set)
3087       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3088 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3089       ac_cache_corrupted=: ;;
3090     ,);;
3091     *)
3092       if test "x$ac_old_val" != "x$ac_new_val"; then
3093         # differences in whitespace do not lead to failure.
3094         ac_old_val_w=`echo x $ac_old_val`
3095         ac_new_val_w=`echo x $ac_new_val`
3096         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3097           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3098 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3099           ac_cache_corrupted=:
3100         else
3101           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3102 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3103           eval $ac_var=\$ac_old_val
3104         fi
3105         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3106 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3107         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3108 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3109       fi;;
3110   esac
3111   # Pass precious variables to config.status.
3112   if test "$ac_new_set" = set; then
3113     case $ac_new_val in
3114     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3115     *) ac_arg=$ac_var=$ac_new_val ;;
3116     esac
3117     case " $ac_configure_args " in
3118       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3119       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3120     esac
3121   fi
3122 done
3123 if $ac_cache_corrupted; then
3124   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3127 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3128   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3129 fi
3130 ## -------------------- ##
3131 ## Main body of script. ##
3132 ## -------------------- ##
3133
3134 ac_ext=c
3135 ac_cpp='$CPP $CPPFLAGS'
3136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3139
3140
3141
3142
3143
3144
3145
3146 am__api_version='1.11'
3147
3148 ac_aux_dir=
3149 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3150   if test -f "$ac_dir/install-sh"; then
3151     ac_aux_dir=$ac_dir
3152     ac_install_sh="$ac_aux_dir/install-sh -c"
3153     break
3154   elif test -f "$ac_dir/install.sh"; then
3155     ac_aux_dir=$ac_dir
3156     ac_install_sh="$ac_aux_dir/install.sh -c"
3157     break
3158   elif test -f "$ac_dir/shtool"; then
3159     ac_aux_dir=$ac_dir
3160     ac_install_sh="$ac_aux_dir/shtool install -c"
3161     break
3162   fi
3163 done
3164 if test -z "$ac_aux_dir"; then
3165   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3166 fi
3167
3168 # These three variables are undocumented and unsupported,
3169 # and are intended to be withdrawn in a future Autoconf release.
3170 # They can cause serious problems if a builder's source tree is in a directory
3171 # whose full name contains unusual characters.
3172 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3173 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3174 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3175
3176
3177 # Find a good install program.  We prefer a C program (faster),
3178 # so one script is as good as another.  But avoid the broken or
3179 # incompatible versions:
3180 # SysV /etc/install, /usr/sbin/install
3181 # SunOS /usr/etc/install
3182 # IRIX /sbin/install
3183 # AIX /bin/install
3184 # AmigaOS /C/install, which installs bootblocks on floppy discs
3185 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3186 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3187 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3188 # OS/2's system install, which has a completely different semantic
3189 # ./install, which can be erroneously created by make from ./install.sh.
3190 # Reject install programs that cannot install multiple files.
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3192 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3193 if test -z "$INSTALL"; then
3194 if ${ac_cv_path_install+:} false; then :
3195   $as_echo_n "(cached) " >&6
3196 else
3197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 for as_dir in $PATH
3199 do
3200   IFS=$as_save_IFS
3201   test -z "$as_dir" && as_dir=.
3202     # Account for people who put trailing slashes in PATH elements.
3203 case $as_dir/ in #((
3204   ./ | .// | /[cC]/* | \
3205   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3206   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3207   /usr/ucb/* ) ;;
3208   *)
3209     # OSF1 and SCO ODT 3.0 have their own names for install.
3210     # Don't use installbsd from OSF since it installs stuff as root
3211     # by default.
3212     for ac_prog in ginstall scoinst install; do
3213       for ac_exec_ext in '' $ac_executable_extensions; do
3214         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3215           if test $ac_prog = install &&
3216             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3217             # AIX install.  It has an incompatible calling convention.
3218             :
3219           elif test $ac_prog = install &&
3220             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3221             # program-specific install script used by HP pwplus--don't use.
3222             :
3223           else
3224             rm -rf conftest.one conftest.two conftest.dir
3225             echo one > conftest.one
3226             echo two > conftest.two
3227             mkdir conftest.dir
3228             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3229               test -s conftest.one && test -s conftest.two &&
3230               test -s conftest.dir/conftest.one &&
3231               test -s conftest.dir/conftest.two
3232             then
3233               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3234               break 3
3235             fi
3236           fi
3237         fi
3238       done
3239     done
3240     ;;
3241 esac
3242
3243   done
3244 IFS=$as_save_IFS
3245
3246 rm -rf conftest.one conftest.two conftest.dir
3247
3248 fi
3249   if test "${ac_cv_path_install+set}" = set; then
3250     INSTALL=$ac_cv_path_install
3251   else
3252     # As a last resort, use the slow shell script.  Don't cache a
3253     # value for INSTALL within a source directory, because that will
3254     # break other packages using the cache if that directory is
3255     # removed, or if the value is a relative name.
3256     INSTALL=$ac_install_sh
3257   fi
3258 fi
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3260 $as_echo "$INSTALL" >&6; }
3261
3262 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3263 # It thinks the first close brace ends the variable substitution.
3264 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3265
3266 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3267
3268 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3269
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3271 $as_echo_n "checking whether build environment is sane... " >&6; }
3272 # Just in case
3273 sleep 1
3274 echo timestamp > conftest.file
3275 # Reject unsafe characters in $srcdir or the absolute working directory
3276 # name.  Accept space and tab only in the latter.
3277 am_lf='
3278 '
3279 case `pwd` in
3280   *[\\\"\#\$\&\'\`$am_lf]*)
3281     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3282 esac
3283 case $srcdir in
3284   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3285     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3286 esac
3287
3288 # Do `set' in a subshell so we don't clobber the current shell's
3289 # arguments.  Must try -L first in case configure is actually a
3290 # symlink; some systems play weird games with the mod time of symlinks
3291 # (eg FreeBSD returns the mod time of the symlink's containing
3292 # directory).
3293 if (
3294    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3295    if test "$*" = "X"; then
3296       # -L didn't work.
3297       set X `ls -t "$srcdir/configure" conftest.file`
3298    fi
3299    rm -f conftest.file
3300    if test "$*" != "X $srcdir/configure conftest.file" \
3301       && test "$*" != "X conftest.file $srcdir/configure"; then
3302
3303       # If neither matched, then we have a broken ls.  This can happen
3304       # if, for instance, CONFIG_SHELL is bash and it inherits a
3305       # broken ls alias from the environment.  This has actually
3306       # happened.  Such a system could not be considered "sane".
3307       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3308 alias in your environment" "$LINENO" 5
3309    fi
3310
3311    test "$2" = conftest.file
3312    )
3313 then
3314    # Ok.
3315    :
3316 else
3317    as_fn_error $? "newly created file is older than distributed files!
3318 Check your system clock" "$LINENO" 5
3319 fi
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3321 $as_echo "yes" >&6; }
3322 test "$program_prefix" != NONE &&
3323   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3324 # Use a double $ so make ignores it.
3325 test "$program_suffix" != NONE &&
3326   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3327 # Double any \ or $.
3328 # By default was `s,x,x', remove it if useless.
3329 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3330 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3331
3332 # expand $ac_aux_dir to an absolute path
3333 am_aux_dir=`cd $ac_aux_dir && pwd`
3334
3335 if test x"${MISSING+set}" != xset; then
3336   case $am_aux_dir in
3337   *\ * | *\     *)
3338     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3339   *)
3340     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3341   esac
3342 fi
3343 # Use eval to expand $SHELL
3344 if eval "$MISSING --run true"; then
3345   am_missing_run="$MISSING --run "
3346 else
3347   am_missing_run=
3348   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3349 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3350 fi
3351
3352 if test x"${install_sh}" != xset; then
3353   case $am_aux_dir in
3354   *\ * | *\     *)
3355     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3356   *)
3357     install_sh="\${SHELL} $am_aux_dir/install-sh"
3358   esac
3359 fi
3360
3361 # Installed binaries are usually stripped using `strip' when the user
3362 # run `make install-strip'.  However `strip' might not be the right
3363 # tool to use in cross-compilation environments, therefore Automake
3364 # will honor the `STRIP' environment variable to overrule this program.
3365 if test "$cross_compiling" != no; then
3366   if test -n "$ac_tool_prefix"; then
3367   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3368 set dummy ${ac_tool_prefix}strip; ac_word=$2
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3370 $as_echo_n "checking for $ac_word... " >&6; }
3371 if ${ac_cv_prog_STRIP+:} false; then :
3372   $as_echo_n "(cached) " >&6
3373 else
3374   if test -n "$STRIP"; then
3375   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3376 else
3377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3378 for as_dir in $PATH
3379 do
3380   IFS=$as_save_IFS
3381   test -z "$as_dir" && as_dir=.
3382     for ac_exec_ext in '' $ac_executable_extensions; do
3383   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3384     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3386     break 2
3387   fi
3388 done
3389   done
3390 IFS=$as_save_IFS
3391
3392 fi
3393 fi
3394 STRIP=$ac_cv_prog_STRIP
3395 if test -n "$STRIP"; then
3396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3397 $as_echo "$STRIP" >&6; }
3398 else
3399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3400 $as_echo "no" >&6; }
3401 fi
3402
3403
3404 fi
3405 if test -z "$ac_cv_prog_STRIP"; then
3406   ac_ct_STRIP=$STRIP
3407   # Extract the first word of "strip", so it can be a program name with args.
3408 set dummy strip; ac_word=$2
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3410 $as_echo_n "checking for $ac_word... " >&6; }
3411 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3412   $as_echo_n "(cached) " >&6
3413 else
3414   if test -n "$ac_ct_STRIP"; then
3415   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3416 else
3417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3418 for as_dir in $PATH
3419 do
3420   IFS=$as_save_IFS
3421   test -z "$as_dir" && as_dir=.
3422     for ac_exec_ext in '' $ac_executable_extensions; do
3423   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3424     ac_cv_prog_ac_ct_STRIP="strip"
3425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3426     break 2
3427   fi
3428 done
3429   done
3430 IFS=$as_save_IFS
3431
3432 fi
3433 fi
3434 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3435 if test -n "$ac_ct_STRIP"; then
3436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3437 $as_echo "$ac_ct_STRIP" >&6; }
3438 else
3439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3440 $as_echo "no" >&6; }
3441 fi
3442
3443   if test "x$ac_ct_STRIP" = x; then
3444     STRIP=":"
3445   else
3446     case $cross_compiling:$ac_tool_warned in
3447 yes:)
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3450 ac_tool_warned=yes ;;
3451 esac
3452     STRIP=$ac_ct_STRIP
3453   fi
3454 else
3455   STRIP="$ac_cv_prog_STRIP"
3456 fi
3457
3458 fi
3459 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3460
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3462 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3463 if test -z "$MKDIR_P"; then
3464   if ${ac_cv_path_mkdir+:} false; then :
3465   $as_echo_n "(cached) " >&6
3466 else
3467   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3468 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3469 do
3470   IFS=$as_save_IFS
3471   test -z "$as_dir" && as_dir=.
3472     for ac_prog in mkdir gmkdir; do
3473          for ac_exec_ext in '' $ac_executable_extensions; do
3474            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3475            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3476              'mkdir (GNU coreutils) '* | \
3477              'mkdir (coreutils) '* | \
3478              'mkdir (fileutils) '4.1*)
3479                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3480                break 3;;
3481            esac
3482          done
3483        done
3484   done
3485 IFS=$as_save_IFS
3486
3487 fi
3488
3489   test -d ./--version && rmdir ./--version
3490   if test "${ac_cv_path_mkdir+set}" = set; then
3491     MKDIR_P="$ac_cv_path_mkdir -p"
3492   else
3493     # As a last resort, use the slow shell script.  Don't cache a
3494     # value for MKDIR_P within a source directory, because that will
3495     # break other packages using the cache if that directory is
3496     # removed, or if the value is a relative name.
3497     MKDIR_P="$ac_install_sh -d"
3498   fi
3499 fi
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3501 $as_echo "$MKDIR_P" >&6; }
3502
3503 mkdir_p="$MKDIR_P"
3504 case $mkdir_p in
3505   [\\/$]* | ?:[\\/]*) ;;
3506   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3507 esac
3508
3509 for ac_prog in gawk mawk nawk awk
3510 do
3511   # Extract the first word of "$ac_prog", so it can be a program name with args.
3512 set dummy $ac_prog; ac_word=$2
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3514 $as_echo_n "checking for $ac_word... " >&6; }
3515 if ${ac_cv_prog_AWK+:} false; then :
3516   $as_echo_n "(cached) " >&6
3517 else
3518   if test -n "$AWK"; then
3519   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3520 else
3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3522 for as_dir in $PATH
3523 do
3524   IFS=$as_save_IFS
3525   test -z "$as_dir" && as_dir=.
3526     for ac_exec_ext in '' $ac_executable_extensions; do
3527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3528     ac_cv_prog_AWK="$ac_prog"
3529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3530     break 2
3531   fi
3532 done
3533   done
3534 IFS=$as_save_IFS
3535
3536 fi
3537 fi
3538 AWK=$ac_cv_prog_AWK
3539 if test -n "$AWK"; then
3540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3541 $as_echo "$AWK" >&6; }
3542 else
3543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544 $as_echo "no" >&6; }
3545 fi
3546
3547
3548   test -n "$AWK" && break
3549 done
3550
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3552 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3553 set x ${MAKE-make}
3554 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3555 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3556   $as_echo_n "(cached) " >&6
3557 else
3558   cat >conftest.make <<\_ACEOF
3559 SHELL = /bin/sh
3560 all:
3561         @echo '@@@%%%=$(MAKE)=@@@%%%'
3562 _ACEOF
3563 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3564 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3565   *@@@%%%=?*=@@@%%%*)
3566     eval ac_cv_prog_make_${ac_make}_set=yes;;
3567   *)
3568     eval ac_cv_prog_make_${ac_make}_set=no;;
3569 esac
3570 rm -f conftest.make
3571 fi
3572 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3574 $as_echo "yes" >&6; }
3575   SET_MAKE=
3576 else
3577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3579   SET_MAKE="MAKE=${MAKE-make}"
3580 fi
3581
3582 rm -rf .tst 2>/dev/null
3583 mkdir .tst 2>/dev/null
3584 if test -d .tst; then
3585   am__leading_dot=.
3586 else
3587   am__leading_dot=_
3588 fi
3589 rmdir .tst 2>/dev/null
3590
3591 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3592   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3593   # is not polluted with repeated "-I."
3594   am__isrc=' -I$(srcdir)'
3595   # test to see if srcdir already configured
3596   if test -f $srcdir/config.status; then
3597     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3598   fi
3599 fi
3600
3601 # test whether we have cygpath
3602 if test -z "$CYGPATH_W"; then
3603   if (cygpath --version) >/dev/null 2>/dev/null; then
3604     CYGPATH_W='cygpath -w'
3605   else
3606     CYGPATH_W=echo
3607   fi
3608 fi
3609
3610
3611 # Define the identity of the package.
3612  PACKAGE='gst-plugins-ugly'
3613  VERSION='0.10.19'
3614
3615
3616 cat >>confdefs.h <<_ACEOF
3617 #define PACKAGE "$PACKAGE"
3618 _ACEOF
3619
3620
3621 cat >>confdefs.h <<_ACEOF
3622 #define VERSION "$VERSION"
3623 _ACEOF
3624
3625 # Some tools Automake needs.
3626
3627 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3628
3629
3630 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3631
3632
3633 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3634
3635
3636 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3637
3638
3639 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3640
3641 # We need awk for the "check" target.  The system "awk" is bad on
3642 # some platforms.
3643 # Always define AMTAR for backward compatibility.  Yes, it's still used
3644 # in the wild :-(  We should find a proper way to deprecate it ...
3645 AMTAR='$${TAR-tar}'
3646
3647 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3648
3649
3650
3651
3652
3653
3654
3655   PACKAGE_VERSION_MAJOR=$(echo 0.10.19 | cut -d'.' -f1)
3656   PACKAGE_VERSION_MINOR=$(echo 0.10.19 | cut -d'.' -f2)
3657   PACKAGE_VERSION_MICRO=$(echo 0.10.19 | cut -d'.' -f3)
3658
3659
3660
3661
3662
3663
3664
3665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
3666 $as_echo_n "checking nano version... " >&6; }
3667
3668   NANO=$(echo 0.10.19 | cut -d'.' -f4)
3669
3670   if test x"$NANO" = x || test "x$NANO" = "x0" ; then
3671     { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
3672 $as_echo "0 (release)" >&6; }
3673     NANO=0
3674     PACKAGE_VERSION_RELEASE=1
3675     GST_GIT="no"
3676   else
3677     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
3678 $as_echo "$NANO" >&6; }
3679     PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
3680     if test "x$NANO" != "x1" ; then
3681        GST_GIT="no"
3682     else
3683        GST_GIT="yes"
3684     fi
3685   fi
3686   PACKAGE_VERSION_NANO=$NANO
3687
3688
3689
3690
3691
3692
3693 ac_config_headers="$ac_config_headers config.h"
3694
3695
3696
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3698 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3699     # Check whether --enable-maintainer-mode was given.
3700 if test "${enable_maintainer_mode+set}" = set; then :
3701   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3702 else
3703   USE_MAINTAINER_MODE=no
3704 fi
3705
3706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3707 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3708    if test $USE_MAINTAINER_MODE = yes; then
3709   MAINTAINER_MODE_TRUE=
3710   MAINTAINER_MODE_FALSE='#'
3711 else
3712   MAINTAINER_MODE_TRUE='#'
3713   MAINTAINER_MODE_FALSE=
3714 fi
3715
3716   MAINT=$MAINTAINER_MODE_TRUE
3717
3718
3719
3720 # Make sure we can run config.sub.
3721 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3722   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3723
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3725 $as_echo_n "checking build system type... " >&6; }
3726 if ${ac_cv_build+:} false; then :
3727   $as_echo_n "(cached) " >&6
3728 else
3729   ac_build_alias=$build_alias
3730 test "x$ac_build_alias" = x &&
3731   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3732 test "x$ac_build_alias" = x &&
3733   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3734 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3735   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3736
3737 fi
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3739 $as_echo "$ac_cv_build" >&6; }
3740 case $ac_cv_build in
3741 *-*-*) ;;
3742 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3743 esac
3744 build=$ac_cv_build
3745 ac_save_IFS=$IFS; IFS='-'
3746 set x $ac_cv_build
3747 shift
3748 build_cpu=$1
3749 build_vendor=$2
3750 shift; shift
3751 # Remember, the first character of IFS is used to create $*,
3752 # except with old shells:
3753 build_os=$*
3754 IFS=$ac_save_IFS
3755 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3756
3757
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3759 $as_echo_n "checking host system type... " >&6; }
3760 if ${ac_cv_host+:} false; then :
3761   $as_echo_n "(cached) " >&6
3762 else
3763   if test "x$host_alias" = x; then
3764   ac_cv_host=$ac_cv_build
3765 else
3766   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3767     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3768 fi
3769
3770 fi
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3772 $as_echo "$ac_cv_host" >&6; }
3773 case $ac_cv_host in
3774 *-*-*) ;;
3775 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3776 esac
3777 host=$ac_cv_host
3778 ac_save_IFS=$IFS; IFS='-'
3779 set x $ac_cv_host
3780 shift
3781 host_cpu=$1
3782 host_vendor=$2
3783 shift; shift
3784 # Remember, the first character of IFS is used to create $*,
3785 # except with old shells:
3786 host_os=$*
3787 IFS=$ac_save_IFS
3788 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3789
3790
3791
3792 # Check whether --enable-silent-rules was given.
3793 if test "${enable_silent_rules+set}" = set; then :
3794   enableval=$enable_silent_rules;
3795 fi
3796
3797 case $enable_silent_rules in
3798 yes) AM_DEFAULT_VERBOSITY=0;;
3799 no)  AM_DEFAULT_VERBOSITY=1;;
3800 *)   AM_DEFAULT_VERBOSITY=0;;
3801 esac
3802 am_make=${MAKE-make}
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3804 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3805 if ${am_cv_make_support_nested_variables+:} false; then :
3806   $as_echo_n "(cached) " >&6
3807 else
3808   if $as_echo 'TRUE=$(BAR$(V))
3809 BAR0=false
3810 BAR1=true
3811 V=1
3812 am__doit:
3813         @$(TRUE)
3814 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3815   am_cv_make_support_nested_variables=yes
3816 else
3817   am_cv_make_support_nested_variables=no
3818 fi
3819 fi
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3821 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3822 if test $am_cv_make_support_nested_variables = yes; then
3823     AM_V='$(V)'
3824   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3825 else
3826   AM_V=$AM_DEFAULT_VERBOSITY
3827   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3828 fi
3829 AM_BACKSLASH='\'
3830
3831
3832 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
3833 GST_MAJORMINOR=0.10
3834
3835
3836
3837 enable_win32_dll=yes
3838
3839 case $host in
3840 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3841   if test -n "$ac_tool_prefix"; then
3842   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3843 set dummy ${ac_tool_prefix}as; ac_word=$2
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3845 $as_echo_n "checking for $ac_word... " >&6; }
3846 if ${ac_cv_prog_AS+:} false; then :
3847   $as_echo_n "(cached) " >&6
3848 else
3849   if test -n "$AS"; then
3850   ac_cv_prog_AS="$AS" # Let the user override the test.
3851 else
3852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3853 for as_dir in $PATH
3854 do
3855   IFS=$as_save_IFS
3856   test -z "$as_dir" && as_dir=.
3857     for ac_exec_ext in '' $ac_executable_extensions; do
3858   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3859     ac_cv_prog_AS="${ac_tool_prefix}as"
3860     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861     break 2
3862   fi
3863 done
3864   done
3865 IFS=$as_save_IFS
3866
3867 fi
3868 fi
3869 AS=$ac_cv_prog_AS
3870 if test -n "$AS"; then
3871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3872 $as_echo "$AS" >&6; }
3873 else
3874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3875 $as_echo "no" >&6; }
3876 fi
3877
3878
3879 fi
3880 if test -z "$ac_cv_prog_AS"; then
3881   ac_ct_AS=$AS
3882   # Extract the first word of "as", so it can be a program name with args.
3883 set dummy as; ac_word=$2
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885 $as_echo_n "checking for $ac_word... " >&6; }
3886 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3887   $as_echo_n "(cached) " >&6
3888 else
3889   if test -n "$ac_ct_AS"; then
3890   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3891 else
3892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3893 for as_dir in $PATH
3894 do
3895   IFS=$as_save_IFS
3896   test -z "$as_dir" && as_dir=.
3897     for ac_exec_ext in '' $ac_executable_extensions; do
3898   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3899     ac_cv_prog_ac_ct_AS="as"
3900     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901     break 2
3902   fi
3903 done
3904   done
3905 IFS=$as_save_IFS
3906
3907 fi
3908 fi
3909 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3910 if test -n "$ac_ct_AS"; then
3911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3912 $as_echo "$ac_ct_AS" >&6; }
3913 else
3914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 $as_echo "no" >&6; }
3916 fi
3917
3918   if test "x$ac_ct_AS" = x; then
3919     AS="false"
3920   else
3921     case $cross_compiling:$ac_tool_warned in
3922 yes:)
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3925 ac_tool_warned=yes ;;
3926 esac
3927     AS=$ac_ct_AS
3928   fi
3929 else
3930   AS="$ac_cv_prog_AS"
3931 fi
3932
3933   if test -n "$ac_tool_prefix"; then
3934   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3935 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if ${ac_cv_prog_DLLTOOL+:} false; then :
3939   $as_echo_n "(cached) " >&6
3940 else
3941   if test -n "$DLLTOOL"; then
3942   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3943 else
3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945 for as_dir in $PATH
3946 do
3947   IFS=$as_save_IFS
3948   test -z "$as_dir" && as_dir=.
3949     for ac_exec_ext in '' $ac_executable_extensions; do
3950   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3951     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953     break 2
3954   fi
3955 done
3956   done
3957 IFS=$as_save_IFS
3958
3959 fi
3960 fi
3961 DLLTOOL=$ac_cv_prog_DLLTOOL
3962 if test -n "$DLLTOOL"; then
3963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3964 $as_echo "$DLLTOOL" >&6; }
3965 else
3966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3968 fi
3969
3970
3971 fi
3972 if test -z "$ac_cv_prog_DLLTOOL"; then
3973   ac_ct_DLLTOOL=$DLLTOOL
3974   # Extract the first word of "dlltool", so it can be a program name with args.
3975 set dummy dlltool; ac_word=$2
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3979   $as_echo_n "(cached) " >&6
3980 else
3981   if test -n "$ac_ct_DLLTOOL"; then
3982   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3983 else
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3985 for as_dir in $PATH
3986 do
3987   IFS=$as_save_IFS
3988   test -z "$as_dir" && as_dir=.
3989     for ac_exec_ext in '' $ac_executable_extensions; do
3990   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3991     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3992     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993     break 2
3994   fi
3995 done
3996   done
3997 IFS=$as_save_IFS
3998
3999 fi
4000 fi
4001 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4002 if test -n "$ac_ct_DLLTOOL"; then
4003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4004 $as_echo "$ac_ct_DLLTOOL" >&6; }
4005 else
4006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4008 fi
4009
4010   if test "x$ac_ct_DLLTOOL" = x; then
4011     DLLTOOL="false"
4012   else
4013     case $cross_compiling:$ac_tool_warned in
4014 yes:)
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4017 ac_tool_warned=yes ;;
4018 esac
4019     DLLTOOL=$ac_ct_DLLTOOL
4020   fi
4021 else
4022   DLLTOOL="$ac_cv_prog_DLLTOOL"
4023 fi
4024
4025   if test -n "$ac_tool_prefix"; then
4026   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4027 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029 $as_echo_n "checking for $ac_word... " >&6; }
4030 if ${ac_cv_prog_OBJDUMP+:} false; then :
4031   $as_echo_n "(cached) " >&6
4032 else
4033   if test -n "$OBJDUMP"; then
4034   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4035 else
4036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4037 for as_dir in $PATH
4038 do
4039   IFS=$as_save_IFS
4040   test -z "$as_dir" && as_dir=.
4041     for ac_exec_ext in '' $ac_executable_extensions; do
4042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4043     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045     break 2
4046   fi
4047 done
4048   done
4049 IFS=$as_save_IFS
4050
4051 fi
4052 fi
4053 OBJDUMP=$ac_cv_prog_OBJDUMP
4054 if test -n "$OBJDUMP"; then
4055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4056 $as_echo "$OBJDUMP" >&6; }
4057 else
4058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4060 fi
4061
4062
4063 fi
4064 if test -z "$ac_cv_prog_OBJDUMP"; then
4065   ac_ct_OBJDUMP=$OBJDUMP
4066   # Extract the first word of "objdump", so it can be a program name with args.
4067 set dummy objdump; ac_word=$2
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4069 $as_echo_n "checking for $ac_word... " >&6; }
4070 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4071   $as_echo_n "(cached) " >&6
4072 else
4073   if test -n "$ac_ct_OBJDUMP"; then
4074   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4075 else
4076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4077 for as_dir in $PATH
4078 do
4079   IFS=$as_save_IFS
4080   test -z "$as_dir" && as_dir=.
4081     for ac_exec_ext in '' $ac_executable_extensions; do
4082   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4083     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4084     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4085     break 2
4086   fi
4087 done
4088   done
4089 IFS=$as_save_IFS
4090
4091 fi
4092 fi
4093 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4094 if test -n "$ac_ct_OBJDUMP"; then
4095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4096 $as_echo "$ac_ct_OBJDUMP" >&6; }
4097 else
4098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4099 $as_echo "no" >&6; }
4100 fi
4101
4102   if test "x$ac_ct_OBJDUMP" = x; then
4103     OBJDUMP="false"
4104   else
4105     case $cross_compiling:$ac_tool_warned in
4106 yes:)
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4109 ac_tool_warned=yes ;;
4110 esac
4111     OBJDUMP=$ac_ct_OBJDUMP
4112   fi
4113 else
4114   OBJDUMP="$ac_cv_prog_OBJDUMP"
4115 fi
4116
4117   ;;
4118 esac
4119
4120 test -z "$AS" && AS=as
4121
4122
4123
4124
4125
4126 test -z "$DLLTOOL" && DLLTOOL=dlltool
4127
4128
4129
4130
4131
4132 test -z "$OBJDUMP" && OBJDUMP=objdump
4133
4134
4135
4136
4137
4138
4139
4140 case `pwd` in
4141   *\ * | *\     *)
4142     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4143 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4144 esac
4145
4146
4147
4148 macro_version='2.4.2'
4149 macro_revision='1.3337'
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163 ltmain="$ac_aux_dir/ltmain.sh"
4164
4165 # Backslashify metacharacters that are still active within
4166 # double-quoted strings.
4167 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4168
4169 # Same as above, but do not quote variable references.
4170 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4171
4172 # Sed substitution to delay expansion of an escaped shell variable in a
4173 # double_quote_subst'ed string.
4174 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4175
4176 # Sed substitution to delay expansion of an escaped single quote.
4177 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4178
4179 # Sed substitution to avoid accidental globbing in evaled expressions
4180 no_glob_subst='s/\*/\\\*/g'
4181
4182 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4183 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4184 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4185
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4187 $as_echo_n "checking how to print strings... " >&6; }
4188 # Test print first, because it will be a builtin if present.
4189 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4190    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4191   ECHO='print -r --'
4192 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4193   ECHO='printf %s\n'
4194 else
4195   # Use this function as a fallback that always works.
4196   func_fallback_echo ()
4197   {
4198     eval 'cat <<_LTECHO_EOF
4199 $1
4200 _LTECHO_EOF'
4201   }
4202   ECHO='func_fallback_echo'
4203 fi
4204
4205 # func_echo_all arg...
4206 # Invoke $ECHO with all args, space-separated.
4207 func_echo_all ()
4208 {
4209     $ECHO ""
4210 }
4211
4212 case "$ECHO" in
4213   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4214 $as_echo "printf" >&6; } ;;
4215   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4216 $as_echo "print -r" >&6; } ;;
4217   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4218 $as_echo "cat" >&6; } ;;
4219 esac
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234 DEPDIR="${am__leading_dot}deps"
4235
4236 ac_config_commands="$ac_config_commands depfiles"
4237
4238
4239 am_make=${MAKE-make}
4240 cat > confinc << 'END'
4241 am__doit:
4242         @echo this is the am__doit target
4243 .PHONY: am__doit
4244 END
4245 # If we don't find an include directive, just comment out the code.
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4247 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4248 am__include="#"
4249 am__quote=
4250 _am_result=none
4251 # First try GNU make style include.
4252 echo "include confinc" > confmf
4253 # Ignore all kinds of additional output from `make'.
4254 case `$am_make -s -f confmf 2> /dev/null` in #(
4255 *the\ am__doit\ target*)
4256   am__include=include
4257   am__quote=
4258   _am_result=GNU
4259   ;;
4260 esac
4261 # Now try BSD make style include.
4262 if test "$am__include" = "#"; then
4263    echo '.include "confinc"' > confmf
4264    case `$am_make -s -f confmf 2> /dev/null` in #(
4265    *the\ am__doit\ target*)
4266      am__include=.include
4267      am__quote="\""
4268      _am_result=BSD
4269      ;;
4270    esac
4271 fi
4272
4273
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4275 $as_echo "$_am_result" >&6; }
4276 rm -f confinc confmf
4277
4278 # Check whether --enable-dependency-tracking was given.
4279 if test "${enable_dependency_tracking+set}" = set; then :
4280   enableval=$enable_dependency_tracking;
4281 fi
4282
4283 if test "x$enable_dependency_tracking" != xno; then
4284   am_depcomp="$ac_aux_dir/depcomp"
4285   AMDEPBACKSLASH='\'
4286   am__nodep='_no'
4287 fi
4288  if test "x$enable_dependency_tracking" != xno; then
4289   AMDEP_TRUE=
4290   AMDEP_FALSE='#'
4291 else
4292   AMDEP_TRUE='#'
4293   AMDEP_FALSE=
4294 fi
4295
4296
4297 ac_ext=c
4298 ac_cpp='$CPP $CPPFLAGS'
4299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4302 if test -n "$ac_tool_prefix"; then
4303   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4304 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306 $as_echo_n "checking for $ac_word... " >&6; }
4307 if ${ac_cv_prog_CC+:} false; then :
4308   $as_echo_n "(cached) " >&6
4309 else
4310   if test -n "$CC"; then
4311   ac_cv_prog_CC="$CC" # Let the user override the test.
4312 else
4313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4314 for as_dir in $PATH
4315 do
4316   IFS=$as_save_IFS
4317   test -z "$as_dir" && as_dir=.
4318     for ac_exec_ext in '' $ac_executable_extensions; do
4319   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4320     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4321     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4322     break 2
4323   fi
4324 done
4325   done
4326 IFS=$as_save_IFS
4327
4328 fi
4329 fi
4330 CC=$ac_cv_prog_CC
4331 if test -n "$CC"; then
4332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4333 $as_echo "$CC" >&6; }
4334 else
4335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4336 $as_echo "no" >&6; }
4337 fi
4338
4339
4340 fi
4341 if test -z "$ac_cv_prog_CC"; then
4342   ac_ct_CC=$CC
4343   # Extract the first word of "gcc", so it can be a program name with args.
4344 set dummy gcc; ac_word=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4348   $as_echo_n "(cached) " >&6
4349 else
4350   if test -n "$ac_ct_CC"; then
4351   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4352 else
4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4354 for as_dir in $PATH
4355 do
4356   IFS=$as_save_IFS
4357   test -z "$as_dir" && as_dir=.
4358     for ac_exec_ext in '' $ac_executable_extensions; do
4359   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360     ac_cv_prog_ac_ct_CC="gcc"
4361     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4362     break 2
4363   fi
4364 done
4365   done
4366 IFS=$as_save_IFS
4367
4368 fi
4369 fi
4370 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4371 if test -n "$ac_ct_CC"; then
4372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4373 $as_echo "$ac_ct_CC" >&6; }
4374 else
4375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 $as_echo "no" >&6; }
4377 fi
4378
4379   if test "x$ac_ct_CC" = x; then
4380     CC=""
4381   else
4382     case $cross_compiling:$ac_tool_warned in
4383 yes:)
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4386 ac_tool_warned=yes ;;
4387 esac
4388     CC=$ac_ct_CC
4389   fi
4390 else
4391   CC="$ac_cv_prog_CC"
4392 fi
4393
4394 if test -z "$CC"; then
4395           if test -n "$ac_tool_prefix"; then
4396     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4397 set dummy ${ac_tool_prefix}cc; ac_word=$2
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399 $as_echo_n "checking for $ac_word... " >&6; }
4400 if ${ac_cv_prog_CC+:} false; then :
4401   $as_echo_n "(cached) " >&6
4402 else
4403   if test -n "$CC"; then
4404   ac_cv_prog_CC="$CC" # Let the user override the test.
4405 else
4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407 for as_dir in $PATH
4408 do
4409   IFS=$as_save_IFS
4410   test -z "$as_dir" && as_dir=.
4411     for ac_exec_ext in '' $ac_executable_extensions; do
4412   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413     ac_cv_prog_CC="${ac_tool_prefix}cc"
4414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4415     break 2
4416   fi
4417 done
4418   done
4419 IFS=$as_save_IFS
4420
4421 fi
4422 fi
4423 CC=$ac_cv_prog_CC
4424 if test -n "$CC"; then
4425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4426 $as_echo "$CC" >&6; }
4427 else
4428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4430 fi
4431
4432
4433   fi
4434 fi
4435 if test -z "$CC"; then
4436   # Extract the first word of "cc", so it can be a program name with args.
4437 set dummy cc; ac_word=$2
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439 $as_echo_n "checking for $ac_word... " >&6; }
4440 if ${ac_cv_prog_CC+:} false; then :
4441   $as_echo_n "(cached) " >&6
4442 else
4443   if test -n "$CC"; then
4444   ac_cv_prog_CC="$CC" # Let the user override the test.
4445 else
4446   ac_prog_rejected=no
4447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 for as_dir in $PATH
4449 do
4450   IFS=$as_save_IFS
4451   test -z "$as_dir" && as_dir=.
4452     for ac_exec_ext in '' $ac_executable_extensions; do
4453   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4454     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4455        ac_prog_rejected=yes
4456        continue
4457      fi
4458     ac_cv_prog_CC="cc"
4459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4460     break 2
4461   fi
4462 done
4463   done
4464 IFS=$as_save_IFS
4465
4466 if test $ac_prog_rejected = yes; then
4467   # We found a bogon in the path, so make sure we never use it.
4468   set dummy $ac_cv_prog_CC
4469   shift
4470   if test $# != 0; then
4471     # We chose a different compiler from the bogus one.
4472     # However, it has the same basename, so the bogon will be chosen
4473     # first if we set CC to just the basename; use the full file name.
4474     shift
4475     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4476   fi
4477 fi
4478 fi
4479 fi
4480 CC=$ac_cv_prog_CC
4481 if test -n "$CC"; then
4482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4483 $as_echo "$CC" >&6; }
4484 else
4485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4486 $as_echo "no" >&6; }
4487 fi
4488
4489
4490 fi
4491 if test -z "$CC"; then
4492   if test -n "$ac_tool_prefix"; then
4493   for ac_prog in cl.exe
4494   do
4495     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4498 $as_echo_n "checking for $ac_word... " >&6; }
4499 if ${ac_cv_prog_CC+:} false; then :
4500   $as_echo_n "(cached) " >&6
4501 else
4502   if test -n "$CC"; then
4503   ac_cv_prog_CC="$CC" # Let the user override the test.
4504 else
4505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506 for as_dir in $PATH
4507 do
4508   IFS=$as_save_IFS
4509   test -z "$as_dir" && as_dir=.
4510     for ac_exec_ext in '' $ac_executable_extensions; do
4511   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4512     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4514     break 2
4515   fi
4516 done
4517   done
4518 IFS=$as_save_IFS
4519
4520 fi
4521 fi
4522 CC=$ac_cv_prog_CC
4523 if test -n "$CC"; then
4524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4525 $as_echo "$CC" >&6; }
4526 else
4527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528 $as_echo "no" >&6; }
4529 fi
4530
4531
4532     test -n "$CC" && break
4533   done
4534 fi
4535 if test -z "$CC"; then
4536   ac_ct_CC=$CC
4537   for ac_prog in cl.exe
4538 do
4539   # Extract the first word of "$ac_prog", so it can be a program name with args.
4540 set dummy $ac_prog; ac_word=$2
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4542 $as_echo_n "checking for $ac_word... " >&6; }
4543 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4544   $as_echo_n "(cached) " >&6
4545 else
4546   if test -n "$ac_ct_CC"; then
4547   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4548 else
4549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4550 for as_dir in $PATH
4551 do
4552   IFS=$as_save_IFS
4553   test -z "$as_dir" && as_dir=.
4554     for ac_exec_ext in '' $ac_executable_extensions; do
4555   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4556     ac_cv_prog_ac_ct_CC="$ac_prog"
4557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4558     break 2
4559   fi
4560 done
4561   done
4562 IFS=$as_save_IFS
4563
4564 fi
4565 fi
4566 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4567 if test -n "$ac_ct_CC"; then
4568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4569 $as_echo "$ac_ct_CC" >&6; }
4570 else
4571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572 $as_echo "no" >&6; }
4573 fi
4574
4575
4576   test -n "$ac_ct_CC" && break
4577 done
4578
4579   if test "x$ac_ct_CC" = x; then
4580     CC=""
4581   else
4582     case $cross_compiling:$ac_tool_warned in
4583 yes:)
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4586 ac_tool_warned=yes ;;
4587 esac
4588     CC=$ac_ct_CC
4589   fi
4590 fi
4591
4592 fi
4593
4594
4595 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4597 as_fn_error $? "no acceptable C compiler found in \$PATH
4598 See \`config.log' for more details" "$LINENO" 5; }
4599
4600 # Provide some information about the compiler.
4601 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4602 set X $ac_compile
4603 ac_compiler=$2
4604 for ac_option in --version -v -V -qversion; do
4605   { { ac_try="$ac_compiler $ac_option >&5"
4606 case "(($ac_try" in
4607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4608   *) ac_try_echo=$ac_try;;
4609 esac
4610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4611 $as_echo "$ac_try_echo"; } >&5
4612   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4613   ac_status=$?
4614   if test -s conftest.err; then
4615     sed '10a\
4616 ... rest of stderr output deleted ...
4617          10q' conftest.err >conftest.er1
4618     cat conftest.er1 >&5
4619   fi
4620   rm -f conftest.er1 conftest.err
4621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4622   test $ac_status = 0; }
4623 done
4624
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h.  */
4627
4628 int
4629 main ()
4630 {
4631
4632   ;
4633   return 0;
4634 }
4635 _ACEOF
4636 ac_clean_files_save=$ac_clean_files
4637 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4638 # Try to create an executable without -o first, disregard a.out.
4639 # It will help us diagnose broken compilers, and finding out an intuition
4640 # of exeext.
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4642 $as_echo_n "checking whether the C compiler works... " >&6; }
4643 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4644
4645 # The possible output files:
4646 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4647
4648 ac_rmfiles=
4649 for ac_file in $ac_files
4650 do
4651   case $ac_file in
4652     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4653     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4654   esac
4655 done
4656 rm -f $ac_rmfiles
4657
4658 if { { ac_try="$ac_link_default"
4659 case "(($ac_try" in
4660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661   *) ac_try_echo=$ac_try;;
4662 esac
4663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4664 $as_echo "$ac_try_echo"; } >&5
4665   (eval "$ac_link_default") 2>&5
4666   ac_status=$?
4667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4668   test $ac_status = 0; }; then :
4669   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4670 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4671 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4672 # so that the user can short-circuit this test for compilers unknown to
4673 # Autoconf.
4674 for ac_file in $ac_files ''
4675 do
4676   test -f "$ac_file" || continue
4677   case $ac_file in
4678     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4679         ;;
4680     [ab].out )
4681         # We found the default executable, but exeext='' is most
4682         # certainly right.
4683         break;;
4684     *.* )
4685         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4686         then :; else
4687            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4688         fi
4689         # We set ac_cv_exeext here because the later test for it is not
4690         # safe: cross compilers may not add the suffix if given an `-o'
4691         # argument, so we may need to know it at that point already.
4692         # Even if this section looks crufty: it has the advantage of
4693         # actually working.
4694         break;;
4695     * )
4696         break;;
4697   esac
4698 done
4699 test "$ac_cv_exeext" = no && ac_cv_exeext=
4700
4701 else
4702   ac_file=''
4703 fi
4704 if test -z "$ac_file"; then :
4705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706 $as_echo "no" >&6; }
4707 $as_echo "$as_me: failed program was:" >&5
4708 sed 's/^/| /' conftest.$ac_ext >&5
4709
4710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4712 as_fn_error 77 "C compiler cannot create executables
4713 See \`config.log' for more details" "$LINENO" 5; }
4714 else
4715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4716 $as_echo "yes" >&6; }
4717 fi
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4719 $as_echo_n "checking for C compiler default output file name... " >&6; }
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4721 $as_echo "$ac_file" >&6; }
4722 ac_exeext=$ac_cv_exeext
4723
4724 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4725 ac_clean_files=$ac_clean_files_save
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4727 $as_echo_n "checking for suffix of executables... " >&6; }
4728 if { { ac_try="$ac_link"
4729 case "(($ac_try" in
4730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4731   *) ac_try_echo=$ac_try;;
4732 esac
4733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4734 $as_echo "$ac_try_echo"; } >&5
4735   (eval "$ac_link") 2>&5
4736   ac_status=$?
4737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4738   test $ac_status = 0; }; then :
4739   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4740 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4741 # work properly (i.e., refer to `conftest.exe'), while it won't with
4742 # `rm'.
4743 for ac_file in conftest.exe conftest conftest.*; do
4744   test -f "$ac_file" || continue
4745   case $ac_file in
4746     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4747     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4748           break;;
4749     * ) break;;
4750   esac
4751 done
4752 else
4753   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4755 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4756 See \`config.log' for more details" "$LINENO" 5; }
4757 fi
4758 rm -f conftest conftest$ac_cv_exeext
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4760 $as_echo "$ac_cv_exeext" >&6; }
4761
4762 rm -f conftest.$ac_ext
4763 EXEEXT=$ac_cv_exeext
4764 ac_exeext=$EXEEXT
4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h.  */
4767 #include <stdio.h>
4768 int
4769 main ()
4770 {
4771 FILE *f = fopen ("conftest.out", "w");
4772  return ferror (f) || fclose (f) != 0;
4773
4774   ;
4775   return 0;
4776 }
4777 _ACEOF
4778 ac_clean_files="$ac_clean_files conftest.out"
4779 # Check that the compiler produces executables we can run.  If not, either
4780 # the compiler is broken, or we cross compile.
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4782 $as_echo_n "checking whether we are cross compiling... " >&6; }
4783 if test "$cross_compiling" != yes; then
4784   { { ac_try="$ac_link"
4785 case "(($ac_try" in
4786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4787   *) ac_try_echo=$ac_try;;
4788 esac
4789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4790 $as_echo "$ac_try_echo"; } >&5
4791   (eval "$ac_link") 2>&5
4792   ac_status=$?
4793   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4794   test $ac_status = 0; }
4795   if { ac_try='./conftest$ac_cv_exeext'
4796   { { case "(($ac_try" in
4797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4798   *) ac_try_echo=$ac_try;;
4799 esac
4800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4801 $as_echo "$ac_try_echo"; } >&5
4802   (eval "$ac_try") 2>&5
4803   ac_status=$?
4804   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4805   test $ac_status = 0; }; }; then
4806     cross_compiling=no
4807   else
4808     if test "$cross_compiling" = maybe; then
4809         cross_compiling=yes
4810     else
4811         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4813 as_fn_error $? "cannot run C compiled programs.
4814 If you meant to cross compile, use \`--host'.
4815 See \`config.log' for more details" "$LINENO" 5; }
4816     fi
4817   fi
4818 fi
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4820 $as_echo "$cross_compiling" >&6; }
4821
4822 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4823 ac_clean_files=$ac_clean_files_save
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4825 $as_echo_n "checking for suffix of object files... " >&6; }
4826 if ${ac_cv_objext+:} false; then :
4827   $as_echo_n "(cached) " >&6
4828 else
4829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830 /* end confdefs.h.  */
4831
4832 int
4833 main ()
4834 {
4835
4836   ;
4837   return 0;
4838 }
4839 _ACEOF
4840 rm -f conftest.o conftest.obj
4841 if { { ac_try="$ac_compile"
4842 case "(($ac_try" in
4843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4844   *) ac_try_echo=$ac_try;;
4845 esac
4846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4847 $as_echo "$ac_try_echo"; } >&5
4848   (eval "$ac_compile") 2>&5
4849   ac_status=$?
4850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4851   test $ac_status = 0; }; then :
4852   for ac_file in conftest.o conftest.obj conftest.*; do
4853   test -f "$ac_file" || continue;
4854   case $ac_file in
4855     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4856     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4857        break;;
4858   esac
4859 done
4860 else
4861   $as_echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.$ac_ext >&5
4863
4864 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4865 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4866 as_fn_error $? "cannot compute suffix of object files: cannot compile
4867 See \`config.log' for more details" "$LINENO" 5; }
4868 fi
4869 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4870 fi
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4872 $as_echo "$ac_cv_objext" >&6; }
4873 OBJEXT=$ac_cv_objext
4874 ac_objext=$OBJEXT
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4876 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4877 if ${ac_cv_c_compiler_gnu+:} false; then :
4878   $as_echo_n "(cached) " >&6
4879 else
4880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4881 /* end confdefs.h.  */
4882
4883 int
4884 main ()
4885 {
4886 #ifndef __GNUC__
4887        choke me
4888 #endif
4889
4890   ;
4891   return 0;
4892 }
4893 _ACEOF
4894 if ac_fn_c_try_compile "$LINENO"; then :
4895   ac_compiler_gnu=yes
4896 else
4897   ac_compiler_gnu=no
4898 fi
4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4900 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4901
4902 fi
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4904 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4905 if test $ac_compiler_gnu = yes; then
4906   GCC=yes
4907 else
4908   GCC=
4909 fi
4910 ac_test_CFLAGS=${CFLAGS+set}
4911 ac_save_CFLAGS=$CFLAGS
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4913 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4914 if ${ac_cv_prog_cc_g+:} false; then :
4915   $as_echo_n "(cached) " >&6
4916 else
4917   ac_save_c_werror_flag=$ac_c_werror_flag
4918    ac_c_werror_flag=yes
4919    ac_cv_prog_cc_g=no
4920    CFLAGS="-g"
4921    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4922 /* end confdefs.h.  */
4923
4924 int
4925 main ()
4926 {
4927
4928   ;
4929   return 0;
4930 }
4931 _ACEOF
4932 if ac_fn_c_try_compile "$LINENO"; then :
4933   ac_cv_prog_cc_g=yes
4934 else
4935   CFLAGS=""
4936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h.  */
4938
4939 int
4940 main ()
4941 {
4942
4943   ;
4944   return 0;
4945 }
4946 _ACEOF
4947 if ac_fn_c_try_compile "$LINENO"; then :
4948
4949 else
4950   ac_c_werror_flag=$ac_save_c_werror_flag
4951          CFLAGS="-g"
4952          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h.  */
4954
4955 int
4956 main ()
4957 {
4958
4959   ;
4960   return 0;
4961 }
4962 _ACEOF
4963 if ac_fn_c_try_compile "$LINENO"; then :
4964   ac_cv_prog_cc_g=yes
4965 fi
4966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4967 fi
4968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4969 fi
4970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4971    ac_c_werror_flag=$ac_save_c_werror_flag
4972 fi
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4974 $as_echo "$ac_cv_prog_cc_g" >&6; }
4975 if test "$ac_test_CFLAGS" = set; then
4976   CFLAGS=$ac_save_CFLAGS
4977 elif test $ac_cv_prog_cc_g = yes; then
4978   if test "$GCC" = yes; then
4979     CFLAGS="-g -O2"
4980   else
4981     CFLAGS="-g"
4982   fi
4983 else
4984   if test "$GCC" = yes; then
4985     CFLAGS="-O2"
4986   else
4987     CFLAGS=
4988   fi
4989 fi
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4991 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4992 if ${ac_cv_prog_cc_c89+:} false; then :
4993   $as_echo_n "(cached) " >&6
4994 else
4995   ac_cv_prog_cc_c89=no
4996 ac_save_CC=$CC
4997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h.  */
4999 #include <stdarg.h>
5000 #include <stdio.h>
5001 #include <sys/types.h>
5002 #include <sys/stat.h>
5003 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5004 struct buf { int x; };
5005 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5006 static char *e (p, i)
5007      char **p;
5008      int i;
5009 {
5010   return p[i];
5011 }
5012 static char *f (char * (*g) (char **, int), char **p, ...)
5013 {
5014   char *s;
5015   va_list v;
5016   va_start (v,p);
5017   s = g (p, va_arg (v,int));
5018   va_end (v);
5019   return s;
5020 }
5021
5022 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5023    function prototypes and stuff, but not '\xHH' hex character constants.
5024    These don't provoke an error unfortunately, instead are silently treated
5025    as 'x'.  The following induces an error, until -std is added to get
5026    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5027    array size at least.  It's necessary to write '\x00'==0 to get something
5028    that's true only with -std.  */
5029 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5030
5031 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5032    inside strings and character constants.  */
5033 #define FOO(x) 'x'
5034 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5035
5036 int test (int i, double x);
5037 struct s1 {int (*f) (int a);};
5038 struct s2 {int (*f) (double a);};
5039 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5040 int argc;
5041 char **argv;
5042 int
5043 main ()
5044 {
5045 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5046   ;
5047   return 0;
5048 }
5049 _ACEOF
5050 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5051         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5052 do
5053   CC="$ac_save_CC $ac_arg"
5054   if ac_fn_c_try_compile "$LINENO"; then :
5055   ac_cv_prog_cc_c89=$ac_arg
5056 fi
5057 rm -f core conftest.err conftest.$ac_objext
5058   test "x$ac_cv_prog_cc_c89" != "xno" && break
5059 done
5060 rm -f conftest.$ac_ext
5061 CC=$ac_save_CC
5062
5063 fi
5064 # AC_CACHE_VAL
5065 case "x$ac_cv_prog_cc_c89" in
5066   x)
5067     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5068 $as_echo "none needed" >&6; } ;;
5069   xno)
5070     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5071 $as_echo "unsupported" >&6; } ;;
5072   *)
5073     CC="$CC $ac_cv_prog_cc_c89"
5074     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5075 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5076 esac
5077 if test "x$ac_cv_prog_cc_c89" != xno; then :
5078
5079 fi
5080
5081 ac_ext=c
5082 ac_cpp='$CPP $CPPFLAGS'
5083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5086
5087 depcc="$CC"   am_compiler_list=
5088
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5090 $as_echo_n "checking dependency style of $depcc... " >&6; }
5091 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5092   $as_echo_n "(cached) " >&6
5093 else
5094   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5095   # We make a subdir and do the tests there.  Otherwise we can end up
5096   # making bogus files that we don't know about and never remove.  For
5097   # instance it was reported that on HP-UX the gcc test will end up
5098   # making a dummy file named `D' -- because `-MD' means `put the output
5099   # in D'.
5100   rm -rf conftest.dir
5101   mkdir conftest.dir
5102   # Copy depcomp to subdir because otherwise we won't find it if we're
5103   # using a relative directory.
5104   cp "$am_depcomp" conftest.dir
5105   cd conftest.dir
5106   # We will build objects and dependencies in a subdirectory because
5107   # it helps to detect inapplicable dependency modes.  For instance
5108   # both Tru64's cc and ICC support -MD to output dependencies as a
5109   # side effect of compilation, but ICC will put the dependencies in
5110   # the current directory while Tru64 will put them in the object
5111   # directory.
5112   mkdir sub
5113
5114   am_cv_CC_dependencies_compiler_type=none
5115   if test "$am_compiler_list" = ""; then
5116      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5117   fi
5118   am__universal=false
5119   case " $depcc " in #(
5120      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5121      esac
5122
5123   for depmode in $am_compiler_list; do
5124     # Setup a source with many dependencies, because some compilers
5125     # like to wrap large dependency lists on column 80 (with \), and
5126     # we should not choose a depcomp mode which is confused by this.
5127     #
5128     # We need to recreate these files for each test, as the compiler may
5129     # overwrite some of them when testing with obscure command lines.
5130     # This happens at least with the AIX C compiler.
5131     : > sub/conftest.c
5132     for i in 1 2 3 4 5 6; do
5133       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5134       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5135       # Solaris 8's {/usr,}/bin/sh.
5136       touch sub/conftst$i.h
5137     done
5138     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5139
5140     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5141     # mode.  It turns out that the SunPro C++ compiler does not properly
5142     # handle `-M -o', and we need to detect this.  Also, some Intel
5143     # versions had trouble with output in subdirs
5144     am__obj=sub/conftest.${OBJEXT-o}
5145     am__minus_obj="-o $am__obj"
5146     case $depmode in
5147     gcc)
5148       # This depmode causes a compiler race in universal mode.
5149       test "$am__universal" = false || continue
5150       ;;
5151     nosideeffect)
5152       # after this tag, mechanisms are not by side-effect, so they'll
5153       # only be used when explicitly requested
5154       if test "x$enable_dependency_tracking" = xyes; then
5155         continue
5156       else
5157         break
5158       fi
5159       ;;
5160     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5161       # This compiler won't grok `-c -o', but also, the minuso test has
5162       # not run yet.  These depmodes are late enough in the game, and
5163       # so weak that their functioning should not be impacted.
5164       am__obj=conftest.${OBJEXT-o}
5165       am__minus_obj=
5166       ;;
5167     none) break ;;
5168     esac
5169     if depmode=$depmode \
5170        source=sub/conftest.c object=$am__obj \
5171        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5172        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5173          >/dev/null 2>conftest.err &&
5174        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5175        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5176        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5177        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5178       # icc doesn't choke on unknown options, it will just issue warnings
5179       # or remarks (even with -Werror).  So we grep stderr for any message
5180       # that says an option was ignored or not supported.
5181       # When given -MP, icc 7.0 and 7.1 complain thusly:
5182       #   icc: Command line warning: ignoring option '-M'; no argument required
5183       # The diagnosis changed in icc 8.0:
5184       #   icc: Command line remark: option '-MP' not supported
5185       if (grep 'ignoring option' conftest.err ||
5186           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5187         am_cv_CC_dependencies_compiler_type=$depmode
5188         break
5189       fi
5190     fi
5191   done
5192
5193   cd ..
5194   rm -rf conftest.dir
5195 else
5196   am_cv_CC_dependencies_compiler_type=none
5197 fi
5198
5199 fi
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5201 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5202 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5203
5204  if
5205   test "x$enable_dependency_tracking" != xno \
5206   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5207   am__fastdepCC_TRUE=
5208   am__fastdepCC_FALSE='#'
5209 else
5210   am__fastdepCC_TRUE='#'
5211   am__fastdepCC_FALSE=
5212 fi
5213
5214
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5216 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5217 if ${ac_cv_path_SED+:} false; then :
5218   $as_echo_n "(cached) " >&6
5219 else
5220             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5221      for ac_i in 1 2 3 4 5 6 7; do
5222        ac_script="$ac_script$as_nl$ac_script"
5223      done
5224      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5225      { ac_script=; unset ac_script;}
5226      if test -z "$SED"; then
5227   ac_path_SED_found=false
5228   # Loop through the user's path and test for each of PROGNAME-LIST
5229   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5230 for as_dir in $PATH
5231 do
5232   IFS=$as_save_IFS
5233   test -z "$as_dir" && as_dir=.
5234     for ac_prog in sed gsed; do
5235     for ac_exec_ext in '' $ac_executable_extensions; do
5236       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5237       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5238 # Check for GNU ac_path_SED and select it if it is found.
5239   # Check for GNU $ac_path_SED
5240 case `"$ac_path_SED" --version 2>&1` in
5241 *GNU*)
5242   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5243 *)
5244   ac_count=0
5245   $as_echo_n 0123456789 >"conftest.in"
5246   while :
5247   do
5248     cat "conftest.in" "conftest.in" >"conftest.tmp"
5249     mv "conftest.tmp" "conftest.in"
5250     cp "conftest.in" "conftest.nl"
5251     $as_echo '' >> "conftest.nl"
5252     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5253     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5254     as_fn_arith $ac_count + 1 && ac_count=$as_val
5255     if test $ac_count -gt ${ac_path_SED_max-0}; then
5256       # Best one so far, save it but keep looking for a better one
5257       ac_cv_path_SED="$ac_path_SED"
5258       ac_path_SED_max=$ac_count
5259     fi
5260     # 10*(2^10) chars as input seems more than enough
5261     test $ac_count -gt 10 && break
5262   done
5263   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5264 esac
5265
5266       $ac_path_SED_found && break 3
5267     done
5268   done
5269   done
5270 IFS=$as_save_IFS
5271   if test -z "$ac_cv_path_SED"; then
5272     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5273   fi
5274 else
5275   ac_cv_path_SED=$SED
5276 fi
5277
5278 fi
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5280 $as_echo "$ac_cv_path_SED" >&6; }
5281  SED="$ac_cv_path_SED"
5282   rm -f conftest.sed
5283
5284 test -z "$SED" && SED=sed
5285 Xsed="$SED -e 1s/^X//"
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5298 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5299 if ${ac_cv_path_GREP+:} false; then :
5300   $as_echo_n "(cached) " >&6
5301 else
5302   if test -z "$GREP"; then
5303   ac_path_GREP_found=false
5304   # Loop through the user's path and test for each of PROGNAME-LIST
5305   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5307 do
5308   IFS=$as_save_IFS
5309   test -z "$as_dir" && as_dir=.
5310     for ac_prog in grep ggrep; do
5311     for ac_exec_ext in '' $ac_executable_extensions; do
5312       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5313       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5314 # Check for GNU ac_path_GREP and select it if it is found.
5315   # Check for GNU $ac_path_GREP
5316 case `"$ac_path_GREP" --version 2>&1` in
5317 *GNU*)
5318   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5319 *)
5320   ac_count=0
5321   $as_echo_n 0123456789 >"conftest.in"
5322   while :
5323   do
5324     cat "conftest.in" "conftest.in" >"conftest.tmp"
5325     mv "conftest.tmp" "conftest.in"
5326     cp "conftest.in" "conftest.nl"
5327     $as_echo 'GREP' >> "conftest.nl"
5328     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5329     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5330     as_fn_arith $ac_count + 1 && ac_count=$as_val
5331     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5332       # Best one so far, save it but keep looking for a better one
5333       ac_cv_path_GREP="$ac_path_GREP"
5334       ac_path_GREP_max=$ac_count
5335     fi
5336     # 10*(2^10) chars as input seems more than enough
5337     test $ac_count -gt 10 && break
5338   done
5339   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5340 esac
5341
5342       $ac_path_GREP_found && break 3
5343     done
5344   done
5345   done
5346 IFS=$as_save_IFS
5347   if test -z "$ac_cv_path_GREP"; then
5348     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5349   fi
5350 else
5351   ac_cv_path_GREP=$GREP
5352 fi
5353
5354 fi
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5356 $as_echo "$ac_cv_path_GREP" >&6; }
5357  GREP="$ac_cv_path_GREP"
5358
5359
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5361 $as_echo_n "checking for egrep... " >&6; }
5362 if ${ac_cv_path_EGREP+:} false; then :
5363   $as_echo_n "(cached) " >&6
5364 else
5365   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5366    then ac_cv_path_EGREP="$GREP -E"
5367    else
5368      if test -z "$EGREP"; then
5369   ac_path_EGREP_found=false
5370   # Loop through the user's path and test for each of PROGNAME-LIST
5371   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5372 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5373 do
5374   IFS=$as_save_IFS
5375   test -z "$as_dir" && as_dir=.
5376     for ac_prog in egrep; do
5377     for ac_exec_ext in '' $ac_executable_extensions; do
5378       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5379       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5380 # Check for GNU ac_path_EGREP and select it if it is found.
5381   # Check for GNU $ac_path_EGREP
5382 case `"$ac_path_EGREP" --version 2>&1` in
5383 *GNU*)
5384   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5385 *)
5386   ac_count=0
5387   $as_echo_n 0123456789 >"conftest.in"
5388   while :
5389   do
5390     cat "conftest.in" "conftest.in" >"conftest.tmp"
5391     mv "conftest.tmp" "conftest.in"
5392     cp "conftest.in" "conftest.nl"
5393     $as_echo 'EGREP' >> "conftest.nl"
5394     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5395     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5396     as_fn_arith $ac_count + 1 && ac_count=$as_val
5397     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5398       # Best one so far, save it but keep looking for a better one
5399       ac_cv_path_EGREP="$ac_path_EGREP"
5400       ac_path_EGREP_max=$ac_count
5401     fi
5402     # 10*(2^10) chars as input seems more than enough
5403     test $ac_count -gt 10 && break
5404   done
5405   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5406 esac
5407
5408       $ac_path_EGREP_found && break 3
5409     done
5410   done
5411   done
5412 IFS=$as_save_IFS
5413   if test -z "$ac_cv_path_EGREP"; then
5414     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5415   fi
5416 else
5417   ac_cv_path_EGREP=$EGREP
5418 fi
5419
5420    fi
5421 fi
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5423 $as_echo "$ac_cv_path_EGREP" >&6; }
5424  EGREP="$ac_cv_path_EGREP"
5425
5426
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5428 $as_echo_n "checking for fgrep... " >&6; }
5429 if ${ac_cv_path_FGREP+:} false; then :
5430   $as_echo_n "(cached) " >&6
5431 else
5432   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5433    then ac_cv_path_FGREP="$GREP -F"
5434    else
5435      if test -z "$FGREP"; then
5436   ac_path_FGREP_found=false
5437   # Loop through the user's path and test for each of PROGNAME-LIST
5438   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5440 do
5441   IFS=$as_save_IFS
5442   test -z "$as_dir" && as_dir=.
5443     for ac_prog in fgrep; do
5444     for ac_exec_ext in '' $ac_executable_extensions; do
5445       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5446       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5447 # Check for GNU ac_path_FGREP and select it if it is found.
5448   # Check for GNU $ac_path_FGREP
5449 case `"$ac_path_FGREP" --version 2>&1` in
5450 *GNU*)
5451   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5452 *)
5453   ac_count=0
5454   $as_echo_n 0123456789 >"conftest.in"
5455   while :
5456   do
5457     cat "conftest.in" "conftest.in" >"conftest.tmp"
5458     mv "conftest.tmp" "conftest.in"
5459     cp "conftest.in" "conftest.nl"
5460     $as_echo 'FGREP' >> "conftest.nl"
5461     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5462     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5463     as_fn_arith $ac_count + 1 && ac_count=$as_val
5464     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5465       # Best one so far, save it but keep looking for a better one
5466       ac_cv_path_FGREP="$ac_path_FGREP"
5467       ac_path_FGREP_max=$ac_count
5468     fi
5469     # 10*(2^10) chars as input seems more than enough
5470     test $ac_count -gt 10 && break
5471   done
5472   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5473 esac
5474
5475       $ac_path_FGREP_found && break 3
5476     done
5477   done
5478   done
5479 IFS=$as_save_IFS
5480   if test -z "$ac_cv_path_FGREP"; then
5481     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5482   fi
5483 else
5484   ac_cv_path_FGREP=$FGREP
5485 fi
5486
5487    fi
5488 fi
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5490 $as_echo "$ac_cv_path_FGREP" >&6; }
5491  FGREP="$ac_cv_path_FGREP"
5492
5493
5494 test -z "$GREP" && GREP=grep
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514 # Check whether --with-gnu-ld was given.
5515 if test "${with_gnu_ld+set}" = set; then :
5516   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5517 else
5518   with_gnu_ld=no
5519 fi
5520
5521 ac_prog=ld
5522 if test "$GCC" = yes; then
5523   # Check if gcc -print-prog-name=ld gives a path.
5524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5525 $as_echo_n "checking for ld used by $CC... " >&6; }
5526   case $host in
5527   *-*-mingw*)
5528     # gcc leaves a trailing carriage return which upsets mingw
5529     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5530   *)
5531     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5532   esac
5533   case $ac_prog in
5534     # Accept absolute paths.
5535     [\\/]* | ?:[\\/]*)
5536       re_direlt='/[^/][^/]*/\.\./'
5537       # Canonicalize the pathname of ld
5538       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5539       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5540         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5541       done
5542       test -z "$LD" && LD="$ac_prog"
5543       ;;
5544   "")
5545     # If it fails, then pretend we aren't using GCC.
5546     ac_prog=ld
5547     ;;
5548   *)
5549     # If it is relative, then search for the first ld in PATH.
5550     with_gnu_ld=unknown
5551     ;;
5552   esac
5553 elif test "$with_gnu_ld" = yes; then
5554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5555 $as_echo_n "checking for GNU ld... " >&6; }
5556 else
5557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5558 $as_echo_n "checking for non-GNU ld... " >&6; }
5559 fi
5560 if ${lt_cv_path_LD+:} false; then :
5561   $as_echo_n "(cached) " >&6
5562 else
5563   if test -z "$LD"; then
5564   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5565   for ac_dir in $PATH; do
5566     IFS="$lt_save_ifs"
5567     test -z "$ac_dir" && ac_dir=.
5568     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5569       lt_cv_path_LD="$ac_dir/$ac_prog"
5570       # Check to see if the program is GNU ld.  I'd rather use --version,
5571       # but apparently some variants of GNU ld only accept -v.
5572       # Break only if it was the GNU/non-GNU ld that we prefer.
5573       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5574       *GNU* | *'with BFD'*)
5575         test "$with_gnu_ld" != no && break
5576         ;;
5577       *)
5578         test "$with_gnu_ld" != yes && break
5579         ;;
5580       esac
5581     fi
5582   done
5583   IFS="$lt_save_ifs"
5584 else
5585   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5586 fi
5587 fi
5588
5589 LD="$lt_cv_path_LD"
5590 if test -n "$LD"; then
5591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5592 $as_echo "$LD" >&6; }
5593 else
5594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5596 fi
5597 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5599 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5600 if ${lt_cv_prog_gnu_ld+:} false; then :
5601   $as_echo_n "(cached) " >&6
5602 else
5603   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5604 case `$LD -v 2>&1 </dev/null` in
5605 *GNU* | *'with BFD'*)
5606   lt_cv_prog_gnu_ld=yes
5607   ;;
5608 *)
5609   lt_cv_prog_gnu_ld=no
5610   ;;
5611 esac
5612 fi
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5614 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5615 with_gnu_ld=$lt_cv_prog_gnu_ld
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5626 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5627 if ${lt_cv_path_NM+:} false; then :
5628   $as_echo_n "(cached) " >&6
5629 else
5630   if test -n "$NM"; then
5631   # Let the user override the test.
5632   lt_cv_path_NM="$NM"
5633 else
5634   lt_nm_to_check="${ac_tool_prefix}nm"
5635   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5636     lt_nm_to_check="$lt_nm_to_check nm"
5637   fi
5638   for lt_tmp_nm in $lt_nm_to_check; do
5639     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5640     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5641       IFS="$lt_save_ifs"
5642       test -z "$ac_dir" && ac_dir=.
5643       tmp_nm="$ac_dir/$lt_tmp_nm"
5644       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5645         # Check to see if the nm accepts a BSD-compat flag.
5646         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5647         #   nm: unknown option "B" ignored
5648         # Tru64's nm complains that /dev/null is an invalid object file
5649         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5650         */dev/null* | *'Invalid file or object type'*)
5651           lt_cv_path_NM="$tmp_nm -B"
5652           break
5653           ;;
5654         *)
5655           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5656           */dev/null*)
5657             lt_cv_path_NM="$tmp_nm -p"
5658             break
5659             ;;
5660           *)
5661             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5662             continue # so that we can try to find one that supports BSD flags
5663             ;;
5664           esac
5665           ;;
5666         esac
5667       fi
5668     done
5669     IFS="$lt_save_ifs"
5670   done
5671   : ${lt_cv_path_NM=no}
5672 fi
5673 fi
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5675 $as_echo "$lt_cv_path_NM" >&6; }
5676 if test "$lt_cv_path_NM" != "no"; then
5677   NM="$lt_cv_path_NM"
5678 else
5679   # Didn't find any BSD compatible name lister, look for dumpbin.
5680   if test -n "$DUMPBIN"; then :
5681     # Let the user override the test.
5682   else
5683     if test -n "$ac_tool_prefix"; then
5684   for ac_prog in dumpbin "link -dump"
5685   do
5686     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5687 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5689 $as_echo_n "checking for $ac_word... " >&6; }
5690 if ${ac_cv_prog_DUMPBIN+:} false; then :
5691   $as_echo_n "(cached) " >&6
5692 else
5693   if test -n "$DUMPBIN"; then
5694   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5695 else
5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 for as_dir in $PATH
5698 do
5699   IFS=$as_save_IFS
5700   test -z "$as_dir" && as_dir=.
5701     for ac_exec_ext in '' $ac_executable_extensions; do
5702   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5703     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5704     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705     break 2
5706   fi
5707 done
5708   done
5709 IFS=$as_save_IFS
5710
5711 fi
5712 fi
5713 DUMPBIN=$ac_cv_prog_DUMPBIN
5714 if test -n "$DUMPBIN"; then
5715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5716 $as_echo "$DUMPBIN" >&6; }
5717 else
5718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 $as_echo "no" >&6; }
5720 fi
5721
5722
5723     test -n "$DUMPBIN" && break
5724   done
5725 fi
5726 if test -z "$DUMPBIN"; then
5727   ac_ct_DUMPBIN=$DUMPBIN
5728   for ac_prog in dumpbin "link -dump"
5729 do
5730   # Extract the first word of "$ac_prog", so it can be a program name with args.
5731 set dummy $ac_prog; ac_word=$2
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5733 $as_echo_n "checking for $ac_word... " >&6; }
5734 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5735   $as_echo_n "(cached) " >&6
5736 else
5737   if test -n "$ac_ct_DUMPBIN"; then
5738   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5739 else
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH
5742 do
5743   IFS=$as_save_IFS
5744   test -z "$as_dir" && as_dir=.
5745     for ac_exec_ext in '' $ac_executable_extensions; do
5746   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5747     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5749     break 2
5750   fi
5751 done
5752   done
5753 IFS=$as_save_IFS
5754
5755 fi
5756 fi
5757 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5758 if test -n "$ac_ct_DUMPBIN"; then
5759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5760 $as_echo "$ac_ct_DUMPBIN" >&6; }
5761 else
5762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763 $as_echo "no" >&6; }
5764 fi
5765
5766
5767   test -n "$ac_ct_DUMPBIN" && break
5768 done
5769
5770   if test "x$ac_ct_DUMPBIN" = x; then
5771     DUMPBIN=":"
5772   else
5773     case $cross_compiling:$ac_tool_warned in
5774 yes:)
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5777 ac_tool_warned=yes ;;
5778 esac
5779     DUMPBIN=$ac_ct_DUMPBIN
5780   fi
5781 fi
5782
5783     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5784     *COFF*)
5785       DUMPBIN="$DUMPBIN -symbols"
5786       ;;
5787     *)
5788       DUMPBIN=:
5789       ;;
5790     esac
5791   fi
5792
5793   if test "$DUMPBIN" != ":"; then
5794     NM="$DUMPBIN"
5795   fi
5796 fi
5797 test -z "$NM" && NM=nm
5798
5799
5800
5801
5802
5803
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5805 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5806 if ${lt_cv_nm_interface+:} false; then :
5807   $as_echo_n "(cached) " >&6
5808 else
5809   lt_cv_nm_interface="BSD nm"
5810   echo "int some_variable = 0;" > conftest.$ac_ext
5811   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5812   (eval "$ac_compile" 2>conftest.err)
5813   cat conftest.err >&5
5814   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5815   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5816   cat conftest.err >&5
5817   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5818   cat conftest.out >&5
5819   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5820     lt_cv_nm_interface="MS dumpbin"
5821   fi
5822   rm -f conftest*
5823 fi
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5825 $as_echo "$lt_cv_nm_interface" >&6; }
5826
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5828 $as_echo_n "checking whether ln -s works... " >&6; }
5829 LN_S=$as_ln_s
5830 if test "$LN_S" = "ln -s"; then
5831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5832 $as_echo "yes" >&6; }
5833 else
5834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5835 $as_echo "no, using $LN_S" >&6; }
5836 fi
5837
5838 # find the maximum length of command line arguments
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5840 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5841 if ${lt_cv_sys_max_cmd_len+:} false; then :
5842   $as_echo_n "(cached) " >&6
5843 else
5844     i=0
5845   teststring="ABCD"
5846
5847   case $build_os in
5848   msdosdjgpp*)
5849     # On DJGPP, this test can blow up pretty badly due to problems in libc
5850     # (any single argument exceeding 2000 bytes causes a buffer overrun
5851     # during glob expansion).  Even if it were fixed, the result of this
5852     # check would be larger than it should be.
5853     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5854     ;;
5855
5856   gnu*)
5857     # Under GNU Hurd, this test is not required because there is
5858     # no limit to the length of command line arguments.
5859     # Libtool will interpret -1 as no limit whatsoever
5860     lt_cv_sys_max_cmd_len=-1;
5861     ;;
5862
5863   cygwin* | mingw* | cegcc*)
5864     # On Win9x/ME, this test blows up -- it succeeds, but takes
5865     # about 5 minutes as the teststring grows exponentially.
5866     # Worse, since 9x/ME are not pre-emptively multitasking,
5867     # you end up with a "frozen" computer, even though with patience
5868     # the test eventually succeeds (with a max line length of 256k).
5869     # Instead, let's just punt: use the minimum linelength reported by
5870     # all of the supported platforms: 8192 (on NT/2K/XP).
5871     lt_cv_sys_max_cmd_len=8192;
5872     ;;
5873
5874   mint*)
5875     # On MiNT this can take a long time and run out of memory.
5876     lt_cv_sys_max_cmd_len=8192;
5877     ;;
5878
5879   amigaos*)
5880     # On AmigaOS with pdksh, this test takes hours, literally.
5881     # So we just punt and use a minimum line length of 8192.
5882     lt_cv_sys_max_cmd_len=8192;
5883     ;;
5884
5885   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5886     # This has been around since 386BSD, at least.  Likely further.
5887     if test -x /sbin/sysctl; then
5888       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5889     elif test -x /usr/sbin/sysctl; then
5890       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5891     else
5892       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5893     fi
5894     # And add a safety zone
5895     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5896     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5897     ;;
5898
5899   interix*)
5900     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5901     lt_cv_sys_max_cmd_len=196608
5902     ;;
5903
5904   os2*)
5905     # The test takes a long time on OS/2.
5906     lt_cv_sys_max_cmd_len=8192
5907     ;;
5908
5909   osf*)
5910     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5911     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5912     # nice to cause kernel panics so lets avoid the loop below.
5913     # First set a reasonable default.
5914     lt_cv_sys_max_cmd_len=16384
5915     #
5916     if test -x /sbin/sysconfig; then
5917       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5918         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5919       esac
5920     fi
5921     ;;
5922   sco3.2v5*)
5923     lt_cv_sys_max_cmd_len=102400
5924     ;;
5925   sysv5* | sco5v6* | sysv4.2uw2*)
5926     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5927     if test -n "$kargmax"; then
5928       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5929     else
5930       lt_cv_sys_max_cmd_len=32768
5931     fi
5932     ;;
5933   *)
5934     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5935     if test -n "$lt_cv_sys_max_cmd_len"; then
5936       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5937       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5938     else
5939       # Make teststring a little bigger before we do anything with it.
5940       # a 1K string should be a reasonable start.
5941       for i in 1 2 3 4 5 6 7 8 ; do
5942         teststring=$teststring$teststring
5943       done
5944       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5945       # If test is not a shell built-in, we'll probably end up computing a
5946       # maximum length that is only half of the actual maximum length, but
5947       # we can't tell.
5948       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5949                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5950               test $i != 17 # 1/2 MB should be enough
5951       do
5952         i=`expr $i + 1`
5953         teststring=$teststring$teststring
5954       done
5955       # Only check the string length outside the loop.
5956       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5957       teststring=
5958       # Add a significant safety factor because C++ compilers can tack on
5959       # massive amounts of additional arguments before passing them to the
5960       # linker.  It appears as though 1/2 is a usable value.
5961       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5962     fi
5963     ;;
5964   esac
5965
5966 fi
5967
5968 if test -n $lt_cv_sys_max_cmd_len ; then
5969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5970 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5971 else
5972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5973 $as_echo "none" >&6; }
5974 fi
5975 max_cmd_len=$lt_cv_sys_max_cmd_len
5976
5977
5978
5979
5980
5981
5982 : ${CP="cp -f"}
5983 : ${MV="mv -f"}
5984 : ${RM="rm -f"}
5985
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5987 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5988 # Try some XSI features
5989 xsi_shell=no
5990 ( _lt_dummy="a/b/c"
5991   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5992       = c,a/b,b/c, \
5993     && eval 'test $(( 1 + 1 )) -eq 2 \
5994     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5995   && xsi_shell=yes
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5997 $as_echo "$xsi_shell" >&6; }
5998
5999
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6001 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6002 lt_shell_append=no
6003 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6004     >/dev/null 2>&1 \
6005   && lt_shell_append=yes
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6007 $as_echo "$lt_shell_append" >&6; }
6008
6009
6010 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6011   lt_unset=unset
6012 else
6013   lt_unset=false
6014 fi
6015
6016
6017
6018
6019
6020 # test EBCDIC or ASCII
6021 case `echo X|tr X '\101'` in
6022  A) # ASCII based system
6023     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6024   lt_SP2NL='tr \040 \012'
6025   lt_NL2SP='tr \015\012 \040\040'
6026   ;;
6027  *) # EBCDIC based system
6028   lt_SP2NL='tr \100 \n'
6029   lt_NL2SP='tr \r\n \100\100'
6030   ;;
6031 esac
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6042 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6043 if ${lt_cv_to_host_file_cmd+:} false; then :
6044   $as_echo_n "(cached) " >&6
6045 else
6046   case $host in
6047   *-*-mingw* )
6048     case $build in
6049       *-*-mingw* ) # actually msys
6050         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6051         ;;
6052       *-*-cygwin* )
6053         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6054         ;;
6055       * ) # otherwise, assume *nix
6056         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6057         ;;
6058     esac
6059     ;;
6060   *-*-cygwin* )
6061     case $build in
6062       *-*-mingw* ) # actually msys
6063         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6064         ;;
6065       *-*-cygwin* )
6066         lt_cv_to_host_file_cmd=func_convert_file_noop
6067         ;;
6068       * ) # otherwise, assume *nix
6069         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6070         ;;
6071     esac
6072     ;;
6073   * ) # unhandled hosts (and "normal" native builds)
6074     lt_cv_to_host_file_cmd=func_convert_file_noop
6075     ;;
6076 esac
6077
6078 fi
6079
6080 to_host_file_cmd=$lt_cv_to_host_file_cmd
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6082 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6083
6084
6085
6086
6087
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6089 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6090 if ${lt_cv_to_tool_file_cmd+:} false; then :
6091   $as_echo_n "(cached) " >&6
6092 else
6093   #assume ordinary cross tools, or native build.
6094 lt_cv_to_tool_file_cmd=func_convert_file_noop
6095 case $host in
6096   *-*-mingw* )
6097     case $build in
6098       *-*-mingw* ) # actually msys
6099         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6100         ;;
6101     esac
6102     ;;
6103 esac
6104
6105 fi
6106
6107 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6109 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6110
6111
6112
6113
6114
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6116 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6117 if ${lt_cv_ld_reload_flag+:} false; then :
6118   $as_echo_n "(cached) " >&6
6119 else
6120   lt_cv_ld_reload_flag='-r'
6121 fi
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6123 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6124 reload_flag=$lt_cv_ld_reload_flag
6125 case $reload_flag in
6126 "" | " "*) ;;
6127 *) reload_flag=" $reload_flag" ;;
6128 esac
6129 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6130 case $host_os in
6131   cygwin* | mingw* | pw32* | cegcc*)
6132     if test "$GCC" != yes; then
6133       reload_cmds=false
6134     fi
6135     ;;
6136   darwin*)
6137     if test "$GCC" = yes; then
6138       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6139     else
6140       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6141     fi
6142     ;;
6143 esac
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153 if test -n "$ac_tool_prefix"; then
6154   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6155 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157 $as_echo_n "checking for $ac_word... " >&6; }
6158 if ${ac_cv_prog_OBJDUMP+:} false; then :
6159   $as_echo_n "(cached) " >&6
6160 else
6161   if test -n "$OBJDUMP"; then
6162   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6163 else
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165 for as_dir in $PATH
6166 do
6167   IFS=$as_save_IFS
6168   test -z "$as_dir" && as_dir=.
6169     for ac_exec_ext in '' $ac_executable_extensions; do
6170   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6171     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6173     break 2
6174   fi
6175 done
6176   done
6177 IFS=$as_save_IFS
6178
6179 fi
6180 fi
6181 OBJDUMP=$ac_cv_prog_OBJDUMP
6182 if test -n "$OBJDUMP"; then
6183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6184 $as_echo "$OBJDUMP" >&6; }
6185 else
6186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187 $as_echo "no" >&6; }
6188 fi
6189
6190
6191 fi
6192 if test -z "$ac_cv_prog_OBJDUMP"; then
6193   ac_ct_OBJDUMP=$OBJDUMP
6194   # Extract the first word of "objdump", so it can be a program name with args.
6195 set dummy objdump; ac_word=$2
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197 $as_echo_n "checking for $ac_word... " >&6; }
6198 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6199   $as_echo_n "(cached) " >&6
6200 else
6201   if test -n "$ac_ct_OBJDUMP"; then
6202   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6203 else
6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205 for as_dir in $PATH
6206 do
6207   IFS=$as_save_IFS
6208   test -z "$as_dir" && as_dir=.
6209     for ac_exec_ext in '' $ac_executable_extensions; do
6210   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6211     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213     break 2
6214   fi
6215 done
6216   done
6217 IFS=$as_save_IFS
6218
6219 fi
6220 fi
6221 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6222 if test -n "$ac_ct_OBJDUMP"; then
6223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6224 $as_echo "$ac_ct_OBJDUMP" >&6; }
6225 else
6226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227 $as_echo "no" >&6; }
6228 fi
6229
6230   if test "x$ac_ct_OBJDUMP" = x; then
6231     OBJDUMP="false"
6232   else
6233     case $cross_compiling:$ac_tool_warned in
6234 yes:)
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6237 ac_tool_warned=yes ;;
6238 esac
6239     OBJDUMP=$ac_ct_OBJDUMP
6240   fi
6241 else
6242   OBJDUMP="$ac_cv_prog_OBJDUMP"
6243 fi
6244
6245 test -z "$OBJDUMP" && OBJDUMP=objdump
6246
6247
6248
6249
6250
6251
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6253 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6254 if ${lt_cv_deplibs_check_method+:} false; then :
6255   $as_echo_n "(cached) " >&6
6256 else
6257   lt_cv_file_magic_cmd='$MAGIC_CMD'
6258 lt_cv_file_magic_test_file=
6259 lt_cv_deplibs_check_method='unknown'
6260 # Need to set the preceding variable on all platforms that support
6261 # interlibrary dependencies.
6262 # 'none' -- dependencies not supported.
6263 # `unknown' -- same as none, but documents that we really don't know.
6264 # 'pass_all' -- all dependencies passed with no checks.
6265 # 'test_compile' -- check by making test program.
6266 # 'file_magic [[regex]]' -- check by looking for files in library path
6267 # which responds to the $file_magic_cmd with a given extended regex.
6268 # If you have `file' or equivalent on your system and you're not sure
6269 # whether `pass_all' will *always* work, you probably want this one.
6270
6271 case $host_os in
6272 aix[4-9]*)
6273   lt_cv_deplibs_check_method=pass_all
6274   ;;
6275
6276 beos*)
6277   lt_cv_deplibs_check_method=pass_all
6278   ;;
6279
6280 bsdi[45]*)
6281   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6282   lt_cv_file_magic_cmd='/usr/bin/file -L'
6283   lt_cv_file_magic_test_file=/shlib/libc.so
6284   ;;
6285
6286 cygwin*)
6287   # func_win32_libid is a shell function defined in ltmain.sh
6288   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6289   lt_cv_file_magic_cmd='func_win32_libid'
6290   ;;
6291
6292 mingw* | pw32*)
6293   # Base MSYS/MinGW do not provide the 'file' command needed by
6294   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6295   # unless we find 'file', for example because we are cross-compiling.
6296   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6297   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6298     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6299     lt_cv_file_magic_cmd='func_win32_libid'
6300   else
6301     # Keep this pattern in sync with the one in func_win32_libid.
6302     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6303     lt_cv_file_magic_cmd='$OBJDUMP -f'
6304   fi
6305   ;;
6306
6307 cegcc*)
6308   # use the weaker test based on 'objdump'. See mingw*.
6309   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6310   lt_cv_file_magic_cmd='$OBJDUMP -f'
6311   ;;
6312
6313 darwin* | rhapsody*)
6314   lt_cv_deplibs_check_method=pass_all
6315   ;;
6316
6317 freebsd* | dragonfly*)
6318   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6319     case $host_cpu in
6320     i*86 )
6321       # Not sure whether the presence of OpenBSD here was a mistake.
6322       # Let's accept both of them until this is cleared up.
6323       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6324       lt_cv_file_magic_cmd=/usr/bin/file
6325       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6326       ;;
6327     esac
6328   else
6329     lt_cv_deplibs_check_method=pass_all
6330   fi
6331   ;;
6332
6333 gnu*)
6334   lt_cv_deplibs_check_method=pass_all
6335   ;;
6336
6337 haiku*)
6338   lt_cv_deplibs_check_method=pass_all
6339   ;;
6340
6341 hpux10.20* | hpux11*)
6342   lt_cv_file_magic_cmd=/usr/bin/file
6343   case $host_cpu in
6344   ia64*)
6345     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6346     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6347     ;;
6348   hppa*64*)
6349     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]'
6350     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6351     ;;
6352   *)
6353     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6354     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6355     ;;
6356   esac
6357   ;;
6358
6359 interix[3-9]*)
6360   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6361   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6362   ;;
6363
6364 irix5* | irix6* | nonstopux*)
6365   case $LD in
6366   *-32|*"-32 ") libmagic=32-bit;;
6367   *-n32|*"-n32 ") libmagic=N32;;
6368   *-64|*"-64 ") libmagic=64-bit;;
6369   *) libmagic=never-match;;
6370   esac
6371   lt_cv_deplibs_check_method=pass_all
6372   ;;
6373
6374 # This must be glibc/ELF.
6375 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6376   lt_cv_deplibs_check_method=pass_all
6377   ;;
6378
6379 netbsd* | netbsdelf*-gnu)
6380   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6381     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6382   else
6383     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6384   fi
6385   ;;
6386
6387 newos6*)
6388   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6389   lt_cv_file_magic_cmd=/usr/bin/file
6390   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6391   ;;
6392
6393 *nto* | *qnx*)
6394   lt_cv_deplibs_check_method=pass_all
6395   ;;
6396
6397 openbsd*)
6398   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6399     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6400   else
6401     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6402   fi
6403   ;;
6404
6405 osf3* | osf4* | osf5*)
6406   lt_cv_deplibs_check_method=pass_all
6407   ;;
6408
6409 rdos*)
6410   lt_cv_deplibs_check_method=pass_all
6411   ;;
6412
6413 solaris*)
6414   lt_cv_deplibs_check_method=pass_all
6415   ;;
6416
6417 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6418   lt_cv_deplibs_check_method=pass_all
6419   ;;
6420
6421 sysv4 | sysv4.3*)
6422   case $host_vendor in
6423   motorola)
6424     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]'
6425     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6426     ;;
6427   ncr)
6428     lt_cv_deplibs_check_method=pass_all
6429     ;;
6430   sequent)
6431     lt_cv_file_magic_cmd='/bin/file'
6432     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6433     ;;
6434   sni)
6435     lt_cv_file_magic_cmd='/bin/file'
6436     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6437     lt_cv_file_magic_test_file=/lib/libc.so
6438     ;;
6439   siemens)
6440     lt_cv_deplibs_check_method=pass_all
6441     ;;
6442   pc)
6443     lt_cv_deplibs_check_method=pass_all
6444     ;;
6445   esac
6446   ;;
6447
6448 tpf*)
6449   lt_cv_deplibs_check_method=pass_all
6450   ;;
6451 esac
6452
6453 fi
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6455 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6456
6457 file_magic_glob=
6458 want_nocaseglob=no
6459 if test "$build" = "$host"; then
6460   case $host_os in
6461   mingw* | pw32*)
6462     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6463       want_nocaseglob=yes
6464     else
6465       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6466     fi
6467     ;;
6468   esac
6469 fi
6470
6471 file_magic_cmd=$lt_cv_file_magic_cmd
6472 deplibs_check_method=$lt_cv_deplibs_check_method
6473 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496 if test -n "$ac_tool_prefix"; then
6497   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6498 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6500 $as_echo_n "checking for $ac_word... " >&6; }
6501 if ${ac_cv_prog_DLLTOOL+:} false; then :
6502   $as_echo_n "(cached) " >&6
6503 else
6504   if test -n "$DLLTOOL"; then
6505   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6506 else
6507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6508 for as_dir in $PATH
6509 do
6510   IFS=$as_save_IFS
6511   test -z "$as_dir" && as_dir=.
6512     for ac_exec_ext in '' $ac_executable_extensions; do
6513   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6514     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6516     break 2
6517   fi
6518 done
6519   done
6520 IFS=$as_save_IFS
6521
6522 fi
6523 fi
6524 DLLTOOL=$ac_cv_prog_DLLTOOL
6525 if test -n "$DLLTOOL"; then
6526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6527 $as_echo "$DLLTOOL" >&6; }
6528 else
6529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6530 $as_echo "no" >&6; }
6531 fi
6532
6533
6534 fi
6535 if test -z "$ac_cv_prog_DLLTOOL"; then
6536   ac_ct_DLLTOOL=$DLLTOOL
6537   # Extract the first word of "dlltool", so it can be a program name with args.
6538 set dummy dlltool; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6542   $as_echo_n "(cached) " >&6
6543 else
6544   if test -n "$ac_ct_DLLTOOL"; then
6545   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6546 else
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 for as_dir in $PATH
6549 do
6550   IFS=$as_save_IFS
6551   test -z "$as_dir" && as_dir=.
6552     for ac_exec_ext in '' $ac_executable_extensions; do
6553   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6555     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556     break 2
6557   fi
6558 done
6559   done
6560 IFS=$as_save_IFS
6561
6562 fi
6563 fi
6564 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6565 if test -n "$ac_ct_DLLTOOL"; then
6566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6567 $as_echo "$ac_ct_DLLTOOL" >&6; }
6568 else
6569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6571 fi
6572
6573   if test "x$ac_ct_DLLTOOL" = x; then
6574     DLLTOOL="false"
6575   else
6576     case $cross_compiling:$ac_tool_warned in
6577 yes:)
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6580 ac_tool_warned=yes ;;
6581 esac
6582     DLLTOOL=$ac_ct_DLLTOOL
6583   fi
6584 else
6585   DLLTOOL="$ac_cv_prog_DLLTOOL"
6586 fi
6587
6588 test -z "$DLLTOOL" && DLLTOOL=dlltool
6589
6590
6591
6592
6593
6594
6595
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6597 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6598 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6599   $as_echo_n "(cached) " >&6
6600 else
6601   lt_cv_sharedlib_from_linklib_cmd='unknown'
6602
6603 case $host_os in
6604 cygwin* | mingw* | pw32* | cegcc*)
6605   # two different shell functions defined in ltmain.sh
6606   # decide which to use based on capabilities of $DLLTOOL
6607   case `$DLLTOOL --help 2>&1` in
6608   *--identify-strict*)
6609     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6610     ;;
6611   *)
6612     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6613     ;;
6614   esac
6615   ;;
6616 *)
6617   # fallback: assume linklib IS sharedlib
6618   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6619   ;;
6620 esac
6621
6622 fi
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6624 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6625 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6626 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6627
6628
6629
6630
6631
6632
6633
6634
6635 if test -n "$ac_tool_prefix"; then
6636   for ac_prog in ar
6637   do
6638     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6639 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6641 $as_echo_n "checking for $ac_word... " >&6; }
6642 if ${ac_cv_prog_AR+:} false; then :
6643   $as_echo_n "(cached) " >&6
6644 else
6645   if test -n "$AR"; then
6646   ac_cv_prog_AR="$AR" # Let the user override the test.
6647 else
6648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6649 for as_dir in $PATH
6650 do
6651   IFS=$as_save_IFS
6652   test -z "$as_dir" && as_dir=.
6653     for ac_exec_ext in '' $ac_executable_extensions; do
6654   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6655     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6656     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6657     break 2
6658   fi
6659 done
6660   done
6661 IFS=$as_save_IFS
6662
6663 fi
6664 fi
6665 AR=$ac_cv_prog_AR
6666 if test -n "$AR"; then
6667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6668 $as_echo "$AR" >&6; }
6669 else
6670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671 $as_echo "no" >&6; }
6672 fi
6673
6674
6675     test -n "$AR" && break
6676   done
6677 fi
6678 if test -z "$AR"; then
6679   ac_ct_AR=$AR
6680   for ac_prog in ar
6681 do
6682   # Extract the first word of "$ac_prog", so it can be a program name with args.
6683 set dummy $ac_prog; ac_word=$2
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 $as_echo_n "checking for $ac_word... " >&6; }
6686 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6687   $as_echo_n "(cached) " >&6
6688 else
6689   if test -n "$ac_ct_AR"; then
6690   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6691 else
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 for as_dir in $PATH
6694 do
6695   IFS=$as_save_IFS
6696   test -z "$as_dir" && as_dir=.
6697     for ac_exec_ext in '' $ac_executable_extensions; do
6698   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6699     ac_cv_prog_ac_ct_AR="$ac_prog"
6700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6701     break 2
6702   fi
6703 done
6704   done
6705 IFS=$as_save_IFS
6706
6707 fi
6708 fi
6709 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6710 if test -n "$ac_ct_AR"; then
6711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6712 $as_echo "$ac_ct_AR" >&6; }
6713 else
6714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 $as_echo "no" >&6; }
6716 fi
6717
6718
6719   test -n "$ac_ct_AR" && break
6720 done
6721
6722   if test "x$ac_ct_AR" = x; then
6723     AR="false"
6724   else
6725     case $cross_compiling:$ac_tool_warned in
6726 yes:)
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6729 ac_tool_warned=yes ;;
6730 esac
6731     AR=$ac_ct_AR
6732   fi
6733 fi
6734
6735 : ${AR=ar}
6736 : ${AR_FLAGS=cru}
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6749 $as_echo_n "checking for archiver @FILE support... " >&6; }
6750 if ${lt_cv_ar_at_file+:} false; then :
6751   $as_echo_n "(cached) " >&6
6752 else
6753   lt_cv_ar_at_file=no
6754    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6755 /* end confdefs.h.  */
6756
6757 int
6758 main ()
6759 {
6760
6761   ;
6762   return 0;
6763 }
6764 _ACEOF
6765 if ac_fn_c_try_compile "$LINENO"; then :
6766   echo conftest.$ac_objext > conftest.lst
6767       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6768       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6769   (eval $lt_ar_try) 2>&5
6770   ac_status=$?
6771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6772   test $ac_status = 0; }
6773       if test "$ac_status" -eq 0; then
6774         # Ensure the archiver fails upon bogus file names.
6775         rm -f conftest.$ac_objext libconftest.a
6776         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6777   (eval $lt_ar_try) 2>&5
6778   ac_status=$?
6779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6780   test $ac_status = 0; }
6781         if test "$ac_status" -ne 0; then
6782           lt_cv_ar_at_file=@
6783         fi
6784       fi
6785       rm -f conftest.* libconftest.a
6786
6787 fi
6788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6789
6790 fi
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6792 $as_echo "$lt_cv_ar_at_file" >&6; }
6793
6794 if test "x$lt_cv_ar_at_file" = xno; then
6795   archiver_list_spec=
6796 else
6797   archiver_list_spec=$lt_cv_ar_at_file
6798 fi
6799
6800
6801
6802
6803
6804
6805
6806 if test -n "$ac_tool_prefix"; then
6807   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6808 set dummy ${ac_tool_prefix}strip; ac_word=$2
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6810 $as_echo_n "checking for $ac_word... " >&6; }
6811 if ${ac_cv_prog_STRIP+:} false; then :
6812   $as_echo_n "(cached) " >&6
6813 else
6814   if test -n "$STRIP"; then
6815   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6816 else
6817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6818 for as_dir in $PATH
6819 do
6820   IFS=$as_save_IFS
6821   test -z "$as_dir" && as_dir=.
6822     for ac_exec_ext in '' $ac_executable_extensions; do
6823   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6824     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6826     break 2
6827   fi
6828 done
6829   done
6830 IFS=$as_save_IFS
6831
6832 fi
6833 fi
6834 STRIP=$ac_cv_prog_STRIP
6835 if test -n "$STRIP"; then
6836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6837 $as_echo "$STRIP" >&6; }
6838 else
6839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6840 $as_echo "no" >&6; }
6841 fi
6842
6843
6844 fi
6845 if test -z "$ac_cv_prog_STRIP"; then
6846   ac_ct_STRIP=$STRIP
6847   # Extract the first word of "strip", so it can be a program name with args.
6848 set dummy strip; ac_word=$2
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 $as_echo_n "checking for $ac_word... " >&6; }
6851 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6852   $as_echo_n "(cached) " >&6
6853 else
6854   if test -n "$ac_ct_STRIP"; then
6855   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6856 else
6857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6858 for as_dir in $PATH
6859 do
6860   IFS=$as_save_IFS
6861   test -z "$as_dir" && as_dir=.
6862     for ac_exec_ext in '' $ac_executable_extensions; do
6863   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6864     ac_cv_prog_ac_ct_STRIP="strip"
6865     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6866     break 2
6867   fi
6868 done
6869   done
6870 IFS=$as_save_IFS
6871
6872 fi
6873 fi
6874 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6875 if test -n "$ac_ct_STRIP"; then
6876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6877 $as_echo "$ac_ct_STRIP" >&6; }
6878 else
6879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6881 fi
6882
6883   if test "x$ac_ct_STRIP" = x; then
6884     STRIP=":"
6885   else
6886     case $cross_compiling:$ac_tool_warned in
6887 yes:)
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6890 ac_tool_warned=yes ;;
6891 esac
6892     STRIP=$ac_ct_STRIP
6893   fi
6894 else
6895   STRIP="$ac_cv_prog_STRIP"
6896 fi
6897
6898 test -z "$STRIP" && STRIP=:
6899
6900
6901
6902
6903
6904
6905 if test -n "$ac_tool_prefix"; then
6906   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6907 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909 $as_echo_n "checking for $ac_word... " >&6; }
6910 if ${ac_cv_prog_RANLIB+:} false; then :
6911   $as_echo_n "(cached) " >&6
6912 else
6913   if test -n "$RANLIB"; then
6914   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6915 else
6916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6917 for as_dir in $PATH
6918 do
6919   IFS=$as_save_IFS
6920   test -z "$as_dir" && as_dir=.
6921     for ac_exec_ext in '' $ac_executable_extensions; do
6922   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6923     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6924     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6925     break 2
6926   fi
6927 done
6928   done
6929 IFS=$as_save_IFS
6930
6931 fi
6932 fi
6933 RANLIB=$ac_cv_prog_RANLIB
6934 if test -n "$RANLIB"; then
6935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6936 $as_echo "$RANLIB" >&6; }
6937 else
6938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939 $as_echo "no" >&6; }
6940 fi
6941
6942
6943 fi
6944 if test -z "$ac_cv_prog_RANLIB"; then
6945   ac_ct_RANLIB=$RANLIB
6946   # Extract the first word of "ranlib", so it can be a program name with args.
6947 set dummy ranlib; ac_word=$2
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6949 $as_echo_n "checking for $ac_word... " >&6; }
6950 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6951   $as_echo_n "(cached) " >&6
6952 else
6953   if test -n "$ac_ct_RANLIB"; then
6954   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6955 else
6956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957 for as_dir in $PATH
6958 do
6959   IFS=$as_save_IFS
6960   test -z "$as_dir" && as_dir=.
6961     for ac_exec_ext in '' $ac_executable_extensions; do
6962   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6963     ac_cv_prog_ac_ct_RANLIB="ranlib"
6964     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6965     break 2
6966   fi
6967 done
6968   done
6969 IFS=$as_save_IFS
6970
6971 fi
6972 fi
6973 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6974 if test -n "$ac_ct_RANLIB"; then
6975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6976 $as_echo "$ac_ct_RANLIB" >&6; }
6977 else
6978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6979 $as_echo "no" >&6; }
6980 fi
6981
6982   if test "x$ac_ct_RANLIB" = x; then
6983     RANLIB=":"
6984   else
6985     case $cross_compiling:$ac_tool_warned in
6986 yes:)
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6989 ac_tool_warned=yes ;;
6990 esac
6991     RANLIB=$ac_ct_RANLIB
6992   fi
6993 else
6994   RANLIB="$ac_cv_prog_RANLIB"
6995 fi
6996
6997 test -z "$RANLIB" && RANLIB=:
6998
6999
7000
7001
7002
7003
7004 # Determine commands to create old-style static archives.
7005 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7006 old_postinstall_cmds='chmod 644 $oldlib'
7007 old_postuninstall_cmds=
7008
7009 if test -n "$RANLIB"; then
7010   case $host_os in
7011   openbsd*)
7012     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7013     ;;
7014   *)
7015     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7016     ;;
7017   esac
7018   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7019 fi
7020
7021 case $host_os in
7022   darwin*)
7023     lock_old_archive_extraction=yes ;;
7024   *)
7025     lock_old_archive_extraction=no ;;
7026 esac
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066 # If no C compiler was specified, use CC.
7067 LTCC=${LTCC-"$CC"}
7068
7069 # If no C compiler flags were specified, use CFLAGS.
7070 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7071
7072 # Allow CC to be a program name with arguments.
7073 compiler=$CC
7074
7075
7076 # Check for command to grab the raw symbol name followed by C symbol from nm.
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7078 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7079 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7080   $as_echo_n "(cached) " >&6
7081 else
7082
7083 # These are sane defaults that work on at least a few old systems.
7084 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7085
7086 # Character class describing NM global symbol codes.
7087 symcode='[BCDEGRST]'
7088
7089 # Regexp to match symbols that can be accessed directly from C.
7090 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7091
7092 # Define system-specific variables.
7093 case $host_os in
7094 aix*)
7095   symcode='[BCDT]'
7096   ;;
7097 cygwin* | mingw* | pw32* | cegcc*)
7098   symcode='[ABCDGISTW]'
7099   ;;
7100 hpux*)
7101   if test "$host_cpu" = ia64; then
7102     symcode='[ABCDEGRST]'
7103   fi
7104   ;;
7105 irix* | nonstopux*)
7106   symcode='[BCDEGRST]'
7107   ;;
7108 osf*)
7109   symcode='[BCDEGQRST]'
7110   ;;
7111 solaris*)
7112   symcode='[BDRT]'
7113   ;;
7114 sco3.2v5*)
7115   symcode='[DT]'
7116   ;;
7117 sysv4.2uw2*)
7118   symcode='[DT]'
7119   ;;
7120 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7121   symcode='[ABDT]'
7122   ;;
7123 sysv4)
7124   symcode='[DFNSTU]'
7125   ;;
7126 esac
7127
7128 # If we're using GNU nm, then use its standard symbol codes.
7129 case `$NM -V 2>&1` in
7130 *GNU* | *'with BFD'*)
7131   symcode='[ABCDGIRSTW]' ;;
7132 esac
7133
7134 # Transform an extracted symbol line into a proper C declaration.
7135 # Some systems (esp. on ia64) link data and code symbols differently,
7136 # so use this general approach.
7137 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7138
7139 # Transform an extracted symbol line into symbol name and symbol address
7140 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7141 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7142
7143 # Handle CRLF in mingw tool chain
7144 opt_cr=
7145 case $build_os in
7146 mingw*)
7147   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7148   ;;
7149 esac
7150
7151 # Try without a prefix underscore, then with it.
7152 for ac_symprfx in "" "_"; do
7153
7154   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7155   symxfrm="\\1 $ac_symprfx\\2 \\2"
7156
7157   # Write the raw and C identifiers.
7158   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7159     # Fake it for dumpbin and say T for any non-static function
7160     # and D for any global variable.
7161     # Also find C++ and __fastcall symbols from MSVC++,
7162     # which start with @ or ?.
7163     lt_cv_sys_global_symbol_pipe="$AWK '"\
7164 "     {last_section=section; section=\$ 3};"\
7165 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7166 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7167 "     \$ 0!~/External *\|/{next};"\
7168 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7169 "     {if(hide[section]) next};"\
7170 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7171 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7172 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7173 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7174 "     ' prfx=^$ac_symprfx"
7175   else
7176     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7177   fi
7178   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7179
7180   # Check to see that the pipe works correctly.
7181   pipe_works=no
7182
7183   rm -f conftest*
7184   cat > conftest.$ac_ext <<_LT_EOF
7185 #ifdef __cplusplus
7186 extern "C" {
7187 #endif
7188 char nm_test_var;
7189 void nm_test_func(void);
7190 void nm_test_func(void){}
7191 #ifdef __cplusplus
7192 }
7193 #endif
7194 int main(){nm_test_var='a';nm_test_func();return(0);}
7195 _LT_EOF
7196
7197   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7198   (eval $ac_compile) 2>&5
7199   ac_status=$?
7200   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7201   test $ac_status = 0; }; then
7202     # Now try to grab the symbols.
7203     nlist=conftest.nm
7204     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7205   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7206   ac_status=$?
7207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7208   test $ac_status = 0; } && test -s "$nlist"; then
7209       # Try sorting and uniquifying the output.
7210       if sort "$nlist" | uniq > "$nlist"T; then
7211         mv -f "$nlist"T "$nlist"
7212       else
7213         rm -f "$nlist"T
7214       fi
7215
7216       # Make sure that we snagged all the symbols we need.
7217       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7218         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7219           cat <<_LT_EOF > conftest.$ac_ext
7220 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7221 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7222 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7223    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7224 # define LT_DLSYM_CONST
7225 #elif defined(__osf__)
7226 /* This system does not cope well with relocations in const data.  */
7227 # define LT_DLSYM_CONST
7228 #else
7229 # define LT_DLSYM_CONST const
7230 #endif
7231
7232 #ifdef __cplusplus
7233 extern "C" {
7234 #endif
7235
7236 _LT_EOF
7237           # Now generate the symbol file.
7238           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7239
7240           cat <<_LT_EOF >> conftest.$ac_ext
7241
7242 /* The mapping between symbol names and symbols.  */
7243 LT_DLSYM_CONST struct {
7244   const char *name;
7245   void       *address;
7246 }
7247 lt__PROGRAM__LTX_preloaded_symbols[] =
7248 {
7249   { "@PROGRAM@", (void *) 0 },
7250 _LT_EOF
7251           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7252           cat <<\_LT_EOF >> conftest.$ac_ext
7253   {0, (void *) 0}
7254 };
7255
7256 /* This works around a problem in FreeBSD linker */
7257 #ifdef FREEBSD_WORKAROUND
7258 static const void *lt_preloaded_setup() {
7259   return lt__PROGRAM__LTX_preloaded_symbols;
7260 }
7261 #endif
7262
7263 #ifdef __cplusplus
7264 }
7265 #endif
7266 _LT_EOF
7267           # Now try linking the two files.
7268           mv conftest.$ac_objext conftstm.$ac_objext
7269           lt_globsym_save_LIBS=$LIBS
7270           lt_globsym_save_CFLAGS=$CFLAGS
7271           LIBS="conftstm.$ac_objext"
7272           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7273           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7274   (eval $ac_link) 2>&5
7275   ac_status=$?
7276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7277   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7278             pipe_works=yes
7279           fi
7280           LIBS=$lt_globsym_save_LIBS
7281           CFLAGS=$lt_globsym_save_CFLAGS
7282         else
7283           echo "cannot find nm_test_func in $nlist" >&5
7284         fi
7285       else
7286         echo "cannot find nm_test_var in $nlist" >&5
7287       fi
7288     else
7289       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7290     fi
7291   else
7292     echo "$progname: failed program was:" >&5
7293     cat conftest.$ac_ext >&5
7294   fi
7295   rm -rf conftest* conftst*
7296
7297   # Do not use the global_symbol_pipe unless it works.
7298   if test "$pipe_works" = yes; then
7299     break
7300   else
7301     lt_cv_sys_global_symbol_pipe=
7302   fi
7303 done
7304
7305 fi
7306
7307 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7308   lt_cv_sys_global_symbol_to_cdecl=
7309 fi
7310 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7312 $as_echo "failed" >&6; }
7313 else
7314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7315 $as_echo "ok" >&6; }
7316 fi
7317
7318 # Response file support.
7319 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7320   nm_file_list_spec='@'
7321 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7322   nm_file_list_spec='@'
7323 fi
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7352 $as_echo_n "checking for sysroot... " >&6; }
7353
7354 # Check whether --with-sysroot was given.
7355 if test "${with_sysroot+set}" = set; then :
7356   withval=$with_sysroot;
7357 else
7358   with_sysroot=no
7359 fi
7360
7361
7362 lt_sysroot=
7363 case ${with_sysroot} in #(
7364  yes)
7365    if test "$GCC" = yes; then
7366      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7367    fi
7368    ;; #(
7369  /*)
7370    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7371    ;; #(
7372  no|'')
7373    ;; #(
7374  *)
7375    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7376 $as_echo "${with_sysroot}" >&6; }
7377    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7378    ;;
7379 esac
7380
7381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7382 $as_echo "${lt_sysroot:-no}" >&6; }
7383
7384
7385
7386
7387
7388 # Check whether --enable-libtool-lock was given.
7389 if test "${enable_libtool_lock+set}" = set; then :
7390   enableval=$enable_libtool_lock;
7391 fi
7392
7393 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7394
7395 # Some flags need to be propagated to the compiler or linker for good
7396 # libtool support.
7397 case $host in
7398 ia64-*-hpux*)
7399   # Find out which ABI we are using.
7400   echo 'int i;' > conftest.$ac_ext
7401   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7402   (eval $ac_compile) 2>&5
7403   ac_status=$?
7404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7405   test $ac_status = 0; }; then
7406     case `/usr/bin/file conftest.$ac_objext` in
7407       *ELF-32*)
7408         HPUX_IA64_MODE="32"
7409         ;;
7410       *ELF-64*)
7411         HPUX_IA64_MODE="64"
7412         ;;
7413     esac
7414   fi
7415   rm -rf conftest*
7416   ;;
7417 *-*-irix6*)
7418   # Find out which ABI we are using.
7419   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7420   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7421   (eval $ac_compile) 2>&5
7422   ac_status=$?
7423   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7424   test $ac_status = 0; }; then
7425     if test "$lt_cv_prog_gnu_ld" = yes; then
7426       case `/usr/bin/file conftest.$ac_objext` in
7427         *32-bit*)
7428           LD="${LD-ld} -melf32bsmip"
7429           ;;
7430         *N32*)
7431           LD="${LD-ld} -melf32bmipn32"
7432           ;;
7433         *64-bit*)
7434           LD="${LD-ld} -melf64bmip"
7435         ;;
7436       esac
7437     else
7438       case `/usr/bin/file conftest.$ac_objext` in
7439         *32-bit*)
7440           LD="${LD-ld} -32"
7441           ;;
7442         *N32*)
7443           LD="${LD-ld} -n32"
7444           ;;
7445         *64-bit*)
7446           LD="${LD-ld} -64"
7447           ;;
7448       esac
7449     fi
7450   fi
7451   rm -rf conftest*
7452   ;;
7453
7454 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7455 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7456   # Find out which ABI we are using.
7457   echo 'int i;' > conftest.$ac_ext
7458   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7459   (eval $ac_compile) 2>&5
7460   ac_status=$?
7461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7462   test $ac_status = 0; }; then
7463     case `/usr/bin/file conftest.o` in
7464       *32-bit*)
7465         case $host in
7466           x86_64-*kfreebsd*-gnu)
7467             LD="${LD-ld} -m elf_i386_fbsd"
7468             ;;
7469           x86_64-*linux*)
7470             LD="${LD-ld} -m elf_i386"
7471             ;;
7472           ppc64-*linux*|powerpc64-*linux*)
7473             LD="${LD-ld} -m elf32ppclinux"
7474             ;;
7475           s390x-*linux*)
7476             LD="${LD-ld} -m elf_s390"
7477             ;;
7478           sparc64-*linux*)
7479             LD="${LD-ld} -m elf32_sparc"
7480             ;;
7481         esac
7482         ;;
7483       *64-bit*)
7484         case $host in
7485           x86_64-*kfreebsd*-gnu)
7486             LD="${LD-ld} -m elf_x86_64_fbsd"
7487             ;;
7488           x86_64-*linux*)
7489             LD="${LD-ld} -m elf_x86_64"
7490             ;;
7491           ppc*-*linux*|powerpc*-*linux*)
7492             LD="${LD-ld} -m elf64ppc"
7493             ;;
7494           s390*-*linux*|s390*-*tpf*)
7495             LD="${LD-ld} -m elf64_s390"
7496             ;;
7497           sparc*-*linux*)
7498             LD="${LD-ld} -m elf64_sparc"
7499             ;;
7500         esac
7501         ;;
7502     esac
7503   fi
7504   rm -rf conftest*
7505   ;;
7506
7507 *-*-sco3.2v5*)
7508   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7509   SAVE_CFLAGS="$CFLAGS"
7510   CFLAGS="$CFLAGS -belf"
7511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7512 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7513 if ${lt_cv_cc_needs_belf+:} false; then :
7514   $as_echo_n "(cached) " >&6
7515 else
7516   ac_ext=c
7517 ac_cpp='$CPP $CPPFLAGS'
7518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7521
7522      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7523 /* end confdefs.h.  */
7524
7525 int
7526 main ()
7527 {
7528
7529   ;
7530   return 0;
7531 }
7532 _ACEOF
7533 if ac_fn_c_try_link "$LINENO"; then :
7534   lt_cv_cc_needs_belf=yes
7535 else
7536   lt_cv_cc_needs_belf=no
7537 fi
7538 rm -f core conftest.err conftest.$ac_objext \
7539     conftest$ac_exeext conftest.$ac_ext
7540      ac_ext=c
7541 ac_cpp='$CPP $CPPFLAGS'
7542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7545
7546 fi
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7548 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7549   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7550     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7551     CFLAGS="$SAVE_CFLAGS"
7552   fi
7553   ;;
7554 *-*solaris*)
7555   # Find out which ABI we are using.
7556   echo 'int i;' > conftest.$ac_ext
7557   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7558   (eval $ac_compile) 2>&5
7559   ac_status=$?
7560   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7561   test $ac_status = 0; }; then
7562     case `/usr/bin/file conftest.o` in
7563     *64-bit*)
7564       case $lt_cv_prog_gnu_ld in
7565       yes*)
7566         case $host in
7567         i?86-*-solaris*)
7568           LD="${LD-ld} -m elf_x86_64"
7569           ;;
7570         sparc*-*-solaris*)
7571           LD="${LD-ld} -m elf64_sparc"
7572           ;;
7573         esac
7574         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7575         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7576           LD="${LD-ld}_sol2"
7577         fi
7578         ;;
7579       *)
7580         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7581           LD="${LD-ld} -64"
7582         fi
7583         ;;
7584       esac
7585       ;;
7586     esac
7587   fi
7588   rm -rf conftest*
7589   ;;
7590 esac
7591
7592 need_locks="$enable_libtool_lock"
7593
7594 if test -n "$ac_tool_prefix"; then
7595   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7596 set dummy ${ac_tool_prefix}mt; ac_word=$2
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7598 $as_echo_n "checking for $ac_word... " >&6; }
7599 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7600   $as_echo_n "(cached) " >&6
7601 else
7602   if test -n "$MANIFEST_TOOL"; then
7603   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7604 else
7605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7606 for as_dir in $PATH
7607 do
7608   IFS=$as_save_IFS
7609   test -z "$as_dir" && as_dir=.
7610     for ac_exec_ext in '' $ac_executable_extensions; do
7611   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7612     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7614     break 2
7615   fi
7616 done
7617   done
7618 IFS=$as_save_IFS
7619
7620 fi
7621 fi
7622 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7623 if test -n "$MANIFEST_TOOL"; then
7624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7625 $as_echo "$MANIFEST_TOOL" >&6; }
7626 else
7627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7628 $as_echo "no" >&6; }
7629 fi
7630
7631
7632 fi
7633 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7634   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7635   # Extract the first word of "mt", so it can be a program name with args.
7636 set dummy mt; ac_word=$2
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7638 $as_echo_n "checking for $ac_word... " >&6; }
7639 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7640   $as_echo_n "(cached) " >&6
7641 else
7642   if test -n "$ac_ct_MANIFEST_TOOL"; then
7643   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7644 else
7645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7646 for as_dir in $PATH
7647 do
7648   IFS=$as_save_IFS
7649   test -z "$as_dir" && as_dir=.
7650     for ac_exec_ext in '' $ac_executable_extensions; do
7651   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7652     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7653     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7654     break 2
7655   fi
7656 done
7657   done
7658 IFS=$as_save_IFS
7659
7660 fi
7661 fi
7662 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7663 if test -n "$ac_ct_MANIFEST_TOOL"; then
7664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7665 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7666 else
7667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7668 $as_echo "no" >&6; }
7669 fi
7670
7671   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7672     MANIFEST_TOOL=":"
7673   else
7674     case $cross_compiling:$ac_tool_warned in
7675 yes:)
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7678 ac_tool_warned=yes ;;
7679 esac
7680     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7681   fi
7682 else
7683   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7684 fi
7685
7686 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7688 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7689 if ${lt_cv_path_mainfest_tool+:} false; then :
7690   $as_echo_n "(cached) " >&6
7691 else
7692   lt_cv_path_mainfest_tool=no
7693   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7694   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7695   cat conftest.err >&5
7696   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7697     lt_cv_path_mainfest_tool=yes
7698   fi
7699   rm -f conftest*
7700 fi
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7702 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7703 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7704   MANIFEST_TOOL=:
7705 fi
7706
7707
7708
7709
7710
7711
7712   case $host_os in
7713     rhapsody* | darwin*)
7714     if test -n "$ac_tool_prefix"; then
7715   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7716 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718 $as_echo_n "checking for $ac_word... " >&6; }
7719 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7720   $as_echo_n "(cached) " >&6
7721 else
7722   if test -n "$DSYMUTIL"; then
7723   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7724 else
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7726 for as_dir in $PATH
7727 do
7728   IFS=$as_save_IFS
7729   test -z "$as_dir" && as_dir=.
7730     for ac_exec_ext in '' $ac_executable_extensions; do
7731   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7732     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7733     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7734     break 2
7735   fi
7736 done
7737   done
7738 IFS=$as_save_IFS
7739
7740 fi
7741 fi
7742 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7743 if test -n "$DSYMUTIL"; then
7744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7745 $as_echo "$DSYMUTIL" >&6; }
7746 else
7747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7749 fi
7750
7751
7752 fi
7753 if test -z "$ac_cv_prog_DSYMUTIL"; then
7754   ac_ct_DSYMUTIL=$DSYMUTIL
7755   # Extract the first word of "dsymutil", so it can be a program name with args.
7756 set dummy dsymutil; ac_word=$2
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7758 $as_echo_n "checking for $ac_word... " >&6; }
7759 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7760   $as_echo_n "(cached) " >&6
7761 else
7762   if test -n "$ac_ct_DSYMUTIL"; then
7763   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7764 else
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7766 for as_dir in $PATH
7767 do
7768   IFS=$as_save_IFS
7769   test -z "$as_dir" && as_dir=.
7770     for ac_exec_ext in '' $ac_executable_extensions; do
7771   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7772     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7773     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7774     break 2
7775   fi
7776 done
7777   done
7778 IFS=$as_save_IFS
7779
7780 fi
7781 fi
7782 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7783 if test -n "$ac_ct_DSYMUTIL"; then
7784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7785 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7786 else
7787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7788 $as_echo "no" >&6; }
7789 fi
7790
7791   if test "x$ac_ct_DSYMUTIL" = x; then
7792     DSYMUTIL=":"
7793   else
7794     case $cross_compiling:$ac_tool_warned in
7795 yes:)
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7798 ac_tool_warned=yes ;;
7799 esac
7800     DSYMUTIL=$ac_ct_DSYMUTIL
7801   fi
7802 else
7803   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7804 fi
7805
7806     if test -n "$ac_tool_prefix"; then
7807   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7808 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7810 $as_echo_n "checking for $ac_word... " >&6; }
7811 if ${ac_cv_prog_NMEDIT+:} false; then :
7812   $as_echo_n "(cached) " >&6
7813 else
7814   if test -n "$NMEDIT"; then
7815   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7816 else
7817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7818 for as_dir in $PATH
7819 do
7820   IFS=$as_save_IFS
7821   test -z "$as_dir" && as_dir=.
7822     for ac_exec_ext in '' $ac_executable_extensions; do
7823   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7824     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7826     break 2
7827   fi
7828 done
7829   done
7830 IFS=$as_save_IFS
7831
7832 fi
7833 fi
7834 NMEDIT=$ac_cv_prog_NMEDIT
7835 if test -n "$NMEDIT"; then
7836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7837 $as_echo "$NMEDIT" >&6; }
7838 else
7839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7840 $as_echo "no" >&6; }
7841 fi
7842
7843
7844 fi
7845 if test -z "$ac_cv_prog_NMEDIT"; then
7846   ac_ct_NMEDIT=$NMEDIT
7847   # Extract the first word of "nmedit", so it can be a program name with args.
7848 set dummy nmedit; ac_word=$2
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7850 $as_echo_n "checking for $ac_word... " >&6; }
7851 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7852   $as_echo_n "(cached) " >&6
7853 else
7854   if test -n "$ac_ct_NMEDIT"; then
7855   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7856 else
7857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7858 for as_dir in $PATH
7859 do
7860   IFS=$as_save_IFS
7861   test -z "$as_dir" && as_dir=.
7862     for ac_exec_ext in '' $ac_executable_extensions; do
7863   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7864     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7865     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7866     break 2
7867   fi
7868 done
7869   done
7870 IFS=$as_save_IFS
7871
7872 fi
7873 fi
7874 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7875 if test -n "$ac_ct_NMEDIT"; then
7876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7877 $as_echo "$ac_ct_NMEDIT" >&6; }
7878 else
7879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7881 fi
7882
7883   if test "x$ac_ct_NMEDIT" = x; then
7884     NMEDIT=":"
7885   else
7886     case $cross_compiling:$ac_tool_warned in
7887 yes:)
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7890 ac_tool_warned=yes ;;
7891 esac
7892     NMEDIT=$ac_ct_NMEDIT
7893   fi
7894 else
7895   NMEDIT="$ac_cv_prog_NMEDIT"
7896 fi
7897
7898     if test -n "$ac_tool_prefix"; then
7899   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7900 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7902 $as_echo_n "checking for $ac_word... " >&6; }
7903 if ${ac_cv_prog_LIPO+:} false; then :
7904   $as_echo_n "(cached) " >&6
7905 else
7906   if test -n "$LIPO"; then
7907   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7908 else
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7910 for as_dir in $PATH
7911 do
7912   IFS=$as_save_IFS
7913   test -z "$as_dir" && as_dir=.
7914     for ac_exec_ext in '' $ac_executable_extensions; do
7915   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7916     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7918     break 2
7919   fi
7920 done
7921   done
7922 IFS=$as_save_IFS
7923
7924 fi
7925 fi
7926 LIPO=$ac_cv_prog_LIPO
7927 if test -n "$LIPO"; then
7928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7929 $as_echo "$LIPO" >&6; }
7930 else
7931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7932 $as_echo "no" >&6; }
7933 fi
7934
7935
7936 fi
7937 if test -z "$ac_cv_prog_LIPO"; then
7938   ac_ct_LIPO=$LIPO
7939   # Extract the first word of "lipo", so it can be a program name with args.
7940 set dummy lipo; ac_word=$2
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7942 $as_echo_n "checking for $ac_word... " >&6; }
7943 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7944   $as_echo_n "(cached) " >&6
7945 else
7946   if test -n "$ac_ct_LIPO"; then
7947   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7948 else
7949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7950 for as_dir in $PATH
7951 do
7952   IFS=$as_save_IFS
7953   test -z "$as_dir" && as_dir=.
7954     for ac_exec_ext in '' $ac_executable_extensions; do
7955   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7956     ac_cv_prog_ac_ct_LIPO="lipo"
7957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7958     break 2
7959   fi
7960 done
7961   done
7962 IFS=$as_save_IFS
7963
7964 fi
7965 fi
7966 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7967 if test -n "$ac_ct_LIPO"; then
7968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7969 $as_echo "$ac_ct_LIPO" >&6; }
7970 else
7971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7972 $as_echo "no" >&6; }
7973 fi
7974
7975   if test "x$ac_ct_LIPO" = x; then
7976     LIPO=":"
7977   else
7978     case $cross_compiling:$ac_tool_warned in
7979 yes:)
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7982 ac_tool_warned=yes ;;
7983 esac
7984     LIPO=$ac_ct_LIPO
7985   fi
7986 else
7987   LIPO="$ac_cv_prog_LIPO"
7988 fi
7989
7990     if test -n "$ac_tool_prefix"; then
7991   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7992 set dummy ${ac_tool_prefix}otool; ac_word=$2
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7994 $as_echo_n "checking for $ac_word... " >&6; }
7995 if ${ac_cv_prog_OTOOL+:} false; then :
7996   $as_echo_n "(cached) " >&6
7997 else
7998   if test -n "$OTOOL"; then
7999   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8000 else
8001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8002 for as_dir in $PATH
8003 do
8004   IFS=$as_save_IFS
8005   test -z "$as_dir" && as_dir=.
8006     for ac_exec_ext in '' $ac_executable_extensions; do
8007   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8008     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8010     break 2
8011   fi
8012 done
8013   done
8014 IFS=$as_save_IFS
8015
8016 fi
8017 fi
8018 OTOOL=$ac_cv_prog_OTOOL
8019 if test -n "$OTOOL"; then
8020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8021 $as_echo "$OTOOL" >&6; }
8022 else
8023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8024 $as_echo "no" >&6; }
8025 fi
8026
8027
8028 fi
8029 if test -z "$ac_cv_prog_OTOOL"; then
8030   ac_ct_OTOOL=$OTOOL
8031   # Extract the first word of "otool", so it can be a program name with args.
8032 set dummy otool; ac_word=$2
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8034 $as_echo_n "checking for $ac_word... " >&6; }
8035 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8036   $as_echo_n "(cached) " >&6
8037 else
8038   if test -n "$ac_ct_OTOOL"; then
8039   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8040 else
8041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8042 for as_dir in $PATH
8043 do
8044   IFS=$as_save_IFS
8045   test -z "$as_dir" && as_dir=.
8046     for ac_exec_ext in '' $ac_executable_extensions; do
8047   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8048     ac_cv_prog_ac_ct_OTOOL="otool"
8049     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8050     break 2
8051   fi
8052 done
8053   done
8054 IFS=$as_save_IFS
8055
8056 fi
8057 fi
8058 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8059 if test -n "$ac_ct_OTOOL"; then
8060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8061 $as_echo "$ac_ct_OTOOL" >&6; }
8062 else
8063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8064 $as_echo "no" >&6; }
8065 fi
8066
8067   if test "x$ac_ct_OTOOL" = x; then
8068     OTOOL=":"
8069   else
8070     case $cross_compiling:$ac_tool_warned in
8071 yes:)
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8074 ac_tool_warned=yes ;;
8075 esac
8076     OTOOL=$ac_ct_OTOOL
8077   fi
8078 else
8079   OTOOL="$ac_cv_prog_OTOOL"
8080 fi
8081
8082     if test -n "$ac_tool_prefix"; then
8083   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8084 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8086 $as_echo_n "checking for $ac_word... " >&6; }
8087 if ${ac_cv_prog_OTOOL64+:} false; then :
8088   $as_echo_n "(cached) " >&6
8089 else
8090   if test -n "$OTOOL64"; then
8091   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8092 else
8093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8094 for as_dir in $PATH
8095 do
8096   IFS=$as_save_IFS
8097   test -z "$as_dir" && as_dir=.
8098     for ac_exec_ext in '' $ac_executable_extensions; do
8099   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8100     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8102     break 2
8103   fi
8104 done
8105   done
8106 IFS=$as_save_IFS
8107
8108 fi
8109 fi
8110 OTOOL64=$ac_cv_prog_OTOOL64
8111 if test -n "$OTOOL64"; then
8112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8113 $as_echo "$OTOOL64" >&6; }
8114 else
8115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8116 $as_echo "no" >&6; }
8117 fi
8118
8119
8120 fi
8121 if test -z "$ac_cv_prog_OTOOL64"; then
8122   ac_ct_OTOOL64=$OTOOL64
8123   # Extract the first word of "otool64", so it can be a program name with args.
8124 set dummy otool64; ac_word=$2
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8126 $as_echo_n "checking for $ac_word... " >&6; }
8127 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8128   $as_echo_n "(cached) " >&6
8129 else
8130   if test -n "$ac_ct_OTOOL64"; then
8131   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8132 else
8133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8134 for as_dir in $PATH
8135 do
8136   IFS=$as_save_IFS
8137   test -z "$as_dir" && as_dir=.
8138     for ac_exec_ext in '' $ac_executable_extensions; do
8139   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8140     ac_cv_prog_ac_ct_OTOOL64="otool64"
8141     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8142     break 2
8143   fi
8144 done
8145   done
8146 IFS=$as_save_IFS
8147
8148 fi
8149 fi
8150 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8151 if test -n "$ac_ct_OTOOL64"; then
8152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8153 $as_echo "$ac_ct_OTOOL64" >&6; }
8154 else
8155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8156 $as_echo "no" >&6; }
8157 fi
8158
8159   if test "x$ac_ct_OTOOL64" = x; then
8160     OTOOL64=":"
8161   else
8162     case $cross_compiling:$ac_tool_warned in
8163 yes:)
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8166 ac_tool_warned=yes ;;
8167 esac
8168     OTOOL64=$ac_ct_OTOOL64
8169   fi
8170 else
8171   OTOOL64="$ac_cv_prog_OTOOL64"
8172 fi
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8201 $as_echo_n "checking for -single_module linker flag... " >&6; }
8202 if ${lt_cv_apple_cc_single_mod+:} false; then :
8203   $as_echo_n "(cached) " >&6
8204 else
8205   lt_cv_apple_cc_single_mod=no
8206       if test -z "${LT_MULTI_MODULE}"; then
8207         # By default we will add the -single_module flag. You can override
8208         # by either setting the environment variable LT_MULTI_MODULE
8209         # non-empty at configure time, or by adding -multi_module to the
8210         # link flags.
8211         rm -rf libconftest.dylib*
8212         echo "int foo(void){return 1;}" > conftest.c
8213         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8214 -dynamiclib -Wl,-single_module conftest.c" >&5
8215         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8216           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8217         _lt_result=$?
8218         # If there is a non-empty error log, and "single_module"
8219         # appears in it, assume the flag caused a linker warning
8220         if test -s conftest.err && $GREP single_module conftest.err; then
8221           cat conftest.err >&5
8222         # Otherwise, if the output was created with a 0 exit code from
8223         # the compiler, it worked.
8224         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8225           lt_cv_apple_cc_single_mod=yes
8226         else
8227           cat conftest.err >&5
8228         fi
8229         rm -rf libconftest.dylib*
8230         rm -f conftest.*
8231       fi
8232 fi
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8234 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8235
8236     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8237 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8238 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8239   $as_echo_n "(cached) " >&6
8240 else
8241   lt_cv_ld_exported_symbols_list=no
8242       save_LDFLAGS=$LDFLAGS
8243       echo "_main" > conftest.sym
8244       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8246 /* end confdefs.h.  */
8247
8248 int
8249 main ()
8250 {
8251
8252   ;
8253   return 0;
8254 }
8255 _ACEOF
8256 if ac_fn_c_try_link "$LINENO"; then :
8257   lt_cv_ld_exported_symbols_list=yes
8258 else
8259   lt_cv_ld_exported_symbols_list=no
8260 fi
8261 rm -f core conftest.err conftest.$ac_objext \
8262     conftest$ac_exeext conftest.$ac_ext
8263         LDFLAGS="$save_LDFLAGS"
8264
8265 fi
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8267 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8268
8269     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8270 $as_echo_n "checking for -force_load linker flag... " >&6; }
8271 if ${lt_cv_ld_force_load+:} false; then :
8272   $as_echo_n "(cached) " >&6
8273 else
8274   lt_cv_ld_force_load=no
8275       cat > conftest.c << _LT_EOF
8276 int forced_loaded() { return 2;}
8277 _LT_EOF
8278       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8279       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8280       echo "$AR cru libconftest.a conftest.o" >&5
8281       $AR cru libconftest.a conftest.o 2>&5
8282       echo "$RANLIB libconftest.a" >&5
8283       $RANLIB libconftest.a 2>&5
8284       cat > conftest.c << _LT_EOF
8285 int main() { return 0;}
8286 _LT_EOF
8287       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8288       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8289       _lt_result=$?
8290       if test -s conftest.err && $GREP force_load conftest.err; then
8291         cat conftest.err >&5
8292       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8293         lt_cv_ld_force_load=yes
8294       else
8295         cat conftest.err >&5
8296       fi
8297         rm -f conftest.err libconftest.a conftest conftest.c
8298         rm -rf conftest.dSYM
8299
8300 fi
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8302 $as_echo "$lt_cv_ld_force_load" >&6; }
8303     case $host_os in
8304     rhapsody* | darwin1.[012])
8305       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8306     darwin1.*)
8307       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8308     darwin*) # darwin 5.x on
8309       # if running on 10.5 or later, the deployment target defaults
8310       # to the OS version, if on x86, and 10.4, the deployment
8311       # target defaults to 10.4. Don't you love it?
8312       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8313         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8314           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8315         10.[012]*)
8316           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8317         10.*)
8318           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8319       esac
8320     ;;
8321   esac
8322     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8323       _lt_dar_single_mod='$single_module'
8324     fi
8325     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8326       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8327     else
8328       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8329     fi
8330     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8331       _lt_dsymutil='~$DSYMUTIL $lib || :'
8332     else
8333       _lt_dsymutil=
8334     fi
8335     ;;
8336   esac
8337
8338 ac_ext=c
8339 ac_cpp='$CPP $CPPFLAGS'
8340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8344 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8345 # On Suns, sometimes $CPP names a directory.
8346 if test -n "$CPP" && test -d "$CPP"; then
8347   CPP=
8348 fi
8349 if test -z "$CPP"; then
8350   if ${ac_cv_prog_CPP+:} false; then :
8351   $as_echo_n "(cached) " >&6
8352 else
8353       # Double quotes because CPP needs to be expanded
8354     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8355     do
8356       ac_preproc_ok=false
8357 for ac_c_preproc_warn_flag in '' yes
8358 do
8359   # Use a header file that comes with gcc, so configuring glibc
8360   # with a fresh cross-compiler works.
8361   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8362   # <limits.h> exists even on freestanding compilers.
8363   # On the NeXT, cc -E runs the code through the compiler's parser,
8364   # not just through cpp. "Syntax error" is here to catch this case.
8365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h.  */
8367 #ifdef __STDC__
8368 # include <limits.h>
8369 #else
8370 # include <assert.h>
8371 #endif
8372                      Syntax error
8373 _ACEOF
8374 if ac_fn_c_try_cpp "$LINENO"; then :
8375
8376 else
8377   # Broken: fails on valid input.
8378 continue
8379 fi
8380 rm -f conftest.err conftest.i conftest.$ac_ext
8381
8382   # OK, works on sane cases.  Now check whether nonexistent headers
8383   # can be detected and how.
8384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h.  */
8386 #include <ac_nonexistent.h>
8387 _ACEOF
8388 if ac_fn_c_try_cpp "$LINENO"; then :
8389   # Broken: success on invalid input.
8390 continue
8391 else
8392   # Passes both tests.
8393 ac_preproc_ok=:
8394 break
8395 fi
8396 rm -f conftest.err conftest.i conftest.$ac_ext
8397
8398 done
8399 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8400 rm -f conftest.i conftest.err conftest.$ac_ext
8401 if $ac_preproc_ok; then :
8402   break
8403 fi
8404
8405     done
8406     ac_cv_prog_CPP=$CPP
8407
8408 fi
8409   CPP=$ac_cv_prog_CPP
8410 else
8411   ac_cv_prog_CPP=$CPP
8412 fi
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8414 $as_echo "$CPP" >&6; }
8415 ac_preproc_ok=false
8416 for ac_c_preproc_warn_flag in '' yes
8417 do
8418   # Use a header file that comes with gcc, so configuring glibc
8419   # with a fresh cross-compiler works.
8420   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8421   # <limits.h> exists even on freestanding compilers.
8422   # On the NeXT, cc -E runs the code through the compiler's parser,
8423   # not just through cpp. "Syntax error" is here to catch this case.
8424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h.  */
8426 #ifdef __STDC__
8427 # include <limits.h>
8428 #else
8429 # include <assert.h>
8430 #endif
8431                      Syntax error
8432 _ACEOF
8433 if ac_fn_c_try_cpp "$LINENO"; then :
8434
8435 else
8436   # Broken: fails on valid input.
8437 continue
8438 fi
8439 rm -f conftest.err conftest.i conftest.$ac_ext
8440
8441   # OK, works on sane cases.  Now check whether nonexistent headers
8442   # can be detected and how.
8443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8444 /* end confdefs.h.  */
8445 #include <ac_nonexistent.h>
8446 _ACEOF
8447 if ac_fn_c_try_cpp "$LINENO"; then :
8448   # Broken: success on invalid input.
8449 continue
8450 else
8451   # Passes both tests.
8452 ac_preproc_ok=:
8453 break
8454 fi
8455 rm -f conftest.err conftest.i conftest.$ac_ext
8456
8457 done
8458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8459 rm -f conftest.i conftest.err conftest.$ac_ext
8460 if $ac_preproc_ok; then :
8461
8462 else
8463   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8465 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8466 See \`config.log' for more details" "$LINENO" 5; }
8467 fi
8468
8469 ac_ext=c
8470 ac_cpp='$CPP $CPPFLAGS'
8471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8474
8475
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8477 $as_echo_n "checking for ANSI C header files... " >&6; }
8478 if ${ac_cv_header_stdc+:} false; then :
8479   $as_echo_n "(cached) " >&6
8480 else
8481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h.  */
8483 #include <stdlib.h>
8484 #include <stdarg.h>
8485 #include <string.h>
8486 #include <float.h>
8487
8488 int
8489 main ()
8490 {
8491
8492   ;
8493   return 0;
8494 }
8495 _ACEOF
8496 if ac_fn_c_try_compile "$LINENO"; then :
8497   ac_cv_header_stdc=yes
8498 else
8499   ac_cv_header_stdc=no
8500 fi
8501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8502
8503 if test $ac_cv_header_stdc = yes; then
8504   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h.  */
8507 #include <string.h>
8508
8509 _ACEOF
8510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8511   $EGREP "memchr" >/dev/null 2>&1; then :
8512
8513 else
8514   ac_cv_header_stdc=no
8515 fi
8516 rm -f conftest*
8517
8518 fi
8519
8520 if test $ac_cv_header_stdc = yes; then
8521   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8523 /* end confdefs.h.  */
8524 #include <stdlib.h>
8525
8526 _ACEOF
8527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8528   $EGREP "free" >/dev/null 2>&1; then :
8529
8530 else
8531   ac_cv_header_stdc=no
8532 fi
8533 rm -f conftest*
8534
8535 fi
8536
8537 if test $ac_cv_header_stdc = yes; then
8538   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8539   if test "$cross_compiling" = yes; then :
8540   :
8541 else
8542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8543 /* end confdefs.h.  */
8544 #include <ctype.h>
8545 #include <stdlib.h>
8546 #if ((' ' & 0x0FF) == 0x020)
8547 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8548 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8549 #else
8550 # define ISLOWER(c) \
8551                    (('a' <= (c) && (c) <= 'i') \
8552                      || ('j' <= (c) && (c) <= 'r') \
8553                      || ('s' <= (c) && (c) <= 'z'))
8554 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8555 #endif
8556
8557 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8558 int
8559 main ()
8560 {
8561   int i;
8562   for (i = 0; i < 256; i++)
8563     if (XOR (islower (i), ISLOWER (i))
8564         || toupper (i) != TOUPPER (i))
8565       return 2;
8566   return 0;
8567 }
8568 _ACEOF
8569 if ac_fn_c_try_run "$LINENO"; then :
8570
8571 else
8572   ac_cv_header_stdc=no
8573 fi
8574 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8575   conftest.$ac_objext conftest.beam conftest.$ac_ext
8576 fi
8577
8578 fi
8579 fi
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8581 $as_echo "$ac_cv_header_stdc" >&6; }
8582 if test $ac_cv_header_stdc = yes; then
8583
8584 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8585
8586 fi
8587
8588 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8589 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8590                   inttypes.h stdint.h unistd.h
8591 do :
8592   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8593 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8594 "
8595 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8596   cat >>confdefs.h <<_ACEOF
8597 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8598 _ACEOF
8599
8600 fi
8601
8602 done
8603
8604
8605 for ac_header in dlfcn.h
8606 do :
8607   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8608 "
8609 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8610   cat >>confdefs.h <<_ACEOF
8611 #define HAVE_DLFCN_H 1
8612 _ACEOF
8613
8614 fi
8615
8616 done
8617
8618
8619
8620
8621
8622 # Set options
8623
8624
8625
8626         enable_dlopen=no
8627
8628
8629
8630             # Check whether --enable-shared was given.
8631 if test "${enable_shared+set}" = set; then :
8632   enableval=$enable_shared; p=${PACKAGE-default}
8633     case $enableval in
8634     yes) enable_shared=yes ;;
8635     no) enable_shared=no ;;
8636     *)
8637       enable_shared=no
8638       # Look at the argument we got.  We use all the common list separators.
8639       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8640       for pkg in $enableval; do
8641         IFS="$lt_save_ifs"
8642         if test "X$pkg" = "X$p"; then
8643           enable_shared=yes
8644         fi
8645       done
8646       IFS="$lt_save_ifs"
8647       ;;
8648     esac
8649 else
8650   enable_shared=yes
8651 fi
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661   # Check whether --enable-static was given.
8662 if test "${enable_static+set}" = set; then :
8663   enableval=$enable_static; p=${PACKAGE-default}
8664     case $enableval in
8665     yes) enable_static=yes ;;
8666     no) enable_static=no ;;
8667     *)
8668      enable_static=no
8669       # Look at the argument we got.  We use all the common list separators.
8670       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8671       for pkg in $enableval; do
8672         IFS="$lt_save_ifs"
8673         if test "X$pkg" = "X$p"; then
8674           enable_static=yes
8675         fi
8676       done
8677       IFS="$lt_save_ifs"
8678       ;;
8679     esac
8680 else
8681   enable_static=yes
8682 fi
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693 # Check whether --with-pic was given.
8694 if test "${with_pic+set}" = set; then :
8695   withval=$with_pic; lt_p=${PACKAGE-default}
8696     case $withval in
8697     yes|no) pic_mode=$withval ;;
8698     *)
8699       pic_mode=default
8700       # Look at the argument we got.  We use all the common list separators.
8701       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8702       for lt_pkg in $withval; do
8703         IFS="$lt_save_ifs"
8704         if test "X$lt_pkg" = "X$lt_p"; then
8705           pic_mode=yes
8706         fi
8707       done
8708       IFS="$lt_save_ifs"
8709       ;;
8710     esac
8711 else
8712   pic_mode=default
8713 fi
8714
8715
8716 test -z "$pic_mode" && pic_mode=default
8717
8718
8719
8720
8721
8722
8723
8724   # Check whether --enable-fast-install was given.
8725 if test "${enable_fast_install+set}" = set; then :
8726   enableval=$enable_fast_install; p=${PACKAGE-default}
8727     case $enableval in
8728     yes) enable_fast_install=yes ;;
8729     no) enable_fast_install=no ;;
8730     *)
8731       enable_fast_install=no
8732       # Look at the argument we got.  We use all the common list separators.
8733       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8734       for pkg in $enableval; do
8735         IFS="$lt_save_ifs"
8736         if test "X$pkg" = "X$p"; then
8737           enable_fast_install=yes
8738         fi
8739       done
8740       IFS="$lt_save_ifs"
8741       ;;
8742     esac
8743 else
8744   enable_fast_install=yes
8745 fi
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757 # This can be used to rebuild libtool when needed
8758 LIBTOOL_DEPS="$ltmain"
8759
8760 # Always use our own libtool.
8761 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792 test -z "$LN_S" && LN_S="ln -s"
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807 if test -n "${ZSH_VERSION+set}" ; then
8808    setopt NO_GLOB_SUBST
8809 fi
8810
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8812 $as_echo_n "checking for objdir... " >&6; }
8813 if ${lt_cv_objdir+:} false; then :
8814   $as_echo_n "(cached) " >&6
8815 else
8816   rm -f .libs 2>/dev/null
8817 mkdir .libs 2>/dev/null
8818 if test -d .libs; then
8819   lt_cv_objdir=.libs
8820 else
8821   # MS-DOS does not allow filenames that begin with a dot.
8822   lt_cv_objdir=_libs
8823 fi
8824 rmdir .libs 2>/dev/null
8825 fi
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8827 $as_echo "$lt_cv_objdir" >&6; }
8828 objdir=$lt_cv_objdir
8829
8830
8831
8832
8833
8834 cat >>confdefs.h <<_ACEOF
8835 #define LT_OBJDIR "$lt_cv_objdir/"
8836 _ACEOF
8837
8838
8839
8840
8841 case $host_os in
8842 aix3*)
8843   # AIX sometimes has problems with the GCC collect2 program.  For some
8844   # reason, if we set the COLLECT_NAMES environment variable, the problems
8845   # vanish in a puff of smoke.
8846   if test "X${COLLECT_NAMES+set}" != Xset; then
8847     COLLECT_NAMES=
8848     export COLLECT_NAMES
8849   fi
8850   ;;
8851 esac
8852
8853 # Global variables:
8854 ofile=libtool
8855 can_build_shared=yes
8856
8857 # All known linkers require a `.a' archive for static linking (except MSVC,
8858 # which needs '.lib').
8859 libext=a
8860
8861 with_gnu_ld="$lt_cv_prog_gnu_ld"
8862
8863 old_CC="$CC"
8864 old_CFLAGS="$CFLAGS"
8865
8866 # Set sane defaults for various variables
8867 test -z "$CC" && CC=cc
8868 test -z "$LTCC" && LTCC=$CC
8869 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8870 test -z "$LD" && LD=ld
8871 test -z "$ac_objext" && ac_objext=o
8872
8873 for cc_temp in $compiler""; do
8874   case $cc_temp in
8875     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8876     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8877     \-*) ;;
8878     *) break;;
8879   esac
8880 done
8881 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8882
8883
8884 # Only perform the check for file, if the check method requires it
8885 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8886 case $deplibs_check_method in
8887 file_magic*)
8888   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8889     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8890 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8891 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8892   $as_echo_n "(cached) " >&6
8893 else
8894   case $MAGIC_CMD in
8895 [\\/*] |  ?:[\\/]*)
8896   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8897   ;;
8898 *)
8899   lt_save_MAGIC_CMD="$MAGIC_CMD"
8900   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8901   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8902   for ac_dir in $ac_dummy; do
8903     IFS="$lt_save_ifs"
8904     test -z "$ac_dir" && ac_dir=.
8905     if test -f $ac_dir/${ac_tool_prefix}file; then
8906       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8907       if test -n "$file_magic_test_file"; then
8908         case $deplibs_check_method in
8909         "file_magic "*)
8910           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8911           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8912           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8913             $EGREP "$file_magic_regex" > /dev/null; then
8914             :
8915           else
8916             cat <<_LT_EOF 1>&2
8917
8918 *** Warning: the command libtool uses to detect shared libraries,
8919 *** $file_magic_cmd, produces output that libtool cannot recognize.
8920 *** The result is that libtool may fail to recognize shared libraries
8921 *** as such.  This will affect the creation of libtool libraries that
8922 *** depend on shared libraries, but programs linked with such libtool
8923 *** libraries will work regardless of this problem.  Nevertheless, you
8924 *** may want to report the problem to your system manager and/or to
8925 *** bug-libtool@gnu.org
8926
8927 _LT_EOF
8928           fi ;;
8929         esac
8930       fi
8931       break
8932     fi
8933   done
8934   IFS="$lt_save_ifs"
8935   MAGIC_CMD="$lt_save_MAGIC_CMD"
8936   ;;
8937 esac
8938 fi
8939
8940 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8941 if test -n "$MAGIC_CMD"; then
8942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8943 $as_echo "$MAGIC_CMD" >&6; }
8944 else
8945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8946 $as_echo "no" >&6; }
8947 fi
8948
8949
8950
8951
8952
8953 if test -z "$lt_cv_path_MAGIC_CMD"; then
8954   if test -n "$ac_tool_prefix"; then
8955     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8956 $as_echo_n "checking for file... " >&6; }
8957 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8958   $as_echo_n "(cached) " >&6
8959 else
8960   case $MAGIC_CMD in
8961 [\\/*] |  ?:[\\/]*)
8962   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8963   ;;
8964 *)
8965   lt_save_MAGIC_CMD="$MAGIC_CMD"
8966   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8967   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8968   for ac_dir in $ac_dummy; do
8969     IFS="$lt_save_ifs"
8970     test -z "$ac_dir" && ac_dir=.
8971     if test -f $ac_dir/file; then
8972       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8973       if test -n "$file_magic_test_file"; then
8974         case $deplibs_check_method in
8975         "file_magic "*)
8976           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8977           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8978           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8979             $EGREP "$file_magic_regex" > /dev/null; then
8980             :
8981           else
8982             cat <<_LT_EOF 1>&2
8983
8984 *** Warning: the command libtool uses to detect shared libraries,
8985 *** $file_magic_cmd, produces output that libtool cannot recognize.
8986 *** The result is that libtool may fail to recognize shared libraries
8987 *** as such.  This will affect the creation of libtool libraries that
8988 *** depend on shared libraries, but programs linked with such libtool
8989 *** libraries will work regardless of this problem.  Nevertheless, you
8990 *** may want to report the problem to your system manager and/or to
8991 *** bug-libtool@gnu.org
8992
8993 _LT_EOF
8994           fi ;;
8995         esac
8996       fi
8997       break
8998     fi
8999   done
9000   IFS="$lt_save_ifs"
9001   MAGIC_CMD="$lt_save_MAGIC_CMD"
9002   ;;
9003 esac
9004 fi
9005
9006 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9007 if test -n "$MAGIC_CMD"; then
9008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9009 $as_echo "$MAGIC_CMD" >&6; }
9010 else
9011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9012 $as_echo "no" >&6; }
9013 fi
9014
9015
9016   else
9017     MAGIC_CMD=:
9018   fi
9019 fi
9020
9021   fi
9022   ;;
9023 esac
9024
9025 # Use C for the default configuration in the libtool script
9026
9027 lt_save_CC="$CC"
9028 ac_ext=c
9029 ac_cpp='$CPP $CPPFLAGS'
9030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9033
9034
9035 # Source file extension for C test sources.
9036 ac_ext=c
9037
9038 # Object file extension for compiled C test sources.
9039 objext=o
9040 objext=$objext
9041
9042 # Code to be used in simple compile tests
9043 lt_simple_compile_test_code="int some_variable = 0;"
9044
9045 # Code to be used in simple link tests
9046 lt_simple_link_test_code='int main(){return(0);}'
9047
9048
9049
9050
9051
9052
9053
9054 # If no C compiler was specified, use CC.
9055 LTCC=${LTCC-"$CC"}
9056
9057 # If no C compiler flags were specified, use CFLAGS.
9058 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9059
9060 # Allow CC to be a program name with arguments.
9061 compiler=$CC
9062
9063 # Save the default compiler, since it gets overwritten when the other
9064 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9065 compiler_DEFAULT=$CC
9066
9067 # save warnings/boilerplate of simple test code
9068 ac_outfile=conftest.$ac_objext
9069 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9070 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9071 _lt_compiler_boilerplate=`cat conftest.err`
9072 $RM conftest*
9073
9074 ac_outfile=conftest.$ac_objext
9075 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9076 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9077 _lt_linker_boilerplate=`cat conftest.err`
9078 $RM -r conftest*
9079
9080
9081 ## CAVEAT EMPTOR:
9082 ## There is no encapsulation within the following macros, do not change
9083 ## the running order or otherwise move them around unless you know exactly
9084 ## what you are doing...
9085 if test -n "$compiler"; then
9086
9087 lt_prog_compiler_no_builtin_flag=
9088
9089 if test "$GCC" = yes; then
9090   case $cc_basename in
9091   nvcc*)
9092     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9093   *)
9094     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9095   esac
9096
9097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9098 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9099 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9100   $as_echo_n "(cached) " >&6
9101 else
9102   lt_cv_prog_compiler_rtti_exceptions=no
9103    ac_outfile=conftest.$ac_objext
9104    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9105    lt_compiler_flag="-fno-rtti -fno-exceptions"
9106    # Insert the option either (1) after the last *FLAGS variable, or
9107    # (2) before a word containing "conftest.", or (3) at the end.
9108    # Note that $ac_compile itself does not contain backslashes and begins
9109    # with a dollar sign (not a hyphen), so the echo should work correctly.
9110    # The option is referenced via a variable to avoid confusing sed.
9111    lt_compile=`echo "$ac_compile" | $SED \
9112    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9113    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9114    -e 's:$: $lt_compiler_flag:'`
9115    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9116    (eval "$lt_compile" 2>conftest.err)
9117    ac_status=$?
9118    cat conftest.err >&5
9119    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120    if (exit $ac_status) && test -s "$ac_outfile"; then
9121      # The compiler can only warn and ignore the option if not recognized
9122      # So say no if there are warnings other than the usual output.
9123      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9124      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9125      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9126        lt_cv_prog_compiler_rtti_exceptions=yes
9127      fi
9128    fi
9129    $RM conftest*
9130
9131 fi
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9133 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9134
9135 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9136     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9137 else
9138     :
9139 fi
9140
9141 fi
9142
9143
9144
9145
9146
9147
9148   lt_prog_compiler_wl=
9149 lt_prog_compiler_pic=
9150 lt_prog_compiler_static=
9151
9152
9153   if test "$GCC" = yes; then
9154     lt_prog_compiler_wl='-Wl,'
9155     lt_prog_compiler_static='-static'
9156
9157     case $host_os in
9158       aix*)
9159       # All AIX code is PIC.
9160       if test "$host_cpu" = ia64; then
9161         # AIX 5 now supports IA64 processor
9162         lt_prog_compiler_static='-Bstatic'
9163       fi
9164       ;;
9165
9166     amigaos*)
9167       case $host_cpu in
9168       powerpc)
9169             # see comment about AmigaOS4 .so support
9170             lt_prog_compiler_pic='-fPIC'
9171         ;;
9172       m68k)
9173             # FIXME: we need at least 68020 code to build shared libraries, but
9174             # adding the `-m68020' flag to GCC prevents building anything better,
9175             # like `-m68040'.
9176             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9177         ;;
9178       esac
9179       ;;
9180
9181     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9182       # PIC is the default for these OSes.
9183       ;;
9184
9185     mingw* | cygwin* | pw32* | os2* | cegcc*)
9186       # This hack is so that the source file can tell whether it is being
9187       # built for inclusion in a dll (and should export symbols for example).
9188       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9189       # (--disable-auto-import) libraries
9190       lt_prog_compiler_pic='-DDLL_EXPORT'
9191       ;;
9192
9193     darwin* | rhapsody*)
9194       # PIC is the default on this platform
9195       # Common symbols not allowed in MH_DYLIB files
9196       lt_prog_compiler_pic='-fno-common'
9197       ;;
9198
9199     haiku*)
9200       # PIC is the default for Haiku.
9201       # The "-static" flag exists, but is broken.
9202       lt_prog_compiler_static=
9203       ;;
9204
9205     hpux*)
9206       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9207       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9208       # sets the default TLS model and affects inlining.
9209       case $host_cpu in
9210       hppa*64*)
9211         # +Z the default
9212         ;;
9213       *)
9214         lt_prog_compiler_pic='-fPIC'
9215         ;;
9216       esac
9217       ;;
9218
9219     interix[3-9]*)
9220       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9221       # Instead, we relocate shared libraries at runtime.
9222       ;;
9223
9224     msdosdjgpp*)
9225       # Just because we use GCC doesn't mean we suddenly get shared libraries
9226       # on systems that don't support them.
9227       lt_prog_compiler_can_build_shared=no
9228       enable_shared=no
9229       ;;
9230
9231     *nto* | *qnx*)
9232       # QNX uses GNU C++, but need to define -shared option too, otherwise
9233       # it will coredump.
9234       lt_prog_compiler_pic='-fPIC -shared'
9235       ;;
9236
9237     sysv4*MP*)
9238       if test -d /usr/nec; then
9239         lt_prog_compiler_pic=-Kconform_pic
9240       fi
9241       ;;
9242
9243     *)
9244       lt_prog_compiler_pic='-fPIC'
9245       ;;
9246     esac
9247
9248     case $cc_basename in
9249     nvcc*) # Cuda Compiler Driver 2.2
9250       lt_prog_compiler_wl='-Xlinker '
9251       if test -n "$lt_prog_compiler_pic"; then
9252         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9253       fi
9254       ;;
9255     esac
9256   else
9257     # PORTME Check for flag to pass linker flags through the system compiler.
9258     case $host_os in
9259     aix*)
9260       lt_prog_compiler_wl='-Wl,'
9261       if test "$host_cpu" = ia64; then
9262         # AIX 5 now supports IA64 processor
9263         lt_prog_compiler_static='-Bstatic'
9264       else
9265         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9266       fi
9267       ;;
9268
9269     mingw* | cygwin* | pw32* | os2* | cegcc*)
9270       # This hack is so that the source file can tell whether it is being
9271       # built for inclusion in a dll (and should export symbols for example).
9272       lt_prog_compiler_pic='-DDLL_EXPORT'
9273       ;;
9274
9275     hpux9* | hpux10* | hpux11*)
9276       lt_prog_compiler_wl='-Wl,'
9277       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9278       # not for PA HP-UX.
9279       case $host_cpu in
9280       hppa*64*|ia64*)
9281         # +Z the default
9282         ;;
9283       *)
9284         lt_prog_compiler_pic='+Z'
9285         ;;
9286       esac
9287       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9288       lt_prog_compiler_static='${wl}-a ${wl}archive'
9289       ;;
9290
9291     irix5* | irix6* | nonstopux*)
9292       lt_prog_compiler_wl='-Wl,'
9293       # PIC (with -KPIC) is the default.
9294       lt_prog_compiler_static='-non_shared'
9295       ;;
9296
9297     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9298       case $cc_basename in
9299       # old Intel for x86_64 which still supported -KPIC.
9300       ecc*)
9301         lt_prog_compiler_wl='-Wl,'
9302         lt_prog_compiler_pic='-KPIC'
9303         lt_prog_compiler_static='-static'
9304         ;;
9305       # icc used to be incompatible with GCC.
9306       # ICC 10 doesn't accept -KPIC any more.
9307       icc* | ifort*)
9308         lt_prog_compiler_wl='-Wl,'
9309         lt_prog_compiler_pic='-fPIC'
9310         lt_prog_compiler_static='-static'
9311         ;;
9312       # Lahey Fortran 8.1.
9313       lf95*)
9314         lt_prog_compiler_wl='-Wl,'
9315         lt_prog_compiler_pic='--shared'
9316         lt_prog_compiler_static='--static'
9317         ;;
9318       nagfor*)
9319         # NAG Fortran compiler
9320         lt_prog_compiler_wl='-Wl,-Wl,,'
9321         lt_prog_compiler_pic='-PIC'
9322         lt_prog_compiler_static='-Bstatic'
9323         ;;
9324       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9325         # Portland Group compilers (*not* the Pentium gcc compiler,
9326         # which looks to be a dead project)
9327         lt_prog_compiler_wl='-Wl,'
9328         lt_prog_compiler_pic='-fpic'
9329         lt_prog_compiler_static='-Bstatic'
9330         ;;
9331       ccc*)
9332         lt_prog_compiler_wl='-Wl,'
9333         # All Alpha code is PIC.
9334         lt_prog_compiler_static='-non_shared'
9335         ;;
9336       xl* | bgxl* | bgf* | mpixl*)
9337         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9338         lt_prog_compiler_wl='-Wl,'
9339         lt_prog_compiler_pic='-qpic'
9340         lt_prog_compiler_static='-qstaticlink'
9341         ;;
9342       *)
9343         case `$CC -V 2>&1 | sed 5q` in
9344         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9345           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9346           lt_prog_compiler_pic='-KPIC'
9347           lt_prog_compiler_static='-Bstatic'
9348           lt_prog_compiler_wl=''
9349           ;;
9350         *Sun\ F* | *Sun*Fortran*)
9351           lt_prog_compiler_pic='-KPIC'
9352           lt_prog_compiler_static='-Bstatic'
9353           lt_prog_compiler_wl='-Qoption ld '
9354           ;;
9355         *Sun\ C*)
9356           # Sun C 5.9
9357           lt_prog_compiler_pic='-KPIC'
9358           lt_prog_compiler_static='-Bstatic'
9359           lt_prog_compiler_wl='-Wl,'
9360           ;;
9361         *Intel*\ [CF]*Compiler*)
9362           lt_prog_compiler_wl='-Wl,'
9363           lt_prog_compiler_pic='-fPIC'
9364           lt_prog_compiler_static='-static'
9365           ;;
9366         *Portland\ Group*)
9367           lt_prog_compiler_wl='-Wl,'
9368           lt_prog_compiler_pic='-fpic'
9369           lt_prog_compiler_static='-Bstatic'
9370           ;;
9371         esac
9372         ;;
9373       esac
9374       ;;
9375
9376     newsos6)
9377       lt_prog_compiler_pic='-KPIC'
9378       lt_prog_compiler_static='-Bstatic'
9379       ;;
9380
9381     *nto* | *qnx*)
9382       # QNX uses GNU C++, but need to define -shared option too, otherwise
9383       # it will coredump.
9384       lt_prog_compiler_pic='-fPIC -shared'
9385       ;;
9386
9387     osf3* | osf4* | osf5*)
9388       lt_prog_compiler_wl='-Wl,'
9389       # All OSF/1 code is PIC.
9390       lt_prog_compiler_static='-non_shared'
9391       ;;
9392
9393     rdos*)
9394       lt_prog_compiler_static='-non_shared'
9395       ;;
9396
9397     solaris*)
9398       lt_prog_compiler_pic='-KPIC'
9399       lt_prog_compiler_static='-Bstatic'
9400       case $cc_basename in
9401       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9402         lt_prog_compiler_wl='-Qoption ld ';;
9403       *)
9404         lt_prog_compiler_wl='-Wl,';;
9405       esac
9406       ;;
9407
9408     sunos4*)
9409       lt_prog_compiler_wl='-Qoption ld '
9410       lt_prog_compiler_pic='-PIC'
9411       lt_prog_compiler_static='-Bstatic'
9412       ;;
9413
9414     sysv4 | sysv4.2uw2* | sysv4.3*)
9415       lt_prog_compiler_wl='-Wl,'
9416       lt_prog_compiler_pic='-KPIC'
9417       lt_prog_compiler_static='-Bstatic'
9418       ;;
9419
9420     sysv4*MP*)
9421       if test -d /usr/nec ;then
9422         lt_prog_compiler_pic='-Kconform_pic'
9423         lt_prog_compiler_static='-Bstatic'
9424       fi
9425       ;;
9426
9427     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9428       lt_prog_compiler_wl='-Wl,'
9429       lt_prog_compiler_pic='-KPIC'
9430       lt_prog_compiler_static='-Bstatic'
9431       ;;
9432
9433     unicos*)
9434       lt_prog_compiler_wl='-Wl,'
9435       lt_prog_compiler_can_build_shared=no
9436       ;;
9437
9438     uts4*)
9439       lt_prog_compiler_pic='-pic'
9440       lt_prog_compiler_static='-Bstatic'
9441       ;;
9442
9443     *)
9444       lt_prog_compiler_can_build_shared=no
9445       ;;
9446     esac
9447   fi
9448
9449 case $host_os in
9450   # For platforms which do not support PIC, -DPIC is meaningless:
9451   *djgpp*)
9452     lt_prog_compiler_pic=
9453     ;;
9454   *)
9455     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9456     ;;
9457 esac
9458
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9460 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9461 if ${lt_cv_prog_compiler_pic+:} false; then :
9462   $as_echo_n "(cached) " >&6
9463 else
9464   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9465 fi
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9467 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9468 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9469
9470 #
9471 # Check to make sure the PIC flag actually works.
9472 #
9473 if test -n "$lt_prog_compiler_pic"; then
9474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9475 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9476 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9477   $as_echo_n "(cached) " >&6
9478 else
9479   lt_cv_prog_compiler_pic_works=no
9480    ac_outfile=conftest.$ac_objext
9481    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9482    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9483    # Insert the option either (1) after the last *FLAGS variable, or
9484    # (2) before a word containing "conftest.", or (3) at the end.
9485    # Note that $ac_compile itself does not contain backslashes and begins
9486    # with a dollar sign (not a hyphen), so the echo should work correctly.
9487    # The option is referenced via a variable to avoid confusing sed.
9488    lt_compile=`echo "$ac_compile" | $SED \
9489    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9490    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9491    -e 's:$: $lt_compiler_flag:'`
9492    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9493    (eval "$lt_compile" 2>conftest.err)
9494    ac_status=$?
9495    cat conftest.err >&5
9496    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497    if (exit $ac_status) && test -s "$ac_outfile"; then
9498      # The compiler can only warn and ignore the option if not recognized
9499      # So say no if there are warnings other than the usual output.
9500      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9501      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9502      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9503        lt_cv_prog_compiler_pic_works=yes
9504      fi
9505    fi
9506    $RM conftest*
9507
9508 fi
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9510 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9511
9512 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9513     case $lt_prog_compiler_pic in
9514      "" | " "*) ;;
9515      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9516      esac
9517 else
9518     lt_prog_compiler_pic=
9519      lt_prog_compiler_can_build_shared=no
9520 fi
9521
9522 fi
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534 #
9535 # Check to make sure the static flag actually works.
9536 #
9537 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9539 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9540 if ${lt_cv_prog_compiler_static_works+:} false; then :
9541   $as_echo_n "(cached) " >&6
9542 else
9543   lt_cv_prog_compiler_static_works=no
9544    save_LDFLAGS="$LDFLAGS"
9545    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9546    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9547    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9548      # The linker can only warn and ignore the option if not recognized
9549      # So say no if there are warnings
9550      if test -s conftest.err; then
9551        # Append any errors to the config.log.
9552        cat conftest.err 1>&5
9553        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9554        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9555        if diff conftest.exp conftest.er2 >/dev/null; then
9556          lt_cv_prog_compiler_static_works=yes
9557        fi
9558      else
9559        lt_cv_prog_compiler_static_works=yes
9560      fi
9561    fi
9562    $RM -r conftest*
9563    LDFLAGS="$save_LDFLAGS"
9564
9565 fi
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9567 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9568
9569 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9570     :
9571 else
9572     lt_prog_compiler_static=
9573 fi
9574
9575
9576
9577
9578
9579
9580
9581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9582 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9583 if ${lt_cv_prog_compiler_c_o+:} false; then :
9584   $as_echo_n "(cached) " >&6
9585 else
9586   lt_cv_prog_compiler_c_o=no
9587    $RM -r conftest 2>/dev/null
9588    mkdir conftest
9589    cd conftest
9590    mkdir out
9591    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9592
9593    lt_compiler_flag="-o out/conftest2.$ac_objext"
9594    # Insert the option either (1) after the last *FLAGS variable, or
9595    # (2) before a word containing "conftest.", or (3) at the end.
9596    # Note that $ac_compile itself does not contain backslashes and begins
9597    # with a dollar sign (not a hyphen), so the echo should work correctly.
9598    lt_compile=`echo "$ac_compile" | $SED \
9599    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9600    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9601    -e 's:$: $lt_compiler_flag:'`
9602    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9603    (eval "$lt_compile" 2>out/conftest.err)
9604    ac_status=$?
9605    cat out/conftest.err >&5
9606    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9608    then
9609      # The compiler can only warn and ignore the option if not recognized
9610      # So say no if there are warnings
9611      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9612      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9613      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9614        lt_cv_prog_compiler_c_o=yes
9615      fi
9616    fi
9617    chmod u+w . 2>&5
9618    $RM conftest*
9619    # SGI C++ compiler will create directory out/ii_files/ for
9620    # template instantiation
9621    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9622    $RM out/* && rmdir out
9623    cd ..
9624    $RM -r conftest
9625    $RM conftest*
9626
9627 fi
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9629 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9630
9631
9632
9633
9634
9635
9636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9637 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9638 if ${lt_cv_prog_compiler_c_o+:} false; then :
9639   $as_echo_n "(cached) " >&6
9640 else
9641   lt_cv_prog_compiler_c_o=no
9642    $RM -r conftest 2>/dev/null
9643    mkdir conftest
9644    cd conftest
9645    mkdir out
9646    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9647
9648    lt_compiler_flag="-o out/conftest2.$ac_objext"
9649    # Insert the option either (1) after the last *FLAGS variable, or
9650    # (2) before a word containing "conftest.", or (3) at the end.
9651    # Note that $ac_compile itself does not contain backslashes and begins
9652    # with a dollar sign (not a hyphen), so the echo should work correctly.
9653    lt_compile=`echo "$ac_compile" | $SED \
9654    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9655    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9656    -e 's:$: $lt_compiler_flag:'`
9657    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9658    (eval "$lt_compile" 2>out/conftest.err)
9659    ac_status=$?
9660    cat out/conftest.err >&5
9661    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9663    then
9664      # The compiler can only warn and ignore the option if not recognized
9665      # So say no if there are warnings
9666      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9667      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9668      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9669        lt_cv_prog_compiler_c_o=yes
9670      fi
9671    fi
9672    chmod u+w . 2>&5
9673    $RM conftest*
9674    # SGI C++ compiler will create directory out/ii_files/ for
9675    # template instantiation
9676    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9677    $RM out/* && rmdir out
9678    cd ..
9679    $RM -r conftest
9680    $RM conftest*
9681
9682 fi
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9684 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9685
9686
9687
9688
9689 hard_links="nottested"
9690 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9691   # do not overwrite the value of need_locks provided by the user
9692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9693 $as_echo_n "checking if we can lock with hard links... " >&6; }
9694   hard_links=yes
9695   $RM conftest*
9696   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9697   touch conftest.a
9698   ln conftest.a conftest.b 2>&5 || hard_links=no
9699   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9701 $as_echo "$hard_links" >&6; }
9702   if test "$hard_links" = no; then
9703     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9704 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9705     need_locks=warn
9706   fi
9707 else
9708   need_locks=no
9709 fi
9710
9711
9712
9713
9714
9715
9716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9717 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9718
9719   runpath_var=
9720   allow_undefined_flag=
9721   always_export_symbols=no
9722   archive_cmds=
9723   archive_expsym_cmds=
9724   compiler_needs_object=no
9725   enable_shared_with_static_runtimes=no
9726   export_dynamic_flag_spec=
9727   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9728   hardcode_automatic=no
9729   hardcode_direct=no
9730   hardcode_direct_absolute=no
9731   hardcode_libdir_flag_spec=
9732   hardcode_libdir_separator=
9733   hardcode_minus_L=no
9734   hardcode_shlibpath_var=unsupported
9735   inherit_rpath=no
9736   link_all_deplibs=unknown
9737   module_cmds=
9738   module_expsym_cmds=
9739   old_archive_from_new_cmds=
9740   old_archive_from_expsyms_cmds=
9741   thread_safe_flag_spec=
9742   whole_archive_flag_spec=
9743   # include_expsyms should be a list of space-separated symbols to be *always*
9744   # included in the symbol list
9745   include_expsyms=
9746   # exclude_expsyms can be an extended regexp of symbols to exclude
9747   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9748   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9749   # as well as any symbol that contains `d'.
9750   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9751   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9752   # platforms (ab)use it in PIC code, but their linkers get confused if
9753   # the symbol is explicitly referenced.  Since portable code cannot
9754   # rely on this symbol name, it's probably fine to never include it in
9755   # preloaded symbol tables.
9756   # Exclude shared library initialization/finalization symbols.
9757   extract_expsyms_cmds=
9758
9759   case $host_os in
9760   cygwin* | mingw* | pw32* | cegcc*)
9761     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9762     # When not using gcc, we currently assume that we are using
9763     # Microsoft Visual C++.
9764     if test "$GCC" != yes; then
9765       with_gnu_ld=no
9766     fi
9767     ;;
9768   interix*)
9769     # we just hope/assume this is gcc and not c89 (= MSVC++)
9770     with_gnu_ld=yes
9771     ;;
9772   openbsd*)
9773     with_gnu_ld=no
9774     ;;
9775   linux* | k*bsd*-gnu | gnu*)
9776     link_all_deplibs=no
9777     ;;
9778   esac
9779
9780   ld_shlibs=yes
9781
9782   # On some targets, GNU ld is compatible enough with the native linker
9783   # that we're better off using the native interface for both.
9784   lt_use_gnu_ld_interface=no
9785   if test "$with_gnu_ld" = yes; then
9786     case $host_os in
9787       aix*)
9788         # The AIX port of GNU ld has always aspired to compatibility
9789         # with the native linker.  However, as the warning in the GNU ld
9790         # block says, versions before 2.19.5* couldn't really create working
9791         # shared libraries, regardless of the interface used.
9792         case `$LD -v 2>&1` in
9793           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9794           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9795           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9796           *)
9797             lt_use_gnu_ld_interface=yes
9798             ;;
9799         esac
9800         ;;
9801       *)
9802         lt_use_gnu_ld_interface=yes
9803         ;;
9804     esac
9805   fi
9806
9807   if test "$lt_use_gnu_ld_interface" = yes; then
9808     # If archive_cmds runs LD, not CC, wlarc should be empty
9809     wlarc='${wl}'
9810
9811     # Set some defaults for GNU ld with shared library support. These
9812     # are reset later if shared libraries are not supported. Putting them
9813     # here allows them to be overridden if necessary.
9814     runpath_var=LD_RUN_PATH
9815     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9816     export_dynamic_flag_spec='${wl}--export-dynamic'
9817     # ancient GNU ld didn't support --whole-archive et. al.
9818     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9819       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9820     else
9821       whole_archive_flag_spec=
9822     fi
9823     supports_anon_versioning=no
9824     case `$LD -v 2>&1` in
9825       *GNU\ gold*) supports_anon_versioning=yes ;;
9826       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9827       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9828       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9829       *\ 2.11.*) ;; # other 2.11 versions
9830       *) supports_anon_versioning=yes ;;
9831     esac
9832
9833     # See if GNU ld supports shared libraries.
9834     case $host_os in
9835     aix[3-9]*)
9836       # On AIX/PPC, the GNU linker is very broken
9837       if test "$host_cpu" != ia64; then
9838         ld_shlibs=no
9839         cat <<_LT_EOF 1>&2
9840
9841 *** Warning: the GNU linker, at least up to release 2.19, is reported
9842 *** to be unable to reliably create shared libraries on AIX.
9843 *** Therefore, libtool is disabling shared libraries support.  If you
9844 *** really care for shared libraries, you may want to install binutils
9845 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9846 *** You will then need to restart the configuration process.
9847
9848 _LT_EOF
9849       fi
9850       ;;
9851
9852     amigaos*)
9853       case $host_cpu in
9854       powerpc)
9855             # see comment about AmigaOS4 .so support
9856             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9857             archive_expsym_cmds=''
9858         ;;
9859       m68k)
9860             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)'
9861             hardcode_libdir_flag_spec='-L$libdir'
9862             hardcode_minus_L=yes
9863         ;;
9864       esac
9865       ;;
9866
9867     beos*)
9868       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9869         allow_undefined_flag=unsupported
9870         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9871         # support --undefined.  This deserves some investigation.  FIXME
9872         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9873       else
9874         ld_shlibs=no
9875       fi
9876       ;;
9877
9878     cygwin* | mingw* | pw32* | cegcc*)
9879       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9880       # as there is no search path for DLLs.
9881       hardcode_libdir_flag_spec='-L$libdir'
9882       export_dynamic_flag_spec='${wl}--export-all-symbols'
9883       allow_undefined_flag=unsupported
9884       always_export_symbols=no
9885       enable_shared_with_static_runtimes=yes
9886       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'
9887       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9888
9889       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9890         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9891         # If the export-symbols file already is a .def file (1st line
9892         # is EXPORTS), use it as is; otherwise, prepend...
9893         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9894           cp $export_symbols $output_objdir/$soname.def;
9895         else
9896           echo EXPORTS > $output_objdir/$soname.def;
9897           cat $export_symbols >> $output_objdir/$soname.def;
9898         fi~
9899         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9900       else
9901         ld_shlibs=no
9902       fi
9903       ;;
9904
9905     haiku*)
9906       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9907       link_all_deplibs=yes
9908       ;;
9909
9910     interix[3-9]*)
9911       hardcode_direct=no
9912       hardcode_shlibpath_var=no
9913       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9914       export_dynamic_flag_spec='${wl}-E'
9915       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9916       # Instead, shared libraries are loaded at an image base (0x10000000 by
9917       # default) and relocated if they conflict, which is a slow very memory
9918       # consuming and fragmenting process.  To avoid this, we pick a random,
9919       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9920       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9921       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9922       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'
9923       ;;
9924
9925     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9926       tmp_diet=no
9927       if test "$host_os" = linux-dietlibc; then
9928         case $cc_basename in
9929           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9930         esac
9931       fi
9932       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9933          && test "$tmp_diet" = no
9934       then
9935         tmp_addflag=' $pic_flag'
9936         tmp_sharedflag='-shared'
9937         case $cc_basename,$host_cpu in
9938         pgcc*)                          # Portland Group C compiler
9939           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'
9940           tmp_addflag=' $pic_flag'
9941           ;;
9942         pgf77* | pgf90* | pgf95* | pgfortran*)
9943                                         # Portland Group f77 and f90 compilers
9944           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'
9945           tmp_addflag=' $pic_flag -Mnomain' ;;
9946         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9947           tmp_addflag=' -i_dynamic' ;;
9948         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9949           tmp_addflag=' -i_dynamic -nofor_main' ;;
9950         ifc* | ifort*)                  # Intel Fortran compiler
9951           tmp_addflag=' -nofor_main' ;;
9952         lf95*)                          # Lahey Fortran 8.1
9953           whole_archive_flag_spec=
9954           tmp_sharedflag='--shared' ;;
9955         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9956           tmp_sharedflag='-qmkshrobj'
9957           tmp_addflag= ;;
9958         nvcc*)  # Cuda Compiler Driver 2.2
9959           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'
9960           compiler_needs_object=yes
9961           ;;
9962         esac
9963         case `$CC -V 2>&1 | sed 5q` in
9964         *Sun\ C*)                       # Sun C 5.9
9965           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'
9966           compiler_needs_object=yes
9967           tmp_sharedflag='-G' ;;
9968         *Sun\ F*)                       # Sun Fortran 8.3
9969           tmp_sharedflag='-G' ;;
9970         esac
9971         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9972
9973         if test "x$supports_anon_versioning" = xyes; then
9974           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9975             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9976             echo "local: *; };" >> $output_objdir/$libname.ver~
9977             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9978         fi
9979
9980         case $cc_basename in
9981         xlf* | bgf* | bgxlf* | mpixlf*)
9982           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9983           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9984           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9985           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9986           if test "x$supports_anon_versioning" = xyes; then
9987             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9988               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9989               echo "local: *; };" >> $output_objdir/$libname.ver~
9990               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9991           fi
9992           ;;
9993         esac
9994       else
9995         ld_shlibs=no
9996       fi
9997       ;;
9998
9999     netbsd* | netbsdelf*-gnu)
10000       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10001         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10002         wlarc=
10003       else
10004         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10005         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10006       fi
10007       ;;
10008
10009     solaris*)
10010       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10011         ld_shlibs=no
10012         cat <<_LT_EOF 1>&2
10013
10014 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10015 *** create shared libraries on Solaris systems.  Therefore, libtool
10016 *** is disabling shared libraries support.  We urge you to upgrade GNU
10017 *** binutils to release 2.9.1 or newer.  Another option is to modify
10018 *** your PATH or compiler configuration so that the native linker is
10019 *** used, and then restart.
10020
10021 _LT_EOF
10022       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10023         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10024         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10025       else
10026         ld_shlibs=no
10027       fi
10028       ;;
10029
10030     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10031       case `$LD -v 2>&1` in
10032         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10033         ld_shlibs=no
10034         cat <<_LT_EOF 1>&2
10035
10036 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10037 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10038 *** is disabling shared libraries support.  We urge you to upgrade GNU
10039 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10040 *** your PATH or compiler configuration so that the native linker is
10041 *** used, and then restart.
10042
10043 _LT_EOF
10044         ;;
10045         *)
10046           # For security reasons, it is highly recommended that you always
10047           # use absolute paths for naming shared libraries, and exclude the
10048           # DT_RUNPATH tag from executables and libraries.  But doing so
10049           # requires that you compile everything twice, which is a pain.
10050           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10051             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10052             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10053             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10054           else
10055             ld_shlibs=no
10056           fi
10057         ;;
10058       esac
10059       ;;
10060
10061     sunos4*)
10062       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10063       wlarc=
10064       hardcode_direct=yes
10065       hardcode_shlibpath_var=no
10066       ;;
10067
10068     *)
10069       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10070         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10071         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10072       else
10073         ld_shlibs=no
10074       fi
10075       ;;
10076     esac
10077
10078     if test "$ld_shlibs" = no; then
10079       runpath_var=
10080       hardcode_libdir_flag_spec=
10081       export_dynamic_flag_spec=
10082       whole_archive_flag_spec=
10083     fi
10084   else
10085     # PORTME fill in a description of your system's linker (not GNU ld)
10086     case $host_os in
10087     aix3*)
10088       allow_undefined_flag=unsupported
10089       always_export_symbols=yes
10090       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'
10091       # Note: this linker hardcodes the directories in LIBPATH if there
10092       # are no directories specified by -L.
10093       hardcode_minus_L=yes
10094       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10095         # Neither direct hardcoding nor static linking is supported with a
10096         # broken collect2.
10097         hardcode_direct=unsupported
10098       fi
10099       ;;
10100
10101     aix[4-9]*)
10102       if test "$host_cpu" = ia64; then
10103         # On IA64, the linker does run time linking by default, so we don't
10104         # have to do anything special.
10105         aix_use_runtimelinking=no
10106         exp_sym_flag='-Bexport'
10107         no_entry_flag=""
10108       else
10109         # If we're using GNU nm, then we don't want the "-C" option.
10110         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10111         # Also, AIX nm treats weak defined symbols like other global
10112         # defined symbols, whereas GNU nm marks them as "W".
10113         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10114           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10115         else
10116           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10117         fi
10118         aix_use_runtimelinking=no
10119
10120         # Test if we are trying to use run time linking or normal
10121         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10122         # need to do runtime linking.
10123         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10124           for ld_flag in $LDFLAGS; do
10125           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10126             aix_use_runtimelinking=yes
10127             break
10128           fi
10129           done
10130           ;;
10131         esac
10132
10133         exp_sym_flag='-bexport'
10134         no_entry_flag='-bnoentry'
10135       fi
10136
10137       # When large executables or shared objects are built, AIX ld can
10138       # have problems creating the table of contents.  If linking a library
10139       # or program results in "error TOC overflow" add -mminimal-toc to
10140       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10141       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10142
10143       archive_cmds=''
10144       hardcode_direct=yes
10145       hardcode_direct_absolute=yes
10146       hardcode_libdir_separator=':'
10147       link_all_deplibs=yes
10148       file_list_spec='${wl}-f,'
10149
10150       if test "$GCC" = yes; then
10151         case $host_os in aix4.[012]|aix4.[012].*)
10152         # We only want to do this on AIX 4.2 and lower, the check
10153         # below for broken collect2 doesn't work under 4.3+
10154           collect2name=`${CC} -print-prog-name=collect2`
10155           if test -f "$collect2name" &&
10156            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10157           then
10158           # We have reworked collect2
10159           :
10160           else
10161           # We have old collect2
10162           hardcode_direct=unsupported
10163           # It fails to find uninstalled libraries when the uninstalled
10164           # path is not listed in the libpath.  Setting hardcode_minus_L
10165           # to unsupported forces relinking
10166           hardcode_minus_L=yes
10167           hardcode_libdir_flag_spec='-L$libdir'
10168           hardcode_libdir_separator=
10169           fi
10170           ;;
10171         esac
10172         shared_flag='-shared'
10173         if test "$aix_use_runtimelinking" = yes; then
10174           shared_flag="$shared_flag "'${wl}-G'
10175         fi
10176         link_all_deplibs=no
10177       else
10178         # not using gcc
10179         if test "$host_cpu" = ia64; then
10180         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10181         # chokes on -Wl,-G. The following line is correct:
10182           shared_flag='-G'
10183         else
10184           if test "$aix_use_runtimelinking" = yes; then
10185             shared_flag='${wl}-G'
10186           else
10187             shared_flag='${wl}-bM:SRE'
10188           fi
10189         fi
10190       fi
10191
10192       export_dynamic_flag_spec='${wl}-bexpall'
10193       # It seems that -bexpall does not export symbols beginning with
10194       # underscore (_), so it is better to generate a list of symbols to export.
10195       always_export_symbols=yes
10196       if test "$aix_use_runtimelinking" = yes; then
10197         # Warning - without using the other runtime loading flags (-brtl),
10198         # -berok will link without error, but may produce a broken library.
10199         allow_undefined_flag='-berok'
10200         # Determine the default libpath from the value encoded in an
10201         # empty executable.
10202         if test "${lt_cv_aix_libpath+set}" = set; then
10203   aix_libpath=$lt_cv_aix_libpath
10204 else
10205   if ${lt_cv_aix_libpath_+:} false; then :
10206   $as_echo_n "(cached) " >&6
10207 else
10208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10209 /* end confdefs.h.  */
10210
10211 int
10212 main ()
10213 {
10214
10215   ;
10216   return 0;
10217 }
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"; then :
10220
10221   lt_aix_libpath_sed='
10222       /Import File Strings/,/^$/ {
10223           /^0/ {
10224               s/^0  *\([^ ]*\) *$/\1/
10225               p
10226           }
10227       }'
10228   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10229   # Check for a 64-bit object if we didn't find anything.
10230   if test -z "$lt_cv_aix_libpath_"; then
10231     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10232   fi
10233 fi
10234 rm -f core conftest.err conftest.$ac_objext \
10235     conftest$ac_exeext conftest.$ac_ext
10236   if test -z "$lt_cv_aix_libpath_"; then
10237     lt_cv_aix_libpath_="/usr/lib:/lib"
10238   fi
10239
10240 fi
10241
10242   aix_libpath=$lt_cv_aix_libpath_
10243 fi
10244
10245         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10246         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10247       else
10248         if test "$host_cpu" = ia64; then
10249           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10250           allow_undefined_flag="-z nodefs"
10251           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"
10252         else
10253          # Determine the default libpath from the value encoded in an
10254          # empty executable.
10255          if test "${lt_cv_aix_libpath+set}" = set; then
10256   aix_libpath=$lt_cv_aix_libpath
10257 else
10258   if ${lt_cv_aix_libpath_+:} false; then :
10259   $as_echo_n "(cached) " >&6
10260 else
10261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h.  */
10263
10264 int
10265 main ()
10266 {
10267
10268   ;
10269   return 0;
10270 }
10271 _ACEOF
10272 if ac_fn_c_try_link "$LINENO"; then :
10273
10274   lt_aix_libpath_sed='
10275       /Import File Strings/,/^$/ {
10276           /^0/ {
10277               s/^0  *\([^ ]*\) *$/\1/
10278               p
10279           }
10280       }'
10281   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10282   # Check for a 64-bit object if we didn't find anything.
10283   if test -z "$lt_cv_aix_libpath_"; then
10284     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10285   fi
10286 fi
10287 rm -f core conftest.err conftest.$ac_objext \
10288     conftest$ac_exeext conftest.$ac_ext
10289   if test -z "$lt_cv_aix_libpath_"; then
10290     lt_cv_aix_libpath_="/usr/lib:/lib"
10291   fi
10292
10293 fi
10294
10295   aix_libpath=$lt_cv_aix_libpath_
10296 fi
10297
10298          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10299           # Warning - without using the other run time loading flags,
10300           # -berok will link without error, but may produce a broken library.
10301           no_undefined_flag=' ${wl}-bernotok'
10302           allow_undefined_flag=' ${wl}-berok'
10303           if test "$with_gnu_ld" = yes; then
10304             # We only use this code for GNU lds that support --whole-archive.
10305             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10306           else
10307             # Exported symbols can be pulled into shared objects from archives
10308             whole_archive_flag_spec='$convenience'
10309           fi
10310           archive_cmds_need_lc=yes
10311           # This is similar to how AIX traditionally builds its shared libraries.
10312           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10313         fi
10314       fi
10315       ;;
10316
10317     amigaos*)
10318       case $host_cpu in
10319       powerpc)
10320             # see comment about AmigaOS4 .so support
10321             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10322             archive_expsym_cmds=''
10323         ;;
10324       m68k)
10325             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)'
10326             hardcode_libdir_flag_spec='-L$libdir'
10327             hardcode_minus_L=yes
10328         ;;
10329       esac
10330       ;;
10331
10332     bsdi[45]*)
10333       export_dynamic_flag_spec=-rdynamic
10334       ;;
10335
10336     cygwin* | mingw* | pw32* | cegcc*)
10337       # When not using gcc, we currently assume that we are using
10338       # Microsoft Visual C++.
10339       # hardcode_libdir_flag_spec is actually meaningless, as there is
10340       # no search path for DLLs.
10341       case $cc_basename in
10342       cl*)
10343         # Native MSVC
10344         hardcode_libdir_flag_spec=' '
10345         allow_undefined_flag=unsupported
10346         always_export_symbols=yes
10347         file_list_spec='@'
10348         # Tell ltmain to make .lib files, not .a files.
10349         libext=lib
10350         # Tell ltmain to make .dll files, not .so files.
10351         shrext_cmds=".dll"
10352         # FIXME: Setting linknames here is a bad hack.
10353         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10354         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10355             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10356           else
10357             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10358           fi~
10359           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10360           linknames='
10361         # The linker will not automatically build a static lib if we build a DLL.
10362         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10363         enable_shared_with_static_runtimes=yes
10364         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10365         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10366         # Don't use ranlib
10367         old_postinstall_cmds='chmod 644 $oldlib'
10368         postlink_cmds='lt_outputfile="@OUTPUT@"~
10369           lt_tool_outputfile="@TOOL_OUTPUT@"~
10370           case $lt_outputfile in
10371             *.exe|*.EXE) ;;
10372             *)
10373               lt_outputfile="$lt_outputfile.exe"
10374               lt_tool_outputfile="$lt_tool_outputfile.exe"
10375               ;;
10376           esac~
10377           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10378             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10379             $RM "$lt_outputfile.manifest";
10380           fi'
10381         ;;
10382       *)
10383         # Assume MSVC wrapper
10384         hardcode_libdir_flag_spec=' '
10385         allow_undefined_flag=unsupported
10386         # Tell ltmain to make .lib files, not .a files.
10387         libext=lib
10388         # Tell ltmain to make .dll files, not .so files.
10389         shrext_cmds=".dll"
10390         # FIXME: Setting linknames here is a bad hack.
10391         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10392         # The linker will automatically build a .lib file if we build a DLL.
10393         old_archive_from_new_cmds='true'
10394         # FIXME: Should let the user specify the lib program.
10395         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10396         enable_shared_with_static_runtimes=yes
10397         ;;
10398       esac
10399       ;;
10400
10401     darwin* | rhapsody*)
10402
10403
10404   archive_cmds_need_lc=no
10405   hardcode_direct=no
10406   hardcode_automatic=yes
10407   hardcode_shlibpath_var=unsupported
10408   if test "$lt_cv_ld_force_load" = "yes"; then
10409     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\"`'
10410
10411   else
10412     whole_archive_flag_spec=''
10413   fi
10414   link_all_deplibs=yes
10415   allow_undefined_flag="$_lt_dar_allow_undefined"
10416   case $cc_basename in
10417      ifort*) _lt_dar_can_shared=yes ;;
10418      *) _lt_dar_can_shared=$GCC ;;
10419   esac
10420   if test "$_lt_dar_can_shared" = "yes"; then
10421     output_verbose_link_cmd=func_echo_all
10422     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10423     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10424     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}"
10425     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}"
10426
10427   else
10428   ld_shlibs=no
10429   fi
10430
10431       ;;
10432
10433     dgux*)
10434       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10435       hardcode_libdir_flag_spec='-L$libdir'
10436       hardcode_shlibpath_var=no
10437       ;;
10438
10439     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10440     # support.  Future versions do this automatically, but an explicit c++rt0.o
10441     # does not break anything, and helps significantly (at the cost of a little
10442     # extra space).
10443     freebsd2.2*)
10444       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10445       hardcode_libdir_flag_spec='-R$libdir'
10446       hardcode_direct=yes
10447       hardcode_shlibpath_var=no
10448       ;;
10449
10450     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10451     freebsd2.*)
10452       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10453       hardcode_direct=yes
10454       hardcode_minus_L=yes
10455       hardcode_shlibpath_var=no
10456       ;;
10457
10458     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10459     freebsd* | dragonfly*)
10460       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10461       hardcode_libdir_flag_spec='-R$libdir'
10462       hardcode_direct=yes
10463       hardcode_shlibpath_var=no
10464       ;;
10465
10466     hpux9*)
10467       if test "$GCC" = yes; then
10468         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10469       else
10470         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10471       fi
10472       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10473       hardcode_libdir_separator=:
10474       hardcode_direct=yes
10475
10476       # hardcode_minus_L: Not really in the search PATH,
10477       # but as the default location of the library.
10478       hardcode_minus_L=yes
10479       export_dynamic_flag_spec='${wl}-E'
10480       ;;
10481
10482     hpux10*)
10483       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10484         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10485       else
10486         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10487       fi
10488       if test "$with_gnu_ld" = no; then
10489         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10490         hardcode_libdir_separator=:
10491         hardcode_direct=yes
10492         hardcode_direct_absolute=yes
10493         export_dynamic_flag_spec='${wl}-E'
10494         # hardcode_minus_L: Not really in the search PATH,
10495         # but as the default location of the library.
10496         hardcode_minus_L=yes
10497       fi
10498       ;;
10499
10500     hpux11*)
10501       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10502         case $host_cpu in
10503         hppa*64*)
10504           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10505           ;;
10506         ia64*)
10507           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10508           ;;
10509         *)
10510           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10511           ;;
10512         esac
10513       else
10514         case $host_cpu in
10515         hppa*64*)
10516           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10517           ;;
10518         ia64*)
10519           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10520           ;;
10521         *)
10522
10523           # Older versions of the 11.00 compiler do not understand -b yet
10524           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10525           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10526 $as_echo_n "checking if $CC understands -b... " >&6; }
10527 if ${lt_cv_prog_compiler__b+:} false; then :
10528   $as_echo_n "(cached) " >&6
10529 else
10530   lt_cv_prog_compiler__b=no
10531    save_LDFLAGS="$LDFLAGS"
10532    LDFLAGS="$LDFLAGS -b"
10533    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10534    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10535      # The linker can only warn and ignore the option if not recognized
10536      # So say no if there are warnings
10537      if test -s conftest.err; then
10538        # Append any errors to the config.log.
10539        cat conftest.err 1>&5
10540        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10541        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10542        if diff conftest.exp conftest.er2 >/dev/null; then
10543          lt_cv_prog_compiler__b=yes
10544        fi
10545      else
10546        lt_cv_prog_compiler__b=yes
10547      fi
10548    fi
10549    $RM -r conftest*
10550    LDFLAGS="$save_LDFLAGS"
10551
10552 fi
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10554 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10555
10556 if test x"$lt_cv_prog_compiler__b" = xyes; then
10557     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10558 else
10559     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10560 fi
10561
10562           ;;
10563         esac
10564       fi
10565       if test "$with_gnu_ld" = no; then
10566         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10567         hardcode_libdir_separator=:
10568
10569         case $host_cpu in
10570         hppa*64*|ia64*)
10571           hardcode_direct=no
10572           hardcode_shlibpath_var=no
10573           ;;
10574         *)
10575           hardcode_direct=yes
10576           hardcode_direct_absolute=yes
10577           export_dynamic_flag_spec='${wl}-E'
10578
10579           # hardcode_minus_L: Not really in the search PATH,
10580           # but as the default location of the library.
10581           hardcode_minus_L=yes
10582           ;;
10583         esac
10584       fi
10585       ;;
10586
10587     irix5* | irix6* | nonstopux*)
10588       if test "$GCC" = yes; then
10589         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'
10590         # Try to use the -exported_symbol ld option, if it does not
10591         # work, assume that -exports_file does not work either and
10592         # implicitly export all symbols.
10593         # This should be the same for all languages, so no per-tag cache variable.
10594         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10595 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10596 if ${lt_cv_irix_exported_symbol+:} false; then :
10597   $as_echo_n "(cached) " >&6
10598 else
10599   save_LDFLAGS="$LDFLAGS"
10600            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10601            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10602 /* end confdefs.h.  */
10603 int foo (void) { return 0; }
10604 _ACEOF
10605 if ac_fn_c_try_link "$LINENO"; then :
10606   lt_cv_irix_exported_symbol=yes
10607 else
10608   lt_cv_irix_exported_symbol=no
10609 fi
10610 rm -f core conftest.err conftest.$ac_objext \
10611     conftest$ac_exeext conftest.$ac_ext
10612            LDFLAGS="$save_LDFLAGS"
10613 fi
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10615 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10616         if test "$lt_cv_irix_exported_symbol" = yes; then
10617           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'
10618         fi
10619       else
10620         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'
10621         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'
10622       fi
10623       archive_cmds_need_lc='no'
10624       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10625       hardcode_libdir_separator=:
10626       inherit_rpath=yes
10627       link_all_deplibs=yes
10628       ;;
10629
10630     netbsd* | netbsdelf*-gnu)
10631       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10632         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10633       else
10634         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10635       fi
10636       hardcode_libdir_flag_spec='-R$libdir'
10637       hardcode_direct=yes
10638       hardcode_shlibpath_var=no
10639       ;;
10640
10641     newsos6)
10642       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10643       hardcode_direct=yes
10644       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10645       hardcode_libdir_separator=:
10646       hardcode_shlibpath_var=no
10647       ;;
10648
10649     *nto* | *qnx*)
10650       ;;
10651
10652     openbsd*)
10653       if test -f /usr/libexec/ld.so; then
10654         hardcode_direct=yes
10655         hardcode_shlibpath_var=no
10656         hardcode_direct_absolute=yes
10657         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10658           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10659           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10660           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10661           export_dynamic_flag_spec='${wl}-E'
10662         else
10663           case $host_os in
10664            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10665              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10666              hardcode_libdir_flag_spec='-R$libdir'
10667              ;;
10668            *)
10669              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10670              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10671              ;;
10672           esac
10673         fi
10674       else
10675         ld_shlibs=no
10676       fi
10677       ;;
10678
10679     os2*)
10680       hardcode_libdir_flag_spec='-L$libdir'
10681       hardcode_minus_L=yes
10682       allow_undefined_flag=unsupported
10683       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10684       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10685       ;;
10686
10687     osf3*)
10688       if test "$GCC" = yes; then
10689         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10690         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'
10691       else
10692         allow_undefined_flag=' -expect_unresolved \*'
10693         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'
10694       fi
10695       archive_cmds_need_lc='no'
10696       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10697       hardcode_libdir_separator=:
10698       ;;
10699
10700     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10701       if test "$GCC" = yes; then
10702         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10703         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'
10704         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10705       else
10706         allow_undefined_flag=' -expect_unresolved \*'
10707         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'
10708         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~
10709         $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'
10710
10711         # Both c and cxx compiler support -rpath directly
10712         hardcode_libdir_flag_spec='-rpath $libdir'
10713       fi
10714       archive_cmds_need_lc='no'
10715       hardcode_libdir_separator=:
10716       ;;
10717
10718     solaris*)
10719       no_undefined_flag=' -z defs'
10720       if test "$GCC" = yes; then
10721         wlarc='${wl}'
10722         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10723         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10724           $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'
10725       else
10726         case `$CC -V 2>&1` in
10727         *"Compilers 5.0"*)
10728           wlarc=''
10729           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10730           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10731           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10732           ;;
10733         *)
10734           wlarc='${wl}'
10735           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10736           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10737           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10738           ;;
10739         esac
10740       fi
10741       hardcode_libdir_flag_spec='-R$libdir'
10742       hardcode_shlibpath_var=no
10743       case $host_os in
10744       solaris2.[0-5] | solaris2.[0-5].*) ;;
10745       *)
10746         # The compiler driver will combine and reorder linker options,
10747         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10748         # but is careful enough not to reorder.
10749         # Supported since Solaris 2.6 (maybe 2.5.1?)
10750         if test "$GCC" = yes; then
10751           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10752         else
10753           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10754         fi
10755         ;;
10756       esac
10757       link_all_deplibs=yes
10758       ;;
10759
10760     sunos4*)
10761       if test "x$host_vendor" = xsequent; then
10762         # Use $CC to link under sequent, because it throws in some extra .o
10763         # files that make .init and .fini sections work.
10764         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10765       else
10766         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10767       fi
10768       hardcode_libdir_flag_spec='-L$libdir'
10769       hardcode_direct=yes
10770       hardcode_minus_L=yes
10771       hardcode_shlibpath_var=no
10772       ;;
10773
10774     sysv4)
10775       case $host_vendor in
10776         sni)
10777           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10778           hardcode_direct=yes # is this really true???
10779         ;;
10780         siemens)
10781           ## LD is ld it makes a PLAMLIB
10782           ## CC just makes a GrossModule.
10783           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10784           reload_cmds='$CC -r -o $output$reload_objs'
10785           hardcode_direct=no
10786         ;;
10787         motorola)
10788           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10789           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10790         ;;
10791       esac
10792       runpath_var='LD_RUN_PATH'
10793       hardcode_shlibpath_var=no
10794       ;;
10795
10796     sysv4.3*)
10797       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10798       hardcode_shlibpath_var=no
10799       export_dynamic_flag_spec='-Bexport'
10800       ;;
10801
10802     sysv4*MP*)
10803       if test -d /usr/nec; then
10804         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10805         hardcode_shlibpath_var=no
10806         runpath_var=LD_RUN_PATH
10807         hardcode_runpath_var=yes
10808         ld_shlibs=yes
10809       fi
10810       ;;
10811
10812     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10813       no_undefined_flag='${wl}-z,text'
10814       archive_cmds_need_lc=no
10815       hardcode_shlibpath_var=no
10816       runpath_var='LD_RUN_PATH'
10817
10818       if test "$GCC" = yes; then
10819         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10820         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10821       else
10822         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10823         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10824       fi
10825       ;;
10826
10827     sysv5* | sco3.2v5* | sco5v6*)
10828       # Note: We can NOT use -z defs as we might desire, because we do not
10829       # link with -lc, and that would cause any symbols used from libc to
10830       # always be unresolved, which means just about no library would
10831       # ever link correctly.  If we're not using GNU ld we use -z text
10832       # though, which does catch some bad symbols but isn't as heavy-handed
10833       # as -z defs.
10834       no_undefined_flag='${wl}-z,text'
10835       allow_undefined_flag='${wl}-z,nodefs'
10836       archive_cmds_need_lc=no
10837       hardcode_shlibpath_var=no
10838       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10839       hardcode_libdir_separator=':'
10840       link_all_deplibs=yes
10841       export_dynamic_flag_spec='${wl}-Bexport'
10842       runpath_var='LD_RUN_PATH'
10843
10844       if test "$GCC" = yes; then
10845         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10846         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10847       else
10848         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10849         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10850       fi
10851       ;;
10852
10853     uts4*)
10854       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10855       hardcode_libdir_flag_spec='-L$libdir'
10856       hardcode_shlibpath_var=no
10857       ;;
10858
10859     *)
10860       ld_shlibs=no
10861       ;;
10862     esac
10863
10864     if test x$host_vendor = xsni; then
10865       case $host in
10866       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10867         export_dynamic_flag_spec='${wl}-Blargedynsym'
10868         ;;
10869       esac
10870     fi
10871   fi
10872
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10874 $as_echo "$ld_shlibs" >&6; }
10875 test "$ld_shlibs" = no && can_build_shared=no
10876
10877 with_gnu_ld=$with_gnu_ld
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893 #
10894 # Do we need to explicitly link libc?
10895 #
10896 case "x$archive_cmds_need_lc" in
10897 x|xyes)
10898   # Assume -lc should be added
10899   archive_cmds_need_lc=yes
10900
10901   if test "$enable_shared" = yes && test "$GCC" = yes; then
10902     case $archive_cmds in
10903     *'~'*)
10904       # FIXME: we may have to deal with multi-command sequences.
10905       ;;
10906     '$CC '*)
10907       # Test whether the compiler implicitly links with -lc since on some
10908       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10909       # to ld, don't add -lc before -lgcc.
10910       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10911 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10912 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10913   $as_echo_n "(cached) " >&6
10914 else
10915   $RM conftest*
10916         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10917
10918         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10919   (eval $ac_compile) 2>&5
10920   ac_status=$?
10921   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10922   test $ac_status = 0; } 2>conftest.err; then
10923           soname=conftest
10924           lib=conftest
10925           libobjs=conftest.$ac_objext
10926           deplibs=
10927           wl=$lt_prog_compiler_wl
10928           pic_flag=$lt_prog_compiler_pic
10929           compiler_flags=-v
10930           linker_flags=-v
10931           verstring=
10932           output_objdir=.
10933           libname=conftest
10934           lt_save_allow_undefined_flag=$allow_undefined_flag
10935           allow_undefined_flag=
10936           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10937   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10938   ac_status=$?
10939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10940   test $ac_status = 0; }
10941           then
10942             lt_cv_archive_cmds_need_lc=no
10943           else
10944             lt_cv_archive_cmds_need_lc=yes
10945           fi
10946           allow_undefined_flag=$lt_save_allow_undefined_flag
10947         else
10948           cat conftest.err 1>&5
10949         fi
10950         $RM conftest*
10951
10952 fi
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10954 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10955       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10956       ;;
10957     esac
10958   fi
10959   ;;
10960 esac
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11114 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11115
11116 if test "$GCC" = yes; then
11117   case $host_os in
11118     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11119     *) lt_awk_arg="/^libraries:/" ;;
11120   esac
11121   case $host_os in
11122     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11123     *) lt_sed_strip_eq="s,=/,/,g" ;;
11124   esac
11125   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11126   case $lt_search_path_spec in
11127   *\;*)
11128     # if the path contains ";" then we assume it to be the separator
11129     # otherwise default to the standard path separator (i.e. ":") - it is
11130     # assumed that no part of a normal pathname contains ";" but that should
11131     # okay in the real world where ";" in dirpaths is itself problematic.
11132     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11133     ;;
11134   *)
11135     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11136     ;;
11137   esac
11138   # Ok, now we have the path, separated by spaces, we can step through it
11139   # and add multilib dir if necessary.
11140   lt_tmp_lt_search_path_spec=
11141   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11142   for lt_sys_path in $lt_search_path_spec; do
11143     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11144       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11145     else
11146       test -d "$lt_sys_path" && \
11147         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11148     fi
11149   done
11150   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11151 BEGIN {RS=" "; FS="/|\n";} {
11152   lt_foo="";
11153   lt_count=0;
11154   for (lt_i = NF; lt_i > 0; lt_i--) {
11155     if ($lt_i != "" && $lt_i != ".") {
11156       if ($lt_i == "..") {
11157         lt_count++;
11158       } else {
11159         if (lt_count == 0) {
11160           lt_foo="/" $lt_i lt_foo;
11161         } else {
11162           lt_count--;
11163         }
11164       }
11165     }
11166   }
11167   if (lt_foo != "") { lt_freq[lt_foo]++; }
11168   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11169 }'`
11170   # AWK program above erroneously prepends '/' to C:/dos/paths
11171   # for these hosts.
11172   case $host_os in
11173     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11174       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11175   esac
11176   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11177 else
11178   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11179 fi
11180 library_names_spec=
11181 libname_spec='lib$name'
11182 soname_spec=
11183 shrext_cmds=".so"
11184 postinstall_cmds=
11185 postuninstall_cmds=
11186 finish_cmds=
11187 finish_eval=
11188 shlibpath_var=
11189 shlibpath_overrides_runpath=unknown
11190 version_type=none
11191 dynamic_linker="$host_os ld.so"
11192 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11193 need_lib_prefix=unknown
11194 hardcode_into_libs=no
11195
11196 # when you set need_version to no, make sure it does not cause -set_version
11197 # flags to be left without arguments
11198 need_version=unknown
11199
11200 case $host_os in
11201 aix3*)
11202   version_type=linux # correct to gnu/linux during the next big refactor
11203   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11204   shlibpath_var=LIBPATH
11205
11206   # AIX 3 has no versioning support, so we append a major version to the name.
11207   soname_spec='${libname}${release}${shared_ext}$major'
11208   ;;
11209
11210 aix[4-9]*)
11211   version_type=linux # correct to gnu/linux during the next big refactor
11212   need_lib_prefix=no
11213   need_version=no
11214   hardcode_into_libs=yes
11215   if test "$host_cpu" = ia64; then
11216     # AIX 5 supports IA64
11217     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11218     shlibpath_var=LD_LIBRARY_PATH
11219   else
11220     # With GCC up to 2.95.x, collect2 would create an import file
11221     # for dependence libraries.  The import file would start with
11222     # the line `#! .'.  This would cause the generated library to
11223     # depend on `.', always an invalid library.  This was fixed in
11224     # development snapshots of GCC prior to 3.0.
11225     case $host_os in
11226       aix4 | aix4.[01] | aix4.[01].*)
11227       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11228            echo ' yes '
11229            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11230         :
11231       else
11232         can_build_shared=no
11233       fi
11234       ;;
11235     esac
11236     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11237     # soname into executable. Probably we can add versioning support to
11238     # collect2, so additional links can be useful in future.
11239     if test "$aix_use_runtimelinking" = yes; then
11240       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11241       # instead of lib<name>.a to let people know that these are not
11242       # typical AIX shared libraries.
11243       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11244     else
11245       # We preserve .a as extension for shared libraries through AIX4.2
11246       # and later when we are not doing run time linking.
11247       library_names_spec='${libname}${release}.a $libname.a'
11248       soname_spec='${libname}${release}${shared_ext}$major'
11249     fi
11250     shlibpath_var=LIBPATH
11251   fi
11252   ;;
11253
11254 amigaos*)
11255   case $host_cpu in
11256   powerpc)
11257     # Since July 2007 AmigaOS4 officially supports .so libraries.
11258     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11259     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11260     ;;
11261   m68k)
11262     library_names_spec='$libname.ixlibrary $libname.a'
11263     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11264     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11265     ;;
11266   esac
11267   ;;
11268
11269 beos*)
11270   library_names_spec='${libname}${shared_ext}'
11271   dynamic_linker="$host_os ld.so"
11272   shlibpath_var=LIBRARY_PATH
11273   ;;
11274
11275 bsdi[45]*)
11276   version_type=linux # correct to gnu/linux during the next big refactor
11277   need_version=no
11278   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11279   soname_spec='${libname}${release}${shared_ext}$major'
11280   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11281   shlibpath_var=LD_LIBRARY_PATH
11282   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11283   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11284   # the default ld.so.conf also contains /usr/contrib/lib and
11285   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11286   # libtool to hard-code these into programs
11287   ;;
11288
11289 cygwin* | mingw* | pw32* | cegcc*)
11290   version_type=windows
11291   shrext_cmds=".dll"
11292   need_version=no
11293   need_lib_prefix=no
11294
11295   case $GCC,$cc_basename in
11296   yes,*)
11297     # gcc
11298     library_names_spec='$libname.dll.a'
11299     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11300     postinstall_cmds='base_file=`basename \${file}`~
11301       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11302       dldir=$destdir/`dirname \$dlpath`~
11303       test -d \$dldir || mkdir -p \$dldir~
11304       $install_prog $dir/$dlname \$dldir/$dlname~
11305       chmod a+x \$dldir/$dlname~
11306       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11307         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11308       fi'
11309     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11310       dlpath=$dir/\$dldll~
11311        $RM \$dlpath'
11312     shlibpath_overrides_runpath=yes
11313
11314     case $host_os in
11315     cygwin*)
11316       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11317       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11318
11319       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11320       ;;
11321     mingw* | cegcc*)
11322       # MinGW DLLs use traditional 'lib' prefix
11323       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11324       ;;
11325     pw32*)
11326       # pw32 DLLs use 'pw' prefix rather than 'lib'
11327       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11328       ;;
11329     esac
11330     dynamic_linker='Win32 ld.exe'
11331     ;;
11332
11333   *,cl*)
11334     # Native MSVC
11335     libname_spec='$name'
11336     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11337     library_names_spec='${libname}.dll.lib'
11338
11339     case $build_os in
11340     mingw*)
11341       sys_lib_search_path_spec=
11342       lt_save_ifs=$IFS
11343       IFS=';'
11344       for lt_path in $LIB
11345       do
11346         IFS=$lt_save_ifs
11347         # Let DOS variable expansion print the short 8.3 style file name.
11348         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11349         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11350       done
11351       IFS=$lt_save_ifs
11352       # Convert to MSYS style.
11353       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11354       ;;
11355     cygwin*)
11356       # Convert to unix form, then to dos form, then back to unix form
11357       # but this time dos style (no spaces!) so that the unix form looks
11358       # like /cygdrive/c/PROGRA~1:/cygdr...
11359       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11360       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11361       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11362       ;;
11363     *)
11364       sys_lib_search_path_spec="$LIB"
11365       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11366         # It is most probably a Windows format PATH.
11367         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11368       else
11369         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11370       fi
11371       # FIXME: find the short name or the path components, as spaces are
11372       # common. (e.g. "Program Files" -> "PROGRA~1")
11373       ;;
11374     esac
11375
11376     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11377     postinstall_cmds='base_file=`basename \${file}`~
11378       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11379       dldir=$destdir/`dirname \$dlpath`~
11380       test -d \$dldir || mkdir -p \$dldir~
11381       $install_prog $dir/$dlname \$dldir/$dlname'
11382     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11383       dlpath=$dir/\$dldll~
11384        $RM \$dlpath'
11385     shlibpath_overrides_runpath=yes
11386     dynamic_linker='Win32 link.exe'
11387     ;;
11388
11389   *)
11390     # Assume MSVC wrapper
11391     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11392     dynamic_linker='Win32 ld.exe'
11393     ;;
11394   esac
11395   # FIXME: first we should search . and the directory the executable is in
11396   shlibpath_var=PATH
11397   ;;
11398
11399 darwin* | rhapsody*)
11400   dynamic_linker="$host_os dyld"
11401   version_type=darwin
11402   need_lib_prefix=no
11403   need_version=no
11404   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11405   soname_spec='${libname}${release}${major}$shared_ext'
11406   shlibpath_overrides_runpath=yes
11407   shlibpath_var=DYLD_LIBRARY_PATH
11408   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11409
11410   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11411   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11412   ;;
11413
11414 dgux*)
11415   version_type=linux # correct to gnu/linux during the next big refactor
11416   need_lib_prefix=no
11417   need_version=no
11418   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11419   soname_spec='${libname}${release}${shared_ext}$major'
11420   shlibpath_var=LD_LIBRARY_PATH
11421   ;;
11422
11423 freebsd* | dragonfly*)
11424   # DragonFly does not have aout.  When/if they implement a new
11425   # versioning mechanism, adjust this.
11426   if test -x /usr/bin/objformat; then
11427     objformat=`/usr/bin/objformat`
11428   else
11429     case $host_os in
11430     freebsd[23].*) objformat=aout ;;
11431     *) objformat=elf ;;
11432     esac
11433   fi
11434   version_type=freebsd-$objformat
11435   case $version_type in
11436     freebsd-elf*)
11437       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11438       need_version=no
11439       need_lib_prefix=no
11440       ;;
11441     freebsd-*)
11442       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11443       need_version=yes
11444       ;;
11445   esac
11446   shlibpath_var=LD_LIBRARY_PATH
11447   case $host_os in
11448   freebsd2.*)
11449     shlibpath_overrides_runpath=yes
11450     ;;
11451   freebsd3.[01]* | freebsdelf3.[01]*)
11452     shlibpath_overrides_runpath=yes
11453     hardcode_into_libs=yes
11454     ;;
11455   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11456   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11457     shlibpath_overrides_runpath=no
11458     hardcode_into_libs=yes
11459     ;;
11460   *) # from 4.6 on, and DragonFly
11461     shlibpath_overrides_runpath=yes
11462     hardcode_into_libs=yes
11463     ;;
11464   esac
11465   ;;
11466
11467 gnu*)
11468   version_type=linux # correct to gnu/linux during the next big refactor
11469   need_lib_prefix=no
11470   need_version=no
11471   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11472   soname_spec='${libname}${release}${shared_ext}$major'
11473   shlibpath_var=LD_LIBRARY_PATH
11474   shlibpath_overrides_runpath=no
11475   hardcode_into_libs=yes
11476   ;;
11477
11478 haiku*)
11479   version_type=linux # correct to gnu/linux during the next big refactor
11480   need_lib_prefix=no
11481   need_version=no
11482   dynamic_linker="$host_os runtime_loader"
11483   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11484   soname_spec='${libname}${release}${shared_ext}$major'
11485   shlibpath_var=LIBRARY_PATH
11486   shlibpath_overrides_runpath=yes
11487   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11488   hardcode_into_libs=yes
11489   ;;
11490
11491 hpux9* | hpux10* | hpux11*)
11492   # Give a soname corresponding to the major version so that dld.sl refuses to
11493   # link against other versions.
11494   version_type=sunos
11495   need_lib_prefix=no
11496   need_version=no
11497   case $host_cpu in
11498   ia64*)
11499     shrext_cmds='.so'
11500     hardcode_into_libs=yes
11501     dynamic_linker="$host_os dld.so"
11502     shlibpath_var=LD_LIBRARY_PATH
11503     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11504     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505     soname_spec='${libname}${release}${shared_ext}$major'
11506     if test "X$HPUX_IA64_MODE" = X32; then
11507       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11508     else
11509       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11510     fi
11511     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11512     ;;
11513   hppa*64*)
11514     shrext_cmds='.sl'
11515     hardcode_into_libs=yes
11516     dynamic_linker="$host_os dld.sl"
11517     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11518     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11519     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11520     soname_spec='${libname}${release}${shared_ext}$major'
11521     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11522     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11523     ;;
11524   *)
11525     shrext_cmds='.sl'
11526     dynamic_linker="$host_os dld.sl"
11527     shlibpath_var=SHLIB_PATH
11528     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11529     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11530     soname_spec='${libname}${release}${shared_ext}$major'
11531     ;;
11532   esac
11533   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11534   postinstall_cmds='chmod 555 $lib'
11535   # or fails outright, so override atomically:
11536   install_override_mode=555
11537   ;;
11538
11539 interix[3-9]*)
11540   version_type=linux # correct to gnu/linux during the next big refactor
11541   need_lib_prefix=no
11542   need_version=no
11543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11544   soname_spec='${libname}${release}${shared_ext}$major'
11545   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11546   shlibpath_var=LD_LIBRARY_PATH
11547   shlibpath_overrides_runpath=no
11548   hardcode_into_libs=yes
11549   ;;
11550
11551 irix5* | irix6* | nonstopux*)
11552   case $host_os in
11553     nonstopux*) version_type=nonstopux ;;
11554     *)
11555         if test "$lt_cv_prog_gnu_ld" = yes; then
11556                 version_type=linux # correct to gnu/linux during the next big refactor
11557         else
11558                 version_type=irix
11559         fi ;;
11560   esac
11561   need_lib_prefix=no
11562   need_version=no
11563   soname_spec='${libname}${release}${shared_ext}$major'
11564   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11565   case $host_os in
11566   irix5* | nonstopux*)
11567     libsuff= shlibsuff=
11568     ;;
11569   *)
11570     case $LD in # libtool.m4 will add one of these switches to LD
11571     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11572       libsuff= shlibsuff= libmagic=32-bit;;
11573     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11574       libsuff=32 shlibsuff=N32 libmagic=N32;;
11575     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11576       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11577     *) libsuff= shlibsuff= libmagic=never-match;;
11578     esac
11579     ;;
11580   esac
11581   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11582   shlibpath_overrides_runpath=no
11583   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11584   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11585   hardcode_into_libs=yes
11586   ;;
11587
11588 # No shared lib support for Linux oldld, aout, or coff.
11589 linux*oldld* | linux*aout* | linux*coff*)
11590   dynamic_linker=no
11591   ;;
11592
11593 # This must be glibc/ELF.
11594 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11595   version_type=linux # correct to gnu/linux during the next big refactor
11596   need_lib_prefix=no
11597   need_version=no
11598   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11599   soname_spec='${libname}${release}${shared_ext}$major'
11600   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11601   shlibpath_var=LD_LIBRARY_PATH
11602   shlibpath_overrides_runpath=no
11603
11604   # Some binutils ld are patched to set DT_RUNPATH
11605   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11606   $as_echo_n "(cached) " >&6
11607 else
11608   lt_cv_shlibpath_overrides_runpath=no
11609     save_LDFLAGS=$LDFLAGS
11610     save_libdir=$libdir
11611     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11612          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11613     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11614 /* end confdefs.h.  */
11615
11616 int
11617 main ()
11618 {
11619
11620   ;
11621   return 0;
11622 }
11623 _ACEOF
11624 if ac_fn_c_try_link "$LINENO"; then :
11625   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11626   lt_cv_shlibpath_overrides_runpath=yes
11627 fi
11628 fi
11629 rm -f core conftest.err conftest.$ac_objext \
11630     conftest$ac_exeext conftest.$ac_ext
11631     LDFLAGS=$save_LDFLAGS
11632     libdir=$save_libdir
11633
11634 fi
11635
11636   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11637
11638   # This implies no fast_install, which is unacceptable.
11639   # Some rework will be needed to allow for fast_install
11640   # before this can be enabled.
11641   hardcode_into_libs=yes
11642
11643   # Append ld.so.conf contents to the search path
11644   if test -f /etc/ld.so.conf; then
11645     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' ' '`
11646     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11647   fi
11648
11649   # We used to test for /lib/ld.so.1 and disable shared libraries on
11650   # powerpc, because MkLinux only supported shared libraries with the
11651   # GNU dynamic linker.  Since this was broken with cross compilers,
11652   # most powerpc-linux boxes support dynamic linking these days and
11653   # people can always --disable-shared, the test was removed, and we
11654   # assume the GNU/Linux dynamic linker is in use.
11655   dynamic_linker='GNU/Linux ld.so'
11656   ;;
11657
11658 netbsdelf*-gnu)
11659   version_type=linux
11660   need_lib_prefix=no
11661   need_version=no
11662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11663   soname_spec='${libname}${release}${shared_ext}$major'
11664   shlibpath_var=LD_LIBRARY_PATH
11665   shlibpath_overrides_runpath=no
11666   hardcode_into_libs=yes
11667   dynamic_linker='NetBSD ld.elf_so'
11668   ;;
11669
11670 netbsd*)
11671   version_type=sunos
11672   need_lib_prefix=no
11673   need_version=no
11674   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11675     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11676     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11677     dynamic_linker='NetBSD (a.out) ld.so'
11678   else
11679     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11680     soname_spec='${libname}${release}${shared_ext}$major'
11681     dynamic_linker='NetBSD ld.elf_so'
11682   fi
11683   shlibpath_var=LD_LIBRARY_PATH
11684   shlibpath_overrides_runpath=yes
11685   hardcode_into_libs=yes
11686   ;;
11687
11688 newsos6)
11689   version_type=linux # correct to gnu/linux during the next big refactor
11690   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11691   shlibpath_var=LD_LIBRARY_PATH
11692   shlibpath_overrides_runpath=yes
11693   ;;
11694
11695 *nto* | *qnx*)
11696   version_type=qnx
11697   need_lib_prefix=no
11698   need_version=no
11699   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11700   soname_spec='${libname}${release}${shared_ext}$major'
11701   shlibpath_var=LD_LIBRARY_PATH
11702   shlibpath_overrides_runpath=no
11703   hardcode_into_libs=yes
11704   dynamic_linker='ldqnx.so'
11705   ;;
11706
11707 openbsd*)
11708   version_type=sunos
11709   sys_lib_dlsearch_path_spec="/usr/lib"
11710   need_lib_prefix=no
11711   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11712   case $host_os in
11713     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11714     *)                          need_version=no  ;;
11715   esac
11716   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11717   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11718   shlibpath_var=LD_LIBRARY_PATH
11719   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11720     case $host_os in
11721       openbsd2.[89] | openbsd2.[89].*)
11722         shlibpath_overrides_runpath=no
11723         ;;
11724       *)
11725         shlibpath_overrides_runpath=yes
11726         ;;
11727       esac
11728   else
11729     shlibpath_overrides_runpath=yes
11730   fi
11731   ;;
11732
11733 os2*)
11734   libname_spec='$name'
11735   shrext_cmds=".dll"
11736   need_lib_prefix=no
11737   library_names_spec='$libname${shared_ext} $libname.a'
11738   dynamic_linker='OS/2 ld.exe'
11739   shlibpath_var=LIBPATH
11740   ;;
11741
11742 osf3* | osf4* | osf5*)
11743   version_type=osf
11744   need_lib_prefix=no
11745   need_version=no
11746   soname_spec='${libname}${release}${shared_ext}$major'
11747   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11748   shlibpath_var=LD_LIBRARY_PATH
11749   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11750   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11751   ;;
11752
11753 rdos*)
11754   dynamic_linker=no
11755   ;;
11756
11757 solaris*)
11758   version_type=linux # correct to gnu/linux during the next big refactor
11759   need_lib_prefix=no
11760   need_version=no
11761   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11762   soname_spec='${libname}${release}${shared_ext}$major'
11763   shlibpath_var=LD_LIBRARY_PATH
11764   shlibpath_overrides_runpath=yes
11765   hardcode_into_libs=yes
11766   # ldd complains unless libraries are executable
11767   postinstall_cmds='chmod +x $lib'
11768   ;;
11769
11770 sunos4*)
11771   version_type=sunos
11772   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11773   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11774   shlibpath_var=LD_LIBRARY_PATH
11775   shlibpath_overrides_runpath=yes
11776   if test "$with_gnu_ld" = yes; then
11777     need_lib_prefix=no
11778   fi
11779   need_version=yes
11780   ;;
11781
11782 sysv4 | sysv4.3*)
11783   version_type=linux # correct to gnu/linux during the next big refactor
11784   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11785   soname_spec='${libname}${release}${shared_ext}$major'
11786   shlibpath_var=LD_LIBRARY_PATH
11787   case $host_vendor in
11788     sni)
11789       shlibpath_overrides_runpath=no
11790       need_lib_prefix=no
11791       runpath_var=LD_RUN_PATH
11792       ;;
11793     siemens)
11794       need_lib_prefix=no
11795       ;;
11796     motorola)
11797       need_lib_prefix=no
11798       need_version=no
11799       shlibpath_overrides_runpath=no
11800       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11801       ;;
11802   esac
11803   ;;
11804
11805 sysv4*MP*)
11806   if test -d /usr/nec ;then
11807     version_type=linux # correct to gnu/linux during the next big refactor
11808     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11809     soname_spec='$libname${shared_ext}.$major'
11810     shlibpath_var=LD_LIBRARY_PATH
11811   fi
11812   ;;
11813
11814 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11815   version_type=freebsd-elf
11816   need_lib_prefix=no
11817   need_version=no
11818   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11819   soname_spec='${libname}${release}${shared_ext}$major'
11820   shlibpath_var=LD_LIBRARY_PATH
11821   shlibpath_overrides_runpath=yes
11822   hardcode_into_libs=yes
11823   if test "$with_gnu_ld" = yes; then
11824     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11825   else
11826     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11827     case $host_os in
11828       sco3.2v5*)
11829         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11830         ;;
11831     esac
11832   fi
11833   sys_lib_dlsearch_path_spec='/usr/lib'
11834   ;;
11835
11836 tpf*)
11837   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11838   version_type=linux # correct to gnu/linux during the next big refactor
11839   need_lib_prefix=no
11840   need_version=no
11841   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11842   shlibpath_var=LD_LIBRARY_PATH
11843   shlibpath_overrides_runpath=no
11844   hardcode_into_libs=yes
11845   ;;
11846
11847 uts4*)
11848   version_type=linux # correct to gnu/linux during the next big refactor
11849   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11850   soname_spec='${libname}${release}${shared_ext}$major'
11851   shlibpath_var=LD_LIBRARY_PATH
11852   ;;
11853
11854 *)
11855   dynamic_linker=no
11856   ;;
11857 esac
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11859 $as_echo "$dynamic_linker" >&6; }
11860 test "$dynamic_linker" = no && can_build_shared=no
11861
11862 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11863 if test "$GCC" = yes; then
11864   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11865 fi
11866
11867 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11868   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11869 fi
11870 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11871   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11872 fi
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11966 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11967 hardcode_action=
11968 if test -n "$hardcode_libdir_flag_spec" ||
11969    test -n "$runpath_var" ||
11970    test "X$hardcode_automatic" = "Xyes" ; then
11971
11972   # We can hardcode non-existent directories.
11973   if test "$hardcode_direct" != no &&
11974      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11975      # have to relink, otherwise we might link with an installed library
11976      # when we should be linking with a yet-to-be-installed one
11977      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11978      test "$hardcode_minus_L" != no; then
11979     # Linking always hardcodes the temporary library directory.
11980     hardcode_action=relink
11981   else
11982     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11983     hardcode_action=immediate
11984   fi
11985 else
11986   # We cannot hardcode anything, or else we can only hardcode existing
11987   # directories.
11988   hardcode_action=unsupported
11989 fi
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11991 $as_echo "$hardcode_action" >&6; }
11992
11993 if test "$hardcode_action" = relink ||
11994    test "$inherit_rpath" = yes; then
11995   # Fast installation is not supported
11996   enable_fast_install=no
11997 elif test "$shlibpath_overrides_runpath" = yes ||
11998      test "$enable_shared" = no; then
11999   # Fast installation is not necessary
12000   enable_fast_install=needless
12001 fi
12002
12003
12004
12005
12006
12007
12008   if test "x$enable_dlopen" != xyes; then
12009   enable_dlopen=unknown
12010   enable_dlopen_self=unknown
12011   enable_dlopen_self_static=unknown
12012 else
12013   lt_cv_dlopen=no
12014   lt_cv_dlopen_libs=
12015
12016   case $host_os in
12017   beos*)
12018     lt_cv_dlopen="load_add_on"
12019     lt_cv_dlopen_libs=
12020     lt_cv_dlopen_self=yes
12021     ;;
12022
12023   mingw* | pw32* | cegcc*)
12024     lt_cv_dlopen="LoadLibrary"
12025     lt_cv_dlopen_libs=
12026     ;;
12027
12028   cygwin*)
12029     lt_cv_dlopen="dlopen"
12030     lt_cv_dlopen_libs=
12031     ;;
12032
12033   darwin*)
12034   # if libdl is installed we need to link against it
12035     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12036 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12037 if ${ac_cv_lib_dl_dlopen+:} false; then :
12038   $as_echo_n "(cached) " >&6
12039 else
12040   ac_check_lib_save_LIBS=$LIBS
12041 LIBS="-ldl  $LIBS"
12042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12043 /* end confdefs.h.  */
12044
12045 /* Override any GCC internal prototype to avoid an error.
12046    Use char because int might match the return type of a GCC
12047    builtin and then its argument prototype would still apply.  */
12048 #ifdef __cplusplus
12049 extern "C"
12050 #endif
12051 char dlopen ();
12052 int
12053 main ()
12054 {
12055 return dlopen ();
12056   ;
12057   return 0;
12058 }
12059 _ACEOF
12060 if ac_fn_c_try_link "$LINENO"; then :
12061   ac_cv_lib_dl_dlopen=yes
12062 else
12063   ac_cv_lib_dl_dlopen=no
12064 fi
12065 rm -f core conftest.err conftest.$ac_objext \
12066     conftest$ac_exeext conftest.$ac_ext
12067 LIBS=$ac_check_lib_save_LIBS
12068 fi
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12070 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12071 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12072   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12073 else
12074
12075     lt_cv_dlopen="dyld"
12076     lt_cv_dlopen_libs=
12077     lt_cv_dlopen_self=yes
12078
12079 fi
12080
12081     ;;
12082
12083   *)
12084     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12085 if test "x$ac_cv_func_shl_load" = xyes; then :
12086   lt_cv_dlopen="shl_load"
12087 else
12088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12089 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12090 if ${ac_cv_lib_dld_shl_load+:} false; then :
12091   $as_echo_n "(cached) " >&6
12092 else
12093   ac_check_lib_save_LIBS=$LIBS
12094 LIBS="-ldld  $LIBS"
12095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12096 /* end confdefs.h.  */
12097
12098 /* Override any GCC internal prototype to avoid an error.
12099    Use char because int might match the return type of a GCC
12100    builtin and then its argument prototype would still apply.  */
12101 #ifdef __cplusplus
12102 extern "C"
12103 #endif
12104 char shl_load ();
12105 int
12106 main ()
12107 {
12108 return shl_load ();
12109   ;
12110   return 0;
12111 }
12112 _ACEOF
12113 if ac_fn_c_try_link "$LINENO"; then :
12114   ac_cv_lib_dld_shl_load=yes
12115 else
12116   ac_cv_lib_dld_shl_load=no
12117 fi
12118 rm -f core conftest.err conftest.$ac_objext \
12119     conftest$ac_exeext conftest.$ac_ext
12120 LIBS=$ac_check_lib_save_LIBS
12121 fi
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12123 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12124 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12125   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12126 else
12127   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12128 if test "x$ac_cv_func_dlopen" = xyes; then :
12129   lt_cv_dlopen="dlopen"
12130 else
12131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12132 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12133 if ${ac_cv_lib_dl_dlopen+:} false; then :
12134   $as_echo_n "(cached) " >&6
12135 else
12136   ac_check_lib_save_LIBS=$LIBS
12137 LIBS="-ldl  $LIBS"
12138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h.  */
12140
12141 /* Override any GCC internal prototype to avoid an error.
12142    Use char because int might match the return type of a GCC
12143    builtin and then its argument prototype would still apply.  */
12144 #ifdef __cplusplus
12145 extern "C"
12146 #endif
12147 char dlopen ();
12148 int
12149 main ()
12150 {
12151 return dlopen ();
12152   ;
12153   return 0;
12154 }
12155 _ACEOF
12156 if ac_fn_c_try_link "$LINENO"; then :
12157   ac_cv_lib_dl_dlopen=yes
12158 else
12159   ac_cv_lib_dl_dlopen=no
12160 fi
12161 rm -f core conftest.err conftest.$ac_objext \
12162     conftest$ac_exeext conftest.$ac_ext
12163 LIBS=$ac_check_lib_save_LIBS
12164 fi
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12166 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12167 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12168   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12169 else
12170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12171 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12172 if ${ac_cv_lib_svld_dlopen+:} false; then :
12173   $as_echo_n "(cached) " >&6
12174 else
12175   ac_check_lib_save_LIBS=$LIBS
12176 LIBS="-lsvld  $LIBS"
12177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12178 /* end confdefs.h.  */
12179
12180 /* Override any GCC internal prototype to avoid an error.
12181    Use char because int might match the return type of a GCC
12182    builtin and then its argument prototype would still apply.  */
12183 #ifdef __cplusplus
12184 extern "C"
12185 #endif
12186 char dlopen ();
12187 int
12188 main ()
12189 {
12190 return dlopen ();
12191   ;
12192   return 0;
12193 }
12194 _ACEOF
12195 if ac_fn_c_try_link "$LINENO"; then :
12196   ac_cv_lib_svld_dlopen=yes
12197 else
12198   ac_cv_lib_svld_dlopen=no
12199 fi
12200 rm -f core conftest.err conftest.$ac_objext \
12201     conftest$ac_exeext conftest.$ac_ext
12202 LIBS=$ac_check_lib_save_LIBS
12203 fi
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12205 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12206 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12207   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12208 else
12209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12210 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12211 if ${ac_cv_lib_dld_dld_link+:} false; then :
12212   $as_echo_n "(cached) " >&6
12213 else
12214   ac_check_lib_save_LIBS=$LIBS
12215 LIBS="-ldld  $LIBS"
12216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12217 /* end confdefs.h.  */
12218
12219 /* Override any GCC internal prototype to avoid an error.
12220    Use char because int might match the return type of a GCC
12221    builtin and then its argument prototype would still apply.  */
12222 #ifdef __cplusplus
12223 extern "C"
12224 #endif
12225 char dld_link ();
12226 int
12227 main ()
12228 {
12229 return dld_link ();
12230   ;
12231   return 0;
12232 }
12233 _ACEOF
12234 if ac_fn_c_try_link "$LINENO"; then :
12235   ac_cv_lib_dld_dld_link=yes
12236 else
12237   ac_cv_lib_dld_dld_link=no
12238 fi
12239 rm -f core conftest.err conftest.$ac_objext \
12240     conftest$ac_exeext conftest.$ac_ext
12241 LIBS=$ac_check_lib_save_LIBS
12242 fi
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12244 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12245 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12246   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12247 fi
12248
12249
12250 fi
12251
12252
12253 fi
12254
12255
12256 fi
12257
12258
12259 fi
12260
12261
12262 fi
12263
12264     ;;
12265   esac
12266
12267   if test "x$lt_cv_dlopen" != xno; then
12268     enable_dlopen=yes
12269   else
12270     enable_dlopen=no
12271   fi
12272
12273   case $lt_cv_dlopen in
12274   dlopen)
12275     save_CPPFLAGS="$CPPFLAGS"
12276     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12277
12278     save_LDFLAGS="$LDFLAGS"
12279     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12280
12281     save_LIBS="$LIBS"
12282     LIBS="$lt_cv_dlopen_libs $LIBS"
12283
12284     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12285 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12286 if ${lt_cv_dlopen_self+:} false; then :
12287   $as_echo_n "(cached) " >&6
12288 else
12289           if test "$cross_compiling" = yes; then :
12290   lt_cv_dlopen_self=cross
12291 else
12292   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12293   lt_status=$lt_dlunknown
12294   cat > conftest.$ac_ext <<_LT_EOF
12295 #line $LINENO "configure"
12296 #include "confdefs.h"
12297
12298 #if HAVE_DLFCN_H
12299 #include <dlfcn.h>
12300 #endif
12301
12302 #include <stdio.h>
12303
12304 #ifdef RTLD_GLOBAL
12305 #  define LT_DLGLOBAL           RTLD_GLOBAL
12306 #else
12307 #  ifdef DL_GLOBAL
12308 #    define LT_DLGLOBAL         DL_GLOBAL
12309 #  else
12310 #    define LT_DLGLOBAL         0
12311 #  endif
12312 #endif
12313
12314 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12315    find out it does not work in some platform. */
12316 #ifndef LT_DLLAZY_OR_NOW
12317 #  ifdef RTLD_LAZY
12318 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12319 #  else
12320 #    ifdef DL_LAZY
12321 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12322 #    else
12323 #      ifdef RTLD_NOW
12324 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12325 #      else
12326 #        ifdef DL_NOW
12327 #          define LT_DLLAZY_OR_NOW      DL_NOW
12328 #        else
12329 #          define LT_DLLAZY_OR_NOW      0
12330 #        endif
12331 #      endif
12332 #    endif
12333 #  endif
12334 #endif
12335
12336 /* When -fvisbility=hidden is used, assume the code has been annotated
12337    correspondingly for the symbols needed.  */
12338 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12339 int fnord () __attribute__((visibility("default")));
12340 #endif
12341
12342 int fnord () { return 42; }
12343 int main ()
12344 {
12345   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12346   int status = $lt_dlunknown;
12347
12348   if (self)
12349     {
12350       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12351       else
12352         {
12353           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12354           else puts (dlerror ());
12355         }
12356       /* dlclose (self); */
12357     }
12358   else
12359     puts (dlerror ());
12360
12361   return status;
12362 }
12363 _LT_EOF
12364   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12365   (eval $ac_link) 2>&5
12366   ac_status=$?
12367   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12368   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12369     (./conftest; exit; ) >&5 2>/dev/null
12370     lt_status=$?
12371     case x$lt_status in
12372       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12373       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12374       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12375     esac
12376   else :
12377     # compilation failed
12378     lt_cv_dlopen_self=no
12379   fi
12380 fi
12381 rm -fr conftest*
12382
12383
12384 fi
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12386 $as_echo "$lt_cv_dlopen_self" >&6; }
12387
12388     if test "x$lt_cv_dlopen_self" = xyes; then
12389       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12390       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12391 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12392 if ${lt_cv_dlopen_self_static+:} false; then :
12393   $as_echo_n "(cached) " >&6
12394 else
12395           if test "$cross_compiling" = yes; then :
12396   lt_cv_dlopen_self_static=cross
12397 else
12398   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12399   lt_status=$lt_dlunknown
12400   cat > conftest.$ac_ext <<_LT_EOF
12401 #line $LINENO "configure"
12402 #include "confdefs.h"
12403
12404 #if HAVE_DLFCN_H
12405 #include <dlfcn.h>
12406 #endif
12407
12408 #include <stdio.h>
12409
12410 #ifdef RTLD_GLOBAL
12411 #  define LT_DLGLOBAL           RTLD_GLOBAL
12412 #else
12413 #  ifdef DL_GLOBAL
12414 #    define LT_DLGLOBAL         DL_GLOBAL
12415 #  else
12416 #    define LT_DLGLOBAL         0
12417 #  endif
12418 #endif
12419
12420 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12421    find out it does not work in some platform. */
12422 #ifndef LT_DLLAZY_OR_NOW
12423 #  ifdef RTLD_LAZY
12424 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12425 #  else
12426 #    ifdef DL_LAZY
12427 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12428 #    else
12429 #      ifdef RTLD_NOW
12430 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12431 #      else
12432 #        ifdef DL_NOW
12433 #          define LT_DLLAZY_OR_NOW      DL_NOW
12434 #        else
12435 #          define LT_DLLAZY_OR_NOW      0
12436 #        endif
12437 #      endif
12438 #    endif
12439 #  endif
12440 #endif
12441
12442 /* When -fvisbility=hidden is used, assume the code has been annotated
12443    correspondingly for the symbols needed.  */
12444 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12445 int fnord () __attribute__((visibility("default")));
12446 #endif
12447
12448 int fnord () { return 42; }
12449 int main ()
12450 {
12451   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12452   int status = $lt_dlunknown;
12453
12454   if (self)
12455     {
12456       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12457       else
12458         {
12459           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12460           else puts (dlerror ());
12461         }
12462       /* dlclose (self); */
12463     }
12464   else
12465     puts (dlerror ());
12466
12467   return status;
12468 }
12469 _LT_EOF
12470   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12471   (eval $ac_link) 2>&5
12472   ac_status=$?
12473   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12474   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12475     (./conftest; exit; ) >&5 2>/dev/null
12476     lt_status=$?
12477     case x$lt_status in
12478       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12479       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12480       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12481     esac
12482   else :
12483     # compilation failed
12484     lt_cv_dlopen_self_static=no
12485   fi
12486 fi
12487 rm -fr conftest*
12488
12489
12490 fi
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12492 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12493     fi
12494
12495     CPPFLAGS="$save_CPPFLAGS"
12496     LDFLAGS="$save_LDFLAGS"
12497     LIBS="$save_LIBS"
12498     ;;
12499   esac
12500
12501   case $lt_cv_dlopen_self in
12502   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12503   *) enable_dlopen_self=unknown ;;
12504   esac
12505
12506   case $lt_cv_dlopen_self_static in
12507   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12508   *) enable_dlopen_self_static=unknown ;;
12509   esac
12510 fi
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528 striplib=
12529 old_striplib=
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12531 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12532 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12533   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12534   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12536 $as_echo "yes" >&6; }
12537 else
12538 # FIXME - insert some real tests, host_os isn't really good enough
12539   case $host_os in
12540   darwin*)
12541     if test -n "$STRIP" ; then
12542       striplib="$STRIP -x"
12543       old_striplib="$STRIP -S"
12544       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12545 $as_echo "yes" >&6; }
12546     else
12547       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12548 $as_echo "no" >&6; }
12549     fi
12550     ;;
12551   *)
12552     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12553 $as_echo "no" >&6; }
12554     ;;
12555   esac
12556 fi
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569   # Report which library types will actually be built
12570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12571 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12573 $as_echo "$can_build_shared" >&6; }
12574
12575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12576 $as_echo_n "checking whether to build shared libraries... " >&6; }
12577   test "$can_build_shared" = "no" && enable_shared=no
12578
12579   # On AIX, shared libraries and static libraries use the same namespace, and
12580   # are all built from PIC.
12581   case $host_os in
12582   aix3*)
12583     test "$enable_shared" = yes && enable_static=no
12584     if test -n "$RANLIB"; then
12585       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12586       postinstall_cmds='$RANLIB $lib'
12587     fi
12588     ;;
12589
12590   aix[4-9]*)
12591     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12592       test "$enable_shared" = yes && enable_static=no
12593     fi
12594     ;;
12595   esac
12596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12597 $as_echo "$enable_shared" >&6; }
12598
12599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12600 $as_echo_n "checking whether to build static libraries... " >&6; }
12601   # Make sure either enable_shared or enable_static is yes.
12602   test "$enable_shared" = yes || enable_static=yes
12603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12604 $as_echo "$enable_static" >&6; }
12605
12606
12607
12608
12609 fi
12610 ac_ext=c
12611 ac_cpp='$CPP $CPPFLAGS'
12612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12615
12616 CC="$lt_save_CC"
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632         ac_config_commands="$ac_config_commands libtool"
12633
12634
12635
12636
12637 # Only expand once:
12638
12639
12640
12641 GST_REQ=0.10.36
12642 GSTPB_REQ=0.10.36
12643
12644
12645
12646
12647 # Check whether --with-autoconf was given.
12648 if test "${with_autoconf+set}" = set; then :
12649   withval=$with_autoconf;
12650       unset AUTOCONF
12651
12652 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
12653
12654       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
12655 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
12656
12657 fi
12658
12659
12660
12661 # Check whether --with-autoheader was given.
12662 if test "${with_autoheader+set}" = set; then :
12663   withval=$with_autoheader;
12664       unset AUTOHEADER
12665
12666 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
12667
12668       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
12669 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
12670
12671 fi
12672
12673
12674
12675 # Check whether --with-automake was given.
12676 if test "${with_automake+set}" = set; then :
12677   withval=$with_automake;
12678       unset AUTOMAKE
12679
12680 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
12681
12682       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
12683 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
12684
12685 fi
12686
12687
12688
12689 # Check whether --with-aclocal was given.
12690 if test "${with_aclocal+set}" = set; then :
12691   withval=$with_aclocal;
12692       unset ACLOCAL
12693
12694 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
12695
12696       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
12697 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
12698
12699 fi
12700
12701
12702
12703 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
12704
12705
12706
12707
12708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12709 $as_echo_n "checking whether NLS is requested... " >&6; }
12710     # Check whether --enable-nls was given.
12711 if test "${enable_nls+set}" = set; then :
12712   enableval=$enable_nls; USE_NLS=$enableval
12713 else
12714   USE_NLS=yes
12715 fi
12716
12717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12718 $as_echo "$USE_NLS" >&6; }
12719
12720
12721
12722
12723       GETTEXT_MACRO_VERSION=0.17
12724
12725
12726
12727
12728 # Prepare PATH_SEPARATOR.
12729 # The user is always right.
12730 if test "${PATH_SEPARATOR+set}" != set; then
12731   echo "#! /bin/sh" >conf$$.sh
12732   echo  "exit 0"   >>conf$$.sh
12733   chmod +x conf$$.sh
12734   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12735     PATH_SEPARATOR=';'
12736   else
12737     PATH_SEPARATOR=:
12738   fi
12739   rm -f conf$$.sh
12740 fi
12741
12742 # Find out how to test for executable files. Don't use a zero-byte file,
12743 # as systems may use methods other than mode bits to determine executability.
12744 cat >conf$$.file <<_ASEOF
12745 #! /bin/sh
12746 exit 0
12747 _ASEOF
12748 chmod +x conf$$.file
12749 if test -x conf$$.file >/dev/null 2>&1; then
12750   ac_executable_p="test -x"
12751 else
12752   ac_executable_p="test -f"
12753 fi
12754 rm -f conf$$.file
12755
12756 # Extract the first word of "msgfmt", so it can be a program name with args.
12757 set dummy msgfmt; ac_word=$2
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12759 $as_echo_n "checking for $ac_word... " >&6; }
12760 if ${ac_cv_path_MSGFMT+:} false; then :
12761   $as_echo_n "(cached) " >&6
12762 else
12763   case "$MSGFMT" in
12764   [\\/]* | ?:[\\/]*)
12765     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12766     ;;
12767   *)
12768     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12769     for ac_dir in $PATH; do
12770       IFS="$ac_save_IFS"
12771       test -z "$ac_dir" && ac_dir=.
12772       for ac_exec_ext in '' $ac_executable_extensions; do
12773         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12774           echo "$as_me: trying $ac_dir/$ac_word..." >&5
12775           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12776      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12777             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12778             break 2
12779           fi
12780         fi
12781       done
12782     done
12783     IFS="$ac_save_IFS"
12784   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12785     ;;
12786 esac
12787 fi
12788 MSGFMT="$ac_cv_path_MSGFMT"
12789 if test "$MSGFMT" != ":"; then
12790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12791 $as_echo "$MSGFMT" >&6; }
12792 else
12793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12794 $as_echo "no" >&6; }
12795 fi
12796
12797   # Extract the first word of "gmsgfmt", so it can be a program name with args.
12798 set dummy gmsgfmt; ac_word=$2
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12800 $as_echo_n "checking for $ac_word... " >&6; }
12801 if ${ac_cv_path_GMSGFMT+:} false; then :
12802   $as_echo_n "(cached) " >&6
12803 else
12804   case $GMSGFMT in
12805   [\\/]* | ?:[\\/]*)
12806   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12807   ;;
12808   *)
12809   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12810 for as_dir in $PATH
12811 do
12812   IFS=$as_save_IFS
12813   test -z "$as_dir" && as_dir=.
12814     for ac_exec_ext in '' $ac_executable_extensions; do
12815   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12816     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12818     break 2
12819   fi
12820 done
12821   done
12822 IFS=$as_save_IFS
12823
12824   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12825   ;;
12826 esac
12827 fi
12828 GMSGFMT=$ac_cv_path_GMSGFMT
12829 if test -n "$GMSGFMT"; then
12830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12831 $as_echo "$GMSGFMT" >&6; }
12832 else
12833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12834 $as_echo "no" >&6; }
12835 fi
12836
12837
12838
12839     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12840     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12841     *) MSGFMT_015=$MSGFMT ;;
12842   esac
12843
12844   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12845     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
12846     *) GMSGFMT_015=$GMSGFMT ;;
12847   esac
12848
12849
12850
12851 # Prepare PATH_SEPARATOR.
12852 # The user is always right.
12853 if test "${PATH_SEPARATOR+set}" != set; then
12854   echo "#! /bin/sh" >conf$$.sh
12855   echo  "exit 0"   >>conf$$.sh
12856   chmod +x conf$$.sh
12857   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12858     PATH_SEPARATOR=';'
12859   else
12860     PATH_SEPARATOR=:
12861   fi
12862   rm -f conf$$.sh
12863 fi
12864
12865 # Find out how to test for executable files. Don't use a zero-byte file,
12866 # as systems may use methods other than mode bits to determine executability.
12867 cat >conf$$.file <<_ASEOF
12868 #! /bin/sh
12869 exit 0
12870 _ASEOF
12871 chmod +x conf$$.file
12872 if test -x conf$$.file >/dev/null 2>&1; then
12873   ac_executable_p="test -x"
12874 else
12875   ac_executable_p="test -f"
12876 fi
12877 rm -f conf$$.file
12878
12879 # Extract the first word of "xgettext", so it can be a program name with args.
12880 set dummy xgettext; ac_word=$2
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12882 $as_echo_n "checking for $ac_word... " >&6; }
12883 if ${ac_cv_path_XGETTEXT+:} false; then :
12884   $as_echo_n "(cached) " >&6
12885 else
12886   case "$XGETTEXT" in
12887   [\\/]* | ?:[\\/]*)
12888     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12889     ;;
12890   *)
12891     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12892     for ac_dir in $PATH; do
12893       IFS="$ac_save_IFS"
12894       test -z "$ac_dir" && ac_dir=.
12895       for ac_exec_ext in '' $ac_executable_extensions; do
12896         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12897           echo "$as_me: trying $ac_dir/$ac_word..." >&5
12898           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
12899      (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
12900             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12901             break 2
12902           fi
12903         fi
12904       done
12905     done
12906     IFS="$ac_save_IFS"
12907   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12908     ;;
12909 esac
12910 fi
12911 XGETTEXT="$ac_cv_path_XGETTEXT"
12912 if test "$XGETTEXT" != ":"; then
12913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12914 $as_echo "$XGETTEXT" >&6; }
12915 else
12916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12917 $as_echo "no" >&6; }
12918 fi
12919
12920     rm -f messages.po
12921
12922     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12923     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12924     *) XGETTEXT_015=$XGETTEXT ;;
12925   esac
12926
12927
12928
12929 # Prepare PATH_SEPARATOR.
12930 # The user is always right.
12931 if test "${PATH_SEPARATOR+set}" != set; then
12932   echo "#! /bin/sh" >conf$$.sh
12933   echo  "exit 0"   >>conf$$.sh
12934   chmod +x conf$$.sh
12935   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12936     PATH_SEPARATOR=';'
12937   else
12938     PATH_SEPARATOR=:
12939   fi
12940   rm -f conf$$.sh
12941 fi
12942
12943 # Find out how to test for executable files. Don't use a zero-byte file,
12944 # as systems may use methods other than mode bits to determine executability.
12945 cat >conf$$.file <<_ASEOF
12946 #! /bin/sh
12947 exit 0
12948 _ASEOF
12949 chmod +x conf$$.file
12950 if test -x conf$$.file >/dev/null 2>&1; then
12951   ac_executable_p="test -x"
12952 else
12953   ac_executable_p="test -f"
12954 fi
12955 rm -f conf$$.file
12956
12957 # Extract the first word of "msgmerge", so it can be a program name with args.
12958 set dummy msgmerge; ac_word=$2
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12960 $as_echo_n "checking for $ac_word... " >&6; }
12961 if ${ac_cv_path_MSGMERGE+:} false; then :
12962   $as_echo_n "(cached) " >&6
12963 else
12964   case "$MSGMERGE" in
12965   [\\/]* | ?:[\\/]*)
12966     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12967     ;;
12968   *)
12969     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12970     for ac_dir in $PATH; do
12971       IFS="$ac_save_IFS"
12972       test -z "$ac_dir" && ac_dir=.
12973       for ac_exec_ext in '' $ac_executable_extensions; do
12974         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12975           echo "$as_me: trying $ac_dir/$ac_word..." >&5
12976           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12977             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12978             break 2
12979           fi
12980         fi
12981       done
12982     done
12983     IFS="$ac_save_IFS"
12984   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12985     ;;
12986 esac
12987 fi
12988 MSGMERGE="$ac_cv_path_MSGMERGE"
12989 if test "$MSGMERGE" != ":"; then
12990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12991 $as_echo "$MSGMERGE" >&6; }
12992 else
12993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12994 $as_echo "no" >&6; }
12995 fi
12996
12997
12998         test -n "$localedir" || localedir='${datadir}/locale'
12999
13000
13001     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13002
13003
13004   ac_config_commands="$ac_config_commands po-directories"
13005
13006
13007
13008       if test "X$prefix" = "XNONE"; then
13009     acl_final_prefix="$ac_default_prefix"
13010   else
13011     acl_final_prefix="$prefix"
13012   fi
13013   if test "X$exec_prefix" = "XNONE"; then
13014     acl_final_exec_prefix='${prefix}'
13015   else
13016     acl_final_exec_prefix="$exec_prefix"
13017   fi
13018   acl_save_prefix="$prefix"
13019   prefix="$acl_final_prefix"
13020   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13021   prefix="$acl_save_prefix"
13022
13023
13024 # Check whether --with-gnu-ld was given.
13025 if test "${with_gnu_ld+set}" = set; then :
13026   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13027 else
13028   with_gnu_ld=no
13029 fi
13030
13031 # Prepare PATH_SEPARATOR.
13032 # The user is always right.
13033 if test "${PATH_SEPARATOR+set}" != set; then
13034   echo "#! /bin/sh" >conf$$.sh
13035   echo  "exit 0"   >>conf$$.sh
13036   chmod +x conf$$.sh
13037   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13038     PATH_SEPARATOR=';'
13039   else
13040     PATH_SEPARATOR=:
13041   fi
13042   rm -f conf$$.sh
13043 fi
13044 ac_prog=ld
13045 if test "$GCC" = yes; then
13046   # Check if gcc -print-prog-name=ld gives a path.
13047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13048 $as_echo_n "checking for ld used by GCC... " >&6; }
13049   case $host in
13050   *-*-mingw*)
13051     # gcc leaves a trailing carriage return which upsets mingw
13052     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13053   *)
13054     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13055   esac
13056   case $ac_prog in
13057     # Accept absolute paths.
13058     [\\/]* | [A-Za-z]:[\\/]*)
13059       re_direlt='/[^/][^/]*/\.\./'
13060       # Canonicalize the path of ld
13061       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
13062       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13063         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13064       done
13065       test -z "$LD" && LD="$ac_prog"
13066       ;;
13067   "")
13068     # If it fails, then pretend we aren't using GCC.
13069     ac_prog=ld
13070     ;;
13071   *)
13072     # If it is relative, then search for the first ld in PATH.
13073     with_gnu_ld=unknown
13074     ;;
13075   esac
13076 elif test "$with_gnu_ld" = yes; then
13077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13078 $as_echo_n "checking for GNU ld... " >&6; }
13079 else
13080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13081 $as_echo_n "checking for non-GNU ld... " >&6; }
13082 fi
13083 if ${acl_cv_path_LD+:} false; then :
13084   $as_echo_n "(cached) " >&6
13085 else
13086   if test -z "$LD"; then
13087   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13088   for ac_dir in $PATH; do
13089     test -z "$ac_dir" && ac_dir=.
13090     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13091       acl_cv_path_LD="$ac_dir/$ac_prog"
13092       # Check to see if the program is GNU ld.  I'd rather use --version,
13093       # but apparently some GNU ld's only accept -v.
13094       # Break only if it was the GNU/non-GNU ld that we prefer.
13095       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13096       *GNU* | *'with BFD'*)
13097         test "$with_gnu_ld" != no && break ;;
13098       *)
13099         test "$with_gnu_ld" != yes && break ;;
13100       esac
13101     fi
13102   done
13103   IFS="$ac_save_ifs"
13104 else
13105   acl_cv_path_LD="$LD" # Let the user override the test with a path.
13106 fi
13107 fi
13108
13109 LD="$acl_cv_path_LD"
13110 if test -n "$LD"; then
13111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13112 $as_echo "$LD" >&6; }
13113 else
13114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13115 $as_echo "no" >&6; }
13116 fi
13117 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13119 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13120 if ${acl_cv_prog_gnu_ld+:} false; then :
13121   $as_echo_n "(cached) " >&6
13122 else
13123   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13124 case `$LD -v 2>&1 </dev/null` in
13125 *GNU* | *'with BFD'*)
13126   acl_cv_prog_gnu_ld=yes ;;
13127 *)
13128   acl_cv_prog_gnu_ld=no ;;
13129 esac
13130 fi
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13132 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13133 with_gnu_ld=$acl_cv_prog_gnu_ld
13134
13135
13136
13137
13138                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13139 $as_echo_n "checking for shared library run path origin... " >&6; }
13140 if ${acl_cv_rpath+:} false; then :
13141   $as_echo_n "(cached) " >&6
13142 else
13143
13144     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13145     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13146     . ./conftest.sh
13147     rm -f ./conftest.sh
13148     acl_cv_rpath=done
13149
13150 fi
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13152 $as_echo "$acl_cv_rpath" >&6; }
13153   wl="$acl_cv_wl"
13154   acl_libext="$acl_cv_libext"
13155   acl_shlibext="$acl_cv_shlibext"
13156   acl_libname_spec="$acl_cv_libname_spec"
13157   acl_library_names_spec="$acl_cv_library_names_spec"
13158   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13159   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13160   acl_hardcode_direct="$acl_cv_hardcode_direct"
13161   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13162     # Check whether --enable-rpath was given.
13163 if test "${enable_rpath+set}" = set; then :
13164   enableval=$enable_rpath; :
13165 else
13166   enable_rpath=yes
13167 fi
13168
13169
13170
13171                   acl_libdirstem=lib
13172   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13173   if test -n "$searchpath"; then
13174     acl_save_IFS="${IFS=        }"; IFS=":"
13175     for searchdir in $searchpath; do
13176       if test -d "$searchdir"; then
13177         case "$searchdir" in
13178           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13179           *) searchdir=`cd "$searchdir" && pwd`
13180              case "$searchdir" in
13181                */lib64 ) acl_libdirstem=lib64 ;;
13182              esac ;;
13183         esac
13184       fi
13185     done
13186     IFS="$acl_save_IFS"
13187   fi
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197     use_additional=yes
13198
13199   acl_save_prefix="$prefix"
13200   prefix="$acl_final_prefix"
13201   acl_save_exec_prefix="$exec_prefix"
13202   exec_prefix="$acl_final_exec_prefix"
13203
13204     eval additional_includedir=\"$includedir\"
13205     eval additional_libdir=\"$libdir\"
13206
13207   exec_prefix="$acl_save_exec_prefix"
13208   prefix="$acl_save_prefix"
13209
13210
13211 # Check whether --with-libiconv-prefix was given.
13212 if test "${with_libiconv_prefix+set}" = set; then :
13213   withval=$with_libiconv_prefix;
13214     if test "X$withval" = "Xno"; then
13215       use_additional=no
13216     else
13217       if test "X$withval" = "X"; then
13218
13219   acl_save_prefix="$prefix"
13220   prefix="$acl_final_prefix"
13221   acl_save_exec_prefix="$exec_prefix"
13222   exec_prefix="$acl_final_exec_prefix"
13223
13224           eval additional_includedir=\"$includedir\"
13225           eval additional_libdir=\"$libdir\"
13226
13227   exec_prefix="$acl_save_exec_prefix"
13228   prefix="$acl_save_prefix"
13229
13230       else
13231         additional_includedir="$withval/include"
13232         additional_libdir="$withval/$acl_libdirstem"
13233       fi
13234     fi
13235
13236 fi
13237
13238       LIBICONV=
13239   LTLIBICONV=
13240   INCICONV=
13241   LIBICONV_PREFIX=
13242   rpathdirs=
13243   ltrpathdirs=
13244   names_already_handled=
13245   names_next_round='iconv '
13246   while test -n "$names_next_round"; do
13247     names_this_round="$names_next_round"
13248     names_next_round=
13249     for name in $names_this_round; do
13250       already_handled=
13251       for n in $names_already_handled; do
13252         if test "$n" = "$name"; then
13253           already_handled=yes
13254           break
13255         fi
13256       done
13257       if test -z "$already_handled"; then
13258         names_already_handled="$names_already_handled $name"
13259                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13260         eval value=\"\$HAVE_LIB$uppername\"
13261         if test -n "$value"; then
13262           if test "$value" = yes; then
13263             eval value=\"\$LIB$uppername\"
13264             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13265             eval value=\"\$LTLIB$uppername\"
13266             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13267           else
13268                                     :
13269           fi
13270         else
13271                               found_dir=
13272           found_la=
13273           found_so=
13274           found_a=
13275           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
13276           if test -n "$acl_shlibext"; then
13277             shrext=".$acl_shlibext"             # typically: shrext=.so
13278           else
13279             shrext=
13280           fi
13281           if test $use_additional = yes; then
13282             dir="$additional_libdir"
13283                                     if test -n "$acl_shlibext"; then
13284               if test -f "$dir/$libname$shrext"; then
13285                 found_dir="$dir"
13286                 found_so="$dir/$libname$shrext"
13287               else
13288                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13289                   ver=`(cd "$dir" && \
13290                         for f in "$libname$shrext".*; do echo "$f"; done \
13291                         | sed -e "s,^$libname$shrext\\\\.,," \
13292                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13293                         | sed 1q ) 2>/dev/null`
13294                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13295                     found_dir="$dir"
13296                     found_so="$dir/$libname$shrext.$ver"
13297                   fi
13298                 else
13299                   eval library_names=\"$acl_library_names_spec\"
13300                   for f in $library_names; do
13301                     if test -f "$dir/$f"; then
13302                       found_dir="$dir"
13303                       found_so="$dir/$f"
13304                       break
13305                     fi
13306                   done
13307                 fi
13308               fi
13309             fi
13310                         if test "X$found_dir" = "X"; then
13311               if test -f "$dir/$libname.$acl_libext"; then
13312                 found_dir="$dir"
13313                 found_a="$dir/$libname.$acl_libext"
13314               fi
13315             fi
13316             if test "X$found_dir" != "X"; then
13317               if test -f "$dir/$libname.la"; then
13318                 found_la="$dir/$libname.la"
13319               fi
13320             fi
13321           fi
13322           if test "X$found_dir" = "X"; then
13323             for x in $LDFLAGS $LTLIBICONV; do
13324
13325   acl_save_prefix="$prefix"
13326   prefix="$acl_final_prefix"
13327   acl_save_exec_prefix="$exec_prefix"
13328   exec_prefix="$acl_final_exec_prefix"
13329   eval x=\"$x\"
13330   exec_prefix="$acl_save_exec_prefix"
13331   prefix="$acl_save_prefix"
13332
13333               case "$x" in
13334                 -L*)
13335                   dir=`echo "X$x" | sed -e 's/^X-L//'`
13336                                     if test -n "$acl_shlibext"; then
13337                     if test -f "$dir/$libname$shrext"; then
13338                       found_dir="$dir"
13339                       found_so="$dir/$libname$shrext"
13340                     else
13341                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13342                         ver=`(cd "$dir" && \
13343                               for f in "$libname$shrext".*; do echo "$f"; done \
13344                               | sed -e "s,^$libname$shrext\\\\.,," \
13345                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13346                               | sed 1q ) 2>/dev/null`
13347                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13348                           found_dir="$dir"
13349                           found_so="$dir/$libname$shrext.$ver"
13350                         fi
13351                       else
13352                         eval library_names=\"$acl_library_names_spec\"
13353                         for f in $library_names; do
13354                           if test -f "$dir/$f"; then
13355                             found_dir="$dir"
13356                             found_so="$dir/$f"
13357                             break
13358                           fi
13359                         done
13360                       fi
13361                     fi
13362                   fi
13363                                     if test "X$found_dir" = "X"; then
13364                     if test -f "$dir/$libname.$acl_libext"; then
13365                       found_dir="$dir"
13366                       found_a="$dir/$libname.$acl_libext"
13367                     fi
13368                   fi
13369                   if test "X$found_dir" != "X"; then
13370                     if test -f "$dir/$libname.la"; then
13371                       found_la="$dir/$libname.la"
13372                     fi
13373                   fi
13374                   ;;
13375               esac
13376               if test "X$found_dir" != "X"; then
13377                 break
13378               fi
13379             done
13380           fi
13381           if test "X$found_dir" != "X"; then
13382                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13383             if test "X$found_so" != "X"; then
13384                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13385                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13386               else
13387                                                                                 haveit=
13388                 for x in $ltrpathdirs; do
13389                   if test "X$x" = "X$found_dir"; then
13390                     haveit=yes
13391                     break
13392                   fi
13393                 done
13394                 if test -z "$haveit"; then
13395                   ltrpathdirs="$ltrpathdirs $found_dir"
13396                 fi
13397                                 if test "$acl_hardcode_direct" = yes; then
13398                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13399                 else
13400                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13401                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13402                                                             haveit=
13403                     for x in $rpathdirs; do
13404                       if test "X$x" = "X$found_dir"; then
13405                         haveit=yes
13406                         break
13407                       fi
13408                     done
13409                     if test -z "$haveit"; then
13410                       rpathdirs="$rpathdirs $found_dir"
13411                     fi
13412                   else
13413                                                                                 haveit=
13414                     for x in $LDFLAGS $LIBICONV; do
13415
13416   acl_save_prefix="$prefix"
13417   prefix="$acl_final_prefix"
13418   acl_save_exec_prefix="$exec_prefix"
13419   exec_prefix="$acl_final_exec_prefix"
13420   eval x=\"$x\"
13421   exec_prefix="$acl_save_exec_prefix"
13422   prefix="$acl_save_prefix"
13423
13424                       if test "X$x" = "X-L$found_dir"; then
13425                         haveit=yes
13426                         break
13427                       fi
13428                     done
13429                     if test -z "$haveit"; then
13430                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13431                     fi
13432                     if test "$acl_hardcode_minus_L" != no; then
13433                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13434                     else
13435                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13436                     fi
13437                   fi
13438                 fi
13439               fi
13440             else
13441               if test "X$found_a" != "X"; then
13442                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13443               else
13444                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13445               fi
13446             fi
13447                         additional_includedir=
13448             case "$found_dir" in
13449               */$acl_libdirstem | */$acl_libdirstem/)
13450                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13451                 LIBICONV_PREFIX="$basedir"
13452                 additional_includedir="$basedir/include"
13453                 ;;
13454             esac
13455             if test "X$additional_includedir" != "X"; then
13456                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
13457                 haveit=
13458                 if test "X$additional_includedir" = "X/usr/local/include"; then
13459                   if test -n "$GCC"; then
13460                     case $host_os in
13461                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13462                     esac
13463                   fi
13464                 fi
13465                 if test -z "$haveit"; then
13466                   for x in $CPPFLAGS $INCICONV; do
13467
13468   acl_save_prefix="$prefix"
13469   prefix="$acl_final_prefix"
13470   acl_save_exec_prefix="$exec_prefix"
13471   exec_prefix="$acl_final_exec_prefix"
13472   eval x=\"$x\"
13473   exec_prefix="$acl_save_exec_prefix"
13474   prefix="$acl_save_prefix"
13475
13476                     if test "X$x" = "X-I$additional_includedir"; then
13477                       haveit=yes
13478                       break
13479                     fi
13480                   done
13481                   if test -z "$haveit"; then
13482                     if test -d "$additional_includedir"; then
13483                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13484                     fi
13485                   fi
13486                 fi
13487               fi
13488             fi
13489                         if test -n "$found_la"; then
13490                                                         save_libdir="$libdir"
13491               case "$found_la" in
13492                 */* | *\\*) . "$found_la" ;;
13493                 *) . "./$found_la" ;;
13494               esac
13495               libdir="$save_libdir"
13496                             for dep in $dependency_libs; do
13497                 case "$dep" in
13498                   -L*)
13499                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13500                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13501                       haveit=
13502                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13503                         if test -n "$GCC"; then
13504                           case $host_os in
13505                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13506                           esac
13507                         fi
13508                       fi
13509                       if test -z "$haveit"; then
13510                         haveit=
13511                         for x in $LDFLAGS $LIBICONV; do
13512
13513   acl_save_prefix="$prefix"
13514   prefix="$acl_final_prefix"
13515   acl_save_exec_prefix="$exec_prefix"
13516   exec_prefix="$acl_final_exec_prefix"
13517   eval x=\"$x\"
13518   exec_prefix="$acl_save_exec_prefix"
13519   prefix="$acl_save_prefix"
13520
13521                           if test "X$x" = "X-L$additional_libdir"; then
13522                             haveit=yes
13523                             break
13524                           fi
13525                         done
13526                         if test -z "$haveit"; then
13527                           if test -d "$additional_libdir"; then
13528                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13529                           fi
13530                         fi
13531                         haveit=
13532                         for x in $LDFLAGS $LTLIBICONV; do
13533
13534   acl_save_prefix="$prefix"
13535   prefix="$acl_final_prefix"
13536   acl_save_exec_prefix="$exec_prefix"
13537   exec_prefix="$acl_final_exec_prefix"
13538   eval x=\"$x\"
13539   exec_prefix="$acl_save_exec_prefix"
13540   prefix="$acl_save_prefix"
13541
13542                           if test "X$x" = "X-L$additional_libdir"; then
13543                             haveit=yes
13544                             break
13545                           fi
13546                         done
13547                         if test -z "$haveit"; then
13548                           if test -d "$additional_libdir"; then
13549                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13550                           fi
13551                         fi
13552                       fi
13553                     fi
13554                     ;;
13555                   -R*)
13556                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
13557                     if test "$enable_rpath" != no; then
13558                                                                   haveit=
13559                       for x in $rpathdirs; do
13560                         if test "X$x" = "X$dir"; then
13561                           haveit=yes
13562                           break
13563                         fi
13564                       done
13565                       if test -z "$haveit"; then
13566                         rpathdirs="$rpathdirs $dir"
13567                       fi
13568                                                                   haveit=
13569                       for x in $ltrpathdirs; do
13570                         if test "X$x" = "X$dir"; then
13571                           haveit=yes
13572                           break
13573                         fi
13574                       done
13575                       if test -z "$haveit"; then
13576                         ltrpathdirs="$ltrpathdirs $dir"
13577                       fi
13578                     fi
13579                     ;;
13580                   -l*)
13581                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13582                     ;;
13583                   *.la)
13584                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13585                     ;;
13586                   *)
13587                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13588                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13589                     ;;
13590                 esac
13591               done
13592             fi
13593           else
13594                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13595             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13596           fi
13597         fi
13598       fi
13599     done
13600   done
13601   if test "X$rpathdirs" != "X"; then
13602     if test -n "$acl_hardcode_libdir_separator"; then
13603                         alldirs=
13604       for found_dir in $rpathdirs; do
13605         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13606       done
13607             acl_save_libdir="$libdir"
13608       libdir="$alldirs"
13609       eval flag=\"$acl_hardcode_libdir_flag_spec\"
13610       libdir="$acl_save_libdir"
13611       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13612     else
13613             for found_dir in $rpathdirs; do
13614         acl_save_libdir="$libdir"
13615         libdir="$found_dir"
13616         eval flag=\"$acl_hardcode_libdir_flag_spec\"
13617         libdir="$acl_save_libdir"
13618         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13619       done
13620     fi
13621   fi
13622   if test "X$ltrpathdirs" != "X"; then
13623             for found_dir in $ltrpathdirs; do
13624       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13625     done
13626   fi
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13653 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13654 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
13655   $as_echo_n "(cached) " >&6
13656 else
13657   gt_save_LIBS="$LIBS"
13658      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13659      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h.  */
13661 #include <CoreFoundation/CFPreferences.h>
13662 int
13663 main ()
13664 {
13665 CFPreferencesCopyAppValue(NULL, NULL)
13666   ;
13667   return 0;
13668 }
13669 _ACEOF
13670 if ac_fn_c_try_link "$LINENO"; then :
13671   gt_cv_func_CFPreferencesCopyAppValue=yes
13672 else
13673   gt_cv_func_CFPreferencesCopyAppValue=no
13674 fi
13675 rm -f core conftest.err conftest.$ac_objext \
13676     conftest$ac_exeext conftest.$ac_ext
13677      LIBS="$gt_save_LIBS"
13678 fi
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13680 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13681   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13682
13683 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13684
13685   fi
13686     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13687 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13688 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
13689   $as_echo_n "(cached) " >&6
13690 else
13691   gt_save_LIBS="$LIBS"
13692      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13693      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13694 /* end confdefs.h.  */
13695 #include <CoreFoundation/CFLocale.h>
13696 int
13697 main ()
13698 {
13699 CFLocaleCopyCurrent();
13700   ;
13701   return 0;
13702 }
13703 _ACEOF
13704 if ac_fn_c_try_link "$LINENO"; then :
13705   gt_cv_func_CFLocaleCopyCurrent=yes
13706 else
13707   gt_cv_func_CFLocaleCopyCurrent=no
13708 fi
13709 rm -f core conftest.err conftest.$ac_objext \
13710     conftest$ac_exeext conftest.$ac_ext
13711      LIBS="$gt_save_LIBS"
13712 fi
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13714 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13715   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13716
13717 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13718
13719   fi
13720   INTL_MACOSX_LIBS=
13721   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13722     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13723   fi
13724
13725
13726
13727
13728
13729
13730   LIBINTL=
13731   LTLIBINTL=
13732   POSUB=
13733
13734     case " $gt_needs " in
13735     *" need-formatstring-macros "*) gt_api_version=3 ;;
13736     *" need-ngettext "*) gt_api_version=2 ;;
13737     *) gt_api_version=1 ;;
13738   esac
13739   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
13740   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
13741
13742     if test "$USE_NLS" = "yes"; then
13743     gt_use_preinstalled_gnugettext=no
13744
13745
13746         if test $gt_api_version -ge 3; then
13747           gt_revision_test_code='
13748 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13749 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
13750 #endif
13751 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13752 '
13753         else
13754           gt_revision_test_code=
13755         fi
13756         if test $gt_api_version -ge 2; then
13757           gt_expression_test_code=' + * ngettext ("", "", 0)'
13758         else
13759           gt_expression_test_code=
13760         fi
13761
13762         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13763 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13764 if eval \${$gt_func_gnugettext_libc+:} false; then :
13765   $as_echo_n "(cached) " >&6
13766 else
13767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h.  */
13769 #include <libintl.h>
13770 $gt_revision_test_code
13771 extern int _nl_msg_cat_cntr;
13772 extern int *_nl_domain_bindings;
13773 int
13774 main ()
13775 {
13776 bindtextdomain ("", "");
13777 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13778   ;
13779   return 0;
13780 }
13781 _ACEOF
13782 if ac_fn_c_try_link "$LINENO"; then :
13783   eval "$gt_func_gnugettext_libc=yes"
13784 else
13785   eval "$gt_func_gnugettext_libc=no"
13786 fi
13787 rm -f core conftest.err conftest.$ac_objext \
13788     conftest$ac_exeext conftest.$ac_ext
13789 fi
13790 eval ac_res=\$$gt_func_gnugettext_libc
13791                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13792 $as_echo "$ac_res" >&6; }
13793
13794         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13795
13796
13797
13798
13799
13800           am_save_CPPFLAGS="$CPPFLAGS"
13801
13802   for element in $INCICONV; do
13803     haveit=
13804     for x in $CPPFLAGS; do
13805
13806   acl_save_prefix="$prefix"
13807   prefix="$acl_final_prefix"
13808   acl_save_exec_prefix="$exec_prefix"
13809   exec_prefix="$acl_final_exec_prefix"
13810   eval x=\"$x\"
13811   exec_prefix="$acl_save_exec_prefix"
13812   prefix="$acl_save_prefix"
13813
13814       if test "X$x" = "X$element"; then
13815         haveit=yes
13816         break
13817       fi
13818     done
13819     if test -z "$haveit"; then
13820       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13821     fi
13822   done
13823
13824
13825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13826 $as_echo_n "checking for iconv... " >&6; }
13827 if ${am_cv_func_iconv+:} false; then :
13828   $as_echo_n "(cached) " >&6
13829 else
13830
13831     am_cv_func_iconv="no, consider installing GNU libiconv"
13832     am_cv_lib_iconv=no
13833     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h.  */
13835 #include <stdlib.h>
13836 #include <iconv.h>
13837 int
13838 main ()
13839 {
13840 iconv_t cd = iconv_open("","");
13841        iconv(cd,NULL,NULL,NULL,NULL);
13842        iconv_close(cd);
13843   ;
13844   return 0;
13845 }
13846 _ACEOF
13847 if ac_fn_c_try_link "$LINENO"; then :
13848   am_cv_func_iconv=yes
13849 fi
13850 rm -f core conftest.err conftest.$ac_objext \
13851     conftest$ac_exeext conftest.$ac_ext
13852     if test "$am_cv_func_iconv" != yes; then
13853       am_save_LIBS="$LIBS"
13854       LIBS="$LIBS $LIBICONV"
13855       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13856 /* end confdefs.h.  */
13857 #include <stdlib.h>
13858 #include <iconv.h>
13859 int
13860 main ()
13861 {
13862 iconv_t cd = iconv_open("","");
13863          iconv(cd,NULL,NULL,NULL,NULL);
13864          iconv_close(cd);
13865   ;
13866   return 0;
13867 }
13868 _ACEOF
13869 if ac_fn_c_try_link "$LINENO"; then :
13870   am_cv_lib_iconv=yes
13871         am_cv_func_iconv=yes
13872 fi
13873 rm -f core conftest.err conftest.$ac_objext \
13874     conftest$ac_exeext conftest.$ac_ext
13875       LIBS="$am_save_LIBS"
13876     fi
13877
13878 fi
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13880 $as_echo "$am_cv_func_iconv" >&6; }
13881   if test "$am_cv_func_iconv" = yes; then
13882     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13883 $as_echo_n "checking for working iconv... " >&6; }
13884 if ${am_cv_func_iconv_works+:} false; then :
13885   $as_echo_n "(cached) " >&6
13886 else
13887
13888             am_save_LIBS="$LIBS"
13889       if test $am_cv_lib_iconv = yes; then
13890         LIBS="$LIBS $LIBICONV"
13891       fi
13892       if test "$cross_compiling" = yes; then :
13893   case "$host_os" in
13894            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13895            *)            am_cv_func_iconv_works="guessing yes" ;;
13896          esac
13897 else
13898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h.  */
13900
13901 #include <iconv.h>
13902 #include <string.h>
13903 int main ()
13904 {
13905   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13906      returns.  */
13907   {
13908     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13909     if (cd_utf8_to_88591 != (iconv_t)(-1))
13910       {
13911         static const char input[] = "\342\202\254"; /* EURO SIGN */
13912         char buf[10];
13913         const char *inptr = input;
13914         size_t inbytesleft = strlen (input);
13915         char *outptr = buf;
13916         size_t outbytesleft = sizeof (buf);
13917         size_t res = iconv (cd_utf8_to_88591,
13918                             (char **) &inptr, &inbytesleft,
13919                             &outptr, &outbytesleft);
13920         if (res == 0)
13921           return 1;
13922       }
13923   }
13924 #if 0 /* This bug could be worked around by the caller.  */
13925   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
13926   {
13927     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13928     if (cd_88591_to_utf8 != (iconv_t)(-1))
13929       {
13930         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13931         char buf[50];
13932         const char *inptr = input;
13933         size_t inbytesleft = strlen (input);
13934         char *outptr = buf;
13935         size_t outbytesleft = sizeof (buf);
13936         size_t res = iconv (cd_88591_to_utf8,
13937                             (char **) &inptr, &inbytesleft,
13938                             &outptr, &outbytesleft);
13939         if ((int)res > 0)
13940           return 1;
13941       }
13942   }
13943 #endif
13944   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13945      provided.  */
13946   if (/* Try standardized names.  */
13947       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13948       /* Try IRIX, OSF/1 names.  */
13949       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13950       /* Try AIX names.  */
13951       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13952       /* Try HP-UX names.  */
13953       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13954     return 1;
13955   return 0;
13956 }
13957 _ACEOF
13958 if ac_fn_c_try_run "$LINENO"; then :
13959   am_cv_func_iconv_works=yes
13960 else
13961   am_cv_func_iconv_works=no
13962 fi
13963 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13964   conftest.$ac_objext conftest.beam conftest.$ac_ext
13965 fi
13966
13967       LIBS="$am_save_LIBS"
13968
13969 fi
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13971 $as_echo "$am_cv_func_iconv_works" >&6; }
13972     case "$am_cv_func_iconv_works" in
13973       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13974       *)   am_func_iconv=yes ;;
13975     esac
13976   else
13977     am_func_iconv=no am_cv_lib_iconv=no
13978   fi
13979   if test "$am_func_iconv" = yes; then
13980
13981 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13982
13983   fi
13984   if test "$am_cv_lib_iconv" = yes; then
13985     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13986 $as_echo_n "checking how to link with libiconv... " >&6; }
13987     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13988 $as_echo "$LIBICONV" >&6; }
13989   else
13990             CPPFLAGS="$am_save_CPPFLAGS"
13991     LIBICONV=
13992     LTLIBICONV=
13993   fi
13994
13995
13996
13997
13998
13999
14000
14001
14002     use_additional=yes
14003
14004   acl_save_prefix="$prefix"
14005   prefix="$acl_final_prefix"
14006   acl_save_exec_prefix="$exec_prefix"
14007   exec_prefix="$acl_final_exec_prefix"
14008
14009     eval additional_includedir=\"$includedir\"
14010     eval additional_libdir=\"$libdir\"
14011
14012   exec_prefix="$acl_save_exec_prefix"
14013   prefix="$acl_save_prefix"
14014
14015
14016 # Check whether --with-libintl-prefix was given.
14017 if test "${with_libintl_prefix+set}" = set; then :
14018   withval=$with_libintl_prefix;
14019     if test "X$withval" = "Xno"; then
14020       use_additional=no
14021     else
14022       if test "X$withval" = "X"; then
14023
14024   acl_save_prefix="$prefix"
14025   prefix="$acl_final_prefix"
14026   acl_save_exec_prefix="$exec_prefix"
14027   exec_prefix="$acl_final_exec_prefix"
14028
14029           eval additional_includedir=\"$includedir\"
14030           eval additional_libdir=\"$libdir\"
14031
14032   exec_prefix="$acl_save_exec_prefix"
14033   prefix="$acl_save_prefix"
14034
14035       else
14036         additional_includedir="$withval/include"
14037         additional_libdir="$withval/$acl_libdirstem"
14038       fi
14039     fi
14040
14041 fi
14042
14043       LIBINTL=
14044   LTLIBINTL=
14045   INCINTL=
14046   LIBINTL_PREFIX=
14047   rpathdirs=
14048   ltrpathdirs=
14049   names_already_handled=
14050   names_next_round='intl '
14051   while test -n "$names_next_round"; do
14052     names_this_round="$names_next_round"
14053     names_next_round=
14054     for name in $names_this_round; do
14055       already_handled=
14056       for n in $names_already_handled; do
14057         if test "$n" = "$name"; then
14058           already_handled=yes
14059           break
14060         fi
14061       done
14062       if test -z "$already_handled"; then
14063         names_already_handled="$names_already_handled $name"
14064                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14065         eval value=\"\$HAVE_LIB$uppername\"
14066         if test -n "$value"; then
14067           if test "$value" = yes; then
14068             eval value=\"\$LIB$uppername\"
14069             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14070             eval value=\"\$LTLIB$uppername\"
14071             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14072           else
14073                                     :
14074           fi
14075         else
14076                               found_dir=
14077           found_la=
14078           found_so=
14079           found_a=
14080           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
14081           if test -n "$acl_shlibext"; then
14082             shrext=".$acl_shlibext"             # typically: shrext=.so
14083           else
14084             shrext=
14085           fi
14086           if test $use_additional = yes; then
14087             dir="$additional_libdir"
14088                                     if test -n "$acl_shlibext"; then
14089               if test -f "$dir/$libname$shrext"; then
14090                 found_dir="$dir"
14091                 found_so="$dir/$libname$shrext"
14092               else
14093                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14094                   ver=`(cd "$dir" && \
14095                         for f in "$libname$shrext".*; do echo "$f"; done \
14096                         | sed -e "s,^$libname$shrext\\\\.,," \
14097                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14098                         | sed 1q ) 2>/dev/null`
14099                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14100                     found_dir="$dir"
14101                     found_so="$dir/$libname$shrext.$ver"
14102                   fi
14103                 else
14104                   eval library_names=\"$acl_library_names_spec\"
14105                   for f in $library_names; do
14106                     if test -f "$dir/$f"; then
14107                       found_dir="$dir"
14108                       found_so="$dir/$f"
14109                       break
14110                     fi
14111                   done
14112                 fi
14113               fi
14114             fi
14115                         if test "X$found_dir" = "X"; then
14116               if test -f "$dir/$libname.$acl_libext"; then
14117                 found_dir="$dir"
14118                 found_a="$dir/$libname.$acl_libext"
14119               fi
14120             fi
14121             if test "X$found_dir" != "X"; then
14122               if test -f "$dir/$libname.la"; then
14123                 found_la="$dir/$libname.la"
14124               fi
14125             fi
14126           fi
14127           if test "X$found_dir" = "X"; then
14128             for x in $LDFLAGS $LTLIBINTL; do
14129
14130   acl_save_prefix="$prefix"
14131   prefix="$acl_final_prefix"
14132   acl_save_exec_prefix="$exec_prefix"
14133   exec_prefix="$acl_final_exec_prefix"
14134   eval x=\"$x\"
14135   exec_prefix="$acl_save_exec_prefix"
14136   prefix="$acl_save_prefix"
14137
14138               case "$x" in
14139                 -L*)
14140                   dir=`echo "X$x" | sed -e 's/^X-L//'`
14141                                     if test -n "$acl_shlibext"; then
14142                     if test -f "$dir/$libname$shrext"; then
14143                       found_dir="$dir"
14144                       found_so="$dir/$libname$shrext"
14145                     else
14146                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14147                         ver=`(cd "$dir" && \
14148                               for f in "$libname$shrext".*; do echo "$f"; done \
14149                               | sed -e "s,^$libname$shrext\\\\.,," \
14150                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14151                               | sed 1q ) 2>/dev/null`
14152                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14153                           found_dir="$dir"
14154                           found_so="$dir/$libname$shrext.$ver"
14155                         fi
14156                       else
14157                         eval library_names=\"$acl_library_names_spec\"
14158                         for f in $library_names; do
14159                           if test -f "$dir/$f"; then
14160                             found_dir="$dir"
14161                             found_so="$dir/$f"
14162                             break
14163                           fi
14164                         done
14165                       fi
14166                     fi
14167                   fi
14168                                     if test "X$found_dir" = "X"; then
14169                     if test -f "$dir/$libname.$acl_libext"; then
14170                       found_dir="$dir"
14171                       found_a="$dir/$libname.$acl_libext"
14172                     fi
14173                   fi
14174                   if test "X$found_dir" != "X"; then
14175                     if test -f "$dir/$libname.la"; then
14176                       found_la="$dir/$libname.la"
14177                     fi
14178                   fi
14179                   ;;
14180               esac
14181               if test "X$found_dir" != "X"; then
14182                 break
14183               fi
14184             done
14185           fi
14186           if test "X$found_dir" != "X"; then
14187                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14188             if test "X$found_so" != "X"; then
14189                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14190                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14191               else
14192                                                                                 haveit=
14193                 for x in $ltrpathdirs; do
14194                   if test "X$x" = "X$found_dir"; then
14195                     haveit=yes
14196                     break
14197                   fi
14198                 done
14199                 if test -z "$haveit"; then
14200                   ltrpathdirs="$ltrpathdirs $found_dir"
14201                 fi
14202                                 if test "$acl_hardcode_direct" = yes; then
14203                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14204                 else
14205                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14206                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14207                                                             haveit=
14208                     for x in $rpathdirs; do
14209                       if test "X$x" = "X$found_dir"; then
14210                         haveit=yes
14211                         break
14212                       fi
14213                     done
14214                     if test -z "$haveit"; then
14215                       rpathdirs="$rpathdirs $found_dir"
14216                     fi
14217                   else
14218                                                                                 haveit=
14219                     for x in $LDFLAGS $LIBINTL; do
14220
14221   acl_save_prefix="$prefix"
14222   prefix="$acl_final_prefix"
14223   acl_save_exec_prefix="$exec_prefix"
14224   exec_prefix="$acl_final_exec_prefix"
14225   eval x=\"$x\"
14226   exec_prefix="$acl_save_exec_prefix"
14227   prefix="$acl_save_prefix"
14228
14229                       if test "X$x" = "X-L$found_dir"; then
14230                         haveit=yes
14231                         break
14232                       fi
14233                     done
14234                     if test -z "$haveit"; then
14235                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14236                     fi
14237                     if test "$acl_hardcode_minus_L" != no; then
14238                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14239                     else
14240                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14241                     fi
14242                   fi
14243                 fi
14244               fi
14245             else
14246               if test "X$found_a" != "X"; then
14247                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14248               else
14249                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14250               fi
14251             fi
14252                         additional_includedir=
14253             case "$found_dir" in
14254               */$acl_libdirstem | */$acl_libdirstem/)
14255                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14256                 LIBINTL_PREFIX="$basedir"
14257                 additional_includedir="$basedir/include"
14258                 ;;
14259             esac
14260             if test "X$additional_includedir" != "X"; then
14261                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
14262                 haveit=
14263                 if test "X$additional_includedir" = "X/usr/local/include"; then
14264                   if test -n "$GCC"; then
14265                     case $host_os in
14266                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14267                     esac
14268                   fi
14269                 fi
14270                 if test -z "$haveit"; then
14271                   for x in $CPPFLAGS $INCINTL; do
14272
14273   acl_save_prefix="$prefix"
14274   prefix="$acl_final_prefix"
14275   acl_save_exec_prefix="$exec_prefix"
14276   exec_prefix="$acl_final_exec_prefix"
14277   eval x=\"$x\"
14278   exec_prefix="$acl_save_exec_prefix"
14279   prefix="$acl_save_prefix"
14280
14281                     if test "X$x" = "X-I$additional_includedir"; then
14282                       haveit=yes
14283                       break
14284                     fi
14285                   done
14286                   if test -z "$haveit"; then
14287                     if test -d "$additional_includedir"; then
14288                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14289                     fi
14290                   fi
14291                 fi
14292               fi
14293             fi
14294                         if test -n "$found_la"; then
14295                                                         save_libdir="$libdir"
14296               case "$found_la" in
14297                 */* | *\\*) . "$found_la" ;;
14298                 *) . "./$found_la" ;;
14299               esac
14300               libdir="$save_libdir"
14301                             for dep in $dependency_libs; do
14302                 case "$dep" in
14303                   -L*)
14304                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14305                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14306                       haveit=
14307                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14308                         if test -n "$GCC"; then
14309                           case $host_os in
14310                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14311                           esac
14312                         fi
14313                       fi
14314                       if test -z "$haveit"; then
14315                         haveit=
14316                         for x in $LDFLAGS $LIBINTL; do
14317
14318   acl_save_prefix="$prefix"
14319   prefix="$acl_final_prefix"
14320   acl_save_exec_prefix="$exec_prefix"
14321   exec_prefix="$acl_final_exec_prefix"
14322   eval x=\"$x\"
14323   exec_prefix="$acl_save_exec_prefix"
14324   prefix="$acl_save_prefix"
14325
14326                           if test "X$x" = "X-L$additional_libdir"; then
14327                             haveit=yes
14328                             break
14329                           fi
14330                         done
14331                         if test -z "$haveit"; then
14332                           if test -d "$additional_libdir"; then
14333                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14334                           fi
14335                         fi
14336                         haveit=
14337                         for x in $LDFLAGS $LTLIBINTL; do
14338
14339   acl_save_prefix="$prefix"
14340   prefix="$acl_final_prefix"
14341   acl_save_exec_prefix="$exec_prefix"
14342   exec_prefix="$acl_final_exec_prefix"
14343   eval x=\"$x\"
14344   exec_prefix="$acl_save_exec_prefix"
14345   prefix="$acl_save_prefix"
14346
14347                           if test "X$x" = "X-L$additional_libdir"; then
14348                             haveit=yes
14349                             break
14350                           fi
14351                         done
14352                         if test -z "$haveit"; then
14353                           if test -d "$additional_libdir"; then
14354                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14355                           fi
14356                         fi
14357                       fi
14358                     fi
14359                     ;;
14360                   -R*)
14361                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
14362                     if test "$enable_rpath" != no; then
14363                                                                   haveit=
14364                       for x in $rpathdirs; do
14365                         if test "X$x" = "X$dir"; then
14366                           haveit=yes
14367                           break
14368                         fi
14369                       done
14370                       if test -z "$haveit"; then
14371                         rpathdirs="$rpathdirs $dir"
14372                       fi
14373                                                                   haveit=
14374                       for x in $ltrpathdirs; do
14375                         if test "X$x" = "X$dir"; then
14376                           haveit=yes
14377                           break
14378                         fi
14379                       done
14380                       if test -z "$haveit"; then
14381                         ltrpathdirs="$ltrpathdirs $dir"
14382                       fi
14383                     fi
14384                     ;;
14385                   -l*)
14386                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14387                     ;;
14388                   *.la)
14389                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14390                     ;;
14391                   *)
14392                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14393                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14394                     ;;
14395                 esac
14396               done
14397             fi
14398           else
14399                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14400             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14401           fi
14402         fi
14403       fi
14404     done
14405   done
14406   if test "X$rpathdirs" != "X"; then
14407     if test -n "$acl_hardcode_libdir_separator"; then
14408                         alldirs=
14409       for found_dir in $rpathdirs; do
14410         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14411       done
14412             acl_save_libdir="$libdir"
14413       libdir="$alldirs"
14414       eval flag=\"$acl_hardcode_libdir_flag_spec\"
14415       libdir="$acl_save_libdir"
14416       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14417     else
14418             for found_dir in $rpathdirs; do
14419         acl_save_libdir="$libdir"
14420         libdir="$found_dir"
14421         eval flag=\"$acl_hardcode_libdir_flag_spec\"
14422         libdir="$acl_save_libdir"
14423         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14424       done
14425     fi
14426   fi
14427   if test "X$ltrpathdirs" != "X"; then
14428             for found_dir in $ltrpathdirs; do
14429       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14430     done
14431   fi
14432
14433           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14434 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14435 if eval \${$gt_func_gnugettext_libintl+:} false; then :
14436   $as_echo_n "(cached) " >&6
14437 else
14438   gt_save_CPPFLAGS="$CPPFLAGS"
14439             CPPFLAGS="$CPPFLAGS $INCINTL"
14440             gt_save_LIBS="$LIBS"
14441             LIBS="$LIBS $LIBINTL"
14442                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14443 /* end confdefs.h.  */
14444 #include <libintl.h>
14445 $gt_revision_test_code
14446 extern int _nl_msg_cat_cntr;
14447 extern
14448 #ifdef __cplusplus
14449 "C"
14450 #endif
14451 const char *_nl_expand_alias (const char *);
14452 int
14453 main ()
14454 {
14455 bindtextdomain ("", "");
14456 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14457   ;
14458   return 0;
14459 }
14460 _ACEOF
14461 if ac_fn_c_try_link "$LINENO"; then :
14462   eval "$gt_func_gnugettext_libintl=yes"
14463 else
14464   eval "$gt_func_gnugettext_libintl=no"
14465 fi
14466 rm -f core conftest.err conftest.$ac_objext \
14467     conftest$ac_exeext conftest.$ac_ext
14468                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14469               LIBS="$LIBS $LIBICONV"
14470               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h.  */
14472 #include <libintl.h>
14473 $gt_revision_test_code
14474 extern int _nl_msg_cat_cntr;
14475 extern
14476 #ifdef __cplusplus
14477 "C"
14478 #endif
14479 const char *_nl_expand_alias (const char *);
14480 int
14481 main ()
14482 {
14483 bindtextdomain ("", "");
14484 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14485   ;
14486   return 0;
14487 }
14488 _ACEOF
14489 if ac_fn_c_try_link "$LINENO"; then :
14490   LIBINTL="$LIBINTL $LIBICONV"
14491                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14492                 eval "$gt_func_gnugettext_libintl=yes"
14493
14494 fi
14495 rm -f core conftest.err conftest.$ac_objext \
14496     conftest$ac_exeext conftest.$ac_ext
14497             fi
14498             CPPFLAGS="$gt_save_CPPFLAGS"
14499             LIBS="$gt_save_LIBS"
14500 fi
14501 eval ac_res=\$$gt_func_gnugettext_libintl
14502                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14503 $as_echo "$ac_res" >&6; }
14504         fi
14505
14506                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14507            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14508                 && test "$PACKAGE" != gettext-runtime \
14509                 && test "$PACKAGE" != gettext-tools; }; then
14510           gt_use_preinstalled_gnugettext=yes
14511         else
14512                     LIBINTL=
14513           LTLIBINTL=
14514           INCINTL=
14515         fi
14516
14517
14518
14519     if test -n "$INTL_MACOSX_LIBS"; then
14520       if test "$gt_use_preinstalled_gnugettext" = "yes" \
14521          || test "$nls_cv_use_gnu_gettext" = "yes"; then
14522                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14523         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14524       fi
14525     fi
14526
14527     if test "$gt_use_preinstalled_gnugettext" = "yes" \
14528        || test "$nls_cv_use_gnu_gettext" = "yes"; then
14529
14530 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14531
14532     else
14533       USE_NLS=no
14534     fi
14535   fi
14536
14537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14538 $as_echo_n "checking whether to use NLS... " >&6; }
14539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14540 $as_echo "$USE_NLS" >&6; }
14541   if test "$USE_NLS" = "yes"; then
14542     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14543 $as_echo_n "checking where the gettext function comes from... " >&6; }
14544     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14545       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14546         gt_source="external libintl"
14547       else
14548         gt_source="libc"
14549       fi
14550     else
14551       gt_source="included intl directory"
14552     fi
14553     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14554 $as_echo "$gt_source" >&6; }
14555   fi
14556
14557   if test "$USE_NLS" = "yes"; then
14558
14559     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14560       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14561         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14562 $as_echo_n "checking how to link with libintl... " >&6; }
14563         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14564 $as_echo "$LIBINTL" >&6; }
14565
14566   for element in $INCINTL; do
14567     haveit=
14568     for x in $CPPFLAGS; do
14569
14570   acl_save_prefix="$prefix"
14571   prefix="$acl_final_prefix"
14572   acl_save_exec_prefix="$exec_prefix"
14573   exec_prefix="$acl_final_exec_prefix"
14574   eval x=\"$x\"
14575   exec_prefix="$acl_save_exec_prefix"
14576   prefix="$acl_save_prefix"
14577
14578       if test "X$x" = "X$element"; then
14579         haveit=yes
14580         break
14581       fi
14582     done
14583     if test -z "$haveit"; then
14584       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14585     fi
14586   done
14587
14588       fi
14589
14590
14591 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14592
14593
14594 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14595
14596     fi
14597
14598         POSUB=po
14599   fi
14600
14601
14602
14603     INTLLIBS="$LIBINTL"
14604
14605
14606
14607
14608
14609
14610
14611   if test "$USE_NLS" = "yes"; then
14612     GETTEXT_PACKAGE=gst-plugins-ugly-$GST_MAJORMINOR
14613   else
14614     GETTEXT_PACKAGE=NULL
14615   fi
14616
14617
14618 cat >>confdefs.h <<_ACEOF
14619 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14620 _ACEOF
14621
14622
14623
14624   EXP_VAR=LOCALEDIR
14625   FROM_VAR=$datadir/locale
14626
14627     prefix_save=$prefix
14628   exec_prefix_save=$exec_prefix
14629
14630     if test "x$prefix" = "xNONE"; then
14631     prefix="$ac_default_prefix"
14632   fi
14633     if test "x$exec_prefix" = "xNONE"; then
14634     exec_prefix=$prefix
14635   fi
14636
14637   full_var="$FROM_VAR"
14638     while true; do
14639     new_full_var="`eval echo $full_var`"
14640     if test "x$new_full_var" = "x$full_var"; then break; fi
14641     full_var=$new_full_var
14642   done
14643
14644     full_var=$new_full_var
14645   LOCALEDIR="$full_var"
14646
14647
14648     prefix=$prefix_save
14649   exec_prefix=$exec_prefix_save
14650
14651
14652 cat >>confdefs.h <<_ACEOF
14653 #define LOCALEDIR "$LOCALEDIR"
14654 _ACEOF
14655
14656
14657
14658
14659
14660     # Check whether --enable-debug was given.
14661 if test "${enable_debug+set}" = set; then :
14662   enableval=$enable_debug;
14663       case "${enableval}" in
14664         yes) USE_DEBUG=yes ;;
14665         no)  USE_DEBUG=no ;;
14666         *)   as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
14667       esac
14668
14669 else
14670   USE_DEBUG=yes
14671 fi
14672
14673
14674   # Check whether --enable-profiling was given.
14675 if test "${enable_profiling+set}" = set; then :
14676   enableval=$enable_profiling;
14677       case "${enableval}" in
14678         yes) USE_PROFILING=yes ;;
14679         no)  USE_PROFILING=no ;;
14680         *)   as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;;
14681       esac
14682
14683 else
14684   USE_PROFILING=no
14685 fi
14686
14687
14688
14689 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14690         if test -n "$ac_tool_prefix"; then
14691   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14692 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14694 $as_echo_n "checking for $ac_word... " >&6; }
14695 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14696   $as_echo_n "(cached) " >&6
14697 else
14698   case $PKG_CONFIG in
14699   [\\/]* | ?:[\\/]*)
14700   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14701   ;;
14702   *)
14703   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14704 for as_dir in $PATH
14705 do
14706   IFS=$as_save_IFS
14707   test -z "$as_dir" && as_dir=.
14708     for ac_exec_ext in '' $ac_executable_extensions; do
14709   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14710     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14712     break 2
14713   fi
14714 done
14715   done
14716 IFS=$as_save_IFS
14717
14718   ;;
14719 esac
14720 fi
14721 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14722 if test -n "$PKG_CONFIG"; then
14723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14724 $as_echo "$PKG_CONFIG" >&6; }
14725 else
14726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14727 $as_echo "no" >&6; }
14728 fi
14729
14730
14731 fi
14732 if test -z "$ac_cv_path_PKG_CONFIG"; then
14733   ac_pt_PKG_CONFIG=$PKG_CONFIG
14734   # Extract the first word of "pkg-config", so it can be a program name with args.
14735 set dummy pkg-config; ac_word=$2
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14737 $as_echo_n "checking for $ac_word... " >&6; }
14738 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14739   $as_echo_n "(cached) " >&6
14740 else
14741   case $ac_pt_PKG_CONFIG in
14742   [\\/]* | ?:[\\/]*)
14743   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14744   ;;
14745   *)
14746   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14747 for as_dir in $PATH
14748 do
14749   IFS=$as_save_IFS
14750   test -z "$as_dir" && as_dir=.
14751     for ac_exec_ext in '' $ac_executable_extensions; do
14752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14753     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14755     break 2
14756   fi
14757 done
14758   done
14759 IFS=$as_save_IFS
14760
14761   ;;
14762 esac
14763 fi
14764 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14765 if test -n "$ac_pt_PKG_CONFIG"; then
14766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14767 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14768 else
14769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14770 $as_echo "no" >&6; }
14771 fi
14772
14773   if test "x$ac_pt_PKG_CONFIG" = x; then
14774     PKG_CONFIG=""
14775   else
14776     case $cross_compiling:$ac_tool_warned in
14777 yes:)
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14780 ac_tool_warned=yes ;;
14781 esac
14782     PKG_CONFIG=$ac_pt_PKG_CONFIG
14783   fi
14784 else
14785   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14786 fi
14787
14788 fi
14789 if test -n "$PKG_CONFIG"; then
14790         _pkg_min_version=0.9.0
14791         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14792 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14793         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14794                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14795 $as_echo "yes" >&6; }
14796         else
14797                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14798 $as_echo "no" >&6; }
14799                 PKG_CONFIG=""
14800         fi
14801
14802 fi
14803
14804     # Check whether --enable-valgrind was given.
14805 if test "${enable_valgrind+set}" = set; then :
14806   enableval=$enable_valgrind;
14807       case "${enableval}" in
14808         yes) USE_VALGRIND="$USE_DEBUG" ;;
14809         no)  USE_VALGRIND=no ;;
14810         *)   as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
14811       esac
14812
14813 else
14814   USE_VALGRIND="$USE_DEBUG"
14815 fi
14816    VALGRIND_REQ="3.0"
14817   if test "x$USE_VALGRIND" = xyes; then
14818
14819 pkg_failed=no
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
14821 $as_echo_n "checking for VALGRIND... " >&6; }
14822
14823 if test -n "$PKG_CONFIG"; then
14824     if test -n "$VALGRIND_CFLAGS"; then
14825         pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
14826     else
14827         if test -n "$PKG_CONFIG" && \
14828     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14829   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14830   ac_status=$?
14831   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14832   test $ac_status = 0; }; then
14833   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14834 else
14835   pkg_failed=yes
14836 fi
14837     fi
14838 else
14839         pkg_failed=untried
14840 fi
14841 if test -n "$PKG_CONFIG"; then
14842     if test -n "$VALGRIND_LIBS"; then
14843         pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
14844     else
14845         if test -n "$PKG_CONFIG" && \
14846     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14847   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14848   ac_status=$?
14849   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14850   test $ac_status = 0; }; then
14851   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14852 else
14853   pkg_failed=yes
14854 fi
14855     fi
14856 else
14857         pkg_failed=untried
14858 fi
14859
14860
14861
14862 if test $pkg_failed = yes; then
14863
14864 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14865         _pkg_short_errors_supported=yes
14866 else
14867         _pkg_short_errors_supported=no
14868 fi
14869         if test $_pkg_short_errors_supported = yes; then
14870                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14871         else
14872                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14873         fi
14874         # Put the nasty error message in config.log where it belongs
14875         echo "$VALGRIND_PKG_ERRORS" >&5
14876
14877         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14878 $as_echo "no" >&6; }
14879                 USE_VALGRIND="no"
14880 elif test $pkg_failed = untried; then
14881         USE_VALGRIND="no"
14882 else
14883         VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
14884         VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
14885         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14886 $as_echo "yes" >&6; }
14887         USE_VALGRIND="yes"
14888 fi
14889   fi
14890   if test "x$USE_VALGRIND" = xyes; then
14891
14892 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
14893
14894     { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
14895 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
14896   fi
14897
14898
14899   # Check whether --enable-gcov was given.
14900 if test "${enable_gcov+set}" = set; then :
14901   enableval=$enable_gcov; enable_gcov=$enableval
14902 else
14903   enable_gcov=no
14904 fi
14905
14906   if test x$enable_gcov = xyes ; then
14907     if test "x$GCC" != "xyes"
14908     then
14909       as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
14910     fi
14911
14912
14913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
14914 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
14915
14916   save_CFLAGS="$CFLAGS"
14917   CFLAGS="$CFLAGS "-fprofile-arcs""
14918
14919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14920 /* end confdefs.h.  */
14921
14922 int
14923 main ()
14924 {
14925
14926   ;
14927   return 0;
14928 }
14929 _ACEOF
14930 if ac_fn_c_try_compile "$LINENO"; then :
14931   flag_ok=yes
14932 else
14933   flag_ok=no
14934 fi
14935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14936   CFLAGS="$save_CFLAGS"
14937
14938   if test "X$flag_ok" = Xyes ; then
14939     GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
14940     true
14941   else
14942     true
14943     true
14944   fi
14945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14946 $as_echo "$flag_ok" >&6; }
14947
14948
14949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
14950 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
14951
14952   save_CFLAGS="$CFLAGS"
14953   CFLAGS="$CFLAGS "-ftest-coverage""
14954
14955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h.  */
14957
14958 int
14959 main ()
14960 {
14961
14962   ;
14963   return 0;
14964 }
14965 _ACEOF
14966 if ac_fn_c_try_compile "$LINENO"; then :
14967   flag_ok=yes
14968 else
14969   flag_ok=no
14970 fi
14971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14972   CFLAGS="$save_CFLAGS"
14973
14974   if test "X$flag_ok" = Xyes ; then
14975     GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
14976     true
14977   else
14978     true
14979     true
14980   fi
14981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14982 $as_echo "$flag_ok" >&6; }
14983
14984         GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
14985                 GCOV_LIBS=-lgcov
14986
14987
14988     GCOV=`echo $CC | sed s/gcc/gcov/g`
14989
14990
14991     GST_GCOV_ENABLED=yes
14992
14993 cat >>confdefs.h <<_ACEOF
14994 #define GST_GCOV_ENABLED 1
14995 _ACEOF
14996
14997         if test "x$GST_GCOV_ENABLED" = "xyes"
14998     then
14999       CFLAGS="-O0"
15000
15001       CXXFLAGS="-O0"
15002
15003       FFLAGS="-O0"
15004
15005       CCASFLAGS="-O0"
15006
15007       { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
15008 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
15009     fi
15010   fi
15011    if test x$enable_gcov = xyes; then
15012   GST_GCOV_ENABLED_TRUE=
15013   GST_GCOV_ENABLED_FALSE='#'
15014 else
15015   GST_GCOV_ENABLED_TRUE='#'
15016   GST_GCOV_ENABLED_FALSE=
15017 fi
15018
15019
15020
15021
15022   # Check whether --enable-examples was given.
15023 if test "${enable_examples+set}" = set; then :
15024   enableval=$enable_examples;
15025         case "${enableval}" in
15026           yes) BUILD_EXAMPLES=yes ;;
15027           no)  BUILD_EXAMPLES=no ;;
15028           *)   as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;;
15029         esac
15030
15031 else
15032   BUILD_EXAMPLES=yes
15033 fi
15034     if test "x$BUILD_EXAMPLES" = "xyes"; then
15035   BUILD_EXAMPLES_TRUE=
15036   BUILD_EXAMPLES_FALSE='#'
15037 else
15038   BUILD_EXAMPLES_TRUE='#'
15039   BUILD_EXAMPLES_FALSE=
15040 fi
15041
15042
15043
15044
15045
15046 # Check whether --with-pkg-config-path was given.
15047 if test "${with_pkg_config_path+set}" = set; then :
15048   withval=$with_pkg_config_path;
15049        export PKG_CONFIG_PATH=${withval}
15050        { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
15051 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
15052
15053 fi
15054
15055
15056
15057
15058 # Check whether --with-package-name was given.
15059 if test "${with_package_name+set}" = set; then :
15060   withval=$with_package_name;
15061       case "${withval}" in
15062         yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15063         no)  as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15064         *)   GST_PACKAGE_NAME="${withval}" ;;
15065       esac
15066
15067 else
15068
15069       P=
15070       if test "x$P" = "x"
15071       then
15072         P=$PACKAGE_NAME
15073       fi
15074
15075       if test "x$PACKAGE_VERSION_NANO" = "x0"
15076       then
15077         GST_PACKAGE_NAME="$P source release"
15078       else
15079         if test "x$PACKAGE_VERSION_NANO" = "x1"
15080         then
15081           GST_PACKAGE_NAME="$P git"
15082         else
15083           GST_PACKAGE_NAME="$P prerelease"
15084         fi
15085       fi
15086
15087
15088 fi
15089
15090   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
15091 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
15092
15093 cat >>confdefs.h <<_ACEOF
15094 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
15095 _ACEOF
15096
15097
15098
15099
15100
15101 # Check whether --with-package-origin was given.
15102 if test "${with_package_origin+set}" = set; then :
15103   withval=$with_package_origin;
15104       case "${withval}" in
15105         yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
15106         no)  as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
15107         *)   GST_PACKAGE_ORIGIN="${withval}" ;;
15108       esac
15109
15110 else
15111   GST_PACKAGE_ORIGIN="Unknown package origin"
15112 fi
15113
15114   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
15115 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
15116
15117 cat >>confdefs.h <<_ACEOF
15118 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
15119 _ACEOF
15120
15121
15122
15123
15124
15125
15126 # Check whether --with-plugins was given.
15127 if test "${with_plugins+set}" = set; then :
15128   withval=$with_plugins; WITH_PLUGINS=$withval
15129 else
15130   WITH_PLUGINS=
15131 fi
15132
15133
15134   GST_PLUGINS_ALL=""
15135   GST_PLUGINS_SELECTED=""
15136
15137
15138
15139
15140
15141
15142   echo
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of plug-ins with external deps ***" >&5
15144 $as_echo "$as_me: *** checking feature: building of plug-ins with external deps ***" >&6;}
15145 if test "x" != "x"
15146 then
15147   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
15148 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
15149 fi
15150 NOUSE=
15151 if test "x$USE_EXTERNAL" = "xno"; then
15152   NOUSE="yes"
15153 fi
15154 # Check whether --enable-external was given.
15155 if test "${enable_external+set}" = set; then :
15156   enableval=$enable_external;  case "${enableval}" in
15157       yes) USE_EXTERNAL=yes;;
15158       no) USE_EXTERNAL=no;;
15159       *) as_fn_error $? "bad value ${enableval} for --enable-external" "$LINENO" 5 ;;
15160     esac
15161 else
15162    USE_EXTERNAL=yes
15163 fi
15164
15165 if test "x$NOUSE" = "xyes"; then
15166   USE_EXTERNAL="no"
15167   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
15168 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
15169 fi
15170 NOUSE=
15171
15172
15173 if test x$USE_EXTERNAL = xyes; then
15174
15175   gst_check_save_LIBS=$LIBS
15176   gst_check_save_LDFLAGS=$LDFLAGS
15177   gst_check_save_CFLAGS=$CFLAGS
15178   gst_check_save_CPPFLAGS=$CPPFLAGS
15179   gst_check_save_CXXFLAGS=$CXXFLAGS
15180
15181   HAVE_EXTERNAL=no
15182     HAVE_EXTERNAL=yes
15183
15184   LIBS=$gst_check_save_LIBS
15185   LDFLAGS=$gst_check_save_LDFLAGS
15186   CFLAGS=$gst_check_save_CFLAGS
15187   CPPFLAGS=$gst_check_save_CPPFLAGS
15188   CXXFLAGS=$gst_check_save_CXXFLAGS
15189
15190     if test x$HAVE_EXTERNAL = xno; then
15191     USE_EXTERNAL=no
15192   else
15193     :
15194   fi
15195 fi
15196 if test x$USE_EXTERNAL = xyes; then
15197
15198       { $as_echo "$as_me:${as_lineno-$LINENO}: building external plug-ins" >&5
15199 $as_echo "$as_me: building external plug-ins" >&6;}
15200       BUILD_EXTERNAL="yes"
15201
15202   if test "x" != "x"; then
15203     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
15204   fi
15205
15206 $as_echo "#define HAVE_EXTERNAL /**/" >>confdefs.h
15207
15208 else
15209   :
15210   if test "x" != "x"; then
15211     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
15212   fi
15213
15214       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: all plug-ins with external dependencies will not be built" >&5
15215 $as_echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;}
15216       BUILD_EXTERNAL="no"
15217
15218 fi
15219  if test x$USE_EXTERNAL = xyes; then
15220   USE_EXTERNAL_TRUE=
15221   USE_EXTERNAL_FALSE='#'
15222 else
15223   USE_EXTERNAL_TRUE='#'
15224   USE_EXTERNAL_FALSE=
15225 fi
15226
15227
15228   # make BUILD_EXTERNAL available to Makefile.am
15229    if test "x$BUILD_EXTERNAL" = "xyes"; then
15230   BUILD_EXTERNAL_TRUE=
15231   BUILD_EXTERNAL_FALSE='#'
15232 else
15233   BUILD_EXTERNAL_TRUE='#'
15234   BUILD_EXTERNAL_FALSE=
15235 fi
15236
15237
15238
15239
15240   echo
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of experimental plug-ins ***" >&5
15242 $as_echo "$as_me: *** checking feature: building of experimental plug-ins ***" >&6;}
15243 if test "x" != "x"
15244 then
15245   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
15246 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
15247 fi
15248 NOUSE=
15249 if test "x$USE_EXPERIMENTAL" = "xno"; then
15250   NOUSE="yes"
15251 fi
15252 # Check whether --enable-experimental was given.
15253 if test "${enable_experimental+set}" = set; then :
15254   enableval=$enable_experimental;  case "${enableval}" in
15255       yes) USE_EXPERIMENTAL=yes;;
15256       no) USE_EXPERIMENTAL=no;;
15257       *) as_fn_error $? "bad value ${enableval} for --enable-experimental" "$LINENO" 5 ;;
15258     esac
15259 else
15260    USE_EXPERIMENTAL=no
15261 fi
15262
15263 if test "x$NOUSE" = "xyes"; then
15264   USE_EXPERIMENTAL="no"
15265   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
15266 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
15267 fi
15268 NOUSE=
15269
15270
15271 if test x$USE_EXPERIMENTAL = xyes; then
15272
15273   gst_check_save_LIBS=$LIBS
15274   gst_check_save_LDFLAGS=$LDFLAGS
15275   gst_check_save_CFLAGS=$CFLAGS
15276   gst_check_save_CPPFLAGS=$CPPFLAGS
15277   gst_check_save_CXXFLAGS=$CXXFLAGS
15278
15279   HAVE_EXPERIMENTAL=no
15280     HAVE_EXPERIMENTAL=yes
15281
15282   LIBS=$gst_check_save_LIBS
15283   LDFLAGS=$gst_check_save_LDFLAGS
15284   CFLAGS=$gst_check_save_CFLAGS
15285   CPPFLAGS=$gst_check_save_CPPFLAGS
15286   CXXFLAGS=$gst_check_save_CXXFLAGS
15287
15288     if test x$HAVE_EXPERIMENTAL = xno; then
15289     USE_EXPERIMENTAL=no
15290   else
15291     :
15292   fi
15293 fi
15294 if test x$USE_EXPERIMENTAL = xyes; then
15295
15296       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building experimental plug-ins" >&5
15297 $as_echo "$as_me: WARNING: building experimental plug-ins" >&2;}
15298       BUILD_EXPERIMENTAL="yes"
15299
15300   if test "x" != "x"; then
15301     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
15302   fi
15303
15304 $as_echo "#define HAVE_EXPERIMENTAL /**/" >>confdefs.h
15305
15306 else
15307   :
15308   if test "x" != "x"; then
15309     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
15310   fi
15311
15312       { $as_echo "$as_me:${as_lineno-$LINENO}: not building experimental plug-ins" >&5
15313 $as_echo "$as_me: not building experimental plug-ins" >&6;}
15314       BUILD_EXPERIMENTAL="no"
15315
15316 fi
15317  if test x$USE_EXPERIMENTAL = xyes; then
15318   USE_EXPERIMENTAL_TRUE=
15319   USE_EXPERIMENTAL_FALSE='#'
15320 else
15321   USE_EXPERIMENTAL_TRUE='#'
15322   USE_EXPERIMENTAL_FALSE=
15323 fi
15324
15325
15326   # make BUILD_EXPERIMENTAL available to Makefile.am
15327    if test "x$BUILD_EXPERIMENTAL" = "xyes"; then
15328   BUILD_EXPERIMENTAL_TRUE=
15329   BUILD_EXPERIMENTAL_FALSE='#'
15330 else
15331   BUILD_EXPERIMENTAL_TRUE='#'
15332   BUILD_EXPERIMENTAL_FALSE=
15333 fi
15334
15335
15336
15337
15338
15339
15340
15341     case "x${host_cpu}" in
15342     xi?86 | xk? | xi?86_64)
15343       case $host_os in
15344          solaris*)
15345             ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
15346 if test "x$ac_cv_have_decl___i386" = xyes; then :
15347   I386_ABI="yes"
15348 else
15349   I386_ABI="no"
15350 fi
15351
15352             ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
15353 if test "x$ac_cv_have_decl___amd64" = xyes; then :
15354   AMD64_ABI="yes"
15355 else
15356   AMD64_ABI="no"
15357 fi
15358
15359
15360             if test "x$I386_ABI" = "xyes" ; then
15361                HAVE_CPU_I386=yes
15362
15363 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
15364
15365             fi
15366             if test "x$AMD64_ABI" = "xyes" ; then
15367                 HAVE_CPU_X86_64=yes
15368
15369 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
15370
15371             fi
15372             ;;
15373          *)
15374             HAVE_CPU_I386=yes
15375
15376 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
15377
15378
15379                                     case "x${host_cpu}" in
15380               xi386 | xi486) ;;
15381             *)
15382
15383 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
15384  ;;
15385             esac
15386             ;;
15387       esac
15388       ;;
15389     xpowerpc)
15390       HAVE_CPU_PPC=yes
15391
15392 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
15393  ;;
15394     xpowerpc64)
15395       HAVE_CPU_PPC64=yes
15396
15397 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
15398  ;;
15399     xalpha*)
15400       HAVE_CPU_ALPHA=yes
15401
15402 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
15403  ;;
15404     xarm*)
15405       HAVE_CPU_ARM=yes
15406
15407 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
15408  ;;
15409     xsparc*)
15410       HAVE_CPU_SPARC=yes
15411
15412 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
15413  ;;
15414     xmips*)
15415       HAVE_CPU_MIPS=yes
15416
15417 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
15418  ;;
15419     xhppa*)
15420       HAVE_CPU_HPPA=yes
15421
15422 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
15423  ;;
15424     xs390*)
15425       HAVE_CPU_S390=yes
15426
15427 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
15428  ;;
15429     xia64*)
15430       HAVE_CPU_IA64=yes
15431
15432 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
15433  ;;
15434     xm68k*)
15435       HAVE_CPU_M68K=yes
15436
15437 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
15438  ;;
15439     xx86_64)
15440       HAVE_CPU_X86_64=yes
15441
15442 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
15443  ;;
15444     xcris)
15445       HAVE_CPU_CRIS=yes
15446
15447 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
15448  ;;
15449     xcrisv32)
15450       HAVE_CPU_CRISV32=yes
15451
15452 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
15453  ;;
15454   esac
15455
15456      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15457 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15458 if ${ac_cv_c_bigendian+:} false; then :
15459   $as_echo_n "(cached) " >&6
15460 else
15461   ac_cv_c_bigendian=unknown
15462     # See if we're dealing with a universal compiler.
15463     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15464 /* end confdefs.h.  */
15465 #ifndef __APPLE_CC__
15466                not a universal capable compiler
15467              #endif
15468              typedef int dummy;
15469
15470 _ACEOF
15471 if ac_fn_c_try_compile "$LINENO"; then :
15472
15473         # Check for potential -arch flags.  It is not universal unless
15474         # there are at least two -arch flags with different values.
15475         ac_arch=
15476         ac_prev=
15477         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15478          if test -n "$ac_prev"; then
15479            case $ac_word in
15480              i?86 | x86_64 | ppc | ppc64)
15481                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15482                  ac_arch=$ac_word
15483                else
15484                  ac_cv_c_bigendian=universal
15485                  break
15486                fi
15487                ;;
15488            esac
15489            ac_prev=
15490          elif test "x$ac_word" = "x-arch"; then
15491            ac_prev=arch
15492          fi
15493        done
15494 fi
15495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15496     if test $ac_cv_c_bigendian = unknown; then
15497       # See if sys/param.h defines the BYTE_ORDER macro.
15498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15499 /* end confdefs.h.  */
15500 #include <sys/types.h>
15501              #include <sys/param.h>
15502
15503 int
15504 main ()
15505 {
15506 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15507                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15508                      && LITTLE_ENDIAN)
15509               bogus endian macros
15510              #endif
15511
15512   ;
15513   return 0;
15514 }
15515 _ACEOF
15516 if ac_fn_c_try_compile "$LINENO"; then :
15517   # It does; now see whether it defined to BIG_ENDIAN or not.
15518          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h.  */
15520 #include <sys/types.h>
15521                 #include <sys/param.h>
15522
15523 int
15524 main ()
15525 {
15526 #if BYTE_ORDER != BIG_ENDIAN
15527                  not big endian
15528                 #endif
15529
15530   ;
15531   return 0;
15532 }
15533 _ACEOF
15534 if ac_fn_c_try_compile "$LINENO"; then :
15535   ac_cv_c_bigendian=yes
15536 else
15537   ac_cv_c_bigendian=no
15538 fi
15539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15540 fi
15541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15542     fi
15543     if test $ac_cv_c_bigendian = unknown; then
15544       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15546 /* end confdefs.h.  */
15547 #include <limits.h>
15548
15549 int
15550 main ()
15551 {
15552 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15553               bogus endian macros
15554              #endif
15555
15556   ;
15557   return 0;
15558 }
15559 _ACEOF
15560 if ac_fn_c_try_compile "$LINENO"; then :
15561   # It does; now see whether it defined to _BIG_ENDIAN or not.
15562          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15563 /* end confdefs.h.  */
15564 #include <limits.h>
15565
15566 int
15567 main ()
15568 {
15569 #ifndef _BIG_ENDIAN
15570                  not big endian
15571                 #endif
15572
15573   ;
15574   return 0;
15575 }
15576 _ACEOF
15577 if ac_fn_c_try_compile "$LINENO"; then :
15578   ac_cv_c_bigendian=yes
15579 else
15580   ac_cv_c_bigendian=no
15581 fi
15582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15583 fi
15584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15585     fi
15586     if test $ac_cv_c_bigendian = unknown; then
15587       # Compile a test program.
15588       if test "$cross_compiling" = yes; then :
15589   # Try to guess by grepping values from an object file.
15590          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15591 /* end confdefs.h.  */
15592 short int ascii_mm[] =
15593                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15594                 short int ascii_ii[] =
15595                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15596                 int use_ascii (int i) {
15597                   return ascii_mm[i] + ascii_ii[i];
15598                 }
15599                 short int ebcdic_ii[] =
15600                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15601                 short int ebcdic_mm[] =
15602                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15603                 int use_ebcdic (int i) {
15604                   return ebcdic_mm[i] + ebcdic_ii[i];
15605                 }
15606                 extern int foo;
15607
15608 int
15609 main ()
15610 {
15611 return use_ascii (foo) == use_ebcdic (foo);
15612   ;
15613   return 0;
15614 }
15615 _ACEOF
15616 if ac_fn_c_try_compile "$LINENO"; then :
15617   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15618               ac_cv_c_bigendian=yes
15619             fi
15620             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
15621               if test "$ac_cv_c_bigendian" = unknown; then
15622                 ac_cv_c_bigendian=no
15623               else
15624                 # finding both strings is unlikely to happen, but who knows?
15625                 ac_cv_c_bigendian=unknown
15626               fi
15627             fi
15628 fi
15629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15630 else
15631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15632 /* end confdefs.h.  */
15633 $ac_includes_default
15634 int
15635 main ()
15636 {
15637
15638              /* Are we little or big endian?  From Harbison&Steele.  */
15639              union
15640              {
15641                long int l;
15642                char c[sizeof (long int)];
15643              } u;
15644              u.l = 1;
15645              return u.c[sizeof (long int) - 1] == 1;
15646
15647   ;
15648   return 0;
15649 }
15650 _ACEOF
15651 if ac_fn_c_try_run "$LINENO"; then :
15652   ac_cv_c_bigendian=no
15653 else
15654   ac_cv_c_bigendian=yes
15655 fi
15656 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15657   conftest.$ac_objext conftest.beam conftest.$ac_ext
15658 fi
15659
15660     fi
15661 fi
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15663 $as_echo "$ac_cv_c_bigendian" >&6; }
15664  case $ac_cv_c_bigendian in #(
15665    yes)
15666      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15667 ;; #(
15668    no)
15669       ;; #(
15670    universal)
15671
15672 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15673
15674      ;; #(
15675    *)
15676      as_fn_error $? "unknown endianness
15677  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15678  esac
15679
15680
15681    if test "x$HAVE_CPU_I386" = "xyes"; then
15682   HAVE_CPU_I386_TRUE=
15683   HAVE_CPU_I386_FALSE='#'
15684 else
15685   HAVE_CPU_I386_TRUE='#'
15686   HAVE_CPU_I386_FALSE=
15687 fi
15688
15689    if test "x$HAVE_CPU_PPC" = "xyes"; then
15690   HAVE_CPU_PPC_TRUE=
15691   HAVE_CPU_PPC_FALSE='#'
15692 else
15693   HAVE_CPU_PPC_TRUE='#'
15694   HAVE_CPU_PPC_FALSE=
15695 fi
15696
15697    if test "x$HAVE_CPU_PPC64" = "xyes"; then
15698   HAVE_CPU_PPC64_TRUE=
15699   HAVE_CPU_PPC64_FALSE='#'
15700 else
15701   HAVE_CPU_PPC64_TRUE='#'
15702   HAVE_CPU_PPC64_FALSE=
15703 fi
15704
15705    if test "x$HAVE_CPU_ALPHA" = "xyes"; then
15706   HAVE_CPU_ALPHA_TRUE=
15707   HAVE_CPU_ALPHA_FALSE='#'
15708 else
15709   HAVE_CPU_ALPHA_TRUE='#'
15710   HAVE_CPU_ALPHA_FALSE=
15711 fi
15712
15713    if test "x$HAVE_CPU_ARM" = "xyes"; then
15714   HAVE_CPU_ARM_TRUE=
15715   HAVE_CPU_ARM_FALSE='#'
15716 else
15717   HAVE_CPU_ARM_TRUE='#'
15718   HAVE_CPU_ARM_FALSE=
15719 fi
15720
15721    if test "x$HAVE_CPU_SPARC" = "xyes"; then
15722   HAVE_CPU_SPARC_TRUE=
15723   HAVE_CPU_SPARC_FALSE='#'
15724 else
15725   HAVE_CPU_SPARC_TRUE='#'
15726   HAVE_CPU_SPARC_FALSE=
15727 fi
15728
15729    if test "x$HAVE_CPU_HPPA" = "xyes"; then
15730   HAVE_CPU_HPPA_TRUE=
15731   HAVE_CPU_HPPA_FALSE='#'
15732 else
15733   HAVE_CPU_HPPA_TRUE='#'
15734   HAVE_CPU_HPPA_FALSE=
15735 fi
15736
15737    if test "x$HAVE_CPU_MIPS" = "xyes"; then
15738   HAVE_CPU_MIPS_TRUE=
15739   HAVE_CPU_MIPS_FALSE='#'
15740 else
15741   HAVE_CPU_MIPS_TRUE='#'
15742   HAVE_CPU_MIPS_FALSE=
15743 fi
15744
15745    if test "x$HAVE_CPU_S390" = "xyes"; then
15746   HAVE_CPU_S390_TRUE=
15747   HAVE_CPU_S390_FALSE='#'
15748 else
15749   HAVE_CPU_S390_TRUE='#'
15750   HAVE_CPU_S390_FALSE=
15751 fi
15752
15753    if test "x$HAVE_CPU_IA64" = "xyes"; then
15754   HAVE_CPU_IA64_TRUE=
15755   HAVE_CPU_IA64_FALSE='#'
15756 else
15757   HAVE_CPU_IA64_TRUE='#'
15758   HAVE_CPU_IA64_FALSE=
15759 fi
15760
15761    if test "x$HAVE_CPU_M68K" = "xyes"; then
15762   HAVE_CPU_M68K_TRUE=
15763   HAVE_CPU_M68K_FALSE='#'
15764 else
15765   HAVE_CPU_M68K_TRUE='#'
15766   HAVE_CPU_M68K_FALSE=
15767 fi
15768
15769    if test "x$HAVE_CPU_X86_64" = "xyes"; then
15770   HAVE_CPU_X86_64_TRUE=
15771   HAVE_CPU_X86_64_FALSE='#'
15772 else
15773   HAVE_CPU_X86_64_TRUE='#'
15774   HAVE_CPU_X86_64_FALSE=
15775 fi
15776
15777    if test "x$HAVE_CPU_CRIS" = "xyes"; then
15778   HAVE_CPU_CRIS_TRUE=
15779   HAVE_CPU_CRIS_FALSE='#'
15780 else
15781   HAVE_CPU_CRIS_TRUE='#'
15782   HAVE_CPU_CRIS_FALSE=
15783 fi
15784
15785    if test "x$HAVE_CPU_CRISV32" = "xyes"; then
15786   HAVE_CPU_CRISV32_TRUE=
15787   HAVE_CPU_CRISV32_FALSE='#'
15788 else
15789   HAVE_CPU_CRISV32_TRUE='#'
15790   HAVE_CPU_CRISV32_FALSE=
15791 fi
15792
15793
15794
15795 cat >>confdefs.h <<_ACEOF
15796 #define HOST_CPU "$host_cpu"
15797 _ACEOF
15798
15799
15800
15801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15802 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15803 if ${ac_cv_c_bigendian+:} false; then :
15804   $as_echo_n "(cached) " >&6
15805 else
15806   ac_cv_c_bigendian=unknown
15807     # See if we're dealing with a universal compiler.
15808     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15809 /* end confdefs.h.  */
15810 #ifndef __APPLE_CC__
15811                not a universal capable compiler
15812              #endif
15813              typedef int dummy;
15814
15815 _ACEOF
15816 if ac_fn_c_try_compile "$LINENO"; then :
15817
15818         # Check for potential -arch flags.  It is not universal unless
15819         # there are at least two -arch flags with different values.
15820         ac_arch=
15821         ac_prev=
15822         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15823          if test -n "$ac_prev"; then
15824            case $ac_word in
15825              i?86 | x86_64 | ppc | ppc64)
15826                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15827                  ac_arch=$ac_word
15828                else
15829                  ac_cv_c_bigendian=universal
15830                  break
15831                fi
15832                ;;
15833            esac
15834            ac_prev=
15835          elif test "x$ac_word" = "x-arch"; then
15836            ac_prev=arch
15837          fi
15838        done
15839 fi
15840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15841     if test $ac_cv_c_bigendian = unknown; then
15842       # See if sys/param.h defines the BYTE_ORDER macro.
15843       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15844 /* end confdefs.h.  */
15845 #include <sys/types.h>
15846              #include <sys/param.h>
15847
15848 int
15849 main ()
15850 {
15851 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15852                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15853                      && LITTLE_ENDIAN)
15854               bogus endian macros
15855              #endif
15856
15857   ;
15858   return 0;
15859 }
15860 _ACEOF
15861 if ac_fn_c_try_compile "$LINENO"; then :
15862   # It does; now see whether it defined to BIG_ENDIAN or not.
15863          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15864 /* end confdefs.h.  */
15865 #include <sys/types.h>
15866                 #include <sys/param.h>
15867
15868 int
15869 main ()
15870 {
15871 #if BYTE_ORDER != BIG_ENDIAN
15872                  not big endian
15873                 #endif
15874
15875   ;
15876   return 0;
15877 }
15878 _ACEOF
15879 if ac_fn_c_try_compile "$LINENO"; then :
15880   ac_cv_c_bigendian=yes
15881 else
15882   ac_cv_c_bigendian=no
15883 fi
15884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15885 fi
15886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15887     fi
15888     if test $ac_cv_c_bigendian = unknown; then
15889       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h.  */
15892 #include <limits.h>
15893
15894 int
15895 main ()
15896 {
15897 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15898               bogus endian macros
15899              #endif
15900
15901   ;
15902   return 0;
15903 }
15904 _ACEOF
15905 if ac_fn_c_try_compile "$LINENO"; then :
15906   # It does; now see whether it defined to _BIG_ENDIAN or not.
15907          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h.  */
15909 #include <limits.h>
15910
15911 int
15912 main ()
15913 {
15914 #ifndef _BIG_ENDIAN
15915                  not big endian
15916                 #endif
15917
15918   ;
15919   return 0;
15920 }
15921 _ACEOF
15922 if ac_fn_c_try_compile "$LINENO"; then :
15923   ac_cv_c_bigendian=yes
15924 else
15925   ac_cv_c_bigendian=no
15926 fi
15927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15928 fi
15929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15930     fi
15931     if test $ac_cv_c_bigendian = unknown; then
15932       # Compile a test program.
15933       if test "$cross_compiling" = yes; then :
15934   # Try to guess by grepping values from an object file.
15935          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15936 /* end confdefs.h.  */
15937 short int ascii_mm[] =
15938                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15939                 short int ascii_ii[] =
15940                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15941                 int use_ascii (int i) {
15942                   return ascii_mm[i] + ascii_ii[i];
15943                 }
15944                 short int ebcdic_ii[] =
15945                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15946                 short int ebcdic_mm[] =
15947                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15948                 int use_ebcdic (int i) {
15949                   return ebcdic_mm[i] + ebcdic_ii[i];
15950                 }
15951                 extern int foo;
15952
15953 int
15954 main ()
15955 {
15956 return use_ascii (foo) == use_ebcdic (foo);
15957   ;
15958   return 0;
15959 }
15960 _ACEOF
15961 if ac_fn_c_try_compile "$LINENO"; then :
15962   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15963               ac_cv_c_bigendian=yes
15964             fi
15965             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
15966               if test "$ac_cv_c_bigendian" = unknown; then
15967                 ac_cv_c_bigendian=no
15968               else
15969                 # finding both strings is unlikely to happen, but who knows?
15970                 ac_cv_c_bigendian=unknown
15971               fi
15972             fi
15973 fi
15974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15975 else
15976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15977 /* end confdefs.h.  */
15978 $ac_includes_default
15979 int
15980 main ()
15981 {
15982
15983              /* Are we little or big endian?  From Harbison&Steele.  */
15984              union
15985              {
15986                long int l;
15987                char c[sizeof (long int)];
15988              } u;
15989              u.l = 1;
15990              return u.c[sizeof (long int) - 1] == 1;
15991
15992   ;
15993   return 0;
15994 }
15995 _ACEOF
15996 if ac_fn_c_try_run "$LINENO"; then :
15997   ac_cv_c_bigendian=no
15998 else
15999   ac_cv_c_bigendian=yes
16000 fi
16001 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16002   conftest.$ac_objext conftest.beam conftest.$ac_ext
16003 fi
16004
16005     fi
16006 fi
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16008 $as_echo "$ac_cv_c_bigendian" >&6; }
16009  case $ac_cv_c_bigendian in #(
16010    yes)
16011      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16012 ;; #(
16013    no)
16014       ;; #(
16015    universal)
16016
16017 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16018
16019      ;; #(
16020    *)
16021      as_fn_error $? "unknown endianness
16022  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16023  esac
16024
16025
16026
16027 ac_ext=c
16028 ac_cpp='$CPP $CPPFLAGS'
16029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16032 if test -n "$ac_tool_prefix"; then
16033   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16034 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16036 $as_echo_n "checking for $ac_word... " >&6; }
16037 if ${ac_cv_prog_CC+:} false; then :
16038   $as_echo_n "(cached) " >&6
16039 else
16040   if test -n "$CC"; then
16041   ac_cv_prog_CC="$CC" # Let the user override the test.
16042 else
16043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16044 for as_dir in $PATH
16045 do
16046   IFS=$as_save_IFS
16047   test -z "$as_dir" && as_dir=.
16048     for ac_exec_ext in '' $ac_executable_extensions; do
16049   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16050     ac_cv_prog_CC="${ac_tool_prefix}gcc"
16051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16052     break 2
16053   fi
16054 done
16055   done
16056 IFS=$as_save_IFS
16057
16058 fi
16059 fi
16060 CC=$ac_cv_prog_CC
16061 if test -n "$CC"; then
16062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16063 $as_echo "$CC" >&6; }
16064 else
16065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16066 $as_echo "no" >&6; }
16067 fi
16068
16069
16070 fi
16071 if test -z "$ac_cv_prog_CC"; then
16072   ac_ct_CC=$CC
16073   # Extract the first word of "gcc", so it can be a program name with args.
16074 set dummy gcc; ac_word=$2
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16076 $as_echo_n "checking for $ac_word... " >&6; }
16077 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16078   $as_echo_n "(cached) " >&6
16079 else
16080   if test -n "$ac_ct_CC"; then
16081   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16082 else
16083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16084 for as_dir in $PATH
16085 do
16086   IFS=$as_save_IFS
16087   test -z "$as_dir" && as_dir=.
16088     for ac_exec_ext in '' $ac_executable_extensions; do
16089   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16090     ac_cv_prog_ac_ct_CC="gcc"
16091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16092     break 2
16093   fi
16094 done
16095   done
16096 IFS=$as_save_IFS
16097
16098 fi
16099 fi
16100 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16101 if test -n "$ac_ct_CC"; then
16102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16103 $as_echo "$ac_ct_CC" >&6; }
16104 else
16105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16106 $as_echo "no" >&6; }
16107 fi
16108
16109   if test "x$ac_ct_CC" = x; then
16110     CC=""
16111   else
16112     case $cross_compiling:$ac_tool_warned in
16113 yes:)
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16116 ac_tool_warned=yes ;;
16117 esac
16118     CC=$ac_ct_CC
16119   fi
16120 else
16121   CC="$ac_cv_prog_CC"
16122 fi
16123
16124 if test -z "$CC"; then
16125           if test -n "$ac_tool_prefix"; then
16126     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16127 set dummy ${ac_tool_prefix}cc; ac_word=$2
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16129 $as_echo_n "checking for $ac_word... " >&6; }
16130 if ${ac_cv_prog_CC+:} false; then :
16131   $as_echo_n "(cached) " >&6
16132 else
16133   if test -n "$CC"; then
16134   ac_cv_prog_CC="$CC" # Let the user override the test.
16135 else
16136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16137 for as_dir in $PATH
16138 do
16139   IFS=$as_save_IFS
16140   test -z "$as_dir" && as_dir=.
16141     for ac_exec_ext in '' $ac_executable_extensions; do
16142   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16143     ac_cv_prog_CC="${ac_tool_prefix}cc"
16144     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16145     break 2
16146   fi
16147 done
16148   done
16149 IFS=$as_save_IFS
16150
16151 fi
16152 fi
16153 CC=$ac_cv_prog_CC
16154 if test -n "$CC"; then
16155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16156 $as_echo "$CC" >&6; }
16157 else
16158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16159 $as_echo "no" >&6; }
16160 fi
16161
16162
16163   fi
16164 fi
16165 if test -z "$CC"; then
16166   # Extract the first word of "cc", so it can be a program name with args.
16167 set dummy cc; ac_word=$2
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16169 $as_echo_n "checking for $ac_word... " >&6; }
16170 if ${ac_cv_prog_CC+:} false; then :
16171   $as_echo_n "(cached) " >&6
16172 else
16173   if test -n "$CC"; then
16174   ac_cv_prog_CC="$CC" # Let the user override the test.
16175 else
16176   ac_prog_rejected=no
16177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16178 for as_dir in $PATH
16179 do
16180   IFS=$as_save_IFS
16181   test -z "$as_dir" && as_dir=.
16182     for ac_exec_ext in '' $ac_executable_extensions; do
16183   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16184     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16185        ac_prog_rejected=yes
16186        continue
16187      fi
16188     ac_cv_prog_CC="cc"
16189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16190     break 2
16191   fi
16192 done
16193   done
16194 IFS=$as_save_IFS
16195
16196 if test $ac_prog_rejected = yes; then
16197   # We found a bogon in the path, so make sure we never use it.
16198   set dummy $ac_cv_prog_CC
16199   shift
16200   if test $# != 0; then
16201     # We chose a different compiler from the bogus one.
16202     # However, it has the same basename, so the bogon will be chosen
16203     # first if we set CC to just the basename; use the full file name.
16204     shift
16205     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16206   fi
16207 fi
16208 fi
16209 fi
16210 CC=$ac_cv_prog_CC
16211 if test -n "$CC"; then
16212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16213 $as_echo "$CC" >&6; }
16214 else
16215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16216 $as_echo "no" >&6; }
16217 fi
16218
16219
16220 fi
16221 if test -z "$CC"; then
16222   if test -n "$ac_tool_prefix"; then
16223   for ac_prog in cl.exe
16224   do
16225     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16228 $as_echo_n "checking for $ac_word... " >&6; }
16229 if ${ac_cv_prog_CC+:} false; then :
16230   $as_echo_n "(cached) " >&6
16231 else
16232   if test -n "$CC"; then
16233   ac_cv_prog_CC="$CC" # Let the user override the test.
16234 else
16235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16236 for as_dir in $PATH
16237 do
16238   IFS=$as_save_IFS
16239   test -z "$as_dir" && as_dir=.
16240     for ac_exec_ext in '' $ac_executable_extensions; do
16241   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16242     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16243     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16244     break 2
16245   fi
16246 done
16247   done
16248 IFS=$as_save_IFS
16249
16250 fi
16251 fi
16252 CC=$ac_cv_prog_CC
16253 if test -n "$CC"; then
16254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16255 $as_echo "$CC" >&6; }
16256 else
16257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16258 $as_echo "no" >&6; }
16259 fi
16260
16261
16262     test -n "$CC" && break
16263   done
16264 fi
16265 if test -z "$CC"; then
16266   ac_ct_CC=$CC
16267   for ac_prog in cl.exe
16268 do
16269   # Extract the first word of "$ac_prog", so it can be a program name with args.
16270 set dummy $ac_prog; ac_word=$2
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16272 $as_echo_n "checking for $ac_word... " >&6; }
16273 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16274   $as_echo_n "(cached) " >&6
16275 else
16276   if test -n "$ac_ct_CC"; then
16277   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16278 else
16279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16280 for as_dir in $PATH
16281 do
16282   IFS=$as_save_IFS
16283   test -z "$as_dir" && as_dir=.
16284     for ac_exec_ext in '' $ac_executable_extensions; do
16285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16286     ac_cv_prog_ac_ct_CC="$ac_prog"
16287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16288     break 2
16289   fi
16290 done
16291   done
16292 IFS=$as_save_IFS
16293
16294 fi
16295 fi
16296 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16297 if test -n "$ac_ct_CC"; then
16298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16299 $as_echo "$ac_ct_CC" >&6; }
16300 else
16301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16302 $as_echo "no" >&6; }
16303 fi
16304
16305
16306   test -n "$ac_ct_CC" && break
16307 done
16308
16309   if test "x$ac_ct_CC" = x; then
16310     CC=""
16311   else
16312     case $cross_compiling:$ac_tool_warned in
16313 yes:)
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16316 ac_tool_warned=yes ;;
16317 esac
16318     CC=$ac_ct_CC
16319   fi
16320 fi
16321
16322 fi
16323
16324
16325 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16327 as_fn_error $? "no acceptable C compiler found in \$PATH
16328 See \`config.log' for more details" "$LINENO" 5; }
16329
16330 # Provide some information about the compiler.
16331 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16332 set X $ac_compile
16333 ac_compiler=$2
16334 for ac_option in --version -v -V -qversion; do
16335   { { ac_try="$ac_compiler $ac_option >&5"
16336 case "(($ac_try" in
16337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16338   *) ac_try_echo=$ac_try;;
16339 esac
16340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16341 $as_echo "$ac_try_echo"; } >&5
16342   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16343   ac_status=$?
16344   if test -s conftest.err; then
16345     sed '10a\
16346 ... rest of stderr output deleted ...
16347          10q' conftest.err >conftest.er1
16348     cat conftest.er1 >&5
16349   fi
16350   rm -f conftest.er1 conftest.err
16351   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16352   test $ac_status = 0; }
16353 done
16354
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16356 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16357 if ${ac_cv_c_compiler_gnu+:} false; then :
16358   $as_echo_n "(cached) " >&6
16359 else
16360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16361 /* end confdefs.h.  */
16362
16363 int
16364 main ()
16365 {
16366 #ifndef __GNUC__
16367        choke me
16368 #endif
16369
16370   ;
16371   return 0;
16372 }
16373 _ACEOF
16374 if ac_fn_c_try_compile "$LINENO"; then :
16375   ac_compiler_gnu=yes
16376 else
16377   ac_compiler_gnu=no
16378 fi
16379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16380 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16381
16382 fi
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16384 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16385 if test $ac_compiler_gnu = yes; then
16386   GCC=yes
16387 else
16388   GCC=
16389 fi
16390 ac_test_CFLAGS=${CFLAGS+set}
16391 ac_save_CFLAGS=$CFLAGS
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16393 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16394 if ${ac_cv_prog_cc_g+:} false; then :
16395   $as_echo_n "(cached) " >&6
16396 else
16397   ac_save_c_werror_flag=$ac_c_werror_flag
16398    ac_c_werror_flag=yes
16399    ac_cv_prog_cc_g=no
16400    CFLAGS="-g"
16401    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16402 /* end confdefs.h.  */
16403
16404 int
16405 main ()
16406 {
16407
16408   ;
16409   return 0;
16410 }
16411 _ACEOF
16412 if ac_fn_c_try_compile "$LINENO"; then :
16413   ac_cv_prog_cc_g=yes
16414 else
16415   CFLAGS=""
16416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16417 /* end confdefs.h.  */
16418
16419 int
16420 main ()
16421 {
16422
16423   ;
16424   return 0;
16425 }
16426 _ACEOF
16427 if ac_fn_c_try_compile "$LINENO"; then :
16428
16429 else
16430   ac_c_werror_flag=$ac_save_c_werror_flag
16431          CFLAGS="-g"
16432          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h.  */
16434
16435 int
16436 main ()
16437 {
16438
16439   ;
16440   return 0;
16441 }
16442 _ACEOF
16443 if ac_fn_c_try_compile "$LINENO"; then :
16444   ac_cv_prog_cc_g=yes
16445 fi
16446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16447 fi
16448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16449 fi
16450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16451    ac_c_werror_flag=$ac_save_c_werror_flag
16452 fi
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16454 $as_echo "$ac_cv_prog_cc_g" >&6; }
16455 if test "$ac_test_CFLAGS" = set; then
16456   CFLAGS=$ac_save_CFLAGS
16457 elif test $ac_cv_prog_cc_g = yes; then
16458   if test "$GCC" = yes; then
16459     CFLAGS="-g -O2"
16460   else
16461     CFLAGS="-g"
16462   fi
16463 else
16464   if test "$GCC" = yes; then
16465     CFLAGS="-O2"
16466   else
16467     CFLAGS=
16468   fi
16469 fi
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16471 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16472 if ${ac_cv_prog_cc_c89+:} false; then :
16473   $as_echo_n "(cached) " >&6
16474 else
16475   ac_cv_prog_cc_c89=no
16476 ac_save_CC=$CC
16477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16478 /* end confdefs.h.  */
16479 #include <stdarg.h>
16480 #include <stdio.h>
16481 #include <sys/types.h>
16482 #include <sys/stat.h>
16483 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16484 struct buf { int x; };
16485 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16486 static char *e (p, i)
16487      char **p;
16488      int i;
16489 {
16490   return p[i];
16491 }
16492 static char *f (char * (*g) (char **, int), char **p, ...)
16493 {
16494   char *s;
16495   va_list v;
16496   va_start (v,p);
16497   s = g (p, va_arg (v,int));
16498   va_end (v);
16499   return s;
16500 }
16501
16502 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
16503    function prototypes and stuff, but not '\xHH' hex character constants.
16504    These don't provoke an error unfortunately, instead are silently treated
16505    as 'x'.  The following induces an error, until -std is added to get
16506    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
16507    array size at least.  It's necessary to write '\x00'==0 to get something
16508    that's true only with -std.  */
16509 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16510
16511 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16512    inside strings and character constants.  */
16513 #define FOO(x) 'x'
16514 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16515
16516 int test (int i, double x);
16517 struct s1 {int (*f) (int a);};
16518 struct s2 {int (*f) (double a);};
16519 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16520 int argc;
16521 char **argv;
16522 int
16523 main ()
16524 {
16525 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
16526   ;
16527   return 0;
16528 }
16529 _ACEOF
16530 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16531         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16532 do
16533   CC="$ac_save_CC $ac_arg"
16534   if ac_fn_c_try_compile "$LINENO"; then :
16535   ac_cv_prog_cc_c89=$ac_arg
16536 fi
16537 rm -f core conftest.err conftest.$ac_objext
16538   test "x$ac_cv_prog_cc_c89" != "xno" && break
16539 done
16540 rm -f conftest.$ac_ext
16541 CC=$ac_save_CC
16542
16543 fi
16544 # AC_CACHE_VAL
16545 case "x$ac_cv_prog_cc_c89" in
16546   x)
16547     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16548 $as_echo "none needed" >&6; } ;;
16549   xno)
16550     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16551 $as_echo "unsupported" >&6; } ;;
16552   *)
16553     CC="$CC $ac_cv_prog_cc_c89"
16554     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16555 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16556 esac
16557 if test "x$ac_cv_prog_cc_c89" != xno; then :
16558
16559 fi
16560
16561 ac_ext=c
16562 ac_cpp='$CPP $CPPFLAGS'
16563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16566
16567 depcc="$CC"   am_compiler_list=
16568
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16570 $as_echo_n "checking dependency style of $depcc... " >&6; }
16571 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
16572   $as_echo_n "(cached) " >&6
16573 else
16574   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16575   # We make a subdir and do the tests there.  Otherwise we can end up
16576   # making bogus files that we don't know about and never remove.  For
16577   # instance it was reported that on HP-UX the gcc test will end up
16578   # making a dummy file named `D' -- because `-MD' means `put the output
16579   # in D'.
16580   rm -rf conftest.dir
16581   mkdir conftest.dir
16582   # Copy depcomp to subdir because otherwise we won't find it if we're
16583   # using a relative directory.
16584   cp "$am_depcomp" conftest.dir
16585   cd conftest.dir
16586   # We will build objects and dependencies in a subdirectory because
16587   # it helps to detect inapplicable dependency modes.  For instance
16588   # both Tru64's cc and ICC support -MD to output dependencies as a
16589   # side effect of compilation, but ICC will put the dependencies in
16590   # the current directory while Tru64 will put them in the object
16591   # directory.
16592   mkdir sub
16593
16594   am_cv_CC_dependencies_compiler_type=none
16595   if test "$am_compiler_list" = ""; then
16596      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16597   fi
16598   am__universal=false
16599   case " $depcc " in #(
16600      *\ -arch\ *\ -arch\ *) am__universal=true ;;
16601      esac
16602
16603   for depmode in $am_compiler_list; do
16604     # Setup a source with many dependencies, because some compilers
16605     # like to wrap large dependency lists on column 80 (with \), and
16606     # we should not choose a depcomp mode which is confused by this.
16607     #
16608     # We need to recreate these files for each test, as the compiler may
16609     # overwrite some of them when testing with obscure command lines.
16610     # This happens at least with the AIX C compiler.
16611     : > sub/conftest.c
16612     for i in 1 2 3 4 5 6; do
16613       echo '#include "conftst'$i'.h"' >> sub/conftest.c
16614       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16615       # Solaris 8's {/usr,}/bin/sh.
16616       touch sub/conftst$i.h
16617     done
16618     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16619
16620     # We check with `-c' and `-o' for the sake of the "dashmstdout"
16621     # mode.  It turns out that the SunPro C++ compiler does not properly
16622     # handle `-M -o', and we need to detect this.  Also, some Intel
16623     # versions had trouble with output in subdirs
16624     am__obj=sub/conftest.${OBJEXT-o}
16625     am__minus_obj="-o $am__obj"
16626     case $depmode in
16627     gcc)
16628       # This depmode causes a compiler race in universal mode.
16629       test "$am__universal" = false || continue
16630       ;;
16631     nosideeffect)
16632       # after this tag, mechanisms are not by side-effect, so they'll
16633       # only be used when explicitly requested
16634       if test "x$enable_dependency_tracking" = xyes; then
16635         continue
16636       else
16637         break
16638       fi
16639       ;;
16640     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
16641       # This compiler won't grok `-c -o', but also, the minuso test has
16642       # not run yet.  These depmodes are late enough in the game, and
16643       # so weak that their functioning should not be impacted.
16644       am__obj=conftest.${OBJEXT-o}
16645       am__minus_obj=
16646       ;;
16647     none) break ;;
16648     esac
16649     if depmode=$depmode \
16650        source=sub/conftest.c object=$am__obj \
16651        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16652        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16653          >/dev/null 2>conftest.err &&
16654        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16655        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16656        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16657        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16658       # icc doesn't choke on unknown options, it will just issue warnings
16659       # or remarks (even with -Werror).  So we grep stderr for any message
16660       # that says an option was ignored or not supported.
16661       # When given -MP, icc 7.0 and 7.1 complain thusly:
16662       #   icc: Command line warning: ignoring option '-M'; no argument required
16663       # The diagnosis changed in icc 8.0:
16664       #   icc: Command line remark: option '-MP' not supported
16665       if (grep 'ignoring option' conftest.err ||
16666           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16667         am_cv_CC_dependencies_compiler_type=$depmode
16668         break
16669       fi
16670     fi
16671   done
16672
16673   cd ..
16674   rm -rf conftest.dir
16675 else
16676   am_cv_CC_dependencies_compiler_type=none
16677 fi
16678
16679 fi
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
16681 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
16682 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
16683
16684  if
16685   test "x$enable_dependency_tracking" != xno \
16686   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
16687   am__fastdepCC_TRUE=
16688   am__fastdepCC_FALSE='#'
16689 else
16690   am__fastdepCC_TRUE='#'
16691   am__fastdepCC_FALSE=
16692 fi
16693
16694
16695    case $ac_cv_prog_cc_stdc in #(
16696   no) :
16697     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
16698   *) :
16699     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
16700 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
16701 if ${ac_cv_prog_cc_c99+:} false; then :
16702   $as_echo_n "(cached) " >&6
16703 else
16704   ac_cv_prog_cc_c99=no
16705 ac_save_CC=$CC
16706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h.  */
16708 #include <stdarg.h>
16709 #include <stdbool.h>
16710 #include <stdlib.h>
16711 #include <wchar.h>
16712 #include <stdio.h>
16713
16714 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
16715 #define debug(...) fprintf (stderr, __VA_ARGS__)
16716 #define showlist(...) puts (#__VA_ARGS__)
16717 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
16718 static void
16719 test_varargs_macros (void)
16720 {
16721   int x = 1234;
16722   int y = 5678;
16723   debug ("Flag");
16724   debug ("X = %d\n", x);
16725   showlist (The first, second, and third items.);
16726   report (x>y, "x is %d but y is %d", x, y);
16727 }
16728
16729 // Check long long types.
16730 #define BIG64 18446744073709551615ull
16731 #define BIG32 4294967295ul
16732 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
16733 #if !BIG_OK
16734   your preprocessor is broken;
16735 #endif
16736 #if BIG_OK
16737 #else
16738   your preprocessor is broken;
16739 #endif
16740 static long long int bignum = -9223372036854775807LL;
16741 static unsigned long long int ubignum = BIG64;
16742
16743 struct incomplete_array
16744 {
16745   int datasize;
16746   double data[];
16747 };
16748
16749 struct named_init {
16750   int number;
16751   const wchar_t *name;
16752   double average;
16753 };
16754
16755 typedef const char *ccp;
16756
16757 static inline int
16758 test_restrict (ccp restrict text)
16759 {
16760   // See if C++-style comments work.
16761   // Iterate through items via the restricted pointer.
16762   // Also check for declarations in for loops.
16763   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
16764     continue;
16765   return 0;
16766 }
16767
16768 // Check varargs and va_copy.
16769 static void
16770 test_varargs (const char *format, ...)
16771 {
16772   va_list args;
16773   va_start (args, format);
16774   va_list args_copy;
16775   va_copy (args_copy, args);
16776
16777   const char *str;
16778   int number;
16779   float fnumber;
16780
16781   while (*format)
16782     {
16783       switch (*format++)
16784         {
16785         case 's': // string
16786           str = va_arg (args_copy, const char *);
16787           break;
16788         case 'd': // int
16789           number = va_arg (args_copy, int);
16790           break;
16791         case 'f': // float
16792           fnumber = va_arg (args_copy, double);
16793           break;
16794         default:
16795           break;
16796         }
16797     }
16798   va_end (args_copy);
16799   va_end (args);
16800 }
16801
16802 int
16803 main ()
16804 {
16805
16806   // Check bool.
16807   _Bool success = false;
16808
16809   // Check restrict.
16810   if (test_restrict ("String literal") == 0)
16811     success = true;
16812   char *restrict newvar = "Another string";
16813
16814   // Check varargs.
16815   test_varargs ("s, d' f .", "string", 65, 34.234);
16816   test_varargs_macros ();
16817
16818   // Check flexible array members.
16819   struct incomplete_array *ia =
16820     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
16821   ia->datasize = 10;
16822   for (int i = 0; i < ia->datasize; ++i)
16823     ia->data[i] = i * 1.234;
16824
16825   // Check named initializers.
16826   struct named_init ni = {
16827     .number = 34,
16828     .name = L"Test wide string",
16829     .average = 543.34343,
16830   };
16831
16832   ni.number = 58;
16833
16834   int dynamic_array[ni.number];
16835   dynamic_array[ni.number - 1] = 543;
16836
16837   // work around unused variable warnings
16838   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
16839           || dynamic_array[ni.number - 1] != 543);
16840
16841   ;
16842   return 0;
16843 }
16844 _ACEOF
16845 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
16846 do
16847   CC="$ac_save_CC $ac_arg"
16848   if ac_fn_c_try_compile "$LINENO"; then :
16849   ac_cv_prog_cc_c99=$ac_arg
16850 fi
16851 rm -f core conftest.err conftest.$ac_objext
16852   test "x$ac_cv_prog_cc_c99" != "xno" && break
16853 done
16854 rm -f conftest.$ac_ext
16855 CC=$ac_save_CC
16856
16857 fi
16858 # AC_CACHE_VAL
16859 case "x$ac_cv_prog_cc_c99" in
16860   x)
16861     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16862 $as_echo "none needed" >&6; } ;;
16863   xno)
16864     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16865 $as_echo "unsupported" >&6; } ;;
16866   *)
16867     CC="$CC $ac_cv_prog_cc_c99"
16868     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
16869 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
16870 esac
16871 if test "x$ac_cv_prog_cc_c99" != xno; then :
16872   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
16873 else
16874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16875 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16876 if ${ac_cv_prog_cc_c89+:} false; then :
16877   $as_echo_n "(cached) " >&6
16878 else
16879   ac_cv_prog_cc_c89=no
16880 ac_save_CC=$CC
16881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882 /* end confdefs.h.  */
16883 #include <stdarg.h>
16884 #include <stdio.h>
16885 #include <sys/types.h>
16886 #include <sys/stat.h>
16887 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16888 struct buf { int x; };
16889 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16890 static char *e (p, i)
16891      char **p;
16892      int i;
16893 {
16894   return p[i];
16895 }
16896 static char *f (char * (*g) (char **, int), char **p, ...)
16897 {
16898   char *s;
16899   va_list v;
16900   va_start (v,p);
16901   s = g (p, va_arg (v,int));
16902   va_end (v);
16903   return s;
16904 }
16905
16906 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
16907    function prototypes and stuff, but not '\xHH' hex character constants.
16908    These don't provoke an error unfortunately, instead are silently treated
16909    as 'x'.  The following induces an error, until -std is added to get
16910    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
16911    array size at least.  It's necessary to write '\x00'==0 to get something
16912    that's true only with -std.  */
16913 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16914
16915 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16916    inside strings and character constants.  */
16917 #define FOO(x) 'x'
16918 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16919
16920 int test (int i, double x);
16921 struct s1 {int (*f) (int a);};
16922 struct s2 {int (*f) (double a);};
16923 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16924 int argc;
16925 char **argv;
16926 int
16927 main ()
16928 {
16929 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
16930   ;
16931   return 0;
16932 }
16933 _ACEOF
16934 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16935         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16936 do
16937   CC="$ac_save_CC $ac_arg"
16938   if ac_fn_c_try_compile "$LINENO"; then :
16939   ac_cv_prog_cc_c89=$ac_arg
16940 fi
16941 rm -f core conftest.err conftest.$ac_objext
16942   test "x$ac_cv_prog_cc_c89" != "xno" && break
16943 done
16944 rm -f conftest.$ac_ext
16945 CC=$ac_save_CC
16946
16947 fi
16948 # AC_CACHE_VAL
16949 case "x$ac_cv_prog_cc_c89" in
16950   x)
16951     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16952 $as_echo "none needed" >&6; } ;;
16953   xno)
16954     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16955 $as_echo "unsupported" >&6; } ;;
16956   *)
16957     CC="$CC $ac_cv_prog_cc_c89"
16958     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16959 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16960 esac
16961 if test "x$ac_cv_prog_cc_c89" != xno; then :
16962   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
16963 else
16964   ac_cv_prog_cc_stdc=no
16965 fi
16966
16967 fi
16968  ;;
16969 esac
16970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
16971 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
16972   if ${ac_cv_prog_cc_stdc+:} false; then :
16973   $as_echo_n "(cached) " >&6
16974 fi
16975
16976   case $ac_cv_prog_cc_stdc in #(
16977   no) :
16978     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16979 $as_echo "unsupported" >&6; } ;; #(
16980   '') :
16981     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16982 $as_echo "none needed" >&6; } ;; #(
16983   *) :
16984     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
16985 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
16986 esac
16987
16988
16989 ac_ext=cpp
16990 ac_cpp='$CXXCPP $CPPFLAGS'
16991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16994 if test -z "$CXX"; then
16995   if test -n "$CCC"; then
16996     CXX=$CCC
16997   else
16998     if test -n "$ac_tool_prefix"; then
16999   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17000   do
17001     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17002 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17004 $as_echo_n "checking for $ac_word... " >&6; }
17005 if ${ac_cv_prog_CXX+:} false; then :
17006   $as_echo_n "(cached) " >&6
17007 else
17008   if test -n "$CXX"; then
17009   ac_cv_prog_CXX="$CXX" # Let the user override the test.
17010 else
17011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17012 for as_dir in $PATH
17013 do
17014   IFS=$as_save_IFS
17015   test -z "$as_dir" && as_dir=.
17016     for ac_exec_ext in '' $ac_executable_extensions; do
17017   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17018     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17020     break 2
17021   fi
17022 done
17023   done
17024 IFS=$as_save_IFS
17025
17026 fi
17027 fi
17028 CXX=$ac_cv_prog_CXX
17029 if test -n "$CXX"; then
17030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
17031 $as_echo "$CXX" >&6; }
17032 else
17033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17034 $as_echo "no" >&6; }
17035 fi
17036
17037
17038     test -n "$CXX" && break
17039   done
17040 fi
17041 if test -z "$CXX"; then
17042   ac_ct_CXX=$CXX
17043   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17044 do
17045   # Extract the first word of "$ac_prog", so it can be a program name with args.
17046 set dummy $ac_prog; ac_word=$2
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17048 $as_echo_n "checking for $ac_word... " >&6; }
17049 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
17050   $as_echo_n "(cached) " >&6
17051 else
17052   if test -n "$ac_ct_CXX"; then
17053   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17054 else
17055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17056 for as_dir in $PATH
17057 do
17058   IFS=$as_save_IFS
17059   test -z "$as_dir" && as_dir=.
17060     for ac_exec_ext in '' $ac_executable_extensions; do
17061   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17062     ac_cv_prog_ac_ct_CXX="$ac_prog"
17063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17064     break 2
17065   fi
17066 done
17067   done
17068 IFS=$as_save_IFS
17069
17070 fi
17071 fi
17072 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17073 if test -n "$ac_ct_CXX"; then
17074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
17075 $as_echo "$ac_ct_CXX" >&6; }
17076 else
17077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17078 $as_echo "no" >&6; }
17079 fi
17080
17081
17082   test -n "$ac_ct_CXX" && break
17083 done
17084
17085   if test "x$ac_ct_CXX" = x; then
17086     CXX="g++"
17087   else
17088     case $cross_compiling:$ac_tool_warned in
17089 yes:)
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17092 ac_tool_warned=yes ;;
17093 esac
17094     CXX=$ac_ct_CXX
17095   fi
17096 fi
17097
17098   fi
17099 fi
17100 # Provide some information about the compiler.
17101 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
17102 set X $ac_compile
17103 ac_compiler=$2
17104 for ac_option in --version -v -V -qversion; do
17105   { { ac_try="$ac_compiler $ac_option >&5"
17106 case "(($ac_try" in
17107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17108   *) ac_try_echo=$ac_try;;
17109 esac
17110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17111 $as_echo "$ac_try_echo"; } >&5
17112   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17113   ac_status=$?
17114   if test -s conftest.err; then
17115     sed '10a\
17116 ... rest of stderr output deleted ...
17117          10q' conftest.err >conftest.er1
17118     cat conftest.er1 >&5
17119   fi
17120   rm -f conftest.er1 conftest.err
17121   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17122   test $ac_status = 0; }
17123 done
17124
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
17126 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
17127 if ${ac_cv_cxx_compiler_gnu+:} false; then :
17128   $as_echo_n "(cached) " >&6
17129 else
17130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h.  */
17132
17133 int
17134 main ()
17135 {
17136 #ifndef __GNUC__
17137        choke me
17138 #endif
17139
17140   ;
17141   return 0;
17142 }
17143 _ACEOF
17144 if ac_fn_cxx_try_compile "$LINENO"; then :
17145   ac_compiler_gnu=yes
17146 else
17147   ac_compiler_gnu=no
17148 fi
17149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17150 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17151
17152 fi
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
17154 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
17155 if test $ac_compiler_gnu = yes; then
17156   GXX=yes
17157 else
17158   GXX=
17159 fi
17160 ac_test_CXXFLAGS=${CXXFLAGS+set}
17161 ac_save_CXXFLAGS=$CXXFLAGS
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
17163 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
17164 if ${ac_cv_prog_cxx_g+:} false; then :
17165   $as_echo_n "(cached) " >&6
17166 else
17167   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17168    ac_cxx_werror_flag=yes
17169    ac_cv_prog_cxx_g=no
17170    CXXFLAGS="-g"
17171    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h.  */
17173
17174 int
17175 main ()
17176 {
17177
17178   ;
17179   return 0;
17180 }
17181 _ACEOF
17182 if ac_fn_cxx_try_compile "$LINENO"; then :
17183   ac_cv_prog_cxx_g=yes
17184 else
17185   CXXFLAGS=""
17186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h.  */
17188
17189 int
17190 main ()
17191 {
17192
17193   ;
17194   return 0;
17195 }
17196 _ACEOF
17197 if ac_fn_cxx_try_compile "$LINENO"; then :
17198
17199 else
17200   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17201          CXXFLAGS="-g"
17202          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h.  */
17204
17205 int
17206 main ()
17207 {
17208
17209   ;
17210   return 0;
17211 }
17212 _ACEOF
17213 if ac_fn_cxx_try_compile "$LINENO"; then :
17214   ac_cv_prog_cxx_g=yes
17215 fi
17216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17217 fi
17218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17219 fi
17220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17221    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17222 fi
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
17224 $as_echo "$ac_cv_prog_cxx_g" >&6; }
17225 if test "$ac_test_CXXFLAGS" = set; then
17226   CXXFLAGS=$ac_save_CXXFLAGS
17227 elif test $ac_cv_prog_cxx_g = yes; then
17228   if test "$GXX" = yes; then
17229     CXXFLAGS="-g -O2"
17230   else
17231     CXXFLAGS="-g"
17232   fi
17233 else
17234   if test "$GXX" = yes; then
17235     CXXFLAGS="-O2"
17236   else
17237     CXXFLAGS=
17238   fi
17239 fi
17240 ac_ext=c
17241 ac_cpp='$CPP $CPPFLAGS'
17242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17245
17246 depcc="$CXX"  am_compiler_list=
17247
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17249 $as_echo_n "checking dependency style of $depcc... " >&6; }
17250 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
17251   $as_echo_n "(cached) " >&6
17252 else
17253   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17254   # We make a subdir and do the tests there.  Otherwise we can end up
17255   # making bogus files that we don't know about and never remove.  For
17256   # instance it was reported that on HP-UX the gcc test will end up
17257   # making a dummy file named `D' -- because `-MD' means `put the output
17258   # in D'.
17259   rm -rf conftest.dir
17260   mkdir conftest.dir
17261   # Copy depcomp to subdir because otherwise we won't find it if we're
17262   # using a relative directory.
17263   cp "$am_depcomp" conftest.dir
17264   cd conftest.dir
17265   # We will build objects and dependencies in a subdirectory because
17266   # it helps to detect inapplicable dependency modes.  For instance
17267   # both Tru64's cc and ICC support -MD to output dependencies as a
17268   # side effect of compilation, but ICC will put the dependencies in
17269   # the current directory while Tru64 will put them in the object
17270   # directory.
17271   mkdir sub
17272
17273   am_cv_CXX_dependencies_compiler_type=none
17274   if test "$am_compiler_list" = ""; then
17275      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17276   fi
17277   am__universal=false
17278   case " $depcc " in #(
17279      *\ -arch\ *\ -arch\ *) am__universal=true ;;
17280      esac
17281
17282   for depmode in $am_compiler_list; do
17283     # Setup a source with many dependencies, because some compilers
17284     # like to wrap large dependency lists on column 80 (with \), and
17285     # we should not choose a depcomp mode which is confused by this.
17286     #
17287     # We need to recreate these files for each test, as the compiler may
17288     # overwrite some of them when testing with obscure command lines.
17289     # This happens at least with the AIX C compiler.
17290     : > sub/conftest.c
17291     for i in 1 2 3 4 5 6; do
17292       echo '#include "conftst'$i'.h"' >> sub/conftest.c
17293       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17294       # Solaris 8's {/usr,}/bin/sh.
17295       touch sub/conftst$i.h
17296     done
17297     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17298
17299     # We check with `-c' and `-o' for the sake of the "dashmstdout"
17300     # mode.  It turns out that the SunPro C++ compiler does not properly
17301     # handle `-M -o', and we need to detect this.  Also, some Intel
17302     # versions had trouble with output in subdirs
17303     am__obj=sub/conftest.${OBJEXT-o}
17304     am__minus_obj="-o $am__obj"
17305     case $depmode in
17306     gcc)
17307       # This depmode causes a compiler race in universal mode.
17308       test "$am__universal" = false || continue
17309       ;;
17310     nosideeffect)
17311       # after this tag, mechanisms are not by side-effect, so they'll
17312       # only be used when explicitly requested
17313       if test "x$enable_dependency_tracking" = xyes; then
17314         continue
17315       else
17316         break
17317       fi
17318       ;;
17319     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17320       # This compiler won't grok `-c -o', but also, the minuso test has
17321       # not run yet.  These depmodes are late enough in the game, and
17322       # so weak that their functioning should not be impacted.
17323       am__obj=conftest.${OBJEXT-o}
17324       am__minus_obj=
17325       ;;
17326     none) break ;;
17327     esac
17328     if depmode=$depmode \
17329        source=sub/conftest.c object=$am__obj \
17330        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17331        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17332          >/dev/null 2>conftest.err &&
17333        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17334        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17335        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17336        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17337       # icc doesn't choke on unknown options, it will just issue warnings
17338       # or remarks (even with -Werror).  So we grep stderr for any message
17339       # that says an option was ignored or not supported.
17340       # When given -MP, icc 7.0 and 7.1 complain thusly:
17341       #   icc: Command line warning: ignoring option '-M'; no argument required
17342       # The diagnosis changed in icc 8.0:
17343       #   icc: Command line remark: option '-MP' not supported
17344       if (grep 'ignoring option' conftest.err ||
17345           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17346         am_cv_CXX_dependencies_compiler_type=$depmode
17347         break
17348       fi
17349     fi
17350   done
17351
17352   cd ..
17353   rm -rf conftest.dir
17354 else
17355   am_cv_CXX_dependencies_compiler_type=none
17356 fi
17357
17358 fi
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
17360 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17361 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17362
17363  if
17364   test "x$enable_dependency_tracking" != xno \
17365   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17366   am__fastdepCXX_TRUE=
17367   am__fastdepCXX_FALSE='#'
17368 else
17369   am__fastdepCXX_TRUE='#'
17370   am__fastdepCXX_FALSE=
17371 fi
17372
17373
17374
17375
17376 func_stripname_cnf ()
17377 {
17378   case ${2} in
17379   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17380   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17381   esac
17382 } # func_stripname_cnf
17383
17384       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17385     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17386     (test "X$CXX" != "Xg++"))) ; then
17387   ac_ext=cpp
17388 ac_cpp='$CXXCPP $CPPFLAGS'
17389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
17393 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
17394 if test -z "$CXXCPP"; then
17395   if ${ac_cv_prog_CXXCPP+:} false; then :
17396   $as_echo_n "(cached) " >&6
17397 else
17398       # Double quotes because CXXCPP needs to be expanded
17399     for CXXCPP in "$CXX -E" "/lib/cpp"
17400     do
17401       ac_preproc_ok=false
17402 for ac_cxx_preproc_warn_flag in '' yes
17403 do
17404   # Use a header file that comes with gcc, so configuring glibc
17405   # with a fresh cross-compiler works.
17406   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17407   # <limits.h> exists even on freestanding compilers.
17408   # On the NeXT, cc -E runs the code through the compiler's parser,
17409   # not just through cpp. "Syntax error" is here to catch this case.
17410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h.  */
17412 #ifdef __STDC__
17413 # include <limits.h>
17414 #else
17415 # include <assert.h>
17416 #endif
17417                      Syntax error
17418 _ACEOF
17419 if ac_fn_cxx_try_cpp "$LINENO"; then :
17420
17421 else
17422   # Broken: fails on valid input.
17423 continue
17424 fi
17425 rm -f conftest.err conftest.i conftest.$ac_ext
17426
17427   # OK, works on sane cases.  Now check whether nonexistent headers
17428   # can be detected and how.
17429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h.  */
17431 #include <ac_nonexistent.h>
17432 _ACEOF
17433 if ac_fn_cxx_try_cpp "$LINENO"; then :
17434   # Broken: success on invalid input.
17435 continue
17436 else
17437   # Passes both tests.
17438 ac_preproc_ok=:
17439 break
17440 fi
17441 rm -f conftest.err conftest.i conftest.$ac_ext
17442
17443 done
17444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17445 rm -f conftest.i conftest.err conftest.$ac_ext
17446 if $ac_preproc_ok; then :
17447   break
17448 fi
17449
17450     done
17451     ac_cv_prog_CXXCPP=$CXXCPP
17452
17453 fi
17454   CXXCPP=$ac_cv_prog_CXXCPP
17455 else
17456   ac_cv_prog_CXXCPP=$CXXCPP
17457 fi
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
17459 $as_echo "$CXXCPP" >&6; }
17460 ac_preproc_ok=false
17461 for ac_cxx_preproc_warn_flag in '' yes
17462 do
17463   # Use a header file that comes with gcc, so configuring glibc
17464   # with a fresh cross-compiler works.
17465   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17466   # <limits.h> exists even on freestanding compilers.
17467   # On the NeXT, cc -E runs the code through the compiler's parser,
17468   # not just through cpp. "Syntax error" is here to catch this case.
17469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17470 /* end confdefs.h.  */
17471 #ifdef __STDC__
17472 # include <limits.h>
17473 #else
17474 # include <assert.h>
17475 #endif
17476                      Syntax error
17477 _ACEOF
17478 if ac_fn_cxx_try_cpp "$LINENO"; then :
17479
17480 else
17481   # Broken: fails on valid input.
17482 continue
17483 fi
17484 rm -f conftest.err conftest.i conftest.$ac_ext
17485
17486   # OK, works on sane cases.  Now check whether nonexistent headers
17487   # can be detected and how.
17488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17489 /* end confdefs.h.  */
17490 #include <ac_nonexistent.h>
17491 _ACEOF
17492 if ac_fn_cxx_try_cpp "$LINENO"; then :
17493   # Broken: success on invalid input.
17494 continue
17495 else
17496   # Passes both tests.
17497 ac_preproc_ok=:
17498 break
17499 fi
17500 rm -f conftest.err conftest.i conftest.$ac_ext
17501
17502 done
17503 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17504 rm -f conftest.i conftest.err conftest.$ac_ext
17505 if $ac_preproc_ok; then :
17506
17507 else
17508   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17510 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
17511 See \`config.log' for more details" "$LINENO" 5; }
17512 fi
17513
17514 ac_ext=c
17515 ac_cpp='$CPP $CPPFLAGS'
17516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17519
17520 else
17521   _lt_caught_CXX_error=yes
17522 fi
17523
17524 ac_ext=cpp
17525 ac_cpp='$CXXCPP $CPPFLAGS'
17526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17529
17530 archive_cmds_need_lc_CXX=no
17531 allow_undefined_flag_CXX=
17532 always_export_symbols_CXX=no
17533 archive_expsym_cmds_CXX=
17534 compiler_needs_object_CXX=no
17535 export_dynamic_flag_spec_CXX=
17536 hardcode_direct_CXX=no
17537 hardcode_direct_absolute_CXX=no
17538 hardcode_libdir_flag_spec_CXX=
17539 hardcode_libdir_separator_CXX=
17540 hardcode_minus_L_CXX=no
17541 hardcode_shlibpath_var_CXX=unsupported
17542 hardcode_automatic_CXX=no
17543 inherit_rpath_CXX=no
17544 module_cmds_CXX=
17545 module_expsym_cmds_CXX=
17546 link_all_deplibs_CXX=unknown
17547 old_archive_cmds_CXX=$old_archive_cmds
17548 reload_flag_CXX=$reload_flag
17549 reload_cmds_CXX=$reload_cmds
17550 no_undefined_flag_CXX=
17551 whole_archive_flag_spec_CXX=
17552 enable_shared_with_static_runtimes_CXX=no
17553
17554 # Source file extension for C++ test sources.
17555 ac_ext=cpp
17556
17557 # Object file extension for compiled C++ test sources.
17558 objext=o
17559 objext_CXX=$objext
17560
17561 # No sense in running all these tests if we already determined that
17562 # the CXX compiler isn't working.  Some variables (like enable_shared)
17563 # are currently assumed to apply to all compilers on this platform,
17564 # and will be corrupted by setting them based on a non-working compiler.
17565 if test "$_lt_caught_CXX_error" != yes; then
17566   # Code to be used in simple compile tests
17567   lt_simple_compile_test_code="int some_variable = 0;"
17568
17569   # Code to be used in simple link tests
17570   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
17571
17572   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17573
17574
17575
17576
17577
17578
17579 # If no C compiler was specified, use CC.
17580 LTCC=${LTCC-"$CC"}
17581
17582 # If no C compiler flags were specified, use CFLAGS.
17583 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17584
17585 # Allow CC to be a program name with arguments.
17586 compiler=$CC
17587
17588
17589   # save warnings/boilerplate of simple test code
17590   ac_outfile=conftest.$ac_objext
17591 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17592 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17593 _lt_compiler_boilerplate=`cat conftest.err`
17594 $RM conftest*
17595
17596   ac_outfile=conftest.$ac_objext
17597 echo "$lt_simple_link_test_code" >conftest.$ac_ext
17598 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17599 _lt_linker_boilerplate=`cat conftest.err`
17600 $RM -r conftest*
17601
17602
17603   # Allow CC to be a program name with arguments.
17604   lt_save_CC=$CC
17605   lt_save_CFLAGS=$CFLAGS
17606   lt_save_LD=$LD
17607   lt_save_GCC=$GCC
17608   GCC=$GXX
17609   lt_save_with_gnu_ld=$with_gnu_ld
17610   lt_save_path_LD=$lt_cv_path_LD
17611   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17612     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17613   else
17614     $as_unset lt_cv_prog_gnu_ld
17615   fi
17616   if test -n "${lt_cv_path_LDCXX+set}"; then
17617     lt_cv_path_LD=$lt_cv_path_LDCXX
17618   else
17619     $as_unset lt_cv_path_LD
17620   fi
17621   test -z "${LDCXX+set}" || LD=$LDCXX
17622   CC=${CXX-"c++"}
17623   CFLAGS=$CXXFLAGS
17624   compiler=$CC
17625   compiler_CXX=$CC
17626   for cc_temp in $compiler""; do
17627   case $cc_temp in
17628     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17629     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17630     \-*) ;;
17631     *) break;;
17632   esac
17633 done
17634 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17635
17636
17637   if test -n "$compiler"; then
17638     # We don't want -fno-exception when compiling C++ code, so set the
17639     # no_builtin_flag separately
17640     if test "$GXX" = yes; then
17641       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
17642     else
17643       lt_prog_compiler_no_builtin_flag_CXX=
17644     fi
17645
17646     if test "$GXX" = yes; then
17647       # Set up default GNU C++ configuration
17648
17649
17650
17651 # Check whether --with-gnu-ld was given.
17652 if test "${with_gnu_ld+set}" = set; then :
17653   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17654 else
17655   with_gnu_ld=no
17656 fi
17657
17658 ac_prog=ld
17659 if test "$GCC" = yes; then
17660   # Check if gcc -print-prog-name=ld gives a path.
17661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
17662 $as_echo_n "checking for ld used by $CC... " >&6; }
17663   case $host in
17664   *-*-mingw*)
17665     # gcc leaves a trailing carriage return which upsets mingw
17666     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17667   *)
17668     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17669   esac
17670   case $ac_prog in
17671     # Accept absolute paths.
17672     [\\/]* | ?:[\\/]*)
17673       re_direlt='/[^/][^/]*/\.\./'
17674       # Canonicalize the pathname of ld
17675       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17676       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
17677         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17678       done
17679       test -z "$LD" && LD="$ac_prog"
17680       ;;
17681   "")
17682     # If it fails, then pretend we aren't using GCC.
17683     ac_prog=ld
17684     ;;
17685   *)
17686     # If it is relative, then search for the first ld in PATH.
17687     with_gnu_ld=unknown
17688     ;;
17689   esac
17690 elif test "$with_gnu_ld" = yes; then
17691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17692 $as_echo_n "checking for GNU ld... " >&6; }
17693 else
17694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17695 $as_echo_n "checking for non-GNU ld... " >&6; }
17696 fi
17697 if ${lt_cv_path_LD+:} false; then :
17698   $as_echo_n "(cached) " >&6
17699 else
17700   if test -z "$LD"; then
17701   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17702   for ac_dir in $PATH; do
17703     IFS="$lt_save_ifs"
17704     test -z "$ac_dir" && ac_dir=.
17705     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17706       lt_cv_path_LD="$ac_dir/$ac_prog"
17707       # Check to see if the program is GNU ld.  I'd rather use --version,
17708       # but apparently some variants of GNU ld only accept -v.
17709       # Break only if it was the GNU/non-GNU ld that we prefer.
17710       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17711       *GNU* | *'with BFD'*)
17712         test "$with_gnu_ld" != no && break
17713         ;;
17714       *)
17715         test "$with_gnu_ld" != yes && break
17716         ;;
17717       esac
17718     fi
17719   done
17720   IFS="$lt_save_ifs"
17721 else
17722   lt_cv_path_LD="$LD" # Let the user override the test with a path.
17723 fi
17724 fi
17725
17726 LD="$lt_cv_path_LD"
17727 if test -n "$LD"; then
17728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17729 $as_echo "$LD" >&6; }
17730 else
17731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17732 $as_echo "no" >&6; }
17733 fi
17734 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17736 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17737 if ${lt_cv_prog_gnu_ld+:} false; then :
17738   $as_echo_n "(cached) " >&6
17739 else
17740   # I'd rather use --version here, but apparently some GNU lds only accept -v.
17741 case `$LD -v 2>&1 </dev/null` in
17742 *GNU* | *'with BFD'*)
17743   lt_cv_prog_gnu_ld=yes
17744   ;;
17745 *)
17746   lt_cv_prog_gnu_ld=no
17747   ;;
17748 esac
17749 fi
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
17751 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
17752 with_gnu_ld=$lt_cv_prog_gnu_ld
17753
17754
17755
17756
17757
17758
17759
17760       # Check if GNU C++ uses GNU ld as the underlying linker, since the
17761       # archiving commands below assume that GNU ld is being used.
17762       if test "$with_gnu_ld" = yes; then
17763         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17764         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'
17765
17766         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17767         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17768
17769         # If archive_cmds runs LD, not CC, wlarc should be empty
17770         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
17771         #     investigate it a little bit more. (MM)
17772         wlarc='${wl}'
17773
17774         # ancient GNU ld didn't support --whole-archive et. al.
17775         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
17776           $GREP 'no-whole-archive' > /dev/null; then
17777           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17778         else
17779           whole_archive_flag_spec_CXX=
17780         fi
17781       else
17782         with_gnu_ld=no
17783         wlarc=
17784
17785         # A generic and very simple default shared library creation
17786         # command for GNU C++ for the case where it uses the native
17787         # linker, instead of GNU ld.  If possible, this setting should
17788         # overridden to take advantage of the native linker features on
17789         # the platform it is being used on.
17790         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17791       fi
17792
17793       # Commands to make compiler produce verbose output that lists
17794       # what "hidden" libraries, object files and flags are used when
17795       # linking a shared library.
17796       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17797
17798     else
17799       GXX=no
17800       with_gnu_ld=no
17801       wlarc=
17802     fi
17803
17804     # PORTME: fill in a description of your system's C++ link characteristics
17805     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17806 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17807     ld_shlibs_CXX=yes
17808     case $host_os in
17809       aix3*)
17810         # FIXME: insert proper C++ library support
17811         ld_shlibs_CXX=no
17812         ;;
17813       aix[4-9]*)
17814         if test "$host_cpu" = ia64; then
17815           # On IA64, the linker does run time linking by default, so we don't
17816           # have to do anything special.
17817           aix_use_runtimelinking=no
17818           exp_sym_flag='-Bexport'
17819           no_entry_flag=""
17820         else
17821           aix_use_runtimelinking=no
17822
17823           # Test if we are trying to use run time linking or normal
17824           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17825           # need to do runtime linking.
17826           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17827             for ld_flag in $LDFLAGS; do
17828               case $ld_flag in
17829               *-brtl*)
17830                 aix_use_runtimelinking=yes
17831                 break
17832                 ;;
17833               esac
17834             done
17835             ;;
17836           esac
17837
17838           exp_sym_flag='-bexport'
17839           no_entry_flag='-bnoentry'
17840         fi
17841
17842         # When large executables or shared objects are built, AIX ld can
17843         # have problems creating the table of contents.  If linking a library
17844         # or program results in "error TOC overflow" add -mminimal-toc to
17845         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17846         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17847
17848         archive_cmds_CXX=''
17849         hardcode_direct_CXX=yes
17850         hardcode_direct_absolute_CXX=yes
17851         hardcode_libdir_separator_CXX=':'
17852         link_all_deplibs_CXX=yes
17853         file_list_spec_CXX='${wl}-f,'
17854
17855         if test "$GXX" = yes; then
17856           case $host_os in aix4.[012]|aix4.[012].*)
17857           # We only want to do this on AIX 4.2 and lower, the check
17858           # below for broken collect2 doesn't work under 4.3+
17859           collect2name=`${CC} -print-prog-name=collect2`
17860           if test -f "$collect2name" &&
17861              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
17862           then
17863             # We have reworked collect2
17864             :
17865           else
17866             # We have old collect2
17867             hardcode_direct_CXX=unsupported
17868             # It fails to find uninstalled libraries when the uninstalled
17869             # path is not listed in the libpath.  Setting hardcode_minus_L
17870             # to unsupported forces relinking
17871             hardcode_minus_L_CXX=yes
17872             hardcode_libdir_flag_spec_CXX='-L$libdir'
17873             hardcode_libdir_separator_CXX=
17874           fi
17875           esac
17876           shared_flag='-shared'
17877           if test "$aix_use_runtimelinking" = yes; then
17878             shared_flag="$shared_flag "'${wl}-G'
17879           fi
17880         else
17881           # not using gcc
17882           if test "$host_cpu" = ia64; then
17883           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17884           # chokes on -Wl,-G. The following line is correct:
17885           shared_flag='-G'
17886           else
17887             if test "$aix_use_runtimelinking" = yes; then
17888               shared_flag='${wl}-G'
17889             else
17890               shared_flag='${wl}-bM:SRE'
17891             fi
17892           fi
17893         fi
17894
17895         export_dynamic_flag_spec_CXX='${wl}-bexpall'
17896         # It seems that -bexpall does not export symbols beginning with
17897         # underscore (_), so it is better to generate a list of symbols to
17898         # export.
17899         always_export_symbols_CXX=yes
17900         if test "$aix_use_runtimelinking" = yes; then
17901           # Warning - without using the other runtime loading flags (-brtl),
17902           # -berok will link without error, but may produce a broken library.
17903           allow_undefined_flag_CXX='-berok'
17904           # Determine the default libpath from the value encoded in an empty
17905           # executable.
17906           if test "${lt_cv_aix_libpath+set}" = set; then
17907   aix_libpath=$lt_cv_aix_libpath
17908 else
17909   if ${lt_cv_aix_libpath__CXX+:} false; then :
17910   $as_echo_n "(cached) " >&6
17911 else
17912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h.  */
17914
17915 int
17916 main ()
17917 {
17918
17919   ;
17920   return 0;
17921 }
17922 _ACEOF
17923 if ac_fn_cxx_try_link "$LINENO"; then :
17924
17925   lt_aix_libpath_sed='
17926       /Import File Strings/,/^$/ {
17927           /^0/ {
17928               s/^0  *\([^ ]*\) *$/\1/
17929               p
17930           }
17931       }'
17932   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17933   # Check for a 64-bit object if we didn't find anything.
17934   if test -z "$lt_cv_aix_libpath__CXX"; then
17935     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17936   fi
17937 fi
17938 rm -f core conftest.err conftest.$ac_objext \
17939     conftest$ac_exeext conftest.$ac_ext
17940   if test -z "$lt_cv_aix_libpath__CXX"; then
17941     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
17942   fi
17943
17944 fi
17945
17946   aix_libpath=$lt_cv_aix_libpath__CXX
17947 fi
17948
17949           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17950
17951           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17952         else
17953           if test "$host_cpu" = ia64; then
17954             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
17955             allow_undefined_flag_CXX="-z nodefs"
17956             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"
17957           else
17958             # Determine the default libpath from the value encoded in an
17959             # empty executable.
17960             if test "${lt_cv_aix_libpath+set}" = set; then
17961   aix_libpath=$lt_cv_aix_libpath
17962 else
17963   if ${lt_cv_aix_libpath__CXX+:} false; then :
17964   $as_echo_n "(cached) " >&6
17965 else
17966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17967 /* end confdefs.h.  */
17968
17969 int
17970 main ()
17971 {
17972
17973   ;
17974   return 0;
17975 }
17976 _ACEOF
17977 if ac_fn_cxx_try_link "$LINENO"; then :
17978
17979   lt_aix_libpath_sed='
17980       /Import File Strings/,/^$/ {
17981           /^0/ {
17982               s/^0  *\([^ ]*\) *$/\1/
17983               p
17984           }
17985       }'
17986   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17987   # Check for a 64-bit object if we didn't find anything.
17988   if test -z "$lt_cv_aix_libpath__CXX"; then
17989     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17990   fi
17991 fi
17992 rm -f core conftest.err conftest.$ac_objext \
17993     conftest$ac_exeext conftest.$ac_ext
17994   if test -z "$lt_cv_aix_libpath__CXX"; then
17995     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
17996   fi
17997
17998 fi
17999
18000   aix_libpath=$lt_cv_aix_libpath__CXX
18001 fi
18002
18003             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18004             # Warning - without using the other run time loading flags,
18005             # -berok will link without error, but may produce a broken library.
18006             no_undefined_flag_CXX=' ${wl}-bernotok'
18007             allow_undefined_flag_CXX=' ${wl}-berok'
18008             if test "$with_gnu_ld" = yes; then
18009               # We only use this code for GNU lds that support --whole-archive.
18010               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18011             else
18012               # Exported symbols can be pulled into shared objects from archives
18013               whole_archive_flag_spec_CXX='$convenience'
18014             fi
18015             archive_cmds_need_lc_CXX=yes
18016             # This is similar to how AIX traditionally builds its shared
18017             # libraries.
18018             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18019           fi
18020         fi
18021         ;;
18022
18023       beos*)
18024         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18025           allow_undefined_flag_CXX=unsupported
18026           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18027           # support --undefined.  This deserves some investigation.  FIXME
18028           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18029         else
18030           ld_shlibs_CXX=no
18031         fi
18032         ;;
18033
18034       chorus*)
18035         case $cc_basename in
18036           *)
18037           # FIXME: insert proper C++ library support
18038           ld_shlibs_CXX=no
18039           ;;
18040         esac
18041         ;;
18042
18043       cygwin* | mingw* | pw32* | cegcc*)
18044         case $GXX,$cc_basename in
18045         ,cl* | no,cl*)
18046           # Native MSVC
18047           # hardcode_libdir_flag_spec is actually meaningless, as there is
18048           # no search path for DLLs.
18049           hardcode_libdir_flag_spec_CXX=' '
18050           allow_undefined_flag_CXX=unsupported
18051           always_export_symbols_CXX=yes
18052           file_list_spec_CXX='@'
18053           # Tell ltmain to make .lib files, not .a files.
18054           libext=lib
18055           # Tell ltmain to make .dll files, not .so files.
18056           shrext_cmds=".dll"
18057           # FIXME: Setting linknames here is a bad hack.
18058           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
18059           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18060               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
18061             else
18062               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
18063             fi~
18064             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
18065             linknames='
18066           # The linker will not automatically build a static lib if we build a DLL.
18067           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
18068           enable_shared_with_static_runtimes_CXX=yes
18069           # Don't use ranlib
18070           old_postinstall_cmds_CXX='chmod 644 $oldlib'
18071           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
18072             lt_tool_outputfile="@TOOL_OUTPUT@"~
18073             case $lt_outputfile in
18074               *.exe|*.EXE) ;;
18075               *)
18076                 lt_outputfile="$lt_outputfile.exe"
18077                 lt_tool_outputfile="$lt_tool_outputfile.exe"
18078                 ;;
18079             esac~
18080             func_to_tool_file "$lt_outputfile"~
18081             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
18082               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
18083               $RM "$lt_outputfile.manifest";
18084             fi'
18085           ;;
18086         *)
18087           # g++
18088           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18089           # as there is no search path for DLLs.
18090           hardcode_libdir_flag_spec_CXX='-L$libdir'
18091           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
18092           allow_undefined_flag_CXX=unsupported
18093           always_export_symbols_CXX=no
18094           enable_shared_with_static_runtimes_CXX=yes
18095
18096           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
18097             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'
18098             # If the export-symbols file already is a .def file (1st line
18099             # is EXPORTS), use it as is; otherwise, prepend...
18100             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18101               cp $export_symbols $output_objdir/$soname.def;
18102             else
18103               echo EXPORTS > $output_objdir/$soname.def;
18104               cat $export_symbols >> $output_objdir/$soname.def;
18105             fi~
18106             $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'
18107           else
18108             ld_shlibs_CXX=no
18109           fi
18110           ;;
18111         esac
18112         ;;
18113       darwin* | rhapsody*)
18114
18115
18116   archive_cmds_need_lc_CXX=no
18117   hardcode_direct_CXX=no
18118   hardcode_automatic_CXX=yes
18119   hardcode_shlibpath_var_CXX=unsupported
18120   if test "$lt_cv_ld_force_load" = "yes"; then
18121     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\"`'
18122
18123   else
18124     whole_archive_flag_spec_CXX=''
18125   fi
18126   link_all_deplibs_CXX=yes
18127   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
18128   case $cc_basename in
18129      ifort*) _lt_dar_can_shared=yes ;;
18130      *) _lt_dar_can_shared=$GCC ;;
18131   esac
18132   if test "$_lt_dar_can_shared" = "yes"; then
18133     output_verbose_link_cmd=func_echo_all
18134     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}"
18135     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18136     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}"
18137     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}"
18138        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
18139       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}"
18140       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}"
18141     fi
18142
18143   else
18144   ld_shlibs_CXX=no
18145   fi
18146
18147         ;;
18148
18149       dgux*)
18150         case $cc_basename in
18151           ec++*)
18152             # FIXME: insert proper C++ library support
18153             ld_shlibs_CXX=no
18154             ;;
18155           ghcx*)
18156             # Green Hills C++ Compiler
18157             # FIXME: insert proper C++ library support
18158             ld_shlibs_CXX=no
18159             ;;
18160           *)
18161             # FIXME: insert proper C++ library support
18162             ld_shlibs_CXX=no
18163             ;;
18164         esac
18165         ;;
18166
18167       freebsd2.*)
18168         # C++ shared libraries reported to be fairly broken before
18169         # switch to ELF
18170         ld_shlibs_CXX=no
18171         ;;
18172
18173       freebsd-elf*)
18174         archive_cmds_need_lc_CXX=no
18175         ;;
18176
18177       freebsd* | dragonfly*)
18178         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18179         # conventions
18180         ld_shlibs_CXX=yes
18181         ;;
18182
18183       gnu*)
18184         ;;
18185
18186       haiku*)
18187         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18188         link_all_deplibs_CXX=yes
18189         ;;
18190
18191       hpux9*)
18192         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18193         hardcode_libdir_separator_CXX=:
18194         export_dynamic_flag_spec_CXX='${wl}-E'
18195         hardcode_direct_CXX=yes
18196         hardcode_minus_L_CXX=yes # Not in the search PATH,
18197                                              # but as the default
18198                                              # location of the library.
18199
18200         case $cc_basename in
18201           CC*)
18202             # FIXME: insert proper C++ library support
18203             ld_shlibs_CXX=no
18204             ;;
18205           aCC*)
18206             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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18207             # Commands to make compiler produce verbose output that lists
18208             # what "hidden" libraries, object files and flags are used when
18209             # linking a shared library.
18210             #
18211             # There doesn't appear to be a way to prevent this compiler from
18212             # explicitly linking system object files so we need to strip them
18213             # from the output so that they don't get included in the library
18214             # dependencies.
18215             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"'
18216             ;;
18217           *)
18218             if test "$GXX" = yes; then
18219               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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18220             else
18221               # FIXME: insert proper C++ library support
18222               ld_shlibs_CXX=no
18223             fi
18224             ;;
18225         esac
18226         ;;
18227
18228       hpux10*|hpux11*)
18229         if test $with_gnu_ld = no; then
18230           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18231           hardcode_libdir_separator_CXX=:
18232
18233           case $host_cpu in
18234             hppa*64*|ia64*)
18235               ;;
18236             *)
18237               export_dynamic_flag_spec_CXX='${wl}-E'
18238               ;;
18239           esac
18240         fi
18241         case $host_cpu in
18242           hppa*64*|ia64*)
18243             hardcode_direct_CXX=no
18244             hardcode_shlibpath_var_CXX=no
18245             ;;
18246           *)
18247             hardcode_direct_CXX=yes
18248             hardcode_direct_absolute_CXX=yes
18249             hardcode_minus_L_CXX=yes # Not in the search PATH,
18250                                                  # but as the default
18251                                                  # location of the library.
18252             ;;
18253         esac
18254
18255         case $cc_basename in
18256           CC*)
18257             # FIXME: insert proper C++ library support
18258             ld_shlibs_CXX=no
18259             ;;
18260           aCC*)
18261             case $host_cpu in
18262               hppa*64*)
18263                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18264                 ;;
18265               ia64*)
18266                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18267                 ;;
18268               *)
18269                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18270                 ;;
18271             esac
18272             # Commands to make compiler produce verbose output that lists
18273             # what "hidden" libraries, object files and flags are used when
18274             # linking a shared library.
18275             #
18276             # There doesn't appear to be a way to prevent this compiler from
18277             # explicitly linking system object files so we need to strip them
18278             # from the output so that they don't get included in the library
18279             # dependencies.
18280             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"'
18281             ;;
18282           *)
18283             if test "$GXX" = yes; then
18284               if test $with_gnu_ld = no; then
18285                 case $host_cpu in
18286                   hppa*64*)
18287                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18288                     ;;
18289                   ia64*)
18290                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18291                     ;;
18292                   *)
18293                     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'
18294                     ;;
18295                 esac
18296               fi
18297             else
18298               # FIXME: insert proper C++ library support
18299               ld_shlibs_CXX=no
18300             fi
18301             ;;
18302         esac
18303         ;;
18304
18305       interix[3-9]*)
18306         hardcode_direct_CXX=no
18307         hardcode_shlibpath_var_CXX=no
18308         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18309         export_dynamic_flag_spec_CXX='${wl}-E'
18310         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18311         # Instead, shared libraries are loaded at an image base (0x10000000 by
18312         # default) and relocated if they conflict, which is a slow very memory
18313         # consuming and fragmenting process.  To avoid this, we pick a random,
18314         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18315         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18316         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'
18317         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'
18318         ;;
18319       irix5* | irix6*)
18320         case $cc_basename in
18321           CC*)
18322             # SGI C++
18323             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'
18324
18325             # Archives containing C++ object files must be created using
18326             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
18327             # necessary to make sure instantiated templates are included
18328             # in the archive.
18329             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18330             ;;
18331           *)
18332             if test "$GXX" = yes; then
18333               if test "$with_gnu_ld" = no; then
18334                 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'
18335               else
18336                 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'
18337               fi
18338             fi
18339             link_all_deplibs_CXX=yes
18340             ;;
18341         esac
18342         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18343         hardcode_libdir_separator_CXX=:
18344         inherit_rpath_CXX=yes
18345         ;;
18346
18347       linux* | k*bsd*-gnu | kopensolaris*-gnu)
18348         case $cc_basename in
18349           KCC*)
18350             # Kuck and Associates, Inc. (KAI) C++ Compiler
18351
18352             # KCC will only create a shared library if the output file
18353             # ends with ".so" (or ".sl" for HP-UX), so rename the library
18354             # to its proper name (with version) after linking.
18355             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'
18356             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'
18357             # Commands to make compiler produce verbose output that lists
18358             # what "hidden" libraries, object files and flags are used when
18359             # linking a shared library.
18360             #
18361             # There doesn't appear to be a way to prevent this compiler from
18362             # explicitly linking system object files so we need to strip them
18363             # from the output so that they don't get included in the library
18364             # dependencies.
18365             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"'
18366
18367             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18368             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18369
18370             # Archives containing C++ object files must be created using
18371             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18372             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18373             ;;
18374           icpc* | ecpc* )
18375             # Intel C++
18376             with_gnu_ld=yes
18377             # version 8.0 and above of icpc choke on multiply defined symbols
18378             # if we add $predep_objects and $postdep_objects, however 7.1 and
18379             # earlier do not add the objects themselves.
18380             case `$CC -V 2>&1` in
18381               *"Version 7."*)
18382                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18383                 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'
18384                 ;;
18385               *)  # Version 8.0 or newer
18386                 tmp_idyn=
18387                 case $host_cpu in
18388                   ia64*) tmp_idyn=' -i_dynamic';;
18389                 esac
18390                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18391                 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'
18392                 ;;
18393             esac
18394             archive_cmds_need_lc_CXX=no
18395             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18396             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18397             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18398             ;;
18399           pgCC* | pgcpp*)
18400             # Portland Group C++ compiler
18401             case `$CC -V` in
18402             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
18403               prelink_cmds_CXX='tpldir=Template.dir~
18404                 rm -rf $tpldir~
18405                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
18406                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
18407               old_archive_cmds_CXX='tpldir=Template.dir~
18408                 rm -rf $tpldir~
18409                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
18410                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
18411                 $RANLIB $oldlib'
18412               archive_cmds_CXX='tpldir=Template.dir~
18413                 rm -rf $tpldir~
18414                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18415                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18416               archive_expsym_cmds_CXX='tpldir=Template.dir~
18417                 rm -rf $tpldir~
18418                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18419                 $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'
18420               ;;
18421             *) # Version 6 and above use weak symbols
18422               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18423               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'
18424               ;;
18425             esac
18426
18427             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18428             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18429             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'
18430             ;;
18431           cxx*)
18432             # Compaq C++
18433             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18434             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'
18435
18436             runpath_var=LD_RUN_PATH
18437             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18438             hardcode_libdir_separator_CXX=:
18439
18440             # Commands to make compiler produce verbose output that lists
18441             # what "hidden" libraries, object files and flags are used when
18442             # linking a shared library.
18443             #
18444             # There doesn't appear to be a way to prevent this compiler from
18445             # explicitly linking system object files so we need to strip them
18446             # from the output so that they don't get included in the library
18447             # dependencies.
18448             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'
18449             ;;
18450           xl* | mpixl* | bgxl*)
18451             # IBM XL 8.0 on PPC, with GNU ld
18452             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18453             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18454             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18455             if test "x$supports_anon_versioning" = xyes; then
18456               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
18457                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18458                 echo "local: *; };" >> $output_objdir/$libname.ver~
18459                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18460             fi
18461             ;;
18462           *)
18463             case `$CC -V 2>&1 | sed 5q` in
18464             *Sun\ C*)
18465               # Sun C++ 5.9
18466               no_undefined_flag_CXX=' -zdefs'
18467               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18468               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'
18469               hardcode_libdir_flag_spec_CXX='-R$libdir'
18470               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'
18471               compiler_needs_object_CXX=yes
18472
18473               # Not sure whether something based on
18474               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
18475               # would be better.
18476               output_verbose_link_cmd='func_echo_all'
18477
18478               # Archives containing C++ object files must be created using
18479               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
18480               # necessary to make sure instantiated templates are included
18481               # in the archive.
18482               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18483               ;;
18484             esac
18485             ;;
18486         esac
18487         ;;
18488
18489       lynxos*)
18490         # FIXME: insert proper C++ library support
18491         ld_shlibs_CXX=no
18492         ;;
18493
18494       m88k*)
18495         # FIXME: insert proper C++ library support
18496         ld_shlibs_CXX=no
18497         ;;
18498
18499       mvs*)
18500         case $cc_basename in
18501           cxx*)
18502             # FIXME: insert proper C++ library support
18503             ld_shlibs_CXX=no
18504             ;;
18505           *)
18506             # FIXME: insert proper C++ library support
18507             ld_shlibs_CXX=no
18508             ;;
18509         esac
18510         ;;
18511
18512       netbsd*)
18513         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18514           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18515           wlarc=
18516           hardcode_libdir_flag_spec_CXX='-R$libdir'
18517           hardcode_direct_CXX=yes
18518           hardcode_shlibpath_var_CXX=no
18519         fi
18520         # Workaround some broken pre-1.5 toolchains
18521         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18522         ;;
18523
18524       *nto* | *qnx*)
18525         ld_shlibs_CXX=yes
18526         ;;
18527
18528       openbsd2*)
18529         # C++ shared libraries are fairly broken
18530         ld_shlibs_CXX=no
18531         ;;
18532
18533       openbsd*)
18534         if test -f /usr/libexec/ld.so; then
18535           hardcode_direct_CXX=yes
18536           hardcode_shlibpath_var_CXX=no
18537           hardcode_direct_absolute_CXX=yes
18538           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18539           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18540           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18541             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18542             export_dynamic_flag_spec_CXX='${wl}-E'
18543             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18544           fi
18545           output_verbose_link_cmd=func_echo_all
18546         else
18547           ld_shlibs_CXX=no
18548         fi
18549         ;;
18550
18551       osf3* | osf4* | osf5*)
18552         case $cc_basename in
18553           KCC*)
18554             # Kuck and Associates, Inc. (KAI) C++ Compiler
18555
18556             # KCC will only create a shared library if the output file
18557             # ends with ".so" (or ".sl" for HP-UX), so rename the library
18558             # to its proper name (with version) after linking.
18559             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'
18560
18561             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18562             hardcode_libdir_separator_CXX=:
18563
18564             # Archives containing C++ object files must be created using
18565             # the KAI C++ compiler.
18566             case $host in
18567               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
18568               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
18569             esac
18570             ;;
18571           RCC*)
18572             # Rational C++ 2.4.1
18573             # FIXME: insert proper C++ library support
18574             ld_shlibs_CXX=no
18575             ;;
18576           cxx*)
18577             case $host in
18578               osf3*)
18579                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18580                 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'
18581                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18582                 ;;
18583               *)
18584                 allow_undefined_flag_CXX=' -expect_unresolved \*'
18585                 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'
18586                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18587                   echo "-hidden">> $lib.exp~
18588                   $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~
18589                   $RM $lib.exp'
18590                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18591                 ;;
18592             esac
18593
18594             hardcode_libdir_separator_CXX=:
18595
18596             # Commands to make compiler produce verbose output that lists
18597             # what "hidden" libraries, object files and flags are used when
18598             # linking a shared library.
18599             #
18600             # There doesn't appear to be a way to prevent this compiler from
18601             # explicitly linking system object files so we need to strip them
18602             # from the output so that they don't get included in the library
18603             # dependencies.
18604             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"'
18605             ;;
18606           *)
18607             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18608               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18609               case $host in
18610                 osf3*)
18611                   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'
18612                   ;;
18613                 *)
18614                   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'
18615                   ;;
18616               esac
18617
18618               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18619               hardcode_libdir_separator_CXX=:
18620
18621               # Commands to make compiler produce verbose output that lists
18622               # what "hidden" libraries, object files and flags are used when
18623               # linking a shared library.
18624               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18625
18626             else
18627               # FIXME: insert proper C++ library support
18628               ld_shlibs_CXX=no
18629             fi
18630             ;;
18631         esac
18632         ;;
18633
18634       psos*)
18635         # FIXME: insert proper C++ library support
18636         ld_shlibs_CXX=no
18637         ;;
18638
18639       sunos4*)
18640         case $cc_basename in
18641           CC*)
18642             # Sun C++ 4.x
18643             # FIXME: insert proper C++ library support
18644             ld_shlibs_CXX=no
18645             ;;
18646           lcc*)
18647             # Lucid
18648             # FIXME: insert proper C++ library support
18649             ld_shlibs_CXX=no
18650             ;;
18651           *)
18652             # FIXME: insert proper C++ library support
18653             ld_shlibs_CXX=no
18654             ;;
18655         esac
18656         ;;
18657
18658       solaris*)
18659         case $cc_basename in
18660           CC* | sunCC*)
18661             # Sun C++ 4.2, 5.x and Centerline C++
18662             archive_cmds_need_lc_CXX=yes
18663             no_undefined_flag_CXX=' -zdefs'
18664             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18665             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18666               $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'
18667
18668             hardcode_libdir_flag_spec_CXX='-R$libdir'
18669             hardcode_shlibpath_var_CXX=no
18670             case $host_os in
18671               solaris2.[0-5] | solaris2.[0-5].*) ;;
18672               *)
18673                 # The compiler driver will combine and reorder linker options,
18674                 # but understands `-z linker_flag'.
18675                 # Supported since Solaris 2.6 (maybe 2.5.1?)
18676                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
18677                 ;;
18678             esac
18679             link_all_deplibs_CXX=yes
18680
18681             output_verbose_link_cmd='func_echo_all'
18682
18683             # Archives containing C++ object files must be created using
18684             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
18685             # necessary to make sure instantiated templates are included
18686             # in the archive.
18687             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18688             ;;
18689           gcx*)
18690             # Green Hills C++ Compiler
18691             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18692
18693             # The C++ compiler must be used to create the archive.
18694             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18695             ;;
18696           *)
18697             # GNU C++ compiler with Solaris linker
18698             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18699               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
18700               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
18701                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18702                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18703                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18704
18705                 # Commands to make compiler produce verbose output that lists
18706                 # what "hidden" libraries, object files and flags are used when
18707                 # linking a shared library.
18708                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18709               else
18710                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
18711                 # platform.
18712                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18713                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18714                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18715
18716                 # Commands to make compiler produce verbose output that lists
18717                 # what "hidden" libraries, object files and flags are used when
18718                 # linking a shared library.
18719                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18720               fi
18721
18722               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
18723               case $host_os in
18724                 solaris2.[0-5] | solaris2.[0-5].*) ;;
18725                 *)
18726                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18727                   ;;
18728               esac
18729             fi
18730             ;;
18731         esac
18732         ;;
18733
18734     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18735       no_undefined_flag_CXX='${wl}-z,text'
18736       archive_cmds_need_lc_CXX=no
18737       hardcode_shlibpath_var_CXX=no
18738       runpath_var='LD_RUN_PATH'
18739
18740       case $cc_basename in
18741         CC*)
18742           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18743           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18744           ;;
18745         *)
18746           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18747           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18748           ;;
18749       esac
18750       ;;
18751
18752       sysv5* | sco3.2v5* | sco5v6*)
18753         # Note: We can NOT use -z defs as we might desire, because we do not
18754         # link with -lc, and that would cause any symbols used from libc to
18755         # always be unresolved, which means just about no library would
18756         # ever link correctly.  If we're not using GNU ld we use -z text
18757         # though, which does catch some bad symbols but isn't as heavy-handed
18758         # as -z defs.
18759         no_undefined_flag_CXX='${wl}-z,text'
18760         allow_undefined_flag_CXX='${wl}-z,nodefs'
18761         archive_cmds_need_lc_CXX=no
18762         hardcode_shlibpath_var_CXX=no
18763         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
18764         hardcode_libdir_separator_CXX=':'
18765         link_all_deplibs_CXX=yes
18766         export_dynamic_flag_spec_CXX='${wl}-Bexport'
18767         runpath_var='LD_RUN_PATH'
18768
18769         case $cc_basename in
18770           CC*)
18771             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18772             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18773             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
18774               '"$old_archive_cmds_CXX"
18775             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
18776               '"$reload_cmds_CXX"
18777             ;;
18778           *)
18779             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18780             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18781             ;;
18782         esac
18783       ;;
18784
18785       tandem*)
18786         case $cc_basename in
18787           NCC*)
18788             # NonStop-UX NCC 3.20
18789             # FIXME: insert proper C++ library support
18790             ld_shlibs_CXX=no
18791             ;;
18792           *)
18793             # FIXME: insert proper C++ library support
18794             ld_shlibs_CXX=no
18795             ;;
18796         esac
18797         ;;
18798
18799       vxworks*)
18800         # FIXME: insert proper C++ library support
18801         ld_shlibs_CXX=no
18802         ;;
18803
18804       *)
18805         # FIXME: insert proper C++ library support
18806         ld_shlibs_CXX=no
18807         ;;
18808     esac
18809
18810     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18811 $as_echo "$ld_shlibs_CXX" >&6; }
18812     test "$ld_shlibs_CXX" = no && can_build_shared=no
18813
18814     GCC_CXX="$GXX"
18815     LD_CXX="$LD"
18816
18817     ## CAVEAT EMPTOR:
18818     ## There is no encapsulation within the following macros, do not change
18819     ## the running order or otherwise move them around unless you know exactly
18820     ## what you are doing...
18821     # Dependencies to place before and after the object being linked:
18822 predep_objects_CXX=
18823 postdep_objects_CXX=
18824 predeps_CXX=
18825 postdeps_CXX=
18826 compiler_lib_search_path_CXX=
18827
18828 cat > conftest.$ac_ext <<_LT_EOF
18829 class Foo
18830 {
18831 public:
18832   Foo (void) { a = 0; }
18833 private:
18834   int a;
18835 };
18836 _LT_EOF
18837
18838
18839 _lt_libdeps_save_CFLAGS=$CFLAGS
18840 case "$CC $CFLAGS " in #(
18841 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
18842 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
18843 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
18844 esac
18845
18846 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18847   (eval $ac_compile) 2>&5
18848   ac_status=$?
18849   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18850   test $ac_status = 0; }; then
18851   # Parse the compiler output and extract the necessary
18852   # objects, libraries and library flags.
18853
18854   # Sentinel used to keep track of whether or not we are before
18855   # the conftest object file.
18856   pre_test_object_deps_done=no
18857
18858   for p in `eval "$output_verbose_link_cmd"`; do
18859     case ${prev}${p} in
18860
18861     -L* | -R* | -l*)
18862        # Some compilers place space between "-{L,R}" and the path.
18863        # Remove the space.
18864        if test $p = "-L" ||
18865           test $p = "-R"; then
18866          prev=$p
18867          continue
18868        fi
18869
18870        # Expand the sysroot to ease extracting the directories later.
18871        if test -z "$prev"; then
18872          case $p in
18873          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
18874          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
18875          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
18876          esac
18877        fi
18878        case $p in
18879        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
18880        esac
18881        if test "$pre_test_object_deps_done" = no; then
18882          case ${prev} in
18883          -L | -R)
18884            # Internal compiler library paths should come after those
18885            # provided the user.  The postdeps already come after the
18886            # user supplied libs so there is no need to process them.
18887            if test -z "$compiler_lib_search_path_CXX"; then
18888              compiler_lib_search_path_CXX="${prev}${p}"
18889            else
18890              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
18891            fi
18892            ;;
18893          # The "-l" case would never come before the object being
18894          # linked, so don't bother handling this case.
18895          esac
18896        else
18897          if test -z "$postdeps_CXX"; then
18898            postdeps_CXX="${prev}${p}"
18899          else
18900            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
18901          fi
18902        fi
18903        prev=
18904        ;;
18905
18906     *.lto.$objext) ;; # Ignore GCC LTO objects
18907     *.$objext)
18908        # This assumes that the test object file only shows up
18909        # once in the compiler output.
18910        if test "$p" = "conftest.$objext"; then
18911          pre_test_object_deps_done=yes
18912          continue
18913        fi
18914
18915        if test "$pre_test_object_deps_done" = no; then
18916          if test -z "$predep_objects_CXX"; then
18917            predep_objects_CXX="$p"
18918          else
18919            predep_objects_CXX="$predep_objects_CXX $p"
18920          fi
18921        else
18922          if test -z "$postdep_objects_CXX"; then
18923            postdep_objects_CXX="$p"
18924          else
18925            postdep_objects_CXX="$postdep_objects_CXX $p"
18926          fi
18927        fi
18928        ;;
18929
18930     *) ;; # Ignore the rest.
18931
18932     esac
18933   done
18934
18935   # Clean up.
18936   rm -f a.out a.exe
18937 else
18938   echo "libtool.m4: error: problem compiling CXX test program"
18939 fi
18940
18941 $RM -f confest.$objext
18942 CFLAGS=$_lt_libdeps_save_CFLAGS
18943
18944 # PORTME: override above test on systems where it is broken
18945 case $host_os in
18946 interix[3-9]*)
18947   # Interix 3.5 installs completely hosed .la files for C++, so rather than
18948   # hack all around it, let's just trust "g++" to DTRT.
18949   predep_objects_CXX=
18950   postdep_objects_CXX=
18951   postdeps_CXX=
18952   ;;
18953
18954 linux*)
18955   case `$CC -V 2>&1 | sed 5q` in
18956   *Sun\ C*)
18957     # Sun C++ 5.9
18958
18959     # The more standards-conforming stlport4 library is
18960     # incompatible with the Cstd library. Avoid specifying
18961     # it if it's in CXXFLAGS. Ignore libCrun as
18962     # -library=stlport4 depends on it.
18963     case " $CXX $CXXFLAGS " in
18964     *" -library=stlport4 "*)
18965       solaris_use_stlport4=yes
18966       ;;
18967     esac
18968
18969     if test "$solaris_use_stlport4" != yes; then
18970       postdeps_CXX='-library=Cstd -library=Crun'
18971     fi
18972     ;;
18973   esac
18974   ;;
18975
18976 solaris*)
18977   case $cc_basename in
18978   CC* | sunCC*)
18979     # The more standards-conforming stlport4 library is
18980     # incompatible with the Cstd library. Avoid specifying
18981     # it if it's in CXXFLAGS. Ignore libCrun as
18982     # -library=stlport4 depends on it.
18983     case " $CXX $CXXFLAGS " in
18984     *" -library=stlport4 "*)
18985       solaris_use_stlport4=yes
18986       ;;
18987     esac
18988
18989     # Adding this requires a known-good setup of shared libraries for
18990     # Sun compiler versions before 5.6, else PIC objects from an old
18991     # archive will be linked into the output, leading to subtle bugs.
18992     if test "$solaris_use_stlport4" != yes; then
18993       postdeps_CXX='-library=Cstd -library=Crun'
18994     fi
18995     ;;
18996   esac
18997   ;;
18998 esac
18999
19000
19001 case " $postdeps_CXX " in
19002 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
19003 esac
19004  compiler_lib_search_dirs_CXX=
19005 if test -n "${compiler_lib_search_path_CXX}"; then
19006  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
19007 fi
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039     lt_prog_compiler_wl_CXX=
19040 lt_prog_compiler_pic_CXX=
19041 lt_prog_compiler_static_CXX=
19042
19043
19044   # C++ specific cases for pic, static, wl, etc.
19045   if test "$GXX" = yes; then
19046     lt_prog_compiler_wl_CXX='-Wl,'
19047     lt_prog_compiler_static_CXX='-static'
19048
19049     case $host_os in
19050     aix*)
19051       # All AIX code is PIC.
19052       if test "$host_cpu" = ia64; then
19053         # AIX 5 now supports IA64 processor
19054         lt_prog_compiler_static_CXX='-Bstatic'
19055       fi
19056       ;;
19057
19058     amigaos*)
19059       case $host_cpu in
19060       powerpc)
19061             # see comment about AmigaOS4 .so support
19062             lt_prog_compiler_pic_CXX='-fPIC'
19063         ;;
19064       m68k)
19065             # FIXME: we need at least 68020 code to build shared libraries, but
19066             # adding the `-m68020' flag to GCC prevents building anything better,
19067             # like `-m68040'.
19068             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19069         ;;
19070       esac
19071       ;;
19072
19073     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19074       # PIC is the default for these OSes.
19075       ;;
19076     mingw* | cygwin* | os2* | pw32* | cegcc*)
19077       # This hack is so that the source file can tell whether it is being
19078       # built for inclusion in a dll (and should export symbols for example).
19079       # Although the cygwin gcc ignores -fPIC, still need this for old-style
19080       # (--disable-auto-import) libraries
19081       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19082       ;;
19083     darwin* | rhapsody*)
19084       # PIC is the default on this platform
19085       # Common symbols not allowed in MH_DYLIB files
19086       lt_prog_compiler_pic_CXX='-fno-common'
19087       ;;
19088     *djgpp*)
19089       # DJGPP does not support shared libraries at all
19090       lt_prog_compiler_pic_CXX=
19091       ;;
19092     haiku*)
19093       # PIC is the default for Haiku.
19094       # The "-static" flag exists, but is broken.
19095       lt_prog_compiler_static_CXX=
19096       ;;
19097     interix[3-9]*)
19098       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19099       # Instead, we relocate shared libraries at runtime.
19100       ;;
19101     sysv4*MP*)
19102       if test -d /usr/nec; then
19103         lt_prog_compiler_pic_CXX=-Kconform_pic
19104       fi
19105       ;;
19106     hpux*)
19107       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
19108       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
19109       # sets the default TLS model and affects inlining.
19110       case $host_cpu in
19111       hppa*64*)
19112         ;;
19113       *)
19114         lt_prog_compiler_pic_CXX='-fPIC'
19115         ;;
19116       esac
19117       ;;
19118     *qnx* | *nto*)
19119       # QNX uses GNU C++, but need to define -shared option too, otherwise
19120       # it will coredump.
19121       lt_prog_compiler_pic_CXX='-fPIC -shared'
19122       ;;
19123     *)
19124       lt_prog_compiler_pic_CXX='-fPIC'
19125       ;;
19126     esac
19127   else
19128     case $host_os in
19129       aix[4-9]*)
19130         # All AIX code is PIC.
19131         if test "$host_cpu" = ia64; then
19132           # AIX 5 now supports IA64 processor
19133           lt_prog_compiler_static_CXX='-Bstatic'
19134         else
19135           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19136         fi
19137         ;;
19138       chorus*)
19139         case $cc_basename in
19140         cxch68*)
19141           # Green Hills C++ Compiler
19142           # _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"
19143           ;;
19144         esac
19145         ;;
19146       mingw* | cygwin* | os2* | pw32* | cegcc*)
19147         # This hack is so that the source file can tell whether it is being
19148         # built for inclusion in a dll (and should export symbols for example).
19149         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19150         ;;
19151       dgux*)
19152         case $cc_basename in
19153           ec++*)
19154             lt_prog_compiler_pic_CXX='-KPIC'
19155             ;;
19156           ghcx*)
19157             # Green Hills C++ Compiler
19158             lt_prog_compiler_pic_CXX='-pic'
19159             ;;
19160           *)
19161             ;;
19162         esac
19163         ;;
19164       freebsd* | dragonfly*)
19165         # FreeBSD uses GNU C++
19166         ;;
19167       hpux9* | hpux10* | hpux11*)
19168         case $cc_basename in
19169           CC*)
19170             lt_prog_compiler_wl_CXX='-Wl,'
19171             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19172             if test "$host_cpu" != ia64; then
19173               lt_prog_compiler_pic_CXX='+Z'
19174             fi
19175             ;;
19176           aCC*)
19177             lt_prog_compiler_wl_CXX='-Wl,'
19178             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19179             case $host_cpu in
19180             hppa*64*|ia64*)
19181               # +Z the default
19182               ;;
19183             *)
19184               lt_prog_compiler_pic_CXX='+Z'
19185               ;;
19186             esac
19187             ;;
19188           *)
19189             ;;
19190         esac
19191         ;;
19192       interix*)
19193         # This is c89, which is MS Visual C++ (no shared libs)
19194         # Anyone wants to do a port?
19195         ;;
19196       irix5* | irix6* | nonstopux*)
19197         case $cc_basename in
19198           CC*)
19199             lt_prog_compiler_wl_CXX='-Wl,'
19200             lt_prog_compiler_static_CXX='-non_shared'
19201             # CC pic flag -KPIC is the default.
19202             ;;
19203           *)
19204             ;;
19205         esac
19206         ;;
19207       linux* | k*bsd*-gnu | kopensolaris*-gnu)
19208         case $cc_basename in
19209           KCC*)
19210             # KAI C++ Compiler
19211             lt_prog_compiler_wl_CXX='--backend -Wl,'
19212             lt_prog_compiler_pic_CXX='-fPIC'
19213             ;;
19214           ecpc* )
19215             # old Intel C++ for x86_64 which still supported -KPIC.
19216             lt_prog_compiler_wl_CXX='-Wl,'
19217             lt_prog_compiler_pic_CXX='-KPIC'
19218             lt_prog_compiler_static_CXX='-static'
19219             ;;
19220           icpc* )
19221             # Intel C++, used to be incompatible with GCC.
19222             # ICC 10 doesn't accept -KPIC any more.
19223             lt_prog_compiler_wl_CXX='-Wl,'
19224             lt_prog_compiler_pic_CXX='-fPIC'
19225             lt_prog_compiler_static_CXX='-static'
19226             ;;
19227           pgCC* | pgcpp*)
19228             # Portland Group C++ compiler
19229             lt_prog_compiler_wl_CXX='-Wl,'
19230             lt_prog_compiler_pic_CXX='-fpic'
19231             lt_prog_compiler_static_CXX='-Bstatic'
19232             ;;
19233           cxx*)
19234             # Compaq C++
19235             # Make sure the PIC flag is empty.  It appears that all Alpha
19236             # Linux and Compaq Tru64 Unix objects are PIC.
19237             lt_prog_compiler_pic_CXX=
19238             lt_prog_compiler_static_CXX='-non_shared'
19239             ;;
19240           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
19241             # IBM XL 8.0, 9.0 on PPC and BlueGene
19242             lt_prog_compiler_wl_CXX='-Wl,'
19243             lt_prog_compiler_pic_CXX='-qpic'
19244             lt_prog_compiler_static_CXX='-qstaticlink'
19245             ;;
19246           *)
19247             case `$CC -V 2>&1 | sed 5q` in
19248             *Sun\ C*)
19249               # Sun C++ 5.9
19250               lt_prog_compiler_pic_CXX='-KPIC'
19251               lt_prog_compiler_static_CXX='-Bstatic'
19252               lt_prog_compiler_wl_CXX='-Qoption ld '
19253               ;;
19254             esac
19255             ;;
19256         esac
19257         ;;
19258       lynxos*)
19259         ;;
19260       m88k*)
19261         ;;
19262       mvs*)
19263         case $cc_basename in
19264           cxx*)
19265             lt_prog_compiler_pic_CXX='-W c,exportall'
19266             ;;
19267           *)
19268             ;;
19269         esac
19270         ;;
19271       netbsd* | netbsdelf*-gnu)
19272         ;;
19273       *qnx* | *nto*)
19274         # QNX uses GNU C++, but need to define -shared option too, otherwise
19275         # it will coredump.
19276         lt_prog_compiler_pic_CXX='-fPIC -shared'
19277         ;;
19278       osf3* | osf4* | osf5*)
19279         case $cc_basename in
19280           KCC*)
19281             lt_prog_compiler_wl_CXX='--backend -Wl,'
19282             ;;
19283           RCC*)
19284             # Rational C++ 2.4.1
19285             lt_prog_compiler_pic_CXX='-pic'
19286             ;;
19287           cxx*)
19288             # Digital/Compaq C++
19289             lt_prog_compiler_wl_CXX='-Wl,'
19290             # Make sure the PIC flag is empty.  It appears that all Alpha
19291             # Linux and Compaq Tru64 Unix objects are PIC.
19292             lt_prog_compiler_pic_CXX=
19293             lt_prog_compiler_static_CXX='-non_shared'
19294             ;;
19295           *)
19296             ;;
19297         esac
19298         ;;
19299       psos*)
19300         ;;
19301       solaris*)
19302         case $cc_basename in
19303           CC* | sunCC*)
19304             # Sun C++ 4.2, 5.x and Centerline C++
19305             lt_prog_compiler_pic_CXX='-KPIC'
19306             lt_prog_compiler_static_CXX='-Bstatic'
19307             lt_prog_compiler_wl_CXX='-Qoption ld '
19308             ;;
19309           gcx*)
19310             # Green Hills C++ Compiler
19311             lt_prog_compiler_pic_CXX='-PIC'
19312             ;;
19313           *)
19314             ;;
19315         esac
19316         ;;
19317       sunos4*)
19318         case $cc_basename in
19319           CC*)
19320             # Sun C++ 4.x
19321             lt_prog_compiler_pic_CXX='-pic'
19322             lt_prog_compiler_static_CXX='-Bstatic'
19323             ;;
19324           lcc*)
19325             # Lucid
19326             lt_prog_compiler_pic_CXX='-pic'
19327             ;;
19328           *)
19329             ;;
19330         esac
19331         ;;
19332       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19333         case $cc_basename in
19334           CC*)
19335             lt_prog_compiler_wl_CXX='-Wl,'
19336             lt_prog_compiler_pic_CXX='-KPIC'
19337             lt_prog_compiler_static_CXX='-Bstatic'
19338             ;;
19339         esac
19340         ;;
19341       tandem*)
19342         case $cc_basename in
19343           NCC*)
19344             # NonStop-UX NCC 3.20
19345             lt_prog_compiler_pic_CXX='-KPIC'
19346             ;;
19347           *)
19348             ;;
19349         esac
19350         ;;
19351       vxworks*)
19352         ;;
19353       *)
19354         lt_prog_compiler_can_build_shared_CXX=no
19355         ;;
19356     esac
19357   fi
19358
19359 case $host_os in
19360   # For platforms which do not support PIC, -DPIC is meaningless:
19361   *djgpp*)
19362     lt_prog_compiler_pic_CXX=
19363     ;;
19364   *)
19365     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19366     ;;
19367 esac
19368
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
19370 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
19371 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
19372   $as_echo_n "(cached) " >&6
19373 else
19374   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
19375 fi
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
19377 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
19378 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
19379
19380 #
19381 # Check to make sure the PIC flag actually works.
19382 #
19383 if test -n "$lt_prog_compiler_pic_CXX"; then
19384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19385 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19386 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
19387   $as_echo_n "(cached) " >&6
19388 else
19389   lt_cv_prog_compiler_pic_works_CXX=no
19390    ac_outfile=conftest.$ac_objext
19391    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19392    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19393    # Insert the option either (1) after the last *FLAGS variable, or
19394    # (2) before a word containing "conftest.", or (3) at the end.
19395    # Note that $ac_compile itself does not contain backslashes and begins
19396    # with a dollar sign (not a hyphen), so the echo should work correctly.
19397    # The option is referenced via a variable to avoid confusing sed.
19398    lt_compile=`echo "$ac_compile" | $SED \
19399    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19400    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19401    -e 's:$: $lt_compiler_flag:'`
19402    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19403    (eval "$lt_compile" 2>conftest.err)
19404    ac_status=$?
19405    cat conftest.err >&5
19406    echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407    if (exit $ac_status) && test -s "$ac_outfile"; then
19408      # The compiler can only warn and ignore the option if not recognized
19409      # So say no if there are warnings other than the usual output.
19410      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
19411      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19412      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19413        lt_cv_prog_compiler_pic_works_CXX=yes
19414      fi
19415    fi
19416    $RM conftest*
19417
19418 fi
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19420 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19421
19422 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
19423     case $lt_prog_compiler_pic_CXX in
19424      "" | " "*) ;;
19425      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19426      esac
19427 else
19428     lt_prog_compiler_pic_CXX=
19429      lt_prog_compiler_can_build_shared_CXX=no
19430 fi
19431
19432 fi
19433
19434
19435
19436
19437
19438 #
19439 # Check to make sure the static flag actually works.
19440 #
19441 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19443 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19444 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
19445   $as_echo_n "(cached) " >&6
19446 else
19447   lt_cv_prog_compiler_static_works_CXX=no
19448    save_LDFLAGS="$LDFLAGS"
19449    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19450    echo "$lt_simple_link_test_code" > conftest.$ac_ext
19451    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19452      # The linker can only warn and ignore the option if not recognized
19453      # So say no if there are warnings
19454      if test -s conftest.err; then
19455        # Append any errors to the config.log.
19456        cat conftest.err 1>&5
19457        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
19458        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19459        if diff conftest.exp conftest.er2 >/dev/null; then
19460          lt_cv_prog_compiler_static_works_CXX=yes
19461        fi
19462      else
19463        lt_cv_prog_compiler_static_works_CXX=yes
19464      fi
19465    fi
19466    $RM -r conftest*
19467    LDFLAGS="$save_LDFLAGS"
19468
19469 fi
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19471 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
19472
19473 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
19474     :
19475 else
19476     lt_prog_compiler_static_CXX=
19477 fi
19478
19479
19480
19481
19482     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19483 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19484 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
19485   $as_echo_n "(cached) " >&6
19486 else
19487   lt_cv_prog_compiler_c_o_CXX=no
19488    $RM -r conftest 2>/dev/null
19489    mkdir conftest
19490    cd conftest
19491    mkdir out
19492    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19493
19494    lt_compiler_flag="-o out/conftest2.$ac_objext"
19495    # Insert the option either (1) after the last *FLAGS variable, or
19496    # (2) before a word containing "conftest.", or (3) at the end.
19497    # Note that $ac_compile itself does not contain backslashes and begins
19498    # with a dollar sign (not a hyphen), so the echo should work correctly.
19499    lt_compile=`echo "$ac_compile" | $SED \
19500    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19501    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19502    -e 's:$: $lt_compiler_flag:'`
19503    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19504    (eval "$lt_compile" 2>out/conftest.err)
19505    ac_status=$?
19506    cat out/conftest.err >&5
19507    echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508    if (exit $ac_status) && test -s out/conftest2.$ac_objext
19509    then
19510      # The compiler can only warn and ignore the option if not recognized
19511      # So say no if there are warnings
19512      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
19513      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19514      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19515        lt_cv_prog_compiler_c_o_CXX=yes
19516      fi
19517    fi
19518    chmod u+w . 2>&5
19519    $RM conftest*
19520    # SGI C++ compiler will create directory out/ii_files/ for
19521    # template instantiation
19522    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19523    $RM out/* && rmdir out
19524    cd ..
19525    $RM -r conftest
19526    $RM conftest*
19527
19528 fi
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19530 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19531
19532
19533
19534     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19535 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19536 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
19537   $as_echo_n "(cached) " >&6
19538 else
19539   lt_cv_prog_compiler_c_o_CXX=no
19540    $RM -r conftest 2>/dev/null
19541    mkdir conftest
19542    cd conftest
19543    mkdir out
19544    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19545
19546    lt_compiler_flag="-o out/conftest2.$ac_objext"
19547    # Insert the option either (1) after the last *FLAGS variable, or
19548    # (2) before a word containing "conftest.", or (3) at the end.
19549    # Note that $ac_compile itself does not contain backslashes and begins
19550    # with a dollar sign (not a hyphen), so the echo should work correctly.
19551    lt_compile=`echo "$ac_compile" | $SED \
19552    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19553    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19554    -e 's:$: $lt_compiler_flag:'`
19555    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19556    (eval "$lt_compile" 2>out/conftest.err)
19557    ac_status=$?
19558    cat out/conftest.err >&5
19559    echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560    if (exit $ac_status) && test -s out/conftest2.$ac_objext
19561    then
19562      # The compiler can only warn and ignore the option if not recognized
19563      # So say no if there are warnings
19564      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
19565      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19566      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19567        lt_cv_prog_compiler_c_o_CXX=yes
19568      fi
19569    fi
19570    chmod u+w . 2>&5
19571    $RM conftest*
19572    # SGI C++ compiler will create directory out/ii_files/ for
19573    # template instantiation
19574    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19575    $RM out/* && rmdir out
19576    cd ..
19577    $RM -r conftest
19578    $RM conftest*
19579
19580 fi
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19582 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19583
19584
19585
19586
19587 hard_links="nottested"
19588 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19589   # do not overwrite the value of need_locks provided by the user
19590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
19591 $as_echo_n "checking if we can lock with hard links... " >&6; }
19592   hard_links=yes
19593   $RM conftest*
19594   ln conftest.a conftest.b 2>/dev/null && hard_links=no
19595   touch conftest.a
19596   ln conftest.a conftest.b 2>&5 || hard_links=no
19597   ln conftest.a conftest.b 2>/dev/null && hard_links=no
19598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
19599 $as_echo "$hard_links" >&6; }
19600   if test "$hard_links" = no; then
19601     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19602 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19603     need_locks=warn
19604   fi
19605 else
19606   need_locks=no
19607 fi
19608
19609
19610
19611     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19612 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19613
19614   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19615   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19616   case $host_os in
19617   aix[4-9]*)
19618     # If we're using GNU nm, then we don't want the "-C" option.
19619     # -C means demangle to AIX nm, but means don't demangle with GNU nm
19620     # Also, AIX nm treats weak defined symbols like other global defined
19621     # symbols, whereas GNU nm marks them as "W".
19622     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
19623       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
19624     else
19625       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
19626     fi
19627     ;;
19628   pw32*)
19629     export_symbols_cmds_CXX="$ltdll_cmds"
19630     ;;
19631   cygwin* | mingw* | cegcc*)
19632     case $cc_basename in
19633     cl*)
19634       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
19635       ;;
19636     *)
19637       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'
19638       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
19639       ;;
19640     esac
19641     ;;
19642   linux* | k*bsd*-gnu | gnu*)
19643     link_all_deplibs_CXX=no
19644     ;;
19645   *)
19646     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19647     ;;
19648   esac
19649
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19651 $as_echo "$ld_shlibs_CXX" >&6; }
19652 test "$ld_shlibs_CXX" = no && can_build_shared=no
19653
19654 with_gnu_ld_CXX=$with_gnu_ld
19655
19656
19657
19658
19659
19660
19661 #
19662 # Do we need to explicitly link libc?
19663 #
19664 case "x$archive_cmds_need_lc_CXX" in
19665 x|xyes)
19666   # Assume -lc should be added
19667   archive_cmds_need_lc_CXX=yes
19668
19669   if test "$enable_shared" = yes && test "$GCC" = yes; then
19670     case $archive_cmds_CXX in
19671     *'~'*)
19672       # FIXME: we may have to deal with multi-command sequences.
19673       ;;
19674     '$CC '*)
19675       # Test whether the compiler implicitly links with -lc since on some
19676       # systems, -lgcc has to come before -lc. If gcc already passes -lc
19677       # to ld, don't add -lc before -lgcc.
19678       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
19679 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
19680 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
19681   $as_echo_n "(cached) " >&6
19682 else
19683   $RM conftest*
19684         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19685
19686         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19687   (eval $ac_compile) 2>&5
19688   ac_status=$?
19689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19690   test $ac_status = 0; } 2>conftest.err; then
19691           soname=conftest
19692           lib=conftest
19693           libobjs=conftest.$ac_objext
19694           deplibs=
19695           wl=$lt_prog_compiler_wl_CXX
19696           pic_flag=$lt_prog_compiler_pic_CXX
19697           compiler_flags=-v
19698           linker_flags=-v
19699           verstring=
19700           output_objdir=.
19701           libname=conftest
19702           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
19703           allow_undefined_flag_CXX=
19704           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
19705   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
19706   ac_status=$?
19707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19708   test $ac_status = 0; }
19709           then
19710             lt_cv_archive_cmds_need_lc_CXX=no
19711           else
19712             lt_cv_archive_cmds_need_lc_CXX=yes
19713           fi
19714           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
19715         else
19716           cat conftest.err 1>&5
19717         fi
19718         $RM conftest*
19719
19720 fi
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
19722 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
19723       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
19724       ;;
19725     esac
19726   fi
19727   ;;
19728 esac
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
19792 $as_echo_n "checking dynamic linker characteristics... " >&6; }
19793
19794 library_names_spec=
19795 libname_spec='lib$name'
19796 soname_spec=
19797 shrext_cmds=".so"
19798 postinstall_cmds=
19799 postuninstall_cmds=
19800 finish_cmds=
19801 finish_eval=
19802 shlibpath_var=
19803 shlibpath_overrides_runpath=unknown
19804 version_type=none
19805 dynamic_linker="$host_os ld.so"
19806 sys_lib_dlsearch_path_spec="/lib /usr/lib"
19807 need_lib_prefix=unknown
19808 hardcode_into_libs=no
19809
19810 # when you set need_version to no, make sure it does not cause -set_version
19811 # flags to be left without arguments
19812 need_version=unknown
19813
19814 case $host_os in
19815 aix3*)
19816   version_type=linux # correct to gnu/linux during the next big refactor
19817   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19818   shlibpath_var=LIBPATH
19819
19820   # AIX 3 has no versioning support, so we append a major version to the name.
19821   soname_spec='${libname}${release}${shared_ext}$major'
19822   ;;
19823
19824 aix[4-9]*)
19825   version_type=linux # correct to gnu/linux during the next big refactor
19826   need_lib_prefix=no
19827   need_version=no
19828   hardcode_into_libs=yes
19829   if test "$host_cpu" = ia64; then
19830     # AIX 5 supports IA64
19831     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19832     shlibpath_var=LD_LIBRARY_PATH
19833   else
19834     # With GCC up to 2.95.x, collect2 would create an import file
19835     # for dependence libraries.  The import file would start with
19836     # the line `#! .'.  This would cause the generated library to
19837     # depend on `.', always an invalid library.  This was fixed in
19838     # development snapshots of GCC prior to 3.0.
19839     case $host_os in
19840       aix4 | aix4.[01] | aix4.[01].*)
19841       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19842            echo ' yes '
19843            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
19844         :
19845       else
19846         can_build_shared=no
19847       fi
19848       ;;
19849     esac
19850     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19851     # soname into executable. Probably we can add versioning support to
19852     # collect2, so additional links can be useful in future.
19853     if test "$aix_use_runtimelinking" = yes; then
19854       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19855       # instead of lib<name>.a to let people know that these are not
19856       # typical AIX shared libraries.
19857       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19858     else
19859       # We preserve .a as extension for shared libraries through AIX4.2
19860       # and later when we are not doing run time linking.
19861       library_names_spec='${libname}${release}.a $libname.a'
19862       soname_spec='${libname}${release}${shared_ext}$major'
19863     fi
19864     shlibpath_var=LIBPATH
19865   fi
19866   ;;
19867
19868 amigaos*)
19869   case $host_cpu in
19870   powerpc)
19871     # Since July 2007 AmigaOS4 officially supports .so libraries.
19872     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
19873     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19874     ;;
19875   m68k)
19876     library_names_spec='$libname.ixlibrary $libname.a'
19877     # Create ${libname}_ixlibrary.a entries in /sys/libs.
19878     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
19879     ;;
19880   esac
19881   ;;
19882
19883 beos*)
19884   library_names_spec='${libname}${shared_ext}'
19885   dynamic_linker="$host_os ld.so"
19886   shlibpath_var=LIBRARY_PATH
19887   ;;
19888
19889 bsdi[45]*)
19890   version_type=linux # correct to gnu/linux during the next big refactor
19891   need_version=no
19892   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19893   soname_spec='${libname}${release}${shared_ext}$major'
19894   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19895   shlibpath_var=LD_LIBRARY_PATH
19896   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19897   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19898   # the default ld.so.conf also contains /usr/contrib/lib and
19899   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19900   # libtool to hard-code these into programs
19901   ;;
19902
19903 cygwin* | mingw* | pw32* | cegcc*)
19904   version_type=windows
19905   shrext_cmds=".dll"
19906   need_version=no
19907   need_lib_prefix=no
19908
19909   case $GCC,$cc_basename in
19910   yes,*)
19911     # gcc
19912     library_names_spec='$libname.dll.a'
19913     # DLL is installed to $(libdir)/../bin by postinstall_cmds
19914     postinstall_cmds='base_file=`basename \${file}`~
19915       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19916       dldir=$destdir/`dirname \$dlpath`~
19917       test -d \$dldir || mkdir -p \$dldir~
19918       $install_prog $dir/$dlname \$dldir/$dlname~
19919       chmod a+x \$dldir/$dlname~
19920       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19921         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19922       fi'
19923     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19924       dlpath=$dir/\$dldll~
19925        $RM \$dlpath'
19926     shlibpath_overrides_runpath=yes
19927
19928     case $host_os in
19929     cygwin*)
19930       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19931       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19932
19933       ;;
19934     mingw* | cegcc*)
19935       # MinGW DLLs use traditional 'lib' prefix
19936       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19937       ;;
19938     pw32*)
19939       # pw32 DLLs use 'pw' prefix rather than 'lib'
19940       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19941       ;;
19942     esac
19943     dynamic_linker='Win32 ld.exe'
19944     ;;
19945
19946   *,cl*)
19947     # Native MSVC
19948     libname_spec='$name'
19949     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19950     library_names_spec='${libname}.dll.lib'
19951
19952     case $build_os in
19953     mingw*)
19954       sys_lib_search_path_spec=
19955       lt_save_ifs=$IFS
19956       IFS=';'
19957       for lt_path in $LIB
19958       do
19959         IFS=$lt_save_ifs
19960         # Let DOS variable expansion print the short 8.3 style file name.
19961         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
19962         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
19963       done
19964       IFS=$lt_save_ifs
19965       # Convert to MSYS style.
19966       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
19967       ;;
19968     cygwin*)
19969       # Convert to unix form, then to dos form, then back to unix form
19970       # but this time dos style (no spaces!) so that the unix form looks
19971       # like /cygdrive/c/PROGRA~1:/cygdr...
19972       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
19973       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
19974       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19975       ;;
19976     *)
19977       sys_lib_search_path_spec="$LIB"
19978       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
19979         # It is most probably a Windows format PATH.
19980         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19981       else
19982         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19983       fi
19984       # FIXME: find the short name or the path components, as spaces are
19985       # common. (e.g. "Program Files" -> "PROGRA~1")
19986       ;;
19987     esac
19988
19989     # DLL is installed to $(libdir)/../bin by postinstall_cmds
19990     postinstall_cmds='base_file=`basename \${file}`~
19991       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19992       dldir=$destdir/`dirname \$dlpath`~
19993       test -d \$dldir || mkdir -p \$dldir~
19994       $install_prog $dir/$dlname \$dldir/$dlname'
19995     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19996       dlpath=$dir/\$dldll~
19997        $RM \$dlpath'
19998     shlibpath_overrides_runpath=yes
19999     dynamic_linker='Win32 link.exe'
20000     ;;
20001
20002   *)
20003     # Assume MSVC wrapper
20004     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20005     dynamic_linker='Win32 ld.exe'
20006     ;;
20007   esac
20008   # FIXME: first we should search . and the directory the executable is in
20009   shlibpath_var=PATH
20010   ;;
20011
20012 darwin* | rhapsody*)
20013   dynamic_linker="$host_os dyld"
20014   version_type=darwin
20015   need_lib_prefix=no
20016   need_version=no
20017   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20018   soname_spec='${libname}${release}${major}$shared_ext'
20019   shlibpath_overrides_runpath=yes
20020   shlibpath_var=DYLD_LIBRARY_PATH
20021   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20022
20023   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20024   ;;
20025
20026 dgux*)
20027   version_type=linux # correct to gnu/linux during the next big refactor
20028   need_lib_prefix=no
20029   need_version=no
20030   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20031   soname_spec='${libname}${release}${shared_ext}$major'
20032   shlibpath_var=LD_LIBRARY_PATH
20033   ;;
20034
20035 freebsd* | dragonfly*)
20036   # DragonFly does not have aout.  When/if they implement a new
20037   # versioning mechanism, adjust this.
20038   if test -x /usr/bin/objformat; then
20039     objformat=`/usr/bin/objformat`
20040   else
20041     case $host_os in
20042     freebsd[23].*) objformat=aout ;;
20043     *) objformat=elf ;;
20044     esac
20045   fi
20046   version_type=freebsd-$objformat
20047   case $version_type in
20048     freebsd-elf*)
20049       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20050       need_version=no
20051       need_lib_prefix=no
20052       ;;
20053     freebsd-*)
20054       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20055       need_version=yes
20056       ;;
20057   esac
20058   shlibpath_var=LD_LIBRARY_PATH
20059   case $host_os in
20060   freebsd2.*)
20061     shlibpath_overrides_runpath=yes
20062     ;;
20063   freebsd3.[01]* | freebsdelf3.[01]*)
20064     shlibpath_overrides_runpath=yes
20065     hardcode_into_libs=yes
20066     ;;
20067   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20068   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20069     shlibpath_overrides_runpath=no
20070     hardcode_into_libs=yes
20071     ;;
20072   *) # from 4.6 on, and DragonFly
20073     shlibpath_overrides_runpath=yes
20074     hardcode_into_libs=yes
20075     ;;
20076   esac
20077   ;;
20078
20079 gnu*)
20080   version_type=linux # correct to gnu/linux during the next big refactor
20081   need_lib_prefix=no
20082   need_version=no
20083   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20084   soname_spec='${libname}${release}${shared_ext}$major'
20085   shlibpath_var=LD_LIBRARY_PATH
20086   shlibpath_overrides_runpath=no
20087   hardcode_into_libs=yes
20088   ;;
20089
20090 haiku*)
20091   version_type=linux # correct to gnu/linux during the next big refactor
20092   need_lib_prefix=no
20093   need_version=no
20094   dynamic_linker="$host_os runtime_loader"
20095   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20096   soname_spec='${libname}${release}${shared_ext}$major'
20097   shlibpath_var=LIBRARY_PATH
20098   shlibpath_overrides_runpath=yes
20099   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
20100   hardcode_into_libs=yes
20101   ;;
20102
20103 hpux9* | hpux10* | hpux11*)
20104   # Give a soname corresponding to the major version so that dld.sl refuses to
20105   # link against other versions.
20106   version_type=sunos
20107   need_lib_prefix=no
20108   need_version=no
20109   case $host_cpu in
20110   ia64*)
20111     shrext_cmds='.so'
20112     hardcode_into_libs=yes
20113     dynamic_linker="$host_os dld.so"
20114     shlibpath_var=LD_LIBRARY_PATH
20115     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20116     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20117     soname_spec='${libname}${release}${shared_ext}$major'
20118     if test "X$HPUX_IA64_MODE" = X32; then
20119       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20120     else
20121       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20122     fi
20123     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20124     ;;
20125   hppa*64*)
20126     shrext_cmds='.sl'
20127     hardcode_into_libs=yes
20128     dynamic_linker="$host_os dld.sl"
20129     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20130     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20131     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20132     soname_spec='${libname}${release}${shared_ext}$major'
20133     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20134     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20135     ;;
20136   *)
20137     shrext_cmds='.sl'
20138     dynamic_linker="$host_os dld.sl"
20139     shlibpath_var=SHLIB_PATH
20140     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20141     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20142     soname_spec='${libname}${release}${shared_ext}$major'
20143     ;;
20144   esac
20145   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
20146   postinstall_cmds='chmod 555 $lib'
20147   # or fails outright, so override atomically:
20148   install_override_mode=555
20149   ;;
20150
20151 interix[3-9]*)
20152   version_type=linux # correct to gnu/linux during the next big refactor
20153   need_lib_prefix=no
20154   need_version=no
20155   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20156   soname_spec='${libname}${release}${shared_ext}$major'
20157   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20158   shlibpath_var=LD_LIBRARY_PATH
20159   shlibpath_overrides_runpath=no
20160   hardcode_into_libs=yes
20161   ;;
20162
20163 irix5* | irix6* | nonstopux*)
20164   case $host_os in
20165     nonstopux*) version_type=nonstopux ;;
20166     *)
20167         if test "$lt_cv_prog_gnu_ld" = yes; then
20168                 version_type=linux # correct to gnu/linux during the next big refactor
20169         else
20170                 version_type=irix
20171         fi ;;
20172   esac
20173   need_lib_prefix=no
20174   need_version=no
20175   soname_spec='${libname}${release}${shared_ext}$major'
20176   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20177   case $host_os in
20178   irix5* | nonstopux*)
20179     libsuff= shlibsuff=
20180     ;;
20181   *)
20182     case $LD in # libtool.m4 will add one of these switches to LD
20183     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20184       libsuff= shlibsuff= libmagic=32-bit;;
20185     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20186       libsuff=32 shlibsuff=N32 libmagic=N32;;
20187     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20188       libsuff=64 shlibsuff=64 libmagic=64-bit;;
20189     *) libsuff= shlibsuff= libmagic=never-match;;
20190     esac
20191     ;;
20192   esac
20193   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20194   shlibpath_overrides_runpath=no
20195   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20196   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20197   hardcode_into_libs=yes
20198   ;;
20199
20200 # No shared lib support for Linux oldld, aout, or coff.
20201 linux*oldld* | linux*aout* | linux*coff*)
20202   dynamic_linker=no
20203   ;;
20204
20205 # This must be glibc/ELF.
20206 linux* | k*bsd*-gnu | kopensolaris*-gnu)
20207   version_type=linux # correct to gnu/linux during the next big refactor
20208   need_lib_prefix=no
20209   need_version=no
20210   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20211   soname_spec='${libname}${release}${shared_ext}$major'
20212   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20213   shlibpath_var=LD_LIBRARY_PATH
20214   shlibpath_overrides_runpath=no
20215
20216   # Some binutils ld are patched to set DT_RUNPATH
20217   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
20218   $as_echo_n "(cached) " >&6
20219 else
20220   lt_cv_shlibpath_overrides_runpath=no
20221     save_LDFLAGS=$LDFLAGS
20222     save_libdir=$libdir
20223     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
20224          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
20225     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20226 /* end confdefs.h.  */
20227
20228 int
20229 main ()
20230 {
20231
20232   ;
20233   return 0;
20234 }
20235 _ACEOF
20236 if ac_fn_cxx_try_link "$LINENO"; then :
20237   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
20238   lt_cv_shlibpath_overrides_runpath=yes
20239 fi
20240 fi
20241 rm -f core conftest.err conftest.$ac_objext \
20242     conftest$ac_exeext conftest.$ac_ext
20243     LDFLAGS=$save_LDFLAGS
20244     libdir=$save_libdir
20245
20246 fi
20247
20248   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
20249
20250   # This implies no fast_install, which is unacceptable.
20251   # Some rework will be needed to allow for fast_install
20252   # before this can be enabled.
20253   hardcode_into_libs=yes
20254
20255   # Append ld.so.conf contents to the search path
20256   if test -f /etc/ld.so.conf; then
20257     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' ' '`
20258     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20259   fi
20260
20261   # We used to test for /lib/ld.so.1 and disable shared libraries on
20262   # powerpc, because MkLinux only supported shared libraries with the
20263   # GNU dynamic linker.  Since this was broken with cross compilers,
20264   # most powerpc-linux boxes support dynamic linking these days and
20265   # people can always --disable-shared, the test was removed, and we
20266   # assume the GNU/Linux dynamic linker is in use.
20267   dynamic_linker='GNU/Linux ld.so'
20268   ;;
20269
20270 netbsdelf*-gnu)
20271   version_type=linux
20272   need_lib_prefix=no
20273   need_version=no
20274   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20275   soname_spec='${libname}${release}${shared_ext}$major'
20276   shlibpath_var=LD_LIBRARY_PATH
20277   shlibpath_overrides_runpath=no
20278   hardcode_into_libs=yes
20279   dynamic_linker='NetBSD ld.elf_so'
20280   ;;
20281
20282 netbsd*)
20283   version_type=sunos
20284   need_lib_prefix=no
20285   need_version=no
20286   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20287     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20288     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20289     dynamic_linker='NetBSD (a.out) ld.so'
20290   else
20291     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20292     soname_spec='${libname}${release}${shared_ext}$major'
20293     dynamic_linker='NetBSD ld.elf_so'
20294   fi
20295   shlibpath_var=LD_LIBRARY_PATH
20296   shlibpath_overrides_runpath=yes
20297   hardcode_into_libs=yes
20298   ;;
20299
20300 newsos6)
20301   version_type=linux # correct to gnu/linux during the next big refactor
20302   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20303   shlibpath_var=LD_LIBRARY_PATH
20304   shlibpath_overrides_runpath=yes
20305   ;;
20306
20307 *nto* | *qnx*)
20308   version_type=qnx
20309   need_lib_prefix=no
20310   need_version=no
20311   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20312   soname_spec='${libname}${release}${shared_ext}$major'
20313   shlibpath_var=LD_LIBRARY_PATH
20314   shlibpath_overrides_runpath=no
20315   hardcode_into_libs=yes
20316   dynamic_linker='ldqnx.so'
20317   ;;
20318
20319 openbsd*)
20320   version_type=sunos
20321   sys_lib_dlsearch_path_spec="/usr/lib"
20322   need_lib_prefix=no
20323   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20324   case $host_os in
20325     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
20326     *)                          need_version=no  ;;
20327   esac
20328   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20329   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20330   shlibpath_var=LD_LIBRARY_PATH
20331   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20332     case $host_os in
20333       openbsd2.[89] | openbsd2.[89].*)
20334         shlibpath_overrides_runpath=no
20335         ;;
20336       *)
20337         shlibpath_overrides_runpath=yes
20338         ;;
20339       esac
20340   else
20341     shlibpath_overrides_runpath=yes
20342   fi
20343   ;;
20344
20345 os2*)
20346   libname_spec='$name'
20347   shrext_cmds=".dll"
20348   need_lib_prefix=no
20349   library_names_spec='$libname${shared_ext} $libname.a'
20350   dynamic_linker='OS/2 ld.exe'
20351   shlibpath_var=LIBPATH
20352   ;;
20353
20354 osf3* | osf4* | osf5*)
20355   version_type=osf
20356   need_lib_prefix=no
20357   need_version=no
20358   soname_spec='${libname}${release}${shared_ext}$major'
20359   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20360   shlibpath_var=LD_LIBRARY_PATH
20361   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20362   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20363   ;;
20364
20365 rdos*)
20366   dynamic_linker=no
20367   ;;
20368
20369 solaris*)
20370   version_type=linux # correct to gnu/linux during the next big refactor
20371   need_lib_prefix=no
20372   need_version=no
20373   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20374   soname_spec='${libname}${release}${shared_ext}$major'
20375   shlibpath_var=LD_LIBRARY_PATH
20376   shlibpath_overrides_runpath=yes
20377   hardcode_into_libs=yes
20378   # ldd complains unless libraries are executable
20379   postinstall_cmds='chmod +x $lib'
20380   ;;
20381
20382 sunos4*)
20383   version_type=sunos
20384   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20385   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20386   shlibpath_var=LD_LIBRARY_PATH
20387   shlibpath_overrides_runpath=yes
20388   if test "$with_gnu_ld" = yes; then
20389     need_lib_prefix=no
20390   fi
20391   need_version=yes
20392   ;;
20393
20394 sysv4 | sysv4.3*)
20395   version_type=linux # correct to gnu/linux during the next big refactor
20396   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20397   soname_spec='${libname}${release}${shared_ext}$major'
20398   shlibpath_var=LD_LIBRARY_PATH
20399   case $host_vendor in
20400     sni)
20401       shlibpath_overrides_runpath=no
20402       need_lib_prefix=no
20403       runpath_var=LD_RUN_PATH
20404       ;;
20405     siemens)
20406       need_lib_prefix=no
20407       ;;
20408     motorola)
20409       need_lib_prefix=no
20410       need_version=no
20411       shlibpath_overrides_runpath=no
20412       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20413       ;;
20414   esac
20415   ;;
20416
20417 sysv4*MP*)
20418   if test -d /usr/nec ;then
20419     version_type=linux # correct to gnu/linux during the next big refactor
20420     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20421     soname_spec='$libname${shared_ext}.$major'
20422     shlibpath_var=LD_LIBRARY_PATH
20423   fi
20424   ;;
20425
20426 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20427   version_type=freebsd-elf
20428   need_lib_prefix=no
20429   need_version=no
20430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20431   soname_spec='${libname}${release}${shared_ext}$major'
20432   shlibpath_var=LD_LIBRARY_PATH
20433   shlibpath_overrides_runpath=yes
20434   hardcode_into_libs=yes
20435   if test "$with_gnu_ld" = yes; then
20436     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20437   else
20438     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20439     case $host_os in
20440       sco3.2v5*)
20441         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20442         ;;
20443     esac
20444   fi
20445   sys_lib_dlsearch_path_spec='/usr/lib'
20446   ;;
20447
20448 tpf*)
20449   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
20450   version_type=linux # correct to gnu/linux during the next big refactor
20451   need_lib_prefix=no
20452   need_version=no
20453   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20454   shlibpath_var=LD_LIBRARY_PATH
20455   shlibpath_overrides_runpath=no
20456   hardcode_into_libs=yes
20457   ;;
20458
20459 uts4*)
20460   version_type=linux # correct to gnu/linux during the next big refactor
20461   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20462   soname_spec='${libname}${release}${shared_ext}$major'
20463   shlibpath_var=LD_LIBRARY_PATH
20464   ;;
20465
20466 *)
20467   dynamic_linker=no
20468   ;;
20469 esac
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
20471 $as_echo "$dynamic_linker" >&6; }
20472 test "$dynamic_linker" = no && can_build_shared=no
20473
20474 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20475 if test "$GCC" = yes; then
20476   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20477 fi
20478
20479 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20480   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20481 fi
20482 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20483   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20484 fi
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
20524 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20525 hardcode_action_CXX=
20526 if test -n "$hardcode_libdir_flag_spec_CXX" ||
20527    test -n "$runpath_var_CXX" ||
20528    test "X$hardcode_automatic_CXX" = "Xyes" ; then
20529
20530   # We can hardcode non-existent directories.
20531   if test "$hardcode_direct_CXX" != no &&
20532      # If the only mechanism to avoid hardcoding is shlibpath_var, we
20533      # have to relink, otherwise we might link with an installed library
20534      # when we should be linking with a yet-to-be-installed one
20535      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20536      test "$hardcode_minus_L_CXX" != no; then
20537     # Linking always hardcodes the temporary library directory.
20538     hardcode_action_CXX=relink
20539   else
20540     # We can link without hardcoding, and we can hardcode nonexisting dirs.
20541     hardcode_action_CXX=immediate
20542   fi
20543 else
20544   # We cannot hardcode anything, or else we can only hardcode existing
20545   # directories.
20546   hardcode_action_CXX=unsupported
20547 fi
20548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
20549 $as_echo "$hardcode_action_CXX" >&6; }
20550
20551 if test "$hardcode_action_CXX" = relink ||
20552    test "$inherit_rpath_CXX" = yes; then
20553   # Fast installation is not supported
20554   enable_fast_install=no
20555 elif test "$shlibpath_overrides_runpath" = yes ||
20556      test "$enable_shared" = no; then
20557   # Fast installation is not necessary
20558   enable_fast_install=needless
20559 fi
20560
20561
20562
20563
20564
20565
20566
20567   fi # test -n "$compiler"
20568
20569   CC=$lt_save_CC
20570   CFLAGS=$lt_save_CFLAGS
20571   LDCXX=$LD
20572   LD=$lt_save_LD
20573   GCC=$lt_save_GCC
20574   with_gnu_ld=$lt_save_with_gnu_ld
20575   lt_cv_path_LDCXX=$lt_cv_path_LD
20576   lt_cv_path_LD=$lt_save_path_LD
20577   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20578   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20579 fi # test "$_lt_caught_CXX_error" != yes
20580
20581 ac_ext=c
20582 ac_cpp='$CPP $CPPFLAGS'
20583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20586
20587
20588 # Extract the first word of "$CXX", so it can be a program name with args.
20589 set dummy $CXX; ac_word=$2
20590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20591 $as_echo_n "checking for $ac_word... " >&6; }
20592 if ${ac_cv_prog_HAVE_CXX+:} false; then :
20593   $as_echo_n "(cached) " >&6
20594 else
20595   if test -n "$HAVE_CXX"; then
20596   ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
20597 else
20598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20599 for as_dir in $PATH
20600 do
20601   IFS=$as_save_IFS
20602   test -z "$as_dir" && as_dir=.
20603     for ac_exec_ext in '' $ac_executable_extensions; do
20604   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20605     ac_cv_prog_HAVE_CXX="yes"
20606     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20607     break 2
20608   fi
20609 done
20610   done
20611 IFS=$as_save_IFS
20612
20613   test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
20614 fi
20615 fi
20616 HAVE_CXX=$ac_cv_prog_HAVE_CXX
20617 if test -n "$HAVE_CXX"; then
20618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CXX" >&5
20619 $as_echo "$HAVE_CXX" >&6; }
20620 else
20621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20622 $as_echo "no" >&6; }
20623 fi
20624
20625
20626
20627 if test "x$CC" != xcc; then
20628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
20629 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
20630 else
20631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
20632 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
20633 fi
20634 set dummy $CC; ac_cc=`$as_echo "$2" |
20635                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
20636 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
20637   $as_echo_n "(cached) " >&6
20638 else
20639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20640 /* end confdefs.h.  */
20641
20642 int
20643 main ()
20644 {
20645
20646   ;
20647   return 0;
20648 }
20649 _ACEOF
20650 # Make sure it works both with $CC and with simple cc.
20651 # We do the test twice because some compilers refuse to overwrite an
20652 # existing .o file with -o, though they will create one.
20653 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
20654 rm -f conftest2.*
20655 if { { case "(($ac_try" in
20656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20657   *) ac_try_echo=$ac_try;;
20658 esac
20659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20660 $as_echo "$ac_try_echo"; } >&5
20661   (eval "$ac_try") 2>&5
20662   ac_status=$?
20663   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20664   test $ac_status = 0; } &&
20665    test -f conftest2.$ac_objext && { { case "(($ac_try" in
20666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20667   *) ac_try_echo=$ac_try;;
20668 esac
20669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20670 $as_echo "$ac_try_echo"; } >&5
20671   (eval "$ac_try") 2>&5
20672   ac_status=$?
20673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20674   test $ac_status = 0; };
20675 then
20676   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
20677   if test "x$CC" != xcc; then
20678     # Test first that cc exists at all.
20679     if { ac_try='cc -c conftest.$ac_ext >&5'
20680   { { case "(($ac_try" in
20681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20682   *) ac_try_echo=$ac_try;;
20683 esac
20684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20685 $as_echo "$ac_try_echo"; } >&5
20686   (eval "$ac_try") 2>&5
20687   ac_status=$?
20688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20689   test $ac_status = 0; }; }; then
20690       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
20691       rm -f conftest2.*
20692       if { { case "(($ac_try" in
20693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20694   *) ac_try_echo=$ac_try;;
20695 esac
20696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20697 $as_echo "$ac_try_echo"; } >&5
20698   (eval "$ac_try") 2>&5
20699   ac_status=$?
20700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20701   test $ac_status = 0; } &&
20702          test -f conftest2.$ac_objext && { { case "(($ac_try" in
20703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20704   *) ac_try_echo=$ac_try;;
20705 esac
20706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20707 $as_echo "$ac_try_echo"; } >&5
20708   (eval "$ac_try") 2>&5
20709   ac_status=$?
20710   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20711   test $ac_status = 0; };
20712       then
20713         # cc works too.
20714         :
20715       else
20716         # cc exists but doesn't like -o.
20717         eval ac_cv_prog_cc_${ac_cc}_c_o=no
20718       fi
20719     fi
20720   fi
20721 else
20722   eval ac_cv_prog_cc_${ac_cc}_c_o=no
20723 fi
20724 rm -f core conftest*
20725
20726 fi
20727 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
20728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20729 $as_echo "yes" >&6; }
20730 else
20731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20732 $as_echo "no" >&6; }
20733
20734 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
20735
20736 fi
20737
20738 # FIXME: we rely on the cache variable name because
20739 # there is no other way.
20740 set dummy $CC
20741 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
20742 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
20743 if test "$am_t" != yes; then
20744    # Losing compiler, so override with the script.
20745    # FIXME: It is wrong to rewrite CC.
20746    # But if we don't then we get into trouble of one sort or another.
20747    # A longer-term fix would be to have automake use am__CC in this case,
20748    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
20749    CC="$am_aux_dir/compile $CC"
20750 fi
20751
20752
20753
20754 # Extract the first word of "valgrind", so it can be a program name with args.
20755 set dummy valgrind; ac_word=$2
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20757 $as_echo_n "checking for $ac_word... " >&6; }
20758 if ${ac_cv_path_VALGRIND_PATH+:} false; then :
20759   $as_echo_n "(cached) " >&6
20760 else
20761   case $VALGRIND_PATH in
20762   [\\/]* | ?:[\\/]*)
20763   ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
20764   ;;
20765   *)
20766   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20767 for as_dir in $PATH
20768 do
20769   IFS=$as_save_IFS
20770   test -z "$as_dir" && as_dir=.
20771     for ac_exec_ext in '' $ac_executable_extensions; do
20772   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20773     ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
20774     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20775     break 2
20776   fi
20777 done
20778   done
20779 IFS=$as_save_IFS
20780
20781   test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
20782   ;;
20783 esac
20784 fi
20785 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
20786 if test -n "$VALGRIND_PATH"; then
20787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
20788 $as_echo "$VALGRIND_PATH" >&6; }
20789 else
20790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20791 $as_echo "no" >&6; }
20792 fi
20793
20794
20795  if test ! "x$VALGRIND_PATH" = "xno"; then
20796   HAVE_VALGRIND_TRUE=
20797   HAVE_VALGRIND_FALSE='#'
20798 else
20799   HAVE_VALGRIND_TRUE='#'
20800   HAVE_VALGRIND_FALSE=
20801 fi
20802
20803
20804
20805
20806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working do while(0) macros" >&5
20807 $as_echo_n "checking for working do while(0) macros... " >&6; }
20808 if ${_cv_g_support_dowhile_macros+:} false; then :
20809   $as_echo_n "(cached) " >&6
20810 else
20811
20812         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20813 /* end confdefs.h.  */
20814
20815 int
20816 main ()
20817 {
20818
20819         #define STMT_START do
20820         #define STMT_END while(0)
20821         #define STMT_TEST STMT_START { i = 0; } STMT_END
20822         int main(void) { int i = 1; STMT_TEST; return i; }
20823   ;
20824   return 0;
20825 }
20826 _ACEOF
20827 if ac_fn_c_try_compile "$LINENO"; then :
20828   _cv_g_support_dowhile_macros=yes
20829 else
20830   _cv_g_support_dowhile_macros=no
20831 fi
20832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20833
20834 fi
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_g_support_dowhile_macros" >&5
20836 $as_echo "$_cv_g_support_dowhile_macros" >&6; }
20837 if test x$_cv_g_support_dowhile_macros = xyes; then
20838
20839 $as_echo "#define HAVE_DOWHILE_MACROS 1" >>confdefs.h
20840
20841 fi
20842
20843
20844
20845
20846 # Check whether --with-html-dir was given.
20847 if test "${with_html_dir+set}" = set; then :
20848   withval=$with_html_dir;
20849 else
20850   with_html_dir='${datadir}/gtk-doc/html'
20851 fi
20852
20853   HTML_DIR="$with_html_dir"
20854
20855
20856     # Check whether --enable-gtk-doc was given.
20857 if test "${enable_gtk_doc+set}" = set; then :
20858   enableval=$enable_gtk_doc;
20859 else
20860   enable_gtk_doc=no
20861 fi
20862
20863
20864   if test x$enable_gtk_doc = xyes; then
20865     if test -n "$PKG_CONFIG" && \
20866     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
20867   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
20868   ac_status=$?
20869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20870   test $ac_status = 0; }; then
20871   :
20872 else
20873   as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
20874 fi
20875     if test -z "$SED"; then
20876       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
20877 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
20878 if ${ac_cv_path_SED+:} false; then :
20879   $as_echo_n "(cached) " >&6
20880 else
20881             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
20882      for ac_i in 1 2 3 4 5 6 7; do
20883        ac_script="$ac_script$as_nl$ac_script"
20884      done
20885      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
20886      { ac_script=; unset ac_script;}
20887      if test -z "$SED"; then
20888   ac_path_SED_found=false
20889   # Loop through the user's path and test for each of PROGNAME-LIST
20890   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20891 for as_dir in $PATH
20892 do
20893   IFS=$as_save_IFS
20894   test -z "$as_dir" && as_dir=.
20895     for ac_prog in sed gsed; do
20896     for ac_exec_ext in '' $ac_executable_extensions; do
20897       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
20898       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
20899 # Check for GNU ac_path_SED and select it if it is found.
20900   # Check for GNU $ac_path_SED
20901 case `"$ac_path_SED" --version 2>&1` in
20902 *GNU*)
20903   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
20904 *)
20905   ac_count=0
20906   $as_echo_n 0123456789 >"conftest.in"
20907   while :
20908   do
20909     cat "conftest.in" "conftest.in" >"conftest.tmp"
20910     mv "conftest.tmp" "conftest.in"
20911     cp "conftest.in" "conftest.nl"
20912     $as_echo '' >> "conftest.nl"
20913     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
20914     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
20915     as_fn_arith $ac_count + 1 && ac_count=$as_val
20916     if test $ac_count -gt ${ac_path_SED_max-0}; then
20917       # Best one so far, save it but keep looking for a better one
20918       ac_cv_path_SED="$ac_path_SED"
20919       ac_path_SED_max=$ac_count
20920     fi
20921     # 10*(2^10) chars as input seems more than enough
20922     test $ac_count -gt 10 && break
20923   done
20924   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
20925 esac
20926
20927       $ac_path_SED_found && break 3
20928     done
20929   done
20930   done
20931 IFS=$as_save_IFS
20932   if test -z "$ac_cv_path_SED"; then
20933     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
20934   fi
20935 else
20936   ac_cv_path_SED=$SED
20937 fi
20938
20939 fi
20940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
20941 $as_echo "$ac_cv_path_SED" >&6; }
20942  SED="$ac_cv_path_SED"
20943   rm -f conftest.sed
20944
20945     fi
20946   fi
20947
20948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
20949 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
20950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
20951 $as_echo "$enable_gtk_doc" >&6; }
20952
20953   for ac_prog in gtkdoc-check
20954 do
20955   # Extract the first word of "$ac_prog", so it can be a program name with args.
20956 set dummy $ac_prog; ac_word=$2
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20958 $as_echo_n "checking for $ac_word... " >&6; }
20959 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
20960   $as_echo_n "(cached) " >&6
20961 else
20962   case $GTKDOC_CHECK in
20963   [\\/]* | ?:[\\/]*)
20964   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
20965   ;;
20966   *)
20967   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20968 for as_dir in $PATH
20969 do
20970   IFS=$as_save_IFS
20971   test -z "$as_dir" && as_dir=.
20972     for ac_exec_ext in '' $ac_executable_extensions; do
20973   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20974     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
20975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20976     break 2
20977   fi
20978 done
20979   done
20980 IFS=$as_save_IFS
20981
20982   ;;
20983 esac
20984 fi
20985 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
20986 if test -n "$GTKDOC_CHECK"; then
20987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
20988 $as_echo "$GTKDOC_CHECK" >&6; }
20989 else
20990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20991 $as_echo "no" >&6; }
20992 fi
20993
20994
20995   test -n "$GTKDOC_CHECK" && break
20996 done
20997
20998
20999    if test x$enable_gtk_doc = xyes; then
21000   ENABLE_GTK_DOC_TRUE=
21001   ENABLE_GTK_DOC_FALSE='#'
21002 else
21003   ENABLE_GTK_DOC_TRUE='#'
21004   ENABLE_GTK_DOC_FALSE=
21005 fi
21006
21007    if test -n "$LIBTOOL"; then
21008   GTK_DOC_USE_LIBTOOL_TRUE=
21009   GTK_DOC_USE_LIBTOOL_FALSE='#'
21010 else
21011   GTK_DOC_USE_LIBTOOL_TRUE='#'
21012   GTK_DOC_USE_LIBTOOL_FALSE=
21013 fi
21014
21015
21016
21017
21018     PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
21019                      python1.6 python1.5"
21020
21021      { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
21022 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
21023         prog="
21024 import sys, string
21025 minver = '2.1'
21026 # split string by '.' and convert to numeric
21027 minver_info = map(string.atoi, string.split(minver, '.'))
21028 # we can now do comparisons on the two lists:
21029 if sys.version_info >= tuple(minver_info):
21030         sys.exit(0)
21031 else:
21032         sys.exit(1)"
21033
21034     python_good=false
21035     for python_candidate in $PYTHON_CANDIDATES; do
21036       unset PYTHON
21037       # Extract the first word of "$python_candidate", so it can be a program name with args.
21038 set dummy $python_candidate; ac_word=$2
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21040 $as_echo_n "checking for $ac_word... " >&6; }
21041 if ${ac_cv_path_PYTHON+:} false; then :
21042   $as_echo_n "(cached) " >&6
21043 else
21044   case $PYTHON in
21045   [\\/]* | ?:[\\/]*)
21046   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
21047   ;;
21048   *)
21049   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21050 for as_dir in $PATH
21051 do
21052   IFS=$as_save_IFS
21053   test -z "$as_dir" && as_dir=.
21054     for ac_exec_ext in '' $ac_executable_extensions; do
21055   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21056     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
21057     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21058     break 2
21059   fi
21060 done
21061   done
21062 IFS=$as_save_IFS
21063
21064   ;;
21065 esac
21066 fi
21067 PYTHON=$ac_cv_path_PYTHON
21068 if test -n "$PYTHON"; then
21069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
21070 $as_echo "$PYTHON" >&6; }
21071 else
21072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21073 $as_echo "no" >&6; }
21074 fi
21075
21076  1> /dev/null 2> /dev/null
21077
21078       if test "x$PYTHON" = "x"; then continue; fi
21079
21080       if $PYTHON -c "$prog" 1>&5 2>&5; then
21081         { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
21082 $as_echo_n "checking \"$PYTHON\":... " >&6; }
21083         { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
21084 $as_echo "okay" >&6; }
21085         python_good=true
21086         break;
21087       else
21088                 unset ac_cv_path_PYTHON
21089       fi
21090     done
21091
21092
21093   if test "$python_good" != "true"; then
21094     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
21095 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
21096     PYTHON=
21097   else
21098
21099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
21100 $as_echo_n "checking local Python configuration... " >&6; }
21101
21102
21103
21104     PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
21105
21106
21107
21108
21109   PYTHON_PREFIX='${prefix}'
21110
21111
21112   PYTHON_EXEC_PREFIX='${exec_prefix}'
21113
21114
21115
21116   PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
21117
21118
21119
21120
21121
21122   pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
21123
21124
21125
21126   pkgpythondir=\${pythondir}/$PACKAGE
21127
21128
21129
21130   pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
21131
21132
21133
21134   pkgpyexecdir=\${pyexecdir}/$PACKAGE
21135
21136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
21137 $as_echo "looks good" >&6; }
21138
21139   fi
21140
21141
21142
21143   build_plugin_docs=no
21144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
21145 $as_echo_n "checking whether to build plugin documentation... " >&6; }
21146   if test x$enable_gtk_doc = xyes; then
21147     build_plugin_docs=yes
21148     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21149 $as_echo "yes" >&6; }
21150   else
21151     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
21152 $as_echo "no (gtk-doc disabled or not available)" >&6; }
21153   fi
21154
21155    if test x$build_plugin_docs = xyes; then
21156   ENABLE_PLUGIN_DOCS_TRUE=
21157   ENABLE_PLUGIN_DOCS_FALSE='#'
21158 else
21159   ENABLE_PLUGIN_DOCS_TRUE='#'
21160   ENABLE_PLUGIN_DOCS_FALSE=
21161 fi
21162
21163
21164
21165
21166 LIBM=
21167 case $host in
21168 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
21169   # These system don't have libm, or don't need it
21170   ;;
21171 *-ncr-sysv4.3*)
21172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
21173 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
21174 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
21175   $as_echo_n "(cached) " >&6
21176 else
21177   ac_check_lib_save_LIBS=$LIBS
21178 LIBS="-lmw  $LIBS"
21179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21180 /* end confdefs.h.  */
21181
21182 /* Override any GCC internal prototype to avoid an error.
21183    Use char because int might match the return type of a GCC
21184    builtin and then its argument prototype would still apply.  */
21185 #ifdef __cplusplus
21186 extern "C"
21187 #endif
21188 char _mwvalidcheckl ();
21189 int
21190 main ()
21191 {
21192 return _mwvalidcheckl ();
21193   ;
21194   return 0;
21195 }
21196 _ACEOF
21197 if ac_fn_c_try_link "$LINENO"; then :
21198   ac_cv_lib_mw__mwvalidcheckl=yes
21199 else
21200   ac_cv_lib_mw__mwvalidcheckl=no
21201 fi
21202 rm -f core conftest.err conftest.$ac_objext \
21203     conftest$ac_exeext conftest.$ac_ext
21204 LIBS=$ac_check_lib_save_LIBS
21205 fi
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
21207 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
21208 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
21209   LIBM="-lmw"
21210 fi
21211
21212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
21213 $as_echo_n "checking for cos in -lm... " >&6; }
21214 if ${ac_cv_lib_m_cos+:} false; then :
21215   $as_echo_n "(cached) " >&6
21216 else
21217   ac_check_lib_save_LIBS=$LIBS
21218 LIBS="-lm  $LIBS"
21219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21220 /* end confdefs.h.  */
21221
21222 /* Override any GCC internal prototype to avoid an error.
21223    Use char because int might match the return type of a GCC
21224    builtin and then its argument prototype would still apply.  */
21225 #ifdef __cplusplus
21226 extern "C"
21227 #endif
21228 char cos ();
21229 int
21230 main ()
21231 {
21232 return cos ();
21233   ;
21234   return 0;
21235 }
21236 _ACEOF
21237 if ac_fn_c_try_link "$LINENO"; then :
21238   ac_cv_lib_m_cos=yes
21239 else
21240   ac_cv_lib_m_cos=no
21241 fi
21242 rm -f core conftest.err conftest.$ac_objext \
21243     conftest$ac_exeext conftest.$ac_ext
21244 LIBS=$ac_check_lib_save_LIBS
21245 fi
21246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
21247 $as_echo "$ac_cv_lib_m_cos" >&6; }
21248 if test "x$ac_cv_lib_m_cos" = xyes; then :
21249   LIBM="$LIBM -lm"
21250 fi
21251
21252   ;;
21253 *)
21254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
21255 $as_echo_n "checking for cos in -lm... " >&6; }
21256 if ${ac_cv_lib_m_cos+:} false; then :
21257   $as_echo_n "(cached) " >&6
21258 else
21259   ac_check_lib_save_LIBS=$LIBS
21260 LIBS="-lm  $LIBS"
21261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21262 /* end confdefs.h.  */
21263
21264 /* Override any GCC internal prototype to avoid an error.
21265    Use char because int might match the return type of a GCC
21266    builtin and then its argument prototype would still apply.  */
21267 #ifdef __cplusplus
21268 extern "C"
21269 #endif
21270 char cos ();
21271 int
21272 main ()
21273 {
21274 return cos ();
21275   ;
21276   return 0;
21277 }
21278 _ACEOF
21279 if ac_fn_c_try_link "$LINENO"; then :
21280   ac_cv_lib_m_cos=yes
21281 else
21282   ac_cv_lib_m_cos=no
21283 fi
21284 rm -f core conftest.err conftest.$ac_objext \
21285     conftest$ac_exeext conftest.$ac_ext
21286 LIBS=$ac_check_lib_save_LIBS
21287 fi
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
21289 $as_echo "$ac_cv_lib_m_cos" >&6; }
21290 if test "x$ac_cv_lib_m_cos" = xyes; then :
21291   LIBM="-lm"
21292 fi
21293
21294   ;;
21295 esac
21296
21297
21298
21299
21300
21301 # ------ AX CREATE STDINT H -------------------------------------
21302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
21303 $as_echo_n "checking for stdint types... " >&6; }
21304 ac_stdint_h=`echo _stdint.h`
21305 # try to shortcircuit - if the default include path of the compiler
21306 # can find a "stdint.h" header then we assume that all compilers can.
21307 if ${ac_cv_header_stdint_t+:} false; then :
21308   $as_echo_n "(cached) " >&6
21309 else
21310
21311 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
21312 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
21313 old_CFLAGS="$CFLAGS"     ; CFLAGS=""
21314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21315 /* end confdefs.h.  */
21316 #include <stdint.h>
21317 int
21318 main ()
21319 {
21320 int_least32_t v = 0;
21321   ;
21322   return 0;
21323 }
21324 _ACEOF
21325 if ac_fn_c_try_compile "$LINENO"; then :
21326   ac_cv_stdint_result="(assuming C99 compatible system)"
21327  ac_cv_header_stdint_t="stdint.h";
21328 else
21329   ac_cv_header_stdint_t=""
21330 fi
21331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21332 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
21333 CFLAGS="-std=c99"
21334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21335 /* end confdefs.h.  */
21336 #include <stdint.h>
21337 int
21338 main ()
21339 {
21340 int_least32_t v = 0;
21341   ;
21342   return 0;
21343 }
21344 _ACEOF
21345 if ac_fn_c_try_compile "$LINENO"; then :
21346   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
21347 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
21348 fi
21349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21350 fi
21351 CXXFLAGS="$old_CXXFLAGS"
21352 CPPFLAGS="$old_CPPFLAGS"
21353 CFLAGS="$old_CFLAGS"
21354 fi
21355
21356
21357 v="... $ac_cv_header_stdint_h"
21358 if test "$ac_stdint_h" = "stdint.h" ; then
21359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
21360 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
21361 elif test "$ac_stdint_h" = "inttypes.h" ; then
21362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
21363 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
21364 elif test "_$ac_cv_header_stdint_t" = "_" ; then
21365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
21366 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
21367 else
21368  ac_cv_header_stdint="$ac_cv_header_stdint_t"
21369  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
21370 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
21371 fi
21372
21373 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
21374
21375
21376 inttype_headers=`echo  | sed -e 's/,/ /g'`
21377
21378 ac_cv_stdint_result="(no helpful system typedefs seen)"
21379
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
21381 $as_echo_n "checking for stdint uintptr_t... " >&6; }
21382 if ${ac_cv_header_stdint_x+:} false; then :
21383   $as_echo_n "(cached) " >&6
21384 else
21385
21386  ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
21387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21388 $as_echo "(..)" >&6; }
21389   for i in    stdint.h inttypes.h sys/inttypes.h $inttype_headers
21390   do
21391    unset ac_cv_type_uintptr_t
21392    unset ac_cv_type_uint64_t
21393    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
21394 "
21395 if test "x$ac_cv_type_uintptr_t" = xyes; then :
21396   ac_cv_header_stdint_x=$i
21397 else
21398   continue
21399 fi
21400
21401    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
21402 "
21403 if test "x$ac_cv_type_uint64_t" = xyes; then :
21404   and64="/uint64_t"
21405 else
21406   and64=""
21407 fi
21408
21409    ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
21410  break
21411   done
21412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
21413 $as_echo_n "checking for stdint uintptr_t... " >&6; }
21414
21415 fi
21416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
21417 $as_echo "$ac_cv_header_stdint_x" >&6; }
21418
21419
21420 if test "_$ac_cv_header_stdint_x" = "_" ; then
21421
21422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
21423 $as_echo_n "checking for stdint uint32_t... " >&6; }
21424 if ${ac_cv_header_stdint_o+:} false; then :
21425   $as_echo_n "(cached) " >&6
21426 else
21427
21428  ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
21429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21430 $as_echo "(..)" >&6; }
21431   for i in    inttypes.h sys/inttypes.h stdint.h $inttype_headers
21432   do
21433    unset ac_cv_type_uint32_t
21434    unset ac_cv_type_uint64_t
21435    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
21436 "
21437 if test "x$ac_cv_type_uint32_t" = xyes; then :
21438   ac_cv_header_stdint_o=$i
21439 else
21440   continue
21441 fi
21442
21443    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
21444 "
21445 if test "x$ac_cv_type_uint64_t" = xyes; then :
21446   and64="/uint64_t"
21447 else
21448   and64=""
21449 fi
21450
21451    ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
21452  break
21453    break;
21454   done
21455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
21456 $as_echo_n "checking for stdint uint32_t... " >&6; }
21457
21458 fi
21459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
21460 $as_echo "$ac_cv_header_stdint_o" >&6; }
21461
21462 fi
21463
21464 if test "_$ac_cv_header_stdint_x" = "_" ; then
21465 if test "_$ac_cv_header_stdint_o" = "_" ; then
21466
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
21468 $as_echo_n "checking for stdint u_int32_t... " >&6; }
21469 if ${ac_cv_header_stdint_u+:} false; then :
21470   $as_echo_n "(cached) " >&6
21471 else
21472
21473  ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
21474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21475 $as_echo "(..)" >&6; }
21476   for i in    sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
21477    unset ac_cv_type_u_int32_t
21478    unset ac_cv_type_u_int64_t
21479    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
21480 "
21481 if test "x$ac_cv_type_u_int32_t" = xyes; then :
21482   ac_cv_header_stdint_u=$i
21483 else
21484   continue
21485 fi
21486
21487    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
21488 "
21489 if test "x$ac_cv_type_u_int64_t" = xyes; then :
21490   and64="/u_int64_t"
21491 else
21492   and64=""
21493 fi
21494
21495    ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
21496  break
21497    break;
21498   done
21499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
21500 $as_echo_n "checking for stdint u_int32_t... " >&6; }
21501
21502 fi
21503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
21504 $as_echo "$ac_cv_header_stdint_u" >&6; }
21505
21506 fi fi
21507
21508 if test "_$ac_cv_header_stdint_x" = "_" ; then
21509    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
21510 $as_echo_n "checking for stdint datatype model... " >&6; }
21511    { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21512 $as_echo "(..)" >&6; }
21513
21514    # The cast to long int works around a bug in the HP C Compiler
21515 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21516 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21517 # This bug is HP SR number 8606223364.
21518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
21519 $as_echo_n "checking size of char... " >&6; }
21520 if ${ac_cv_sizeof_char+:} false; then :
21521   $as_echo_n "(cached) " >&6
21522 else
21523   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
21524
21525 else
21526   if test "$ac_cv_type_char" = yes; then
21527      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21529 as_fn_error 77 "cannot compute sizeof (char)
21530 See \`config.log' for more details" "$LINENO" 5; }
21531    else
21532      ac_cv_sizeof_char=0
21533    fi
21534 fi
21535
21536 fi
21537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
21538 $as_echo "$ac_cv_sizeof_char" >&6; }
21539
21540
21541
21542 cat >>confdefs.h <<_ACEOF
21543 #define SIZEOF_CHAR $ac_cv_sizeof_char
21544 _ACEOF
21545
21546
21547    # The cast to long int works around a bug in the HP C Compiler
21548 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21549 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21550 # This bug is HP SR number 8606223364.
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
21552 $as_echo_n "checking size of short... " >&6; }
21553 if ${ac_cv_sizeof_short+:} false; then :
21554   $as_echo_n "(cached) " >&6
21555 else
21556   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
21557
21558 else
21559   if test "$ac_cv_type_short" = yes; then
21560      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21562 as_fn_error 77 "cannot compute sizeof (short)
21563 See \`config.log' for more details" "$LINENO" 5; }
21564    else
21565      ac_cv_sizeof_short=0
21566    fi
21567 fi
21568
21569 fi
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
21571 $as_echo "$ac_cv_sizeof_short" >&6; }
21572
21573
21574
21575 cat >>confdefs.h <<_ACEOF
21576 #define SIZEOF_SHORT $ac_cv_sizeof_short
21577 _ACEOF
21578
21579
21580    # The cast to long int works around a bug in the HP C Compiler
21581 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21582 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21583 # This bug is HP SR number 8606223364.
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
21585 $as_echo_n "checking size of int... " >&6; }
21586 if ${ac_cv_sizeof_int+:} false; then :
21587   $as_echo_n "(cached) " >&6
21588 else
21589   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
21590
21591 else
21592   if test "$ac_cv_type_int" = yes; then
21593      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21595 as_fn_error 77 "cannot compute sizeof (int)
21596 See \`config.log' for more details" "$LINENO" 5; }
21597    else
21598      ac_cv_sizeof_int=0
21599    fi
21600 fi
21601
21602 fi
21603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
21604 $as_echo "$ac_cv_sizeof_int" >&6; }
21605
21606
21607
21608 cat >>confdefs.h <<_ACEOF
21609 #define SIZEOF_INT $ac_cv_sizeof_int
21610 _ACEOF
21611
21612
21613    # The cast to long int works around a bug in the HP C Compiler
21614 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21615 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21616 # This bug is HP SR number 8606223364.
21617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
21618 $as_echo_n "checking size of long... " >&6; }
21619 if ${ac_cv_sizeof_long+:} false; then :
21620   $as_echo_n "(cached) " >&6
21621 else
21622   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
21623
21624 else
21625   if test "$ac_cv_type_long" = yes; then
21626      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21628 as_fn_error 77 "cannot compute sizeof (long)
21629 See \`config.log' for more details" "$LINENO" 5; }
21630    else
21631      ac_cv_sizeof_long=0
21632    fi
21633 fi
21634
21635 fi
21636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
21637 $as_echo "$ac_cv_sizeof_long" >&6; }
21638
21639
21640
21641 cat >>confdefs.h <<_ACEOF
21642 #define SIZEOF_LONG $ac_cv_sizeof_long
21643 _ACEOF
21644
21645
21646    # The cast to long int works around a bug in the HP C Compiler
21647 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21648 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21649 # This bug is HP SR number 8606223364.
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
21651 $as_echo_n "checking size of void*... " >&6; }
21652 if ${ac_cv_sizeof_voidp+:} false; then :
21653   $as_echo_n "(cached) " >&6
21654 else
21655   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
21656
21657 else
21658   if test "$ac_cv_type_voidp" = yes; then
21659      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21661 as_fn_error 77 "cannot compute sizeof (void*)
21662 See \`config.log' for more details" "$LINENO" 5; }
21663    else
21664      ac_cv_sizeof_voidp=0
21665    fi
21666 fi
21667
21668 fi
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
21670 $as_echo "$ac_cv_sizeof_voidp" >&6; }
21671
21672
21673
21674 cat >>confdefs.h <<_ACEOF
21675 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
21676 _ACEOF
21677
21678
21679    ac_cv_char_data_model=""
21680    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
21681    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
21682    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
21683    ac_cv_long_data_model=""
21684    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
21685    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
21686    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
21687    { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
21688 $as_echo_n "checking data model... " >&6; }
21689    case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
21690     122/242)     ac_cv_data_model="IP16"  ; n="standard 16bit machine" ;;
21691     122/244)     ac_cv_data_model="LP32"  ; n="standard 32bit machine" ;;
21692     122/*)       ac_cv_data_model="i16"   ; n="unusual int16 model" ;;
21693     124/444)     ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
21694     124/488)     ac_cv_data_model="LP64"  ; n="standard 64bit unixish" ;;
21695     124/448)     ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
21696     124/*)       ac_cv_data_model="i32"   ; n="unusual int32 model" ;;
21697     128/888)     ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
21698     128/*)       ac_cv_data_model="i64"   ; n="unusual int64 model" ;;
21699     222/*2)      ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
21700     333/*3)      ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
21701     444/*4)      ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
21702     666/*6)      ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
21703     888/*8)      ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
21704     222/*|333/*|444/*|666/*|888/*) :
21705                  ac_cv_data_model="iDSP"  ; n="unusual dsptype" ;;
21706      *)          ac_cv_data_model="none"  ; n="very unusual model" ;;
21707    esac
21708    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
21709 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
21710
21711 fi
21712
21713 if test "_$ac_cv_header_stdint_x" != "_" ; then
21714    ac_cv_header_stdint="$ac_cv_header_stdint_x"
21715 elif  test "_$ac_cv_header_stdint_o" != "_" ; then
21716    ac_cv_header_stdint="$ac_cv_header_stdint_o"
21717 elif  test "_$ac_cv_header_stdint_u" != "_" ; then
21718    ac_cv_header_stdint="$ac_cv_header_stdint_u"
21719 else
21720    ac_cv_header_stdint="stddef.h"
21721 fi
21722
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
21724 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
21726 $as_echo "($ac_cv_header_stdint)" >&6; }
21727 unset ac_cv_type_int_least32_t
21728 unset ac_cv_type_int_fast32_t
21729 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
21730 "
21731 if test "x$ac_cv_type_int_least32_t" = xyes; then :
21732
21733 fi
21734
21735 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
21736 "
21737 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
21738
21739 fi
21740
21741 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
21742 "
21743 if test "x$ac_cv_type_intmax_t" = xyes; then :
21744
21745 fi
21746
21747
21748 fi # shortcircut to system "stdint.h"
21749 # ------------------ PREPARE VARIABLES ------------------------------
21750 if test "$GCC" = "yes" ; then
21751 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
21752 else
21753 ac_cv_stdint_message="using $CC"
21754 fi
21755
21756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
21757 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
21758
21759 # ----------------- DONE inttypes.h checks START header -------------
21760 ac_config_commands="$ac_config_commands $ac_stdint_h"
21761
21762
21763
21764 for ac_header in malloc.h
21765 do :
21766   ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
21767 if test "x$ac_cv_header_malloc_h" = xyes; then :
21768   cat >>confdefs.h <<_ACEOF
21769 #define HAVE_MALLOC_H 1
21770 _ACEOF
21771
21772 fi
21773
21774 done
21775
21776
21777
21778
21779
21780
21781
21782     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __PRETTY_FUNCTION__" >&5
21783 $as_echo_n "checking whether $CC implements __PRETTY_FUNCTION__... " >&6; }
21784   if ${gst_cv_have_pretty_function+:} false; then :
21785   $as_echo_n "(cached) " >&6
21786 else
21787
21788     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21789 /* end confdefs.h.  */
21790 #include <stdio.h>
21791 int
21792 main ()
21793 {
21794 printf("%s", __PRETTY_FUNCTION__);
21795   ;
21796   return 0;
21797 }
21798 _ACEOF
21799 if ac_fn_c_try_link "$LINENO"; then :
21800   gst_cv_have_pretty_function=yes
21801 else
21802   gst_cv_have_pretty_function=no
21803 fi
21804 rm -f core conftest.err conftest.$ac_objext \
21805     conftest$ac_exeext conftest.$ac_ext
21806
21807 fi
21808
21809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_pretty_function" >&5
21810 $as_echo "$gst_cv_have_pretty_function" >&6; }
21811   if test "$gst_cv_have_pretty_function" = yes; then
21812
21813 $as_echo "#define HAVE_PRETTY_FUNCTION 1" >>confdefs.h
21814
21815   fi
21816
21817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __FUNCTION__" >&5
21818 $as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; }
21819   if ${gst_cv_have_function+:} false; then :
21820   $as_echo_n "(cached) " >&6
21821 else
21822
21823     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21824 /* end confdefs.h.  */
21825 #include <stdio.h>
21826 int
21827 main ()
21828 {
21829 printf("%s", __FUNCTION__);
21830   ;
21831   return 0;
21832 }
21833 _ACEOF
21834 if ac_fn_c_try_link "$LINENO"; then :
21835   gst_cv_have_function=yes
21836 else
21837   gst_cv_have_function=no
21838 fi
21839 rm -f core conftest.err conftest.$ac_objext \
21840     conftest$ac_exeext conftest.$ac_ext
21841
21842 fi
21843
21844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_function" >&5
21845 $as_echo "$gst_cv_have_function" >&6; }
21846   if test "$gst_cv_have_function" = yes; then
21847
21848 $as_echo "#define HAVE_FUNCTION 1" >>confdefs.h
21849
21850   fi
21851
21852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __func__" >&5
21853 $as_echo_n "checking whether $CC implements __func__... " >&6; }
21854   if ${gst_cv_have_func+:} false; then :
21855   $as_echo_n "(cached) " >&6
21856 else
21857
21858     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21859 /* end confdefs.h.  */
21860 #include <stdio.h>
21861 int
21862 main ()
21863 {
21864 printf("%s", __func__);
21865   ;
21866   return 0;
21867 }
21868 _ACEOF
21869 if ac_fn_c_try_link "$LINENO"; then :
21870   gst_cv_have_func=yes
21871 else
21872   gst_cv_have_func=no
21873 fi
21874 rm -f core conftest.err conftest.$ac_objext \
21875     conftest$ac_exeext conftest.$ac_ext
21876
21877 fi
21878
21879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_func" >&5
21880 $as_echo "$gst_cv_have_func" >&6; }
21881   if test "$gst_cv_have_func" = yes; then
21882
21883 $as_echo "#define HAVE_FUNC 1" >>confdefs.h
21884
21885   fi
21886
21887   if test "$gst_cv_have_pretty_function" = yes; then
21888     function=__PRETTY_FUNCTION__
21889   else
21890     if test "$gst_cv_have_function" = yes; then
21891       function=__FUNCTION__
21892     else
21893       if test "$gst_cv_have_func" = yes; then
21894         function=__func__
21895       else
21896         function=\"\"
21897       fi
21898     fi
21899   fi
21900
21901 cat >>confdefs.h <<_ACEOF
21902 #define GST_FUNCTION $function
21903 _ACEOF
21904
21905
21906
21907
21908
21909
21910
21911     GLIB_REQ=2.24
21912   if test "x$GLIB_REQ" = "x"
21913   then
21914     as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
21915   fi
21916
21917
21918
21919   which="glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0"
21920     required="no"
21921
21922
21923 pkg_failed=no
21924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
21925 $as_echo_n "checking for GLIB... " >&6; }
21926
21927 if test -n "$PKG_CONFIG"; then
21928     if test -n "$GLIB_CFLAGS"; then
21929         pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
21930     else
21931         if test -n "$PKG_CONFIG" && \
21932     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
21933   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
21934   ac_status=$?
21935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21936   test $ac_status = 0; }; then
21937   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
21938 else
21939   pkg_failed=yes
21940 fi
21941     fi
21942 else
21943         pkg_failed=untried
21944 fi
21945 if test -n "$PKG_CONFIG"; then
21946     if test -n "$GLIB_LIBS"; then
21947         pkg_cv_GLIB_LIBS="$GLIB_LIBS"
21948     else
21949         if test -n "$PKG_CONFIG" && \
21950     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
21951   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
21952   ac_status=$?
21953   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21954   test $ac_status = 0; }; then
21955   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
21956 else
21957   pkg_failed=yes
21958 fi
21959     fi
21960 else
21961         pkg_failed=untried
21962 fi
21963
21964
21965
21966 if test $pkg_failed = yes; then
21967
21968 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21969         _pkg_short_errors_supported=yes
21970 else
21971         _pkg_short_errors_supported=no
21972 fi
21973         if test $_pkg_short_errors_supported = yes; then
21974                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
21975         else
21976                 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
21977         fi
21978         # Put the nasty error message in config.log where it belongs
21979         echo "$GLIB_PKG_ERRORS" >&5
21980
21981         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21982 $as_echo "no" >&6; }
21983
21984       HAVE_GLIB="no"
21985       if test "x$required" = "xyes"; then
21986         as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
21987       else
21988         { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
21989 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
21990       fi
21991
21992 elif test $pkg_failed = untried; then
21993
21994       HAVE_GLIB="no"
21995       if test "x$required" = "xyes"; then
21996         as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
21997       else
21998         { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
21999 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
22000       fi
22001
22002 else
22003         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
22004         GLIB_LIBS=$pkg_cv_GLIB_LIBS
22005         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22006 $as_echo "yes" >&6; }
22007
22008       HAVE_GLIB="yes"
22009
22010 fi
22011
22012
22013
22014   if test "x$HAVE_GLIB" = "xno"; then
22015     as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
22016   fi
22017
22018         GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
22019
22020     if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22021     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
22022   fi
22023
22024   # Check whether --enable-gobject-cast-checks was given.
22025 if test "${enable_gobject_cast_checks+set}" = set; then :
22026   enableval=$enable_gobject_cast_checks;
22027 else
22028   enable_gobject_cast_checks=auto
22029 fi
22030
22031
22032   if test "x$enable_gobject_cast_checks" = "xauto"; then
22033         if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22034       enable_gobject_cast_checks=yes
22035     else
22036       enable_gobject_cast_checks=no
22037     fi
22038   fi
22039
22040   if test "x$enable_gobject_cast_checks" = "xno"; then
22041     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
22042   fi
22043
22044   # Check whether --enable-glib-asserts was given.
22045 if test "${enable_glib_asserts+set}" = set; then :
22046   enableval=$enable_glib_asserts;
22047 else
22048   enable_glib_assertions=auto
22049 fi
22050
22051
22052   if test "x$enable_glib_assertions" = "xauto"; then
22053         if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22054       enable_glib_assertions=yes
22055     else
22056       enable_glib_assertions=no
22057     fi
22058   fi
22059
22060   if test "x$enable_glib_assertions" = "xno"; then
22061     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
22062   fi
22063
22064
22065   GIVEN_CFLAGS=$GLIB_CFLAGS
22066   INCLUDE_DIRS=`echo | cpp -v 2>&1`
22067
22068       INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
22069   for dir in $INCLUDE_DIRS; do
22070         GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
22071   done
22072   GLIB_CFLAGS=$GIVEN_CFLAGS
22073
22074
22075
22076
22077
22078   ORC_REQ=0.4.11
22079
22080   # Check whether --enable-orc was given.
22081 if test "${enable_orc+set}" = set; then :
22082   enableval=$enable_orc; case "${enableval}" in
22083     auto) enable_orc=auto ;;
22084     yes) enable_orc=yes ;;
22085     no)  enable_orc=no ;;
22086     *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5 ;;
22087   esac
22088
22089 else
22090   enable_orc=auto
22091 fi
22092
22093   if test "x$enable_orc" != "xno" ; then
22094
22095 pkg_failed=no
22096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
22097 $as_echo_n "checking for ORC... " >&6; }
22098
22099 if test -n "$PKG_CONFIG"; then
22100     if test -n "$ORC_CFLAGS"; then
22101         pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
22102     else
22103         if test -n "$PKG_CONFIG" && \
22104     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
22105   ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
22106   ac_status=$?
22107   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22108   test $ac_status = 0; }; then
22109   pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
22110 else
22111   pkg_failed=yes
22112 fi
22113     fi
22114 else
22115         pkg_failed=untried
22116 fi
22117 if test -n "$PKG_CONFIG"; then
22118     if test -n "$ORC_LIBS"; then
22119         pkg_cv_ORC_LIBS="$ORC_LIBS"
22120     else
22121         if test -n "$PKG_CONFIG" && \
22122     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
22123   ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
22124   ac_status=$?
22125   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22126   test $ac_status = 0; }; then
22127   pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
22128 else
22129   pkg_failed=yes
22130 fi
22131     fi
22132 else
22133         pkg_failed=untried
22134 fi
22135
22136
22137
22138 if test $pkg_failed = yes; then
22139
22140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22141         _pkg_short_errors_supported=yes
22142 else
22143         _pkg_short_errors_supported=no
22144 fi
22145         if test $_pkg_short_errors_supported = yes; then
22146                 ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
22147         else
22148                 ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
22149         fi
22150         # Put the nasty error message in config.log where it belongs
22151         echo "$ORC_PKG_ERRORS" >&5
22152
22153         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22154 $as_echo "no" >&6; }
22155
22156       if test "x$enable_orc" = "xyes" ; then
22157         as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
22158       fi
22159
22160 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
22161
22162       HAVE_ORC=no
22163       HAVE_ORCC=no
22164
22165 elif test $pkg_failed = untried; then
22166
22167       if test "x$enable_orc" = "xyes" ; then
22168         as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
22169       fi
22170
22171 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
22172
22173       HAVE_ORC=no
22174       HAVE_ORCC=no
22175
22176 else
22177         ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
22178         ORC_LIBS=$pkg_cv_ORC_LIBS
22179         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22180 $as_echo "yes" >&6; }
22181
22182
22183 $as_echo "#define HAVE_ORC 1" >>confdefs.h
22184
22185       HAVE_ORC=yes
22186       if test "x$ORCC" = "x" ; then
22187         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable orcc" >&5
22188 $as_echo_n "checking for usable orcc... " >&6; }
22189         ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
22190                         if $ORCC --version 1> /dev/null 2> /dev/null; then :
22191
22192 else
22193   ORCC=`which orcc`
22194 fi
22195         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ORCC" >&5
22196 $as_echo "$ORCC" >&6; }
22197       fi
22198
22199       ORCC_FLAGS="--compat $ORC_REQ"
22200
22201       if test "x$ORCC" = "x"; then :
22202   HAVE_ORCC=no
22203 else
22204   HAVE_ORCC=yes
22205 fi
22206
22207 fi
22208   else
22209
22210 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
22211
22212     HAVE_ORC=no
22213     HAVE_ORCC=no
22214   fi
22215    if test "x$HAVE_ORC" = "xyes"; then
22216   HAVE_ORC_TRUE=
22217   HAVE_ORC_FALSE='#'
22218 else
22219   HAVE_ORC_TRUE='#'
22220   HAVE_ORC_FALSE=
22221 fi
22222
22223    if test "x$HAVE_ORCC" = "xyes"; then
22224   HAVE_ORCC_TRUE=
22225   HAVE_ORCC_FALSE='#'
22226 else
22227   HAVE_ORCC_TRUE='#'
22228   HAVE_ORCC_FALSE=
22229 fi
22230
22231
22232
22233
22234
22235
22236   module=gstreamer-$GST_MAJORMINOR
22237   minver=$GST_REQ
22238   name="GStreamer"
22239   required=yes
22240
22241 pkg_failed=no
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
22243 $as_echo_n "checking for GST... " >&6; }
22244
22245 if test -n "$PKG_CONFIG"; then
22246     if test -n "$GST_CFLAGS"; then
22247         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
22248     else
22249         if test -n "$PKG_CONFIG" && \
22250     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22251   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22252   ac_status=$?
22253   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22254   test $ac_status = 0; }; then
22255   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22256 else
22257   pkg_failed=yes
22258 fi
22259     fi
22260 else
22261         pkg_failed=untried
22262 fi
22263 if test -n "$PKG_CONFIG"; then
22264     if test -n "$GST_LIBS"; then
22265         pkg_cv_GST_LIBS="$GST_LIBS"
22266     else
22267         if test -n "$PKG_CONFIG" && \
22268     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22269   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22270   ac_status=$?
22271   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22272   test $ac_status = 0; }; then
22273   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22274 else
22275   pkg_failed=yes
22276 fi
22277     fi
22278 else
22279         pkg_failed=untried
22280 fi
22281
22282
22283
22284 if test $pkg_failed = yes; then
22285
22286 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22287         _pkg_short_errors_supported=yes
22288 else
22289         _pkg_short_errors_supported=no
22290 fi
22291         if test $_pkg_short_errors_supported = yes; then
22292                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22293         else
22294                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22295         fi
22296         # Put the nasty error message in config.log where it belongs
22297         echo "$GST_PKG_ERRORS" >&5
22298
22299         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22300 $as_echo "no" >&6; }
22301
22302       HAVE_GST="no"
22303       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
22304 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
22305       if test "x$required" = "xyes"; then
22306         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22307       else
22308         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22309 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22310       fi
22311
22312 elif test $pkg_failed = untried; then
22313
22314       HAVE_GST="no"
22315       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
22316 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
22317       if test "x$required" = "xyes"; then
22318         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22319       else
22320         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22321 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22322       fi
22323
22324 else
22325         GST_CFLAGS=$pkg_cv_GST_CFLAGS
22326         GST_LIBS=$pkg_cv_GST_LIBS
22327         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22328 $as_echo "yes" >&6; }
22329
22330       HAVE_GST="yes"
22331
22332 fi
22333
22334
22335     if test -z $GST_TOOLS_DIR; then
22336     GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
22337     if test -z $GST_TOOLS_DIR; then
22338       as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
22339     fi
22340   fi
22341   { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
22342 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
22343
22344
22345         if test -z $GST_PLUGINS_DIR; then
22346     GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_MAJORMINOR`
22347     if test -z $GST_PLUGINS_DIR; then
22348       as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
22349     fi
22350   fi
22351   { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
22352 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
22353
22354
22355
22356
22357   module=gstreamer-base-$GST_MAJORMINOR
22358   minver=$GST_REQ
22359   name="GStreamer Base Libraries"
22360   required=yes
22361
22362 pkg_failed=no
22363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
22364 $as_echo_n "checking for GST_BASE... " >&6; }
22365
22366 if test -n "$PKG_CONFIG"; then
22367     if test -n "$GST_BASE_CFLAGS"; then
22368         pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
22369     else
22370         if test -n "$PKG_CONFIG" && \
22371     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22372   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22373   ac_status=$?
22374   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22375   test $ac_status = 0; }; then
22376   pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22377 else
22378   pkg_failed=yes
22379 fi
22380     fi
22381 else
22382         pkg_failed=untried
22383 fi
22384 if test -n "$PKG_CONFIG"; then
22385     if test -n "$GST_BASE_LIBS"; then
22386         pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
22387     else
22388         if test -n "$PKG_CONFIG" && \
22389     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22390   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22391   ac_status=$?
22392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22393   test $ac_status = 0; }; then
22394   pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22395 else
22396   pkg_failed=yes
22397 fi
22398     fi
22399 else
22400         pkg_failed=untried
22401 fi
22402
22403
22404
22405 if test $pkg_failed = yes; then
22406
22407 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22408         _pkg_short_errors_supported=yes
22409 else
22410         _pkg_short_errors_supported=no
22411 fi
22412         if test $_pkg_short_errors_supported = yes; then
22413                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22414         else
22415                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22416         fi
22417         # Put the nasty error message in config.log where it belongs
22418         echo "$GST_BASE_PKG_ERRORS" >&5
22419
22420         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22421 $as_echo "no" >&6; }
22422
22423       HAVE_GST_BASE="no"
22424       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
22425 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
22426       if test "x$required" = "xyes"; then
22427         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22428       else
22429         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22430 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22431       fi
22432
22433 elif test $pkg_failed = untried; then
22434
22435       HAVE_GST_BASE="no"
22436       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
22437 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
22438       if test "x$required" = "xyes"; then
22439         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22440       else
22441         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22442 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22443       fi
22444
22445 else
22446         GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
22447         GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
22448         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22449 $as_echo "yes" >&6; }
22450
22451       HAVE_GST_BASE="yes"
22452
22453 fi
22454
22455
22456
22457
22458
22459   module=gstreamer-check-$GST_MAJORMINOR
22460   minver=$GST_REQ
22461   name="GStreamer Check unittest Library"
22462   required=no
22463
22464 pkg_failed=no
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
22466 $as_echo_n "checking for GST_CHECK... " >&6; }
22467
22468 if test -n "$PKG_CONFIG"; then
22469     if test -n "$GST_CHECK_CFLAGS"; then
22470         pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
22471     else
22472         if test -n "$PKG_CONFIG" && \
22473     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22474   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22475   ac_status=$?
22476   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22477   test $ac_status = 0; }; then
22478   pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22479 else
22480   pkg_failed=yes
22481 fi
22482     fi
22483 else
22484         pkg_failed=untried
22485 fi
22486 if test -n "$PKG_CONFIG"; then
22487     if test -n "$GST_CHECK_LIBS"; then
22488         pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
22489     else
22490         if test -n "$PKG_CONFIG" && \
22491     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22492   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22493   ac_status=$?
22494   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22495   test $ac_status = 0; }; then
22496   pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22497 else
22498   pkg_failed=yes
22499 fi
22500     fi
22501 else
22502         pkg_failed=untried
22503 fi
22504
22505
22506
22507 if test $pkg_failed = yes; then
22508
22509 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22510         _pkg_short_errors_supported=yes
22511 else
22512         _pkg_short_errors_supported=no
22513 fi
22514         if test $_pkg_short_errors_supported = yes; then
22515                 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22516         else
22517                 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22518         fi
22519         # Put the nasty error message in config.log where it belongs
22520         echo "$GST_CHECK_PKG_ERRORS" >&5
22521
22522         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22523 $as_echo "no" >&6; }
22524
22525       HAVE_GST_CHECK="no"
22526       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
22527 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
22528       if test "x$required" = "xyes"; then
22529         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22530       else
22531         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22532 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22533       fi
22534
22535 elif test $pkg_failed = untried; then
22536
22537       HAVE_GST_CHECK="no"
22538       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
22539 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
22540       if test "x$required" = "xyes"; then
22541         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22542       else
22543         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22544 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22545       fi
22546
22547 else
22548         GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
22549         GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
22550         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22551 $as_echo "yes" >&6; }
22552
22553       HAVE_GST_CHECK="yes"
22554
22555 fi
22556
22557
22558
22559
22560
22561   module=gstreamer-plugins-base-$GST_MAJORMINOR
22562   minver=$GSTPB_REQ
22563   name="GStreamer Base Plugins"
22564   required=yes
22565
22566 pkg_failed=no
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
22568 $as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
22569
22570 if test -n "$PKG_CONFIG"; then
22571     if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
22572         pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
22573     else
22574         if test -n "$PKG_CONFIG" && \
22575     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22576   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22577   ac_status=$?
22578   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22579   test $ac_status = 0; }; then
22580   pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22581 else
22582   pkg_failed=yes
22583 fi
22584     fi
22585 else
22586         pkg_failed=untried
22587 fi
22588 if test -n "$PKG_CONFIG"; then
22589     if test -n "$GST_PLUGINS_BASE_LIBS"; then
22590         pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
22591     else
22592         if test -n "$PKG_CONFIG" && \
22593     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22594   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22595   ac_status=$?
22596   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22597   test $ac_status = 0; }; then
22598   pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22599 else
22600   pkg_failed=yes
22601 fi
22602     fi
22603 else
22604         pkg_failed=untried
22605 fi
22606
22607
22608
22609 if test $pkg_failed = yes; then
22610
22611 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22612         _pkg_short_errors_supported=yes
22613 else
22614         _pkg_short_errors_supported=no
22615 fi
22616         if test $_pkg_short_errors_supported = yes; then
22617                 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22618         else
22619                 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22620         fi
22621         # Put the nasty error message in config.log where it belongs
22622         echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
22623
22624         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22625 $as_echo "no" >&6; }
22626
22627       HAVE_GST_PLUGINS_BASE="no"
22628       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
22629 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
22630       if test "x$required" = "xyes"; then
22631         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22632       else
22633         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22634 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22635       fi
22636
22637 elif test $pkg_failed = untried; then
22638
22639       HAVE_GST_PLUGINS_BASE="no"
22640       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
22641 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
22642       if test "x$required" = "xyes"; then
22643         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22644       else
22645         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22646 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22647       fi
22648
22649 else
22650         GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
22651         GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
22652         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22653 $as_echo "yes" >&6; }
22654
22655       HAVE_GST_PLUGINS_BASE="yes"
22656
22657 fi
22658
22659
22660
22661   if test "x$HAVE_GST_PLUGINS_BASE" = "xyes"; then
22662                 if test -z $GSTPB_PLUGINS_DIR; then
22663       GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_MAJORMINOR`
22664       if test -z $GSTPB_PLUGINS_DIR; then
22665         as_fn_error $? "no pluginsdir set in GStreamer Base Plugins pkg-config file" "$LINENO" 5
22666       fi
22667     fi
22668     { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
22669 $as_echo "$as_me: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
22670     GST_PLUGINS_BASE_DIR="$GSTPB_PLUGINS_DIR/gst:$GSTPB_PLUGINS_DIR/sys:$GSTPB_PLUGINS_DIR/ext"
22671
22672
22673   fi
22674
22675  if test "x$HAVE_GST_CHECK" = "xyes"; then
22676   HAVE_GST_CHECK_TRUE=
22677   HAVE_GST_CHECK_FALSE='#'
22678 else
22679   HAVE_GST_CHECK_TRUE='#'
22680   HAVE_GST_CHECK_FALSE=
22681 fi
22682
22683
22684 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
22685 GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
22686 GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_MAJORMINOR`"
22687
22688
22689
22690
22691
22692 GST_LICENSE="LGPL"
22693
22694 cat >>confdefs.h <<_ACEOF
22695 #define GST_LICENSE "$GST_LICENSE"
22696 _ACEOF
22697
22698
22699
22700
22701
22702   EXP_VAR=PLUGINDIR
22703   FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
22704
22705     prefix_save=$prefix
22706   exec_prefix_save=$exec_prefix
22707
22708     if test "x$prefix" = "xNONE"; then
22709     prefix="$ac_default_prefix"
22710   fi
22711     if test "x$exec_prefix" = "xNONE"; then
22712     exec_prefix=$prefix
22713   fi
22714
22715   full_var="$FROM_VAR"
22716     while true; do
22717     new_full_var="`eval echo $full_var`"
22718     if test "x$new_full_var" = "x$full_var"; then break; fi
22719     full_var=$new_full_var
22720   done
22721
22722     full_var=$new_full_var
22723   PLUGINDIR="$full_var"
22724
22725
22726     prefix=$prefix_save
22727   exec_prefix=$exec_prefix_save
22728
22729
22730 cat >>confdefs.h <<_ACEOF
22731 #define PLUGINDIR "$PLUGINDIR"
22732 _ACEOF
22733
22734   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
22735 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
22736
22737     plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
22738
22739
22740
22741
22742   if test "x$PACKAGE_VERSION_NANO" = "x0"; then
22743
22744       if test "xyes" = "xno" -o "xyes" = "x"; then
22745     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
22746   elif test "xyes" = "xyes"; then
22747             if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
22748       GST_PACKAGE_RELEASE_DATETIME=yes
22749     else
22750             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO   "${srcdir}/gst-plugins-ugly.doap" `;
22751       if test "x$YYYY_MM_DD" != "x"; then
22752         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
22753       else
22754         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
22755             release date for release version  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO  from  \"${srcdir}/gst-plugins-ugly.doap\" " "$LINENO" 5
22756         GST_PACKAGE_RELEASE_DATETIME=""
22757       fi
22758     fi
22759     elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
22760     GST_PACKAGE_RELEASE_DATETIME=yes
22761   else
22762     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
22763 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
22764     GST_PACKAGE_RELEASE_DATETIME=""
22765   fi
22766
22767   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
22768     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
22769 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
22770   else
22771     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
22772 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
22773
22774
22775 cat >>confdefs.h <<_ACEOF
22776 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
22777 _ACEOF
22778
22779   fi
22780
22781   else
22782
22783       if test "xno" = "xno" -o "xno" = "x"; then
22784     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
22785   elif test "xno" = "xyes"; then
22786             if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
22787       GST_PACKAGE_RELEASE_DATETIME=no
22788     else
22789             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  `;
22790       if test "x$YYYY_MM_DD" != "x"; then
22791         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
22792       else
22793         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
22794             release date for release version  from " "$LINENO" 5
22795         GST_PACKAGE_RELEASE_DATETIME=""
22796       fi
22797     fi
22798     elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
22799     GST_PACKAGE_RELEASE_DATETIME=no
22800   else
22801     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
22802 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
22803     GST_PACKAGE_RELEASE_DATETIME=""
22804   fi
22805
22806   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
22807     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
22808 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
22809   else
22810     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
22811 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
22812
22813
22814 cat >>confdefs.h <<_ACEOF
22815 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
22816 _ACEOF
22817
22818   fi
22819
22820   fi
22821
22822
22823
22824
22825
22826
22827   WARNING_CFLAGS=""
22828   ERROR_CFLAGS=""
22829
22830
22831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
22832 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
22833
22834   save_CFLAGS="$CFLAGS"
22835   CFLAGS="$CFLAGS -Wall"
22836
22837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22838 /* end confdefs.h.  */
22839
22840 int
22841 main ()
22842 {
22843
22844   ;
22845   return 0;
22846 }
22847 _ACEOF
22848 if ac_fn_c_try_compile "$LINENO"; then :
22849   flag_ok=yes
22850 else
22851   flag_ok=no
22852 fi
22853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22854   CFLAGS="$save_CFLAGS"
22855
22856   if test "X$flag_ok" = Xyes ; then
22857     WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
22858     true
22859   else
22860
22861     true
22862   fi
22863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
22864 $as_echo "$flag_ok" >&6; }
22865
22866
22867
22868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
22869 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
22870
22871   save_CFLAGS="$CFLAGS"
22872   CFLAGS="$CFLAGS -Wdeclaration-after-statement"
22873
22874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22875 /* end confdefs.h.  */
22876
22877 int
22878 main ()
22879 {
22880
22881   ;
22882   return 0;
22883 }
22884 _ACEOF
22885 if ac_fn_c_try_compile "$LINENO"; then :
22886   flag_ok=yes
22887 else
22888   flag_ok=no
22889 fi
22890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22891   CFLAGS="$save_CFLAGS"
22892
22893   if test "X$flag_ok" = Xyes ; then
22894     WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
22895     true
22896   else
22897
22898     true
22899   fi
22900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
22901 $as_echo "$flag_ok" >&6; }
22902
22903
22904
22905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
22906 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
22907
22908   save_CFLAGS="$CFLAGS"
22909   CFLAGS="$CFLAGS -Wvla"
22910
22911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22912 /* end confdefs.h.  */
22913
22914 int
22915 main ()
22916 {
22917
22918   ;
22919   return 0;
22920 }
22921 _ACEOF
22922 if ac_fn_c_try_compile "$LINENO"; then :
22923   flag_ok=yes
22924 else
22925   flag_ok=no
22926 fi
22927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22928   CFLAGS="$save_CFLAGS"
22929
22930   if test "X$flag_ok" = Xyes ; then
22931     WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
22932     true
22933   else
22934
22935     true
22936   fi
22937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
22938 $as_echo "$flag_ok" >&6; }
22939
22940
22941
22942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
22943 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
22944
22945   save_CFLAGS="$CFLAGS"
22946   CFLAGS="$CFLAGS -Wpointer-arith"
22947
22948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22949 /* end confdefs.h.  */
22950
22951 int
22952 main ()
22953 {
22954
22955   ;
22956   return 0;
22957 }
22958 _ACEOF
22959 if ac_fn_c_try_compile "$LINENO"; then :
22960   flag_ok=yes
22961 else
22962   flag_ok=no
22963 fi
22964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22965   CFLAGS="$save_CFLAGS"
22966
22967   if test "X$flag_ok" = Xyes ; then
22968     WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
22969     true
22970   else
22971
22972     true
22973   fi
22974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
22975 $as_echo "$flag_ok" >&6; }
22976
22977
22978     if test "x$GST_GIT" != "xno"
22979   then
22980
22981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
22982 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
22983
22984   save_CFLAGS="$CFLAGS"
22985   CFLAGS="$CFLAGS -Werror"
22986
22987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22988 /* end confdefs.h.  */
22989
22990 int
22991 main ()
22992 {
22993
22994   ;
22995   return 0;
22996 }
22997 _ACEOF
22998 if ac_fn_c_try_compile "$LINENO"; then :
22999   flag_ok=yes
23000 else
23001   flag_ok=no
23002 fi
23003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23004   CFLAGS="$save_CFLAGS"
23005
23006   if test "X$flag_ok" = Xyes ; then
23007     ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
23008     true
23009   else
23010
23011     true
23012   fi
23013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23014 $as_echo "$flag_ok" >&6; }
23015
23016
23017         if test "x$ERROR_CFLAGS" = "x"
23018     then
23019
23020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
23021 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
23022
23023   save_CFLAGS="$CFLAGS"
23024   CFLAGS="$CFLAGS -errwarn=%all"
23025
23026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23027 /* end confdefs.h.  */
23028
23029 int
23030 main ()
23031 {
23032
23033   ;
23034   return 0;
23035 }
23036 _ACEOF
23037 if ac_fn_c_try_compile "$LINENO"; then :
23038   flag_ok=yes
23039 else
23040   flag_ok=no
23041 fi
23042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23043   CFLAGS="$save_CFLAGS"
23044
23045   if test "X$flag_ok" = Xyes ; then
23046
23047           ERROR_CFLAGS="-errwarn=%all"
23048                                                                                 for f in 'no%E_EMPTY_DECLARATION' \
23049                    'no%E_STATEMENT_NOT_REACHED' \
23050                    'no%E_ARGUEMENT_MISMATCH' \
23051                    'no%E_MACRO_REDEFINED' \
23052                    'no%E_LOOP_NOT_ENTERED_AT_TOP'
23053           do
23054
23055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
23056 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
23057
23058   save_CFLAGS="$CFLAGS"
23059   CFLAGS="$CFLAGS -errwarn=%all,$f"
23060
23061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23062 /* end confdefs.h.  */
23063
23064 int
23065 main ()
23066 {
23067
23068   ;
23069   return 0;
23070 }
23071 _ACEOF
23072 if ac_fn_c_try_compile "$LINENO"; then :
23073   flag_ok=yes
23074 else
23075   flag_ok=no
23076 fi
23077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23078   CFLAGS="$save_CFLAGS"
23079
23080   if test "X$flag_ok" = Xyes ; then
23081
23082               ERROR_CFLAGS="$ERROR_CFLAGS,$f"
23083
23084     true
23085   else
23086
23087     true
23088   fi
23089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23090 $as_echo "$flag_ok" >&6; }
23091
23092           done
23093
23094     true
23095   else
23096
23097     true
23098   fi
23099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23100 $as_echo "$flag_ok" >&6; }
23101
23102     else
23103                         if test -n "$PKG_CONFIG" && \
23104     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
23105   ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
23106   ac_status=$?
23107   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23108   test $ac_status = 0; }; then
23109
23110
23111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
23112 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
23113
23114   save_CFLAGS="$CFLAGS"
23115   CFLAGS="$CFLAGS -fno-strict-aliasing"
23116
23117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23118 /* end confdefs.h.  */
23119
23120 int
23121 main ()
23122 {
23123
23124   ;
23125   return 0;
23126 }
23127 _ACEOF
23128 if ac_fn_c_try_compile "$LINENO"; then :
23129   flag_ok=yes
23130 else
23131   flag_ok=no
23132 fi
23133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23134   CFLAGS="$save_CFLAGS"
23135
23136   if test "X$flag_ok" = Xyes ; then
23137     ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
23138     true
23139   else
23140
23141     true
23142   fi
23143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23144 $as_echo "$flag_ok" >&6; }
23145
23146
23147 fi
23148     fi
23149   fi
23150
23151   if test "x
23152     -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
23153     -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
23154     -Winit-self -Wmissing-include-dirs -Waddress
23155     -Waggregate-return -Wno-multichar -Wnested-externs " != "x"
23156   then
23157     UNSUPPORTED=""
23158     list="
23159     -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
23160     -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
23161     -Winit-self -Wmissing-include-dirs -Waddress
23162     -Waggregate-return -Wno-multichar -Wnested-externs "
23163     for each in $list
23164     do
23165
23166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
23167 $as_echo_n "checking to see if compiler understands $each... " >&6; }
23168
23169   save_CFLAGS="$CFLAGS"
23170   CFLAGS="$CFLAGS $each"
23171
23172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23173 /* end confdefs.h.  */
23174
23175 int
23176 main ()
23177 {
23178
23179   ;
23180   return 0;
23181 }
23182 _ACEOF
23183 if ac_fn_c_try_compile "$LINENO"; then :
23184   flag_ok=yes
23185 else
23186   flag_ok=no
23187 fi
23188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23189   CFLAGS="$save_CFLAGS"
23190
23191   if test "X$flag_ok" = Xyes ; then
23192     WARNING_CFLAGS="$WARNING_CFLAGS $each"
23193     true
23194   else
23195     UNSUPPORTED="$UNSUPPORTED $each"
23196     true
23197   fi
23198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23199 $as_echo "$flag_ok" >&6; }
23200
23201     done
23202     if test "X$UNSUPPORTED" != X ; then
23203       { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
23204 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
23205     fi
23206   fi
23207
23208
23209
23210   { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
23211 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
23212   { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
23213 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
23214
23215
23216
23217
23218
23219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands " >&5
23220 $as_echo_n "checking to see if c++ compiler understands ... " >&6; }
23221
23222   save_CPPFLAGS="$CPPFLAGS"
23223   CPPFLAGS="$CPPFLAGS "
23224
23225   ac_ext=cpp
23226 ac_cpp='$CXXCPP $CPPFLAGS'
23227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23230
23231
23232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23233 /* end confdefs.h.  */
23234
23235 int
23236 main ()
23237 {
23238
23239   ;
23240   return 0;
23241 }
23242 _ACEOF
23243 if ac_fn_cxx_try_compile "$LINENO"; then :
23244   flag_ok=yes
23245 else
23246   flag_ok=no
23247 fi
23248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23249   CPPFLAGS="$save_CPPFLAGS"
23250
23251   if test "X$flag_ok" = Xyes ; then
23252
23253     true
23254   else
23255
23256     true
23257   fi
23258
23259   ac_ext=c
23260 ac_cpp='$CPP $CPPFLAGS'
23261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23264
23265
23266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23267 $as_echo "$flag_ok" >&6; }
23268
23269
23270
23271
23272
23273   ERROR_CXXFLAGS=""
23274   WARNING_CXXFLAGS=""
23275
23276
23277
23278
23279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wall" >&5
23280 $as_echo_n "checking to see if c++ compiler understands -Wall... " >&6; }
23281
23282   save_CPPFLAGS="$CPPFLAGS"
23283   CPPFLAGS="$CPPFLAGS -Wall"
23284
23285   ac_ext=cpp
23286 ac_cpp='$CXXCPP $CPPFLAGS'
23287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23290
23291
23292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23293 /* end confdefs.h.  */
23294
23295 int
23296 main ()
23297 {
23298
23299   ;
23300   return 0;
23301 }
23302 _ACEOF
23303 if ac_fn_cxx_try_compile "$LINENO"; then :
23304   flag_ok=yes
23305 else
23306   flag_ok=no
23307 fi
23308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23309   CPPFLAGS="$save_CPPFLAGS"
23310
23311   if test "X$flag_ok" = Xyes ; then
23312     WARNING_CXXFLAGS="$WARNING_CXXFLAGS -Wall"
23313     true
23314   else
23315
23316     true
23317   fi
23318
23319   ac_ext=c
23320 ac_cpp='$CPP $CPPFLAGS'
23321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23324
23325
23326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23327 $as_echo "$flag_ok" >&6; }
23328
23329
23330     if test "x$GST_GIT" != "xno"
23331   then
23332
23333
23334
23335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Werror" >&5
23336 $as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; }
23337
23338   save_CPPFLAGS="$CPPFLAGS"
23339   CPPFLAGS="$CPPFLAGS -Werror"
23340
23341   ac_ext=cpp
23342 ac_cpp='$CXXCPP $CPPFLAGS'
23343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23346
23347
23348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23349 /* end confdefs.h.  */
23350
23351 int
23352 main ()
23353 {
23354
23355   ;
23356   return 0;
23357 }
23358 _ACEOF
23359 if ac_fn_cxx_try_compile "$LINENO"; then :
23360   flag_ok=yes
23361 else
23362   flag_ok=no
23363 fi
23364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23365   CPPFLAGS="$save_CPPFLAGS"
23366
23367   if test "X$flag_ok" = Xyes ; then
23368     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror"
23369     true
23370   else
23371
23372     true
23373   fi
23374
23375   ac_ext=c
23376 ac_cpp='$CPP $CPPFLAGS'
23377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23380
23381
23382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23383 $as_echo "$flag_ok" >&6; }
23384
23385
23386     if test "x$ERROR_CXXFLAGS" != "x"
23387     then
23388
23389
23390
23391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-non-virtual-dtor" >&5
23392 $as_echo_n "checking to see if c++ compiler understands -Wno-non-virtual-dtor... " >&6; }
23393
23394   save_CPPFLAGS="$CPPFLAGS"
23395   CPPFLAGS="$CPPFLAGS -Wno-non-virtual-dtor"
23396
23397   ac_ext=cpp
23398 ac_cpp='$CXXCPP $CPPFLAGS'
23399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23402
23403
23404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23405 /* end confdefs.h.  */
23406
23407 int
23408 main ()
23409 {
23410
23411   ;
23412   return 0;
23413 }
23414 _ACEOF
23415 if ac_fn_cxx_try_compile "$LINENO"; then :
23416   flag_ok=yes
23417 else
23418   flag_ok=no
23419 fi
23420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23421   CPPFLAGS="$save_CPPFLAGS"
23422
23423   if test "X$flag_ok" = Xyes ; then
23424     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Wno-non-virtual-dtor"
23425     true
23426   else
23427
23428     true
23429   fi
23430
23431   ac_ext=c
23432 ac_cpp='$CPP $CPPFLAGS'
23433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23436
23437
23438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23439 $as_echo "$flag_ok" >&6; }
23440
23441
23442                                 if test -n "$PKG_CONFIG" && \
23443     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
23444   ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
23445   ac_status=$?
23446   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23447   test $ac_status = 0; }; then
23448
23449
23450
23451
23452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fno-strict-aliasing" >&5
23453 $as_echo_n "checking to see if c++ compiler understands -fno-strict-aliasing... " >&6; }
23454
23455   save_CPPFLAGS="$CPPFLAGS"
23456   CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
23457
23458   ac_ext=cpp
23459 ac_cpp='$CXXCPP $CPPFLAGS'
23460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23463
23464
23465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23466 /* end confdefs.h.  */
23467
23468 int
23469 main ()
23470 {
23471
23472   ;
23473   return 0;
23474 }
23475 _ACEOF
23476 if ac_fn_cxx_try_compile "$LINENO"; then :
23477   flag_ok=yes
23478 else
23479   flag_ok=no
23480 fi
23481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23482   CPPFLAGS="$save_CPPFLAGS"
23483
23484   if test "X$flag_ok" = Xyes ; then
23485     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -fno-strict-aliasing"
23486     true
23487   else
23488
23489     true
23490   fi
23491
23492   ac_ext=c
23493 ac_cpp='$CPP $CPPFLAGS'
23494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23497
23498
23499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23500 $as_echo "$flag_ok" >&6; }
23501
23502
23503 fi
23504     else
23505
23506
23507
23508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all" >&5
23509 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all... " >&6; }
23510
23511   save_CPPFLAGS="$CPPFLAGS"
23512   CPPFLAGS="$CPPFLAGS -errwarn=%all"
23513
23514   ac_ext=cpp
23515 ac_cpp='$CXXCPP $CPPFLAGS'
23516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23519
23520
23521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23522 /* end confdefs.h.  */
23523
23524 int
23525 main ()
23526 {
23527
23528   ;
23529   return 0;
23530 }
23531 _ACEOF
23532 if ac_fn_cxx_try_compile "$LINENO"; then :
23533   flag_ok=yes
23534 else
23535   flag_ok=no
23536 fi
23537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23538   CPPFLAGS="$save_CPPFLAGS"
23539
23540   if test "X$flag_ok" = Xyes ; then
23541     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -errwarn=%all"
23542     true
23543   else
23544
23545     true
23546   fi
23547
23548   ac_ext=c
23549 ac_cpp='$CPP $CPPFLAGS'
23550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23553
23554
23555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23556 $as_echo "$flag_ok" >&6; }
23557
23558       if test "x$ERROR_CXXFLAGS" != "x"; then
23559                                                                                 for f in 'no%E_EMPTY_DECLARATION' \
23560                  'no%E_STATEMENT_NOT_REACHED' \
23561                  'no%E_ARGUEMENT_MISMATCH' \
23562                  'no%E_MACRO_REDEFINED' \
23563                  'no%E_LOOP_NOT_ENTERED_AT_TOP'
23564         do
23565
23566
23567
23568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all,$f" >&5
23569 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all,$f... " >&6; }
23570
23571   save_CPPFLAGS="$CPPFLAGS"
23572   CPPFLAGS="$CPPFLAGS -errwarn=%all,$f"
23573
23574   ac_ext=cpp
23575 ac_cpp='$CXXCPP $CPPFLAGS'
23576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23579
23580
23581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23582 /* end confdefs.h.  */
23583
23584 int
23585 main ()
23586 {
23587
23588   ;
23589   return 0;
23590 }
23591 _ACEOF
23592 if ac_fn_cxx_try_compile "$LINENO"; then :
23593   flag_ok=yes
23594 else
23595   flag_ok=no
23596 fi
23597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23598   CPPFLAGS="$save_CPPFLAGS"
23599
23600   if test "X$flag_ok" = Xyes ; then
23601     ERROR_CXXFLAGS="$ERROR_CXXFLAGS
23602     true
23603   else
23604     $f"
23605     true
23606   fi
23607
23608   ac_ext=c
23609 ac_cpp='$CPP $CPPFLAGS'
23610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23613
23614
23615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23616 $as_echo "$flag_ok" >&6; }
23617
23618         done
23619       fi
23620     fi
23621   fi
23622
23623   if test "x
23624     -Wmissing-declarations -Wredundant-decls
23625     -Wwrite-strings -Wformat-nonliteral -Wformat-security
23626     -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
23627     -Wno-multichar" != "x"
23628   then
23629     UNSUPPORTED=""
23630     list="
23631     -Wmissing-declarations -Wredundant-decls
23632     -Wwrite-strings -Wformat-nonliteral -Wformat-security
23633     -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
23634     -Wno-multichar"
23635     for each in $list
23636     do
23637
23638
23639
23640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands $each" >&5
23641 $as_echo_n "checking to see if c++ compiler understands $each... " >&6; }
23642
23643   save_CPPFLAGS="$CPPFLAGS"
23644   CPPFLAGS="$CPPFLAGS $each"
23645
23646   ac_ext=cpp
23647 ac_cpp='$CXXCPP $CPPFLAGS'
23648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23651
23652
23653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23654 /* end confdefs.h.  */
23655
23656 int
23657 main ()
23658 {
23659
23660   ;
23661   return 0;
23662 }
23663 _ACEOF
23664 if ac_fn_cxx_try_compile "$LINENO"; then :
23665   flag_ok=yes
23666 else
23667   flag_ok=no
23668 fi
23669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23670   CPPFLAGS="$save_CPPFLAGS"
23671
23672   if test "X$flag_ok" = Xyes ; then
23673     WARNING_CXXFLAGS="$WARNING_CXXFLAGS $each"
23674     true
23675   else
23676     UNSUPPORTED="$UNSUPPORTED $each"
23677     true
23678   fi
23679
23680   ac_ext=c
23681 ac_cpp='$CPP $CPPFLAGS'
23682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23685
23686
23687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23688 $as_echo "$flag_ok" >&6; }
23689
23690     done
23691     if test "X$UNSUPPORTED" != X ; then
23692       { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
23693 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
23694     fi
23695   fi
23696
23697
23698
23699   { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&5
23700 $as_echo "$as_me: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&6;}
23701   { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&5
23702 $as_echo "$as_me: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&6;}
23703
23704
23705
23706       if test "x$GST_GIT" = "xyes"; then
23707     GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
23708   else
23709     GST_LEVEL_DEFAULT=GST_LEVEL_NONE
23710   fi
23711
23712 cat >>confdefs.h <<_ACEOF
23713 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
23714 _ACEOF
23715
23716
23717
23718
23719
23720             DEFAULT_AUDIOSINK="autoaudiosink"
23721   DEFAULT_VIDEOSINK="autovideosink"
23722   DEFAULT_AUDIOSRC="alsasrc"
23723   DEFAULT_VIDEOSRC="v4l2src"
23724   DEFAULT_VISUALIZER="goom"
23725   case "$host" in
23726     *-sun-* | *pc-solaris* )
23727       DEFAULT_AUDIOSRC="sunaudiosrc"
23728       ;;
23729     *-darwin* )
23730       DEFAULT_AUDIOSRC="osxaudiosrc"
23731       ;;
23732   esac
23733
23734
23735 # Check whether --with-default-audiosink was given.
23736 if test "${with_default_audiosink+set}" = set; then :
23737   withval=$with_default_audiosink;
23738       case "${withval}" in
23739         yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
23740         no)  as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
23741         *)   DEFAULT_AUDIOSINK="${withval}" ;;
23742       esac
23743
23744 else
23745
23746       DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
23747
23748 fi
23749
23750   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5
23751 $as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;}
23752
23753
23754 cat >>confdefs.h <<_ACEOF
23755 #define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK"
23756 _ACEOF
23757
23758
23759
23760 # Check whether --with-default-audiosrc was given.
23761 if test "${with_default_audiosrc+set}" = set; then :
23762   withval=$with_default_audiosrc;
23763       case "${withval}" in
23764         yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
23765         no)  as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
23766         *)   DEFAULT_AUDIOSRC="${withval}" ;;
23767       esac
23768
23769 else
23770
23771       DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
23772
23773 fi
23774
23775   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5
23776 $as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;}
23777
23778
23779 cat >>confdefs.h <<_ACEOF
23780 #define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC"
23781 _ACEOF
23782
23783
23784
23785 # Check whether --with-default-videosink was given.
23786 if test "${with_default_videosink+set}" = set; then :
23787   withval=$with_default_videosink;
23788       case "${withval}" in
23789         yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
23790         no)  as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
23791         *)   DEFAULT_VIDEOSINK="${withval}" ;;
23792       esac
23793
23794 else
23795
23796       DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
23797
23798 fi
23799
23800   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5
23801 $as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;}
23802
23803
23804 cat >>confdefs.h <<_ACEOF
23805 #define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK"
23806 _ACEOF
23807
23808
23809
23810 # Check whether --with-default-videosrc was given.
23811 if test "${with_default_videosrc+set}" = set; then :
23812   withval=$with_default_videosrc;
23813       case "${withval}" in
23814         yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
23815         no)  as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
23816         *)   DEFAULT_VIDEOSRC="${withval}" ;;
23817       esac
23818
23819 else
23820
23821       DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
23822
23823 fi
23824
23825   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5
23826 $as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;}
23827
23828
23829 cat >>confdefs.h <<_ACEOF
23830 #define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC"
23831 _ACEOF
23832
23833
23834
23835 # Check whether --with-default-visualizer was given.
23836 if test "${with_default_visualizer+set}" = set; then :
23837   withval=$with_default_visualizer;
23838       case "${withval}" in
23839         yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
23840         no)  as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
23841         *)   DEFAULT_VISUALIZER="${withval}" ;;
23842       esac
23843
23844 else
23845
23846       DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
23847
23848 fi
23849
23850   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5
23851 $as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;}
23852
23853
23854 cat >>confdefs.h <<_ACEOF
23855 #define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER"
23856 _ACEOF
23857
23858
23859
23860
23861
23862   GST_PLUGINS_ALL="$GST_PLUGINS_ALL asfdemux"
23863
23864
23865
23866   # Check whether --enable-asfdemux was given.
23867 if test "${enable_asfdemux+set}" = set; then :
23868   enableval=$enable_asfdemux;
23869       case "${enableval}" in
23870         yes) gst_use_asfdemux=yes ;;
23871         no) gst_use_asfdemux=no ;;
23872         *) as_fn_error $? "bad value ${enableval} for --enable-asfdemux" "$LINENO" 5 ;;
23873        esac
23874
23875 else
23876   gst_use_asfdemux=yes
23877 fi
23878
23879   if test x$gst_use_asfdemux = xno; then
23880     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin asfdemux" >&5
23881 $as_echo "$as_me: disabling dependency-less plugin asfdemux" >&6;}
23882     WITHOUT_PLUGINS="$WITHOUT_PLUGINS asfdemux"
23883   fi
23884
23885
23886   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " asfdemux " > /dev/null; then
23887     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED asfdemux"
23888   fi
23889   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " asfdemux " > /dev/null; then
23890     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ asfdemux / /'`
23891   fi
23892    if echo " $GST_PLUGINS_SELECTED " | grep -i " asfdemux " > /dev/null; then
23893   USE_PLUGIN_ASFDEMUX_TRUE=
23894   USE_PLUGIN_ASFDEMUX_FALSE='#'
23895 else
23896   USE_PLUGIN_ASFDEMUX_TRUE='#'
23897   USE_PLUGIN_ASFDEMUX_FALSE=
23898 fi
23899
23900
23901
23902   GST_PLUGINS_ALL="$GST_PLUGINS_ALL dvdlpcmdec"
23903
23904
23905
23906   # Check whether --enable-dvdlpcmdec was given.
23907 if test "${enable_dvdlpcmdec+set}" = set; then :
23908   enableval=$enable_dvdlpcmdec;
23909       case "${enableval}" in
23910         yes) gst_use_dvdlpcmdec=yes ;;
23911         no) gst_use_dvdlpcmdec=no ;;
23912         *) as_fn_error $? "bad value ${enableval} for --enable-dvdlpcmdec" "$LINENO" 5 ;;
23913        esac
23914
23915 else
23916   gst_use_dvdlpcmdec=yes
23917 fi
23918
23919   if test x$gst_use_dvdlpcmdec = xno; then
23920     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dvdlpcmdec" >&5
23921 $as_echo "$as_me: disabling dependency-less plugin dvdlpcmdec" >&6;}
23922     WITHOUT_PLUGINS="$WITHOUT_PLUGINS dvdlpcmdec"
23923   fi
23924
23925
23926   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dvdlpcmdec " > /dev/null; then
23927     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dvdlpcmdec"
23928   fi
23929   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dvdlpcmdec " > /dev/null; then
23930     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dvdlpcmdec / /'`
23931   fi
23932    if echo " $GST_PLUGINS_SELECTED " | grep -i " dvdlpcmdec " > /dev/null; then
23933   USE_PLUGIN_DVDLPCMDEC_TRUE=
23934   USE_PLUGIN_DVDLPCMDEC_FALSE='#'
23935 else
23936   USE_PLUGIN_DVDLPCMDEC_TRUE='#'
23937   USE_PLUGIN_DVDLPCMDEC_FALSE=
23938 fi
23939
23940
23941
23942   GST_PLUGINS_ALL="$GST_PLUGINS_ALL dvdsub"
23943
23944
23945
23946   # Check whether --enable-dvdsub was given.
23947 if test "${enable_dvdsub+set}" = set; then :
23948   enableval=$enable_dvdsub;
23949       case "${enableval}" in
23950         yes) gst_use_dvdsub=yes ;;
23951         no) gst_use_dvdsub=no ;;
23952         *) as_fn_error $? "bad value ${enableval} for --enable-dvdsub" "$LINENO" 5 ;;
23953        esac
23954
23955 else
23956   gst_use_dvdsub=yes
23957 fi
23958
23959   if test x$gst_use_dvdsub = xno; then
23960     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dvdsub" >&5
23961 $as_echo "$as_me: disabling dependency-less plugin dvdsub" >&6;}
23962     WITHOUT_PLUGINS="$WITHOUT_PLUGINS dvdsub"
23963   fi
23964
23965
23966   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dvdsub " > /dev/null; then
23967     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dvdsub"
23968   fi
23969   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dvdsub " > /dev/null; then
23970     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dvdsub / /'`
23971   fi
23972    if echo " $GST_PLUGINS_SELECTED " | grep -i " dvdsub " > /dev/null; then
23973   USE_PLUGIN_DVDSUB_TRUE=
23974   USE_PLUGIN_DVDSUB_FALSE='#'
23975 else
23976   USE_PLUGIN_DVDSUB_TRUE='#'
23977   USE_PLUGIN_DVDSUB_FALSE=
23978 fi
23979
23980
23981
23982   GST_PLUGINS_ALL="$GST_PLUGINS_ALL iec958"
23983
23984
23985
23986   # Check whether --enable-iec958 was given.
23987 if test "${enable_iec958+set}" = set; then :
23988   enableval=$enable_iec958;
23989       case "${enableval}" in
23990         yes) gst_use_iec958=yes ;;
23991         no) gst_use_iec958=no ;;
23992         *) as_fn_error $? "bad value ${enableval} for --enable-iec958" "$LINENO" 5 ;;
23993        esac
23994
23995 else
23996   gst_use_iec958=yes
23997 fi
23998
23999   if test x$gst_use_iec958 = xno; then
24000     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin iec958" >&5
24001 $as_echo "$as_me: disabling dependency-less plugin iec958" >&6;}
24002     WITHOUT_PLUGINS="$WITHOUT_PLUGINS iec958"
24003   fi
24004
24005
24006   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " iec958 " > /dev/null; then
24007     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED iec958"
24008   fi
24009   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " iec958 " > /dev/null; then
24010     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ iec958 / /'`
24011   fi
24012    if echo " $GST_PLUGINS_SELECTED " | grep -i " iec958 " > /dev/null; then
24013   USE_PLUGIN_IEC958_TRUE=
24014   USE_PLUGIN_IEC958_FALSE='#'
24015 else
24016   USE_PLUGIN_IEC958_TRUE='#'
24017   USE_PLUGIN_IEC958_FALSE=
24018 fi
24019
24020
24021
24022   GST_PLUGINS_ALL="$GST_PLUGINS_ALL mpegaudioparse"
24023
24024
24025
24026   # Check whether --enable-mpegaudioparse was given.
24027 if test "${enable_mpegaudioparse+set}" = set; then :
24028   enableval=$enable_mpegaudioparse;
24029       case "${enableval}" in
24030         yes) gst_use_mpegaudioparse=yes ;;
24031         no) gst_use_mpegaudioparse=no ;;
24032         *) as_fn_error $? "bad value ${enableval} for --enable-mpegaudioparse" "$LINENO" 5 ;;
24033        esac
24034
24035 else
24036   gst_use_mpegaudioparse=yes
24037 fi
24038
24039   if test x$gst_use_mpegaudioparse = xno; then
24040     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegaudioparse" >&5
24041 $as_echo "$as_me: disabling dependency-less plugin mpegaudioparse" >&6;}
24042     WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegaudioparse"
24043   fi
24044
24045
24046   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mpegaudioparse " > /dev/null; then
24047     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mpegaudioparse"
24048   fi
24049   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mpegaudioparse " > /dev/null; then
24050     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mpegaudioparse / /'`
24051   fi
24052    if echo " $GST_PLUGINS_SELECTED " | grep -i " mpegaudioparse " > /dev/null; then
24053   USE_PLUGIN_MPEGAUDIOPARSE_TRUE=
24054   USE_PLUGIN_MPEGAUDIOPARSE_FALSE='#'
24055 else
24056   USE_PLUGIN_MPEGAUDIOPARSE_TRUE='#'
24057   USE_PLUGIN_MPEGAUDIOPARSE_FALSE=
24058 fi
24059
24060
24061
24062   GST_PLUGINS_ALL="$GST_PLUGINS_ALL mpegstream"
24063
24064
24065
24066   # Check whether --enable-mpegstream was given.
24067 if test "${enable_mpegstream+set}" = set; then :
24068   enableval=$enable_mpegstream;
24069       case "${enableval}" in
24070         yes) gst_use_mpegstream=yes ;;
24071         no) gst_use_mpegstream=no ;;
24072         *) as_fn_error $? "bad value ${enableval} for --enable-mpegstream" "$LINENO" 5 ;;
24073        esac
24074
24075 else
24076   gst_use_mpegstream=yes
24077 fi
24078
24079   if test x$gst_use_mpegstream = xno; then
24080     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegstream" >&5
24081 $as_echo "$as_me: disabling dependency-less plugin mpegstream" >&6;}
24082     WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegstream"
24083   fi
24084
24085
24086   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mpegstream " > /dev/null; then
24087     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mpegstream"
24088   fi
24089   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mpegstream " > /dev/null; then
24090     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mpegstream / /'`
24091   fi
24092    if echo " $GST_PLUGINS_SELECTED " | grep -i " mpegstream " > /dev/null; then
24093   USE_PLUGIN_MPEGSTREAM_TRUE=
24094   USE_PLUGIN_MPEGSTREAM_FALSE='#'
24095 else
24096   USE_PLUGIN_MPEGSTREAM_TRUE='#'
24097   USE_PLUGIN_MPEGSTREAM_FALSE=
24098 fi
24099
24100
24101
24102   GST_PLUGINS_ALL="$GST_PLUGINS_ALL realmedia"
24103
24104
24105
24106   # Check whether --enable-realmedia was given.
24107 if test "${enable_realmedia+set}" = set; then :
24108   enableval=$enable_realmedia;
24109       case "${enableval}" in
24110         yes) gst_use_realmedia=yes ;;
24111         no) gst_use_realmedia=no ;;
24112         *) as_fn_error $? "bad value ${enableval} for --enable-realmedia" "$LINENO" 5 ;;
24113        esac
24114
24115 else
24116   gst_use_realmedia=yes
24117 fi
24118
24119   if test x$gst_use_realmedia = xno; then
24120     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin realmedia" >&5
24121 $as_echo "$as_me: disabling dependency-less plugin realmedia" >&6;}
24122     WITHOUT_PLUGINS="$WITHOUT_PLUGINS realmedia"
24123   fi
24124
24125
24126   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " realmedia " > /dev/null; then
24127     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED realmedia"
24128   fi
24129   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " realmedia " > /dev/null; then
24130     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ realmedia / /'`
24131   fi
24132    if echo " $GST_PLUGINS_SELECTED " | grep -i " realmedia " > /dev/null; then
24133   USE_PLUGIN_REALMEDIA_TRUE=
24134   USE_PLUGIN_REALMEDIA_FALSE='#'
24135 else
24136   USE_PLUGIN_REALMEDIA_TRUE='#'
24137   USE_PLUGIN_REALMEDIA_FALSE=
24138 fi
24139
24140
24141
24142   GST_PLUGINS_ALL="$GST_PLUGINS_ALL synaesthesia"
24143
24144
24145
24146   # Check whether --enable-synaesthesia was given.
24147 if test "${enable_synaesthesia+set}" = set; then :
24148   enableval=$enable_synaesthesia;
24149       case "${enableval}" in
24150         yes) gst_use_synaesthesia=yes ;;
24151         no) gst_use_synaesthesia=no ;;
24152         *) as_fn_error $? "bad value ${enableval} for --enable-synaesthesia" "$LINENO" 5 ;;
24153        esac
24154
24155 else
24156   gst_use_synaesthesia=yes
24157 fi
24158
24159   if test x$gst_use_synaesthesia = xno; then
24160     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin synaesthesia" >&5
24161 $as_echo "$as_me: disabling dependency-less plugin synaesthesia" >&6;}
24162     WITHOUT_PLUGINS="$WITHOUT_PLUGINS synaesthesia"
24163   fi
24164
24165
24166   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " synaesthesia " > /dev/null; then
24167     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED synaesthesia"
24168   fi
24169   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " synaesthesia " > /dev/null; then
24170     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ synaesthesia / /'`
24171   fi
24172    if echo " $GST_PLUGINS_SELECTED " | grep -i " synaesthesia " > /dev/null; then
24173   USE_PLUGIN_SYNAESTHESIA_TRUE=
24174   USE_PLUGIN_SYNAESTHESIA_FALSE='#'
24175 else
24176   USE_PLUGIN_SYNAESTHESIA_TRUE='#'
24177   USE_PLUGIN_SYNAESTHESIA_FALSE=
24178 fi
24179
24180
24181
24182 for ac_header in winsock2.h
24183 do :
24184   ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
24185 if test "x$ac_cv_header_winsock2_h" = xyes; then :
24186   cat >>confdefs.h <<_ACEOF
24187 #define HAVE_WINSOCK2_H 1
24188 _ACEOF
24189  HAVE_WINSOCK2_H=yes
24190 fi
24191
24192 done
24193
24194
24195 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
24196   WIN32_LIBS="-lws2_32"
24197
24198 fi
24199
24200 if test "x$BUILD_EXPERIMENTAL" != "xyes"; then
24201
24202   GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ synaesthesia / /'`
24203    if false; then
24204   USE_PLUGIN_SYNAESTHESIA_TRUE=
24205   USE_PLUGIN_SYNAESTHESIA_FALSE='#'
24206 else
24207   USE_PLUGIN_SYNAESTHESIA_TRUE='#'
24208   USE_PLUGIN_SYNAESTHESIA_FALSE=
24209 fi
24210
24211
24212 fi
24213
24214
24215 if test "x$BUILD_EXTERNAL" = "xyes"; then
24216
24217 echo
24218 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in ext/" >&5
24219 $as_echo "$as_me: Checking libraries for plugins in ext/" >&6;}
24220 echo
24221
24222 echo
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: a52dec ***" >&5
24224 $as_echo "$as_me: *** checking feature: a52dec ***" >&6;}
24225 if test "xa52dec" != "x"
24226 then
24227   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: a52dec ***" >&5
24228 $as_echo "$as_me: *** for plug-ins: a52dec ***" >&6;}
24229 fi
24230 NOUSE=
24231 if test "x$USE_A52DEC" = "xno"; then
24232   NOUSE="yes"
24233 fi
24234 # Check whether --enable-a52dec was given.
24235 if test "${enable_a52dec+set}" = set; then :
24236   enableval=$enable_a52dec;  case "${enableval}" in
24237       yes) USE_A52DEC=yes;;
24238       no) USE_A52DEC=no;;
24239       *) as_fn_error $? "bad value ${enableval} for --enable-a52dec" "$LINENO" 5 ;;
24240     esac
24241 else
24242    USE_A52DEC=yes
24243 fi
24244
24245 if test "x$NOUSE" = "xyes"; then
24246   USE_A52DEC="no"
24247   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** a52dec pre-configured not to be built" >&5
24248 $as_echo "$as_me: WARNING: *** a52dec pre-configured not to be built" >&2;}
24249 fi
24250 NOUSE=
24251
24252
24253 if test x$USE_A52DEC = xyes; then
24254
24255   gst_check_save_LIBS=$LIBS
24256   gst_check_save_LDFLAGS=$LDFLAGS
24257   gst_check_save_CFLAGS=$CFLAGS
24258   gst_check_save_CPPFLAGS=$CPPFLAGS
24259   gst_check_save_CXXFLAGS=$CXXFLAGS
24260
24261   HAVE_A52DEC=no
24262
24263
24264 # Check whether --with-a52dec-prefix was given.
24265 if test "${with_a52dec_prefix+set}" = set; then :
24266   withval=$with_a52dec_prefix; a52dec_config_prefix="$withval"
24267 else
24268   a52dec_config_prefix=""
24269 fi
24270
24271
24272 if test x$a52dec_config_prefix = x ; then
24273
24274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a52_init in -la52" >&5
24275 $as_echo_n "checking for a52_init in -la52... " >&6; }
24276 if ${ac_cv_lib_a52_a52_init+:} false; then :
24277   $as_echo_n "(cached) " >&6
24278 else
24279   ac_check_lib_save_LIBS=$LIBS
24280 LIBS="-la52 -lm $LIBS"
24281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24282 /* end confdefs.h.  */
24283
24284 /* Override any GCC internal prototype to avoid an error.
24285    Use char because int might match the return type of a GCC
24286    builtin and then its argument prototype would still apply.  */
24287 #ifdef __cplusplus
24288 extern "C"
24289 #endif
24290 char a52_init ();
24291 int
24292 main ()
24293 {
24294 return a52_init ();
24295   ;
24296   return 0;
24297 }
24298 _ACEOF
24299 if ac_fn_c_try_link "$LINENO"; then :
24300   ac_cv_lib_a52_a52_init=yes
24301 else
24302   ac_cv_lib_a52_a52_init=no
24303 fi
24304 rm -f core conftest.err conftest.$ac_objext \
24305     conftest$ac_exeext conftest.$ac_ext
24306 LIBS=$ac_check_lib_save_LIBS
24307 fi
24308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_a52_a52_init" >&5
24309 $as_echo "$ac_cv_lib_a52_a52_init" >&6; }
24310 if test "x$ac_cv_lib_a52_a52_init" = xyes; then :
24311   HAVE_A52DEC=yes
24312 else
24313   HAVE_A52DEC=no
24314 fi
24315
24316   check_libheader_feature_name=a52dec
24317
24318   if test "x$HAVE_A52DEC" = "xyes"; then
24319     check_libheader_save_CPPFLAGS=$CPPFLAGS
24320     CPPFLAGS=" $CPPFLAGS"
24321     ac_fn_c_check_header_mongrel "$LINENO" "a52dec/a52.h" "ac_cv_header_a52dec_a52_h" "$ac_includes_default"
24322 if test "x$ac_cv_header_a52dec_a52_h" = xyes; then :
24323   :
24324 else
24325   HAVE_A52DEC=no
24326 fi
24327
24328
24329     CPPFLAGS=$check_libheader_save_CPPFLAGS
24330   fi
24331
24332   if test "x$HAVE_A52DEC" = "xyes"; then
24333     A52DEC_LIBS="-la52 -lm"
24334   else
24335     :
24336   fi
24337
24338
24339 else
24340
24341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a52_init in -la52" >&5
24342 $as_echo_n "checking for a52_init in -la52... " >&6; }
24343 if ${ac_cv_lib_a52_a52_init+:} false; then :
24344   $as_echo_n "(cached) " >&6
24345 else
24346   ac_check_lib_save_LIBS=$LIBS
24347 LIBS="-la52 -L$a52dec_config_prefix/lib $LIBS"
24348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24349 /* end confdefs.h.  */
24350
24351 /* Override any GCC internal prototype to avoid an error.
24352    Use char because int might match the return type of a GCC
24353    builtin and then its argument prototype would still apply.  */
24354 #ifdef __cplusplus
24355 extern "C"
24356 #endif
24357 char a52_init ();
24358 int
24359 main ()
24360 {
24361 return a52_init ();
24362   ;
24363   return 0;
24364 }
24365 _ACEOF
24366 if ac_fn_c_try_link "$LINENO"; then :
24367   ac_cv_lib_a52_a52_init=yes
24368 else
24369   ac_cv_lib_a52_a52_init=no
24370 fi
24371 rm -f core conftest.err conftest.$ac_objext \
24372     conftest$ac_exeext conftest.$ac_ext
24373 LIBS=$ac_check_lib_save_LIBS
24374 fi
24375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_a52_a52_init" >&5
24376 $as_echo "$ac_cv_lib_a52_a52_init" >&6; }
24377 if test "x$ac_cv_lib_a52_a52_init" = xyes; then :
24378   HAVE_A52DEC=yes
24379 else
24380   HAVE_A52DEC=no
24381 fi
24382
24383   check_libheader_feature_name=a52dec
24384
24385   if test "x$HAVE_A52DEC" = "xyes"; then
24386     check_libheader_save_CPPFLAGS=$CPPFLAGS
24387     CPPFLAGS="-I$a52dec_config_prefix/include $CPPFLAGS"
24388     ac_fn_c_check_header_mongrel "$LINENO" "a52dec/a52.h" "ac_cv_header_a52dec_a52_h" "$ac_includes_default"
24389 if test "x$ac_cv_header_a52dec_a52_h" = xyes; then :
24390   :
24391 else
24392   HAVE_A52DEC=no
24393 fi
24394
24395
24396     CPPFLAGS=$check_libheader_save_CPPFLAGS
24397   fi
24398
24399   if test "x$HAVE_A52DEC" = "xyes"; then
24400
24401             A52DEC_LIBS="-la52 -L$a52dec_config_prefix/lib -lm"
24402             A52DEC_CFLAGS="-I$a52dec_config_prefix/include"
24403
24404   else
24405     :
24406   fi
24407
24408
24409 fi
24410
24411 if test $HAVE_A52DEC = "yes"; then
24412     ac_save_CFLAGS="$CFLAGS"
24413     ac_save_LIBS="$LIBS"
24414     CFLAGS="$CFLAGS $A52DEC_CFLAGS"
24415     LIBS="$A52DEC_LIBS $LIBS"
24416     if test "$cross_compiling" = yes; then :
24417   echo $ac_n "cross compiling; assumed OK... $ac_c"
24418 else
24419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24420 /* end confdefs.h.  */
24421
24422 #include <inttypes.h>
24423 #include <a52dec/a52.h>
24424
24425 int
24426 main ()
24427 {
24428   a52_state_t *state;
24429   state = a52_init (0);
24430   a52_free (state);
24431   return 0;
24432 }
24433
24434 _ACEOF
24435 if ac_fn_c_try_run "$LINENO"; then :
24436
24437 else
24438   HAVE_A52DEC=no
24439 fi
24440 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24441   conftest.$ac_objext conftest.beam conftest.$ac_ext
24442 fi
24443
24444
24445     if test HAVE_A52DEC = "no"; then
24446         echo "*** Your a52dec is borked somehow. Please update to 0.7.4."
24447     else
24448         if test "$cross_compiling" = yes; then :
24449   echo $ac_n "cross compiling; assumed OK... $ac_c"
24450 else
24451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24452 /* end confdefs.h.  */
24453
24454 #include <inttypes.h>
24455 #include <a52dec/a52.h>
24456
24457 int
24458 main ()
24459 {
24460   int i = sizeof (a52_state_t);
24461   if ( i )
24462     return 0;
24463 }
24464
24465 _ACEOF
24466 if ac_fn_c_try_run "$LINENO"; then :
24467   HAVE_A52DEC=no
24468 fi
24469 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24470   conftest.$ac_objext conftest.beam conftest.$ac_ext
24471 fi
24472
24473
24474         if test HAVE_A52DEC = "no"; then
24475             echo "*** Your a52dec is too old. Please update to 0.7.4."
24476         fi
24477     fi
24478     CFLAGS="$ac_save_CFLAGS"
24479     LIBS="$ac_save_LIBS"
24480 fi
24481
24482 if test HAVE_A52DEC = "no"; then
24483     A52DEC_CFLAGS=""
24484     A52DEC_LIBS=""
24485 fi
24486
24487 if test "x$HAVE_A52DEC" = "xyes"; then
24488   HAVE_A52DEC=yes
24489 else
24490   HAVE_A52DEC=no
24491 fi
24492
24493
24494
24495
24496
24497
24498   LIBS=$gst_check_save_LIBS
24499   LDFLAGS=$gst_check_save_LDFLAGS
24500   CFLAGS=$gst_check_save_CFLAGS
24501   CPPFLAGS=$gst_check_save_CPPFLAGS
24502   CXXFLAGS=$gst_check_save_CXXFLAGS
24503
24504     if test x$HAVE_A52DEC = xno; then
24505     USE_A52DEC=no
24506   else
24507     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: a52dec" >&5
24508 $as_echo "$as_me: *** These plugins will be built: a52dec" >&6;}
24509   fi
24510 fi
24511 if test x$USE_A52DEC = xyes; then
24512   :
24513   if test "xa52dec" != "x"; then
24514     GST_PLUGINS_YES="\ta52dec\n$GST_PLUGINS_YES"
24515   fi
24516
24517 $as_echo "#define HAVE_A52DEC /**/" >>confdefs.h
24518
24519 else
24520   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: a52dec" >&5
24521 $as_echo "$as_me: *** These plugins will not be built: a52dec" >&6;}
24522   if test "xa52dec" != "x"; then
24523     GST_PLUGINS_NO="\ta52dec\n$GST_PLUGINS_NO"
24524   fi
24525   :
24526 fi
24527  if test x$USE_A52DEC = xyes; then
24528   USE_A52DEC_TRUE=
24529   USE_A52DEC_FALSE='#'
24530 else
24531   USE_A52DEC_TRUE='#'
24532   USE_A52DEC_FALSE=
24533 fi
24534
24535
24536
24537 echo
24538 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: amrnb library ***" >&5
24539 $as_echo "$as_me: *** checking feature: amrnb library ***" >&6;}
24540 if test "xamrnb" != "x"
24541 then
24542   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: amrnb ***" >&5
24543 $as_echo "$as_me: *** for plug-ins: amrnb ***" >&6;}
24544 fi
24545 NOUSE=
24546 if test "x$USE_AMRNB" = "xno"; then
24547   NOUSE="yes"
24548 fi
24549 # Check whether --enable-amrnb was given.
24550 if test "${enable_amrnb+set}" = set; then :
24551   enableval=$enable_amrnb;  case "${enableval}" in
24552       yes) USE_AMRNB=yes;;
24553       no) USE_AMRNB=no;;
24554       *) as_fn_error $? "bad value ${enableval} for --enable-amrnb" "$LINENO" 5 ;;
24555     esac
24556 else
24557    USE_AMRNB=yes
24558 fi
24559
24560 if test "x$NOUSE" = "xyes"; then
24561   USE_AMRNB="no"
24562   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** amrnb pre-configured not to be built" >&5
24563 $as_echo "$as_me: WARNING: *** amrnb pre-configured not to be built" >&2;}
24564 fi
24565 NOUSE=
24566
24567
24568 if test x$USE_AMRNB = xyes; then
24569
24570   gst_check_save_LIBS=$LIBS
24571   gst_check_save_LDFLAGS=$LDFLAGS
24572   gst_check_save_CFLAGS=$CFLAGS
24573   gst_check_save_CPPFLAGS=$CPPFLAGS
24574   gst_check_save_CXXFLAGS=$CXXFLAGS
24575
24576   HAVE_AMRNB=no
24577
24578
24579 pkg_failed=no
24580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AMRNB" >&5
24581 $as_echo_n "checking for AMRNB... " >&6; }
24582
24583 if test -n "$PKG_CONFIG"; then
24584     if test -n "$AMRNB_CFLAGS"; then
24585         pkg_cv_AMRNB_CFLAGS="$AMRNB_CFLAGS"
24586     else
24587         if test -n "$PKG_CONFIG" && \
24588     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencore-amrnb\""; } >&5
24589   ($PKG_CONFIG --exists --print-errors "opencore-amrnb") 2>&5
24590   ac_status=$?
24591   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24592   test $ac_status = 0; }; then
24593   pkg_cv_AMRNB_CFLAGS=`$PKG_CONFIG --cflags "opencore-amrnb" 2>/dev/null`
24594 else
24595   pkg_failed=yes
24596 fi
24597     fi
24598 else
24599         pkg_failed=untried
24600 fi
24601 if test -n "$PKG_CONFIG"; then
24602     if test -n "$AMRNB_LIBS"; then
24603         pkg_cv_AMRNB_LIBS="$AMRNB_LIBS"
24604     else
24605         if test -n "$PKG_CONFIG" && \
24606     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencore-amrnb\""; } >&5
24607   ($PKG_CONFIG --exists --print-errors "opencore-amrnb") 2>&5
24608   ac_status=$?
24609   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24610   test $ac_status = 0; }; then
24611   pkg_cv_AMRNB_LIBS=`$PKG_CONFIG --libs "opencore-amrnb" 2>/dev/null`
24612 else
24613   pkg_failed=yes
24614 fi
24615     fi
24616 else
24617         pkg_failed=untried
24618 fi
24619
24620
24621
24622 if test $pkg_failed = yes; then
24623
24624 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24625         _pkg_short_errors_supported=yes
24626 else
24627         _pkg_short_errors_supported=no
24628 fi
24629         if test $_pkg_short_errors_supported = yes; then
24630                 AMRNB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "opencore-amrnb"`
24631         else
24632                 AMRNB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "opencore-amrnb"`
24633         fi
24634         # Put the nasty error message in config.log where it belongs
24635         echo "$AMRNB_PKG_ERRORS" >&5
24636
24637         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24638 $as_echo "no" >&6; }
24639
24640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Decoder_Interface_init in -lopencore-amrnb" >&5
24641 $as_echo_n "checking for Decoder_Interface_init in -lopencore-amrnb... " >&6; }
24642 if ${ac_cv_lib_opencore_amrnb_Decoder_Interface_init+:} false; then :
24643   $as_echo_n "(cached) " >&6
24644 else
24645   ac_check_lib_save_LIBS=$LIBS
24646 LIBS="-lopencore-amrnb $LIBM $LIBS"
24647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24648 /* end confdefs.h.  */
24649
24650 /* Override any GCC internal prototype to avoid an error.
24651    Use char because int might match the return type of a GCC
24652    builtin and then its argument prototype would still apply.  */
24653 #ifdef __cplusplus
24654 extern "C"
24655 #endif
24656 char Decoder_Interface_init ();
24657 int
24658 main ()
24659 {
24660 return Decoder_Interface_init ();
24661   ;
24662   return 0;
24663 }
24664 _ACEOF
24665 if ac_fn_c_try_link "$LINENO"; then :
24666   ac_cv_lib_opencore_amrnb_Decoder_Interface_init=yes
24667 else
24668   ac_cv_lib_opencore_amrnb_Decoder_Interface_init=no
24669 fi
24670 rm -f core conftest.err conftest.$ac_objext \
24671     conftest$ac_exeext conftest.$ac_ext
24672 LIBS=$ac_check_lib_save_LIBS
24673 fi
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrnb_Decoder_Interface_init" >&5
24675 $as_echo "$ac_cv_lib_opencore_amrnb_Decoder_Interface_init" >&6; }
24676 if test "x$ac_cv_lib_opencore_amrnb_Decoder_Interface_init" = xyes; then :
24677   HAVE_AMRNB=yes
24678 else
24679   HAVE_AMRNB=no
24680 fi
24681
24682   if test "x$HAVE_AMRNB" = "xyes"; then
24683     ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrnb/interf_dec.h" "ac_cv_header_opencore_amrnb_interf_dec_h" "$ac_includes_default"
24684 if test "x$ac_cv_header_opencore_amrnb_interf_dec_h" = xyes; then :
24685   :
24686 else
24687   HAVE_AMRNB=no
24688 fi
24689
24690
24691     if test "x$HAVE_AMRNB" = "xyes"; then
24692             AMRNB_LIBS="-lopencore-amrnb"
24693     else
24694       :
24695     fi
24696   else
24697     :
24698   fi
24699
24700
24701
24702
24703 elif test $pkg_failed = untried; then
24704
24705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Decoder_Interface_init in -lopencore-amrnb" >&5
24706 $as_echo_n "checking for Decoder_Interface_init in -lopencore-amrnb... " >&6; }
24707 if ${ac_cv_lib_opencore_amrnb_Decoder_Interface_init+:} false; then :
24708   $as_echo_n "(cached) " >&6
24709 else
24710   ac_check_lib_save_LIBS=$LIBS
24711 LIBS="-lopencore-amrnb $LIBM $LIBS"
24712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24713 /* end confdefs.h.  */
24714
24715 /* Override any GCC internal prototype to avoid an error.
24716    Use char because int might match the return type of a GCC
24717    builtin and then its argument prototype would still apply.  */
24718 #ifdef __cplusplus
24719 extern "C"
24720 #endif
24721 char Decoder_Interface_init ();
24722 int
24723 main ()
24724 {
24725 return Decoder_Interface_init ();
24726   ;
24727   return 0;
24728 }
24729 _ACEOF
24730 if ac_fn_c_try_link "$LINENO"; then :
24731   ac_cv_lib_opencore_amrnb_Decoder_Interface_init=yes
24732 else
24733   ac_cv_lib_opencore_amrnb_Decoder_Interface_init=no
24734 fi
24735 rm -f core conftest.err conftest.$ac_objext \
24736     conftest$ac_exeext conftest.$ac_ext
24737 LIBS=$ac_check_lib_save_LIBS
24738 fi
24739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrnb_Decoder_Interface_init" >&5
24740 $as_echo "$ac_cv_lib_opencore_amrnb_Decoder_Interface_init" >&6; }
24741 if test "x$ac_cv_lib_opencore_amrnb_Decoder_Interface_init" = xyes; then :
24742   HAVE_AMRNB=yes
24743 else
24744   HAVE_AMRNB=no
24745 fi
24746
24747   if test "x$HAVE_AMRNB" = "xyes"; then
24748     ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrnb/interf_dec.h" "ac_cv_header_opencore_amrnb_interf_dec_h" "$ac_includes_default"
24749 if test "x$ac_cv_header_opencore_amrnb_interf_dec_h" = xyes; then :
24750   :
24751 else
24752   HAVE_AMRNB=no
24753 fi
24754
24755
24756     if test "x$HAVE_AMRNB" = "xyes"; then
24757             AMRNB_LIBS="-lopencore-amrnb"
24758     else
24759       :
24760     fi
24761   else
24762     :
24763   fi
24764
24765
24766
24767
24768 else
24769         AMRNB_CFLAGS=$pkg_cv_AMRNB_CFLAGS
24770         AMRNB_LIBS=$pkg_cv_AMRNB_LIBS
24771         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24772 $as_echo "yes" >&6; }
24773         HAVE_AMRNB="yes"
24774 fi
24775
24776
24777
24778
24779   LIBS=$gst_check_save_LIBS
24780   LDFLAGS=$gst_check_save_LDFLAGS
24781   CFLAGS=$gst_check_save_CFLAGS
24782   CPPFLAGS=$gst_check_save_CPPFLAGS
24783   CXXFLAGS=$gst_check_save_CXXFLAGS
24784
24785     if test x$HAVE_AMRNB = xno; then
24786     USE_AMRNB=no
24787   else
24788     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: amrnb" >&5
24789 $as_echo "$as_me: *** These plugins will be built: amrnb" >&6;}
24790   fi
24791 fi
24792 if test x$USE_AMRNB = xyes; then
24793   :
24794   if test "xamrnb" != "x"; then
24795     GST_PLUGINS_YES="\tamrnb\n$GST_PLUGINS_YES"
24796   fi
24797
24798 $as_echo "#define HAVE_AMRNB /**/" >>confdefs.h
24799
24800 else
24801   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: amrnb" >&5
24802 $as_echo "$as_me: *** These plugins will not be built: amrnb" >&6;}
24803   if test "xamrnb" != "x"; then
24804     GST_PLUGINS_NO="\tamrnb\n$GST_PLUGINS_NO"
24805   fi
24806   :
24807 fi
24808  if test x$USE_AMRNB = xyes; then
24809   USE_AMRNB_TRUE=
24810   USE_AMRNB_FALSE='#'
24811 else
24812   USE_AMRNB_TRUE='#'
24813   USE_AMRNB_FALSE=
24814 fi
24815
24816
24817
24818 echo
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: amrwb library ***" >&5
24820 $as_echo "$as_me: *** checking feature: amrwb library ***" >&6;}
24821 if test "xamrwbdec" != "x"
24822 then
24823   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: amrwbdec ***" >&5
24824 $as_echo "$as_me: *** for plug-ins: amrwbdec ***" >&6;}
24825 fi
24826 NOUSE=
24827 if test "x$USE_AMRWB" = "xno"; then
24828   NOUSE="yes"
24829 fi
24830 # Check whether --enable-amrwb was given.
24831 if test "${enable_amrwb+set}" = set; then :
24832   enableval=$enable_amrwb;  case "${enableval}" in
24833       yes) USE_AMRWB=yes;;
24834       no) USE_AMRWB=no;;
24835       *) as_fn_error $? "bad value ${enableval} for --enable-amrwb" "$LINENO" 5 ;;
24836     esac
24837 else
24838    USE_AMRWB=yes
24839 fi
24840
24841 if test "x$NOUSE" = "xyes"; then
24842   USE_AMRWB="no"
24843   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** amrwbdec pre-configured not to be built" >&5
24844 $as_echo "$as_me: WARNING: *** amrwbdec pre-configured not to be built" >&2;}
24845 fi
24846 NOUSE=
24847
24848
24849 if test x$USE_AMRWB = xyes; then
24850
24851   gst_check_save_LIBS=$LIBS
24852   gst_check_save_LDFLAGS=$LDFLAGS
24853   gst_check_save_CFLAGS=$CFLAGS
24854   gst_check_save_CPPFLAGS=$CPPFLAGS
24855   gst_check_save_CXXFLAGS=$CXXFLAGS
24856
24857   HAVE_AMRWB=no
24858
24859
24860 pkg_failed=no
24861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AMRWB" >&5
24862 $as_echo_n "checking for AMRWB... " >&6; }
24863
24864 if test -n "$PKG_CONFIG"; then
24865     if test -n "$AMRWB_CFLAGS"; then
24866         pkg_cv_AMRWB_CFLAGS="$AMRWB_CFLAGS"
24867     else
24868         if test -n "$PKG_CONFIG" && \
24869     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencore-amrwb\""; } >&5
24870   ($PKG_CONFIG --exists --print-errors "opencore-amrwb") 2>&5
24871   ac_status=$?
24872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24873   test $ac_status = 0; }; then
24874   pkg_cv_AMRWB_CFLAGS=`$PKG_CONFIG --cflags "opencore-amrwb" 2>/dev/null`
24875 else
24876   pkg_failed=yes
24877 fi
24878     fi
24879 else
24880         pkg_failed=untried
24881 fi
24882 if test -n "$PKG_CONFIG"; then
24883     if test -n "$AMRWB_LIBS"; then
24884         pkg_cv_AMRWB_LIBS="$AMRWB_LIBS"
24885     else
24886         if test -n "$PKG_CONFIG" && \
24887     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencore-amrwb\""; } >&5
24888   ($PKG_CONFIG --exists --print-errors "opencore-amrwb") 2>&5
24889   ac_status=$?
24890   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24891   test $ac_status = 0; }; then
24892   pkg_cv_AMRWB_LIBS=`$PKG_CONFIG --libs "opencore-amrwb" 2>/dev/null`
24893 else
24894   pkg_failed=yes
24895 fi
24896     fi
24897 else
24898         pkg_failed=untried
24899 fi
24900
24901
24902
24903 if test $pkg_failed = yes; then
24904
24905 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24906         _pkg_short_errors_supported=yes
24907 else
24908         _pkg_short_errors_supported=no
24909 fi
24910         if test $_pkg_short_errors_supported = yes; then
24911                 AMRWB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "opencore-amrwb"`
24912         else
24913                 AMRWB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "opencore-amrwb"`
24914         fi
24915         # Put the nasty error message in config.log where it belongs
24916         echo "$AMRWB_PKG_ERRORS" >&5
24917
24918         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24919 $as_echo "no" >&6; }
24920
24921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D_IF_decode in -lopencore-amrwb" >&5
24922 $as_echo_n "checking for D_IF_decode in -lopencore-amrwb... " >&6; }
24923 if ${ac_cv_lib_opencore_amrwb_D_IF_decode+:} false; then :
24924   $as_echo_n "(cached) " >&6
24925 else
24926   ac_check_lib_save_LIBS=$LIBS
24927 LIBS="-lopencore-amrwb  $LIBS"
24928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24929 /* end confdefs.h.  */
24930
24931 /* Override any GCC internal prototype to avoid an error.
24932    Use char because int might match the return type of a GCC
24933    builtin and then its argument prototype would still apply.  */
24934 #ifdef __cplusplus
24935 extern "C"
24936 #endif
24937 char D_IF_decode ();
24938 int
24939 main ()
24940 {
24941 return D_IF_decode ();
24942   ;
24943   return 0;
24944 }
24945 _ACEOF
24946 if ac_fn_c_try_link "$LINENO"; then :
24947   ac_cv_lib_opencore_amrwb_D_IF_decode=yes
24948 else
24949   ac_cv_lib_opencore_amrwb_D_IF_decode=no
24950 fi
24951 rm -f core conftest.err conftest.$ac_objext \
24952     conftest$ac_exeext conftest.$ac_ext
24953 LIBS=$ac_check_lib_save_LIBS
24954 fi
24955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrwb_D_IF_decode" >&5
24956 $as_echo "$ac_cv_lib_opencore_amrwb_D_IF_decode" >&6; }
24957 if test "x$ac_cv_lib_opencore_amrwb_D_IF_decode" = xyes; then :
24958   HAVE_AMRWB=yes
24959 else
24960   HAVE_AMRWB=no
24961 fi
24962
24963   if test "x$HAVE_AMRWB" = "xyes"; then
24964     ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrwb/dec_if.h" "ac_cv_header_opencore_amrwb_dec_if_h" "$ac_includes_default"
24965 if test "x$ac_cv_header_opencore_amrwb_dec_if_h" = xyes; then :
24966   :
24967 else
24968   HAVE_AMRWB=no
24969 fi
24970
24971
24972     if test "x$HAVE_AMRWB" = "xyes"; then
24973             AMRWB_LIBS="-lopencore-amrwb"
24974     else
24975       :
24976     fi
24977   else
24978     :
24979   fi
24980
24981
24982
24983
24984 elif test $pkg_failed = untried; then
24985
24986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D_IF_decode in -lopencore-amrwb" >&5
24987 $as_echo_n "checking for D_IF_decode in -lopencore-amrwb... " >&6; }
24988 if ${ac_cv_lib_opencore_amrwb_D_IF_decode+:} false; then :
24989   $as_echo_n "(cached) " >&6
24990 else
24991   ac_check_lib_save_LIBS=$LIBS
24992 LIBS="-lopencore-amrwb  $LIBS"
24993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24994 /* end confdefs.h.  */
24995
24996 /* Override any GCC internal prototype to avoid an error.
24997    Use char because int might match the return type of a GCC
24998    builtin and then its argument prototype would still apply.  */
24999 #ifdef __cplusplus
25000 extern "C"
25001 #endif
25002 char D_IF_decode ();
25003 int
25004 main ()
25005 {
25006 return D_IF_decode ();
25007   ;
25008   return 0;
25009 }
25010 _ACEOF
25011 if ac_fn_c_try_link "$LINENO"; then :
25012   ac_cv_lib_opencore_amrwb_D_IF_decode=yes
25013 else
25014   ac_cv_lib_opencore_amrwb_D_IF_decode=no
25015 fi
25016 rm -f core conftest.err conftest.$ac_objext \
25017     conftest$ac_exeext conftest.$ac_ext
25018 LIBS=$ac_check_lib_save_LIBS
25019 fi
25020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrwb_D_IF_decode" >&5
25021 $as_echo "$ac_cv_lib_opencore_amrwb_D_IF_decode" >&6; }
25022 if test "x$ac_cv_lib_opencore_amrwb_D_IF_decode" = xyes; then :
25023   HAVE_AMRWB=yes
25024 else
25025   HAVE_AMRWB=no
25026 fi
25027
25028   if test "x$HAVE_AMRWB" = "xyes"; then
25029     ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrwb/dec_if.h" "ac_cv_header_opencore_amrwb_dec_if_h" "$ac_includes_default"
25030 if test "x$ac_cv_header_opencore_amrwb_dec_if_h" = xyes; then :
25031   :
25032 else
25033   HAVE_AMRWB=no
25034 fi
25035
25036
25037     if test "x$HAVE_AMRWB" = "xyes"; then
25038             AMRWB_LIBS="-lopencore-amrwb"
25039     else
25040       :
25041     fi
25042   else
25043     :
25044   fi
25045
25046
25047
25048
25049 else
25050         AMRWB_CFLAGS=$pkg_cv_AMRWB_CFLAGS
25051         AMRWB_LIBS=$pkg_cv_AMRWB_LIBS
25052         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25053 $as_echo "yes" >&6; }
25054         HAVE_AMRWB="yes"
25055 fi
25056
25057
25058
25059
25060   LIBS=$gst_check_save_LIBS
25061   LDFLAGS=$gst_check_save_LDFLAGS
25062   CFLAGS=$gst_check_save_CFLAGS
25063   CPPFLAGS=$gst_check_save_CPPFLAGS
25064   CXXFLAGS=$gst_check_save_CXXFLAGS
25065
25066     if test x$HAVE_AMRWB = xno; then
25067     USE_AMRWB=no
25068   else
25069     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: amrwbdec" >&5
25070 $as_echo "$as_me: *** These plugins will be built: amrwbdec" >&6;}
25071   fi
25072 fi
25073 if test x$USE_AMRWB = xyes; then
25074   :
25075   if test "xamrwbdec" != "x"; then
25076     GST_PLUGINS_YES="\tamrwbdec\n$GST_PLUGINS_YES"
25077   fi
25078
25079 $as_echo "#define HAVE_AMRWB /**/" >>confdefs.h
25080
25081 else
25082   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: amrwbdec" >&5
25083 $as_echo "$as_me: *** These plugins will not be built: amrwbdec" >&6;}
25084   if test "xamrwbdec" != "x"; then
25085     GST_PLUGINS_NO="\tamrwbdec\n$GST_PLUGINS_NO"
25086   fi
25087   :
25088 fi
25089  if test x$USE_AMRWB = xyes; then
25090   USE_AMRWB_TRUE=
25091   USE_AMRWB_FALSE='#'
25092 else
25093   USE_AMRWB_TRUE='#'
25094   USE_AMRWB_FALSE=
25095 fi
25096
25097
25098
25099 echo
25100 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: cdio library ***" >&5
25101 $as_echo "$as_me: *** checking feature: cdio library ***" >&6;}
25102 if test "xcdio" != "x"
25103 then
25104   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cdio ***" >&5
25105 $as_echo "$as_me: *** for plug-ins: cdio ***" >&6;}
25106 fi
25107 NOUSE=
25108 if test "x$USE_CDIO" = "xno"; then
25109   NOUSE="yes"
25110 fi
25111 # Check whether --enable-cdio was given.
25112 if test "${enable_cdio+set}" = set; then :
25113   enableval=$enable_cdio;  case "${enableval}" in
25114       yes) USE_CDIO=yes;;
25115       no) USE_CDIO=no;;
25116       *) as_fn_error $? "bad value ${enableval} for --enable-cdio" "$LINENO" 5 ;;
25117     esac
25118 else
25119    USE_CDIO=yes
25120 fi
25121
25122 if test "x$NOUSE" = "xyes"; then
25123   USE_CDIO="no"
25124   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cdio pre-configured not to be built" >&5
25125 $as_echo "$as_me: WARNING: *** cdio pre-configured not to be built" >&2;}
25126 fi
25127 NOUSE=
25128
25129
25130 if test x$USE_CDIO = xyes; then
25131
25132   gst_check_save_LIBS=$LIBS
25133   gst_check_save_LDFLAGS=$LDFLAGS
25134   gst_check_save_CFLAGS=$CFLAGS
25135   gst_check_save_CPPFLAGS=$CPPFLAGS
25136   gst_check_save_CXXFLAGS=$CXXFLAGS
25137
25138   HAVE_CDIO=no
25139
25140
25141   which="libcdio >= 0.76"
25142     required="no"
25143
25144
25145 pkg_failed=no
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CDIO" >&5
25147 $as_echo_n "checking for CDIO... " >&6; }
25148
25149 if test -n "$PKG_CONFIG"; then
25150     if test -n "$CDIO_CFLAGS"; then
25151         pkg_cv_CDIO_CFLAGS="$CDIO_CFLAGS"
25152     else
25153         if test -n "$PKG_CONFIG" && \
25154     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
25155   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
25156   ac_status=$?
25157   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25158   test $ac_status = 0; }; then
25159   pkg_cv_CDIO_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
25160 else
25161   pkg_failed=yes
25162 fi
25163     fi
25164 else
25165         pkg_failed=untried
25166 fi
25167 if test -n "$PKG_CONFIG"; then
25168     if test -n "$CDIO_LIBS"; then
25169         pkg_cv_CDIO_LIBS="$CDIO_LIBS"
25170     else
25171         if test -n "$PKG_CONFIG" && \
25172     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
25173   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
25174   ac_status=$?
25175   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25176   test $ac_status = 0; }; then
25177   pkg_cv_CDIO_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
25178 else
25179   pkg_failed=yes
25180 fi
25181     fi
25182 else
25183         pkg_failed=untried
25184 fi
25185
25186
25187
25188 if test $pkg_failed = yes; then
25189
25190 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25191         _pkg_short_errors_supported=yes
25192 else
25193         _pkg_short_errors_supported=no
25194 fi
25195         if test $_pkg_short_errors_supported = yes; then
25196                 CDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
25197         else
25198                 CDIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
25199         fi
25200         # Put the nasty error message in config.log where it belongs
25201         echo "$CDIO_PKG_ERRORS" >&5
25202
25203         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25204 $as_echo "no" >&6; }
25205
25206       HAVE_CDIO="no"
25207       if test "x$required" = "xyes"; then
25208         as_fn_error $? "$CDIO_PKG_ERRORS" "$LINENO" 5
25209       else
25210         { $as_echo "$as_me:${as_lineno-$LINENO}: $CDIO_PKG_ERRORS" >&5
25211 $as_echo "$as_me: $CDIO_PKG_ERRORS" >&6;}
25212       fi
25213
25214 elif test $pkg_failed = untried; then
25215
25216       HAVE_CDIO="no"
25217       if test "x$required" = "xyes"; then
25218         as_fn_error $? "$CDIO_PKG_ERRORS" "$LINENO" 5
25219       else
25220         { $as_echo "$as_me:${as_lineno-$LINENO}: $CDIO_PKG_ERRORS" >&5
25221 $as_echo "$as_me: $CDIO_PKG_ERRORS" >&6;}
25222       fi
25223
25224 else
25225         CDIO_CFLAGS=$pkg_cv_CDIO_CFLAGS
25226         CDIO_LIBS=$pkg_cv_CDIO_LIBS
25227         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25228 $as_echo "yes" >&6; }
25229
25230       HAVE_CDIO="yes"
25231
25232 fi
25233
25234
25235
25236
25237   LIBS=$gst_check_save_LIBS
25238   LDFLAGS=$gst_check_save_LDFLAGS
25239   CFLAGS=$gst_check_save_CFLAGS
25240   CPPFLAGS=$gst_check_save_CPPFLAGS
25241   CXXFLAGS=$gst_check_save_CXXFLAGS
25242
25243     if test x$HAVE_CDIO = xno; then
25244     USE_CDIO=no
25245   else
25246     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cdio" >&5
25247 $as_echo "$as_me: *** These plugins will be built: cdio" >&6;}
25248   fi
25249 fi
25250 if test x$USE_CDIO = xyes; then
25251   :
25252   if test "xcdio" != "x"; then
25253     GST_PLUGINS_YES="\tcdio\n$GST_PLUGINS_YES"
25254   fi
25255
25256 $as_echo "#define HAVE_CDIO /**/" >>confdefs.h
25257
25258 else
25259   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cdio" >&5
25260 $as_echo "$as_me: *** These plugins will not be built: cdio" >&6;}
25261   if test "xcdio" != "x"; then
25262     GST_PLUGINS_NO="\tcdio\n$GST_PLUGINS_NO"
25263   fi
25264   :
25265 fi
25266  if test x$USE_CDIO = xyes; then
25267   USE_CDIO_TRUE=
25268   USE_CDIO_FALSE='#'
25269 else
25270   USE_CDIO_TRUE='#'
25271   USE_CDIO_FALSE=
25272 fi
25273
25274
25275
25276 echo
25277 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: dvdread library ***" >&5
25278 $as_echo "$as_me: *** checking feature: dvdread library ***" >&6;}
25279 if test "xdvdreadsrc" != "x"
25280 then
25281   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dvdreadsrc ***" >&5
25282 $as_echo "$as_me: *** for plug-ins: dvdreadsrc ***" >&6;}
25283 fi
25284 NOUSE=
25285 if test "x$USE_DVDREAD" = "xno"; then
25286   NOUSE="yes"
25287 fi
25288 # Check whether --enable-dvdread was given.
25289 if test "${enable_dvdread+set}" = set; then :
25290   enableval=$enable_dvdread;  case "${enableval}" in
25291       yes) USE_DVDREAD=yes;;
25292       no) USE_DVDREAD=no;;
25293       *) as_fn_error $? "bad value ${enableval} for --enable-dvdread" "$LINENO" 5 ;;
25294     esac
25295 else
25296    USE_DVDREAD=yes
25297 fi
25298
25299 if test "x$NOUSE" = "xyes"; then
25300   USE_DVDREAD="no"
25301   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dvdreadsrc pre-configured not to be built" >&5
25302 $as_echo "$as_me: WARNING: *** dvdreadsrc pre-configured not to be built" >&2;}
25303 fi
25304 NOUSE=
25305
25306
25307 if test x$USE_DVDREAD = xyes; then
25308
25309   gst_check_save_LIBS=$LIBS
25310   gst_check_save_LDFLAGS=$LDFLAGS
25311   gst_check_save_CFLAGS=$CFLAGS
25312   gst_check_save_CPPFLAGS=$CPPFLAGS
25313   gst_check_save_CXXFLAGS=$CXXFLAGS
25314
25315   HAVE_DVDREAD=no
25316
25317
25318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DVDOpen in -ldvdread" >&5
25319 $as_echo_n "checking for DVDOpen in -ldvdread... " >&6; }
25320 if ${ac_cv_lib_dvdread_DVDOpen+:} false; then :
25321   $as_echo_n "(cached) " >&6
25322 else
25323   ac_check_lib_save_LIBS=$LIBS
25324 LIBS="-ldvdread  $LIBS"
25325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25326 /* end confdefs.h.  */
25327
25328 /* Override any GCC internal prototype to avoid an error.
25329    Use char because int might match the return type of a GCC
25330    builtin and then its argument prototype would still apply.  */
25331 #ifdef __cplusplus
25332 extern "C"
25333 #endif
25334 char DVDOpen ();
25335 int
25336 main ()
25337 {
25338 return DVDOpen ();
25339   ;
25340   return 0;
25341 }
25342 _ACEOF
25343 if ac_fn_c_try_link "$LINENO"; then :
25344   ac_cv_lib_dvdread_DVDOpen=yes
25345 else
25346   ac_cv_lib_dvdread_DVDOpen=no
25347 fi
25348 rm -f core conftest.err conftest.$ac_objext \
25349     conftest$ac_exeext conftest.$ac_ext
25350 LIBS=$ac_check_lib_save_LIBS
25351 fi
25352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dvdread_DVDOpen" >&5
25353 $as_echo "$ac_cv_lib_dvdread_DVDOpen" >&6; }
25354 if test "x$ac_cv_lib_dvdread_DVDOpen" = xyes; then :
25355   HAVE_DVDREAD=yes
25356 else
25357   HAVE_DVDREAD=no
25358 fi
25359
25360   if test "x$HAVE_DVDREAD" = "xyes"; then
25361     ac_fn_c_check_header_mongrel "$LINENO" "dvdread/dvd_reader.h" "ac_cv_header_dvdread_dvd_reader_h" "$ac_includes_default"
25362 if test "x$ac_cv_header_dvdread_dvd_reader_h" = xyes; then :
25363   :
25364 else
25365   HAVE_DVDREAD=no
25366 fi
25367
25368
25369     if test "x$HAVE_DVDREAD" = "xyes"; then
25370             DVDREAD_LIBS="-ldvdread"
25371     else
25372       :
25373     fi
25374   else
25375     :
25376   fi
25377
25378
25379
25380
25381
25382
25383   LIBS=$gst_check_save_LIBS
25384   LDFLAGS=$gst_check_save_LDFLAGS
25385   CFLAGS=$gst_check_save_CFLAGS
25386   CPPFLAGS=$gst_check_save_CPPFLAGS
25387   CXXFLAGS=$gst_check_save_CXXFLAGS
25388
25389     if test x$HAVE_DVDREAD = xno; then
25390     USE_DVDREAD=no
25391   else
25392     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dvdreadsrc" >&5
25393 $as_echo "$as_me: *** These plugins will be built: dvdreadsrc" >&6;}
25394   fi
25395 fi
25396 if test x$USE_DVDREAD = xyes; then
25397   :
25398   if test "xdvdreadsrc" != "x"; then
25399     GST_PLUGINS_YES="\tdvdreadsrc\n$GST_PLUGINS_YES"
25400   fi
25401
25402 $as_echo "#define HAVE_DVDREAD /**/" >>confdefs.h
25403
25404 else
25405   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dvdreadsrc" >&5
25406 $as_echo "$as_me: *** These plugins will not be built: dvdreadsrc" >&6;}
25407   if test "xdvdreadsrc" != "x"; then
25408     GST_PLUGINS_NO="\tdvdreadsrc\n$GST_PLUGINS_NO"
25409   fi
25410   :
25411 fi
25412  if test x$USE_DVDREAD = xyes; then
25413   USE_DVDREAD_TRUE=
25414   USE_DVDREAD_FALSE='#'
25415 else
25416   USE_DVDREAD_TRUE='#'
25417   USE_DVDREAD_FALSE=
25418 fi
25419
25420
25421
25422 echo
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: lame mp3 encoder library ***" >&5
25424 $as_echo "$as_me: *** checking feature: lame mp3 encoder library ***" >&6;}
25425 if test "xlame" != "x"
25426 then
25427   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: lame ***" >&5
25428 $as_echo "$as_me: *** for plug-ins: lame ***" >&6;}
25429 fi
25430 NOUSE=
25431 if test "x$USE_LAME" = "xno"; then
25432   NOUSE="yes"
25433 fi
25434 # Check whether --enable-lame was given.
25435 if test "${enable_lame+set}" = set; then :
25436   enableval=$enable_lame;  case "${enableval}" in
25437       yes) USE_LAME=yes;;
25438       no) USE_LAME=no;;
25439       *) as_fn_error $? "bad value ${enableval} for --enable-lame" "$LINENO" 5 ;;
25440     esac
25441 else
25442    USE_LAME=yes
25443 fi
25444
25445 if test "x$NOUSE" = "xyes"; then
25446   USE_LAME="no"
25447   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** lame pre-configured not to be built" >&5
25448 $as_echo "$as_me: WARNING: *** lame pre-configured not to be built" >&2;}
25449 fi
25450 NOUSE=
25451
25452
25453 if test x$USE_LAME = xyes; then
25454
25455   gst_check_save_LIBS=$LIBS
25456   gst_check_save_LDFLAGS=$LDFLAGS
25457   gst_check_save_CFLAGS=$CFLAGS
25458   gst_check_save_CPPFLAGS=$CPPFLAGS
25459   gst_check_save_CXXFLAGS=$CXXFLAGS
25460
25461   HAVE_LAME=no
25462
25463
25464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lame_init in -lmp3lame" >&5
25465 $as_echo_n "checking for lame_init in -lmp3lame... " >&6; }
25466 if ${ac_cv_lib_mp3lame_lame_init+:} false; then :
25467   $as_echo_n "(cached) " >&6
25468 else
25469   ac_check_lib_save_LIBS=$LIBS
25470 LIBS="-lmp3lame $LIBM $LIBS"
25471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25472 /* end confdefs.h.  */
25473
25474 /* Override any GCC internal prototype to avoid an error.
25475    Use char because int might match the return type of a GCC
25476    builtin and then its argument prototype would still apply.  */
25477 #ifdef __cplusplus
25478 extern "C"
25479 #endif
25480 char lame_init ();
25481 int
25482 main ()
25483 {
25484 return lame_init ();
25485   ;
25486   return 0;
25487 }
25488 _ACEOF
25489 if ac_fn_c_try_link "$LINENO"; then :
25490   ac_cv_lib_mp3lame_lame_init=yes
25491 else
25492   ac_cv_lib_mp3lame_lame_init=no
25493 fi
25494 rm -f core conftest.err conftest.$ac_objext \
25495     conftest$ac_exeext conftest.$ac_ext
25496 LIBS=$ac_check_lib_save_LIBS
25497 fi
25498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mp3lame_lame_init" >&5
25499 $as_echo "$ac_cv_lib_mp3lame_lame_init" >&6; }
25500 if test "x$ac_cv_lib_mp3lame_lame_init" = xyes; then :
25501   HAVE_LAME=yes
25502 else
25503   HAVE_LAME=no
25504 fi
25505
25506   if test "x$HAVE_LAME" = "xyes"; then
25507     ac_fn_c_check_header_mongrel "$LINENO" "lame/lame.h" "ac_cv_header_lame_lame_h" "$ac_includes_default"
25508 if test "x$ac_cv_header_lame_lame_h" = xyes; then :
25509   :
25510 else
25511   HAVE_LAME=no
25512 fi
25513
25514
25515     if test "x$HAVE_LAME" = "xyes"; then
25516
25517     HAVE_LAME="yes"
25518     LAME_LIBS="-lmp3lame $LIBM"
25519         LAME_CFLAGS=""
25520     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25521 /* end confdefs.h.  */
25522 #include <lame/lame.h>
25523 int
25524 main ()
25525 {
25526  int preset = MEDIUM
25527   ;
25528   return 0;
25529 }
25530 _ACEOF
25531 if ac_fn_c_try_compile "$LINENO"; then :
25532   LAME_CFLAGS="-DGSTLAME_PRESET"
25533 else
25534   LAME_CFLAGS=""
25535
25536 fi
25537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25538     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25539 /* end confdefs.h.  */
25540 #include <lame/lame.h>
25541 int
25542 main ()
25543 {
25544
25545         void *ptr = &lame_set_VBR_quality
25546
25547   ;
25548   return 0;
25549 }
25550 _ACEOF
25551 if ac_fn_c_try_compile "$LINENO"; then :
25552   LAME_CFLAGS="$LAME_CFLAGS -DHAVE_LAME_SET_VBR_QUALITY"
25553 else
25554   LAME_CFLAGS="$LAME_CFLAGS"
25555
25556 fi
25557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25558
25559
25560
25561     else
25562       :
25563     fi
25564   else
25565     :
25566   fi
25567
25568
25569
25570
25571
25572   LIBS=$gst_check_save_LIBS
25573   LDFLAGS=$gst_check_save_LDFLAGS
25574   CFLAGS=$gst_check_save_CFLAGS
25575   CPPFLAGS=$gst_check_save_CPPFLAGS
25576   CXXFLAGS=$gst_check_save_CXXFLAGS
25577
25578     if test x$HAVE_LAME = xno; then
25579     USE_LAME=no
25580   else
25581     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: lame" >&5
25582 $as_echo "$as_me: *** These plugins will be built: lame" >&6;}
25583   fi
25584 fi
25585 if test x$USE_LAME = xyes; then
25586   :
25587   if test "xlame" != "x"; then
25588     GST_PLUGINS_YES="\tlame\n$GST_PLUGINS_YES"
25589   fi
25590
25591 $as_echo "#define HAVE_LAME /**/" >>confdefs.h
25592
25593 else
25594   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: lame" >&5
25595 $as_echo "$as_me: *** These plugins will not be built: lame" >&6;}
25596   if test "xlame" != "x"; then
25597     GST_PLUGINS_NO="\tlame\n$GST_PLUGINS_NO"
25598   fi
25599   :
25600 fi
25601  if test x$USE_LAME = xyes; then
25602   USE_LAME_TRUE=
25603   USE_LAME_FALSE='#'
25604 else
25605   USE_LAME_TRUE='#'
25606   USE_LAME_FALSE=
25607 fi
25608
25609
25610
25611 echo
25612 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: mad mp3 decoder ***" >&5
25613 $as_echo "$as_me: *** checking feature: mad mp3 decoder ***" >&6;}
25614 if test "xmad" != "x"
25615 then
25616   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mad ***" >&5
25617 $as_echo "$as_me: *** for plug-ins: mad ***" >&6;}
25618 fi
25619 NOUSE=
25620 if test "x$USE_MAD" = "xno"; then
25621   NOUSE="yes"
25622 fi
25623 # Check whether --enable-mad was given.
25624 if test "${enable_mad+set}" = set; then :
25625   enableval=$enable_mad;  case "${enableval}" in
25626       yes) USE_MAD=yes;;
25627       no) USE_MAD=no;;
25628       *) as_fn_error $? "bad value ${enableval} for --enable-mad" "$LINENO" 5 ;;
25629     esac
25630 else
25631    USE_MAD=yes
25632 fi
25633
25634 if test "x$NOUSE" = "xyes"; then
25635   USE_MAD="no"
25636   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mad pre-configured not to be built" >&5
25637 $as_echo "$as_me: WARNING: *** mad pre-configured not to be built" >&2;}
25638 fi
25639 NOUSE=
25640
25641
25642 if test x$USE_MAD = xyes; then
25643
25644   gst_check_save_LIBS=$LIBS
25645   gst_check_save_LDFLAGS=$LDFLAGS
25646   gst_check_save_CFLAGS=$CFLAGS
25647   gst_check_save_CPPFLAGS=$CPPFLAGS
25648   gst_check_save_CXXFLAGS=$CXXFLAGS
25649
25650   HAVE_MAD=no
25651
25652
25653
25654   which="mad >= 0.15"
25655     required="no"
25656
25657
25658 pkg_failed=no
25659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAD" >&5
25660 $as_echo_n "checking for MAD... " >&6; }
25661
25662 if test -n "$PKG_CONFIG"; then
25663     if test -n "$MAD_CFLAGS"; then
25664         pkg_cv_MAD_CFLAGS="$MAD_CFLAGS"
25665     else
25666         if test -n "$PKG_CONFIG" && \
25667     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
25668   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
25669   ac_status=$?
25670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25671   test $ac_status = 0; }; then
25672   pkg_cv_MAD_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
25673 else
25674   pkg_failed=yes
25675 fi
25676     fi
25677 else
25678         pkg_failed=untried
25679 fi
25680 if test -n "$PKG_CONFIG"; then
25681     if test -n "$MAD_LIBS"; then
25682         pkg_cv_MAD_LIBS="$MAD_LIBS"
25683     else
25684         if test -n "$PKG_CONFIG" && \
25685     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
25686   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
25687   ac_status=$?
25688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25689   test $ac_status = 0; }; then
25690   pkg_cv_MAD_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
25691 else
25692   pkg_failed=yes
25693 fi
25694     fi
25695 else
25696         pkg_failed=untried
25697 fi
25698
25699
25700
25701 if test $pkg_failed = yes; then
25702
25703 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25704         _pkg_short_errors_supported=yes
25705 else
25706         _pkg_short_errors_supported=no
25707 fi
25708         if test $_pkg_short_errors_supported = yes; then
25709                 MAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
25710         else
25711                 MAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
25712         fi
25713         # Put the nasty error message in config.log where it belongs
25714         echo "$MAD_PKG_ERRORS" >&5
25715
25716         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25717 $as_echo "no" >&6; }
25718
25719       HAVE_MAD="no"
25720       if test "x$required" = "xyes"; then
25721         as_fn_error $? "$MAD_PKG_ERRORS" "$LINENO" 5
25722       else
25723         { $as_echo "$as_me:${as_lineno-$LINENO}: $MAD_PKG_ERRORS" >&5
25724 $as_echo "$as_me: $MAD_PKG_ERRORS" >&6;}
25725       fi
25726
25727 elif test $pkg_failed = untried; then
25728
25729       HAVE_MAD="no"
25730       if test "x$required" = "xyes"; then
25731         as_fn_error $? "$MAD_PKG_ERRORS" "$LINENO" 5
25732       else
25733         { $as_echo "$as_me:${as_lineno-$LINENO}: $MAD_PKG_ERRORS" >&5
25734 $as_echo "$as_me: $MAD_PKG_ERRORS" >&6;}
25735       fi
25736
25737 else
25738         MAD_CFLAGS=$pkg_cv_MAD_CFLAGS
25739         MAD_LIBS=$pkg_cv_MAD_LIBS
25740         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25741 $as_echo "yes" >&6; }
25742
25743       HAVE_MAD="yes"
25744
25745 fi
25746
25747
25748   MAD_LIBS="$MAD_LIBS"
25749   if test "x$HAVE_MAD" = "xno"; then
25750         ac_fn_c_check_header_mongrel "$LINENO" "mad.h" "ac_cv_header_mad_h" "$ac_includes_default"
25751 if test "x$ac_cv_header_mad_h" = xyes; then :
25752
25753       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad_decoder_finish in -lmad" >&5
25754 $as_echo_n "checking for mad_decoder_finish in -lmad... " >&6; }
25755 if ${ac_cv_lib_mad_mad_decoder_finish+:} false; then :
25756   $as_echo_n "(cached) " >&6
25757 else
25758   ac_check_lib_save_LIBS=$LIBS
25759 LIBS="-lmad  $LIBS"
25760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25761 /* end confdefs.h.  */
25762
25763 /* Override any GCC internal prototype to avoid an error.
25764    Use char because int might match the return type of a GCC
25765    builtin and then its argument prototype would still apply.  */
25766 #ifdef __cplusplus
25767 extern "C"
25768 #endif
25769 char mad_decoder_finish ();
25770 int
25771 main ()
25772 {
25773 return mad_decoder_finish ();
25774   ;
25775   return 0;
25776 }
25777 _ACEOF
25778 if ac_fn_c_try_link "$LINENO"; then :
25779   ac_cv_lib_mad_mad_decoder_finish=yes
25780 else
25781   ac_cv_lib_mad_mad_decoder_finish=no
25782 fi
25783 rm -f core conftest.err conftest.$ac_objext \
25784     conftest$ac_exeext conftest.$ac_ext
25785 LIBS=$ac_check_lib_save_LIBS
25786 fi
25787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mad_mad_decoder_finish" >&5
25788 $as_echo "$ac_cv_lib_mad_mad_decoder_finish" >&6; }
25789 if test "x$ac_cv_lib_mad_mad_decoder_finish" = xyes; then :
25790   HAVE_MAD="yes" MAD_LIBS="-lmad"
25791 fi
25792
25793
25794 fi
25795
25796
25797   fi
25798
25799
25800   LIBS=$gst_check_save_LIBS
25801   LDFLAGS=$gst_check_save_LDFLAGS
25802   CFLAGS=$gst_check_save_CFLAGS
25803   CPPFLAGS=$gst_check_save_CPPFLAGS
25804   CXXFLAGS=$gst_check_save_CXXFLAGS
25805
25806     if test x$HAVE_MAD = xno; then
25807     USE_MAD=no
25808   else
25809     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mad" >&5
25810 $as_echo "$as_me: *** These plugins will be built: mad" >&6;}
25811   fi
25812 fi
25813 if test x$USE_MAD = xyes; then
25814   :
25815   if test "xmad" != "x"; then
25816     GST_PLUGINS_YES="\tmad\n$GST_PLUGINS_YES"
25817   fi
25818
25819 $as_echo "#define HAVE_MAD /**/" >>confdefs.h
25820
25821 else
25822   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mad" >&5
25823 $as_echo "$as_me: *** These plugins will not be built: mad" >&6;}
25824   if test "xmad" != "x"; then
25825     GST_PLUGINS_NO="\tmad\n$GST_PLUGINS_NO"
25826   fi
25827   :
25828 fi
25829  if test x$USE_MAD = xyes; then
25830   USE_MAD_TRUE=
25831   USE_MAD_FALSE='#'
25832 else
25833   USE_MAD_TRUE='#'
25834   USE_MAD_FALSE=
25835 fi
25836
25837
25838
25839
25840 echo
25841 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: mpeg2dec ***" >&5
25842 $as_echo "$as_me: *** checking feature: mpeg2dec ***" >&6;}
25843 if test "xmpeg2dec" != "x"
25844 then
25845   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mpeg2dec ***" >&5
25846 $as_echo "$as_me: *** for plug-ins: mpeg2dec ***" >&6;}
25847 fi
25848 NOUSE=
25849 if test "x$USE_MPEG2DEC" = "xno"; then
25850   NOUSE="yes"
25851 fi
25852 # Check whether --enable-mpeg2dec was given.
25853 if test "${enable_mpeg2dec+set}" = set; then :
25854   enableval=$enable_mpeg2dec;  case "${enableval}" in
25855       yes) USE_MPEG2DEC=yes;;
25856       no) USE_MPEG2DEC=no;;
25857       *) as_fn_error $? "bad value ${enableval} for --enable-mpeg2dec" "$LINENO" 5 ;;
25858     esac
25859 else
25860    USE_MPEG2DEC=yes
25861 fi
25862
25863 if test "x$NOUSE" = "xyes"; then
25864   USE_MPEG2DEC="no"
25865   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mpeg2dec pre-configured not to be built" >&5
25866 $as_echo "$as_me: WARNING: *** mpeg2dec pre-configured not to be built" >&2;}
25867 fi
25868 NOUSE=
25869
25870
25871 if test x$USE_MPEG2DEC = xyes; then
25872
25873   gst_check_save_LIBS=$LIBS
25874   gst_check_save_LDFLAGS=$LDFLAGS
25875   gst_check_save_CFLAGS=$CFLAGS
25876   gst_check_save_CPPFLAGS=$CPPFLAGS
25877   gst_check_save_CXXFLAGS=$CXXFLAGS
25878
25879   HAVE_MPEG2DEC=no
25880
25881
25882   which="libmpeg2 >= 0.4.0"
25883     required="no"
25884
25885
25886 pkg_failed=no
25887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPEG2DEC" >&5
25888 $as_echo_n "checking for MPEG2DEC... " >&6; }
25889
25890 if test -n "$PKG_CONFIG"; then
25891     if test -n "$MPEG2DEC_CFLAGS"; then
25892         pkg_cv_MPEG2DEC_CFLAGS="$MPEG2DEC_CFLAGS"
25893     else
25894         if test -n "$PKG_CONFIG" && \
25895     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
25896   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
25897   ac_status=$?
25898   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25899   test $ac_status = 0; }; then
25900   pkg_cv_MPEG2DEC_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
25901 else
25902   pkg_failed=yes
25903 fi
25904     fi
25905 else
25906         pkg_failed=untried
25907 fi
25908 if test -n "$PKG_CONFIG"; then
25909     if test -n "$MPEG2DEC_LIBS"; then
25910         pkg_cv_MPEG2DEC_LIBS="$MPEG2DEC_LIBS"
25911     else
25912         if test -n "$PKG_CONFIG" && \
25913     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
25914   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
25915   ac_status=$?
25916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25917   test $ac_status = 0; }; then
25918   pkg_cv_MPEG2DEC_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
25919 else
25920   pkg_failed=yes
25921 fi
25922     fi
25923 else
25924         pkg_failed=untried
25925 fi
25926
25927
25928
25929 if test $pkg_failed = yes; then
25930
25931 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25932         _pkg_short_errors_supported=yes
25933 else
25934         _pkg_short_errors_supported=no
25935 fi
25936         if test $_pkg_short_errors_supported = yes; then
25937                 MPEG2DEC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
25938         else
25939                 MPEG2DEC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
25940         fi
25941         # Put the nasty error message in config.log where it belongs
25942         echo "$MPEG2DEC_PKG_ERRORS" >&5
25943
25944         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25945 $as_echo "no" >&6; }
25946
25947       HAVE_MPEG2DEC="no"
25948       if test "x$required" = "xyes"; then
25949         as_fn_error $? "$MPEG2DEC_PKG_ERRORS" "$LINENO" 5
25950       else
25951         { $as_echo "$as_me:${as_lineno-$LINENO}: $MPEG2DEC_PKG_ERRORS" >&5
25952 $as_echo "$as_me: $MPEG2DEC_PKG_ERRORS" >&6;}
25953       fi
25954
25955 elif test $pkg_failed = untried; then
25956
25957       HAVE_MPEG2DEC="no"
25958       if test "x$required" = "xyes"; then
25959         as_fn_error $? "$MPEG2DEC_PKG_ERRORS" "$LINENO" 5
25960       else
25961         { $as_echo "$as_me:${as_lineno-$LINENO}: $MPEG2DEC_PKG_ERRORS" >&5
25962 $as_echo "$as_me: $MPEG2DEC_PKG_ERRORS" >&6;}
25963       fi
25964
25965 else
25966         MPEG2DEC_CFLAGS=$pkg_cv_MPEG2DEC_CFLAGS
25967         MPEG2DEC_LIBS=$pkg_cv_MPEG2DEC_LIBS
25968         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25969 $as_echo "yes" >&6; }
25970
25971       HAVE_MPEG2DEC="yes"
25972
25973 fi
25974
25975
25976
25977
25978   LIBS=$gst_check_save_LIBS
25979   LDFLAGS=$gst_check_save_LDFLAGS
25980   CFLAGS=$gst_check_save_CFLAGS
25981   CPPFLAGS=$gst_check_save_CPPFLAGS
25982   CXXFLAGS=$gst_check_save_CXXFLAGS
25983
25984     if test x$HAVE_MPEG2DEC = xno; then
25985     USE_MPEG2DEC=no
25986   else
25987     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mpeg2dec" >&5
25988 $as_echo "$as_me: *** These plugins will be built: mpeg2dec" >&6;}
25989   fi
25990 fi
25991 if test x$USE_MPEG2DEC = xyes; then
25992   :
25993   if test "xmpeg2dec" != "x"; then
25994     GST_PLUGINS_YES="\tmpeg2dec\n$GST_PLUGINS_YES"
25995   fi
25996
25997 $as_echo "#define HAVE_MPEG2DEC /**/" >>confdefs.h
25998
25999 else
26000   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mpeg2dec" >&5
26001 $as_echo "$as_me: *** These plugins will not be built: mpeg2dec" >&6;}
26002   if test "xmpeg2dec" != "x"; then
26003     GST_PLUGINS_NO="\tmpeg2dec\n$GST_PLUGINS_NO"
26004   fi
26005   :
26006 fi
26007  if test x$USE_MPEG2DEC = xyes; then
26008   USE_MPEG2DEC_TRUE=
26009   USE_MPEG2DEC_FALSE='#'
26010 else
26011   USE_MPEG2DEC_TRUE='#'
26012   USE_MPEG2DEC_FALSE=
26013 fi
26014
26015
26016
26017
26018 echo
26019 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libsidplay ***" >&5
26020 $as_echo "$as_me: *** checking feature: libsidplay ***" >&6;}
26021 if test "xsid" != "x"
26022 then
26023   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: sid ***" >&5
26024 $as_echo "$as_me: *** for plug-ins: sid ***" >&6;}
26025 fi
26026 NOUSE=
26027 if test "x$USE_SIDPLAY" = "xno"; then
26028   NOUSE="yes"
26029 fi
26030 # Check whether --enable-sidplay was given.
26031 if test "${enable_sidplay+set}" = set; then :
26032   enableval=$enable_sidplay;  case "${enableval}" in
26033       yes) USE_SIDPLAY=yes;;
26034       no) USE_SIDPLAY=no;;
26035       *) as_fn_error $? "bad value ${enableval} for --enable-sidplay" "$LINENO" 5 ;;
26036     esac
26037 else
26038    USE_SIDPLAY=yes
26039 fi
26040
26041 if test "x$NOUSE" = "xyes"; then
26042   USE_SIDPLAY="no"
26043   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sid pre-configured not to be built" >&5
26044 $as_echo "$as_me: WARNING: *** sid pre-configured not to be built" >&2;}
26045 fi
26046 NOUSE=
26047
26048
26049 if test x$USE_SIDPLAY = xyes; then
26050
26051   gst_check_save_LIBS=$LIBS
26052   gst_check_save_LDFLAGS=$LDFLAGS
26053   gst_check_save_CFLAGS=$CFLAGS
26054   gst_check_save_CPPFLAGS=$CPPFLAGS
26055   gst_check_save_CXXFLAGS=$CXXFLAGS
26056
26057   HAVE_SIDPLAY=no
26058
26059
26060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsidplay 1.36.x" >&5
26061 $as_echo_n "checking for libsidplay 1.36.x... " >&6; }
26062
26063 ac_ext=cpp
26064 ac_cpp='$CXXCPP $CPPFLAGS'
26065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26068
26069
26070 ac_fn_cxx_check_header_mongrel "$LINENO" "sidplay/player.h" "ac_cv_header_sidplay_player_h" "$ac_includes_default"
26071 if test "x$ac_cv_header_sidplay_player_h" = xyes; then :
26072   HAVE_SIDPLAY="yes"
26073 else
26074   HAVE_SIDPLAY="no"
26075 fi
26076
26077
26078
26079 if test $HAVE_SIDPLAY = "yes"; then
26080   SIDPLAY_LIBS="-lsidplay"
26081
26082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lsidplay works" >&5
26083 $as_echo_n "checking whether -lsidplay works... " >&6; }
26084   ac_libs_safe=$LIBS
26085
26086   LIBS="-lsidplay"
26087
26088   if test "$cross_compiling" = yes; then :
26089   HAVE_SIDPLAY="no"
26090 else
26091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26092 /* end confdefs.h.  */
26093
26094     #include <sidplay/player.h>
26095     int main()
26096     { sidTune tune = sidTune(0);  }
26097
26098 _ACEOF
26099 if ac_fn_cxx_try_run "$LINENO"; then :
26100   HAVE_SIDPLAY="yes"
26101 else
26102   HAVE_SIDPLAY="no"
26103 fi
26104 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26105   conftest.$ac_objext conftest.beam conftest.$ac_ext
26106 fi
26107
26108
26109   LIBS="$ac_libs_safe"
26110
26111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_SIDPLAY" >&5
26112 $as_echo "$HAVE_SIDPLAY" >&6; }
26113 fi
26114
26115 SIDPLAY_CFLAGS=
26116 SIDPLAY_LIBS="-lsidplay"
26117
26118
26119
26120 ac_ext=c
26121 ac_cpp='$CPP $CPPFLAGS'
26122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26125
26126
26127
26128
26129   LIBS=$gst_check_save_LIBS
26130   LDFLAGS=$gst_check_save_LDFLAGS
26131   CFLAGS=$gst_check_save_CFLAGS
26132   CPPFLAGS=$gst_check_save_CPPFLAGS
26133   CXXFLAGS=$gst_check_save_CXXFLAGS
26134
26135     if test x$HAVE_SIDPLAY = xno; then
26136     USE_SIDPLAY=no
26137   else
26138     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: sid" >&5
26139 $as_echo "$as_me: *** These plugins will be built: sid" >&6;}
26140   fi
26141 fi
26142 if test x$USE_SIDPLAY = xyes; then
26143   :
26144   if test "xsid" != "x"; then
26145     GST_PLUGINS_YES="\tsid\n$GST_PLUGINS_YES"
26146   fi
26147
26148 $as_echo "#define HAVE_SIDPLAY /**/" >>confdefs.h
26149
26150 else
26151   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: sid" >&5
26152 $as_echo "$as_me: *** These plugins will not be built: sid" >&6;}
26153   if test "xsid" != "x"; then
26154     GST_PLUGINS_NO="\tsid\n$GST_PLUGINS_NO"
26155   fi
26156   :
26157 fi
26158  if test x$USE_SIDPLAY = xyes; then
26159   USE_SIDPLAY_TRUE=
26160   USE_SIDPLAY_FALSE='#'
26161 else
26162   USE_SIDPLAY_TRUE='#'
26163   USE_SIDPLAY_FALSE=
26164 fi
26165
26166
26167
26168 echo
26169 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: twolame ***" >&5
26170 $as_echo "$as_me: *** checking feature: twolame ***" >&6;}
26171 if test "xtwolame" != "x"
26172 then
26173   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: twolame ***" >&5
26174 $as_echo "$as_me: *** for plug-ins: twolame ***" >&6;}
26175 fi
26176 NOUSE=
26177 if test "x$USE_TWOLAME" = "xno"; then
26178   NOUSE="yes"
26179 fi
26180 # Check whether --enable-twolame was given.
26181 if test "${enable_twolame+set}" = set; then :
26182   enableval=$enable_twolame;  case "${enableval}" in
26183       yes) USE_TWOLAME=yes;;
26184       no) USE_TWOLAME=no;;
26185       *) as_fn_error $? "bad value ${enableval} for --enable-twolame" "$LINENO" 5 ;;
26186     esac
26187 else
26188    USE_TWOLAME=yes
26189 fi
26190
26191 if test "x$NOUSE" = "xyes"; then
26192   USE_TWOLAME="no"
26193   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** twolame pre-configured not to be built" >&5
26194 $as_echo "$as_me: WARNING: *** twolame pre-configured not to be built" >&2;}
26195 fi
26196 NOUSE=
26197
26198
26199 if test x$USE_TWOLAME = xyes; then
26200
26201   gst_check_save_LIBS=$LIBS
26202   gst_check_save_LDFLAGS=$LDFLAGS
26203   gst_check_save_CFLAGS=$CFLAGS
26204   gst_check_save_CPPFLAGS=$CPPFLAGS
26205   gst_check_save_CXXFLAGS=$CXXFLAGS
26206
26207   HAVE_TWOLAME=no
26208
26209
26210 pkg_failed=no
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TWOLAME" >&5
26212 $as_echo_n "checking for TWOLAME... " >&6; }
26213
26214 if test -n "$PKG_CONFIG"; then
26215     if test -n "$TWOLAME_CFLAGS"; then
26216         pkg_cv_TWOLAME_CFLAGS="$TWOLAME_CFLAGS"
26217     else
26218         if test -n "$PKG_CONFIG" && \
26219     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame >= 0.3.10\""; } >&5
26220   ($PKG_CONFIG --exists --print-errors "twolame >= 0.3.10") 2>&5
26221   ac_status=$?
26222   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26223   test $ac_status = 0; }; then
26224   pkg_cv_TWOLAME_CFLAGS=`$PKG_CONFIG --cflags "twolame >= 0.3.10" 2>/dev/null`
26225 else
26226   pkg_failed=yes
26227 fi
26228     fi
26229 else
26230         pkg_failed=untried
26231 fi
26232 if test -n "$PKG_CONFIG"; then
26233     if test -n "$TWOLAME_LIBS"; then
26234         pkg_cv_TWOLAME_LIBS="$TWOLAME_LIBS"
26235     else
26236         if test -n "$PKG_CONFIG" && \
26237     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame >= 0.3.10\""; } >&5
26238   ($PKG_CONFIG --exists --print-errors "twolame >= 0.3.10") 2>&5
26239   ac_status=$?
26240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26241   test $ac_status = 0; }; then
26242   pkg_cv_TWOLAME_LIBS=`$PKG_CONFIG --libs "twolame >= 0.3.10" 2>/dev/null`
26243 else
26244   pkg_failed=yes
26245 fi
26246     fi
26247 else
26248         pkg_failed=untried
26249 fi
26250
26251
26252
26253 if test $pkg_failed = yes; then
26254
26255 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26256         _pkg_short_errors_supported=yes
26257 else
26258         _pkg_short_errors_supported=no
26259 fi
26260         if test $_pkg_short_errors_supported = yes; then
26261                 TWOLAME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "twolame >= 0.3.10"`
26262         else
26263                 TWOLAME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "twolame >= 0.3.10"`
26264         fi
26265         # Put the nasty error message in config.log where it belongs
26266         echo "$TWOLAME_PKG_ERRORS" >&5
26267
26268         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26269 $as_echo "no" >&6; }
26270
26271       HAVE_TWOLAME="no"
26272
26273 elif test $pkg_failed = untried; then
26274
26275       HAVE_TWOLAME="no"
26276
26277 else
26278         TWOLAME_CFLAGS=$pkg_cv_TWOLAME_CFLAGS
26279         TWOLAME_LIBS=$pkg_cv_TWOLAME_LIBS
26280         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26281 $as_echo "yes" >&6; }
26282
26283       HAVE_TWOLAME="yes"
26284 fi
26285
26286
26287
26288
26289   LIBS=$gst_check_save_LIBS
26290   LDFLAGS=$gst_check_save_LDFLAGS
26291   CFLAGS=$gst_check_save_CFLAGS
26292   CPPFLAGS=$gst_check_save_CPPFLAGS
26293   CXXFLAGS=$gst_check_save_CXXFLAGS
26294
26295     if test x$HAVE_TWOLAME = xno; then
26296     USE_TWOLAME=no
26297   else
26298     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: twolame" >&5
26299 $as_echo "$as_me: *** These plugins will be built: twolame" >&6;}
26300   fi
26301 fi
26302 if test x$USE_TWOLAME = xyes; then
26303   :
26304   if test "xtwolame" != "x"; then
26305     GST_PLUGINS_YES="\ttwolame\n$GST_PLUGINS_YES"
26306   fi
26307
26308 $as_echo "#define HAVE_TWOLAME /**/" >>confdefs.h
26309
26310 else
26311   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: twolame" >&5
26312 $as_echo "$as_me: *** These plugins will not be built: twolame" >&6;}
26313   if test "xtwolame" != "x"; then
26314     GST_PLUGINS_NO="\ttwolame\n$GST_PLUGINS_NO"
26315   fi
26316   :
26317 fi
26318  if test x$USE_TWOLAME = xyes; then
26319   USE_TWOLAME_TRUE=
26320   USE_TWOLAME_FALSE='#'
26321 else
26322   USE_TWOLAME_TRUE='#'
26323   USE_TWOLAME_FALSE=
26324 fi
26325
26326
26327
26328 echo
26329 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: x264 plug-in ***" >&5
26330 $as_echo "$as_me: *** checking feature: x264 plug-in ***" >&6;}
26331 if test "xx264" != "x"
26332 then
26333   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: x264 ***" >&5
26334 $as_echo "$as_me: *** for plug-ins: x264 ***" >&6;}
26335 fi
26336 NOUSE=
26337 if test "x$USE_X264" = "xno"; then
26338   NOUSE="yes"
26339 fi
26340 # Check whether --enable-x264 was given.
26341 if test "${enable_x264+set}" = set; then :
26342   enableval=$enable_x264;  case "${enableval}" in
26343       yes) USE_X264=yes;;
26344       no) USE_X264=no;;
26345       *) as_fn_error $? "bad value ${enableval} for --enable-x264" "$LINENO" 5 ;;
26346     esac
26347 else
26348    USE_X264=yes
26349 fi
26350
26351 if test "x$NOUSE" = "xyes"; then
26352   USE_X264="no"
26353   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** x264 pre-configured not to be built" >&5
26354 $as_echo "$as_me: WARNING: *** x264 pre-configured not to be built" >&2;}
26355 fi
26356 NOUSE=
26357
26358
26359 if test x$USE_X264 = xyes; then
26360
26361   gst_check_save_LIBS=$LIBS
26362   gst_check_save_LDFLAGS=$LDFLAGS
26363   gst_check_save_CFLAGS=$CFLAGS
26364   gst_check_save_CPPFLAGS=$CPPFLAGS
26365   gst_check_save_CXXFLAGS=$CXXFLAGS
26366
26367   HAVE_X264=no
26368
26369
26370   which="x264 >= 0.55.0"
26371     required="no"
26372
26373
26374 pkg_failed=no
26375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X264" >&5
26376 $as_echo_n "checking for X264... " >&6; }
26377
26378 if test -n "$PKG_CONFIG"; then
26379     if test -n "$X264_CFLAGS"; then
26380         pkg_cv_X264_CFLAGS="$X264_CFLAGS"
26381     else
26382         if test -n "$PKG_CONFIG" && \
26383     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
26384   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
26385   ac_status=$?
26386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26387   test $ac_status = 0; }; then
26388   pkg_cv_X264_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
26389 else
26390   pkg_failed=yes
26391 fi
26392     fi
26393 else
26394         pkg_failed=untried
26395 fi
26396 if test -n "$PKG_CONFIG"; then
26397     if test -n "$X264_LIBS"; then
26398         pkg_cv_X264_LIBS="$X264_LIBS"
26399     else
26400         if test -n "$PKG_CONFIG" && \
26401     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
26402   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
26403   ac_status=$?
26404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26405   test $ac_status = 0; }; then
26406   pkg_cv_X264_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
26407 else
26408   pkg_failed=yes
26409 fi
26410     fi
26411 else
26412         pkg_failed=untried
26413 fi
26414
26415
26416
26417 if test $pkg_failed = yes; then
26418
26419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26420         _pkg_short_errors_supported=yes
26421 else
26422         _pkg_short_errors_supported=no
26423 fi
26424         if test $_pkg_short_errors_supported = yes; then
26425                 X264_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
26426         else
26427                 X264_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
26428         fi
26429         # Put the nasty error message in config.log where it belongs
26430         echo "$X264_PKG_ERRORS" >&5
26431
26432         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26433 $as_echo "no" >&6; }
26434
26435       HAVE_X264="no"
26436       if test "x$required" = "xyes"; then
26437         as_fn_error $? "$X264_PKG_ERRORS" "$LINENO" 5
26438       else
26439         { $as_echo "$as_me:${as_lineno-$LINENO}: $X264_PKG_ERRORS" >&5
26440 $as_echo "$as_me: $X264_PKG_ERRORS" >&6;}
26441       fi
26442
26443 elif test $pkg_failed = untried; then
26444
26445       HAVE_X264="no"
26446       if test "x$required" = "xyes"; then
26447         as_fn_error $? "$X264_PKG_ERRORS" "$LINENO" 5
26448       else
26449         { $as_echo "$as_me:${as_lineno-$LINENO}: $X264_PKG_ERRORS" >&5
26450 $as_echo "$as_me: $X264_PKG_ERRORS" >&6;}
26451       fi
26452
26453 else
26454         X264_CFLAGS=$pkg_cv_X264_CFLAGS
26455         X264_LIBS=$pkg_cv_X264_LIBS
26456         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26457 $as_echo "yes" >&6; }
26458
26459       HAVE_X264="yes"
26460
26461 fi
26462
26463
26464
26465
26466   LIBS=$gst_check_save_LIBS
26467   LDFLAGS=$gst_check_save_LDFLAGS
26468   CFLAGS=$gst_check_save_CFLAGS
26469   CPPFLAGS=$gst_check_save_CPPFLAGS
26470   CXXFLAGS=$gst_check_save_CXXFLAGS
26471
26472     if test x$HAVE_X264 = xno; then
26473     USE_X264=no
26474   else
26475     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: x264" >&5
26476 $as_echo "$as_me: *** These plugins will be built: x264" >&6;}
26477   fi
26478 fi
26479 if test x$USE_X264 = xyes; then
26480   :
26481   if test "xx264" != "x"; then
26482     GST_PLUGINS_YES="\tx264\n$GST_PLUGINS_YES"
26483   fi
26484
26485 $as_echo "#define HAVE_X264 /**/" >>confdefs.h
26486
26487 else
26488   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: x264" >&5
26489 $as_echo "$as_me: *** These plugins will not be built: x264" >&6;}
26490   if test "xx264" != "x"; then
26491     GST_PLUGINS_NO="\tx264\n$GST_PLUGINS_NO"
26492   fi
26493   :
26494 fi
26495  if test x$USE_X264 = xyes; then
26496   USE_X264_TRUE=
26497   USE_X264_FALSE='#'
26498 else
26499   USE_X264_TRUE='#'
26500   USE_X264_FALSE=
26501 fi
26502
26503
26504
26505 else
26506
26507
26508  if false; then
26509   USE_A52DEC_TRUE=
26510   USE_A52DEC_FALSE='#'
26511 else
26512   USE_A52DEC_TRUE='#'
26513   USE_A52DEC_FALSE=
26514 fi
26515
26516  if false; then
26517   USE_AMRNB_TRUE=
26518   USE_AMRNB_FALSE='#'
26519 else
26520   USE_AMRNB_TRUE='#'
26521   USE_AMRNB_FALSE=
26522 fi
26523
26524  if false; then
26525   USE_AMRWB_TRUE=
26526   USE_AMRWB_FALSE='#'
26527 else
26528   USE_AMRWB_TRUE='#'
26529   USE_AMRWB_FALSE=
26530 fi
26531
26532  if false; then
26533   USE_CDIO_TRUE=
26534   USE_CDIO_FALSE='#'
26535 else
26536   USE_CDIO_TRUE='#'
26537   USE_CDIO_FALSE=
26538 fi
26539
26540  if false; then
26541   USE_DVDREAD_TRUE=
26542   USE_DVDREAD_FALSE='#'
26543 else
26544   USE_DVDREAD_TRUE='#'
26545   USE_DVDREAD_FALSE=
26546 fi
26547
26548  if false; then
26549   USE_LAME_TRUE=
26550   USE_LAME_FALSE='#'
26551 else
26552   USE_LAME_TRUE='#'
26553   USE_LAME_FALSE=
26554 fi
26555
26556  if false; then
26557   USE_MAD_TRUE=
26558   USE_MAD_FALSE='#'
26559 else
26560   USE_MAD_TRUE='#'
26561   USE_MAD_FALSE=
26562 fi
26563
26564  if false; then
26565   USE_MPEG2DEC_TRUE=
26566   USE_MPEG2DEC_FALSE='#'
26567 else
26568   USE_MPEG2DEC_TRUE='#'
26569   USE_MPEG2DEC_FALSE=
26570 fi
26571
26572  if false; then
26573   USE_SIDPLAY_TRUE=
26574   USE_SIDPLAY_FALSE='#'
26575 else
26576   USE_SIDPLAY_TRUE='#'
26577   USE_SIDPLAY_FALSE=
26578 fi
26579
26580  if false; then
26581   USE_TWOLAME_TRUE=
26582   USE_TWOLAME_FALSE='#'
26583 else
26584   USE_TWOLAME_TRUE='#'
26585   USE_TWOLAME_FALSE=
26586 fi
26587
26588  if false; then
26589   USE_X264_TRUE=
26590   USE_X264_FALSE='#'
26591 else
26592   USE_X264_TRUE='#'
26593   USE_X264_FALSE=
26594 fi
26595
26596
26597 fi
26598
26599
26600 if test "x$USE_DEBUG" = xyes; then
26601    PROFILE_CFLAGS="-g"
26602 fi
26603
26604
26605 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
26606     DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
26607 else
26608   DEPRECATED_CFLAGS=""
26609 fi
26610
26611
26612 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
26613 GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
26614
26615
26616
26617 GST_CXXFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CXXFLAGS)"
26618 GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS)"
26619
26620
26621
26622
26623 GST_ALL_LDFLAGS="-no-undefined"
26624
26625
26626 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
26627
26628
26629
26630 ac_config_files="$ac_config_files Makefile common/Makefile common/m4/Makefile gst-libs/Makefile gst-libs/gst/Makefile gst/Makefile gst/asfdemux/Makefile gst/dvdlpcmdec/Makefile gst/dvdsub/Makefile gst/iec958/Makefile gst/mpegaudioparse/Makefile gst/mpegstream/Makefile gst/realmedia/Makefile gst/synaesthesia/Makefile ext/Makefile ext/a52dec/Makefile ext/amrnb/Makefile ext/amrwbdec/Makefile ext/cdio/Makefile ext/dvdread/Makefile ext/lame/Makefile ext/mad/Makefile ext/mpeg2dec/Makefile ext/sidplay/Makefile ext/twolame/Makefile ext/x264/Makefile docs/Makefile docs/plugins/Makefile docs/version.entities tests/Makefile tests/check/Makefile m4/Makefile po/Makefile.in pkgconfig/Makefile pkgconfig/gstreamer-plugins-ugly-uninstalled.pc gst-plugins-ugly.spec"
26631
26632
26633 sed \
26634     -e 's/.*config.h.in.*autoheader.*/\/* Autogenerated config.h created for win32 Visual Studio builds *\/\n\n\/* PREFIX -- specifically added for Windows for easier moving *\/\n#define PREFIX "C:\\\\gstreamer"\n\n/' \
26635     -e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
26636     -e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
26637     -e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \
26638     -e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \
26639     -e 's/.* GST_MAJORMINOR$/#define GST_MAJORMINOR "'$GST_MAJORMINOR'"/' \
26640     -e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \
26641     -e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \
26642     -e "s,.* GST_PACKAGE_RELEASE_DATETIME$,#define GST_PACKAGE_RELEASE_DATETIME \"${GST_PACKAGE_RELEASE_DATETIME}\"," \
26643     -e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \
26644     -e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \
26645     -e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \
26646     -e 's/.* HAVE_LIBXML2$/#define HAVE_LIBXML2 1/' \
26647     -e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \
26648     -e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \
26649     -e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \
26650     -e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \
26651     -e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \
26652     -e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \
26653     -e 's/.* HAVE_WINSOCK2_H$/#define HAVE_WINSOCK2_H 1/' \
26654     -e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \
26655     -e 's/.* LIBDIR$/#ifdef _DEBUG\n#  define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n#  define LIBDIR PREFIX "\\\\lib"\n#endif/' \
26656     -e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \
26657     -e "s/.* PACKAGE$/#define PACKAGE \"$PACKAGE\"/" \
26658     -e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \
26659     -e "s/.* PACKAGE_NAME$/#define PACKAGE_NAME \"$PACKAGE_NAME\"/" \
26660     -e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \
26661     -e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \
26662     -e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \
26663     -e 's/.* PLUGINDIR$/#ifdef _DEBUG\n#  define PLUGINDIR PREFIX "\\\\debug\\\\lib\\\\gstreamer-0.10"\n#else\n#  define PLUGINDIR PREFIX "\\\\lib\\\\gstreamer-0.10"\n#endif/' \
26664     -e 's/.* USE_BINARY_REGISTRY$/#define USE_BINARY_REGISTRY/' \
26665     -e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \
26666     -e "s/.* DEFAULT_AUDIOSINK$/#define DEFAULT_AUDIOSINK \"directsoundsink\"/" \
26667     -e "s/.* DEFAULT_AUDIOSRC$/#define DEFAULT_AUDIOSRC \"audiotestsrc\"/" \
26668     -e "s/.* DEFAULT_VIDEOSRC$/#define DEFAULT_VIDEOSRC \"videotestsrc\"/" \
26669     -e "s/.* DEFAULT_VISUALIZER$/#define DEFAULT_VISUALIZER \"goom\"/" \
26670     config.h.in >win32/common/config.h-new
26671
26672 cat >confcache <<\_ACEOF
26673 # This file is a shell script that caches the results of configure
26674 # tests run on this system so they can be shared between configure
26675 # scripts and configure runs, see configure's option --config-cache.
26676 # It is not useful on other systems.  If it contains results you don't
26677 # want to keep, you may remove or edit it.
26678 #
26679 # config.status only pays attention to the cache file if you give it
26680 # the --recheck option to rerun configure.
26681 #
26682 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26683 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26684 # following values.
26685
26686 _ACEOF
26687
26688 # The following way of writing the cache mishandles newlines in values,
26689 # but we know of no workaround that is simple, portable, and efficient.
26690 # So, we kill variables containing newlines.
26691 # Ultrix sh set writes to stderr and can't be redirected directly,
26692 # and sets the high bit in the cache file unless we assign to the vars.
26693 (
26694   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26695     eval ac_val=\$$ac_var
26696     case $ac_val in #(
26697     *${as_nl}*)
26698       case $ac_var in #(
26699       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26700 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26701       esac
26702       case $ac_var in #(
26703       _ | IFS | as_nl) ;; #(
26704       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26705       *) { eval $ac_var=; unset $ac_var;} ;;
26706       esac ;;
26707     esac
26708   done
26709
26710   (set) 2>&1 |
26711     case $as_nl`(ac_space=' '; set) 2>&1` in #(
26712     *${as_nl}ac_space=\ *)
26713       # `set' does not quote correctly, so add quotes: double-quote
26714       # substitution turns \\\\ into \\, and sed turns \\ into \.
26715       sed -n \
26716         "s/'/'\\\\''/g;
26717           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26718       ;; #(
26719     *)
26720       # `set' quotes correctly as required by POSIX, so do not add quotes.
26721       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26722       ;;
26723     esac |
26724     sort
26725 ) |
26726   sed '
26727      /^ac_cv_env_/b end
26728      t clear
26729      :clear
26730      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26731      t end
26732      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26733      :end' >>confcache
26734 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26735   if test -w "$cache_file"; then
26736     if test "x$cache_file" != "x/dev/null"; then
26737       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26738 $as_echo "$as_me: updating cache $cache_file" >&6;}
26739       if test ! -f "$cache_file" || test -h "$cache_file"; then
26740         cat confcache >"$cache_file"
26741       else
26742         case $cache_file in #(
26743         */* | ?:*)
26744           mv -f confcache "$cache_file"$$ &&
26745           mv -f "$cache_file"$$ "$cache_file" ;; #(
26746         *)
26747           mv -f confcache "$cache_file" ;;
26748         esac
26749       fi
26750     fi
26751   else
26752     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26753 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26754   fi
26755 fi
26756 rm -f confcache
26757
26758 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26759 # Let make expand exec_prefix.
26760 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26761
26762 DEFS=-DHAVE_CONFIG_H
26763
26764 ac_libobjs=
26765 ac_ltlibobjs=
26766 U=
26767 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26768   # 1. Remove the extension, and $U if already installed.
26769   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26770   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26771   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
26772   #    will be set to the directory where LIBOBJS objects are built.
26773   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26774   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26775 done
26776 LIBOBJS=$ac_libobjs
26777
26778 LTLIBOBJS=$ac_ltlibobjs
26779
26780
26781  if test -n "$EXEEXT"; then
26782   am__EXEEXT_TRUE=
26783   am__EXEEXT_FALSE='#'
26784 else
26785   am__EXEEXT_TRUE='#'
26786   am__EXEEXT_FALSE=
26787 fi
26788
26789 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26790   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
26791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26792 fi
26793 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26794   as_fn_error $? "conditional \"AMDEP\" was never defined.
26795 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26796 fi
26797 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26798   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
26799 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26800 fi
26801 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
26802   as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
26803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26804 fi
26805 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
26806   as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
26807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26808 fi
26809 if test -z "${USE_EXTERNAL_TRUE}" && test -z "${USE_EXTERNAL_FALSE}"; then
26810   as_fn_error $? "conditional \"USE_EXTERNAL\" was never defined.
26811 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26812 fi
26813 if test -z "${BUILD_EXTERNAL_TRUE}" && test -z "${BUILD_EXTERNAL_FALSE}"; then
26814   as_fn_error $? "conditional \"BUILD_EXTERNAL\" was never defined.
26815 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26816 fi
26817 if test -z "${USE_EXPERIMENTAL_TRUE}" && test -z "${USE_EXPERIMENTAL_FALSE}"; then
26818   as_fn_error $? "conditional \"USE_EXPERIMENTAL\" was never defined.
26819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26820 fi
26821 if test -z "${BUILD_EXPERIMENTAL_TRUE}" && test -z "${BUILD_EXPERIMENTAL_FALSE}"; then
26822   as_fn_error $? "conditional \"BUILD_EXPERIMENTAL\" was never defined.
26823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26824 fi
26825
26826 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
26827   as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
26828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26829 fi
26830 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
26831   as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
26832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26833 fi
26834 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
26835   as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
26836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26837 fi
26838 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
26839   as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
26840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26841 fi
26842 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
26843   as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
26844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26845 fi
26846 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
26847   as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
26848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26849 fi
26850 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
26851   as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
26852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26853 fi
26854 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
26855   as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
26856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26857 fi
26858 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
26859   as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
26860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26861 fi
26862 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
26863   as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
26864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26865 fi
26866 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
26867   as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
26868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26869 fi
26870 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
26871   as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
26872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26873 fi
26874 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
26875   as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
26876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26877 fi
26878 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
26879   as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
26880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26881 fi
26882
26883 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26884   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
26885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26886 fi
26887 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26888   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
26889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26890 fi
26891 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
26892   as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
26893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26894 fi
26895 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
26896   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
26897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26898 fi
26899 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
26900   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
26901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26902 fi
26903 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
26904   as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
26905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26906 fi
26907 if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
26908   as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
26909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26910 fi
26911 if test -z "${HAVE_ORCC_TRUE}" && test -z "${HAVE_ORCC_FALSE}"; then
26912   as_fn_error $? "conditional \"HAVE_ORCC\" was never defined.
26913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26914 fi
26915 if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
26916   as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
26917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26918 fi
26919 if test -z "${USE_PLUGIN_ASFDEMUX_TRUE}" && test -z "${USE_PLUGIN_ASFDEMUX_FALSE}"; then
26920   as_fn_error $? "conditional \"USE_PLUGIN_ASFDEMUX\" was never defined.
26921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26922 fi
26923 if test -z "${USE_PLUGIN_DVDLPCMDEC_TRUE}" && test -z "${USE_PLUGIN_DVDLPCMDEC_FALSE}"; then
26924   as_fn_error $? "conditional \"USE_PLUGIN_DVDLPCMDEC\" was never defined.
26925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26926 fi
26927 if test -z "${USE_PLUGIN_DVDSUB_TRUE}" && test -z "${USE_PLUGIN_DVDSUB_FALSE}"; then
26928   as_fn_error $? "conditional \"USE_PLUGIN_DVDSUB\" was never defined.
26929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26930 fi
26931 if test -z "${USE_PLUGIN_IEC958_TRUE}" && test -z "${USE_PLUGIN_IEC958_FALSE}"; then
26932   as_fn_error $? "conditional \"USE_PLUGIN_IEC958\" was never defined.
26933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26934 fi
26935 if test -z "${USE_PLUGIN_MPEGAUDIOPARSE_TRUE}" && test -z "${USE_PLUGIN_MPEGAUDIOPARSE_FALSE}"; then
26936   as_fn_error $? "conditional \"USE_PLUGIN_MPEGAUDIOPARSE\" was never defined.
26937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26938 fi
26939 if test -z "${USE_PLUGIN_MPEGSTREAM_TRUE}" && test -z "${USE_PLUGIN_MPEGSTREAM_FALSE}"; then
26940   as_fn_error $? "conditional \"USE_PLUGIN_MPEGSTREAM\" was never defined.
26941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26942 fi
26943 if test -z "${USE_PLUGIN_REALMEDIA_TRUE}" && test -z "${USE_PLUGIN_REALMEDIA_FALSE}"; then
26944   as_fn_error $? "conditional \"USE_PLUGIN_REALMEDIA\" was never defined.
26945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26946 fi
26947 if test -z "${USE_PLUGIN_SYNAESTHESIA_TRUE}" && test -z "${USE_PLUGIN_SYNAESTHESIA_FALSE}"; then
26948   as_fn_error $? "conditional \"USE_PLUGIN_SYNAESTHESIA\" was never defined.
26949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26950 fi
26951 if test -z "${USE_PLUGIN_SYNAESTHESIA_TRUE}" && test -z "${USE_PLUGIN_SYNAESTHESIA_FALSE}"; then
26952   as_fn_error $? "conditional \"USE_PLUGIN_SYNAESTHESIA\" was never defined.
26953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26954 fi
26955 if test -z "${USE_A52DEC_TRUE}" && test -z "${USE_A52DEC_FALSE}"; then
26956   as_fn_error $? "conditional \"USE_A52DEC\" was never defined.
26957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26958 fi
26959 if test -z "${USE_AMRNB_TRUE}" && test -z "${USE_AMRNB_FALSE}"; then
26960   as_fn_error $? "conditional \"USE_AMRNB\" was never defined.
26961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26962 fi
26963 if test -z "${USE_AMRWB_TRUE}" && test -z "${USE_AMRWB_FALSE}"; then
26964   as_fn_error $? "conditional \"USE_AMRWB\" was never defined.
26965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26966 fi
26967 if test -z "${USE_CDIO_TRUE}" && test -z "${USE_CDIO_FALSE}"; then
26968   as_fn_error $? "conditional \"USE_CDIO\" was never defined.
26969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26970 fi
26971 if test -z "${USE_DVDREAD_TRUE}" && test -z "${USE_DVDREAD_FALSE}"; then
26972   as_fn_error $? "conditional \"USE_DVDREAD\" was never defined.
26973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26974 fi
26975 if test -z "${USE_LAME_TRUE}" && test -z "${USE_LAME_FALSE}"; then
26976   as_fn_error $? "conditional \"USE_LAME\" was never defined.
26977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26978 fi
26979 if test -z "${USE_MAD_TRUE}" && test -z "${USE_MAD_FALSE}"; then
26980   as_fn_error $? "conditional \"USE_MAD\" was never defined.
26981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26982 fi
26983 if test -z "${USE_MPEG2DEC_TRUE}" && test -z "${USE_MPEG2DEC_FALSE}"; then
26984   as_fn_error $? "conditional \"USE_MPEG2DEC\" was never defined.
26985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26986 fi
26987 if test -z "${USE_SIDPLAY_TRUE}" && test -z "${USE_SIDPLAY_FALSE}"; then
26988   as_fn_error $? "conditional \"USE_SIDPLAY\" was never defined.
26989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26990 fi
26991 if test -z "${USE_TWOLAME_TRUE}" && test -z "${USE_TWOLAME_FALSE}"; then
26992   as_fn_error $? "conditional \"USE_TWOLAME\" was never defined.
26993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26994 fi
26995 if test -z "${USE_X264_TRUE}" && test -z "${USE_X264_FALSE}"; then
26996   as_fn_error $? "conditional \"USE_X264\" was never defined.
26997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26998 fi
26999 if test -z "${USE_A52DEC_TRUE}" && test -z "${USE_A52DEC_FALSE}"; then
27000   as_fn_error $? "conditional \"USE_A52DEC\" was never defined.
27001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27002 fi
27003 if test -z "${USE_AMRNB_TRUE}" && test -z "${USE_AMRNB_FALSE}"; then
27004   as_fn_error $? "conditional \"USE_AMRNB\" was never defined.
27005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27006 fi
27007 if test -z "${USE_AMRWB_TRUE}" && test -z "${USE_AMRWB_FALSE}"; then
27008   as_fn_error $? "conditional \"USE_AMRWB\" was never defined.
27009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27010 fi
27011 if test -z "${USE_CDIO_TRUE}" && test -z "${USE_CDIO_FALSE}"; then
27012   as_fn_error $? "conditional \"USE_CDIO\" was never defined.
27013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27014 fi
27015 if test -z "${USE_DVDREAD_TRUE}" && test -z "${USE_DVDREAD_FALSE}"; then
27016   as_fn_error $? "conditional \"USE_DVDREAD\" was never defined.
27017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27018 fi
27019 if test -z "${USE_LAME_TRUE}" && test -z "${USE_LAME_FALSE}"; then
27020   as_fn_error $? "conditional \"USE_LAME\" was never defined.
27021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27022 fi
27023 if test -z "${USE_MAD_TRUE}" && test -z "${USE_MAD_FALSE}"; then
27024   as_fn_error $? "conditional \"USE_MAD\" was never defined.
27025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27026 fi
27027 if test -z "${USE_MPEG2DEC_TRUE}" && test -z "${USE_MPEG2DEC_FALSE}"; then
27028   as_fn_error $? "conditional \"USE_MPEG2DEC\" was never defined.
27029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27030 fi
27031 if test -z "${USE_SIDPLAY_TRUE}" && test -z "${USE_SIDPLAY_FALSE}"; then
27032   as_fn_error $? "conditional \"USE_SIDPLAY\" was never defined.
27033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27034 fi
27035 if test -z "${USE_TWOLAME_TRUE}" && test -z "${USE_TWOLAME_FALSE}"; then
27036   as_fn_error $? "conditional \"USE_TWOLAME\" was never defined.
27037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27038 fi
27039 if test -z "${USE_X264_TRUE}" && test -z "${USE_X264_FALSE}"; then
27040   as_fn_error $? "conditional \"USE_X264\" was never defined.
27041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27042 fi
27043
27044 : "${CONFIG_STATUS=./config.status}"
27045 ac_write_fail=0
27046 ac_clean_files_save=$ac_clean_files
27047 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27048 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27049 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27050 as_write_fail=0
27051 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27052 #! $SHELL
27053 # Generated by $as_me.
27054 # Run this file to recreate the current configuration.
27055 # Compiler output produced by configure, useful for debugging
27056 # configure, is in config.log if it exists.
27057
27058 debug=false
27059 ac_cs_recheck=false
27060 ac_cs_silent=false
27061
27062 SHELL=\${CONFIG_SHELL-$SHELL}
27063 export SHELL
27064 _ASEOF
27065 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
27066 ## -------------------- ##
27067 ## M4sh Initialization. ##
27068 ## -------------------- ##
27069
27070 # Be more Bourne compatible
27071 DUALCASE=1; export DUALCASE # for MKS sh
27072 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27073   emulate sh
27074   NULLCMD=:
27075   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27076   # is contrary to our usage.  Disable this feature.
27077   alias -g '${1+"$@"}'='"$@"'
27078   setopt NO_GLOB_SUBST
27079 else
27080   case `(set -o) 2>/dev/null` in #(
27081   *posix*) :
27082     set -o posix ;; #(
27083   *) :
27084      ;;
27085 esac
27086 fi
27087
27088
27089 as_nl='
27090 '
27091 export as_nl
27092 # Printing a long string crashes Solaris 7 /usr/bin/printf.
27093 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27094 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27095 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27096 # Prefer a ksh shell builtin over an external printf program on Solaris,
27097 # but without wasting forks for bash or zsh.
27098 if test -z "$BASH_VERSION$ZSH_VERSION" \
27099     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27100   as_echo='print -r --'
27101   as_echo_n='print -rn --'
27102 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27103   as_echo='printf %s\n'
27104   as_echo_n='printf %s'
27105 else
27106   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27107     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
27108     as_echo_n='/usr/ucb/echo -n'
27109   else
27110     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27111     as_echo_n_body='eval
27112       arg=$1;
27113       case $arg in #(
27114       *"$as_nl"*)
27115         expr "X$arg" : "X\\(.*\\)$as_nl";
27116         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27117       esac;
27118       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
27119     '
27120     export as_echo_n_body
27121     as_echo_n='sh -c $as_echo_n_body as_echo'
27122   fi
27123   export as_echo_body
27124   as_echo='sh -c $as_echo_body as_echo'
27125 fi
27126
27127 # The user is always right.
27128 if test "${PATH_SEPARATOR+set}" != set; then
27129   PATH_SEPARATOR=:
27130   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27131     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27132       PATH_SEPARATOR=';'
27133   }
27134 fi
27135
27136
27137 # IFS
27138 # We need space, tab and new line, in precisely that order.  Quoting is
27139 # there to prevent editors from complaining about space-tab.
27140 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
27141 # splitting by setting IFS to empty value.)
27142 IFS=" ""        $as_nl"
27143
27144 # Find who we are.  Look in the path if we contain no directory separator.
27145 as_myself=
27146 case $0 in #((
27147   *[\\/]* ) as_myself=$0 ;;
27148   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27149 for as_dir in $PATH
27150 do
27151   IFS=$as_save_IFS
27152   test -z "$as_dir" && as_dir=.
27153     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27154   done
27155 IFS=$as_save_IFS
27156
27157      ;;
27158 esac
27159 # We did not find ourselves, most probably we were run as `sh COMMAND'
27160 # in which case we are not to be found in the path.
27161 if test "x$as_myself" = x; then
27162   as_myself=$0
27163 fi
27164 if test ! -f "$as_myself"; then
27165   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27166   exit 1
27167 fi
27168
27169 # Unset variables that we do not need and which cause bugs (e.g. in
27170 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
27171 # suppresses any "Segmentation fault" message there.  '((' could
27172 # trigger a bug in pdksh 5.2.14.
27173 for as_var in BASH_ENV ENV MAIL MAILPATH
27174 do eval test x\${$as_var+set} = xset \
27175   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27176 done
27177 PS1='$ '
27178 PS2='> '
27179 PS4='+ '
27180
27181 # NLS nuisances.
27182 LC_ALL=C
27183 export LC_ALL
27184 LANGUAGE=C
27185 export LANGUAGE
27186
27187 # CDPATH.
27188 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27189
27190
27191 # as_fn_error STATUS ERROR [LINENO LOG_FD]
27192 # ----------------------------------------
27193 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27194 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27195 # script with STATUS, using 1 if that was 0.
27196 as_fn_error ()
27197 {
27198   as_status=$1; test $as_status -eq 0 && as_status=1
27199   if test "$4"; then
27200     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
27201     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27202   fi
27203   $as_echo "$as_me: error: $2" >&2
27204   as_fn_exit $as_status
27205 } # as_fn_error
27206
27207
27208 # as_fn_set_status STATUS
27209 # -----------------------
27210 # Set $? to STATUS, without forking.
27211 as_fn_set_status ()
27212 {
27213   return $1
27214 } # as_fn_set_status
27215
27216 # as_fn_exit STATUS
27217 # -----------------
27218 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27219 as_fn_exit ()
27220 {
27221   set +e
27222   as_fn_set_status $1
27223   exit $1
27224 } # as_fn_exit
27225
27226 # as_fn_unset VAR
27227 # ---------------
27228 # Portably unset VAR.
27229 as_fn_unset ()
27230 {
27231   { eval $1=; unset $1;}
27232 }
27233 as_unset=as_fn_unset
27234 # as_fn_append VAR VALUE
27235 # ----------------------
27236 # Append the text in VALUE to the end of the definition contained in VAR. Take
27237 # advantage of any shell optimizations that allow amortized linear growth over
27238 # repeated appends, instead of the typical quadratic growth present in naive
27239 # implementations.
27240 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
27241   eval 'as_fn_append ()
27242   {
27243     eval $1+=\$2
27244   }'
27245 else
27246   as_fn_append ()
27247   {
27248     eval $1=\$$1\$2
27249   }
27250 fi # as_fn_append
27251
27252 # as_fn_arith ARG...
27253 # ------------------
27254 # Perform arithmetic evaluation on the ARGs, and store the result in the
27255 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27256 # must be portable across $(()) and expr.
27257 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
27258   eval 'as_fn_arith ()
27259   {
27260     as_val=$(( $* ))
27261   }'
27262 else
27263   as_fn_arith ()
27264   {
27265     as_val=`expr "$@" || test $? -eq 1`
27266   }
27267 fi # as_fn_arith
27268
27269
27270 if expr a : '\(a\)' >/dev/null 2>&1 &&
27271    test "X`expr 00001 : '.*\(...\)'`" = X001; then
27272   as_expr=expr
27273 else
27274   as_expr=false
27275 fi
27276
27277 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27278   as_basename=basename
27279 else
27280   as_basename=false
27281 fi
27282
27283 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27284   as_dirname=dirname
27285 else
27286   as_dirname=false
27287 fi
27288
27289 as_me=`$as_basename -- "$0" ||
27290 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27291          X"$0" : 'X\(//\)$' \| \
27292          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27293 $as_echo X/"$0" |
27294     sed '/^.*\/\([^/][^/]*\)\/*$/{
27295             s//\1/
27296             q
27297           }
27298           /^X\/\(\/\/\)$/{
27299             s//\1/
27300             q
27301           }
27302           /^X\/\(\/\).*/{
27303             s//\1/
27304             q
27305           }
27306           s/.*/./; q'`
27307
27308 # Avoid depending upon Character Ranges.
27309 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27310 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27311 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27312 as_cr_digits='0123456789'
27313 as_cr_alnum=$as_cr_Letters$as_cr_digits
27314
27315 ECHO_C= ECHO_N= ECHO_T=
27316 case `echo -n x` in #(((((
27317 -n*)
27318   case `echo 'xy\c'` in
27319   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
27320   xy)  ECHO_C='\c';;
27321   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
27322        ECHO_T=' ';;
27323   esac;;
27324 *)
27325   ECHO_N='-n';;
27326 esac
27327
27328 rm -f conf$$ conf$$.exe conf$$.file
27329 if test -d conf$$.dir; then
27330   rm -f conf$$.dir/conf$$.file
27331 else
27332   rm -f conf$$.dir
27333   mkdir conf$$.dir 2>/dev/null
27334 fi
27335 if (echo >conf$$.file) 2>/dev/null; then
27336   if ln -s conf$$.file conf$$ 2>/dev/null; then
27337     as_ln_s='ln -s'
27338     # ... but there are two gotchas:
27339     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27340     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27341     # In both cases, we have to default to `cp -p'.
27342     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27343       as_ln_s='cp -p'
27344   elif ln conf$$.file conf$$ 2>/dev/null; then
27345     as_ln_s=ln
27346   else
27347     as_ln_s='cp -p'
27348   fi
27349 else
27350   as_ln_s='cp -p'
27351 fi
27352 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27353 rmdir conf$$.dir 2>/dev/null
27354
27355
27356 # as_fn_mkdir_p
27357 # -------------
27358 # Create "$as_dir" as a directory, including parents if necessary.
27359 as_fn_mkdir_p ()
27360 {
27361
27362   case $as_dir in #(
27363   -*) as_dir=./$as_dir;;
27364   esac
27365   test -d "$as_dir" || eval $as_mkdir_p || {
27366     as_dirs=
27367     while :; do
27368       case $as_dir in #(
27369       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27370       *) as_qdir=$as_dir;;
27371       esac
27372       as_dirs="'$as_qdir' $as_dirs"
27373       as_dir=`$as_dirname -- "$as_dir" ||
27374 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27375          X"$as_dir" : 'X\(//\)[^/]' \| \
27376          X"$as_dir" : 'X\(//\)$' \| \
27377          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27378 $as_echo X"$as_dir" |
27379     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27380             s//\1/
27381             q
27382           }
27383           /^X\(\/\/\)[^/].*/{
27384             s//\1/
27385             q
27386           }
27387           /^X\(\/\/\)$/{
27388             s//\1/
27389             q
27390           }
27391           /^X\(\/\).*/{
27392             s//\1/
27393             q
27394           }
27395           s/.*/./; q'`
27396       test -d "$as_dir" && break
27397     done
27398     test -z "$as_dirs" || eval "mkdir $as_dirs"
27399   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
27400
27401
27402 } # as_fn_mkdir_p
27403 if mkdir -p . 2>/dev/null; then
27404   as_mkdir_p='mkdir -p "$as_dir"'
27405 else
27406   test -d ./-p && rmdir ./-p
27407   as_mkdir_p=false
27408 fi
27409
27410 if test -x / >/dev/null 2>&1; then
27411   as_test_x='test -x'
27412 else
27413   if ls -dL / >/dev/null 2>&1; then
27414     as_ls_L_option=L
27415   else
27416     as_ls_L_option=
27417   fi
27418   as_test_x='
27419     eval sh -c '\''
27420       if test -d "$1"; then
27421         test -d "$1/.";
27422       else
27423         case $1 in #(
27424         -*)set "./$1";;
27425         esac;
27426         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27427         ???[sx]*):;;*)false;;esac;fi
27428     '\'' sh
27429   '
27430 fi
27431 as_executable_p=$as_test_x
27432
27433 # Sed expression to map a string onto a valid CPP name.
27434 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27435
27436 # Sed expression to map a string onto a valid variable name.
27437 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27438
27439
27440 exec 6>&1
27441 ## ----------------------------------- ##
27442 ## Main body of $CONFIG_STATUS script. ##
27443 ## ----------------------------------- ##
27444 _ASEOF
27445 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27446
27447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27448 # Save the log message, to keep $0 and so on meaningful, and to
27449 # report actual input values of CONFIG_FILES etc. instead of their
27450 # values after options handling.
27451 ac_log="
27452 This file was extended by GStreamer Ugly Plug-ins $as_me 0.10.19, which was
27453 generated by GNU Autoconf 2.68.  Invocation command line was
27454
27455   CONFIG_FILES    = $CONFIG_FILES
27456   CONFIG_HEADERS  = $CONFIG_HEADERS
27457   CONFIG_LINKS    = $CONFIG_LINKS
27458   CONFIG_COMMANDS = $CONFIG_COMMANDS
27459   $ $0 $@
27460
27461 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27462 "
27463
27464 _ACEOF
27465
27466 case $ac_config_files in *"
27467 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27468 esac
27469
27470 case $ac_config_headers in *"
27471 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27472 esac
27473
27474
27475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27476 # Files that config.status was made for.
27477 config_files="$ac_config_files"
27478 config_headers="$ac_config_headers"
27479 config_commands="$ac_config_commands"
27480
27481 _ACEOF
27482
27483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27484 ac_cs_usage="\
27485 \`$as_me' instantiates files and other configuration actions
27486 from templates according to the current configuration.  Unless the files
27487 and actions are specified as TAGs, all are instantiated by default.
27488
27489 Usage: $0 [OPTION]... [TAG]...
27490
27491   -h, --help       print this help, then exit
27492   -V, --version    print version number and configuration settings, then exit
27493       --config     print configuration, then exit
27494   -q, --quiet, --silent
27495                    do not print progress messages
27496   -d, --debug      don't remove temporary files
27497       --recheck    update $as_me by reconfiguring in the same conditions
27498       --file=FILE[:TEMPLATE]
27499                    instantiate the configuration file FILE
27500       --header=FILE[:TEMPLATE]
27501                    instantiate the configuration header FILE
27502
27503 Configuration files:
27504 $config_files
27505
27506 Configuration headers:
27507 $config_headers
27508
27509 Configuration commands:
27510 $config_commands
27511
27512 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
27513
27514 _ACEOF
27515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27516 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
27517 ac_cs_version="\\
27518 GStreamer Ugly Plug-ins config.status 0.10.19
27519 configured by $0, generated by GNU Autoconf 2.68,
27520   with options \\"\$ac_cs_config\\"
27521
27522 Copyright (C) 2010 Free Software Foundation, Inc.
27523 This config.status script is free software; the Free Software Foundation
27524 gives unlimited permission to copy, distribute and modify it."
27525
27526 ac_pwd='$ac_pwd'
27527 srcdir='$srcdir'
27528 INSTALL='$INSTALL'
27529 MKDIR_P='$MKDIR_P'
27530 AWK='$AWK'
27531 test -n "\$AWK" || AWK=awk
27532 _ACEOF
27533
27534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27535 # The default lists apply if the user does not specify any file.
27536 ac_need_defaults=:
27537 while test $# != 0
27538 do
27539   case $1 in
27540   --*=?*)
27541     ac_option=`expr "X$1" : 'X\([^=]*\)='`
27542     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27543     ac_shift=:
27544     ;;
27545   --*=)
27546     ac_option=`expr "X$1" : 'X\([^=]*\)='`
27547     ac_optarg=
27548     ac_shift=:
27549     ;;
27550   *)
27551     ac_option=$1
27552     ac_optarg=$2
27553     ac_shift=shift
27554     ;;
27555   esac
27556
27557   case $ac_option in
27558   # Handling of the options.
27559   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27560     ac_cs_recheck=: ;;
27561   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27562     $as_echo "$ac_cs_version"; exit ;;
27563   --config | --confi | --conf | --con | --co | --c )
27564     $as_echo "$ac_cs_config"; exit ;;
27565   --debug | --debu | --deb | --de | --d | -d )
27566     debug=: ;;
27567   --file | --fil | --fi | --f )
27568     $ac_shift
27569     case $ac_optarg in
27570     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27571     '') as_fn_error $? "missing file argument" ;;
27572     esac
27573     as_fn_append CONFIG_FILES " '$ac_optarg'"
27574     ac_need_defaults=false;;
27575   --header | --heade | --head | --hea )
27576     $ac_shift
27577     case $ac_optarg in
27578     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27579     esac
27580     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27581     ac_need_defaults=false;;
27582   --he | --h)
27583     # Conflict between --help and --header
27584     as_fn_error $? "ambiguous option: \`$1'
27585 Try \`$0 --help' for more information.";;
27586   --help | --hel | -h )
27587     $as_echo "$ac_cs_usage"; exit ;;
27588   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27589   | -silent | --silent | --silen | --sile | --sil | --si | --s)
27590     ac_cs_silent=: ;;
27591
27592   # This is an error.
27593   -*) as_fn_error $? "unrecognized option: \`$1'
27594 Try \`$0 --help' for more information." ;;
27595
27596   *) as_fn_append ac_config_targets " $1"
27597      ac_need_defaults=false ;;
27598
27599   esac
27600   shift
27601 done
27602
27603 ac_configure_extra_args=
27604
27605 if $ac_cs_silent; then
27606   exec 6>/dev/null
27607   ac_configure_extra_args="$ac_configure_extra_args --silent"
27608 fi
27609
27610 _ACEOF
27611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27612 if \$ac_cs_recheck; then
27613   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27614   shift
27615   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27616   CONFIG_SHELL='$SHELL'
27617   export CONFIG_SHELL
27618   exec "\$@"
27619 fi
27620
27621 _ACEOF
27622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27623 exec 5>>config.log
27624 {
27625   echo
27626   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27627 ## Running $as_me. ##
27628 _ASBOX
27629   $as_echo "$ac_log"
27630 } >&5
27631
27632 _ACEOF
27633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27634 #
27635 # INIT-COMMANDS
27636 #
27637 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27638
27639
27640 # The HP-UX ksh and POSIX shell print the target directory to stdout
27641 # if CDPATH is set.
27642 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27643
27644 sed_quote_subst='$sed_quote_subst'
27645 double_quote_subst='$double_quote_subst'
27646 delay_variable_subst='$delay_variable_subst'
27647 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
27648 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
27649 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27650 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27651 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27652 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27653 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27654 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27655 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27656 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27657 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27658 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
27659 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27660 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27661 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27662 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27663 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27664 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27665 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27666 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27667 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27668 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27669 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27670 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27671 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27672 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27673 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27674 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27675 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27676 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27677 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27678 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27679 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
27680 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
27681 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27682 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27683 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27684 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27685 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
27686 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
27687 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
27688 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27689 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27690 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
27691 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27692 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27693 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27694 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27695 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27696 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27697 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27698 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27699 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27700 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27701 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27702 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27703 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27704 lt_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"`'
27705 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
27706 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
27707 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27708 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27709 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27710 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27711 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27712 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27713 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27714 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27715 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
27716 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27717 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27718 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27719 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27720 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27721 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27722 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27723 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27724 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27725 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27726 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27727 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27728 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27729 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27730 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27731 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27732 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27733 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27734 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27735 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27736 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27737 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27738 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27739 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27740 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27741 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27742 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27743 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27744 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27745 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27746 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27747 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27748 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27749 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27750 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27751 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27752 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
27753 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27754 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27755 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27756 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27757 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27758 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27759 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27760 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27761 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27762 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27763 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27764 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27765 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27766 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27767 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27768 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27769 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27770 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27771 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27772 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27773 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27774 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27775 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27776 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27777 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27778 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27779 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27780 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27781 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27782 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27783 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27784 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
27785 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
27786 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27787 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27788 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
27789 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
27790 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
27791 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
27792 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
27793 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
27794 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
27795 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
27796 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
27797 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27798 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27799 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
27800 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27801 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27802 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27803 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27804 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27805 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27806 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
27807 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
27808 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
27809 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27810 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
27811 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
27812 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
27813 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
27814 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
27815 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
27816 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
27817 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
27818 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
27819 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27820 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
27821 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
27822 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27823 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27824 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
27825 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
27826 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
27827 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
27828 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
27829 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
27830 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
27831 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
27832
27833 LTCC='$LTCC'
27834 LTCFLAGS='$LTCFLAGS'
27835 compiler='$compiler_DEFAULT'
27836
27837 # A function that is used when there is no print builtin or printf.
27838 func_fallback_echo ()
27839 {
27840   eval 'cat <<_LTECHO_EOF
27841 \$1
27842 _LTECHO_EOF'
27843 }
27844
27845 # Quote evaled strings.
27846 for var in AS \
27847 DLLTOOL \
27848 OBJDUMP \
27849 SHELL \
27850 ECHO \
27851 PATH_SEPARATOR \
27852 SED \
27853 GREP \
27854 EGREP \
27855 FGREP \
27856 LD \
27857 NM \
27858 LN_S \
27859 lt_SP2NL \
27860 lt_NL2SP \
27861 reload_flag \
27862 deplibs_check_method \
27863 file_magic_cmd \
27864 file_magic_glob \
27865 want_nocaseglob \
27866 sharedlib_from_linklib_cmd \
27867 AR \
27868 AR_FLAGS \
27869 archiver_list_spec \
27870 STRIP \
27871 RANLIB \
27872 CC \
27873 CFLAGS \
27874 compiler \
27875 lt_cv_sys_global_symbol_pipe \
27876 lt_cv_sys_global_symbol_to_cdecl \
27877 lt_cv_sys_global_symbol_to_c_name_address \
27878 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27879 nm_file_list_spec \
27880 lt_prog_compiler_no_builtin_flag \
27881 lt_prog_compiler_pic \
27882 lt_prog_compiler_wl \
27883 lt_prog_compiler_static \
27884 lt_cv_prog_compiler_c_o \
27885 need_locks \
27886 MANIFEST_TOOL \
27887 DSYMUTIL \
27888 NMEDIT \
27889 LIPO \
27890 OTOOL \
27891 OTOOL64 \
27892 shrext_cmds \
27893 export_dynamic_flag_spec \
27894 whole_archive_flag_spec \
27895 compiler_needs_object \
27896 with_gnu_ld \
27897 allow_undefined_flag \
27898 no_undefined_flag \
27899 hardcode_libdir_flag_spec \
27900 hardcode_libdir_separator \
27901 exclude_expsyms \
27902 include_expsyms \
27903 file_list_spec \
27904 variables_saved_for_relink \
27905 libname_spec \
27906 library_names_spec \
27907 soname_spec \
27908 install_override_mode \
27909 finish_eval \
27910 old_striplib \
27911 striplib \
27912 compiler_lib_search_dirs \
27913 predep_objects \
27914 postdep_objects \
27915 predeps \
27916 postdeps \
27917 compiler_lib_search_path \
27918 LD_CXX \
27919 reload_flag_CXX \
27920 compiler_CXX \
27921 lt_prog_compiler_no_builtin_flag_CXX \
27922 lt_prog_compiler_pic_CXX \
27923 lt_prog_compiler_wl_CXX \
27924 lt_prog_compiler_static_CXX \
27925 lt_cv_prog_compiler_c_o_CXX \
27926 export_dynamic_flag_spec_CXX \
27927 whole_archive_flag_spec_CXX \
27928 compiler_needs_object_CXX \
27929 with_gnu_ld_CXX \
27930 allow_undefined_flag_CXX \
27931 no_undefined_flag_CXX \
27932 hardcode_libdir_flag_spec_CXX \
27933 hardcode_libdir_separator_CXX \
27934 exclude_expsyms_CXX \
27935 include_expsyms_CXX \
27936 file_list_spec_CXX \
27937 compiler_lib_search_dirs_CXX \
27938 predep_objects_CXX \
27939 postdep_objects_CXX \
27940 predeps_CXX \
27941 postdeps_CXX \
27942 compiler_lib_search_path_CXX; do
27943     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27944     *[\\\\\\\`\\"\\\$]*)
27945       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27946       ;;
27947     *)
27948       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27949       ;;
27950     esac
27951 done
27952
27953 # Double-quote double-evaled strings.
27954 for var in reload_cmds \
27955 old_postinstall_cmds \
27956 old_postuninstall_cmds \
27957 old_archive_cmds \
27958 extract_expsyms_cmds \
27959 old_archive_from_new_cmds \
27960 old_archive_from_expsyms_cmds \
27961 archive_cmds \
27962 archive_expsym_cmds \
27963 module_cmds \
27964 module_expsym_cmds \
27965 export_symbols_cmds \
27966 prelink_cmds \
27967 postlink_cmds \
27968 postinstall_cmds \
27969 postuninstall_cmds \
27970 finish_cmds \
27971 sys_lib_search_path_spec \
27972 sys_lib_dlsearch_path_spec \
27973 reload_cmds_CXX \
27974 old_archive_cmds_CXX \
27975 old_archive_from_new_cmds_CXX \
27976 old_archive_from_expsyms_cmds_CXX \
27977 archive_cmds_CXX \
27978 archive_expsym_cmds_CXX \
27979 module_cmds_CXX \
27980 module_expsym_cmds_CXX \
27981 export_symbols_cmds_CXX \
27982 prelink_cmds_CXX \
27983 postlink_cmds_CXX; do
27984     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27985     *[\\\\\\\`\\"\\\$]*)
27986       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27987       ;;
27988     *)
27989       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27990       ;;
27991     esac
27992 done
27993
27994 ac_aux_dir='$ac_aux_dir'
27995 xsi_shell='$xsi_shell'
27996 lt_shell_append='$lt_shell_append'
27997
27998 # See if we are running on zsh, and set the options which allow our
27999 # commands through without removal of \ escapes INIT.
28000 if test -n "\${ZSH_VERSION+set}" ; then
28001    setopt NO_GLOB_SUBST
28002 fi
28003
28004
28005     PACKAGE='$PACKAGE'
28006     VERSION='$VERSION'
28007     TIMESTAMP='$TIMESTAMP'
28008     RM='$RM'
28009     ofile='$ofile'
28010
28011
28012
28013
28014
28015 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
28016     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
28017     # from automake < 1.5.
28018     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
28019     # Capture the value of LINGUAS because we need it to compute CATALOGS.
28020     LINGUAS="${LINGUAS-%UNSET%}"
28021
28022 # variables for create stdint.h replacement
28023 PACKAGE="$PACKAGE"
28024 VERSION="$VERSION"
28025 ac_stdint_h="$ac_stdint_h"
28026 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
28027 ac_cv_stdint_message="$ac_cv_stdint_message"
28028 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
28029 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
28030 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
28031 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
28032 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
28033 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
28034 ac_cv_char_data_model="$ac_cv_char_data_model"
28035 ac_cv_long_data_model="$ac_cv_long_data_model"
28036 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
28037 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
28038 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
28039
28040
28041 _ACEOF
28042
28043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28044
28045 # Handling of arguments.
28046 for ac_config_target in $ac_config_targets
28047 do
28048   case $ac_config_target in
28049     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28050     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28051     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
28052     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
28053     "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
28054     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28055     "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
28056     "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
28057     "gst-libs/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/Makefile" ;;
28058     "gst-libs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/Makefile" ;;
28059     "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
28060     "gst/asfdemux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/asfdemux/Makefile" ;;
28061     "gst/dvdlpcmdec/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dvdlpcmdec/Makefile" ;;
28062     "gst/dvdsub/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dvdsub/Makefile" ;;
28063     "gst/iec958/Makefile") CONFIG_FILES="$CONFIG_FILES gst/iec958/Makefile" ;;
28064     "gst/mpegaudioparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegaudioparse/Makefile" ;;
28065     "gst/mpegstream/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegstream/Makefile" ;;
28066     "gst/realmedia/Makefile") CONFIG_FILES="$CONFIG_FILES gst/realmedia/Makefile" ;;
28067     "gst/synaesthesia/Makefile") CONFIG_FILES="$CONFIG_FILES gst/synaesthesia/Makefile" ;;
28068     "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
28069     "ext/a52dec/Makefile") CONFIG_FILES="$CONFIG_FILES ext/a52dec/Makefile" ;;
28070     "ext/amrnb/Makefile") CONFIG_FILES="$CONFIG_FILES ext/amrnb/Makefile" ;;
28071     "ext/amrwbdec/Makefile") CONFIG_FILES="$CONFIG_FILES ext/amrwbdec/Makefile" ;;
28072     "ext/cdio/Makefile") CONFIG_FILES="$CONFIG_FILES ext/cdio/Makefile" ;;
28073     "ext/dvdread/Makefile") CONFIG_FILES="$CONFIG_FILES ext/dvdread/Makefile" ;;
28074     "ext/lame/Makefile") CONFIG_FILES="$CONFIG_FILES ext/lame/Makefile" ;;
28075     "ext/mad/Makefile") CONFIG_FILES="$CONFIG_FILES ext/mad/Makefile" ;;
28076     "ext/mpeg2dec/Makefile") CONFIG_FILES="$CONFIG_FILES ext/mpeg2dec/Makefile" ;;
28077     "ext/sidplay/Makefile") CONFIG_FILES="$CONFIG_FILES ext/sidplay/Makefile" ;;
28078     "ext/twolame/Makefile") CONFIG_FILES="$CONFIG_FILES ext/twolame/Makefile" ;;
28079     "ext/x264/Makefile") CONFIG_FILES="$CONFIG_FILES ext/x264/Makefile" ;;
28080     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
28081     "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
28082     "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
28083     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
28084     "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
28085     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
28086     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
28087     "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
28088     "pkgconfig/gstreamer-plugins-ugly-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-ugly-uninstalled.pc" ;;
28089     "gst-plugins-ugly.spec") CONFIG_FILES="$CONFIG_FILES gst-plugins-ugly.spec" ;;
28090
28091   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28092   esac
28093 done
28094
28095
28096 # If the user did not use the arguments to specify the items to instantiate,
28097 # then the envvar interface is used.  Set only those that are not.
28098 # We use the long form for the default assignment because of an extremely
28099 # bizarre bug on SunOS 4.1.3.
28100 if $ac_need_defaults; then
28101   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28102   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28103   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28104 fi
28105
28106 # Have a temporary directory for convenience.  Make it in the build tree
28107 # simply because there is no reason against having it here, and in addition,
28108 # creating and moving files from /tmp can sometimes cause problems.
28109 # Hook for its removal unless debugging.
28110 # Note that there is a small window in which the directory will not be cleaned:
28111 # after its creation but before its name has been assigned to `$tmp'.
28112 $debug ||
28113 {
28114   tmp= ac_tmp=
28115   trap 'exit_status=$?
28116   : "${ac_tmp:=$tmp}"
28117   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28118 ' 0
28119   trap 'as_fn_exit 1' 1 2 13 15
28120 }
28121 # Create a (secure) tmp directory for tmp files.
28122
28123 {
28124   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28125   test -d "$tmp"
28126 }  ||
28127 {
28128   tmp=./conf$$-$RANDOM
28129   (umask 077 && mkdir "$tmp")
28130 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
28131 ac_tmp=$tmp
28132
28133 # Set up the scripts for CONFIG_FILES section.
28134 # No need to generate them if there are no CONFIG_FILES.
28135 # This happens for instance with `./config.status config.h'.
28136 if test -n "$CONFIG_FILES"; then
28137
28138
28139 ac_cr=`echo X | tr X '\015'`
28140 # On cygwin, bash can eat \r inside `` if the user requested igncr.
28141 # But we know of no other shell where ac_cr would be empty at this
28142 # point, so we can use a bashism as a fallback.
28143 if test "x$ac_cr" = x; then
28144   eval ac_cr=\$\'\\r\'
28145 fi
28146 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28147 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28148   ac_cs_awk_cr='\\r'
28149 else
28150   ac_cs_awk_cr=$ac_cr
28151 fi
28152
28153 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28154 _ACEOF
28155
28156
28157 {
28158   echo "cat >conf$$subs.awk <<_ACEOF" &&
28159   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28160   echo "_ACEOF"
28161 } >conf$$subs.sh ||
28162   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28163 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28164 ac_delim='%!_!# '
28165 for ac_last_try in false false false false false :; do
28166   . ./conf$$subs.sh ||
28167     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28168
28169   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
28170   if test $ac_delim_n = $ac_delim_num; then
28171     break
28172   elif $ac_last_try; then
28173     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28174   else
28175     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28176   fi
28177 done
28178 rm -f conf$$subs.sh
28179
28180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28181 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
28182 _ACEOF
28183 sed -n '
28184 h
28185 s/^/S["/; s/!.*/"]=/
28186 p
28187 g
28188 s/^[^!]*!//
28189 :repl
28190 t repl
28191 s/'"$ac_delim"'$//
28192 t delim
28193 :nl
28194 h
28195 s/\(.\{148\}\)..*/\1/
28196 t more1
28197 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
28198 p
28199 n
28200 b repl
28201 :more1
28202 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28203 p
28204 g
28205 s/.\{148\}//
28206 t nl
28207 :delim
28208 h
28209 s/\(.\{148\}\)..*/\1/
28210 t more2
28211 s/["\\]/\\&/g; s/^/"/; s/$/"/
28212 p
28213 b
28214 :more2
28215 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28216 p
28217 g
28218 s/.\{148\}//
28219 t delim
28220 ' <conf$$subs.awk | sed '
28221 /^[^""]/{
28222   N
28223   s/\n//
28224 }
28225 ' >>$CONFIG_STATUS || ac_write_fail=1
28226 rm -f conf$$subs.awk
28227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28228 _ACAWK
28229 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
28230   for (key in S) S_is_set[key] = 1
28231   FS = "\a"
28232
28233 }
28234 {
28235   line = $ 0
28236   nfields = split(line, field, "@")
28237   substed = 0
28238   len = length(field[1])
28239   for (i = 2; i < nfields; i++) {
28240     key = field[i]
28241     keylen = length(key)
28242     if (S_is_set[key]) {
28243       value = S[key]
28244       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28245       len += length(value) + length(field[++i])
28246       substed = 1
28247     } else
28248       len += 1 + keylen
28249   }
28250
28251   print line
28252 }
28253
28254 _ACAWK
28255 _ACEOF
28256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28257 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28258   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
28259 else
28260   cat
28261 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
28262   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
28263 _ACEOF
28264
28265 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28266 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
28267 # trailing colons and then remove the whole line if VPATH becomes empty
28268 # (actually we leave an empty line to preserve line numbers).
28269 if test "x$srcdir" = x.; then
28270   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
28271 h
28272 s///
28273 s/^/:/
28274 s/[      ]*$/:/
28275 s/:\$(srcdir):/:/g
28276 s/:\${srcdir}:/:/g
28277 s/:@srcdir@:/:/g
28278 s/^:*//
28279 s/:*$//
28280 x
28281 s/\(=[   ]*\).*/\1/
28282 G
28283 s/\n//
28284 s/^[^=]*=[       ]*$//
28285 }'
28286 fi
28287
28288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28289 fi # test -n "$CONFIG_FILES"
28290
28291 # Set up the scripts for CONFIG_HEADERS section.
28292 # No need to generate them if there are no CONFIG_HEADERS.
28293 # This happens for instance with `./config.status Makefile'.
28294 if test -n "$CONFIG_HEADERS"; then
28295 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
28296 BEGIN {
28297 _ACEOF
28298
28299 # Transform confdefs.h into an awk script `defines.awk', embedded as
28300 # here-document in config.status, that substitutes the proper values into
28301 # config.h.in to produce config.h.
28302
28303 # Create a delimiter string that does not exist in confdefs.h, to ease
28304 # handling of long lines.
28305 ac_delim='%!_!# '
28306 for ac_last_try in false false :; do
28307   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
28308   if test -z "$ac_tt"; then
28309     break
28310   elif $ac_last_try; then
28311     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
28312   else
28313     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28314   fi
28315 done
28316
28317 # For the awk script, D is an array of macro values keyed by name,
28318 # likewise P contains macro parameters if any.  Preserve backslash
28319 # newline sequences.
28320
28321 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28322 sed -n '
28323 s/.\{148\}/&'"$ac_delim"'/g
28324 t rset
28325 :rset
28326 s/^[     ]*#[    ]*define[       ][      ]*/ /
28327 t def
28328 d
28329 :def
28330 s/\\$//
28331 t bsnl
28332 s/["\\]/\\&/g
28333 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
28334 D["\1"]=" \3"/p
28335 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
28336 d
28337 :bsnl
28338 s/["\\]/\\&/g
28339 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
28340 D["\1"]=" \3\\\\\\n"\\/p
28341 t cont
28342 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
28343 t cont
28344 d
28345 :cont
28346 n
28347 s/.\{148\}/&'"$ac_delim"'/g
28348 t clear
28349 :clear
28350 s/\\$//
28351 t bsnlc
28352 s/["\\]/\\&/g; s/^/"/; s/$/"/p
28353 d
28354 :bsnlc
28355 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
28356 b cont
28357 ' <confdefs.h | sed '
28358 s/'"$ac_delim"'/"\\\
28359 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28360
28361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28362   for (key in D) D_is_set[key] = 1
28363   FS = "\a"
28364 }
28365 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28366   line = \$ 0
28367   split(line, arg, " ")
28368   if (arg[1] == "#") {
28369     defundef = arg[2]
28370     mac1 = arg[3]
28371   } else {
28372     defundef = substr(arg[1], 2)
28373     mac1 = arg[2]
28374   }
28375   split(mac1, mac2, "(") #)
28376   macro = mac2[1]
28377   prefix = substr(line, 1, index(line, defundef) - 1)
28378   if (D_is_set[macro]) {
28379     # Preserve the white space surrounding the "#".
28380     print prefix "define", macro P[macro] D[macro]
28381     next
28382   } else {
28383     # Replace #undef with comments.  This is necessary, for example,
28384     # in the case of _POSIX_SOURCE, which is predefined and required
28385     # on some systems where configure will not decide to define it.
28386     if (defundef == "undef") {
28387       print "/*", prefix defundef, macro, "*/"
28388       next
28389     }
28390   }
28391 }
28392 { print }
28393 _ACAWK
28394 _ACEOF
28395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28396   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
28397 fi # test -n "$CONFIG_HEADERS"
28398
28399
28400 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
28401 shift
28402 for ac_tag
28403 do
28404   case $ac_tag in
28405   :[FHLC]) ac_mode=$ac_tag; continue;;
28406   esac
28407   case $ac_mode$ac_tag in
28408   :[FHL]*:*);;
28409   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
28410   :[FH]-) ac_tag=-:-;;
28411   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28412   esac
28413   ac_save_IFS=$IFS
28414   IFS=:
28415   set x $ac_tag
28416   IFS=$ac_save_IFS
28417   shift
28418   ac_file=$1
28419   shift
28420
28421   case $ac_mode in
28422   :L) ac_source=$1;;
28423   :[FH])
28424     ac_file_inputs=
28425     for ac_f
28426     do
28427       case $ac_f in
28428       -) ac_f="$ac_tmp/stdin";;
28429       *) # Look for the file first in the build tree, then in the source tree
28430          # (if the path is not absolute).  The absolute path cannot be DOS-style,
28431          # because $ac_f cannot contain `:'.
28432          test -f "$ac_f" ||
28433            case $ac_f in
28434            [\\/$]*) false;;
28435            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28436            esac ||
28437            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28438       esac
28439       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28440       as_fn_append ac_file_inputs " '$ac_f'"
28441     done
28442
28443     # Let's still pretend it is `configure' which instantiates (i.e., don't
28444     # use $as_me), people would be surprised to read:
28445     #    /* config.h.  Generated by config.status.  */
28446     configure_input='Generated from '`
28447           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28448         `' by configure.'
28449     if test x"$ac_file" != x-; then
28450       configure_input="$ac_file.  $configure_input"
28451       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28452 $as_echo "$as_me: creating $ac_file" >&6;}
28453     fi
28454     # Neutralize special characters interpreted by sed in replacement strings.
28455     case $configure_input in #(
28456     *\&* | *\|* | *\\* )
28457        ac_sed_conf_input=`$as_echo "$configure_input" |
28458        sed 's/[\\\\&|]/\\\\&/g'`;; #(
28459     *) ac_sed_conf_input=$configure_input;;
28460     esac
28461
28462     case $ac_tag in
28463     *:-:* | *:-) cat >"$ac_tmp/stdin" \
28464       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
28465     esac
28466     ;;
28467   esac
28468
28469   ac_dir=`$as_dirname -- "$ac_file" ||
28470 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28471          X"$ac_file" : 'X\(//\)[^/]' \| \
28472          X"$ac_file" : 'X\(//\)$' \| \
28473          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28474 $as_echo X"$ac_file" |
28475     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28476             s//\1/
28477             q
28478           }
28479           /^X\(\/\/\)[^/].*/{
28480             s//\1/
28481             q
28482           }
28483           /^X\(\/\/\)$/{
28484             s//\1/
28485             q
28486           }
28487           /^X\(\/\).*/{
28488             s//\1/
28489             q
28490           }
28491           s/.*/./; q'`
28492   as_dir="$ac_dir"; as_fn_mkdir_p
28493   ac_builddir=.
28494
28495 case "$ac_dir" in
28496 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28497 *)
28498   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28499   # A ".." for each directory in $ac_dir_suffix.
28500   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28501   case $ac_top_builddir_sub in
28502   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28503   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28504   esac ;;
28505 esac
28506 ac_abs_top_builddir=$ac_pwd
28507 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28508 # for backward compatibility:
28509 ac_top_builddir=$ac_top_build_prefix
28510
28511 case $srcdir in
28512   .)  # We are building in place.
28513     ac_srcdir=.
28514     ac_top_srcdir=$ac_top_builddir_sub
28515     ac_abs_top_srcdir=$ac_pwd ;;
28516   [\\/]* | ?:[\\/]* )  # Absolute name.
28517     ac_srcdir=$srcdir$ac_dir_suffix;
28518     ac_top_srcdir=$srcdir
28519     ac_abs_top_srcdir=$srcdir ;;
28520   *) # Relative name.
28521     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28522     ac_top_srcdir=$ac_top_build_prefix$srcdir
28523     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28524 esac
28525 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28526
28527
28528   case $ac_mode in
28529   :F)
28530   #
28531   # CONFIG_FILE
28532   #
28533
28534   case $INSTALL in
28535   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28536   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28537   esac
28538   ac_MKDIR_P=$MKDIR_P
28539   case $MKDIR_P in
28540   [\\/$]* | ?:[\\/]* ) ;;
28541   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28542   esac
28543 _ACEOF
28544
28545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28546 # If the template does not know about datarootdir, expand it.
28547 # FIXME: This hack should be removed a few years after 2.60.
28548 ac_datarootdir_hack=; ac_datarootdir_seen=
28549 ac_sed_dataroot='
28550 /datarootdir/ {
28551   p
28552   q
28553 }
28554 /@datadir@/p
28555 /@docdir@/p
28556 /@infodir@/p
28557 /@localedir@/p
28558 /@mandir@/p'
28559 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28560 *datarootdir*) ac_datarootdir_seen=yes;;
28561 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28562   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28563 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28564 _ACEOF
28565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28566   ac_datarootdir_hack='
28567   s&@datadir@&$datadir&g
28568   s&@docdir@&$docdir&g
28569   s&@infodir@&$infodir&g
28570   s&@localedir@&$localedir&g
28571   s&@mandir@&$mandir&g
28572   s&\\\${datarootdir}&$datarootdir&g' ;;
28573 esac
28574 _ACEOF
28575
28576 # Neutralize VPATH when `$srcdir' = `.'.
28577 # Shell code in configure.ac might set extrasub.
28578 # FIXME: do we really want to maintain this feature?
28579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28580 ac_sed_extra="$ac_vpsub
28581 $extrasub
28582 _ACEOF
28583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28584 :t
28585 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28586 s|@configure_input@|$ac_sed_conf_input|;t t
28587 s&@top_builddir@&$ac_top_builddir_sub&;t t
28588 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28589 s&@srcdir@&$ac_srcdir&;t t
28590 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28591 s&@top_srcdir@&$ac_top_srcdir&;t t
28592 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28593 s&@builddir@&$ac_builddir&;t t
28594 s&@abs_builddir@&$ac_abs_builddir&;t t
28595 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28596 s&@INSTALL@&$ac_INSTALL&;t t
28597 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28598 $ac_datarootdir_hack
28599 "
28600 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
28601   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28602
28603 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28604   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
28605   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
28606       "$ac_tmp/out"`; test -z "$ac_out"; } &&
28607   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28608 which seems to be undefined.  Please make sure it is defined" >&5
28609 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28610 which seems to be undefined.  Please make sure it is defined" >&2;}
28611
28612   rm -f "$ac_tmp/stdin"
28613   case $ac_file in
28614   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
28615   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
28616   esac \
28617   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28618  ;;
28619   :H)
28620   #
28621   # CONFIG_HEADER
28622   #
28623   if test x"$ac_file" != x-; then
28624     {
28625       $as_echo "/* $configure_input  */" \
28626       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
28627     } >"$ac_tmp/config.h" \
28628       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28629     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
28630       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28631 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28632     else
28633       rm -f "$ac_file"
28634       mv "$ac_tmp/config.h" "$ac_file" \
28635         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28636     fi
28637   else
28638     $as_echo "/* $configure_input  */" \
28639       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
28640       || as_fn_error $? "could not create -" "$LINENO" 5
28641   fi
28642 # Compute "$ac_file"'s index in $config_headers.
28643 _am_arg="$ac_file"
28644 _am_stamp_count=1
28645 for _am_header in $config_headers :; do
28646   case $_am_header in
28647     $_am_arg | $_am_arg:* )
28648       break ;;
28649     * )
28650       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28651   esac
28652 done
28653 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28654 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28655          X"$_am_arg" : 'X\(//\)[^/]' \| \
28656          X"$_am_arg" : 'X\(//\)$' \| \
28657          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28658 $as_echo X"$_am_arg" |
28659     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28660             s//\1/
28661             q
28662           }
28663           /^X\(\/\/\)[^/].*/{
28664             s//\1/
28665             q
28666           }
28667           /^X\(\/\/\)$/{
28668             s//\1/
28669             q
28670           }
28671           /^X\(\/\).*/{
28672             s//\1/
28673             q
28674           }
28675           s/.*/./; q'`/stamp-h$_am_stamp_count
28676  ;;
28677
28678   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28679 $as_echo "$as_me: executing $ac_file commands" >&6;}
28680  ;;
28681   esac
28682
28683
28684   case $ac_file$ac_mode in
28685     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28686   # Autoconf 2.62 quotes --file arguments for eval, but not when files
28687   # are listed without --file.  Let's play safe and only enable the eval
28688   # if we detect the quoting.
28689   case $CONFIG_FILES in
28690   *\'*) eval set x "$CONFIG_FILES" ;;
28691   *)   set x $CONFIG_FILES ;;
28692   esac
28693   shift
28694   for mf
28695   do
28696     # Strip MF so we end up with the name of the file.
28697     mf=`echo "$mf" | sed -e 's/:.*$//'`
28698     # Check whether this is an Automake generated Makefile or not.
28699     # We used to match only the files named `Makefile.in', but
28700     # some people rename them; so instead we look at the file content.
28701     # Grep'ing the first line is not enough: some people post-process
28702     # each Makefile.in and add a new line on top of each file to say so.
28703     # Grep'ing the whole file is not good either: AIX grep has a line
28704     # limit of 2048, but all sed's we know have understand at least 4000.
28705     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28706       dirpart=`$as_dirname -- "$mf" ||
28707 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28708          X"$mf" : 'X\(//\)[^/]' \| \
28709          X"$mf" : 'X\(//\)$' \| \
28710          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28711 $as_echo X"$mf" |
28712     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28713             s//\1/
28714             q
28715           }
28716           /^X\(\/\/\)[^/].*/{
28717             s//\1/
28718             q
28719           }
28720           /^X\(\/\/\)$/{
28721             s//\1/
28722             q
28723           }
28724           /^X\(\/\).*/{
28725             s//\1/
28726             q
28727           }
28728           s/.*/./; q'`
28729     else
28730       continue
28731     fi
28732     # Extract the definition of DEPDIR, am__include, and am__quote
28733     # from the Makefile without running `make'.
28734     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28735     test -z "$DEPDIR" && continue
28736     am__include=`sed -n 's/^am__include = //p' < "$mf"`
28737     test -z "am__include" && continue
28738     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28739     # When using ansi2knr, U may be empty or an underscore; expand it
28740     U=`sed -n 's/^U = //p' < "$mf"`
28741     # Find all dependency output files, they are included files with
28742     # $(DEPDIR) in their names.  We invoke sed twice because it is the
28743     # simplest approach to changing $(DEPDIR) to its actual value in the
28744     # expansion.
28745     for file in `sed -n "
28746       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28747          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28748       # Make sure the directory exists.
28749       test -f "$dirpart/$file" && continue
28750       fdir=`$as_dirname -- "$file" ||
28751 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28752          X"$file" : 'X\(//\)[^/]' \| \
28753          X"$file" : 'X\(//\)$' \| \
28754          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28755 $as_echo X"$file" |
28756     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28757             s//\1/
28758             q
28759           }
28760           /^X\(\/\/\)[^/].*/{
28761             s//\1/
28762             q
28763           }
28764           /^X\(\/\/\)$/{
28765             s//\1/
28766             q
28767           }
28768           /^X\(\/\).*/{
28769             s//\1/
28770             q
28771           }
28772           s/.*/./; q'`
28773       as_dir=$dirpart/$fdir; as_fn_mkdir_p
28774       # echo "creating $dirpart/$file"
28775       echo '# dummy' > "$dirpart/$file"
28776     done
28777   done
28778 }
28779  ;;
28780     "libtool":C)
28781
28782     # See if we are running on zsh, and set the options which allow our
28783     # commands through without removal of \ escapes.
28784     if test -n "${ZSH_VERSION+set}" ; then
28785       setopt NO_GLOB_SUBST
28786     fi
28787
28788     cfgfile="${ofile}T"
28789     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28790     $RM "$cfgfile"
28791
28792     cat <<_LT_EOF >> "$cfgfile"
28793 #! $SHELL
28794
28795 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28796 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28797 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28798 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28799 #
28800 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28801 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
28802 #                 Foundation, Inc.
28803 #   Written by Gordon Matzigkeit, 1996
28804 #
28805 #   This file is part of GNU Libtool.
28806 #
28807 # GNU Libtool is free software; you can redistribute it and/or
28808 # modify it under the terms of the GNU General Public License as
28809 # published by the Free Software Foundation; either version 2 of
28810 # the License, or (at your option) any later version.
28811 #
28812 # As a special exception to the GNU General Public License,
28813 # if you distribute this file as part of a program or library that
28814 # is built using GNU Libtool, you may include this file under the
28815 # same distribution terms that you use for the rest of that program.
28816 #
28817 # GNU Libtool is distributed in the hope that it will be useful,
28818 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28819 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28820 # GNU General Public License for more details.
28821 #
28822 # You should have received a copy of the GNU General Public License
28823 # along with GNU Libtool; see the file COPYING.  If not, a copy
28824 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28825 # obtained by writing to the Free Software Foundation, Inc.,
28826 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28827
28828
28829 # The names of the tagged configurations supported by this script.
28830 available_tags="CXX "
28831
28832 # ### BEGIN LIBTOOL CONFIG
28833
28834 # Assembler program.
28835 AS=$lt_AS
28836
28837 # DLL creation program.
28838 DLLTOOL=$lt_DLLTOOL
28839
28840 # Object dumper program.
28841 OBJDUMP=$lt_OBJDUMP
28842
28843 # Which release of libtool.m4 was used?
28844 macro_version=$macro_version
28845 macro_revision=$macro_revision
28846
28847 # Whether or not to build shared libraries.
28848 build_libtool_libs=$enable_shared
28849
28850 # Whether or not to build static libraries.
28851 build_old_libs=$enable_static
28852
28853 # What type of objects to build.
28854 pic_mode=$pic_mode
28855
28856 # Whether or not to optimize for fast installation.
28857 fast_install=$enable_fast_install
28858
28859 # Shell to use when invoking shell scripts.
28860 SHELL=$lt_SHELL
28861
28862 # An echo program that protects backslashes.
28863 ECHO=$lt_ECHO
28864
28865 # The PATH separator for the build system.
28866 PATH_SEPARATOR=$lt_PATH_SEPARATOR
28867
28868 # The host system.
28869 host_alias=$host_alias
28870 host=$host
28871 host_os=$host_os
28872
28873 # The build system.
28874 build_alias=$build_alias
28875 build=$build
28876 build_os=$build_os
28877
28878 # A sed program that does not truncate output.
28879 SED=$lt_SED
28880
28881 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28882 Xsed="\$SED -e 1s/^X//"
28883
28884 # A grep program that handles long lines.
28885 GREP=$lt_GREP
28886
28887 # An ERE matcher.
28888 EGREP=$lt_EGREP
28889
28890 # A literal string matcher.
28891 FGREP=$lt_FGREP
28892
28893 # A BSD- or MS-compatible name lister.
28894 NM=$lt_NM
28895
28896 # Whether we need soft or hard links.
28897 LN_S=$lt_LN_S
28898
28899 # What is the maximum length of a command?
28900 max_cmd_len=$max_cmd_len
28901
28902 # Object file suffix (normally "o").
28903 objext=$ac_objext
28904
28905 # Executable file suffix (normally "").
28906 exeext=$exeext
28907
28908 # whether the shell understands "unset".
28909 lt_unset=$lt_unset
28910
28911 # turn spaces into newlines.
28912 SP2NL=$lt_lt_SP2NL
28913
28914 # turn newlines into spaces.
28915 NL2SP=$lt_lt_NL2SP
28916
28917 # convert \$build file names to \$host format.
28918 to_host_file_cmd=$lt_cv_to_host_file_cmd
28919
28920 # convert \$build files to toolchain format.
28921 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
28922
28923 # Method to check whether dependent libraries are shared objects.
28924 deplibs_check_method=$lt_deplibs_check_method
28925
28926 # Command to use when deplibs_check_method = "file_magic".
28927 file_magic_cmd=$lt_file_magic_cmd
28928
28929 # How to find potential files when deplibs_check_method = "file_magic".
28930 file_magic_glob=$lt_file_magic_glob
28931
28932 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
28933 want_nocaseglob=$lt_want_nocaseglob
28934
28935 # Command to associate shared and link libraries.
28936 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
28937
28938 # The archiver.
28939 AR=$lt_AR
28940
28941 # Flags to create an archive.
28942 AR_FLAGS=$lt_AR_FLAGS
28943
28944 # How to feed a file listing to the archiver.
28945 archiver_list_spec=$lt_archiver_list_spec
28946
28947 # A symbol stripping program.
28948 STRIP=$lt_STRIP
28949
28950 # Commands used to install an old-style archive.
28951 RANLIB=$lt_RANLIB
28952 old_postinstall_cmds=$lt_old_postinstall_cmds
28953 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28954
28955 # Whether to use a lock for old archive extraction.
28956 lock_old_archive_extraction=$lock_old_archive_extraction
28957
28958 # A C compiler.
28959 LTCC=$lt_CC
28960
28961 # LTCC compiler flags.
28962 LTCFLAGS=$lt_CFLAGS
28963
28964 # Take the output of nm and produce a listing of raw symbols and C names.
28965 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28966
28967 # Transform the output of nm in a proper C declaration.
28968 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28969
28970 # Transform the output of nm in a C name address pair.
28971 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28972
28973 # Transform the output of nm in a C name address pair when lib prefix is needed.
28974 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28975
28976 # Specify filename containing input files for \$NM.
28977 nm_file_list_spec=$lt_nm_file_list_spec
28978
28979 # The root where to search for dependent libraries,and in which our libraries should be installed.
28980 lt_sysroot=$lt_sysroot
28981
28982 # The name of the directory that contains temporary libtool files.
28983 objdir=$objdir
28984
28985 # Used to examine libraries when file_magic_cmd begins with "file".
28986 MAGIC_CMD=$MAGIC_CMD
28987
28988 # Must we lock files when doing compilation?
28989 need_locks=$lt_need_locks
28990
28991 # Manifest tool.
28992 MANIFEST_TOOL=$lt_MANIFEST_TOOL
28993
28994 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28995 DSYMUTIL=$lt_DSYMUTIL
28996
28997 # Tool to change global to local symbols on Mac OS X.
28998 NMEDIT=$lt_NMEDIT
28999
29000 # Tool to manipulate fat objects and archives on Mac OS X.
29001 LIPO=$lt_LIPO
29002
29003 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
29004 OTOOL=$lt_OTOOL
29005
29006 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
29007 OTOOL64=$lt_OTOOL64
29008
29009 # Old archive suffix (normally "a").
29010 libext=$libext
29011
29012 # Shared library suffix (normally ".so").
29013 shrext_cmds=$lt_shrext_cmds
29014
29015 # The commands to extract the exported symbol list from a shared archive.
29016 extract_expsyms_cmds=$lt_extract_expsyms_cmds
29017
29018 # Variables whose values should be saved in libtool wrapper scripts and
29019 # restored at link time.
29020 variables_saved_for_relink=$lt_variables_saved_for_relink
29021
29022 # Do we need the "lib" prefix for modules?
29023 need_lib_prefix=$need_lib_prefix
29024
29025 # Do we need a version for libraries?
29026 need_version=$need_version
29027
29028 # Library versioning type.
29029 version_type=$version_type
29030
29031 # Shared library runtime path variable.
29032 runpath_var=$runpath_var
29033
29034 # Shared library path variable.
29035 shlibpath_var=$shlibpath_var
29036
29037 # Is shlibpath searched before the hard-coded library search path?
29038 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
29039
29040 # Format of library name prefix.
29041 libname_spec=$lt_libname_spec
29042
29043 # List of archive names.  First name is the real one, the rest are links.
29044 # The last name is the one that the linker finds with -lNAME
29045 library_names_spec=$lt_library_names_spec
29046
29047 # The coded name of the library, if different from the real name.
29048 soname_spec=$lt_soname_spec
29049
29050 # Permission mode override for installation of shared libraries.
29051 install_override_mode=$lt_install_override_mode
29052
29053 # Command to use after installation of a shared archive.
29054 postinstall_cmds=$lt_postinstall_cmds
29055
29056 # Command to use after uninstallation of a shared archive.
29057 postuninstall_cmds=$lt_postuninstall_cmds
29058
29059 # Commands used to finish a libtool library installation in a directory.
29060 finish_cmds=$lt_finish_cmds
29061
29062 # As "finish_cmds", except a single script fragment to be evaled but
29063 # not shown.
29064 finish_eval=$lt_finish_eval
29065
29066 # Whether we should hardcode library paths into libraries.
29067 hardcode_into_libs=$hardcode_into_libs
29068
29069 # Compile-time system search path for libraries.
29070 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29071
29072 # Run-time system search path for libraries.
29073 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
29074
29075 # Whether dlopen is supported.
29076 dlopen_support=$enable_dlopen
29077
29078 # Whether dlopen of programs is supported.
29079 dlopen_self=$enable_dlopen_self
29080
29081 # Whether dlopen of statically linked programs is supported.
29082 dlopen_self_static=$enable_dlopen_self_static
29083
29084 # Commands to strip libraries.
29085 old_striplib=$lt_old_striplib
29086 striplib=$lt_striplib
29087
29088
29089 # The linker used to build libraries.
29090 LD=$lt_LD
29091
29092 # How to create reloadable object files.
29093 reload_flag=$lt_reload_flag
29094 reload_cmds=$lt_reload_cmds
29095
29096 # Commands used to build an old-style archive.
29097 old_archive_cmds=$lt_old_archive_cmds
29098
29099 # A language specific compiler.
29100 CC=$lt_compiler
29101
29102 # Is the compiler the GNU compiler?
29103 with_gcc=$GCC
29104
29105 # Compiler flag to turn off builtin functions.
29106 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29107
29108 # Additional compiler flags for building library objects.
29109 pic_flag=$lt_lt_prog_compiler_pic
29110
29111 # How to pass a linker flag through the compiler.
29112 wl=$lt_lt_prog_compiler_wl
29113
29114 # Compiler flag to prevent dynamic linking.
29115 link_static_flag=$lt_lt_prog_compiler_static
29116
29117 # Does compiler simultaneously support -c and -o options?
29118 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29119
29120 # Whether or not to add -lc for building shared libraries.
29121 build_libtool_need_lc=$archive_cmds_need_lc
29122
29123 # Whether or not to disallow shared libs when runtime libs are static.
29124 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29125
29126 # Compiler flag to allow reflexive dlopens.
29127 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29128
29129 # Compiler flag to generate shared objects directly from archives.
29130 whole_archive_flag_spec=$lt_whole_archive_flag_spec
29131
29132 # Whether the compiler copes with passing no objects directly.
29133 compiler_needs_object=$lt_compiler_needs_object
29134
29135 # Create an old-style archive from a shared archive.
29136 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29137
29138 # Create a temporary old-style archive to link instead of a shared archive.
29139 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29140
29141 # Commands used to build a shared archive.
29142 archive_cmds=$lt_archive_cmds
29143 archive_expsym_cmds=$lt_archive_expsym_cmds
29144
29145 # Commands used to build a loadable module if different from building
29146 # a shared archive.
29147 module_cmds=$lt_module_cmds
29148 module_expsym_cmds=$lt_module_expsym_cmds
29149
29150 # Whether we are building with GNU ld or not.
29151 with_gnu_ld=$lt_with_gnu_ld
29152
29153 # Flag that allows shared libraries with undefined symbols to be built.
29154 allow_undefined_flag=$lt_allow_undefined_flag
29155
29156 # Flag that enforces no undefined symbols.
29157 no_undefined_flag=$lt_no_undefined_flag
29158
29159 # Flag to hardcode \$libdir into a binary during linking.
29160 # This must work even if \$libdir does not exist
29161 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29162
29163 # Whether we need a single "-rpath" flag with a separated argument.
29164 hardcode_libdir_separator=$lt_hardcode_libdir_separator
29165
29166 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29167 # DIR into the resulting binary.
29168 hardcode_direct=$hardcode_direct
29169
29170 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29171 # DIR into the resulting binary and the resulting library dependency is
29172 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29173 # library is relocated.
29174 hardcode_direct_absolute=$hardcode_direct_absolute
29175
29176 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29177 # into the resulting binary.
29178 hardcode_minus_L=$hardcode_minus_L
29179
29180 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29181 # into the resulting binary.
29182 hardcode_shlibpath_var=$hardcode_shlibpath_var
29183
29184 # Set to "yes" if building a shared library automatically hardcodes DIR
29185 # into the library and all subsequent libraries and executables linked
29186 # against it.
29187 hardcode_automatic=$hardcode_automatic
29188
29189 # Set to yes if linker adds runtime paths of dependent libraries
29190 # to runtime path list.
29191 inherit_rpath=$inherit_rpath
29192
29193 # Whether libtool must link a program against all its dependency libraries.
29194 link_all_deplibs=$link_all_deplibs
29195
29196 # Set to "yes" if exported symbols are required.
29197 always_export_symbols=$always_export_symbols
29198
29199 # The commands to list exported symbols.
29200 export_symbols_cmds=$lt_export_symbols_cmds
29201
29202 # Symbols that should not be listed in the preloaded symbols.
29203 exclude_expsyms=$lt_exclude_expsyms
29204
29205 # Symbols that must always be exported.
29206 include_expsyms=$lt_include_expsyms
29207
29208 # Commands necessary for linking programs (against libraries) with templates.
29209 prelink_cmds=$lt_prelink_cmds
29210
29211 # Commands necessary for finishing linking programs.
29212 postlink_cmds=$lt_postlink_cmds
29213
29214 # Specify filename containing input files.
29215 file_list_spec=$lt_file_list_spec
29216
29217 # How to hardcode a shared library path into an executable.
29218 hardcode_action=$hardcode_action
29219
29220 # The directories searched by this compiler when creating a shared library.
29221 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29222
29223 # Dependencies to place before and after the objects being linked to
29224 # create a shared library.
29225 predep_objects=$lt_predep_objects
29226 postdep_objects=$lt_postdep_objects
29227 predeps=$lt_predeps
29228 postdeps=$lt_postdeps
29229
29230 # The library search path used internally by the compiler when linking
29231 # a shared library.
29232 compiler_lib_search_path=$lt_compiler_lib_search_path
29233
29234 # ### END LIBTOOL CONFIG
29235
29236 _LT_EOF
29237
29238   case $host_os in
29239   aix3*)
29240     cat <<\_LT_EOF >> "$cfgfile"
29241 # AIX sometimes has problems with the GCC collect2 program.  For some
29242 # reason, if we set the COLLECT_NAMES environment variable, the problems
29243 # vanish in a puff of smoke.
29244 if test "X${COLLECT_NAMES+set}" != Xset; then
29245   COLLECT_NAMES=
29246   export COLLECT_NAMES
29247 fi
29248 _LT_EOF
29249     ;;
29250   esac
29251
29252
29253 ltmain="$ac_aux_dir/ltmain.sh"
29254
29255
29256   # We use sed instead of cat because bash on DJGPP gets confused if
29257   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
29258   # text mode, it properly converts lines to CR/LF.  This bash problem
29259   # is reportedly fixed, but why not run on old versions too?
29260   sed '$q' "$ltmain" >> "$cfgfile" \
29261      || (rm -f "$cfgfile"; exit 1)
29262
29263   if test x"$xsi_shell" = xyes; then
29264   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
29265 func_dirname ()\
29266 {\
29267 \    case ${1} in\
29268 \      */*) func_dirname_result="${1%/*}${2}" ;;\
29269 \      *  ) func_dirname_result="${3}" ;;\
29270 \    esac\
29271 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
29272   && mv -f "$cfgfile.tmp" "$cfgfile" \
29273     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29274 test 0 -eq $? || _lt_function_replace_fail=:
29275
29276
29277   sed -e '/^func_basename ()$/,/^} # func_basename /c\
29278 func_basename ()\
29279 {\
29280 \    func_basename_result="${1##*/}"\
29281 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
29282   && mv -f "$cfgfile.tmp" "$cfgfile" \
29283     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29284 test 0 -eq $? || _lt_function_replace_fail=:
29285
29286
29287   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
29288 func_dirname_and_basename ()\
29289 {\
29290 \    case ${1} in\
29291 \      */*) func_dirname_result="${1%/*}${2}" ;;\
29292 \      *  ) func_dirname_result="${3}" ;;\
29293 \    esac\
29294 \    func_basename_result="${1##*/}"\
29295 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
29296   && mv -f "$cfgfile.tmp" "$cfgfile" \
29297     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29298 test 0 -eq $? || _lt_function_replace_fail=:
29299
29300
29301   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
29302 func_stripname ()\
29303 {\
29304 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
29305 \    # positional parameters, so assign one to ordinary parameter first.\
29306 \    func_stripname_result=${3}\
29307 \    func_stripname_result=${func_stripname_result#"${1}"}\
29308 \    func_stripname_result=${func_stripname_result%"${2}"}\
29309 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
29310   && mv -f "$cfgfile.tmp" "$cfgfile" \
29311     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29312 test 0 -eq $? || _lt_function_replace_fail=:
29313
29314
29315   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
29316 func_split_long_opt ()\
29317 {\
29318 \    func_split_long_opt_name=${1%%=*}\
29319 \    func_split_long_opt_arg=${1#*=}\
29320 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
29321   && mv -f "$cfgfile.tmp" "$cfgfile" \
29322     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29323 test 0 -eq $? || _lt_function_replace_fail=:
29324
29325
29326   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
29327 func_split_short_opt ()\
29328 {\
29329 \    func_split_short_opt_arg=${1#??}\
29330 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
29331 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
29332   && mv -f "$cfgfile.tmp" "$cfgfile" \
29333     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29334 test 0 -eq $? || _lt_function_replace_fail=:
29335
29336
29337   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
29338 func_lo2o ()\
29339 {\
29340 \    case ${1} in\
29341 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
29342 \      *)    func_lo2o_result=${1} ;;\
29343 \    esac\
29344 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
29345   && mv -f "$cfgfile.tmp" "$cfgfile" \
29346     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29347 test 0 -eq $? || _lt_function_replace_fail=:
29348
29349
29350   sed -e '/^func_xform ()$/,/^} # func_xform /c\
29351 func_xform ()\
29352 {\
29353     func_xform_result=${1%.*}.lo\
29354 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
29355   && mv -f "$cfgfile.tmp" "$cfgfile" \
29356     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29357 test 0 -eq $? || _lt_function_replace_fail=:
29358
29359
29360   sed -e '/^func_arith ()$/,/^} # func_arith /c\
29361 func_arith ()\
29362 {\
29363     func_arith_result=$(( $* ))\
29364 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
29365   && mv -f "$cfgfile.tmp" "$cfgfile" \
29366     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29367 test 0 -eq $? || _lt_function_replace_fail=:
29368
29369
29370   sed -e '/^func_len ()$/,/^} # func_len /c\
29371 func_len ()\
29372 {\
29373     func_len_result=${#1}\
29374 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
29375   && mv -f "$cfgfile.tmp" "$cfgfile" \
29376     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29377 test 0 -eq $? || _lt_function_replace_fail=:
29378
29379 fi
29380
29381 if test x"$lt_shell_append" = xyes; then
29382   sed -e '/^func_append ()$/,/^} # func_append /c\
29383 func_append ()\
29384 {\
29385     eval "${1}+=\\${2}"\
29386 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
29387   && mv -f "$cfgfile.tmp" "$cfgfile" \
29388     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29389 test 0 -eq $? || _lt_function_replace_fail=:
29390
29391
29392   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
29393 func_append_quoted ()\
29394 {\
29395 \    func_quote_for_eval "${2}"\
29396 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
29397 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
29398   && mv -f "$cfgfile.tmp" "$cfgfile" \
29399     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29400 test 0 -eq $? || _lt_function_replace_fail=:
29401
29402
29403   # Save a `func_append' function call where possible by direct use of '+='
29404   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
29405     && mv -f "$cfgfile.tmp" "$cfgfile" \
29406       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29407   test 0 -eq $? || _lt_function_replace_fail=:
29408 else
29409   # Save a `func_append' function call even when '+=' is not available
29410   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
29411     && mv -f "$cfgfile.tmp" "$cfgfile" \
29412       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29413   test 0 -eq $? || _lt_function_replace_fail=:
29414 fi
29415
29416 if test x"$_lt_function_replace_fail" = x":"; then
29417   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
29418 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
29419 fi
29420
29421
29422    mv -f "$cfgfile" "$ofile" ||
29423     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29424   chmod +x "$ofile"
29425
29426
29427     cat <<_LT_EOF >> "$ofile"
29428
29429 # ### BEGIN LIBTOOL TAG CONFIG: CXX
29430
29431 # The linker used to build libraries.
29432 LD=$lt_LD_CXX
29433
29434 # How to create reloadable object files.
29435 reload_flag=$lt_reload_flag_CXX
29436 reload_cmds=$lt_reload_cmds_CXX
29437
29438 # Commands used to build an old-style archive.
29439 old_archive_cmds=$lt_old_archive_cmds_CXX
29440
29441 # A language specific compiler.
29442 CC=$lt_compiler_CXX
29443
29444 # Is the compiler the GNU compiler?
29445 with_gcc=$GCC_CXX
29446
29447 # Compiler flag to turn off builtin functions.
29448 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
29449
29450 # Additional compiler flags for building library objects.
29451 pic_flag=$lt_lt_prog_compiler_pic_CXX
29452
29453 # How to pass a linker flag through the compiler.
29454 wl=$lt_lt_prog_compiler_wl_CXX
29455
29456 # Compiler flag to prevent dynamic linking.
29457 link_static_flag=$lt_lt_prog_compiler_static_CXX
29458
29459 # Does compiler simultaneously support -c and -o options?
29460 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
29461
29462 # Whether or not to add -lc for building shared libraries.
29463 build_libtool_need_lc=$archive_cmds_need_lc_CXX
29464
29465 # Whether or not to disallow shared libs when runtime libs are static.
29466 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
29467
29468 # Compiler flag to allow reflexive dlopens.
29469 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
29470
29471 # Compiler flag to generate shared objects directly from archives.
29472 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
29473
29474 # Whether the compiler copes with passing no objects directly.
29475 compiler_needs_object=$lt_compiler_needs_object_CXX
29476
29477 # Create an old-style archive from a shared archive.
29478 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
29479
29480 # Create a temporary old-style archive to link instead of a shared archive.
29481 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
29482
29483 # Commands used to build a shared archive.
29484 archive_cmds=$lt_archive_cmds_CXX
29485 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
29486
29487 # Commands used to build a loadable module if different from building
29488 # a shared archive.
29489 module_cmds=$lt_module_cmds_CXX
29490 module_expsym_cmds=$lt_module_expsym_cmds_CXX
29491
29492 # Whether we are building with GNU ld or not.
29493 with_gnu_ld=$lt_with_gnu_ld_CXX
29494
29495 # Flag that allows shared libraries with undefined symbols to be built.
29496 allow_undefined_flag=$lt_allow_undefined_flag_CXX
29497
29498 # Flag that enforces no undefined symbols.
29499 no_undefined_flag=$lt_no_undefined_flag_CXX
29500
29501 # Flag to hardcode \$libdir into a binary during linking.
29502 # This must work even if \$libdir does not exist
29503 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
29504
29505 # Whether we need a single "-rpath" flag with a separated argument.
29506 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
29507
29508 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29509 # DIR into the resulting binary.
29510 hardcode_direct=$hardcode_direct_CXX
29511
29512 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29513 # DIR into the resulting binary and the resulting library dependency is
29514 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29515 # library is relocated.
29516 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
29517
29518 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29519 # into the resulting binary.
29520 hardcode_minus_L=$hardcode_minus_L_CXX
29521
29522 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29523 # into the resulting binary.
29524 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
29525
29526 # Set to "yes" if building a shared library automatically hardcodes DIR
29527 # into the library and all subsequent libraries and executables linked
29528 # against it.
29529 hardcode_automatic=$hardcode_automatic_CXX
29530
29531 # Set to yes if linker adds runtime paths of dependent libraries
29532 # to runtime path list.
29533 inherit_rpath=$inherit_rpath_CXX
29534
29535 # Whether libtool must link a program against all its dependency libraries.
29536 link_all_deplibs=$link_all_deplibs_CXX
29537
29538 # Set to "yes" if exported symbols are required.
29539 always_export_symbols=$always_export_symbols_CXX
29540
29541 # The commands to list exported symbols.
29542 export_symbols_cmds=$lt_export_symbols_cmds_CXX
29543
29544 # Symbols that should not be listed in the preloaded symbols.
29545 exclude_expsyms=$lt_exclude_expsyms_CXX
29546
29547 # Symbols that must always be exported.
29548 include_expsyms=$lt_include_expsyms_CXX
29549
29550 # Commands necessary for linking programs (against libraries) with templates.
29551 prelink_cmds=$lt_prelink_cmds_CXX
29552
29553 # Commands necessary for finishing linking programs.
29554 postlink_cmds=$lt_postlink_cmds_CXX
29555
29556 # Specify filename containing input files.
29557 file_list_spec=$lt_file_list_spec_CXX
29558
29559 # How to hardcode a shared library path into an executable.
29560 hardcode_action=$hardcode_action_CXX
29561
29562 # The directories searched by this compiler when creating a shared library.
29563 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
29564
29565 # Dependencies to place before and after the objects being linked to
29566 # create a shared library.
29567 predep_objects=$lt_predep_objects_CXX
29568 postdep_objects=$lt_postdep_objects_CXX
29569 predeps=$lt_predeps_CXX
29570 postdeps=$lt_postdeps_CXX
29571
29572 # The library search path used internally by the compiler when linking
29573 # a shared library.
29574 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
29575
29576 # ### END LIBTOOL TAG CONFIG: CXX
29577 _LT_EOF
29578
29579  ;;
29580     "po-directories":C)
29581     for ac_file in $CONFIG_FILES; do
29582       # Support "outfile[:infile[:infile...]]"
29583       case "$ac_file" in
29584         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
29585       esac
29586       # PO directories have a Makefile.in generated from Makefile.in.in.
29587       case "$ac_file" in */Makefile.in)
29588         # Adjust a relative srcdir.
29589         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
29590         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
29591         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
29592         # In autoconf-2.13 it is called $ac_given_srcdir.
29593         # In autoconf-2.50 it is called $srcdir.
29594         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
29595         case "$ac_given_srcdir" in
29596           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
29597           /*) top_srcdir="$ac_given_srcdir" ;;
29598           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
29599         esac
29600         # Treat a directory as a PO directory if and only if it has a
29601         # POTFILES.in file. This allows packages to have multiple PO
29602         # directories under different names or in different locations.
29603         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
29604           rm -f "$ac_dir/POTFILES"
29605           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
29606           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
29607           POMAKEFILEDEPS="POTFILES.in"
29608           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
29609           # on $ac_dir but don't depend on user-specified configuration
29610           # parameters.
29611           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
29612             # The LINGUAS file contains the set of available languages.
29613             if test -n "$OBSOLETE_ALL_LINGUAS"; then
29614               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
29615             fi
29616             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
29617             # Hide the ALL_LINGUAS assigment from automake < 1.5.
29618             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
29619             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
29620           else
29621             # The set of available languages was given in configure.in.
29622             # Hide the ALL_LINGUAS assigment from automake < 1.5.
29623             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
29624           fi
29625           # Compute POFILES
29626           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
29627           # Compute UPDATEPOFILES
29628           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
29629           # Compute DUMMYPOFILES
29630           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
29631           # Compute GMOFILES
29632           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
29633           case "$ac_given_srcdir" in
29634             .) srcdirpre= ;;
29635             *) srcdirpre='$(srcdir)/' ;;
29636           esac
29637           POFILES=
29638           UPDATEPOFILES=
29639           DUMMYPOFILES=
29640           GMOFILES=
29641           for lang in $ALL_LINGUAS; do
29642             POFILES="$POFILES $srcdirpre$lang.po"
29643             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
29644             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
29645             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
29646           done
29647           # CATALOGS depends on both $ac_dir and the user's LINGUAS
29648           # environment variable.
29649           INST_LINGUAS=
29650           if test -n "$ALL_LINGUAS"; then
29651             for presentlang in $ALL_LINGUAS; do
29652               useit=no
29653               if test "%UNSET%" != "$LINGUAS"; then
29654                 desiredlanguages="$LINGUAS"
29655               else
29656                 desiredlanguages="$ALL_LINGUAS"
29657               fi
29658               for desiredlang in $desiredlanguages; do
29659                 # Use the presentlang catalog if desiredlang is
29660                 #   a. equal to presentlang, or
29661                 #   b. a variant of presentlang (because in this case,
29662                 #      presentlang can be used as a fallback for messages
29663                 #      which are not translated in the desiredlang catalog).
29664                 case "$desiredlang" in
29665                   "$presentlang"*) useit=yes;;
29666                 esac
29667               done
29668               if test $useit = yes; then
29669                 INST_LINGUAS="$INST_LINGUAS $presentlang"
29670               fi
29671             done
29672           fi
29673           CATALOGS=
29674           if test -n "$INST_LINGUAS"; then
29675             for lang in $INST_LINGUAS; do
29676               CATALOGS="$CATALOGS $lang.gmo"
29677             done
29678           fi
29679           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
29680           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"
29681           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
29682             if test -f "$f"; then
29683               case "$f" in
29684                 *.orig | *.bak | *~) ;;
29685                 *) cat "$f" >> "$ac_dir/Makefile" ;;
29686               esac
29687             fi
29688           done
29689         fi
29690         ;;
29691       esac
29692     done ;;
29693     "$ac_stdint_h":C)
29694 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
29695 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
29696 ac_stdint=$tmp/_stdint.h
29697
29698 echo "#ifndef" $_ac_stdint_h >$ac_stdint
29699 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
29700 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
29701 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
29702 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
29703 if test "_$ac_cv_header_stdint_t" != "_" ; then
29704 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
29705 echo "#include <stdint.h>" >>$ac_stdint
29706 echo "#endif" >>$ac_stdint
29707 echo "#endif" >>$ac_stdint
29708 else
29709
29710 cat >>$ac_stdint <<STDINT_EOF
29711
29712 /* ................... shortcircuit part ........................... */
29713
29714 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
29715 #include <stdint.h>
29716 #else
29717 #include <stddef.h>
29718
29719 /* .................... configured part ............................ */
29720
29721 STDINT_EOF
29722
29723 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
29724 if test "_$ac_cv_header_stdint_x" != "_" ; then
29725   ac_header="$ac_cv_header_stdint_x"
29726   echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
29727 else
29728   echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
29729 fi
29730
29731 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
29732 if  test "_$ac_cv_header_stdint_o" != "_" ; then
29733   ac_header="$ac_cv_header_stdint_o"
29734   echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
29735 else
29736   echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
29737 fi
29738
29739 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
29740 if  test "_$ac_cv_header_stdint_u" != "_" ; then
29741   ac_header="$ac_cv_header_stdint_u"
29742   echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
29743 else
29744   echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
29745 fi
29746
29747 echo "" >>$ac_stdint
29748
29749 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
29750   echo "#include <$ac_header>" >>$ac_stdint
29751   echo "" >>$ac_stdint
29752 fi fi
29753
29754 echo "/* which 64bit typedef has been found */" >>$ac_stdint
29755 if test "$ac_cv_type_uint64_t" = "yes" ; then
29756 echo "#define   _STDINT_HAVE_UINT64_T" "1"  >>$ac_stdint
29757 else
29758 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
29759 fi
29760 if test "$ac_cv_type_u_int64_t" = "yes" ; then
29761 echo "#define   _STDINT_HAVE_U_INT64_T" "1"  >>$ac_stdint
29762 else
29763 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
29764 fi
29765 echo "" >>$ac_stdint
29766
29767 echo "/* which type model has been detected */" >>$ac_stdint
29768 if test "_$ac_cv_char_data_model" != "_" ; then
29769 echo "#define   _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
29770 echo "#define   _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
29771 else
29772 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
29773 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
29774 fi
29775 echo "" >>$ac_stdint
29776
29777 echo "/* whether int_least types were detected */" >>$ac_stdint
29778 if test "$ac_cv_type_int_least32_t" = "yes"; then
29779 echo "#define   _STDINT_HAVE_INT_LEAST32_T" "1"  >>$ac_stdint
29780 else
29781 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
29782 fi
29783 echo "/* whether int_fast types were detected */" >>$ac_stdint
29784 if test "$ac_cv_type_int_fast32_t" = "yes"; then
29785 echo "#define   _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
29786 else
29787 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
29788 fi
29789 echo "/* whether intmax_t type was detected */" >>$ac_stdint
29790 if test "$ac_cv_type_intmax_t" = "yes"; then
29791 echo "#define   _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
29792 else
29793 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
29794 fi
29795 echo "" >>$ac_stdint
29796
29797   cat >>$ac_stdint <<STDINT_EOF
29798 /* .................... detections part ............................ */
29799
29800 /* whether we need to define bitspecific types from compiler base types */
29801 #ifndef _STDINT_HEADER_INTPTR
29802 #ifndef _STDINT_HEADER_UINT32
29803 #ifndef _STDINT_HEADER_U_INT32
29804 #define _STDINT_NEED_INT_MODEL_T
29805 #else
29806 #define _STDINT_HAVE_U_INT_TYPES
29807 #endif
29808 #endif
29809 #endif
29810
29811 #ifdef _STDINT_HAVE_U_INT_TYPES
29812 #undef _STDINT_NEED_INT_MODEL_T
29813 #endif
29814
29815 #ifdef  _STDINT_CHAR_MODEL
29816 #if     _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
29817 #ifndef _STDINT_BYTE_MODEL
29818 #define _STDINT_BYTE_MODEL 12
29819 #endif
29820 #endif
29821 #endif
29822
29823 #ifndef _STDINT_HAVE_INT_LEAST32_T
29824 #define _STDINT_NEED_INT_LEAST_T
29825 #endif
29826
29827 #ifndef _STDINT_HAVE_INT_FAST32_T
29828 #define _STDINT_NEED_INT_FAST_T
29829 #endif
29830
29831 #ifndef _STDINT_HEADER_INTPTR
29832 #define _STDINT_NEED_INTPTR_T
29833 #ifndef _STDINT_HAVE_INTMAX_T
29834 #define _STDINT_NEED_INTMAX_T
29835 #endif
29836 #endif
29837
29838
29839 /* .................... definition part ............................ */
29840
29841 /* some system headers have good uint64_t */
29842 #ifndef _HAVE_UINT64_T
29843 #if     defined _STDINT_HAVE_UINT64_T  || defined HAVE_UINT64_T
29844 #define _HAVE_UINT64_T
29845 #elif   defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
29846 #define _HAVE_UINT64_T
29847 typedef u_int64_t uint64_t;
29848 #endif
29849 #endif
29850
29851 #ifndef _HAVE_UINT64_T
29852 /* .. here are some common heuristics using compiler runtime specifics */
29853 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
29854 #define _HAVE_UINT64_T
29855 #define _HAVE_LONGLONG_UINT64_T
29856 typedef long long int64_t;
29857 typedef unsigned long long uint64_t;
29858
29859 #elif !defined __STRICT_ANSI__
29860 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29861 #define _HAVE_UINT64_T
29862 typedef __int64 int64_t;
29863 typedef unsigned __int64 uint64_t;
29864
29865 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
29866 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
29867 #if !defined _NO_LONGLONG
29868 #define _HAVE_UINT64_T
29869 #define _HAVE_LONGLONG_UINT64_T
29870 typedef long long int64_t;
29871 typedef unsigned long long uint64_t;
29872 #endif
29873
29874 #elif defined __alpha || (defined __mips && defined _ABIN32)
29875 #if !defined _NO_LONGLONG
29876 typedef long int64_t;
29877 typedef unsigned long uint64_t;
29878 #endif
29879   /* compiler/cpu type to define int64_t */
29880 #endif
29881 #endif
29882 #endif
29883
29884 #if defined _STDINT_HAVE_U_INT_TYPES
29885 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
29886 typedef u_int8_t uint8_t;
29887 typedef u_int16_t uint16_t;
29888 typedef u_int32_t uint32_t;
29889
29890 /* glibc compatibility */
29891 #ifndef __int8_t_defined
29892 #define __int8_t_defined
29893 #endif
29894 #endif
29895
29896 #ifdef _STDINT_NEED_INT_MODEL_T
29897 /* we must guess all the basic types. Apart from byte-adressable system, */
29898 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
29899 /* (btw, those nibble-addressable systems are way off, or so we assume) */
29900
29901
29902 #if defined _STDINT_BYTE_MODEL
29903 #if _STDINT_LONG_MODEL+0 == 242
29904 /* 2:4:2 =  IP16 = a normal 16-bit system                */
29905 typedef unsigned char   uint8_t;
29906 typedef unsigned short  uint16_t;
29907 typedef unsigned long   uint32_t;
29908 #ifndef __int8_t_defined
29909 #define __int8_t_defined
29910 typedef          char    int8_t;
29911 typedef          short   int16_t;
29912 typedef          long    int32_t;
29913 #endif
29914 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
29915 /* 2:4:4 =  LP32 = a 32-bit system derived from a 16-bit */
29916 /* 4:4:4 = ILP32 = a normal 32-bit system                */
29917 typedef unsigned char   uint8_t;
29918 typedef unsigned short  uint16_t;
29919 typedef unsigned int    uint32_t;
29920 #ifndef __int8_t_defined
29921 #define __int8_t_defined
29922 typedef          char    int8_t;
29923 typedef          short   int16_t;
29924 typedef          int     int32_t;
29925 #endif
29926 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
29927 /* 4:8:4 =  IP32 = a 32-bit system prepared for 64-bit    */
29928 /* 4:8:8 =  LP64 = a normal 64-bit system                 */
29929 typedef unsigned char   uint8_t;
29930 typedef unsigned short  uint16_t;
29931 typedef unsigned int    uint32_t;
29932 #ifndef __int8_t_defined
29933 #define __int8_t_defined
29934 typedef          char    int8_t;
29935 typedef          short   int16_t;
29936 typedef          int     int32_t;
29937 #endif
29938 /* this system has a "long" of 64bit */
29939 #ifndef _HAVE_UINT64_T
29940 #define _HAVE_UINT64_T
29941 typedef unsigned long   uint64_t;
29942 typedef          long    int64_t;
29943 #endif
29944 #elif _STDINT_LONG_MODEL+0 == 448
29945 /*      LLP64   a 64-bit system derived from a 32-bit system */
29946 typedef unsigned char   uint8_t;
29947 typedef unsigned short  uint16_t;
29948 typedef unsigned int    uint32_t;
29949 #ifndef __int8_t_defined
29950 #define __int8_t_defined
29951 typedef          char    int8_t;
29952 typedef          short   int16_t;
29953 typedef          int     int32_t;
29954 #endif
29955 /* assuming the system has a "long long" */
29956 #ifndef _HAVE_UINT64_T
29957 #define _HAVE_UINT64_T
29958 #define _HAVE_LONGLONG_UINT64_T
29959 typedef unsigned long long uint64_t;
29960 typedef          long long  int64_t;
29961 #endif
29962 #else
29963 #define _STDINT_NO_INT32_T
29964 #endif
29965 #else
29966 #define _STDINT_NO_INT8_T
29967 #define _STDINT_NO_INT32_T
29968 #endif
29969 #endif
29970
29971 /*
29972  * quote from SunOS-5.8 sys/inttypes.h:
29973  * Use at your own risk.  As of February 1996, the committee is squarely
29974  * behind the fixed sized types; the "least" and "fast" types are still being
29975  * discussed.  The probability that the "fast" types may be removed before
29976  * the standard is finalized is high enough that they are not currently
29977  * implemented.
29978  */
29979
29980 #if defined _STDINT_NEED_INT_LEAST_T
29981 typedef  int8_t    int_least8_t;
29982 typedef  int16_t   int_least16_t;
29983 typedef  int32_t   int_least32_t;
29984 #ifdef _HAVE_UINT64_T
29985 typedef  int64_t   int_least64_t;
29986 #endif
29987
29988 typedef uint8_t   uint_least8_t;
29989 typedef uint16_t  uint_least16_t;
29990 typedef uint32_t  uint_least32_t;
29991 #ifdef _HAVE_UINT64_T
29992 typedef uint64_t  uint_least64_t;
29993 #endif
29994   /* least types */
29995 #endif
29996
29997 #if defined _STDINT_NEED_INT_FAST_T
29998 typedef  int8_t    int_fast8_t;
29999 typedef  int       int_fast16_t;
30000 typedef  int32_t   int_fast32_t;
30001 #ifdef _HAVE_UINT64_T
30002 typedef  int64_t   int_fast64_t;
30003 #endif
30004
30005 typedef uint8_t   uint_fast8_t;
30006 typedef unsigned  uint_fast16_t;
30007 typedef uint32_t  uint_fast32_t;
30008 #ifdef _HAVE_UINT64_T
30009 typedef uint64_t  uint_fast64_t;
30010 #endif
30011   /* fast types */
30012 #endif
30013
30014 #ifdef _STDINT_NEED_INTMAX_T
30015 #ifdef _HAVE_UINT64_T
30016 typedef  int64_t       intmax_t;
30017 typedef uint64_t      uintmax_t;
30018 #else
30019 typedef          long  intmax_t;
30020 typedef unsigned long uintmax_t;
30021 #endif
30022 #endif
30023
30024 #ifdef _STDINT_NEED_INTPTR_T
30025 #ifndef __intptr_t_defined
30026 #define __intptr_t_defined
30027 /* we encourage using "long" to store pointer values, never use "int" ! */
30028 #if   _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
30029 typedef  unsigned int   uintptr_t;
30030 typedef           int    intptr_t;
30031 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
30032 typedef  unsigned long  uintptr_t;
30033 typedef           long   intptr_t;
30034 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
30035 typedef        uint64_t uintptr_t;
30036 typedef         int64_t  intptr_t;
30037 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
30038 typedef  unsigned long  uintptr_t;
30039 typedef           long   intptr_t;
30040 #endif
30041 #endif
30042 #endif
30043
30044 /* The ISO C99 standard specifies that in C++ implementations these
30045    should only be defined if explicitly requested.  */
30046 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
30047 #ifndef UINT32_C
30048
30049 /* Signed.  */
30050 # define INT8_C(c)      c
30051 # define INT16_C(c)     c
30052 # define INT32_C(c)     c
30053 # ifdef _HAVE_LONGLONG_UINT64_T
30054 #  define INT64_C(c)    c ## L
30055 # else
30056 #  define INT64_C(c)    c ## LL
30057 # endif
30058
30059 /* Unsigned.  */
30060 # define UINT8_C(c)     c ## U
30061 # define UINT16_C(c)    c ## U
30062 # define UINT32_C(c)    c ## U
30063 # ifdef _HAVE_LONGLONG_UINT64_T
30064 #  define UINT64_C(c)   c ## UL
30065 # else
30066 #  define UINT64_C(c)   c ## ULL
30067 # endif
30068
30069 /* Maximal type.  */
30070 # ifdef _HAVE_LONGLONG_UINT64_T
30071 #  define INTMAX_C(c)   c ## L
30072 #  define UINTMAX_C(c)  c ## UL
30073 # else
30074 #  define INTMAX_C(c)   c ## LL
30075 #  define UINTMAX_C(c)  c ## ULL
30076 # endif
30077
30078   /* literalnumbers */
30079 #endif
30080 #endif
30081
30082 /* These limits are merily those of a two complement byte-oriented system */
30083
30084 /* Minimum of signed integral types.  */
30085 # define INT8_MIN               (-128)
30086 # define INT16_MIN              (-32767-1)
30087 # define INT32_MIN              (-2147483647-1)
30088 # define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
30089 /* Maximum of signed integral types.  */
30090 # define INT8_MAX               (127)
30091 # define INT16_MAX              (32767)
30092 # define INT32_MAX              (2147483647)
30093 # define INT64_MAX              (__INT64_C(9223372036854775807))
30094
30095 /* Maximum of unsigned integral types.  */
30096 # define UINT8_MAX              (255)
30097 # define UINT16_MAX             (65535)
30098 # define UINT32_MAX             (4294967295U)
30099 # define UINT64_MAX             (__UINT64_C(18446744073709551615))
30100
30101 /* Minimum of signed integral types having a minimum size.  */
30102 # define INT_LEAST8_MIN         INT8_MIN
30103 # define INT_LEAST16_MIN        INT16_MIN
30104 # define INT_LEAST32_MIN        INT32_MIN
30105 # define INT_LEAST64_MIN        INT64_MIN
30106 /* Maximum of signed integral types having a minimum size.  */
30107 # define INT_LEAST8_MAX         INT8_MAX
30108 # define INT_LEAST16_MAX        INT16_MAX
30109 # define INT_LEAST32_MAX        INT32_MAX
30110 # define INT_LEAST64_MAX        INT64_MAX
30111
30112 /* Maximum of unsigned integral types having a minimum size.  */
30113 # define UINT_LEAST8_MAX        UINT8_MAX
30114 # define UINT_LEAST16_MAX       UINT16_MAX
30115 # define UINT_LEAST32_MAX       UINT32_MAX
30116 # define UINT_LEAST64_MAX       UINT64_MAX
30117
30118   /* shortcircuit*/
30119 #endif
30120   /* once */
30121 #endif
30122 #endif
30123 STDINT_EOF
30124 fi
30125     if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
30126       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
30127 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
30128     else
30129       ac_dir=`$as_dirname -- "$ac_stdint_h" ||
30130 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30131          X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
30132          X"$ac_stdint_h" : 'X\(//\)$' \| \
30133          X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
30134 $as_echo X"$ac_stdint_h" |
30135     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30136             s//\1/
30137             q
30138           }
30139           /^X\(\/\/\)[^/].*/{
30140             s//\1/
30141             q
30142           }
30143           /^X\(\/\/\)$/{
30144             s//\1/
30145             q
30146           }
30147           /^X\(\/\).*/{
30148             s//\1/
30149             q
30150           }
30151           s/.*/./; q'`
30152       as_dir="$ac_dir"; as_fn_mkdir_p
30153       rm -f $ac_stdint_h
30154       mv $ac_stdint $ac_stdint_h
30155     fi
30156  ;;
30157
30158   esac
30159 done # for ac_tag
30160
30161
30162 as_fn_exit 0
30163 _ACEOF
30164 ac_clean_files=$ac_clean_files_save
30165
30166 test $ac_write_fail = 0 ||
30167   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
30168
30169
30170 # configure is writing to config.log, and then calls config.status.
30171 # config.status does its own redirection, appending to config.log.
30172 # Unfortunately, on DOS this fails, as config.log is still kept open
30173 # by configure, so config.status won't be able to write to it; its
30174 # output is simply discarded.  So we exec the FD to /dev/null,
30175 # effectively closing config.log, so it can be properly (re)opened and
30176 # appended to by config.status.  When coming back to configure, we
30177 # need to make the FD available again.
30178 if test "$no_create" != yes; then
30179   ac_cs_success=:
30180   ac_config_status_args=
30181   test "$silent" = yes &&
30182     ac_config_status_args="$ac_config_status_args --quiet"
30183   exec 5>/dev/null
30184   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
30185   exec 5>>config.log
30186   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30187   # would make configure fail if this is the last instruction.
30188   $ac_cs_success || as_fn_exit 1
30189 fi
30190 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
30191   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
30192 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
30193 fi
30194
30195
30196
30197
30198 printf "configure: *** Plug-ins without external dependencies that will be built:\n"
30199 ( for i in $GST_PLUGINS_SELECTED; do printf '\t'$i'\n'; done ) | sort
30200 printf "\n"
30201
30202 printf "configure: *** Plug-ins without external dependencies that will NOT be built:\n"
30203 ( for i in $GST_PLUGINS_ALL; do
30204     case " $GST_PLUGINS_SELECTED " in
30205       *\ $i\ *)
30206         ;;
30207       *)
30208         printf '\t'$i'\n'
30209         ;;
30210     esac
30211   done ) | sort
30212 printf "\n"
30213
30214 if test "x$BUILD_EXTERNAL" = "xno"; then
30215   printf "configure: *** No plug-ins with external dependencies will be built\n"
30216 else
30217   printf "configure: *** Plug-ins with dependencies that will be built:"
30218   printf "$GST_PLUGINS_YES\n" | sort
30219   printf "\n"
30220   printf "configure: *** Plug-ins with dependencies that will NOT be built:"
30221   printf "$GST_PLUGINS_NO\n" | sort
30222   printf "\n"
30223 fi
30224
30225
30226
30227   if test "$HAVE_ORC" = yes ; then
30228     printf "configure: *** Orc acceleration enabled.\n"
30229   else
30230     if test "x$enable_orc" = "xno" ; then
30231       printf "configure: *** Orc acceleration disabled by --disable-orc.  Slower code paths\n"
30232       printf "               will be used.\n"
30233     else
30234       printf "configure: *** Orc acceleration disabled.  Requires Orc >= $ORC_REQ, which was\n"
30235       printf "               not found.  Slower code paths will be used.\n"
30236     fi
30237   fi
30238   printf "\n"
30239