Initial import to Tizen
[profile/ivi/gstreamer-python.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GStreamer Python Bindings 0.10.22.
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 Python Bindings'
573 PACKAGE_TARNAME='gst-python'
574 PACKAGE_VERSION='0.10.22'
575 PACKAGE_STRING='GStreamer Python Bindings 0.10.22'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
577 PACKAGE_URL=''
578
579 ac_unique_file="gst/gstmodule.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 ac_subst_vars='am__EXEEXT_FALSE
617 am__EXEEXT_TRUE
618 LTLIBOBJS
619 LIBOBJS
620 plugindir
621 PLUGINDIR
622 PYTHON_LIB_SUFFIX
623 PYTHON_LIB_LOC
624 PYTHON_LIBS
625 HAVE_VALGRIND_FALSE
626 HAVE_VALGRIND_TRUE
627 VALGRIND_PATH
628 VALGRIND_LIBS
629 VALGRIND_CFLAGS
630 PYGST_CFLAGS
631 PYEXECDIR
632 PYTHONDIR
633 GST_OPTION_LIBS
634 GST_OPTION_CFLAGS
635 ERROR_CFLAGS
636 WARNING_CFLAGS
637 HAVE_PYGOBJECT_2_16_FALSE
638 HAVE_PYGOBJECT_2_16_TRUE
639 PYGOBJECT_2_16_LIBS
640 PYGOBJECT_2_16_CFLAGS
641 PYGOBJECT_2_12_LIBS
642 PYGOBJECT_2_12_CFLAGS
643 PYGTK_LIBS
644 PYGTK_CFLAGS
645 PYGOBJECT_LIBS
646 PYGOBJECT_CFLAGS
647 GST_PLUGINS_BASE_LIBS
648 GST_PLUGINS_BASE_CFLAGS
649 GST_DP_LIBS
650 GST_DP_CFLAGS
651 GST_NET_LIBS
652 GST_NET_CFLAGS
653 GST_CONTROLLER_LIBS
654 GST_CONTROLLER_CFLAGS
655 IGNORE_GST_LOADSAVE
656 GST_DISABLE_XML
657 GST_DISABLE_PLUGIN
658 GST_DISABLE_REGISTRY
659 GST_DISABLE_ALLOC_TRACE
660 GST_DISABLE_TRACE
661 GST_DISABLE_PARSE
662 GST_DISABLE_LOADSAVE
663 GST_DISABLE_GST_DEBUG
664 GST_BASE_LIBS
665 GST_BASE_CFLAGS
666 HAVE_GST_TAG_FALSE
667 HAVE_GST_TAG_TRUE
668 HAVE_GST_VIDEO_FALSE
669 HAVE_GST_VIDEO_TRUE
670 HAVE_GST_AUDIO_FALSE
671 HAVE_GST_AUDIO_TRUE
672 IGNORE_GST_PB_0_10_32
673 IGNORE_GST_PB_0_10_31
674 IGNORE_GST_PB_0_10_30
675 IGNORE_GST_PB_0_10_29
676 IGNORE_GST_PB_0_10_26
677 IGNORE_GST_PB_0_10_25
678 IGNORE_GST_PB_0_10_23
679 IGNORE_GST_0_10_32
680 IGNORE_GST_0_10_31
681 IGNORE_GST_0_10_30
682 IGNORE_GST_0_10_29
683 IGNORE_GST_0_10_26
684 IGNORE_GST_0_10_25
685 IGNORE_GST_0_10_24
686 IGNORE_GST_0_10_23
687 IGNORE_GST_0_10_22
688 IGNORE_GST_0_10_21
689 GST_LIBS
690 GST_CFLAGS
691 PKG_CONFIG
692 GST_MAJORMINOR
693 PYTHON_INCLUDES
694 pkgpyexecdir
695 pyexecdir
696 pkgpythondir
697 pythondir
698 PYTHON_PLATFORM
699 PYTHON_EXEC_PREFIX
700 PYTHON_PREFIX
701 PYTHON_VERSION
702 PYTHON
703 GST_GCOV_ENABLED_FALSE
704 GST_GCOV_ENABLED_TRUE
705 CCASFLAGS
706 FFLAGS
707 CXXFLAGS
708 GCOV
709 GCOV_LIBS
710 GCOV_CFLAGS
711 CPP
712 OTOOL64
713 OTOOL
714 LIPO
715 NMEDIT
716 DSYMUTIL
717 MANIFEST_TOOL
718 RANLIB
719 ac_ct_AR
720 AR
721 LN_S
722 NM
723 ac_ct_DUMPBIN
724 DUMPBIN
725 LD
726 FGREP
727 EGREP
728 GREP
729 SED
730 am__fastdepCC_FALSE
731 am__fastdepCC_TRUE
732 CCDEPMODE
733 AMDEPBACKSLASH
734 AMDEP_FALSE
735 AMDEP_TRUE
736 am__quote
737 am__include
738 DEPDIR
739 OBJEXT
740 EXEEXT
741 ac_ct_CC
742 CPPFLAGS
743 LDFLAGS
744 CFLAGS
745 CC
746 LIBTOOL
747 OBJDUMP
748 DLLTOOL
749 AS
750 host_os
751 host_vendor
752 host_cpu
753 host
754 build_os
755 build_vendor
756 build_cpu
757 build
758 GSTPB_REQ
759 GST_REQ
760 GTK_REQ
761 GLIB_REQ
762 PYGOBJECT_REQ
763 PYGTK_REQ
764 ACLOCAL_AMFLAGS
765 AM_BACKSLASH
766 AM_DEFAULT_VERBOSITY
767 MAINT
768 MAINTAINER_MODE_FALSE
769 MAINTAINER_MODE_TRUE
770 PACKAGE_VERSION_RELEASE
771 PACKAGE_VERSION_NANO
772 PACKAGE_VERSION_MICRO
773 PACKAGE_VERSION_MINOR
774 PACKAGE_VERSION_MAJOR
775 am__untar
776 am__tar
777 AMTAR
778 am__leading_dot
779 SET_MAKE
780 AWK
781 mkdir_p
782 MKDIR_P
783 INSTALL_STRIP_PROGRAM
784 STRIP
785 install_sh
786 MAKEINFO
787 AUTOHEADER
788 AUTOMAKE
789 AUTOCONF
790 ACLOCAL
791 VERSION
792 PACKAGE
793 CYGPATH_W
794 am__isrc
795 INSTALL_DATA
796 INSTALL_SCRIPT
797 INSTALL_PROGRAM
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 localstatedir
818 sharedstatedir
819 sysconfdir
820 datadir
821 datarootdir
822 libexecdir
823 sbindir
824 bindir
825 program_transform_name
826 prefix
827 exec_prefix
828 PACKAGE_URL
829 PACKAGE_BUGREPORT
830 PACKAGE_STRING
831 PACKAGE_VERSION
832 PACKAGE_TARNAME
833 PACKAGE_NAME
834 PATH_SEPARATOR
835 SHELL'
836 ac_subst_files=''
837 ac_user_opts='
838 enable_option_checking
839 enable_maintainer_mode
840 enable_silent_rules
841 enable_static
842 enable_shared
843 with_pic
844 enable_fast_install
845 enable_dependency_tracking
846 with_gnu_ld
847 with_sysroot
848 enable_libtool_lock
849 enable_gcov
850 enable_valgrind
851 with_libpython_dir
852 '
853       ac_precious_vars='build_alias
854 host_alias
855 target_alias
856 CC
857 CFLAGS
858 LDFLAGS
859 LIBS
860 CPPFLAGS
861 CPP
862 PKG_CONFIG
863 GST_CFLAGS
864 GST_LIBS
865 GST_BASE_CFLAGS
866 GST_BASE_LIBS
867 GST_CONTROLLER_CFLAGS
868 GST_CONTROLLER_LIBS
869 GST_NET_CFLAGS
870 GST_NET_LIBS
871 GST_DP_CFLAGS
872 GST_DP_LIBS
873 GST_PLUGINS_BASE_CFLAGS
874 GST_PLUGINS_BASE_LIBS
875 PYGOBJECT_CFLAGS
876 PYGOBJECT_LIBS
877 PYGTK_CFLAGS
878 PYGTK_LIBS
879 PYGOBJECT_2_12_CFLAGS
880 PYGOBJECT_2_12_LIBS
881 PYGOBJECT_2_16_CFLAGS
882 PYGOBJECT_2_16_LIBS
883 VALGRIND_CFLAGS
884 VALGRIND_LIBS'
885
886
887 # Initialize some variables set by options.
888 ac_init_help=
889 ac_init_version=false
890 ac_unrecognized_opts=
891 ac_unrecognized_sep=
892 # The variables have the same names as the options, with
893 # dashes changed to underlines.
894 cache_file=/dev/null
895 exec_prefix=NONE
896 no_create=
897 no_recursion=
898 prefix=NONE
899 program_prefix=NONE
900 program_suffix=NONE
901 program_transform_name=s,x,x,
902 silent=
903 site=
904 srcdir=
905 verbose=
906 x_includes=NONE
907 x_libraries=NONE
908
909 # Installation directory options.
910 # These are left unexpanded so users can "make install exec_prefix=/foo"
911 # and all the variables that are supposed to be based on exec_prefix
912 # by default will actually change.
913 # Use braces instead of parens because sh, perl, etc. also accept them.
914 # (The list follows the same order as the GNU Coding Standards.)
915 bindir='${exec_prefix}/bin'
916 sbindir='${exec_prefix}/sbin'
917 libexecdir='${exec_prefix}/libexec'
918 datarootdir='${prefix}/share'
919 datadir='${datarootdir}'
920 sysconfdir='${prefix}/etc'
921 sharedstatedir='${prefix}/com'
922 localstatedir='${prefix}/var'
923 includedir='${prefix}/include'
924 oldincludedir='/usr/include'
925 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
926 infodir='${datarootdir}/info'
927 htmldir='${docdir}'
928 dvidir='${docdir}'
929 pdfdir='${docdir}'
930 psdir='${docdir}'
931 libdir='${exec_prefix}/lib'
932 localedir='${datarootdir}/locale'
933 mandir='${datarootdir}/man'
934
935 ac_prev=
936 ac_dashdash=
937 for ac_option
938 do
939   # If the previous option needs an argument, assign it.
940   if test -n "$ac_prev"; then
941     eval $ac_prev=\$ac_option
942     ac_prev=
943     continue
944   fi
945
946   case $ac_option in
947   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
948   *=)   ac_optarg= ;;
949   *)    ac_optarg=yes ;;
950   esac
951
952   # Accept the important Cygnus configure options, so we can diagnose typos.
953
954   case $ac_dashdash$ac_option in
955   --)
956     ac_dashdash=yes ;;
957
958   -bindir | --bindir | --bindi | --bind | --bin | --bi)
959     ac_prev=bindir ;;
960   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961     bindir=$ac_optarg ;;
962
963   -build | --build | --buil | --bui | --bu)
964     ac_prev=build_alias ;;
965   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
966     build_alias=$ac_optarg ;;
967
968   -cache-file | --cache-file | --cache-fil | --cache-fi \
969   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
970     ac_prev=cache_file ;;
971   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
972   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973     cache_file=$ac_optarg ;;
974
975   --config-cache | -C)
976     cache_file=config.cache ;;
977
978   -datadir | --datadir | --datadi | --datad)
979     ac_prev=datadir ;;
980   -datadir=* | --datadir=* | --datadi=* | --datad=*)
981     datadir=$ac_optarg ;;
982
983   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
984   | --dataroo | --dataro | --datar)
985     ac_prev=datarootdir ;;
986   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
987   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988     datarootdir=$ac_optarg ;;
989
990   -disable-* | --disable-*)
991     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992     # Reject names that are not valid shell variable names.
993     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994       as_fn_error $? "invalid feature name: $ac_useropt"
995     ac_useropt_orig=$ac_useropt
996     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997     case $ac_user_opts in
998       *"
999 "enable_$ac_useropt"
1000 "*) ;;
1001       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002          ac_unrecognized_sep=', ';;
1003     esac
1004     eval enable_$ac_useropt=no ;;
1005
1006   -docdir | --docdir | --docdi | --doc | --do)
1007     ac_prev=docdir ;;
1008   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009     docdir=$ac_optarg ;;
1010
1011   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012     ac_prev=dvidir ;;
1013   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014     dvidir=$ac_optarg ;;
1015
1016   -enable-* | --enable-*)
1017     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018     # Reject names that are not valid shell variable names.
1019     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020       as_fn_error $? "invalid feature name: $ac_useropt"
1021     ac_useropt_orig=$ac_useropt
1022     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023     case $ac_user_opts in
1024       *"
1025 "enable_$ac_useropt"
1026 "*) ;;
1027       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028          ac_unrecognized_sep=', ';;
1029     esac
1030     eval enable_$ac_useropt=\$ac_optarg ;;
1031
1032   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034   | --exec | --exe | --ex)
1035     ac_prev=exec_prefix ;;
1036   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038   | --exec=* | --exe=* | --ex=*)
1039     exec_prefix=$ac_optarg ;;
1040
1041   -gas | --gas | --ga | --g)
1042     # Obsolete; use --with-gas.
1043     with_gas=yes ;;
1044
1045   -help | --help | --hel | --he | -h)
1046     ac_init_help=long ;;
1047   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048     ac_init_help=recursive ;;
1049   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050     ac_init_help=short ;;
1051
1052   -host | --host | --hos | --ho)
1053     ac_prev=host_alias ;;
1054   -host=* | --host=* | --hos=* | --ho=*)
1055     host_alias=$ac_optarg ;;
1056
1057   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058     ac_prev=htmldir ;;
1059   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060   | --ht=*)
1061     htmldir=$ac_optarg ;;
1062
1063   -includedir | --includedir | --includedi | --included | --include \
1064   | --includ | --inclu | --incl | --inc)
1065     ac_prev=includedir ;;
1066   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067   | --includ=* | --inclu=* | --incl=* | --inc=*)
1068     includedir=$ac_optarg ;;
1069
1070   -infodir | --infodir | --infodi | --infod | --info | --inf)
1071     ac_prev=infodir ;;
1072   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073     infodir=$ac_optarg ;;
1074
1075   -libdir | --libdir | --libdi | --libd)
1076     ac_prev=libdir ;;
1077   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078     libdir=$ac_optarg ;;
1079
1080   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081   | --libexe | --libex | --libe)
1082     ac_prev=libexecdir ;;
1083   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084   | --libexe=* | --libex=* | --libe=*)
1085     libexecdir=$ac_optarg ;;
1086
1087   -localedir | --localedir | --localedi | --localed | --locale)
1088     ac_prev=localedir ;;
1089   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090     localedir=$ac_optarg ;;
1091
1092   -localstatedir | --localstatedir | --localstatedi | --localstated \
1093   | --localstate | --localstat | --localsta | --localst | --locals)
1094     ac_prev=localstatedir ;;
1095   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097     localstatedir=$ac_optarg ;;
1098
1099   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1100     ac_prev=mandir ;;
1101   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102     mandir=$ac_optarg ;;
1103
1104   -nfp | --nfp | --nf)
1105     # Obsolete; use --without-fp.
1106     with_fp=no ;;
1107
1108   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109   | --no-cr | --no-c | -n)
1110     no_create=yes ;;
1111
1112   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114     no_recursion=yes ;;
1115
1116   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118   | --oldin | --oldi | --old | --ol | --o)
1119     ac_prev=oldincludedir ;;
1120   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123     oldincludedir=$ac_optarg ;;
1124
1125   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1126     ac_prev=prefix ;;
1127   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128     prefix=$ac_optarg ;;
1129
1130   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131   | --program-pre | --program-pr | --program-p)
1132     ac_prev=program_prefix ;;
1133   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135     program_prefix=$ac_optarg ;;
1136
1137   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138   | --program-suf | --program-su | --program-s)
1139     ac_prev=program_suffix ;;
1140   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142     program_suffix=$ac_optarg ;;
1143
1144   -program-transform-name | --program-transform-name \
1145   | --program-transform-nam | --program-transform-na \
1146   | --program-transform-n | --program-transform- \
1147   | --program-transform | --program-transfor \
1148   | --program-transfo | --program-transf \
1149   | --program-trans | --program-tran \
1150   | --progr-tra | --program-tr | --program-t)
1151     ac_prev=program_transform_name ;;
1152   -program-transform-name=* | --program-transform-name=* \
1153   | --program-transform-nam=* | --program-transform-na=* \
1154   | --program-transform-n=* | --program-transform-=* \
1155   | --program-transform=* | --program-transfor=* \
1156   | --program-transfo=* | --program-transf=* \
1157   | --program-trans=* | --program-tran=* \
1158   | --progr-tra=* | --program-tr=* | --program-t=*)
1159     program_transform_name=$ac_optarg ;;
1160
1161   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162     ac_prev=pdfdir ;;
1163   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164     pdfdir=$ac_optarg ;;
1165
1166   -psdir | --psdir | --psdi | --psd | --ps)
1167     ac_prev=psdir ;;
1168   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169     psdir=$ac_optarg ;;
1170
1171   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172   | -silent | --silent | --silen | --sile | --sil)
1173     silent=yes ;;
1174
1175   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176     ac_prev=sbindir ;;
1177   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178   | --sbi=* | --sb=*)
1179     sbindir=$ac_optarg ;;
1180
1181   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183   | --sharedst | --shareds | --shared | --share | --shar \
1184   | --sha | --sh)
1185     ac_prev=sharedstatedir ;;
1186   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189   | --sha=* | --sh=*)
1190     sharedstatedir=$ac_optarg ;;
1191
1192   -site | --site | --sit)
1193     ac_prev=site ;;
1194   -site=* | --site=* | --sit=*)
1195     site=$ac_optarg ;;
1196
1197   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198     ac_prev=srcdir ;;
1199   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200     srcdir=$ac_optarg ;;
1201
1202   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203   | --syscon | --sysco | --sysc | --sys | --sy)
1204     ac_prev=sysconfdir ;;
1205   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207     sysconfdir=$ac_optarg ;;
1208
1209   -target | --target | --targe | --targ | --tar | --ta | --t)
1210     ac_prev=target_alias ;;
1211   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212     target_alias=$ac_optarg ;;
1213
1214   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215     verbose=yes ;;
1216
1217   -version | --version | --versio | --versi | --vers | -V)
1218     ac_init_version=: ;;
1219
1220   -with-* | --with-*)
1221     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222     # Reject names that are not valid shell variable names.
1223     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224       as_fn_error $? "invalid package name: $ac_useropt"
1225     ac_useropt_orig=$ac_useropt
1226     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227     case $ac_user_opts in
1228       *"
1229 "with_$ac_useropt"
1230 "*) ;;
1231       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232          ac_unrecognized_sep=', ';;
1233     esac
1234     eval with_$ac_useropt=\$ac_optarg ;;
1235
1236   -without-* | --without-*)
1237     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238     # Reject names that are not valid shell variable names.
1239     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240       as_fn_error $? "invalid package name: $ac_useropt"
1241     ac_useropt_orig=$ac_useropt
1242     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243     case $ac_user_opts in
1244       *"
1245 "with_$ac_useropt"
1246 "*) ;;
1247       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248          ac_unrecognized_sep=', ';;
1249     esac
1250     eval with_$ac_useropt=no ;;
1251
1252   --x)
1253     # Obsolete; use --with-x.
1254     with_x=yes ;;
1255
1256   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257   | --x-incl | --x-inc | --x-in | --x-i)
1258     ac_prev=x_includes ;;
1259   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261     x_includes=$ac_optarg ;;
1262
1263   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265     ac_prev=x_libraries ;;
1266   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268     x_libraries=$ac_optarg ;;
1269
1270   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information"
1272     ;;
1273
1274   *=*)
1275     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1276     # Reject names that are not valid shell variable names.
1277     case $ac_envvar in #(
1278       '' | [0-9]* | *[!_$as_cr_alnum]* )
1279       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1280     esac
1281     eval $ac_envvar=\$ac_optarg
1282     export $ac_envvar ;;
1283
1284   *)
1285     # FIXME: should be removed in autoconf 3.0.
1286     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1290     ;;
1291
1292   esac
1293 done
1294
1295 if test -n "$ac_prev"; then
1296   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1297   as_fn_error $? "missing argument to $ac_option"
1298 fi
1299
1300 if test -n "$ac_unrecognized_opts"; then
1301   case $enable_option_checking in
1302     no) ;;
1303     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1304     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305   esac
1306 fi
1307
1308 # Check all directory arguments for consistency.
1309 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310                 datadir sysconfdir sharedstatedir localstatedir includedir \
1311                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312                 libdir localedir mandir
1313 do
1314   eval ac_val=\$$ac_var
1315   # Remove trailing slashes.
1316   case $ac_val in
1317     */ )
1318       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319       eval $ac_var=\$ac_val;;
1320   esac
1321   # Be sure to have absolute directory names.
1322   case $ac_val in
1323     [\\/$]* | ?:[\\/]* )  continue;;
1324     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325   esac
1326   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1327 done
1328
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1332 build=$build_alias
1333 host=$host_alias
1334 target=$target_alias
1335
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x; then
1338   if test "x$build_alias" = x; then
1339     cross_compiling=maybe
1340     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1341     If a cross compiler is detected then cross compile mode will be used" >&2
1342   elif test "x$build_alias" != "x$host_alias"; then
1343     cross_compiling=yes
1344   fi
1345 fi
1346
1347 ac_tool_prefix=
1348 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1349
1350 test "$silent" = yes && exec 6>/dev/null
1351
1352
1353 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di=`ls -di .` &&
1355 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1356   as_fn_error $? "working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358   as_fn_error $? "pwd does not report name of working directory"
1359
1360
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363   ac_srcdir_defaulted=yes
1364   # Try the directory containing this script, then the parent directory.
1365   ac_confdir=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367          X"$as_myself" : 'X\(//\)[^/]' \| \
1368          X"$as_myself" : 'X\(//\)$' \| \
1369          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1372             s//\1/
1373             q
1374           }
1375           /^X\(\/\/\)[^/].*/{
1376             s//\1/
1377             q
1378           }
1379           /^X\(\/\/\)$/{
1380             s//\1/
1381             q
1382           }
1383           /^X\(\/\).*/{
1384             s//\1/
1385             q
1386           }
1387           s/.*/./; q'`
1388   srcdir=$ac_confdir
1389   if test ! -r "$srcdir/$ac_unique_file"; then
1390     srcdir=..
1391   fi
1392 else
1393   ac_srcdir_defaulted=no
1394 fi
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1397   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1398 fi
1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1400 ac_abs_confdir=`(
1401         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1402         pwd)`
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405   srcdir=.
1406 fi
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1410 case $srcdir in
1411 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412 esac
1413 for ac_var in $ac_precious_vars; do
1414   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1415   eval ac_env_${ac_var}_value=\$${ac_var}
1416   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1417   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418 done
1419
1420 #
1421 # Report the --help message.
1422 #
1423 if test "$ac_init_help" = "long"; then
1424   # Omit some internal or obsolete options to make the list less imposing.
1425   # This message is too long to be a string in the A/UX 3.1 sh.
1426   cat <<_ACEOF
1427 \`configure' configures GStreamer Python Bindings 0.10.22 to adapt to many kinds of systems.
1428
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1430
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE.  See below for descriptions of some of the useful variables.
1433
1434 Defaults for the options are specified in brackets.
1435
1436 Configuration:
1437   -h, --help              display this help and exit
1438       --help=short        display options specific to this package
1439       --help=recursive    display the short help of all the included packages
1440   -V, --version           display version information and exit
1441   -q, --quiet, --silent   do not print \`checking ...' messages
1442       --cache-file=FILE   cache test results in FILE [disabled]
1443   -C, --config-cache      alias for \`--cache-file=config.cache'
1444   -n, --no-create         do not create output files
1445       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1446
1447 Installation directories:
1448   --prefix=PREFIX         install architecture-independent files in PREFIX
1449                           [$ac_default_prefix]
1450   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1451                           [PREFIX]
1452
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1457
1458 For better control, use the options below.
1459
1460 Fine tuning of the installation directories:
1461   --bindir=DIR            user executables [EPREFIX/bin]
1462   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1463   --libexecdir=DIR        program executables [EPREFIX/libexec]
1464   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1465   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1466   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1467   --libdir=DIR            object code libraries [EPREFIX/lib]
1468   --includedir=DIR        C header files [PREFIX/include]
1469   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1470   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1471   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1472   --infodir=DIR           info documentation [DATAROOTDIR/info]
1473   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1474   --mandir=DIR            man documentation [DATAROOTDIR/man]
1475   --docdir=DIR            documentation root [DATAROOTDIR/doc/gst-python]
1476   --htmldir=DIR           html documentation [DOCDIR]
1477   --dvidir=DIR            dvi documentation [DOCDIR]
1478   --pdfdir=DIR            pdf documentation [DOCDIR]
1479   --psdir=DIR             ps documentation [DOCDIR]
1480 _ACEOF
1481
1482   cat <<\_ACEOF
1483
1484 Program names:
1485   --program-prefix=PREFIX            prepend PREFIX to installed program names
1486   --program-suffix=SUFFIX            append SUFFIX to installed program names
1487   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1488
1489 System types:
1490   --build=BUILD     configure for building on BUILD [guessed]
1491   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1492 _ACEOF
1493 fi
1494
1495 if test -n "$ac_init_help"; then
1496   case $ac_init_help in
1497      short | recursive ) echo "Configuration of GStreamer Python Bindings 0.10.22:";;
1498    esac
1499   cat <<\_ACEOF
1500
1501 Optional Features:
1502   --disable-option-checking  ignore unrecognized --enable/--with options
1503   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1504   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1505   --enable-maintainer-mode  enable make rules and dependencies not useful
1506                           (and sometimes confusing) to the casual installer
1507   --enable-silent-rules          less verbose build output (undo: `make V=1')
1508   --disable-silent-rules         verbose build output (undo: `make V=0')
1509   --enable-static[=PKGS]  build static libraries [default=no]
1510   --enable-shared[=PKGS]  build shared libraries [default=yes]
1511   --enable-fast-install[=PKGS]
1512                           optimize for fast installation [default=yes]
1513   --disable-dependency-tracking  speeds up one-time build
1514   --enable-dependency-tracking   do not reject slow dependency extractors
1515   --disable-libtool-lock  avoid locking (might break parallel builds)
1516   --enable-gcov           compile with coverage profiling instrumentation (gcc
1517                           only)
1518   --disable-valgrind      disable run-time valgrind detection
1519
1520 Optional Packages:
1521   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1522   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1523   --with-pic              try to use only PIC/non-PIC objects [default=use
1524                           both]
1525   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1526   --with-sysroot=DIR Search for dependent libraries within DIR
1527                         (or the compiler's sysroot if not specified).
1528   --with-libpython-dir    the directory containing libpython${PYTHON_VERSION}
1529
1530 Some influential environment variables:
1531   CC          C compiler command
1532   CFLAGS      C compiler flags
1533   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1534               nonstandard directory <lib dir>
1535   LIBS        libraries to pass to the linker, e.g. -l<library>
1536   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1537               you have headers in a nonstandard directory <include dir>
1538   CPP         C preprocessor
1539   PKG_CONFIG  path to pkg-config utility
1540   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
1541   GST_LIBS    linker flags for GST, overriding pkg-config
1542   GST_BASE_CFLAGS
1543               C compiler flags for GST_BASE, overriding pkg-config
1544   GST_BASE_LIBS
1545               linker flags for GST_BASE, overriding pkg-config
1546   GST_CONTROLLER_CFLAGS
1547               C compiler flags for GST_CONTROLLER, overriding pkg-config
1548   GST_CONTROLLER_LIBS
1549               linker flags for GST_CONTROLLER, overriding pkg-config
1550   GST_NET_CFLAGS
1551               C compiler flags for GST_NET, overriding pkg-config
1552   GST_NET_LIBS
1553               linker flags for GST_NET, overriding pkg-config
1554   GST_DP_CFLAGS
1555               C compiler flags for GST_DP, overriding pkg-config
1556   GST_DP_LIBS linker flags for GST_DP, overriding pkg-config
1557   GST_PLUGINS_BASE_CFLAGS
1558               C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
1559   GST_PLUGINS_BASE_LIBS
1560               linker flags for GST_PLUGINS_BASE, overriding pkg-config
1561   PYGOBJECT_CFLAGS
1562               C compiler flags for PYGOBJECT, overriding pkg-config
1563   PYGOBJECT_LIBS
1564               linker flags for PYGOBJECT, overriding pkg-config
1565   PYGTK_CFLAGS
1566               C compiler flags for PYGTK, overriding pkg-config
1567   PYGTK_LIBS  linker flags for PYGTK, overriding pkg-config
1568   PYGOBJECT_2_12_CFLAGS
1569               C compiler flags for PYGOBJECT_2_12, overriding pkg-config
1570   PYGOBJECT_2_12_LIBS
1571               linker flags for PYGOBJECT_2_12, overriding pkg-config
1572   PYGOBJECT_2_16_CFLAGS
1573               C compiler flags for PYGOBJECT_2_16, overriding pkg-config
1574   PYGOBJECT_2_16_LIBS
1575               linker flags for PYGOBJECT_2_16, overriding pkg-config
1576   VALGRIND_CFLAGS
1577               C compiler flags for VALGRIND, overriding pkg-config
1578   VALGRIND_LIBS
1579               linker flags for VALGRIND, overriding pkg-config
1580
1581 Use these variables to override the choices made by `configure' or to help
1582 it to find libraries and programs with nonstandard names/locations.
1583
1584 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
1585 _ACEOF
1586 ac_status=$?
1587 fi
1588
1589 if test "$ac_init_help" = "recursive"; then
1590   # If there are subdirs, report their specific --help.
1591   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1592     test -d "$ac_dir" ||
1593       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1594       continue
1595     ac_builddir=.
1596
1597 case "$ac_dir" in
1598 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1599 *)
1600   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1601   # A ".." for each directory in $ac_dir_suffix.
1602   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1603   case $ac_top_builddir_sub in
1604   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1605   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1606   esac ;;
1607 esac
1608 ac_abs_top_builddir=$ac_pwd
1609 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1610 # for backward compatibility:
1611 ac_top_builddir=$ac_top_build_prefix
1612
1613 case $srcdir in
1614   .)  # We are building in place.
1615     ac_srcdir=.
1616     ac_top_srcdir=$ac_top_builddir_sub
1617     ac_abs_top_srcdir=$ac_pwd ;;
1618   [\\/]* | ?:[\\/]* )  # Absolute name.
1619     ac_srcdir=$srcdir$ac_dir_suffix;
1620     ac_top_srcdir=$srcdir
1621     ac_abs_top_srcdir=$srcdir ;;
1622   *) # Relative name.
1623     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1624     ac_top_srcdir=$ac_top_build_prefix$srcdir
1625     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1626 esac
1627 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1628
1629     cd "$ac_dir" || { ac_status=$?; continue; }
1630     # Check for guested configure.
1631     if test -f "$ac_srcdir/configure.gnu"; then
1632       echo &&
1633       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1634     elif test -f "$ac_srcdir/configure"; then
1635       echo &&
1636       $SHELL "$ac_srcdir/configure" --help=recursive
1637     else
1638       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1639     fi || ac_status=$?
1640     cd "$ac_pwd" || { ac_status=$?; break; }
1641   done
1642 fi
1643
1644 test -n "$ac_init_help" && exit $ac_status
1645 if $ac_init_version; then
1646   cat <<\_ACEOF
1647 GStreamer Python Bindings configure 0.10.22
1648 generated by GNU Autoconf 2.68
1649
1650 Copyright (C) 2010 Free Software Foundation, Inc.
1651 This configure script is free software; the Free Software Foundation
1652 gives unlimited permission to copy, distribute and modify it.
1653 _ACEOF
1654   exit
1655 fi
1656
1657 ## ------------------------ ##
1658 ## Autoconf initialization. ##
1659 ## ------------------------ ##
1660
1661 # ac_fn_c_try_compile LINENO
1662 # --------------------------
1663 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_c_try_compile ()
1665 {
1666   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667   rm -f conftest.$ac_objext
1668   if { { ac_try="$ac_compile"
1669 case "(($ac_try" in
1670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671   *) ac_try_echo=$ac_try;;
1672 esac
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675   (eval "$ac_compile") 2>conftest.err
1676   ac_status=$?
1677   if test -s conftest.err; then
1678     grep -v '^ *+' conftest.err >conftest.er1
1679     cat conftest.er1 >&5
1680     mv -f conftest.er1 conftest.err
1681   fi
1682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683   test $ac_status = 0; } && {
1684          test -z "$ac_c_werror_flag" ||
1685          test ! -s conftest.err
1686        } && test -s conftest.$ac_objext; then :
1687   ac_retval=0
1688 else
1689   $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1691
1692         ac_retval=1
1693 fi
1694   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695   as_fn_set_status $ac_retval
1696
1697 } # ac_fn_c_try_compile
1698
1699 # ac_fn_c_try_link LINENO
1700 # -----------------------
1701 # Try to link conftest.$ac_ext, and return whether this succeeded.
1702 ac_fn_c_try_link ()
1703 {
1704   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705   rm -f conftest.$ac_objext conftest$ac_exeext
1706   if { { ac_try="$ac_link"
1707 case "(($ac_try" in
1708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1709   *) ac_try_echo=$ac_try;;
1710 esac
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713   (eval "$ac_link") 2>conftest.err
1714   ac_status=$?
1715   if test -s conftest.err; then
1716     grep -v '^ *+' conftest.err >conftest.er1
1717     cat conftest.er1 >&5
1718     mv -f conftest.er1 conftest.err
1719   fi
1720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721   test $ac_status = 0; } && {
1722          test -z "$ac_c_werror_flag" ||
1723          test ! -s conftest.err
1724        } && test -s conftest$ac_exeext && {
1725          test "$cross_compiling" = yes ||
1726          $as_test_x conftest$ac_exeext
1727        }; then :
1728   ac_retval=0
1729 else
1730   $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.$ac_ext >&5
1732
1733         ac_retval=1
1734 fi
1735   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1736   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1737   # interfere with the next link command; also delete a directory that is
1738   # left behind by Apple's compiler.  We do this before executing the actions.
1739   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1740   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1741   as_fn_set_status $ac_retval
1742
1743 } # ac_fn_c_try_link
1744
1745 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1746 # -------------------------------------------------------
1747 # Tests whether HEADER exists and can be compiled using the include files in
1748 # INCLUDES, setting the cache variable VAR accordingly.
1749 ac_fn_c_check_header_compile ()
1750 {
1751   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if eval \${$3+:} false; then :
1755   $as_echo_n "(cached) " >&6
1756 else
1757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h.  */
1759 $4
1760 #include <$2>
1761 _ACEOF
1762 if ac_fn_c_try_compile "$LINENO"; then :
1763   eval "$3=yes"
1764 else
1765   eval "$3=no"
1766 fi
1767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1768 fi
1769 eval ac_res=\$$3
1770                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771 $as_echo "$ac_res" >&6; }
1772   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773
1774 } # ac_fn_c_check_header_compile
1775
1776 # ac_fn_c_try_cpp LINENO
1777 # ----------------------
1778 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1779 ac_fn_c_try_cpp ()
1780 {
1781   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782   if { { ac_try="$ac_cpp conftest.$ac_ext"
1783 case "(($ac_try" in
1784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785   *) ac_try_echo=$ac_try;;
1786 esac
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1790   ac_status=$?
1791   if test -s conftest.err; then
1792     grep -v '^ *+' conftest.err >conftest.er1
1793     cat conftest.er1 >&5
1794     mv -f conftest.er1 conftest.err
1795   fi
1796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797   test $ac_status = 0; } > conftest.i && {
1798          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1799          test ! -s conftest.err
1800        }; then :
1801   ac_retval=0
1802 else
1803   $as_echo "$as_me: failed program was:" >&5
1804 sed 's/^/| /' conftest.$ac_ext >&5
1805
1806     ac_retval=1
1807 fi
1808   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809   as_fn_set_status $ac_retval
1810
1811 } # ac_fn_c_try_cpp
1812
1813 # ac_fn_c_try_run LINENO
1814 # ----------------------
1815 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1816 # that executables *can* be run.
1817 ac_fn_c_try_run ()
1818 {
1819   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820   if { { ac_try="$ac_link"
1821 case "(($ac_try" in
1822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1823   *) ac_try_echo=$ac_try;;
1824 esac
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827   (eval "$ac_link") 2>&5
1828   ac_status=$?
1829   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1831   { { case "(($ac_try" in
1832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1833   *) ac_try_echo=$ac_try;;
1834 esac
1835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837   (eval "$ac_try") 2>&5
1838   ac_status=$?
1839   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840   test $ac_status = 0; }; }; then :
1841   ac_retval=0
1842 else
1843   $as_echo "$as_me: program exited with status $ac_status" >&5
1844        $as_echo "$as_me: failed program was:" >&5
1845 sed 's/^/| /' conftest.$ac_ext >&5
1846
1847        ac_retval=$ac_status
1848 fi
1849   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1850   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851   as_fn_set_status $ac_retval
1852
1853 } # ac_fn_c_try_run
1854
1855 # ac_fn_c_check_func LINENO FUNC VAR
1856 # ----------------------------------
1857 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1858 ac_fn_c_check_func ()
1859 {
1860   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862 $as_echo_n "checking for $2... " >&6; }
1863 if eval \${$3+:} false; then :
1864   $as_echo_n "(cached) " >&6
1865 else
1866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867 /* end confdefs.h.  */
1868 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1869    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1870 #define $2 innocuous_$2
1871
1872 /* System header to define __stub macros and hopefully few prototypes,
1873     which can conflict with char $2 (); below.
1874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1875     <limits.h> exists even on freestanding compilers.  */
1876
1877 #ifdef __STDC__
1878 # include <limits.h>
1879 #else
1880 # include <assert.h>
1881 #endif
1882
1883 #undef $2
1884
1885 /* Override any GCC internal prototype to avoid an error.
1886    Use char because int might match the return type of a GCC
1887    builtin and then its argument prototype would still apply.  */
1888 #ifdef __cplusplus
1889 extern "C"
1890 #endif
1891 char $2 ();
1892 /* The GNU C library defines this for functions which it implements
1893     to always fail with ENOSYS.  Some functions are actually named
1894     something starting with __ and the normal name is an alias.  */
1895 #if defined __stub_$2 || defined __stub___$2
1896 choke me
1897 #endif
1898
1899 int
1900 main ()
1901 {
1902 return $2 ();
1903   ;
1904   return 0;
1905 }
1906 _ACEOF
1907 if ac_fn_c_try_link "$LINENO"; then :
1908   eval "$3=yes"
1909 else
1910   eval "$3=no"
1911 fi
1912 rm -f core conftest.err conftest.$ac_objext \
1913     conftest$ac_exeext conftest.$ac_ext
1914 fi
1915 eval ac_res=\$$3
1916                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1917 $as_echo "$ac_res" >&6; }
1918   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1919
1920 } # ac_fn_c_check_func
1921 cat >config.log <<_ACEOF
1922 This file contains any messages produced by compilers while
1923 running configure, to aid debugging if configure makes a mistake.
1924
1925 It was created by GStreamer Python Bindings $as_me 0.10.22, which was
1926 generated by GNU Autoconf 2.68.  Invocation command line was
1927
1928   $ $0 $@
1929
1930 _ACEOF
1931 exec 5>>config.log
1932 {
1933 cat <<_ASUNAME
1934 ## --------- ##
1935 ## Platform. ##
1936 ## --------- ##
1937
1938 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1939 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1940 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1941 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1942 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1943
1944 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1945 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1946
1947 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1948 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1949 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1950 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1951 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1952 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1953 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1954
1955 _ASUNAME
1956
1957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958 for as_dir in $PATH
1959 do
1960   IFS=$as_save_IFS
1961   test -z "$as_dir" && as_dir=.
1962     $as_echo "PATH: $as_dir"
1963   done
1964 IFS=$as_save_IFS
1965
1966 } >&5
1967
1968 cat >&5 <<_ACEOF
1969
1970
1971 ## ----------- ##
1972 ## Core tests. ##
1973 ## ----------- ##
1974
1975 _ACEOF
1976
1977
1978 # Keep a trace of the command line.
1979 # Strip out --no-create and --no-recursion so they do not pile up.
1980 # Strip out --silent because we don't want to record it for future runs.
1981 # Also quote any args containing shell meta-characters.
1982 # Make two passes to allow for proper duplicate-argument suppression.
1983 ac_configure_args=
1984 ac_configure_args0=
1985 ac_configure_args1=
1986 ac_must_keep_next=false
1987 for ac_pass in 1 2
1988 do
1989   for ac_arg
1990   do
1991     case $ac_arg in
1992     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1993     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1994     | -silent | --silent | --silen | --sile | --sil)
1995       continue ;;
1996     *\'*)
1997       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1998     esac
1999     case $ac_pass in
2000     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2001     2)
2002       as_fn_append ac_configure_args1 " '$ac_arg'"
2003       if test $ac_must_keep_next = true; then
2004         ac_must_keep_next=false # Got value, back to normal.
2005       else
2006         case $ac_arg in
2007           *=* | --config-cache | -C | -disable-* | --disable-* \
2008           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2009           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2010           | -with-* | --with-* | -without-* | --without-* | --x)
2011             case "$ac_configure_args0 " in
2012               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2013             esac
2014             ;;
2015           -* ) ac_must_keep_next=true ;;
2016         esac
2017       fi
2018       as_fn_append ac_configure_args " '$ac_arg'"
2019       ;;
2020     esac
2021   done
2022 done
2023 { ac_configure_args0=; unset ac_configure_args0;}
2024 { ac_configure_args1=; unset ac_configure_args1;}
2025
2026 # When interrupted or exit'd, cleanup temporary files, and complete
2027 # config.log.  We remove comments because anyway the quotes in there
2028 # would cause problems or look ugly.
2029 # WARNING: Use '\'' to represent an apostrophe within the trap.
2030 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2031 trap 'exit_status=$?
2032   # Save into config.log some information that might help in debugging.
2033   {
2034     echo
2035
2036     $as_echo "## ---------------- ##
2037 ## Cache variables. ##
2038 ## ---------------- ##"
2039     echo
2040     # The following way of writing the cache mishandles newlines in values,
2041 (
2042   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2043     eval ac_val=\$$ac_var
2044     case $ac_val in #(
2045     *${as_nl}*)
2046       case $ac_var in #(
2047       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2048 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2049       esac
2050       case $ac_var in #(
2051       _ | IFS | as_nl) ;; #(
2052       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2053       *) { eval $ac_var=; unset $ac_var;} ;;
2054       esac ;;
2055     esac
2056   done
2057   (set) 2>&1 |
2058     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2059     *${as_nl}ac_space=\ *)
2060       sed -n \
2061         "s/'\''/'\''\\\\'\'''\''/g;
2062           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2063       ;; #(
2064     *)
2065       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2066       ;;
2067     esac |
2068     sort
2069 )
2070     echo
2071
2072     $as_echo "## ----------------- ##
2073 ## Output variables. ##
2074 ## ----------------- ##"
2075     echo
2076     for ac_var in $ac_subst_vars
2077     do
2078       eval ac_val=\$$ac_var
2079       case $ac_val in
2080       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2081       esac
2082       $as_echo "$ac_var='\''$ac_val'\''"
2083     done | sort
2084     echo
2085
2086     if test -n "$ac_subst_files"; then
2087       $as_echo "## ------------------- ##
2088 ## File substitutions. ##
2089 ## ------------------- ##"
2090       echo
2091       for ac_var in $ac_subst_files
2092       do
2093         eval ac_val=\$$ac_var
2094         case $ac_val in
2095         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2096         esac
2097         $as_echo "$ac_var='\''$ac_val'\''"
2098       done | sort
2099       echo
2100     fi
2101
2102     if test -s confdefs.h; then
2103       $as_echo "## ----------- ##
2104 ## confdefs.h. ##
2105 ## ----------- ##"
2106       echo
2107       cat confdefs.h
2108       echo
2109     fi
2110     test "$ac_signal" != 0 &&
2111       $as_echo "$as_me: caught signal $ac_signal"
2112     $as_echo "$as_me: exit $exit_status"
2113   } >&5
2114   rm -f core *.core core.conftest.* &&
2115     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2116     exit $exit_status
2117 ' 0
2118 for ac_signal in 1 2 13 15; do
2119   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2120 done
2121 ac_signal=0
2122
2123 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2124 rm -f -r conftest* confdefs.h
2125
2126 $as_echo "/* confdefs.h */" > confdefs.h
2127
2128 # Predefined preprocessor variables.
2129
2130 cat >>confdefs.h <<_ACEOF
2131 #define PACKAGE_NAME "$PACKAGE_NAME"
2132 _ACEOF
2133
2134 cat >>confdefs.h <<_ACEOF
2135 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2136 _ACEOF
2137
2138 cat >>confdefs.h <<_ACEOF
2139 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2140 _ACEOF
2141
2142 cat >>confdefs.h <<_ACEOF
2143 #define PACKAGE_STRING "$PACKAGE_STRING"
2144 _ACEOF
2145
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2148 _ACEOF
2149
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_URL "$PACKAGE_URL"
2152 _ACEOF
2153
2154
2155 # Let the site file select an alternate cache file if it wants to.
2156 # Prefer an explicitly selected file to automatically selected ones.
2157 ac_site_file1=NONE
2158 ac_site_file2=NONE
2159 if test -n "$CONFIG_SITE"; then
2160   # We do not want a PATH search for config.site.
2161   case $CONFIG_SITE in #((
2162     -*)  ac_site_file1=./$CONFIG_SITE;;
2163     */*) ac_site_file1=$CONFIG_SITE;;
2164     *)   ac_site_file1=./$CONFIG_SITE;;
2165   esac
2166 elif test "x$prefix" != xNONE; then
2167   ac_site_file1=$prefix/share/config.site
2168   ac_site_file2=$prefix/etc/config.site
2169 else
2170   ac_site_file1=$ac_default_prefix/share/config.site
2171   ac_site_file2=$ac_default_prefix/etc/config.site
2172 fi
2173 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2174 do
2175   test "x$ac_site_file" = xNONE && continue
2176   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2177     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2178 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2179     sed 's/^/| /' "$ac_site_file" >&5
2180     . "$ac_site_file" \
2181       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2183 as_fn_error $? "failed to load site script $ac_site_file
2184 See \`config.log' for more details" "$LINENO" 5; }
2185   fi
2186 done
2187
2188 if test -r "$cache_file"; then
2189   # Some versions of bash will fail to source /dev/null (special files
2190   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2191   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2192     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2193 $as_echo "$as_me: loading cache $cache_file" >&6;}
2194     case $cache_file in
2195       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2196       *)                      . "./$cache_file";;
2197     esac
2198   fi
2199 else
2200   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2201 $as_echo "$as_me: creating cache $cache_file" >&6;}
2202   >$cache_file
2203 fi
2204
2205 # Check that the precious variables saved in the cache have kept the same
2206 # value.
2207 ac_cache_corrupted=false
2208 for ac_var in $ac_precious_vars; do
2209   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2210   eval ac_new_set=\$ac_env_${ac_var}_set
2211   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2212   eval ac_new_val=\$ac_env_${ac_var}_value
2213   case $ac_old_set,$ac_new_set in
2214     set,)
2215       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2216 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2217       ac_cache_corrupted=: ;;
2218     ,set)
2219       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2220 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2221       ac_cache_corrupted=: ;;
2222     ,);;
2223     *)
2224       if test "x$ac_old_val" != "x$ac_new_val"; then
2225         # differences in whitespace do not lead to failure.
2226         ac_old_val_w=`echo x $ac_old_val`
2227         ac_new_val_w=`echo x $ac_new_val`
2228         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2229           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2230 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2231           ac_cache_corrupted=:
2232         else
2233           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2234 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2235           eval $ac_var=\$ac_old_val
2236         fi
2237         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2238 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2239         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2240 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2241       fi;;
2242   esac
2243   # Pass precious variables to config.status.
2244   if test "$ac_new_set" = set; then
2245     case $ac_new_val in
2246     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2247     *) ac_arg=$ac_var=$ac_new_val ;;
2248     esac
2249     case " $ac_configure_args " in
2250       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2251       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2252     esac
2253   fi
2254 done
2255 if $ac_cache_corrupted; then
2256   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2258   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2259 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2260   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2261 fi
2262 ## -------------------- ##
2263 ## Main body of script. ##
2264 ## -------------------- ##
2265
2266 ac_ext=c
2267 ac_cpp='$CPP $CPPFLAGS'
2268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2271
2272
2273
2274
2275
2276
2277
2278 am__api_version='1.11'
2279
2280 ac_aux_dir=
2281 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2282   if test -f "$ac_dir/install-sh"; then
2283     ac_aux_dir=$ac_dir
2284     ac_install_sh="$ac_aux_dir/install-sh -c"
2285     break
2286   elif test -f "$ac_dir/install.sh"; then
2287     ac_aux_dir=$ac_dir
2288     ac_install_sh="$ac_aux_dir/install.sh -c"
2289     break
2290   elif test -f "$ac_dir/shtool"; then
2291     ac_aux_dir=$ac_dir
2292     ac_install_sh="$ac_aux_dir/shtool install -c"
2293     break
2294   fi
2295 done
2296 if test -z "$ac_aux_dir"; then
2297   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2298 fi
2299
2300 # These three variables are undocumented and unsupported,
2301 # and are intended to be withdrawn in a future Autoconf release.
2302 # They can cause serious problems if a builder's source tree is in a directory
2303 # whose full name contains unusual characters.
2304 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2305 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2306 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2307
2308
2309 # Find a good install program.  We prefer a C program (faster),
2310 # so one script is as good as another.  But avoid the broken or
2311 # incompatible versions:
2312 # SysV /etc/install, /usr/sbin/install
2313 # SunOS /usr/etc/install
2314 # IRIX /sbin/install
2315 # AIX /bin/install
2316 # AmigaOS /C/install, which installs bootblocks on floppy discs
2317 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2318 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2319 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2320 # OS/2's system install, which has a completely different semantic
2321 # ./install, which can be erroneously created by make from ./install.sh.
2322 # Reject install programs that cannot install multiple files.
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2324 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2325 if test -z "$INSTALL"; then
2326 if ${ac_cv_path_install+:} false; then :
2327   $as_echo_n "(cached) " >&6
2328 else
2329   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 for as_dir in $PATH
2331 do
2332   IFS=$as_save_IFS
2333   test -z "$as_dir" && as_dir=.
2334     # Account for people who put trailing slashes in PATH elements.
2335 case $as_dir/ in #((
2336   ./ | .// | /[cC]/* | \
2337   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2338   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2339   /usr/ucb/* ) ;;
2340   *)
2341     # OSF1 and SCO ODT 3.0 have their own names for install.
2342     # Don't use installbsd from OSF since it installs stuff as root
2343     # by default.
2344     for ac_prog in ginstall scoinst install; do
2345       for ac_exec_ext in '' $ac_executable_extensions; do
2346         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2347           if test $ac_prog = install &&
2348             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2349             # AIX install.  It has an incompatible calling convention.
2350             :
2351           elif test $ac_prog = install &&
2352             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2353             # program-specific install script used by HP pwplus--don't use.
2354             :
2355           else
2356             rm -rf conftest.one conftest.two conftest.dir
2357             echo one > conftest.one
2358             echo two > conftest.two
2359             mkdir conftest.dir
2360             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2361               test -s conftest.one && test -s conftest.two &&
2362               test -s conftest.dir/conftest.one &&
2363               test -s conftest.dir/conftest.two
2364             then
2365               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2366               break 3
2367             fi
2368           fi
2369         fi
2370       done
2371     done
2372     ;;
2373 esac
2374
2375   done
2376 IFS=$as_save_IFS
2377
2378 rm -rf conftest.one conftest.two conftest.dir
2379
2380 fi
2381   if test "${ac_cv_path_install+set}" = set; then
2382     INSTALL=$ac_cv_path_install
2383   else
2384     # As a last resort, use the slow shell script.  Don't cache a
2385     # value for INSTALL within a source directory, because that will
2386     # break other packages using the cache if that directory is
2387     # removed, or if the value is a relative name.
2388     INSTALL=$ac_install_sh
2389   fi
2390 fi
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2392 $as_echo "$INSTALL" >&6; }
2393
2394 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2395 # It thinks the first close brace ends the variable substitution.
2396 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2397
2398 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2399
2400 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2401
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2403 $as_echo_n "checking whether build environment is sane... " >&6; }
2404 # Just in case
2405 sleep 1
2406 echo timestamp > conftest.file
2407 # Reject unsafe characters in $srcdir or the absolute working directory
2408 # name.  Accept space and tab only in the latter.
2409 am_lf='
2410 '
2411 case `pwd` in
2412   *[\\\"\#\$\&\'\`$am_lf]*)
2413     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2414 esac
2415 case $srcdir in
2416   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2417     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2418 esac
2419
2420 # Do `set' in a subshell so we don't clobber the current shell's
2421 # arguments.  Must try -L first in case configure is actually a
2422 # symlink; some systems play weird games with the mod time of symlinks
2423 # (eg FreeBSD returns the mod time of the symlink's containing
2424 # directory).
2425 if (
2426    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2427    if test "$*" = "X"; then
2428       # -L didn't work.
2429       set X `ls -t "$srcdir/configure" conftest.file`
2430    fi
2431    rm -f conftest.file
2432    if test "$*" != "X $srcdir/configure conftest.file" \
2433       && test "$*" != "X conftest.file $srcdir/configure"; then
2434
2435       # If neither matched, then we have a broken ls.  This can happen
2436       # if, for instance, CONFIG_SHELL is bash and it inherits a
2437       # broken ls alias from the environment.  This has actually
2438       # happened.  Such a system could not be considered "sane".
2439       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2440 alias in your environment" "$LINENO" 5
2441    fi
2442
2443    test "$2" = conftest.file
2444    )
2445 then
2446    # Ok.
2447    :
2448 else
2449    as_fn_error $? "newly created file is older than distributed files!
2450 Check your system clock" "$LINENO" 5
2451 fi
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2453 $as_echo "yes" >&6; }
2454 test "$program_prefix" != NONE &&
2455   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2456 # Use a double $ so make ignores it.
2457 test "$program_suffix" != NONE &&
2458   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2459 # Double any \ or $.
2460 # By default was `s,x,x', remove it if useless.
2461 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2462 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2463
2464 # expand $ac_aux_dir to an absolute path
2465 am_aux_dir=`cd $ac_aux_dir && pwd`
2466
2467 if test x"${MISSING+set}" != xset; then
2468   case $am_aux_dir in
2469   *\ * | *\     *)
2470     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2471   *)
2472     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2473   esac
2474 fi
2475 # Use eval to expand $SHELL
2476 if eval "$MISSING --run true"; then
2477   am_missing_run="$MISSING --run "
2478 else
2479   am_missing_run=
2480   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2481 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2482 fi
2483
2484 if test x"${install_sh}" != xset; then
2485   case $am_aux_dir in
2486   *\ * | *\     *)
2487     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2488   *)
2489     install_sh="\${SHELL} $am_aux_dir/install-sh"
2490   esac
2491 fi
2492
2493 # Installed binaries are usually stripped using `strip' when the user
2494 # run `make install-strip'.  However `strip' might not be the right
2495 # tool to use in cross-compilation environments, therefore Automake
2496 # will honor the `STRIP' environment variable to overrule this program.
2497 if test "$cross_compiling" != no; then
2498   if test -n "$ac_tool_prefix"; then
2499   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2500 set dummy ${ac_tool_prefix}strip; ac_word=$2
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502 $as_echo_n "checking for $ac_word... " >&6; }
2503 if ${ac_cv_prog_STRIP+:} false; then :
2504   $as_echo_n "(cached) " >&6
2505 else
2506   if test -n "$STRIP"; then
2507   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2508 else
2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510 for as_dir in $PATH
2511 do
2512   IFS=$as_save_IFS
2513   test -z "$as_dir" && as_dir=.
2514     for ac_exec_ext in '' $ac_executable_extensions; do
2515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2516     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2518     break 2
2519   fi
2520 done
2521   done
2522 IFS=$as_save_IFS
2523
2524 fi
2525 fi
2526 STRIP=$ac_cv_prog_STRIP
2527 if test -n "$STRIP"; then
2528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2529 $as_echo "$STRIP" >&6; }
2530 else
2531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532 $as_echo "no" >&6; }
2533 fi
2534
2535
2536 fi
2537 if test -z "$ac_cv_prog_STRIP"; then
2538   ac_ct_STRIP=$STRIP
2539   # Extract the first word of "strip", so it can be a program name with args.
2540 set dummy strip; ac_word=$2
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2542 $as_echo_n "checking for $ac_word... " >&6; }
2543 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2544   $as_echo_n "(cached) " >&6
2545 else
2546   if test -n "$ac_ct_STRIP"; then
2547   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2548 else
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 for as_dir in $PATH
2551 do
2552   IFS=$as_save_IFS
2553   test -z "$as_dir" && as_dir=.
2554     for ac_exec_ext in '' $ac_executable_extensions; do
2555   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2556     ac_cv_prog_ac_ct_STRIP="strip"
2557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2558     break 2
2559   fi
2560 done
2561   done
2562 IFS=$as_save_IFS
2563
2564 fi
2565 fi
2566 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2567 if test -n "$ac_ct_STRIP"; then
2568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2569 $as_echo "$ac_ct_STRIP" >&6; }
2570 else
2571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2572 $as_echo "no" >&6; }
2573 fi
2574
2575   if test "x$ac_ct_STRIP" = x; then
2576     STRIP=":"
2577   else
2578     case $cross_compiling:$ac_tool_warned in
2579 yes:)
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2582 ac_tool_warned=yes ;;
2583 esac
2584     STRIP=$ac_ct_STRIP
2585   fi
2586 else
2587   STRIP="$ac_cv_prog_STRIP"
2588 fi
2589
2590 fi
2591 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2592
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2594 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2595 if test -z "$MKDIR_P"; then
2596   if ${ac_cv_path_mkdir+:} false; then :
2597   $as_echo_n "(cached) " >&6
2598 else
2599   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2600 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2601 do
2602   IFS=$as_save_IFS
2603   test -z "$as_dir" && as_dir=.
2604     for ac_prog in mkdir gmkdir; do
2605          for ac_exec_ext in '' $ac_executable_extensions; do
2606            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2607            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2608              'mkdir (GNU coreutils) '* | \
2609              'mkdir (coreutils) '* | \
2610              'mkdir (fileutils) '4.1*)
2611                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2612                break 3;;
2613            esac
2614          done
2615        done
2616   done
2617 IFS=$as_save_IFS
2618
2619 fi
2620
2621   test -d ./--version && rmdir ./--version
2622   if test "${ac_cv_path_mkdir+set}" = set; then
2623     MKDIR_P="$ac_cv_path_mkdir -p"
2624   else
2625     # As a last resort, use the slow shell script.  Don't cache a
2626     # value for MKDIR_P within a source directory, because that will
2627     # break other packages using the cache if that directory is
2628     # removed, or if the value is a relative name.
2629     MKDIR_P="$ac_install_sh -d"
2630   fi
2631 fi
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2633 $as_echo "$MKDIR_P" >&6; }
2634
2635 mkdir_p="$MKDIR_P"
2636 case $mkdir_p in
2637   [\\/$]* | ?:[\\/]*) ;;
2638   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2639 esac
2640
2641 for ac_prog in gawk mawk nawk awk
2642 do
2643   # Extract the first word of "$ac_prog", so it can be a program name with args.
2644 set dummy $ac_prog; ac_word=$2
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2646 $as_echo_n "checking for $ac_word... " >&6; }
2647 if ${ac_cv_prog_AWK+:} false; then :
2648   $as_echo_n "(cached) " >&6
2649 else
2650   if test -n "$AWK"; then
2651   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2652 else
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 for as_dir in $PATH
2655 do
2656   IFS=$as_save_IFS
2657   test -z "$as_dir" && as_dir=.
2658     for ac_exec_ext in '' $ac_executable_extensions; do
2659   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2660     ac_cv_prog_AWK="$ac_prog"
2661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2662     break 2
2663   fi
2664 done
2665   done
2666 IFS=$as_save_IFS
2667
2668 fi
2669 fi
2670 AWK=$ac_cv_prog_AWK
2671 if test -n "$AWK"; then
2672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2673 $as_echo "$AWK" >&6; }
2674 else
2675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2676 $as_echo "no" >&6; }
2677 fi
2678
2679
2680   test -n "$AWK" && break
2681 done
2682
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2684 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2685 set x ${MAKE-make}
2686 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2687 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2688   $as_echo_n "(cached) " >&6
2689 else
2690   cat >conftest.make <<\_ACEOF
2691 SHELL = /bin/sh
2692 all:
2693         @echo '@@@%%%=$(MAKE)=@@@%%%'
2694 _ACEOF
2695 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2696 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2697   *@@@%%%=?*=@@@%%%*)
2698     eval ac_cv_prog_make_${ac_make}_set=yes;;
2699   *)
2700     eval ac_cv_prog_make_${ac_make}_set=no;;
2701 esac
2702 rm -f conftest.make
2703 fi
2704 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2706 $as_echo "yes" >&6; }
2707   SET_MAKE=
2708 else
2709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2710 $as_echo "no" >&6; }
2711   SET_MAKE="MAKE=${MAKE-make}"
2712 fi
2713
2714 rm -rf .tst 2>/dev/null
2715 mkdir .tst 2>/dev/null
2716 if test -d .tst; then
2717   am__leading_dot=.
2718 else
2719   am__leading_dot=_
2720 fi
2721 rmdir .tst 2>/dev/null
2722
2723 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2724   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2725   # is not polluted with repeated "-I."
2726   am__isrc=' -I$(srcdir)'
2727   # test to see if srcdir already configured
2728   if test -f $srcdir/config.status; then
2729     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2730   fi
2731 fi
2732
2733 # test whether we have cygpath
2734 if test -z "$CYGPATH_W"; then
2735   if (cygpath --version) >/dev/null 2>/dev/null; then
2736     CYGPATH_W='cygpath -w'
2737   else
2738     CYGPATH_W=echo
2739   fi
2740 fi
2741
2742
2743 # Define the identity of the package.
2744  PACKAGE='gst-python'
2745  VERSION='0.10.22'
2746
2747
2748 cat >>confdefs.h <<_ACEOF
2749 #define PACKAGE "$PACKAGE"
2750 _ACEOF
2751
2752
2753 cat >>confdefs.h <<_ACEOF
2754 #define VERSION "$VERSION"
2755 _ACEOF
2756
2757 # Some tools Automake needs.
2758
2759 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2760
2761
2762 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2763
2764
2765 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2766
2767
2768 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2769
2770
2771 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2772
2773 # We need awk for the "check" target.  The system "awk" is bad on
2774 # some platforms.
2775 # Always define AMTAR for backward compatibility.
2776
2777 AMTAR=${AMTAR-"${am_missing_run}tar"}
2778
2779 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2780
2781
2782
2783
2784
2785
2786
2787   PACKAGE_VERSION_MAJOR=$(echo 0.10.22 | cut -d'.' -f1)
2788   PACKAGE_VERSION_MINOR=$(echo 0.10.22 | cut -d'.' -f2)
2789   PACKAGE_VERSION_MICRO=$(echo 0.10.22 | cut -d'.' -f3)
2790
2791
2792
2793
2794
2795
2796
2797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
2798 $as_echo_n "checking nano version... " >&6; }
2799
2800   NANO=$(echo 0.10.22 | cut -d'.' -f4)
2801
2802   if test x"$NANO" = x || test "x$NANO" = "x0" ; then
2803     { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
2804 $as_echo "0 (release)" >&6; }
2805     NANO=0
2806     PACKAGE_VERSION_RELEASE=1
2807     GST_CVS="no"
2808   else
2809     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
2810 $as_echo "$NANO" >&6; }
2811     PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
2812     if test "x$NANO" != "x1" ; then
2813        GST_CVS="no"
2814     else
2815        GST_CVS="yes"
2816     fi
2817   fi
2818   PACKAGE_VERSION_NANO=$NANO
2819
2820
2821
2822
2823
2824
2825 ac_config_headers="$ac_config_headers config.h"
2826
2827
2828
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2830 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2831     # Check whether --enable-maintainer-mode was given.
2832 if test "${enable_maintainer_mode+set}" = set; then :
2833   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2834 else
2835   USE_MAINTAINER_MODE=no
2836 fi
2837
2838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2839 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2840    if test $USE_MAINTAINER_MODE = yes; then
2841   MAINTAINER_MODE_TRUE=
2842   MAINTAINER_MODE_FALSE='#'
2843 else
2844   MAINTAINER_MODE_TRUE='#'
2845   MAINTAINER_MODE_FALSE=
2846 fi
2847
2848   MAINT=$MAINTAINER_MODE_TRUE
2849
2850
2851
2852 # Check whether --enable-silent-rules was given.
2853 if test "${enable_silent_rules+set}" = set; then :
2854   enableval=$enable_silent_rules;
2855 fi
2856
2857 case $enable_silent_rules in
2858 yes) AM_DEFAULT_VERBOSITY=0;;
2859 no)  AM_DEFAULT_VERBOSITY=1;;
2860 *)   AM_DEFAULT_VERBOSITY=0;;
2861 esac
2862 AM_BACKSLASH='\'
2863
2864
2865
2866 cat >>confdefs.h <<_ACEOF
2867 #define PYGST_MAJOR_VERSION $PACKAGE_VERSION_MAJOR
2868 _ACEOF
2869
2870
2871 cat >>confdefs.h <<_ACEOF
2872 #define PYGST_MINOR_VERSION $PACKAGE_VERSION_MINOR
2873 _ACEOF
2874
2875
2876 cat >>confdefs.h <<_ACEOF
2877 #define PYGST_MICRO_VERSION $PACKAGE_VERSION_MICRO
2878 _ACEOF
2879
2880
2881 cat >>confdefs.h <<_ACEOF
2882 #define PYGST_NANO_VERSION $PACKAGE_VERSION_NANO
2883 _ACEOF
2884
2885
2886
2887
2888
2889
2890 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
2891
2892
2893 PYGTK_REQ=2.6.3
2894
2895 PYGOBJECT_REQ=2.11.2
2896
2897 GLIB_REQ=2.8.0
2898
2899 GTK_REQ=2.6.0
2900
2901 GST_REQ=0.10.20
2902
2903 GSTPB_REQ=0.10.20
2904
2905
2906 # Check whether --enable-static was given.
2907 if test "${enable_static+set}" = set; then :
2908   enableval=$enable_static; p=${PACKAGE-default}
2909     case $enableval in
2910     yes) enable_static=yes ;;
2911     no) enable_static=no ;;
2912     *)
2913      enable_static=no
2914       # Look at the argument we got.  We use all the common list separators.
2915       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2916       for pkg in $enableval; do
2917         IFS="$lt_save_ifs"
2918         if test "X$pkg" = "X$p"; then
2919           enable_static=yes
2920         fi
2921       done
2922       IFS="$lt_save_ifs"
2923       ;;
2924     esac
2925 else
2926   enable_static=no
2927 fi
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938 # Make sure we can run config.sub.
2939 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2940   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2941
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2943 $as_echo_n "checking build system type... " >&6; }
2944 if ${ac_cv_build+:} false; then :
2945   $as_echo_n "(cached) " >&6
2946 else
2947   ac_build_alias=$build_alias
2948 test "x$ac_build_alias" = x &&
2949   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2950 test "x$ac_build_alias" = x &&
2951   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2952 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2953   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2954
2955 fi
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2957 $as_echo "$ac_cv_build" >&6; }
2958 case $ac_cv_build in
2959 *-*-*) ;;
2960 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2961 esac
2962 build=$ac_cv_build
2963 ac_save_IFS=$IFS; IFS='-'
2964 set x $ac_cv_build
2965 shift
2966 build_cpu=$1
2967 build_vendor=$2
2968 shift; shift
2969 # Remember, the first character of IFS is used to create $*,
2970 # except with old shells:
2971 build_os=$*
2972 IFS=$ac_save_IFS
2973 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2974
2975
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2977 $as_echo_n "checking host system type... " >&6; }
2978 if ${ac_cv_host+:} false; then :
2979   $as_echo_n "(cached) " >&6
2980 else
2981   if test "x$host_alias" = x; then
2982   ac_cv_host=$ac_cv_build
2983 else
2984   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2985     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2986 fi
2987
2988 fi
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2990 $as_echo "$ac_cv_host" >&6; }
2991 case $ac_cv_host in
2992 *-*-*) ;;
2993 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2994 esac
2995 host=$ac_cv_host
2996 ac_save_IFS=$IFS; IFS='-'
2997 set x $ac_cv_host
2998 shift
2999 host_cpu=$1
3000 host_vendor=$2
3001 shift; shift
3002 # Remember, the first character of IFS is used to create $*,
3003 # except with old shells:
3004 host_os=$*
3005 IFS=$ac_save_IFS
3006 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3007
3008
3009 enable_win32_dll=yes
3010
3011 case $host in
3012 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3013   if test -n "$ac_tool_prefix"; then
3014   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3015 set dummy ${ac_tool_prefix}as; ac_word=$2
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3017 $as_echo_n "checking for $ac_word... " >&6; }
3018 if ${ac_cv_prog_AS+:} false; then :
3019   $as_echo_n "(cached) " >&6
3020 else
3021   if test -n "$AS"; then
3022   ac_cv_prog_AS="$AS" # Let the user override the test.
3023 else
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 for as_dir in $PATH
3026 do
3027   IFS=$as_save_IFS
3028   test -z "$as_dir" && as_dir=.
3029     for ac_exec_ext in '' $ac_executable_extensions; do
3030   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031     ac_cv_prog_AS="${ac_tool_prefix}as"
3032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3033     break 2
3034   fi
3035 done
3036   done
3037 IFS=$as_save_IFS
3038
3039 fi
3040 fi
3041 AS=$ac_cv_prog_AS
3042 if test -n "$AS"; then
3043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3044 $as_echo "$AS" >&6; }
3045 else
3046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047 $as_echo "no" >&6; }
3048 fi
3049
3050
3051 fi
3052 if test -z "$ac_cv_prog_AS"; then
3053   ac_ct_AS=$AS
3054   # Extract the first word of "as", so it can be a program name with args.
3055 set dummy as; ac_word=$2
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3057 $as_echo_n "checking for $ac_word... " >&6; }
3058 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3059   $as_echo_n "(cached) " >&6
3060 else
3061   if test -n "$ac_ct_AS"; then
3062   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3063 else
3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3065 for as_dir in $PATH
3066 do
3067   IFS=$as_save_IFS
3068   test -z "$as_dir" && as_dir=.
3069     for ac_exec_ext in '' $ac_executable_extensions; do
3070   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3071     ac_cv_prog_ac_ct_AS="as"
3072     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3073     break 2
3074   fi
3075 done
3076   done
3077 IFS=$as_save_IFS
3078
3079 fi
3080 fi
3081 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3082 if test -n "$ac_ct_AS"; then
3083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3084 $as_echo "$ac_ct_AS" >&6; }
3085 else
3086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3087 $as_echo "no" >&6; }
3088 fi
3089
3090   if test "x$ac_ct_AS" = x; then
3091     AS="false"
3092   else
3093     case $cross_compiling:$ac_tool_warned in
3094 yes:)
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3097 ac_tool_warned=yes ;;
3098 esac
3099     AS=$ac_ct_AS
3100   fi
3101 else
3102   AS="$ac_cv_prog_AS"
3103 fi
3104
3105   if test -n "$ac_tool_prefix"; then
3106   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3107 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3109 $as_echo_n "checking for $ac_word... " >&6; }
3110 if ${ac_cv_prog_DLLTOOL+:} false; then :
3111   $as_echo_n "(cached) " >&6
3112 else
3113   if test -n "$DLLTOOL"; then
3114   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3115 else
3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3117 for as_dir in $PATH
3118 do
3119   IFS=$as_save_IFS
3120   test -z "$as_dir" && as_dir=.
3121     for ac_exec_ext in '' $ac_executable_extensions; do
3122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3123     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3125     break 2
3126   fi
3127 done
3128   done
3129 IFS=$as_save_IFS
3130
3131 fi
3132 fi
3133 DLLTOOL=$ac_cv_prog_DLLTOOL
3134 if test -n "$DLLTOOL"; then
3135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3136 $as_echo "$DLLTOOL" >&6; }
3137 else
3138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139 $as_echo "no" >&6; }
3140 fi
3141
3142
3143 fi
3144 if test -z "$ac_cv_prog_DLLTOOL"; then
3145   ac_ct_DLLTOOL=$DLLTOOL
3146   # Extract the first word of "dlltool", so it can be a program name with args.
3147 set dummy dlltool; ac_word=$2
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3149 $as_echo_n "checking for $ac_word... " >&6; }
3150 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3151   $as_echo_n "(cached) " >&6
3152 else
3153   if test -n "$ac_ct_DLLTOOL"; then
3154   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3155 else
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 for as_dir in $PATH
3158 do
3159   IFS=$as_save_IFS
3160   test -z "$as_dir" && as_dir=.
3161     for ac_exec_ext in '' $ac_executable_extensions; do
3162   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3163     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3164     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3165     break 2
3166   fi
3167 done
3168   done
3169 IFS=$as_save_IFS
3170
3171 fi
3172 fi
3173 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3174 if test -n "$ac_ct_DLLTOOL"; then
3175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3176 $as_echo "$ac_ct_DLLTOOL" >&6; }
3177 else
3178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3180 fi
3181
3182   if test "x$ac_ct_DLLTOOL" = x; then
3183     DLLTOOL="false"
3184   else
3185     case $cross_compiling:$ac_tool_warned in
3186 yes:)
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3189 ac_tool_warned=yes ;;
3190 esac
3191     DLLTOOL=$ac_ct_DLLTOOL
3192   fi
3193 else
3194   DLLTOOL="$ac_cv_prog_DLLTOOL"
3195 fi
3196
3197   if test -n "$ac_tool_prefix"; then
3198   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3199 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3201 $as_echo_n "checking for $ac_word... " >&6; }
3202 if ${ac_cv_prog_OBJDUMP+:} false; then :
3203   $as_echo_n "(cached) " >&6
3204 else
3205   if test -n "$OBJDUMP"; then
3206   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3207 else
3208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209 for as_dir in $PATH
3210 do
3211   IFS=$as_save_IFS
3212   test -z "$as_dir" && as_dir=.
3213     for ac_exec_ext in '' $ac_executable_extensions; do
3214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3215     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3217     break 2
3218   fi
3219 done
3220   done
3221 IFS=$as_save_IFS
3222
3223 fi
3224 fi
3225 OBJDUMP=$ac_cv_prog_OBJDUMP
3226 if test -n "$OBJDUMP"; then
3227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3228 $as_echo "$OBJDUMP" >&6; }
3229 else
3230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231 $as_echo "no" >&6; }
3232 fi
3233
3234
3235 fi
3236 if test -z "$ac_cv_prog_OBJDUMP"; then
3237   ac_ct_OBJDUMP=$OBJDUMP
3238   # Extract the first word of "objdump", so it can be a program name with args.
3239 set dummy objdump; ac_word=$2
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3241 $as_echo_n "checking for $ac_word... " >&6; }
3242 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3243   $as_echo_n "(cached) " >&6
3244 else
3245   if test -n "$ac_ct_OBJDUMP"; then
3246   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3247 else
3248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3249 for as_dir in $PATH
3250 do
3251   IFS=$as_save_IFS
3252   test -z "$as_dir" && as_dir=.
3253     for ac_exec_ext in '' $ac_executable_extensions; do
3254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3255     ac_cv_prog_ac_ct_OBJDUMP="objdump"
3256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3257     break 2
3258   fi
3259 done
3260   done
3261 IFS=$as_save_IFS
3262
3263 fi
3264 fi
3265 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3266 if test -n "$ac_ct_OBJDUMP"; then
3267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3268 $as_echo "$ac_ct_OBJDUMP" >&6; }
3269 else
3270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3271 $as_echo "no" >&6; }
3272 fi
3273
3274   if test "x$ac_ct_OBJDUMP" = x; then
3275     OBJDUMP="false"
3276   else
3277     case $cross_compiling:$ac_tool_warned in
3278 yes:)
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3281 ac_tool_warned=yes ;;
3282 esac
3283     OBJDUMP=$ac_ct_OBJDUMP
3284   fi
3285 else
3286   OBJDUMP="$ac_cv_prog_OBJDUMP"
3287 fi
3288
3289   ;;
3290 esac
3291
3292 test -z "$AS" && AS=as
3293
3294
3295
3296
3297
3298 test -z "$DLLTOOL" && DLLTOOL=dlltool
3299
3300
3301
3302
3303
3304 test -z "$OBJDUMP" && OBJDUMP=objdump
3305
3306
3307
3308
3309
3310
3311
3312 case `pwd` in
3313   *\ * | *\     *)
3314     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3315 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3316 esac
3317
3318
3319
3320 macro_version='2.4'
3321 macro_revision='1.3293'
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335 ltmain="$ac_aux_dir/ltmain.sh"
3336
3337 # Backslashify metacharacters that are still active within
3338 # double-quoted strings.
3339 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3340
3341 # Same as above, but do not quote variable references.
3342 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3343
3344 # Sed substitution to delay expansion of an escaped shell variable in a
3345 # double_quote_subst'ed string.
3346 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3347
3348 # Sed substitution to delay expansion of an escaped single quote.
3349 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3350
3351 # Sed substitution to avoid accidental globbing in evaled expressions
3352 no_glob_subst='s/\*/\\\*/g'
3353
3354 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3355 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3356 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3357
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3359 $as_echo_n "checking how to print strings... " >&6; }
3360 # Test print first, because it will be a builtin if present.
3361 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3362    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3363   ECHO='print -r --'
3364 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3365   ECHO='printf %s\n'
3366 else
3367   # Use this function as a fallback that always works.
3368   func_fallback_echo ()
3369   {
3370     eval 'cat <<_LTECHO_EOF
3371 $1
3372 _LTECHO_EOF'
3373   }
3374   ECHO='func_fallback_echo'
3375 fi
3376
3377 # func_echo_all arg...
3378 # Invoke $ECHO with all args, space-separated.
3379 func_echo_all ()
3380 {
3381     $ECHO ""
3382 }
3383
3384 case "$ECHO" in
3385   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3386 $as_echo "printf" >&6; } ;;
3387   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3388 $as_echo "print -r" >&6; } ;;
3389   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3390 $as_echo "cat" >&6; } ;;
3391 esac
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406 DEPDIR="${am__leading_dot}deps"
3407
3408 ac_config_commands="$ac_config_commands depfiles"
3409
3410
3411 am_make=${MAKE-make}
3412 cat > confinc << 'END'
3413 am__doit:
3414         @echo this is the am__doit target
3415 .PHONY: am__doit
3416 END
3417 # If we don't find an include directive, just comment out the code.
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3419 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3420 am__include="#"
3421 am__quote=
3422 _am_result=none
3423 # First try GNU make style include.
3424 echo "include confinc" > confmf
3425 # Ignore all kinds of additional output from `make'.
3426 case `$am_make -s -f confmf 2> /dev/null` in #(
3427 *the\ am__doit\ target*)
3428   am__include=include
3429   am__quote=
3430   _am_result=GNU
3431   ;;
3432 esac
3433 # Now try BSD make style include.
3434 if test "$am__include" = "#"; then
3435    echo '.include "confinc"' > confmf
3436    case `$am_make -s -f confmf 2> /dev/null` in #(
3437    *the\ am__doit\ target*)
3438      am__include=.include
3439      am__quote="\""
3440      _am_result=BSD
3441      ;;
3442    esac
3443 fi
3444
3445
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3447 $as_echo "$_am_result" >&6; }
3448 rm -f confinc confmf
3449
3450 # Check whether --enable-dependency-tracking was given.
3451 if test "${enable_dependency_tracking+set}" = set; then :
3452   enableval=$enable_dependency_tracking;
3453 fi
3454
3455 if test "x$enable_dependency_tracking" != xno; then
3456   am_depcomp="$ac_aux_dir/depcomp"
3457   AMDEPBACKSLASH='\'
3458 fi
3459  if test "x$enable_dependency_tracking" != xno; then
3460   AMDEP_TRUE=
3461   AMDEP_FALSE='#'
3462 else
3463   AMDEP_TRUE='#'
3464   AMDEP_FALSE=
3465 fi
3466
3467
3468 ac_ext=c
3469 ac_cpp='$CPP $CPPFLAGS'
3470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3473 if test -n "$ac_tool_prefix"; then
3474   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3475 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3477 $as_echo_n "checking for $ac_word... " >&6; }
3478 if ${ac_cv_prog_CC+:} false; then :
3479   $as_echo_n "(cached) " >&6
3480 else
3481   if test -n "$CC"; then
3482   ac_cv_prog_CC="$CC" # Let the user override the test.
3483 else
3484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3485 for as_dir in $PATH
3486 do
3487   IFS=$as_save_IFS
3488   test -z "$as_dir" && as_dir=.
3489     for ac_exec_ext in '' $ac_executable_extensions; do
3490   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3491     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3493     break 2
3494   fi
3495 done
3496   done
3497 IFS=$as_save_IFS
3498
3499 fi
3500 fi
3501 CC=$ac_cv_prog_CC
3502 if test -n "$CC"; then
3503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3504 $as_echo "$CC" >&6; }
3505 else
3506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3507 $as_echo "no" >&6; }
3508 fi
3509
3510
3511 fi
3512 if test -z "$ac_cv_prog_CC"; then
3513   ac_ct_CC=$CC
3514   # Extract the first word of "gcc", so it can be a program name with args.
3515 set dummy gcc; ac_word=$2
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3517 $as_echo_n "checking for $ac_word... " >&6; }
3518 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3519   $as_echo_n "(cached) " >&6
3520 else
3521   if test -n "$ac_ct_CC"; then
3522   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3523 else
3524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 for as_dir in $PATH
3526 do
3527   IFS=$as_save_IFS
3528   test -z "$as_dir" && as_dir=.
3529     for ac_exec_ext in '' $ac_executable_extensions; do
3530   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3531     ac_cv_prog_ac_ct_CC="gcc"
3532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3533     break 2
3534   fi
3535 done
3536   done
3537 IFS=$as_save_IFS
3538
3539 fi
3540 fi
3541 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3542 if test -n "$ac_ct_CC"; then
3543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3544 $as_echo "$ac_ct_CC" >&6; }
3545 else
3546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 $as_echo "no" >&6; }
3548 fi
3549
3550   if test "x$ac_ct_CC" = x; then
3551     CC=""
3552   else
3553     case $cross_compiling:$ac_tool_warned in
3554 yes:)
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3557 ac_tool_warned=yes ;;
3558 esac
3559     CC=$ac_ct_CC
3560   fi
3561 else
3562   CC="$ac_cv_prog_CC"
3563 fi
3564
3565 if test -z "$CC"; then
3566           if test -n "$ac_tool_prefix"; then
3567     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3568 set dummy ${ac_tool_prefix}cc; ac_word=$2
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3570 $as_echo_n "checking for $ac_word... " >&6; }
3571 if ${ac_cv_prog_CC+:} false; then :
3572   $as_echo_n "(cached) " >&6
3573 else
3574   if test -n "$CC"; then
3575   ac_cv_prog_CC="$CC" # Let the user override the test.
3576 else
3577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3578 for as_dir in $PATH
3579 do
3580   IFS=$as_save_IFS
3581   test -z "$as_dir" && as_dir=.
3582     for ac_exec_ext in '' $ac_executable_extensions; do
3583   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3584     ac_cv_prog_CC="${ac_tool_prefix}cc"
3585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3586     break 2
3587   fi
3588 done
3589   done
3590 IFS=$as_save_IFS
3591
3592 fi
3593 fi
3594 CC=$ac_cv_prog_CC
3595 if test -n "$CC"; then
3596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3597 $as_echo "$CC" >&6; }
3598 else
3599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3600 $as_echo "no" >&6; }
3601 fi
3602
3603
3604   fi
3605 fi
3606 if test -z "$CC"; then
3607   # Extract the first word of "cc", so it can be a program name with args.
3608 set dummy cc; ac_word=$2
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3610 $as_echo_n "checking for $ac_word... " >&6; }
3611 if ${ac_cv_prog_CC+:} false; then :
3612   $as_echo_n "(cached) " >&6
3613 else
3614   if test -n "$CC"; then
3615   ac_cv_prog_CC="$CC" # Let the user override the test.
3616 else
3617   ac_prog_rejected=no
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3619 for as_dir in $PATH
3620 do
3621   IFS=$as_save_IFS
3622   test -z "$as_dir" && as_dir=.
3623     for ac_exec_ext in '' $ac_executable_extensions; do
3624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3626        ac_prog_rejected=yes
3627        continue
3628      fi
3629     ac_cv_prog_CC="cc"
3630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3631     break 2
3632   fi
3633 done
3634   done
3635 IFS=$as_save_IFS
3636
3637 if test $ac_prog_rejected = yes; then
3638   # We found a bogon in the path, so make sure we never use it.
3639   set dummy $ac_cv_prog_CC
3640   shift
3641   if test $# != 0; then
3642     # We chose a different compiler from the bogus one.
3643     # However, it has the same basename, so the bogon will be chosen
3644     # first if we set CC to just the basename; use the full file name.
3645     shift
3646     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3647   fi
3648 fi
3649 fi
3650 fi
3651 CC=$ac_cv_prog_CC
3652 if test -n "$CC"; then
3653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3654 $as_echo "$CC" >&6; }
3655 else
3656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3658 fi
3659
3660
3661 fi
3662 if test -z "$CC"; then
3663   if test -n "$ac_tool_prefix"; then
3664   for ac_prog in cl.exe
3665   do
3666     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3667 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3669 $as_echo_n "checking for $ac_word... " >&6; }
3670 if ${ac_cv_prog_CC+:} false; then :
3671   $as_echo_n "(cached) " >&6
3672 else
3673   if test -n "$CC"; then
3674   ac_cv_prog_CC="$CC" # Let the user override the test.
3675 else
3676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3677 for as_dir in $PATH
3678 do
3679   IFS=$as_save_IFS
3680   test -z "$as_dir" && as_dir=.
3681     for ac_exec_ext in '' $ac_executable_extensions; do
3682   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3683     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3685     break 2
3686   fi
3687 done
3688   done
3689 IFS=$as_save_IFS
3690
3691 fi
3692 fi
3693 CC=$ac_cv_prog_CC
3694 if test -n "$CC"; then
3695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3696 $as_echo "$CC" >&6; }
3697 else
3698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3700 fi
3701
3702
3703     test -n "$CC" && break
3704   done
3705 fi
3706 if test -z "$CC"; then
3707   ac_ct_CC=$CC
3708   for ac_prog in cl.exe
3709 do
3710   # Extract the first word of "$ac_prog", so it can be a program name with args.
3711 set dummy $ac_prog; ac_word=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3715   $as_echo_n "(cached) " >&6
3716 else
3717   if test -n "$ac_ct_CC"; then
3718   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3719 else
3720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3721 for as_dir in $PATH
3722 do
3723   IFS=$as_save_IFS
3724   test -z "$as_dir" && as_dir=.
3725     for ac_exec_ext in '' $ac_executable_extensions; do
3726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3727     ac_cv_prog_ac_ct_CC="$ac_prog"
3728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3729     break 2
3730   fi
3731 done
3732   done
3733 IFS=$as_save_IFS
3734
3735 fi
3736 fi
3737 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3738 if test -n "$ac_ct_CC"; then
3739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3740 $as_echo "$ac_ct_CC" >&6; }
3741 else
3742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 $as_echo "no" >&6; }
3744 fi
3745
3746
3747   test -n "$ac_ct_CC" && break
3748 done
3749
3750   if test "x$ac_ct_CC" = x; then
3751     CC=""
3752   else
3753     case $cross_compiling:$ac_tool_warned in
3754 yes:)
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3757 ac_tool_warned=yes ;;
3758 esac
3759     CC=$ac_ct_CC
3760   fi
3761 fi
3762
3763 fi
3764
3765
3766 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3768 as_fn_error $? "no acceptable C compiler found in \$PATH
3769 See \`config.log' for more details" "$LINENO" 5; }
3770
3771 # Provide some information about the compiler.
3772 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3773 set X $ac_compile
3774 ac_compiler=$2
3775 for ac_option in --version -v -V -qversion; do
3776   { { ac_try="$ac_compiler $ac_option >&5"
3777 case "(($ac_try" in
3778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3779   *) ac_try_echo=$ac_try;;
3780 esac
3781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3782 $as_echo "$ac_try_echo"; } >&5
3783   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3784   ac_status=$?
3785   if test -s conftest.err; then
3786     sed '10a\
3787 ... rest of stderr output deleted ...
3788          10q' conftest.err >conftest.er1
3789     cat conftest.er1 >&5
3790   fi
3791   rm -f conftest.er1 conftest.err
3792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3793   test $ac_status = 0; }
3794 done
3795
3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.h.  */
3798
3799 int
3800 main ()
3801 {
3802
3803   ;
3804   return 0;
3805 }
3806 _ACEOF
3807 ac_clean_files_save=$ac_clean_files
3808 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3809 # Try to create an executable without -o first, disregard a.out.
3810 # It will help us diagnose broken compilers, and finding out an intuition
3811 # of exeext.
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3813 $as_echo_n "checking whether the C compiler works... " >&6; }
3814 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3815
3816 # The possible output files:
3817 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3818
3819 ac_rmfiles=
3820 for ac_file in $ac_files
3821 do
3822   case $ac_file in
3823     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3824     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3825   esac
3826 done
3827 rm -f $ac_rmfiles
3828
3829 if { { ac_try="$ac_link_default"
3830 case "(($ac_try" in
3831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3832   *) ac_try_echo=$ac_try;;
3833 esac
3834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3835 $as_echo "$ac_try_echo"; } >&5
3836   (eval "$ac_link_default") 2>&5
3837   ac_status=$?
3838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3839   test $ac_status = 0; }; then :
3840   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3841 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3842 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3843 # so that the user can short-circuit this test for compilers unknown to
3844 # Autoconf.
3845 for ac_file in $ac_files ''
3846 do
3847   test -f "$ac_file" || continue
3848   case $ac_file in
3849     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3850         ;;
3851     [ab].out )
3852         # We found the default executable, but exeext='' is most
3853         # certainly right.
3854         break;;
3855     *.* )
3856         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3857         then :; else
3858            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3859         fi
3860         # We set ac_cv_exeext here because the later test for it is not
3861         # safe: cross compilers may not add the suffix if given an `-o'
3862         # argument, so we may need to know it at that point already.
3863         # Even if this section looks crufty: it has the advantage of
3864         # actually working.
3865         break;;
3866     * )
3867         break;;
3868   esac
3869 done
3870 test "$ac_cv_exeext" = no && ac_cv_exeext=
3871
3872 else
3873   ac_file=''
3874 fi
3875 if test -z "$ac_file"; then :
3876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3877 $as_echo "no" >&6; }
3878 $as_echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.$ac_ext >&5
3880
3881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3883 as_fn_error 77 "C compiler cannot create executables
3884 See \`config.log' for more details" "$LINENO" 5; }
3885 else
3886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3887 $as_echo "yes" >&6; }
3888 fi
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3890 $as_echo_n "checking for C compiler default output file name... " >&6; }
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3892 $as_echo "$ac_file" >&6; }
3893 ac_exeext=$ac_cv_exeext
3894
3895 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3896 ac_clean_files=$ac_clean_files_save
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3898 $as_echo_n "checking for suffix of executables... " >&6; }
3899 if { { ac_try="$ac_link"
3900 case "(($ac_try" in
3901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3902   *) ac_try_echo=$ac_try;;
3903 esac
3904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3905 $as_echo "$ac_try_echo"; } >&5
3906   (eval "$ac_link") 2>&5
3907   ac_status=$?
3908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3909   test $ac_status = 0; }; then :
3910   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3911 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3912 # work properly (i.e., refer to `conftest.exe'), while it won't with
3913 # `rm'.
3914 for ac_file in conftest.exe conftest conftest.*; do
3915   test -f "$ac_file" || continue
3916   case $ac_file in
3917     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3918     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3919           break;;
3920     * ) break;;
3921   esac
3922 done
3923 else
3924   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3927 See \`config.log' for more details" "$LINENO" 5; }
3928 fi
3929 rm -f conftest conftest$ac_cv_exeext
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3931 $as_echo "$ac_cv_exeext" >&6; }
3932
3933 rm -f conftest.$ac_ext
3934 EXEEXT=$ac_cv_exeext
3935 ac_exeext=$EXEEXT
3936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h.  */
3938 #include <stdio.h>
3939 int
3940 main ()
3941 {
3942 FILE *f = fopen ("conftest.out", "w");
3943  return ferror (f) || fclose (f) != 0;
3944
3945   ;
3946   return 0;
3947 }
3948 _ACEOF
3949 ac_clean_files="$ac_clean_files conftest.out"
3950 # Check that the compiler produces executables we can run.  If not, either
3951 # the compiler is broken, or we cross compile.
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3953 $as_echo_n "checking whether we are cross compiling... " >&6; }
3954 if test "$cross_compiling" != yes; then
3955   { { ac_try="$ac_link"
3956 case "(($ac_try" in
3957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958   *) ac_try_echo=$ac_try;;
3959 esac
3960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3961 $as_echo "$ac_try_echo"; } >&5
3962   (eval "$ac_link") 2>&5
3963   ac_status=$?
3964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3965   test $ac_status = 0; }
3966   if { ac_try='./conftest$ac_cv_exeext'
3967   { { case "(($ac_try" in
3968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3969   *) ac_try_echo=$ac_try;;
3970 esac
3971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3972 $as_echo "$ac_try_echo"; } >&5
3973   (eval "$ac_try") 2>&5
3974   ac_status=$?
3975   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3976   test $ac_status = 0; }; }; then
3977     cross_compiling=no
3978   else
3979     if test "$cross_compiling" = maybe; then
3980         cross_compiling=yes
3981     else
3982         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3984 as_fn_error $? "cannot run C compiled programs.
3985 If you meant to cross compile, use \`--host'.
3986 See \`config.log' for more details" "$LINENO" 5; }
3987     fi
3988   fi
3989 fi
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3991 $as_echo "$cross_compiling" >&6; }
3992
3993 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3994 ac_clean_files=$ac_clean_files_save
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3996 $as_echo_n "checking for suffix of object files... " >&6; }
3997 if ${ac_cv_objext+:} false; then :
3998   $as_echo_n "(cached) " >&6
3999 else
4000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h.  */
4002
4003 int
4004 main ()
4005 {
4006
4007   ;
4008   return 0;
4009 }
4010 _ACEOF
4011 rm -f conftest.o conftest.obj
4012 if { { ac_try="$ac_compile"
4013 case "(($ac_try" in
4014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4015   *) ac_try_echo=$ac_try;;
4016 esac
4017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4018 $as_echo "$ac_try_echo"; } >&5
4019   (eval "$ac_compile") 2>&5
4020   ac_status=$?
4021   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4022   test $ac_status = 0; }; then :
4023   for ac_file in conftest.o conftest.obj conftest.*; do
4024   test -f "$ac_file" || continue;
4025   case $ac_file in
4026     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4027     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4028        break;;
4029   esac
4030 done
4031 else
4032   $as_echo "$as_me: failed program was:" >&5
4033 sed 's/^/| /' conftest.$ac_ext >&5
4034
4035 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4037 as_fn_error $? "cannot compute suffix of object files: cannot compile
4038 See \`config.log' for more details" "$LINENO" 5; }
4039 fi
4040 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4041 fi
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4043 $as_echo "$ac_cv_objext" >&6; }
4044 OBJEXT=$ac_cv_objext
4045 ac_objext=$OBJEXT
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4047 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4048 if ${ac_cv_c_compiler_gnu+:} false; then :
4049   $as_echo_n "(cached) " >&6
4050 else
4051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4052 /* end confdefs.h.  */
4053
4054 int
4055 main ()
4056 {
4057 #ifndef __GNUC__
4058        choke me
4059 #endif
4060
4061   ;
4062   return 0;
4063 }
4064 _ACEOF
4065 if ac_fn_c_try_compile "$LINENO"; then :
4066   ac_compiler_gnu=yes
4067 else
4068   ac_compiler_gnu=no
4069 fi
4070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4071 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4072
4073 fi
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4075 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4076 if test $ac_compiler_gnu = yes; then
4077   GCC=yes
4078 else
4079   GCC=
4080 fi
4081 ac_test_CFLAGS=${CFLAGS+set}
4082 ac_save_CFLAGS=$CFLAGS
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4084 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4085 if ${ac_cv_prog_cc_g+:} false; then :
4086   $as_echo_n "(cached) " >&6
4087 else
4088   ac_save_c_werror_flag=$ac_c_werror_flag
4089    ac_c_werror_flag=yes
4090    ac_cv_prog_cc_g=no
4091    CFLAGS="-g"
4092    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h.  */
4094
4095 int
4096 main ()
4097 {
4098
4099   ;
4100   return 0;
4101 }
4102 _ACEOF
4103 if ac_fn_c_try_compile "$LINENO"; then :
4104   ac_cv_prog_cc_g=yes
4105 else
4106   CFLAGS=""
4107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h.  */
4109
4110 int
4111 main ()
4112 {
4113
4114   ;
4115   return 0;
4116 }
4117 _ACEOF
4118 if ac_fn_c_try_compile "$LINENO"; then :
4119
4120 else
4121   ac_c_werror_flag=$ac_save_c_werror_flag
4122          CFLAGS="-g"
4123          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h.  */
4125
4126 int
4127 main ()
4128 {
4129
4130   ;
4131   return 0;
4132 }
4133 _ACEOF
4134 if ac_fn_c_try_compile "$LINENO"; then :
4135   ac_cv_prog_cc_g=yes
4136 fi
4137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4138 fi
4139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4140 fi
4141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4142    ac_c_werror_flag=$ac_save_c_werror_flag
4143 fi
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4145 $as_echo "$ac_cv_prog_cc_g" >&6; }
4146 if test "$ac_test_CFLAGS" = set; then
4147   CFLAGS=$ac_save_CFLAGS
4148 elif test $ac_cv_prog_cc_g = yes; then
4149   if test "$GCC" = yes; then
4150     CFLAGS="-g -O2"
4151   else
4152     CFLAGS="-g"
4153   fi
4154 else
4155   if test "$GCC" = yes; then
4156     CFLAGS="-O2"
4157   else
4158     CFLAGS=
4159   fi
4160 fi
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4162 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4163 if ${ac_cv_prog_cc_c89+:} false; then :
4164   $as_echo_n "(cached) " >&6
4165 else
4166   ac_cv_prog_cc_c89=no
4167 ac_save_CC=$CC
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h.  */
4170 #include <stdarg.h>
4171 #include <stdio.h>
4172 #include <sys/types.h>
4173 #include <sys/stat.h>
4174 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4175 struct buf { int x; };
4176 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4177 static char *e (p, i)
4178      char **p;
4179      int i;
4180 {
4181   return p[i];
4182 }
4183 static char *f (char * (*g) (char **, int), char **p, ...)
4184 {
4185   char *s;
4186   va_list v;
4187   va_start (v,p);
4188   s = g (p, va_arg (v,int));
4189   va_end (v);
4190   return s;
4191 }
4192
4193 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4194    function prototypes and stuff, but not '\xHH' hex character constants.
4195    These don't provoke an error unfortunately, instead are silently treated
4196    as 'x'.  The following induces an error, until -std is added to get
4197    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4198    array size at least.  It's necessary to write '\x00'==0 to get something
4199    that's true only with -std.  */
4200 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4201
4202 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4203    inside strings and character constants.  */
4204 #define FOO(x) 'x'
4205 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4206
4207 int test (int i, double x);
4208 struct s1 {int (*f) (int a);};
4209 struct s2 {int (*f) (double a);};
4210 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4211 int argc;
4212 char **argv;
4213 int
4214 main ()
4215 {
4216 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4217   ;
4218   return 0;
4219 }
4220 _ACEOF
4221 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4222         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4223 do
4224   CC="$ac_save_CC $ac_arg"
4225   if ac_fn_c_try_compile "$LINENO"; then :
4226   ac_cv_prog_cc_c89=$ac_arg
4227 fi
4228 rm -f core conftest.err conftest.$ac_objext
4229   test "x$ac_cv_prog_cc_c89" != "xno" && break
4230 done
4231 rm -f conftest.$ac_ext
4232 CC=$ac_save_CC
4233
4234 fi
4235 # AC_CACHE_VAL
4236 case "x$ac_cv_prog_cc_c89" in
4237   x)
4238     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4239 $as_echo "none needed" >&6; } ;;
4240   xno)
4241     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4242 $as_echo "unsupported" >&6; } ;;
4243   *)
4244     CC="$CC $ac_cv_prog_cc_c89"
4245     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4246 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4247 esac
4248 if test "x$ac_cv_prog_cc_c89" != xno; then :
4249
4250 fi
4251
4252 ac_ext=c
4253 ac_cpp='$CPP $CPPFLAGS'
4254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4257
4258 depcc="$CC"   am_compiler_list=
4259
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4261 $as_echo_n "checking dependency style of $depcc... " >&6; }
4262 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4263   $as_echo_n "(cached) " >&6
4264 else
4265   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4266   # We make a subdir and do the tests there.  Otherwise we can end up
4267   # making bogus files that we don't know about and never remove.  For
4268   # instance it was reported that on HP-UX the gcc test will end up
4269   # making a dummy file named `D' -- because `-MD' means `put the output
4270   # in D'.
4271   mkdir conftest.dir
4272   # Copy depcomp to subdir because otherwise we won't find it if we're
4273   # using a relative directory.
4274   cp "$am_depcomp" conftest.dir
4275   cd conftest.dir
4276   # We will build objects and dependencies in a subdirectory because
4277   # it helps to detect inapplicable dependency modes.  For instance
4278   # both Tru64's cc and ICC support -MD to output dependencies as a
4279   # side effect of compilation, but ICC will put the dependencies in
4280   # the current directory while Tru64 will put them in the object
4281   # directory.
4282   mkdir sub
4283
4284   am_cv_CC_dependencies_compiler_type=none
4285   if test "$am_compiler_list" = ""; then
4286      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4287   fi
4288   am__universal=false
4289   case " $depcc " in #(
4290      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4291      esac
4292
4293   for depmode in $am_compiler_list; do
4294     # Setup a source with many dependencies, because some compilers
4295     # like to wrap large dependency lists on column 80 (with \), and
4296     # we should not choose a depcomp mode which is confused by this.
4297     #
4298     # We need to recreate these files for each test, as the compiler may
4299     # overwrite some of them when testing with obscure command lines.
4300     # This happens at least with the AIX C compiler.
4301     : > sub/conftest.c
4302     for i in 1 2 3 4 5 6; do
4303       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4304       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4305       # Solaris 8's {/usr,}/bin/sh.
4306       touch sub/conftst$i.h
4307     done
4308     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4309
4310     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4311     # mode.  It turns out that the SunPro C++ compiler does not properly
4312     # handle `-M -o', and we need to detect this.  Also, some Intel
4313     # versions had trouble with output in subdirs
4314     am__obj=sub/conftest.${OBJEXT-o}
4315     am__minus_obj="-o $am__obj"
4316     case $depmode in
4317     gcc)
4318       # This depmode causes a compiler race in universal mode.
4319       test "$am__universal" = false || continue
4320       ;;
4321     nosideeffect)
4322       # after this tag, mechanisms are not by side-effect, so they'll
4323       # only be used when explicitly requested
4324       if test "x$enable_dependency_tracking" = xyes; then
4325         continue
4326       else
4327         break
4328       fi
4329       ;;
4330     msvisualcpp | msvcmsys)
4331       # This compiler won't grok `-c -o', but also, the minuso test has
4332       # not run yet.  These depmodes are late enough in the game, and
4333       # so weak that their functioning should not be impacted.
4334       am__obj=conftest.${OBJEXT-o}
4335       am__minus_obj=
4336       ;;
4337     none) break ;;
4338     esac
4339     if depmode=$depmode \
4340        source=sub/conftest.c object=$am__obj \
4341        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4342        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4343          >/dev/null 2>conftest.err &&
4344        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4345        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4346        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4347        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4348       # icc doesn't choke on unknown options, it will just issue warnings
4349       # or remarks (even with -Werror).  So we grep stderr for any message
4350       # that says an option was ignored or not supported.
4351       # When given -MP, icc 7.0 and 7.1 complain thusly:
4352       #   icc: Command line warning: ignoring option '-M'; no argument required
4353       # The diagnosis changed in icc 8.0:
4354       #   icc: Command line remark: option '-MP' not supported
4355       if (grep 'ignoring option' conftest.err ||
4356           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4357         am_cv_CC_dependencies_compiler_type=$depmode
4358         break
4359       fi
4360     fi
4361   done
4362
4363   cd ..
4364   rm -rf conftest.dir
4365 else
4366   am_cv_CC_dependencies_compiler_type=none
4367 fi
4368
4369 fi
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4371 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4372 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4373
4374  if
4375   test "x$enable_dependency_tracking" != xno \
4376   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4377   am__fastdepCC_TRUE=
4378   am__fastdepCC_FALSE='#'
4379 else
4380   am__fastdepCC_TRUE='#'
4381   am__fastdepCC_FALSE=
4382 fi
4383
4384
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4386 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4387 if ${ac_cv_path_SED+:} false; then :
4388   $as_echo_n "(cached) " >&6
4389 else
4390             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4391      for ac_i in 1 2 3 4 5 6 7; do
4392        ac_script="$ac_script$as_nl$ac_script"
4393      done
4394      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4395      { ac_script=; unset ac_script;}
4396      if test -z "$SED"; then
4397   ac_path_SED_found=false
4398   # Loop through the user's path and test for each of PROGNAME-LIST
4399   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4400 for as_dir in $PATH
4401 do
4402   IFS=$as_save_IFS
4403   test -z "$as_dir" && as_dir=.
4404     for ac_prog in sed gsed; do
4405     for ac_exec_ext in '' $ac_executable_extensions; do
4406       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4407       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4408 # Check for GNU ac_path_SED and select it if it is found.
4409   # Check for GNU $ac_path_SED
4410 case `"$ac_path_SED" --version 2>&1` in
4411 *GNU*)
4412   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4413 *)
4414   ac_count=0
4415   $as_echo_n 0123456789 >"conftest.in"
4416   while :
4417   do
4418     cat "conftest.in" "conftest.in" >"conftest.tmp"
4419     mv "conftest.tmp" "conftest.in"
4420     cp "conftest.in" "conftest.nl"
4421     $as_echo '' >> "conftest.nl"
4422     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4423     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4424     as_fn_arith $ac_count + 1 && ac_count=$as_val
4425     if test $ac_count -gt ${ac_path_SED_max-0}; then
4426       # Best one so far, save it but keep looking for a better one
4427       ac_cv_path_SED="$ac_path_SED"
4428       ac_path_SED_max=$ac_count
4429     fi
4430     # 10*(2^10) chars as input seems more than enough
4431     test $ac_count -gt 10 && break
4432   done
4433   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4434 esac
4435
4436       $ac_path_SED_found && break 3
4437     done
4438   done
4439   done
4440 IFS=$as_save_IFS
4441   if test -z "$ac_cv_path_SED"; then
4442     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4443   fi
4444 else
4445   ac_cv_path_SED=$SED
4446 fi
4447
4448 fi
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4450 $as_echo "$ac_cv_path_SED" >&6; }
4451  SED="$ac_cv_path_SED"
4452   rm -f conftest.sed
4453
4454 test -z "$SED" && SED=sed
4455 Xsed="$SED -e 1s/^X//"
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4468 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4469 if ${ac_cv_path_GREP+:} false; then :
4470   $as_echo_n "(cached) " >&6
4471 else
4472   if test -z "$GREP"; then
4473   ac_path_GREP_found=false
4474   # Loop through the user's path and test for each of PROGNAME-LIST
4475   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4476 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4477 do
4478   IFS=$as_save_IFS
4479   test -z "$as_dir" && as_dir=.
4480     for ac_prog in grep ggrep; do
4481     for ac_exec_ext in '' $ac_executable_extensions; do
4482       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4483       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4484 # Check for GNU ac_path_GREP and select it if it is found.
4485   # Check for GNU $ac_path_GREP
4486 case `"$ac_path_GREP" --version 2>&1` in
4487 *GNU*)
4488   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4489 *)
4490   ac_count=0
4491   $as_echo_n 0123456789 >"conftest.in"
4492   while :
4493   do
4494     cat "conftest.in" "conftest.in" >"conftest.tmp"
4495     mv "conftest.tmp" "conftest.in"
4496     cp "conftest.in" "conftest.nl"
4497     $as_echo 'GREP' >> "conftest.nl"
4498     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4499     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4500     as_fn_arith $ac_count + 1 && ac_count=$as_val
4501     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4502       # Best one so far, save it but keep looking for a better one
4503       ac_cv_path_GREP="$ac_path_GREP"
4504       ac_path_GREP_max=$ac_count
4505     fi
4506     # 10*(2^10) chars as input seems more than enough
4507     test $ac_count -gt 10 && break
4508   done
4509   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4510 esac
4511
4512       $ac_path_GREP_found && break 3
4513     done
4514   done
4515   done
4516 IFS=$as_save_IFS
4517   if test -z "$ac_cv_path_GREP"; then
4518     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4519   fi
4520 else
4521   ac_cv_path_GREP=$GREP
4522 fi
4523
4524 fi
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4526 $as_echo "$ac_cv_path_GREP" >&6; }
4527  GREP="$ac_cv_path_GREP"
4528
4529
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4531 $as_echo_n "checking for egrep... " >&6; }
4532 if ${ac_cv_path_EGREP+:} false; then :
4533   $as_echo_n "(cached) " >&6
4534 else
4535   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4536    then ac_cv_path_EGREP="$GREP -E"
4537    else
4538      if test -z "$EGREP"; then
4539   ac_path_EGREP_found=false
4540   # Loop through the user's path and test for each of PROGNAME-LIST
4541   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4542 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4543 do
4544   IFS=$as_save_IFS
4545   test -z "$as_dir" && as_dir=.
4546     for ac_prog in egrep; do
4547     for ac_exec_ext in '' $ac_executable_extensions; do
4548       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4549       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4550 # Check for GNU ac_path_EGREP and select it if it is found.
4551   # Check for GNU $ac_path_EGREP
4552 case `"$ac_path_EGREP" --version 2>&1` in
4553 *GNU*)
4554   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4555 *)
4556   ac_count=0
4557   $as_echo_n 0123456789 >"conftest.in"
4558   while :
4559   do
4560     cat "conftest.in" "conftest.in" >"conftest.tmp"
4561     mv "conftest.tmp" "conftest.in"
4562     cp "conftest.in" "conftest.nl"
4563     $as_echo 'EGREP' >> "conftest.nl"
4564     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4565     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4566     as_fn_arith $ac_count + 1 && ac_count=$as_val
4567     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4568       # Best one so far, save it but keep looking for a better one
4569       ac_cv_path_EGREP="$ac_path_EGREP"
4570       ac_path_EGREP_max=$ac_count
4571     fi
4572     # 10*(2^10) chars as input seems more than enough
4573     test $ac_count -gt 10 && break
4574   done
4575   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4576 esac
4577
4578       $ac_path_EGREP_found && break 3
4579     done
4580   done
4581   done
4582 IFS=$as_save_IFS
4583   if test -z "$ac_cv_path_EGREP"; then
4584     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4585   fi
4586 else
4587   ac_cv_path_EGREP=$EGREP
4588 fi
4589
4590    fi
4591 fi
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4593 $as_echo "$ac_cv_path_EGREP" >&6; }
4594  EGREP="$ac_cv_path_EGREP"
4595
4596
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4598 $as_echo_n "checking for fgrep... " >&6; }
4599 if ${ac_cv_path_FGREP+:} false; then :
4600   $as_echo_n "(cached) " >&6
4601 else
4602   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4603    then ac_cv_path_FGREP="$GREP -F"
4604    else
4605      if test -z "$FGREP"; then
4606   ac_path_FGREP_found=false
4607   # Loop through the user's path and test for each of PROGNAME-LIST
4608   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4609 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4610 do
4611   IFS=$as_save_IFS
4612   test -z "$as_dir" && as_dir=.
4613     for ac_prog in fgrep; do
4614     for ac_exec_ext in '' $ac_executable_extensions; do
4615       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4616       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4617 # Check for GNU ac_path_FGREP and select it if it is found.
4618   # Check for GNU $ac_path_FGREP
4619 case `"$ac_path_FGREP" --version 2>&1` in
4620 *GNU*)
4621   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4622 *)
4623   ac_count=0
4624   $as_echo_n 0123456789 >"conftest.in"
4625   while :
4626   do
4627     cat "conftest.in" "conftest.in" >"conftest.tmp"
4628     mv "conftest.tmp" "conftest.in"
4629     cp "conftest.in" "conftest.nl"
4630     $as_echo 'FGREP' >> "conftest.nl"
4631     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4632     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4633     as_fn_arith $ac_count + 1 && ac_count=$as_val
4634     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4635       # Best one so far, save it but keep looking for a better one
4636       ac_cv_path_FGREP="$ac_path_FGREP"
4637       ac_path_FGREP_max=$ac_count
4638     fi
4639     # 10*(2^10) chars as input seems more than enough
4640     test $ac_count -gt 10 && break
4641   done
4642   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4643 esac
4644
4645       $ac_path_FGREP_found && break 3
4646     done
4647   done
4648   done
4649 IFS=$as_save_IFS
4650   if test -z "$ac_cv_path_FGREP"; then
4651     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4652   fi
4653 else
4654   ac_cv_path_FGREP=$FGREP
4655 fi
4656
4657    fi
4658 fi
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4660 $as_echo "$ac_cv_path_FGREP" >&6; }
4661  FGREP="$ac_cv_path_FGREP"
4662
4663
4664 test -z "$GREP" && GREP=grep
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684 # Check whether --with-gnu-ld was given.
4685 if test "${with_gnu_ld+set}" = set; then :
4686   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4687 else
4688   with_gnu_ld=no
4689 fi
4690
4691 ac_prog=ld
4692 if test "$GCC" = yes; then
4693   # Check if gcc -print-prog-name=ld gives a path.
4694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4695 $as_echo_n "checking for ld used by $CC... " >&6; }
4696   case $host in
4697   *-*-mingw*)
4698     # gcc leaves a trailing carriage return which upsets mingw
4699     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4700   *)
4701     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4702   esac
4703   case $ac_prog in
4704     # Accept absolute paths.
4705     [\\/]* | ?:[\\/]*)
4706       re_direlt='/[^/][^/]*/\.\./'
4707       # Canonicalize the pathname of ld
4708       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4709       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4710         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4711       done
4712       test -z "$LD" && LD="$ac_prog"
4713       ;;
4714   "")
4715     # If it fails, then pretend we aren't using GCC.
4716     ac_prog=ld
4717     ;;
4718   *)
4719     # If it is relative, then search for the first ld in PATH.
4720     with_gnu_ld=unknown
4721     ;;
4722   esac
4723 elif test "$with_gnu_ld" = yes; then
4724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4725 $as_echo_n "checking for GNU ld... " >&6; }
4726 else
4727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4728 $as_echo_n "checking for non-GNU ld... " >&6; }
4729 fi
4730 if ${lt_cv_path_LD+:} false; then :
4731   $as_echo_n "(cached) " >&6
4732 else
4733   if test -z "$LD"; then
4734   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4735   for ac_dir in $PATH; do
4736     IFS="$lt_save_ifs"
4737     test -z "$ac_dir" && ac_dir=.
4738     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4739       lt_cv_path_LD="$ac_dir/$ac_prog"
4740       # Check to see if the program is GNU ld.  I'd rather use --version,
4741       # but apparently some variants of GNU ld only accept -v.
4742       # Break only if it was the GNU/non-GNU ld that we prefer.
4743       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4744       *GNU* | *'with BFD'*)
4745         test "$with_gnu_ld" != no && break
4746         ;;
4747       *)
4748         test "$with_gnu_ld" != yes && break
4749         ;;
4750       esac
4751     fi
4752   done
4753   IFS="$lt_save_ifs"
4754 else
4755   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4756 fi
4757 fi
4758
4759 LD="$lt_cv_path_LD"
4760 if test -n "$LD"; then
4761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4762 $as_echo "$LD" >&6; }
4763 else
4764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4765 $as_echo "no" >&6; }
4766 fi
4767 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4769 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4770 if ${lt_cv_prog_gnu_ld+:} false; then :
4771   $as_echo_n "(cached) " >&6
4772 else
4773   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4774 case `$LD -v 2>&1 </dev/null` in
4775 *GNU* | *'with BFD'*)
4776   lt_cv_prog_gnu_ld=yes
4777   ;;
4778 *)
4779   lt_cv_prog_gnu_ld=no
4780   ;;
4781 esac
4782 fi
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4784 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4785 with_gnu_ld=$lt_cv_prog_gnu_ld
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4796 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4797 if ${lt_cv_path_NM+:} false; then :
4798   $as_echo_n "(cached) " >&6
4799 else
4800   if test -n "$NM"; then
4801   # Let the user override the test.
4802   lt_cv_path_NM="$NM"
4803 else
4804   lt_nm_to_check="${ac_tool_prefix}nm"
4805   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4806     lt_nm_to_check="$lt_nm_to_check nm"
4807   fi
4808   for lt_tmp_nm in $lt_nm_to_check; do
4809     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4810     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4811       IFS="$lt_save_ifs"
4812       test -z "$ac_dir" && ac_dir=.
4813       tmp_nm="$ac_dir/$lt_tmp_nm"
4814       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4815         # Check to see if the nm accepts a BSD-compat flag.
4816         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4817         #   nm: unknown option "B" ignored
4818         # Tru64's nm complains that /dev/null is an invalid object file
4819         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4820         */dev/null* | *'Invalid file or object type'*)
4821           lt_cv_path_NM="$tmp_nm -B"
4822           break
4823           ;;
4824         *)
4825           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4826           */dev/null*)
4827             lt_cv_path_NM="$tmp_nm -p"
4828             break
4829             ;;
4830           *)
4831             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4832             continue # so that we can try to find one that supports BSD flags
4833             ;;
4834           esac
4835           ;;
4836         esac
4837       fi
4838     done
4839     IFS="$lt_save_ifs"
4840   done
4841   : ${lt_cv_path_NM=no}
4842 fi
4843 fi
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4845 $as_echo "$lt_cv_path_NM" >&6; }
4846 if test "$lt_cv_path_NM" != "no"; then
4847   NM="$lt_cv_path_NM"
4848 else
4849   # Didn't find any BSD compatible name lister, look for dumpbin.
4850   if test -n "$DUMPBIN"; then :
4851     # Let the user override the test.
4852   else
4853     if test -n "$ac_tool_prefix"; then
4854   for ac_prog in dumpbin "link -dump"
4855   do
4856     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4857 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4859 $as_echo_n "checking for $ac_word... " >&6; }
4860 if ${ac_cv_prog_DUMPBIN+:} false; then :
4861   $as_echo_n "(cached) " >&6
4862 else
4863   if test -n "$DUMPBIN"; then
4864   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4865 else
4866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4867 for as_dir in $PATH
4868 do
4869   IFS=$as_save_IFS
4870   test -z "$as_dir" && as_dir=.
4871     for ac_exec_ext in '' $ac_executable_extensions; do
4872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4873     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4875     break 2
4876   fi
4877 done
4878   done
4879 IFS=$as_save_IFS
4880
4881 fi
4882 fi
4883 DUMPBIN=$ac_cv_prog_DUMPBIN
4884 if test -n "$DUMPBIN"; then
4885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4886 $as_echo "$DUMPBIN" >&6; }
4887 else
4888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4889 $as_echo "no" >&6; }
4890 fi
4891
4892
4893     test -n "$DUMPBIN" && break
4894   done
4895 fi
4896 if test -z "$DUMPBIN"; then
4897   ac_ct_DUMPBIN=$DUMPBIN
4898   for ac_prog in dumpbin "link -dump"
4899 do
4900   # Extract the first word of "$ac_prog", so it can be a program name with args.
4901 set dummy $ac_prog; ac_word=$2
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4903 $as_echo_n "checking for $ac_word... " >&6; }
4904 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4905   $as_echo_n "(cached) " >&6
4906 else
4907   if test -n "$ac_ct_DUMPBIN"; then
4908   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4909 else
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911 for as_dir in $PATH
4912 do
4913   IFS=$as_save_IFS
4914   test -z "$as_dir" && as_dir=.
4915     for ac_exec_ext in '' $ac_executable_extensions; do
4916   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4917     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4918     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4919     break 2
4920   fi
4921 done
4922   done
4923 IFS=$as_save_IFS
4924
4925 fi
4926 fi
4927 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4928 if test -n "$ac_ct_DUMPBIN"; then
4929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4930 $as_echo "$ac_ct_DUMPBIN" >&6; }
4931 else
4932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933 $as_echo "no" >&6; }
4934 fi
4935
4936
4937   test -n "$ac_ct_DUMPBIN" && break
4938 done
4939
4940   if test "x$ac_ct_DUMPBIN" = x; then
4941     DUMPBIN=":"
4942   else
4943     case $cross_compiling:$ac_tool_warned in
4944 yes:)
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4947 ac_tool_warned=yes ;;
4948 esac
4949     DUMPBIN=$ac_ct_DUMPBIN
4950   fi
4951 fi
4952
4953     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4954     *COFF*)
4955       DUMPBIN="$DUMPBIN -symbols"
4956       ;;
4957     *)
4958       DUMPBIN=:
4959       ;;
4960     esac
4961   fi
4962
4963   if test "$DUMPBIN" != ":"; then
4964     NM="$DUMPBIN"
4965   fi
4966 fi
4967 test -z "$NM" && NM=nm
4968
4969
4970
4971
4972
4973
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4975 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4976 if ${lt_cv_nm_interface+:} false; then :
4977   $as_echo_n "(cached) " >&6
4978 else
4979   lt_cv_nm_interface="BSD nm"
4980   echo "int some_variable = 0;" > conftest.$ac_ext
4981   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4982   (eval "$ac_compile" 2>conftest.err)
4983   cat conftest.err >&5
4984   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4985   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4986   cat conftest.err >&5
4987   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4988   cat conftest.out >&5
4989   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4990     lt_cv_nm_interface="MS dumpbin"
4991   fi
4992   rm -f conftest*
4993 fi
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4995 $as_echo "$lt_cv_nm_interface" >&6; }
4996
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4998 $as_echo_n "checking whether ln -s works... " >&6; }
4999 LN_S=$as_ln_s
5000 if test "$LN_S" = "ln -s"; then
5001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5002 $as_echo "yes" >&6; }
5003 else
5004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5005 $as_echo "no, using $LN_S" >&6; }
5006 fi
5007
5008 # find the maximum length of command line arguments
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5010 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5011 if ${lt_cv_sys_max_cmd_len+:} false; then :
5012   $as_echo_n "(cached) " >&6
5013 else
5014     i=0
5015   teststring="ABCD"
5016
5017   case $build_os in
5018   msdosdjgpp*)
5019     # On DJGPP, this test can blow up pretty badly due to problems in libc
5020     # (any single argument exceeding 2000 bytes causes a buffer overrun
5021     # during glob expansion).  Even if it were fixed, the result of this
5022     # check would be larger than it should be.
5023     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5024     ;;
5025
5026   gnu*)
5027     # Under GNU Hurd, this test is not required because there is
5028     # no limit to the length of command line arguments.
5029     # Libtool will interpret -1 as no limit whatsoever
5030     lt_cv_sys_max_cmd_len=-1;
5031     ;;
5032
5033   cygwin* | mingw* | cegcc*)
5034     # On Win9x/ME, this test blows up -- it succeeds, but takes
5035     # about 5 minutes as the teststring grows exponentially.
5036     # Worse, since 9x/ME are not pre-emptively multitasking,
5037     # you end up with a "frozen" computer, even though with patience
5038     # the test eventually succeeds (with a max line length of 256k).
5039     # Instead, let's just punt: use the minimum linelength reported by
5040     # all of the supported platforms: 8192 (on NT/2K/XP).
5041     lt_cv_sys_max_cmd_len=8192;
5042     ;;
5043
5044   mint*)
5045     # On MiNT this can take a long time and run out of memory.
5046     lt_cv_sys_max_cmd_len=8192;
5047     ;;
5048
5049   amigaos*)
5050     # On AmigaOS with pdksh, this test takes hours, literally.
5051     # So we just punt and use a minimum line length of 8192.
5052     lt_cv_sys_max_cmd_len=8192;
5053     ;;
5054
5055   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5056     # This has been around since 386BSD, at least.  Likely further.
5057     if test -x /sbin/sysctl; then
5058       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5059     elif test -x /usr/sbin/sysctl; then
5060       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5061     else
5062       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5063     fi
5064     # And add a safety zone
5065     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5066     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5067     ;;
5068
5069   interix*)
5070     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5071     lt_cv_sys_max_cmd_len=196608
5072     ;;
5073
5074   osf*)
5075     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5076     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5077     # nice to cause kernel panics so lets avoid the loop below.
5078     # First set a reasonable default.
5079     lt_cv_sys_max_cmd_len=16384
5080     #
5081     if test -x /sbin/sysconfig; then
5082       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5083         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5084       esac
5085     fi
5086     ;;
5087   sco3.2v5*)
5088     lt_cv_sys_max_cmd_len=102400
5089     ;;
5090   sysv5* | sco5v6* | sysv4.2uw2*)
5091     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5092     if test -n "$kargmax"; then
5093       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5094     else
5095       lt_cv_sys_max_cmd_len=32768
5096     fi
5097     ;;
5098   *)
5099     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5100     if test -n "$lt_cv_sys_max_cmd_len"; then
5101       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5102       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5103     else
5104       # Make teststring a little bigger before we do anything with it.
5105       # a 1K string should be a reasonable start.
5106       for i in 1 2 3 4 5 6 7 8 ; do
5107         teststring=$teststring$teststring
5108       done
5109       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5110       # If test is not a shell built-in, we'll probably end up computing a
5111       # maximum length that is only half of the actual maximum length, but
5112       # we can't tell.
5113       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5114                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5115               test $i != 17 # 1/2 MB should be enough
5116       do
5117         i=`expr $i + 1`
5118         teststring=$teststring$teststring
5119       done
5120       # Only check the string length outside the loop.
5121       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5122       teststring=
5123       # Add a significant safety factor because C++ compilers can tack on
5124       # massive amounts of additional arguments before passing them to the
5125       # linker.  It appears as though 1/2 is a usable value.
5126       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5127     fi
5128     ;;
5129   esac
5130
5131 fi
5132
5133 if test -n $lt_cv_sys_max_cmd_len ; then
5134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5135 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5136 else
5137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5138 $as_echo "none" >&6; }
5139 fi
5140 max_cmd_len=$lt_cv_sys_max_cmd_len
5141
5142
5143
5144
5145
5146
5147 : ${CP="cp -f"}
5148 : ${MV="mv -f"}
5149 : ${RM="rm -f"}
5150
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5152 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5153 # Try some XSI features
5154 xsi_shell=no
5155 ( _lt_dummy="a/b/c"
5156   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5157       = c,a/b,b/c, \
5158     && eval 'test $(( 1 + 1 )) -eq 2 \
5159     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5160   && xsi_shell=yes
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5162 $as_echo "$xsi_shell" >&6; }
5163
5164
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5166 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5167 lt_shell_append=no
5168 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5169     >/dev/null 2>&1 \
5170   && lt_shell_append=yes
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5172 $as_echo "$lt_shell_append" >&6; }
5173
5174
5175 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5176   lt_unset=unset
5177 else
5178   lt_unset=false
5179 fi
5180
5181
5182
5183
5184
5185 # test EBCDIC or ASCII
5186 case `echo X|tr X '\101'` in
5187  A) # ASCII based system
5188     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5189   lt_SP2NL='tr \040 \012'
5190   lt_NL2SP='tr \015\012 \040\040'
5191   ;;
5192  *) # EBCDIC based system
5193   lt_SP2NL='tr \100 \n'
5194   lt_NL2SP='tr \r\n \100\100'
5195   ;;
5196 esac
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5207 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5208 if ${lt_cv_to_host_file_cmd+:} false; then :
5209   $as_echo_n "(cached) " >&6
5210 else
5211   case $host in
5212   *-*-mingw* )
5213     case $build in
5214       *-*-mingw* ) # actually msys
5215         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5216         ;;
5217       *-*-cygwin* )
5218         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5219         ;;
5220       * ) # otherwise, assume *nix
5221         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5222         ;;
5223     esac
5224     ;;
5225   *-*-cygwin* )
5226     case $build in
5227       *-*-mingw* ) # actually msys
5228         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5229         ;;
5230       *-*-cygwin* )
5231         lt_cv_to_host_file_cmd=func_convert_file_noop
5232         ;;
5233       * ) # otherwise, assume *nix
5234         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5235         ;;
5236     esac
5237     ;;
5238   * ) # unhandled hosts (and "normal" native builds)
5239     lt_cv_to_host_file_cmd=func_convert_file_noop
5240     ;;
5241 esac
5242
5243 fi
5244
5245 to_host_file_cmd=$lt_cv_to_host_file_cmd
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5247 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5248
5249
5250
5251
5252
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5254 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5255 if ${lt_cv_to_tool_file_cmd+:} false; then :
5256   $as_echo_n "(cached) " >&6
5257 else
5258   #assume ordinary cross tools, or native build.
5259 lt_cv_to_tool_file_cmd=func_convert_file_noop
5260 case $host in
5261   *-*-mingw* )
5262     case $build in
5263       *-*-mingw* ) # actually msys
5264         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5265         ;;
5266     esac
5267     ;;
5268 esac
5269
5270 fi
5271
5272 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5274 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5275
5276
5277
5278
5279
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5281 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5282 if ${lt_cv_ld_reload_flag+:} false; then :
5283   $as_echo_n "(cached) " >&6
5284 else
5285   lt_cv_ld_reload_flag='-r'
5286 fi
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5288 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5289 reload_flag=$lt_cv_ld_reload_flag
5290 case $reload_flag in
5291 "" | " "*) ;;
5292 *) reload_flag=" $reload_flag" ;;
5293 esac
5294 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5295 case $host_os in
5296   cygwin* | mingw* | pw32* | cegcc*)
5297     if test "$GCC" != yes; then
5298       reload_cmds=false
5299     fi
5300     ;;
5301   darwin*)
5302     if test "$GCC" = yes; then
5303       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5304     else
5305       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5306     fi
5307     ;;
5308 esac
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318 if test -n "$ac_tool_prefix"; then
5319   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5320 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5322 $as_echo_n "checking for $ac_word... " >&6; }
5323 if ${ac_cv_prog_OBJDUMP+:} false; then :
5324   $as_echo_n "(cached) " >&6
5325 else
5326   if test -n "$OBJDUMP"; then
5327   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5328 else
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330 for as_dir in $PATH
5331 do
5332   IFS=$as_save_IFS
5333   test -z "$as_dir" && as_dir=.
5334     for ac_exec_ext in '' $ac_executable_extensions; do
5335   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5336     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5337     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338     break 2
5339   fi
5340 done
5341   done
5342 IFS=$as_save_IFS
5343
5344 fi
5345 fi
5346 OBJDUMP=$ac_cv_prog_OBJDUMP
5347 if test -n "$OBJDUMP"; then
5348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5349 $as_echo "$OBJDUMP" >&6; }
5350 else
5351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5352 $as_echo "no" >&6; }
5353 fi
5354
5355
5356 fi
5357 if test -z "$ac_cv_prog_OBJDUMP"; then
5358   ac_ct_OBJDUMP=$OBJDUMP
5359   # Extract the first word of "objdump", so it can be a program name with args.
5360 set dummy objdump; ac_word=$2
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5362 $as_echo_n "checking for $ac_word... " >&6; }
5363 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5364   $as_echo_n "(cached) " >&6
5365 else
5366   if test -n "$ac_ct_OBJDUMP"; then
5367   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5368 else
5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 for as_dir in $PATH
5371 do
5372   IFS=$as_save_IFS
5373   test -z "$as_dir" && as_dir=.
5374     for ac_exec_ext in '' $ac_executable_extensions; do
5375   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5376     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5378     break 2
5379   fi
5380 done
5381   done
5382 IFS=$as_save_IFS
5383
5384 fi
5385 fi
5386 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5387 if test -n "$ac_ct_OBJDUMP"; then
5388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5389 $as_echo "$ac_ct_OBJDUMP" >&6; }
5390 else
5391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392 $as_echo "no" >&6; }
5393 fi
5394
5395   if test "x$ac_ct_OBJDUMP" = x; then
5396     OBJDUMP="false"
5397   else
5398     case $cross_compiling:$ac_tool_warned in
5399 yes:)
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5401 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5402 ac_tool_warned=yes ;;
5403 esac
5404     OBJDUMP=$ac_ct_OBJDUMP
5405   fi
5406 else
5407   OBJDUMP="$ac_cv_prog_OBJDUMP"
5408 fi
5409
5410 test -z "$OBJDUMP" && OBJDUMP=objdump
5411
5412
5413
5414
5415
5416
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5418 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5419 if ${lt_cv_deplibs_check_method+:} false; then :
5420   $as_echo_n "(cached) " >&6
5421 else
5422   lt_cv_file_magic_cmd='$MAGIC_CMD'
5423 lt_cv_file_magic_test_file=
5424 lt_cv_deplibs_check_method='unknown'
5425 # Need to set the preceding variable on all platforms that support
5426 # interlibrary dependencies.
5427 # 'none' -- dependencies not supported.
5428 # `unknown' -- same as none, but documents that we really don't know.
5429 # 'pass_all' -- all dependencies passed with no checks.
5430 # 'test_compile' -- check by making test program.
5431 # 'file_magic [[regex]]' -- check by looking for files in library path
5432 # which responds to the $file_magic_cmd with a given extended regex.
5433 # If you have `file' or equivalent on your system and you're not sure
5434 # whether `pass_all' will *always* work, you probably want this one.
5435
5436 case $host_os in
5437 aix[4-9]*)
5438   lt_cv_deplibs_check_method=pass_all
5439   ;;
5440
5441 beos*)
5442   lt_cv_deplibs_check_method=pass_all
5443   ;;
5444
5445 bsdi[45]*)
5446   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5447   lt_cv_file_magic_cmd='/usr/bin/file -L'
5448   lt_cv_file_magic_test_file=/shlib/libc.so
5449   ;;
5450
5451 cygwin*)
5452   # func_win32_libid is a shell function defined in ltmain.sh
5453   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5454   lt_cv_file_magic_cmd='func_win32_libid'
5455   ;;
5456
5457 mingw* | pw32*)
5458   # Base MSYS/MinGW do not provide the 'file' command needed by
5459   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5460   # unless we find 'file', for example because we are cross-compiling.
5461   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5462   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5463     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5464     lt_cv_file_magic_cmd='func_win32_libid'
5465   else
5466     # Keep this pattern in sync with the one in func_win32_libid.
5467     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5468     lt_cv_file_magic_cmd='$OBJDUMP -f'
5469   fi
5470   ;;
5471
5472 cegcc*)
5473   # use the weaker test based on 'objdump'. See mingw*.
5474   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5475   lt_cv_file_magic_cmd='$OBJDUMP -f'
5476   ;;
5477
5478 darwin* | rhapsody*)
5479   lt_cv_deplibs_check_method=pass_all
5480   ;;
5481
5482 freebsd* | dragonfly*)
5483   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5484     case $host_cpu in
5485     i*86 )
5486       # Not sure whether the presence of OpenBSD here was a mistake.
5487       # Let's accept both of them until this is cleared up.
5488       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5489       lt_cv_file_magic_cmd=/usr/bin/file
5490       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5491       ;;
5492     esac
5493   else
5494     lt_cv_deplibs_check_method=pass_all
5495   fi
5496   ;;
5497
5498 gnu*)
5499   lt_cv_deplibs_check_method=pass_all
5500   ;;
5501
5502 haiku*)
5503   lt_cv_deplibs_check_method=pass_all
5504   ;;
5505
5506 hpux10.20* | hpux11*)
5507   lt_cv_file_magic_cmd=/usr/bin/file
5508   case $host_cpu in
5509   ia64*)
5510     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5511     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5512     ;;
5513   hppa*64*)
5514     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]'
5515     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5516     ;;
5517   *)
5518     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5519     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5520     ;;
5521   esac
5522   ;;
5523
5524 interix[3-9]*)
5525   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5526   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5527   ;;
5528
5529 irix5* | irix6* | nonstopux*)
5530   case $LD in
5531   *-32|*"-32 ") libmagic=32-bit;;
5532   *-n32|*"-n32 ") libmagic=N32;;
5533   *-64|*"-64 ") libmagic=64-bit;;
5534   *) libmagic=never-match;;
5535   esac
5536   lt_cv_deplibs_check_method=pass_all
5537   ;;
5538
5539 # This must be Linux ELF.
5540 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5541   lt_cv_deplibs_check_method=pass_all
5542   ;;
5543
5544 netbsd* | netbsdelf*-gnu)
5545   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5546     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5547   else
5548     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5549   fi
5550   ;;
5551
5552 newos6*)
5553   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5554   lt_cv_file_magic_cmd=/usr/bin/file
5555   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5556   ;;
5557
5558 *nto* | *qnx*)
5559   lt_cv_deplibs_check_method=pass_all
5560   ;;
5561
5562 openbsd*)
5563   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5564     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5565   else
5566     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5567   fi
5568   ;;
5569
5570 osf3* | osf4* | osf5*)
5571   lt_cv_deplibs_check_method=pass_all
5572   ;;
5573
5574 rdos*)
5575   lt_cv_deplibs_check_method=pass_all
5576   ;;
5577
5578 solaris*)
5579   lt_cv_deplibs_check_method=pass_all
5580   ;;
5581
5582 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5583   lt_cv_deplibs_check_method=pass_all
5584   ;;
5585
5586 sysv4 | sysv4.3*)
5587   case $host_vendor in
5588   motorola)
5589     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]'
5590     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5591     ;;
5592   ncr)
5593     lt_cv_deplibs_check_method=pass_all
5594     ;;
5595   sequent)
5596     lt_cv_file_magic_cmd='/bin/file'
5597     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5598     ;;
5599   sni)
5600     lt_cv_file_magic_cmd='/bin/file'
5601     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5602     lt_cv_file_magic_test_file=/lib/libc.so
5603     ;;
5604   siemens)
5605     lt_cv_deplibs_check_method=pass_all
5606     ;;
5607   pc)
5608     lt_cv_deplibs_check_method=pass_all
5609     ;;
5610   esac
5611   ;;
5612
5613 tpf*)
5614   lt_cv_deplibs_check_method=pass_all
5615   ;;
5616 esac
5617
5618 fi
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5620 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5621
5622 file_magic_glob=
5623 want_nocaseglob=no
5624 if test "$build" = "$host"; then
5625   case $host_os in
5626   mingw* | pw32*)
5627     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5628       want_nocaseglob=yes
5629     else
5630       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5631     fi
5632     ;;
5633   esac
5634 fi
5635
5636 file_magic_cmd=$lt_cv_file_magic_cmd
5637 deplibs_check_method=$lt_cv_deplibs_check_method
5638 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661 if test -n "$ac_tool_prefix"; then
5662   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5663 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if ${ac_cv_prog_DLLTOOL+:} false; then :
5667   $as_echo_n "(cached) " >&6
5668 else
5669   if test -n "$DLLTOOL"; then
5670   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5671 else
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 for as_dir in $PATH
5674 do
5675   IFS=$as_save_IFS
5676   test -z "$as_dir" && as_dir=.
5677     for ac_exec_ext in '' $ac_executable_extensions; do
5678   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5679     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5681     break 2
5682   fi
5683 done
5684   done
5685 IFS=$as_save_IFS
5686
5687 fi
5688 fi
5689 DLLTOOL=$ac_cv_prog_DLLTOOL
5690 if test -n "$DLLTOOL"; then
5691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5692 $as_echo "$DLLTOOL" >&6; }
5693 else
5694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695 $as_echo "no" >&6; }
5696 fi
5697
5698
5699 fi
5700 if test -z "$ac_cv_prog_DLLTOOL"; then
5701   ac_ct_DLLTOOL=$DLLTOOL
5702   # Extract the first word of "dlltool", so it can be a program name with args.
5703 set dummy dlltool; ac_word=$2
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5705 $as_echo_n "checking for $ac_word... " >&6; }
5706 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5707   $as_echo_n "(cached) " >&6
5708 else
5709   if test -n "$ac_ct_DLLTOOL"; then
5710   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5711 else
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 for as_dir in $PATH
5714 do
5715   IFS=$as_save_IFS
5716   test -z "$as_dir" && as_dir=.
5717     for ac_exec_ext in '' $ac_executable_extensions; do
5718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5719     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5721     break 2
5722   fi
5723 done
5724   done
5725 IFS=$as_save_IFS
5726
5727 fi
5728 fi
5729 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5730 if test -n "$ac_ct_DLLTOOL"; then
5731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5732 $as_echo "$ac_ct_DLLTOOL" >&6; }
5733 else
5734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5735 $as_echo "no" >&6; }
5736 fi
5737
5738   if test "x$ac_ct_DLLTOOL" = x; then
5739     DLLTOOL="false"
5740   else
5741     case $cross_compiling:$ac_tool_warned in
5742 yes:)
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5745 ac_tool_warned=yes ;;
5746 esac
5747     DLLTOOL=$ac_ct_DLLTOOL
5748   fi
5749 else
5750   DLLTOOL="$ac_cv_prog_DLLTOOL"
5751 fi
5752
5753 test -z "$DLLTOOL" && DLLTOOL=dlltool
5754
5755
5756
5757
5758
5759
5760
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5762 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5763 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5764   $as_echo_n "(cached) " >&6
5765 else
5766   lt_cv_sharedlib_from_linklib_cmd='unknown'
5767
5768 case $host_os in
5769 cygwin* | mingw* | pw32* | cegcc*)
5770   # two different shell functions defined in ltmain.sh
5771   # decide which to use based on capabilities of $DLLTOOL
5772   case `$DLLTOOL --help 2>&1` in
5773   *--identify-strict*)
5774     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5775     ;;
5776   *)
5777     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5778     ;;
5779   esac
5780   ;;
5781 *)
5782   # fallback: assume linklib IS sharedlib
5783   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5784   ;;
5785 esac
5786
5787 fi
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5789 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5790 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5791 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5792
5793
5794
5795
5796
5797
5798
5799
5800 if test -n "$ac_tool_prefix"; then
5801   for ac_prog in ar
5802   do
5803     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5804 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5806 $as_echo_n "checking for $ac_word... " >&6; }
5807 if ${ac_cv_prog_AR+:} false; then :
5808   $as_echo_n "(cached) " >&6
5809 else
5810   if test -n "$AR"; then
5811   ac_cv_prog_AR="$AR" # Let the user override the test.
5812 else
5813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5814 for as_dir in $PATH
5815 do
5816   IFS=$as_save_IFS
5817   test -z "$as_dir" && as_dir=.
5818     for ac_exec_ext in '' $ac_executable_extensions; do
5819   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5820     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5821     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5822     break 2
5823   fi
5824 done
5825   done
5826 IFS=$as_save_IFS
5827
5828 fi
5829 fi
5830 AR=$ac_cv_prog_AR
5831 if test -n "$AR"; then
5832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5833 $as_echo "$AR" >&6; }
5834 else
5835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5836 $as_echo "no" >&6; }
5837 fi
5838
5839
5840     test -n "$AR" && break
5841   done
5842 fi
5843 if test -z "$AR"; then
5844   ac_ct_AR=$AR
5845   for ac_prog in ar
5846 do
5847   # Extract the first word of "$ac_prog", so it can be a program name with args.
5848 set dummy $ac_prog; ac_word=$2
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5850 $as_echo_n "checking for $ac_word... " >&6; }
5851 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5852   $as_echo_n "(cached) " >&6
5853 else
5854   if test -n "$ac_ct_AR"; then
5855   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5856 else
5857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5858 for as_dir in $PATH
5859 do
5860   IFS=$as_save_IFS
5861   test -z "$as_dir" && as_dir=.
5862     for ac_exec_ext in '' $ac_executable_extensions; do
5863   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5864     ac_cv_prog_ac_ct_AR="$ac_prog"
5865     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5866     break 2
5867   fi
5868 done
5869   done
5870 IFS=$as_save_IFS
5871
5872 fi
5873 fi
5874 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5875 if test -n "$ac_ct_AR"; then
5876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5877 $as_echo "$ac_ct_AR" >&6; }
5878 else
5879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 $as_echo "no" >&6; }
5881 fi
5882
5883
5884   test -n "$ac_ct_AR" && break
5885 done
5886
5887   if test "x$ac_ct_AR" = x; then
5888     AR="false"
5889   else
5890     case $cross_compiling:$ac_tool_warned in
5891 yes:)
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5894 ac_tool_warned=yes ;;
5895 esac
5896     AR=$ac_ct_AR
5897   fi
5898 fi
5899
5900 : ${AR=ar}
5901 : ${AR_FLAGS=cru}
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5914 $as_echo_n "checking for archiver @FILE support... " >&6; }
5915 if ${lt_cv_ar_at_file+:} false; then :
5916   $as_echo_n "(cached) " >&6
5917 else
5918   lt_cv_ar_at_file=no
5919    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5920 /* end confdefs.h.  */
5921
5922 int
5923 main ()
5924 {
5925
5926   ;
5927   return 0;
5928 }
5929 _ACEOF
5930 if ac_fn_c_try_compile "$LINENO"; then :
5931   echo conftest.$ac_objext > conftest.lst
5932       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5933       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5934   (eval $lt_ar_try) 2>&5
5935   ac_status=$?
5936   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5937   test $ac_status = 0; }
5938       if test "$ac_status" -eq 0; then
5939         # Ensure the archiver fails upon bogus file names.
5940         rm -f conftest.$ac_objext libconftest.a
5941         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5942   (eval $lt_ar_try) 2>&5
5943   ac_status=$?
5944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5945   test $ac_status = 0; }
5946         if test "$ac_status" -ne 0; then
5947           lt_cv_ar_at_file=@
5948         fi
5949       fi
5950       rm -f conftest.* libconftest.a
5951
5952 fi
5953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5954
5955 fi
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5957 $as_echo "$lt_cv_ar_at_file" >&6; }
5958
5959 if test "x$lt_cv_ar_at_file" = xno; then
5960   archiver_list_spec=
5961 else
5962   archiver_list_spec=$lt_cv_ar_at_file
5963 fi
5964
5965
5966
5967
5968
5969
5970
5971 if test -n "$ac_tool_prefix"; then
5972   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5973 set dummy ${ac_tool_prefix}strip; ac_word=$2
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5975 $as_echo_n "checking for $ac_word... " >&6; }
5976 if ${ac_cv_prog_STRIP+:} false; then :
5977   $as_echo_n "(cached) " >&6
5978 else
5979   if test -n "$STRIP"; then
5980   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5981 else
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5983 for as_dir in $PATH
5984 do
5985   IFS=$as_save_IFS
5986   test -z "$as_dir" && as_dir=.
5987     for ac_exec_ext in '' $ac_executable_extensions; do
5988   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5989     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5990     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5991     break 2
5992   fi
5993 done
5994   done
5995 IFS=$as_save_IFS
5996
5997 fi
5998 fi
5999 STRIP=$ac_cv_prog_STRIP
6000 if test -n "$STRIP"; then
6001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6002 $as_echo "$STRIP" >&6; }
6003 else
6004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6005 $as_echo "no" >&6; }
6006 fi
6007
6008
6009 fi
6010 if test -z "$ac_cv_prog_STRIP"; then
6011   ac_ct_STRIP=$STRIP
6012   # Extract the first word of "strip", so it can be a program name with args.
6013 set dummy strip; ac_word=$2
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6017   $as_echo_n "(cached) " >&6
6018 else
6019   if test -n "$ac_ct_STRIP"; then
6020   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6021 else
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 for as_dir in $PATH
6024 do
6025   IFS=$as_save_IFS
6026   test -z "$as_dir" && as_dir=.
6027     for ac_exec_ext in '' $ac_executable_extensions; do
6028   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6029     ac_cv_prog_ac_ct_STRIP="strip"
6030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6031     break 2
6032   fi
6033 done
6034   done
6035 IFS=$as_save_IFS
6036
6037 fi
6038 fi
6039 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6040 if test -n "$ac_ct_STRIP"; then
6041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6042 $as_echo "$ac_ct_STRIP" >&6; }
6043 else
6044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 $as_echo "no" >&6; }
6046 fi
6047
6048   if test "x$ac_ct_STRIP" = x; then
6049     STRIP=":"
6050   else
6051     case $cross_compiling:$ac_tool_warned in
6052 yes:)
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6055 ac_tool_warned=yes ;;
6056 esac
6057     STRIP=$ac_ct_STRIP
6058   fi
6059 else
6060   STRIP="$ac_cv_prog_STRIP"
6061 fi
6062
6063 test -z "$STRIP" && STRIP=:
6064
6065
6066
6067
6068
6069
6070 if test -n "$ac_tool_prefix"; then
6071   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6072 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if ${ac_cv_prog_RANLIB+:} false; then :
6076   $as_echo_n "(cached) " >&6
6077 else
6078   if test -n "$RANLIB"; then
6079   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6080 else
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 for as_dir in $PATH
6083 do
6084   IFS=$as_save_IFS
6085   test -z "$as_dir" && as_dir=.
6086     for ac_exec_ext in '' $ac_executable_extensions; do
6087   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6088     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6089     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090     break 2
6091   fi
6092 done
6093   done
6094 IFS=$as_save_IFS
6095
6096 fi
6097 fi
6098 RANLIB=$ac_cv_prog_RANLIB
6099 if test -n "$RANLIB"; then
6100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6101 $as_echo "$RANLIB" >&6; }
6102 else
6103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6105 fi
6106
6107
6108 fi
6109 if test -z "$ac_cv_prog_RANLIB"; then
6110   ac_ct_RANLIB=$RANLIB
6111   # Extract the first word of "ranlib", so it can be a program name with args.
6112 set dummy ranlib; ac_word=$2
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 $as_echo_n "checking for $ac_word... " >&6; }
6115 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6116   $as_echo_n "(cached) " >&6
6117 else
6118   if test -n "$ac_ct_RANLIB"; then
6119   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6120 else
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH
6123 do
6124   IFS=$as_save_IFS
6125   test -z "$as_dir" && as_dir=.
6126     for ac_exec_ext in '' $ac_executable_extensions; do
6127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6128     ac_cv_prog_ac_ct_RANLIB="ranlib"
6129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130     break 2
6131   fi
6132 done
6133   done
6134 IFS=$as_save_IFS
6135
6136 fi
6137 fi
6138 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6139 if test -n "$ac_ct_RANLIB"; then
6140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6141 $as_echo "$ac_ct_RANLIB" >&6; }
6142 else
6143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144 $as_echo "no" >&6; }
6145 fi
6146
6147   if test "x$ac_ct_RANLIB" = x; then
6148     RANLIB=":"
6149   else
6150     case $cross_compiling:$ac_tool_warned in
6151 yes:)
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6154 ac_tool_warned=yes ;;
6155 esac
6156     RANLIB=$ac_ct_RANLIB
6157   fi
6158 else
6159   RANLIB="$ac_cv_prog_RANLIB"
6160 fi
6161
6162 test -z "$RANLIB" && RANLIB=:
6163
6164
6165
6166
6167
6168
6169 # Determine commands to create old-style static archives.
6170 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6171 old_postinstall_cmds='chmod 644 $oldlib'
6172 old_postuninstall_cmds=
6173
6174 if test -n "$RANLIB"; then
6175   case $host_os in
6176   openbsd*)
6177     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6178     ;;
6179   *)
6180     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6181     ;;
6182   esac
6183   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6184 fi
6185
6186 case $host_os in
6187   darwin*)
6188     lock_old_archive_extraction=yes ;;
6189   *)
6190     lock_old_archive_extraction=no ;;
6191 esac
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231 # If no C compiler was specified, use CC.
6232 LTCC=${LTCC-"$CC"}
6233
6234 # If no C compiler flags were specified, use CFLAGS.
6235 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6236
6237 # Allow CC to be a program name with arguments.
6238 compiler=$CC
6239
6240
6241 # Check for command to grab the raw symbol name followed by C symbol from nm.
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6243 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6244 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6245   $as_echo_n "(cached) " >&6
6246 else
6247
6248 # These are sane defaults that work on at least a few old systems.
6249 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6250
6251 # Character class describing NM global symbol codes.
6252 symcode='[BCDEGRST]'
6253
6254 # Regexp to match symbols that can be accessed directly from C.
6255 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6256
6257 # Define system-specific variables.
6258 case $host_os in
6259 aix*)
6260   symcode='[BCDT]'
6261   ;;
6262 cygwin* | mingw* | pw32* | cegcc*)
6263   symcode='[ABCDGISTW]'
6264   ;;
6265 hpux*)
6266   if test "$host_cpu" = ia64; then
6267     symcode='[ABCDEGRST]'
6268   fi
6269   ;;
6270 irix* | nonstopux*)
6271   symcode='[BCDEGRST]'
6272   ;;
6273 osf*)
6274   symcode='[BCDEGQRST]'
6275   ;;
6276 solaris*)
6277   symcode='[BDRT]'
6278   ;;
6279 sco3.2v5*)
6280   symcode='[DT]'
6281   ;;
6282 sysv4.2uw2*)
6283   symcode='[DT]'
6284   ;;
6285 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6286   symcode='[ABDT]'
6287   ;;
6288 sysv4)
6289   symcode='[DFNSTU]'
6290   ;;
6291 esac
6292
6293 # If we're using GNU nm, then use its standard symbol codes.
6294 case `$NM -V 2>&1` in
6295 *GNU* | *'with BFD'*)
6296   symcode='[ABCDGIRSTW]' ;;
6297 esac
6298
6299 # Transform an extracted symbol line into a proper C declaration.
6300 # Some systems (esp. on ia64) link data and code symbols differently,
6301 # so use this general approach.
6302 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6303
6304 # Transform an extracted symbol line into symbol name and symbol address
6305 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6306 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'"
6307
6308 # Handle CRLF in mingw tool chain
6309 opt_cr=
6310 case $build_os in
6311 mingw*)
6312   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6313   ;;
6314 esac
6315
6316 # Try without a prefix underscore, then with it.
6317 for ac_symprfx in "" "_"; do
6318
6319   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6320   symxfrm="\\1 $ac_symprfx\\2 \\2"
6321
6322   # Write the raw and C identifiers.
6323   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6324     # Fake it for dumpbin and say T for any non-static function
6325     # and D for any global variable.
6326     # Also find C++ and __fastcall symbols from MSVC++,
6327     # which start with @ or ?.
6328     lt_cv_sys_global_symbol_pipe="$AWK '"\
6329 "     {last_section=section; section=\$ 3};"\
6330 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6331 "     \$ 0!~/External *\|/{next};"\
6332 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6333 "     {if(hide[section]) next};"\
6334 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6335 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6336 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6337 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6338 "     ' prfx=^$ac_symprfx"
6339   else
6340     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6341   fi
6342   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6343
6344   # Check to see that the pipe works correctly.
6345   pipe_works=no
6346
6347   rm -f conftest*
6348   cat > conftest.$ac_ext <<_LT_EOF
6349 #ifdef __cplusplus
6350 extern "C" {
6351 #endif
6352 char nm_test_var;
6353 void nm_test_func(void);
6354 void nm_test_func(void){}
6355 #ifdef __cplusplus
6356 }
6357 #endif
6358 int main(){nm_test_var='a';nm_test_func();return(0);}
6359 _LT_EOF
6360
6361   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6362   (eval $ac_compile) 2>&5
6363   ac_status=$?
6364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6365   test $ac_status = 0; }; then
6366     # Now try to grab the symbols.
6367     nlist=conftest.nm
6368     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6369   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6370   ac_status=$?
6371   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6372   test $ac_status = 0; } && test -s "$nlist"; then
6373       # Try sorting and uniquifying the output.
6374       if sort "$nlist" | uniq > "$nlist"T; then
6375         mv -f "$nlist"T "$nlist"
6376       else
6377         rm -f "$nlist"T
6378       fi
6379
6380       # Make sure that we snagged all the symbols we need.
6381       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6382         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6383           cat <<_LT_EOF > conftest.$ac_ext
6384 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6385 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6386 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6387    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6388 # define LT_DLSYM_CONST
6389 #elif defined(__osf__)
6390 /* This system does not cope well with relocations in const data.  */
6391 # define LT_DLSYM_CONST
6392 #else
6393 # define LT_DLSYM_CONST const
6394 #endif
6395
6396 #ifdef __cplusplus
6397 extern "C" {
6398 #endif
6399
6400 _LT_EOF
6401           # Now generate the symbol file.
6402           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6403
6404           cat <<_LT_EOF >> conftest.$ac_ext
6405
6406 /* The mapping between symbol names and symbols.  */
6407 LT_DLSYM_CONST struct {
6408   const char *name;
6409   void       *address;
6410 }
6411 lt__PROGRAM__LTX_preloaded_symbols[] =
6412 {
6413   { "@PROGRAM@", (void *) 0 },
6414 _LT_EOF
6415           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6416           cat <<\_LT_EOF >> conftest.$ac_ext
6417   {0, (void *) 0}
6418 };
6419
6420 /* This works around a problem in FreeBSD linker */
6421 #ifdef FREEBSD_WORKAROUND
6422 static const void *lt_preloaded_setup() {
6423   return lt__PROGRAM__LTX_preloaded_symbols;
6424 }
6425 #endif
6426
6427 #ifdef __cplusplus
6428 }
6429 #endif
6430 _LT_EOF
6431           # Now try linking the two files.
6432           mv conftest.$ac_objext conftstm.$ac_objext
6433           lt_globsym_save_LIBS=$LIBS
6434           lt_globsym_save_CFLAGS=$CFLAGS
6435           LIBS="conftstm.$ac_objext"
6436           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6437           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6438   (eval $ac_link) 2>&5
6439   ac_status=$?
6440   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6441   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6442             pipe_works=yes
6443           fi
6444           LIBS=$lt_globsym_save_LIBS
6445           CFLAGS=$lt_globsym_save_CFLAGS
6446         else
6447           echo "cannot find nm_test_func in $nlist" >&5
6448         fi
6449       else
6450         echo "cannot find nm_test_var in $nlist" >&5
6451       fi
6452     else
6453       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6454     fi
6455   else
6456     echo "$progname: failed program was:" >&5
6457     cat conftest.$ac_ext >&5
6458   fi
6459   rm -rf conftest* conftst*
6460
6461   # Do not use the global_symbol_pipe unless it works.
6462   if test "$pipe_works" = yes; then
6463     break
6464   else
6465     lt_cv_sys_global_symbol_pipe=
6466   fi
6467 done
6468
6469 fi
6470
6471 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6472   lt_cv_sys_global_symbol_to_cdecl=
6473 fi
6474 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6476 $as_echo "failed" >&6; }
6477 else
6478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6479 $as_echo "ok" >&6; }
6480 fi
6481
6482 # Response file support.
6483 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6484   nm_file_list_spec='@'
6485 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6486   nm_file_list_spec='@'
6487 fi
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6516 $as_echo_n "checking for sysroot... " >&6; }
6517
6518 # Check whether --with-sysroot was given.
6519 if test "${with_sysroot+set}" = set; then :
6520   withval=$with_sysroot;
6521 else
6522   with_sysroot=no
6523 fi
6524
6525
6526 lt_sysroot=
6527 case ${with_sysroot} in #(
6528  yes)
6529    if test "$GCC" = yes; then
6530      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6531    fi
6532    ;; #(
6533  /*)
6534    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6535    ;; #(
6536  no|'')
6537    ;; #(
6538  *)
6539    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6540 $as_echo "${with_sysroot}" >&6; }
6541    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6542    ;;
6543 esac
6544
6545  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6546 $as_echo "${lt_sysroot:-no}" >&6; }
6547
6548
6549
6550
6551
6552 # Check whether --enable-libtool-lock was given.
6553 if test "${enable_libtool_lock+set}" = set; then :
6554   enableval=$enable_libtool_lock;
6555 fi
6556
6557 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6558
6559 # Some flags need to be propagated to the compiler or linker for good
6560 # libtool support.
6561 case $host in
6562 ia64-*-hpux*)
6563   # Find out which ABI we are using.
6564   echo 'int i;' > conftest.$ac_ext
6565   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6566   (eval $ac_compile) 2>&5
6567   ac_status=$?
6568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6569   test $ac_status = 0; }; then
6570     case `/usr/bin/file conftest.$ac_objext` in
6571       *ELF-32*)
6572         HPUX_IA64_MODE="32"
6573         ;;
6574       *ELF-64*)
6575         HPUX_IA64_MODE="64"
6576         ;;
6577     esac
6578   fi
6579   rm -rf conftest*
6580   ;;
6581 *-*-irix6*)
6582   # Find out which ABI we are using.
6583   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6584   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6585   (eval $ac_compile) 2>&5
6586   ac_status=$?
6587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6588   test $ac_status = 0; }; then
6589     if test "$lt_cv_prog_gnu_ld" = yes; then
6590       case `/usr/bin/file conftest.$ac_objext` in
6591         *32-bit*)
6592           LD="${LD-ld} -melf32bsmip"
6593           ;;
6594         *N32*)
6595           LD="${LD-ld} -melf32bmipn32"
6596           ;;
6597         *64-bit*)
6598           LD="${LD-ld} -melf64bmip"
6599         ;;
6600       esac
6601     else
6602       case `/usr/bin/file conftest.$ac_objext` in
6603         *32-bit*)
6604           LD="${LD-ld} -32"
6605           ;;
6606         *N32*)
6607           LD="${LD-ld} -n32"
6608           ;;
6609         *64-bit*)
6610           LD="${LD-ld} -64"
6611           ;;
6612       esac
6613     fi
6614   fi
6615   rm -rf conftest*
6616   ;;
6617
6618 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6619 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6620   # Find out which ABI we are using.
6621   echo 'int i;' > conftest.$ac_ext
6622   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6623   (eval $ac_compile) 2>&5
6624   ac_status=$?
6625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6626   test $ac_status = 0; }; then
6627     case `/usr/bin/file conftest.o` in
6628       *32-bit*)
6629         case $host in
6630           x86_64-*kfreebsd*-gnu)
6631             LD="${LD-ld} -m elf_i386_fbsd"
6632             ;;
6633           x86_64-*linux*)
6634             LD="${LD-ld} -m elf_i386"
6635             ;;
6636           ppc64-*linux*|powerpc64-*linux*)
6637             LD="${LD-ld} -m elf32ppclinux"
6638             ;;
6639           s390x-*linux*)
6640             LD="${LD-ld} -m elf_s390"
6641             ;;
6642           sparc64-*linux*)
6643             LD="${LD-ld} -m elf32_sparc"
6644             ;;
6645         esac
6646         ;;
6647       *64-bit*)
6648         case $host in
6649           x86_64-*kfreebsd*-gnu)
6650             LD="${LD-ld} -m elf_x86_64_fbsd"
6651             ;;
6652           x86_64-*linux*)
6653             LD="${LD-ld} -m elf_x86_64"
6654             ;;
6655           ppc*-*linux*|powerpc*-*linux*)
6656             LD="${LD-ld} -m elf64ppc"
6657             ;;
6658           s390*-*linux*|s390*-*tpf*)
6659             LD="${LD-ld} -m elf64_s390"
6660             ;;
6661           sparc*-*linux*)
6662             LD="${LD-ld} -m elf64_sparc"
6663             ;;
6664         esac
6665         ;;
6666     esac
6667   fi
6668   rm -rf conftest*
6669   ;;
6670
6671 *-*-sco3.2v5*)
6672   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6673   SAVE_CFLAGS="$CFLAGS"
6674   CFLAGS="$CFLAGS -belf"
6675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6676 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6677 if ${lt_cv_cc_needs_belf+:} false; then :
6678   $as_echo_n "(cached) " >&6
6679 else
6680   ac_ext=c
6681 ac_cpp='$CPP $CPPFLAGS'
6682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6685
6686      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6687 /* end confdefs.h.  */
6688
6689 int
6690 main ()
6691 {
6692
6693   ;
6694   return 0;
6695 }
6696 _ACEOF
6697 if ac_fn_c_try_link "$LINENO"; then :
6698   lt_cv_cc_needs_belf=yes
6699 else
6700   lt_cv_cc_needs_belf=no
6701 fi
6702 rm -f core conftest.err conftest.$ac_objext \
6703     conftest$ac_exeext conftest.$ac_ext
6704      ac_ext=c
6705 ac_cpp='$CPP $CPPFLAGS'
6706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6709
6710 fi
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6712 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6713   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6714     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6715     CFLAGS="$SAVE_CFLAGS"
6716   fi
6717   ;;
6718 sparc*-*solaris*)
6719   # Find out which ABI we are using.
6720   echo 'int i;' > conftest.$ac_ext
6721   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6722   (eval $ac_compile) 2>&5
6723   ac_status=$?
6724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6725   test $ac_status = 0; }; then
6726     case `/usr/bin/file conftest.o` in
6727     *64-bit*)
6728       case $lt_cv_prog_gnu_ld in
6729       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6730       *)
6731         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6732           LD="${LD-ld} -64"
6733         fi
6734         ;;
6735       esac
6736       ;;
6737     esac
6738   fi
6739   rm -rf conftest*
6740   ;;
6741 esac
6742
6743 need_locks="$enable_libtool_lock"
6744
6745 if test -n "$ac_tool_prefix"; then
6746   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6747 set dummy ${ac_tool_prefix}mt; ac_word=$2
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749 $as_echo_n "checking for $ac_word... " >&6; }
6750 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6751   $as_echo_n "(cached) " >&6
6752 else
6753   if test -n "$MANIFEST_TOOL"; then
6754   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6755 else
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757 for as_dir in $PATH
6758 do
6759   IFS=$as_save_IFS
6760   test -z "$as_dir" && as_dir=.
6761     for ac_exec_ext in '' $ac_executable_extensions; do
6762   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765     break 2
6766   fi
6767 done
6768   done
6769 IFS=$as_save_IFS
6770
6771 fi
6772 fi
6773 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6774 if test -n "$MANIFEST_TOOL"; then
6775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6776 $as_echo "$MANIFEST_TOOL" >&6; }
6777 else
6778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 $as_echo "no" >&6; }
6780 fi
6781
6782
6783 fi
6784 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6785   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6786   # Extract the first word of "mt", so it can be a program name with args.
6787 set dummy mt; ac_word=$2
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789 $as_echo_n "checking for $ac_word... " >&6; }
6790 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6791   $as_echo_n "(cached) " >&6
6792 else
6793   if test -n "$ac_ct_MANIFEST_TOOL"; then
6794   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6795 else
6796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6797 for as_dir in $PATH
6798 do
6799   IFS=$as_save_IFS
6800   test -z "$as_dir" && as_dir=.
6801     for ac_exec_ext in '' $ac_executable_extensions; do
6802   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6803     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6805     break 2
6806   fi
6807 done
6808   done
6809 IFS=$as_save_IFS
6810
6811 fi
6812 fi
6813 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6814 if test -n "$ac_ct_MANIFEST_TOOL"; then
6815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6816 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6817 else
6818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819 $as_echo "no" >&6; }
6820 fi
6821
6822   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6823     MANIFEST_TOOL=":"
6824   else
6825     case $cross_compiling:$ac_tool_warned in
6826 yes:)
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6829 ac_tool_warned=yes ;;
6830 esac
6831     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6832   fi
6833 else
6834   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6835 fi
6836
6837 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6839 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6840 if ${lt_cv_path_mainfest_tool+:} false; then :
6841   $as_echo_n "(cached) " >&6
6842 else
6843   lt_cv_path_mainfest_tool=no
6844   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6845   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6846   cat conftest.err >&5
6847   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6848     lt_cv_path_mainfest_tool=yes
6849   fi
6850   rm -f conftest*
6851 fi
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6853 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6854 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6855   MANIFEST_TOOL=:
6856 fi
6857
6858
6859
6860
6861
6862
6863   case $host_os in
6864     rhapsody* | darwin*)
6865     if test -n "$ac_tool_prefix"; then
6866   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6867 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869 $as_echo_n "checking for $ac_word... " >&6; }
6870 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6871   $as_echo_n "(cached) " >&6
6872 else
6873   if test -n "$DSYMUTIL"; then
6874   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6875 else
6876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6877 for as_dir in $PATH
6878 do
6879   IFS=$as_save_IFS
6880   test -z "$as_dir" && as_dir=.
6881     for ac_exec_ext in '' $ac_executable_extensions; do
6882   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6883     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6884     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6885     break 2
6886   fi
6887 done
6888   done
6889 IFS=$as_save_IFS
6890
6891 fi
6892 fi
6893 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6894 if test -n "$DSYMUTIL"; then
6895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6896 $as_echo "$DSYMUTIL" >&6; }
6897 else
6898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899 $as_echo "no" >&6; }
6900 fi
6901
6902
6903 fi
6904 if test -z "$ac_cv_prog_DSYMUTIL"; then
6905   ac_ct_DSYMUTIL=$DSYMUTIL
6906   # Extract the first word of "dsymutil", so it can be a program name with args.
6907 set dummy dsymutil; 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_ac_ct_DSYMUTIL+:} false; then :
6911   $as_echo_n "(cached) " >&6
6912 else
6913   if test -n "$ac_ct_DSYMUTIL"; then
6914   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # 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_ac_ct_DSYMUTIL="dsymutil"
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 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6934 if test -n "$ac_ct_DSYMUTIL"; then
6935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6936 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6937 else
6938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939 $as_echo "no" >&6; }
6940 fi
6941
6942   if test "x$ac_ct_DSYMUTIL" = x; then
6943     DSYMUTIL=":"
6944   else
6945     case $cross_compiling:$ac_tool_warned in
6946 yes:)
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6949 ac_tool_warned=yes ;;
6950 esac
6951     DSYMUTIL=$ac_ct_DSYMUTIL
6952   fi
6953 else
6954   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6955 fi
6956
6957     if test -n "$ac_tool_prefix"; then
6958   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6959 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961 $as_echo_n "checking for $ac_word... " >&6; }
6962 if ${ac_cv_prog_NMEDIT+:} false; then :
6963   $as_echo_n "(cached) " >&6
6964 else
6965   if test -n "$NMEDIT"; then
6966   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6967 else
6968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6969 for as_dir in $PATH
6970 do
6971   IFS=$as_save_IFS
6972   test -z "$as_dir" && as_dir=.
6973     for ac_exec_ext in '' $ac_executable_extensions; do
6974   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6975     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6976     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6977     break 2
6978   fi
6979 done
6980   done
6981 IFS=$as_save_IFS
6982
6983 fi
6984 fi
6985 NMEDIT=$ac_cv_prog_NMEDIT
6986 if test -n "$NMEDIT"; then
6987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6988 $as_echo "$NMEDIT" >&6; }
6989 else
6990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991 $as_echo "no" >&6; }
6992 fi
6993
6994
6995 fi
6996 if test -z "$ac_cv_prog_NMEDIT"; then
6997   ac_ct_NMEDIT=$NMEDIT
6998   # Extract the first word of "nmedit", so it can be a program name with args.
6999 set dummy nmedit; ac_word=$2
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001 $as_echo_n "checking for $ac_word... " >&6; }
7002 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7003   $as_echo_n "(cached) " >&6
7004 else
7005   if test -n "$ac_ct_NMEDIT"; then
7006   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7007 else
7008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7009 for as_dir in $PATH
7010 do
7011   IFS=$as_save_IFS
7012   test -z "$as_dir" && as_dir=.
7013     for ac_exec_ext in '' $ac_executable_extensions; do
7014   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7015     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7016     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7017     break 2
7018   fi
7019 done
7020   done
7021 IFS=$as_save_IFS
7022
7023 fi
7024 fi
7025 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7026 if test -n "$ac_ct_NMEDIT"; then
7027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7028 $as_echo "$ac_ct_NMEDIT" >&6; }
7029 else
7030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031 $as_echo "no" >&6; }
7032 fi
7033
7034   if test "x$ac_ct_NMEDIT" = x; then
7035     NMEDIT=":"
7036   else
7037     case $cross_compiling:$ac_tool_warned in
7038 yes:)
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7041 ac_tool_warned=yes ;;
7042 esac
7043     NMEDIT=$ac_ct_NMEDIT
7044   fi
7045 else
7046   NMEDIT="$ac_cv_prog_NMEDIT"
7047 fi
7048
7049     if test -n "$ac_tool_prefix"; then
7050   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7051 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053 $as_echo_n "checking for $ac_word... " >&6; }
7054 if ${ac_cv_prog_LIPO+:} false; then :
7055   $as_echo_n "(cached) " >&6
7056 else
7057   if test -n "$LIPO"; then
7058   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7059 else
7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7061 for as_dir in $PATH
7062 do
7063   IFS=$as_save_IFS
7064   test -z "$as_dir" && as_dir=.
7065     for ac_exec_ext in '' $ac_executable_extensions; do
7066   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7067     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7069     break 2
7070   fi
7071 done
7072   done
7073 IFS=$as_save_IFS
7074
7075 fi
7076 fi
7077 LIPO=$ac_cv_prog_LIPO
7078 if test -n "$LIPO"; then
7079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7080 $as_echo "$LIPO" >&6; }
7081 else
7082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7083 $as_echo "no" >&6; }
7084 fi
7085
7086
7087 fi
7088 if test -z "$ac_cv_prog_LIPO"; then
7089   ac_ct_LIPO=$LIPO
7090   # Extract the first word of "lipo", so it can be a program name with args.
7091 set dummy lipo; ac_word=$2
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093 $as_echo_n "checking for $ac_word... " >&6; }
7094 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7095   $as_echo_n "(cached) " >&6
7096 else
7097   if test -n "$ac_ct_LIPO"; then
7098   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7099 else
7100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7101 for as_dir in $PATH
7102 do
7103   IFS=$as_save_IFS
7104   test -z "$as_dir" && as_dir=.
7105     for ac_exec_ext in '' $ac_executable_extensions; do
7106   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7107     ac_cv_prog_ac_ct_LIPO="lipo"
7108     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7109     break 2
7110   fi
7111 done
7112   done
7113 IFS=$as_save_IFS
7114
7115 fi
7116 fi
7117 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7118 if test -n "$ac_ct_LIPO"; then
7119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7120 $as_echo "$ac_ct_LIPO" >&6; }
7121 else
7122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7123 $as_echo "no" >&6; }
7124 fi
7125
7126   if test "x$ac_ct_LIPO" = x; then
7127     LIPO=":"
7128   else
7129     case $cross_compiling:$ac_tool_warned in
7130 yes:)
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7133 ac_tool_warned=yes ;;
7134 esac
7135     LIPO=$ac_ct_LIPO
7136   fi
7137 else
7138   LIPO="$ac_cv_prog_LIPO"
7139 fi
7140
7141     if test -n "$ac_tool_prefix"; then
7142   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7143 set dummy ${ac_tool_prefix}otool; ac_word=$2
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7145 $as_echo_n "checking for $ac_word... " >&6; }
7146 if ${ac_cv_prog_OTOOL+:} false; then :
7147   $as_echo_n "(cached) " >&6
7148 else
7149   if test -n "$OTOOL"; then
7150   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7151 else
7152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7153 for as_dir in $PATH
7154 do
7155   IFS=$as_save_IFS
7156   test -z "$as_dir" && as_dir=.
7157     for ac_exec_ext in '' $ac_executable_extensions; do
7158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7159     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7161     break 2
7162   fi
7163 done
7164   done
7165 IFS=$as_save_IFS
7166
7167 fi
7168 fi
7169 OTOOL=$ac_cv_prog_OTOOL
7170 if test -n "$OTOOL"; then
7171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7172 $as_echo "$OTOOL" >&6; }
7173 else
7174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 $as_echo "no" >&6; }
7176 fi
7177
7178
7179 fi
7180 if test -z "$ac_cv_prog_OTOOL"; then
7181   ac_ct_OTOOL=$OTOOL
7182   # Extract the first word of "otool", so it can be a program name with args.
7183 set dummy otool; ac_word=$2
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7185 $as_echo_n "checking for $ac_word... " >&6; }
7186 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7187   $as_echo_n "(cached) " >&6
7188 else
7189   if test -n "$ac_ct_OTOOL"; then
7190   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7191 else
7192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7193 for as_dir in $PATH
7194 do
7195   IFS=$as_save_IFS
7196   test -z "$as_dir" && as_dir=.
7197     for ac_exec_ext in '' $ac_executable_extensions; do
7198   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7199     ac_cv_prog_ac_ct_OTOOL="otool"
7200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7201     break 2
7202   fi
7203 done
7204   done
7205 IFS=$as_save_IFS
7206
7207 fi
7208 fi
7209 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7210 if test -n "$ac_ct_OTOOL"; then
7211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7212 $as_echo "$ac_ct_OTOOL" >&6; }
7213 else
7214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7215 $as_echo "no" >&6; }
7216 fi
7217
7218   if test "x$ac_ct_OTOOL" = x; then
7219     OTOOL=":"
7220   else
7221     case $cross_compiling:$ac_tool_warned in
7222 yes:)
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7225 ac_tool_warned=yes ;;
7226 esac
7227     OTOOL=$ac_ct_OTOOL
7228   fi
7229 else
7230   OTOOL="$ac_cv_prog_OTOOL"
7231 fi
7232
7233     if test -n "$ac_tool_prefix"; then
7234   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7235 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7237 $as_echo_n "checking for $ac_word... " >&6; }
7238 if ${ac_cv_prog_OTOOL64+:} false; then :
7239   $as_echo_n "(cached) " >&6
7240 else
7241   if test -n "$OTOOL64"; then
7242   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7243 else
7244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7245 for as_dir in $PATH
7246 do
7247   IFS=$as_save_IFS
7248   test -z "$as_dir" && as_dir=.
7249     for ac_exec_ext in '' $ac_executable_extensions; do
7250   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7251     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7253     break 2
7254   fi
7255 done
7256   done
7257 IFS=$as_save_IFS
7258
7259 fi
7260 fi
7261 OTOOL64=$ac_cv_prog_OTOOL64
7262 if test -n "$OTOOL64"; then
7263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7264 $as_echo "$OTOOL64" >&6; }
7265 else
7266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7267 $as_echo "no" >&6; }
7268 fi
7269
7270
7271 fi
7272 if test -z "$ac_cv_prog_OTOOL64"; then
7273   ac_ct_OTOOL64=$OTOOL64
7274   # Extract the first word of "otool64", so it can be a program name with args.
7275 set dummy otool64; ac_word=$2
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7277 $as_echo_n "checking for $ac_word... " >&6; }
7278 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7279   $as_echo_n "(cached) " >&6
7280 else
7281   if test -n "$ac_ct_OTOOL64"; then
7282   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7283 else
7284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7285 for as_dir in $PATH
7286 do
7287   IFS=$as_save_IFS
7288   test -z "$as_dir" && as_dir=.
7289     for ac_exec_ext in '' $ac_executable_extensions; do
7290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7291     ac_cv_prog_ac_ct_OTOOL64="otool64"
7292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7293     break 2
7294   fi
7295 done
7296   done
7297 IFS=$as_save_IFS
7298
7299 fi
7300 fi
7301 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7302 if test -n "$ac_ct_OTOOL64"; then
7303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7304 $as_echo "$ac_ct_OTOOL64" >&6; }
7305 else
7306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7307 $as_echo "no" >&6; }
7308 fi
7309
7310   if test "x$ac_ct_OTOOL64" = x; then
7311     OTOOL64=":"
7312   else
7313     case $cross_compiling:$ac_tool_warned in
7314 yes:)
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7317 ac_tool_warned=yes ;;
7318 esac
7319     OTOOL64=$ac_ct_OTOOL64
7320   fi
7321 else
7322   OTOOL64="$ac_cv_prog_OTOOL64"
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 -single_module linker flag" >&5
7352 $as_echo_n "checking for -single_module linker flag... " >&6; }
7353 if ${lt_cv_apple_cc_single_mod+:} false; then :
7354   $as_echo_n "(cached) " >&6
7355 else
7356   lt_cv_apple_cc_single_mod=no
7357       if test -z "${LT_MULTI_MODULE}"; then
7358         # By default we will add the -single_module flag. You can override
7359         # by either setting the environment variable LT_MULTI_MODULE
7360         # non-empty at configure time, or by adding -multi_module to the
7361         # link flags.
7362         rm -rf libconftest.dylib*
7363         echo "int foo(void){return 1;}" > conftest.c
7364         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7365 -dynamiclib -Wl,-single_module conftest.c" >&5
7366         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7367           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7368         _lt_result=$?
7369         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7370           lt_cv_apple_cc_single_mod=yes
7371         else
7372           cat conftest.err >&5
7373         fi
7374         rm -rf libconftest.dylib*
7375         rm -f conftest.*
7376       fi
7377 fi
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7379 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7380     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7381 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7382 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7383   $as_echo_n "(cached) " >&6
7384 else
7385   lt_cv_ld_exported_symbols_list=no
7386       save_LDFLAGS=$LDFLAGS
7387       echo "_main" > conftest.sym
7388       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7390 /* end confdefs.h.  */
7391
7392 int
7393 main ()
7394 {
7395
7396   ;
7397   return 0;
7398 }
7399 _ACEOF
7400 if ac_fn_c_try_link "$LINENO"; then :
7401   lt_cv_ld_exported_symbols_list=yes
7402 else
7403   lt_cv_ld_exported_symbols_list=no
7404 fi
7405 rm -f core conftest.err conftest.$ac_objext \
7406     conftest$ac_exeext conftest.$ac_ext
7407         LDFLAGS="$save_LDFLAGS"
7408
7409 fi
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7411 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7412     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7413 $as_echo_n "checking for -force_load linker flag... " >&6; }
7414 if ${lt_cv_ld_force_load+:} false; then :
7415   $as_echo_n "(cached) " >&6
7416 else
7417   lt_cv_ld_force_load=no
7418       cat > conftest.c << _LT_EOF
7419 int forced_loaded() { return 2;}
7420 _LT_EOF
7421       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7422       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7423       echo "$AR cru libconftest.a conftest.o" >&5
7424       $AR cru libconftest.a conftest.o 2>&5
7425       echo "$RANLIB libconftest.a" >&5
7426       $RANLIB libconftest.a 2>&5
7427       cat > conftest.c << _LT_EOF
7428 int main() { return 0;}
7429 _LT_EOF
7430       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7431       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7432       _lt_result=$?
7433       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7434         lt_cv_ld_force_load=yes
7435       else
7436         cat conftest.err >&5
7437       fi
7438         rm -f conftest.err libconftest.a conftest conftest.c
7439         rm -rf conftest.dSYM
7440
7441 fi
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7443 $as_echo "$lt_cv_ld_force_load" >&6; }
7444     case $host_os in
7445     rhapsody* | darwin1.[012])
7446       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7447     darwin1.*)
7448       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7449     darwin*) # darwin 5.x on
7450       # if running on 10.5 or later, the deployment target defaults
7451       # to the OS version, if on x86, and 10.4, the deployment
7452       # target defaults to 10.4. Don't you love it?
7453       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7454         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7455           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7456         10.[012]*)
7457           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7458         10.*)
7459           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7460       esac
7461     ;;
7462   esac
7463     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7464       _lt_dar_single_mod='$single_module'
7465     fi
7466     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7467       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7468     else
7469       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7470     fi
7471     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7472       _lt_dsymutil='~$DSYMUTIL $lib || :'
7473     else
7474       _lt_dsymutil=
7475     fi
7476     ;;
7477   esac
7478
7479 ac_ext=c
7480 ac_cpp='$CPP $CPPFLAGS'
7481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7485 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7486 # On Suns, sometimes $CPP names a directory.
7487 if test -n "$CPP" && test -d "$CPP"; then
7488   CPP=
7489 fi
7490 if test -z "$CPP"; then
7491   if ${ac_cv_prog_CPP+:} false; then :
7492   $as_echo_n "(cached) " >&6
7493 else
7494       # Double quotes because CPP needs to be expanded
7495     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7496     do
7497       ac_preproc_ok=false
7498 for ac_c_preproc_warn_flag in '' yes
7499 do
7500   # Use a header file that comes with gcc, so configuring glibc
7501   # with a fresh cross-compiler works.
7502   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7503   # <limits.h> exists even on freestanding compilers.
7504   # On the NeXT, cc -E runs the code through the compiler's parser,
7505   # not just through cpp. "Syntax error" is here to catch this case.
7506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7507 /* end confdefs.h.  */
7508 #ifdef __STDC__
7509 # include <limits.h>
7510 #else
7511 # include <assert.h>
7512 #endif
7513                      Syntax error
7514 _ACEOF
7515 if ac_fn_c_try_cpp "$LINENO"; then :
7516
7517 else
7518   # Broken: fails on valid input.
7519 continue
7520 fi
7521 rm -f conftest.err conftest.i conftest.$ac_ext
7522
7523   # OK, works on sane cases.  Now check whether nonexistent headers
7524   # can be detected and how.
7525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h.  */
7527 #include <ac_nonexistent.h>
7528 _ACEOF
7529 if ac_fn_c_try_cpp "$LINENO"; then :
7530   # Broken: success on invalid input.
7531 continue
7532 else
7533   # Passes both tests.
7534 ac_preproc_ok=:
7535 break
7536 fi
7537 rm -f conftest.err conftest.i conftest.$ac_ext
7538
7539 done
7540 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7541 rm -f conftest.i conftest.err conftest.$ac_ext
7542 if $ac_preproc_ok; then :
7543   break
7544 fi
7545
7546     done
7547     ac_cv_prog_CPP=$CPP
7548
7549 fi
7550   CPP=$ac_cv_prog_CPP
7551 else
7552   ac_cv_prog_CPP=$CPP
7553 fi
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7555 $as_echo "$CPP" >&6; }
7556 ac_preproc_ok=false
7557 for ac_c_preproc_warn_flag in '' yes
7558 do
7559   # Use a header file that comes with gcc, so configuring glibc
7560   # with a fresh cross-compiler works.
7561   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7562   # <limits.h> exists even on freestanding compilers.
7563   # On the NeXT, cc -E runs the code through the compiler's parser,
7564   # not just through cpp. "Syntax error" is here to catch this case.
7565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7566 /* end confdefs.h.  */
7567 #ifdef __STDC__
7568 # include <limits.h>
7569 #else
7570 # include <assert.h>
7571 #endif
7572                      Syntax error
7573 _ACEOF
7574 if ac_fn_c_try_cpp "$LINENO"; then :
7575
7576 else
7577   # Broken: fails on valid input.
7578 continue
7579 fi
7580 rm -f conftest.err conftest.i conftest.$ac_ext
7581
7582   # OK, works on sane cases.  Now check whether nonexistent headers
7583   # can be detected and how.
7584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7585 /* end confdefs.h.  */
7586 #include <ac_nonexistent.h>
7587 _ACEOF
7588 if ac_fn_c_try_cpp "$LINENO"; then :
7589   # Broken: success on invalid input.
7590 continue
7591 else
7592   # Passes both tests.
7593 ac_preproc_ok=:
7594 break
7595 fi
7596 rm -f conftest.err conftest.i conftest.$ac_ext
7597
7598 done
7599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7600 rm -f conftest.i conftest.err conftest.$ac_ext
7601 if $ac_preproc_ok; then :
7602
7603 else
7604   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7606 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7607 See \`config.log' for more details" "$LINENO" 5; }
7608 fi
7609
7610 ac_ext=c
7611 ac_cpp='$CPP $CPPFLAGS'
7612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7615
7616
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7618 $as_echo_n "checking for ANSI C header files... " >&6; }
7619 if ${ac_cv_header_stdc+:} false; then :
7620   $as_echo_n "(cached) " >&6
7621 else
7622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7623 /* end confdefs.h.  */
7624 #include <stdlib.h>
7625 #include <stdarg.h>
7626 #include <string.h>
7627 #include <float.h>
7628
7629 int
7630 main ()
7631 {
7632
7633   ;
7634   return 0;
7635 }
7636 _ACEOF
7637 if ac_fn_c_try_compile "$LINENO"; then :
7638   ac_cv_header_stdc=yes
7639 else
7640   ac_cv_header_stdc=no
7641 fi
7642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7643
7644 if test $ac_cv_header_stdc = yes; then
7645   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7647 /* end confdefs.h.  */
7648 #include <string.h>
7649
7650 _ACEOF
7651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7652   $EGREP "memchr" >/dev/null 2>&1; then :
7653
7654 else
7655   ac_cv_header_stdc=no
7656 fi
7657 rm -f conftest*
7658
7659 fi
7660
7661 if test $ac_cv_header_stdc = yes; then
7662   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7664 /* end confdefs.h.  */
7665 #include <stdlib.h>
7666
7667 _ACEOF
7668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7669   $EGREP "free" >/dev/null 2>&1; then :
7670
7671 else
7672   ac_cv_header_stdc=no
7673 fi
7674 rm -f conftest*
7675
7676 fi
7677
7678 if test $ac_cv_header_stdc = yes; then
7679   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7680   if test "$cross_compiling" = yes; then :
7681   :
7682 else
7683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7684 /* end confdefs.h.  */
7685 #include <ctype.h>
7686 #include <stdlib.h>
7687 #if ((' ' & 0x0FF) == 0x020)
7688 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7689 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7690 #else
7691 # define ISLOWER(c) \
7692                    (('a' <= (c) && (c) <= 'i') \
7693                      || ('j' <= (c) && (c) <= 'r') \
7694                      || ('s' <= (c) && (c) <= 'z'))
7695 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7696 #endif
7697
7698 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7699 int
7700 main ()
7701 {
7702   int i;
7703   for (i = 0; i < 256; i++)
7704     if (XOR (islower (i), ISLOWER (i))
7705         || toupper (i) != TOUPPER (i))
7706       return 2;
7707   return 0;
7708 }
7709 _ACEOF
7710 if ac_fn_c_try_run "$LINENO"; then :
7711
7712 else
7713   ac_cv_header_stdc=no
7714 fi
7715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7716   conftest.$ac_objext conftest.beam conftest.$ac_ext
7717 fi
7718
7719 fi
7720 fi
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7722 $as_echo "$ac_cv_header_stdc" >&6; }
7723 if test $ac_cv_header_stdc = yes; then
7724
7725 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7726
7727 fi
7728
7729 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7730 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7731                   inttypes.h stdint.h unistd.h
7732 do :
7733   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7734 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7735 "
7736 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7737   cat >>confdefs.h <<_ACEOF
7738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7739 _ACEOF
7740
7741 fi
7742
7743 done
7744
7745
7746 for ac_header in dlfcn.h
7747 do :
7748   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7749 "
7750 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7751   cat >>confdefs.h <<_ACEOF
7752 #define HAVE_DLFCN_H 1
7753 _ACEOF
7754
7755 fi
7756
7757 done
7758
7759
7760
7761
7762
7763 # Set options
7764
7765
7766
7767         enable_dlopen=no
7768
7769
7770
7771             # Check whether --enable-shared was given.
7772 if test "${enable_shared+set}" = set; then :
7773   enableval=$enable_shared; p=${PACKAGE-default}
7774     case $enableval in
7775     yes) enable_shared=yes ;;
7776     no) enable_shared=no ;;
7777     *)
7778       enable_shared=no
7779       # Look at the argument we got.  We use all the common list separators.
7780       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7781       for pkg in $enableval; do
7782         IFS="$lt_save_ifs"
7783         if test "X$pkg" = "X$p"; then
7784           enable_shared=yes
7785         fi
7786       done
7787       IFS="$lt_save_ifs"
7788       ;;
7789     esac
7790 else
7791   enable_shared=yes
7792 fi
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804 # Check whether --with-pic was given.
7805 if test "${with_pic+set}" = set; then :
7806   withval=$with_pic; pic_mode="$withval"
7807 else
7808   pic_mode=default
7809 fi
7810
7811
7812 test -z "$pic_mode" && pic_mode=default
7813
7814
7815
7816
7817
7818
7819
7820   # Check whether --enable-fast-install was given.
7821 if test "${enable_fast_install+set}" = set; then :
7822   enableval=$enable_fast_install; p=${PACKAGE-default}
7823     case $enableval in
7824     yes) enable_fast_install=yes ;;
7825     no) enable_fast_install=no ;;
7826     *)
7827       enable_fast_install=no
7828       # Look at the argument we got.  We use all the common list separators.
7829       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7830       for pkg in $enableval; do
7831         IFS="$lt_save_ifs"
7832         if test "X$pkg" = "X$p"; then
7833           enable_fast_install=yes
7834         fi
7835       done
7836       IFS="$lt_save_ifs"
7837       ;;
7838     esac
7839 else
7840   enable_fast_install=yes
7841 fi
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853 # This can be used to rebuild libtool when needed
7854 LIBTOOL_DEPS="$ltmain"
7855
7856 # Always use our own libtool.
7857 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884 test -z "$LN_S" && LN_S="ln -s"
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899 if test -n "${ZSH_VERSION+set}" ; then
7900    setopt NO_GLOB_SUBST
7901 fi
7902
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7904 $as_echo_n "checking for objdir... " >&6; }
7905 if ${lt_cv_objdir+:} false; then :
7906   $as_echo_n "(cached) " >&6
7907 else
7908   rm -f .libs 2>/dev/null
7909 mkdir .libs 2>/dev/null
7910 if test -d .libs; then
7911   lt_cv_objdir=.libs
7912 else
7913   # MS-DOS does not allow filenames that begin with a dot.
7914   lt_cv_objdir=_libs
7915 fi
7916 rmdir .libs 2>/dev/null
7917 fi
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7919 $as_echo "$lt_cv_objdir" >&6; }
7920 objdir=$lt_cv_objdir
7921
7922
7923
7924
7925
7926 cat >>confdefs.h <<_ACEOF
7927 #define LT_OBJDIR "$lt_cv_objdir/"
7928 _ACEOF
7929
7930
7931
7932
7933 case $host_os in
7934 aix3*)
7935   # AIX sometimes has problems with the GCC collect2 program.  For some
7936   # reason, if we set the COLLECT_NAMES environment variable, the problems
7937   # vanish in a puff of smoke.
7938   if test "X${COLLECT_NAMES+set}" != Xset; then
7939     COLLECT_NAMES=
7940     export COLLECT_NAMES
7941   fi
7942   ;;
7943 esac
7944
7945 # Global variables:
7946 ofile=libtool
7947 can_build_shared=yes
7948
7949 # All known linkers require a `.a' archive for static linking (except MSVC,
7950 # which needs '.lib').
7951 libext=a
7952
7953 with_gnu_ld="$lt_cv_prog_gnu_ld"
7954
7955 old_CC="$CC"
7956 old_CFLAGS="$CFLAGS"
7957
7958 # Set sane defaults for various variables
7959 test -z "$CC" && CC=cc
7960 test -z "$LTCC" && LTCC=$CC
7961 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7962 test -z "$LD" && LD=ld
7963 test -z "$ac_objext" && ac_objext=o
7964
7965 for cc_temp in $compiler""; do
7966   case $cc_temp in
7967     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7968     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7969     \-*) ;;
7970     *) break;;
7971   esac
7972 done
7973 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7974
7975
7976 # Only perform the check for file, if the check method requires it
7977 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7978 case $deplibs_check_method in
7979 file_magic*)
7980   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7981     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7982 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7983 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7984   $as_echo_n "(cached) " >&6
7985 else
7986   case $MAGIC_CMD in
7987 [\\/*] |  ?:[\\/]*)
7988   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7989   ;;
7990 *)
7991   lt_save_MAGIC_CMD="$MAGIC_CMD"
7992   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7993   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7994   for ac_dir in $ac_dummy; do
7995     IFS="$lt_save_ifs"
7996     test -z "$ac_dir" && ac_dir=.
7997     if test -f $ac_dir/${ac_tool_prefix}file; then
7998       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7999       if test -n "$file_magic_test_file"; then
8000         case $deplibs_check_method in
8001         "file_magic "*)
8002           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8003           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8004           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8005             $EGREP "$file_magic_regex" > /dev/null; then
8006             :
8007           else
8008             cat <<_LT_EOF 1>&2
8009
8010 *** Warning: the command libtool uses to detect shared libraries,
8011 *** $file_magic_cmd, produces output that libtool cannot recognize.
8012 *** The result is that libtool may fail to recognize shared libraries
8013 *** as such.  This will affect the creation of libtool libraries that
8014 *** depend on shared libraries, but programs linked with such libtool
8015 *** libraries will work regardless of this problem.  Nevertheless, you
8016 *** may want to report the problem to your system manager and/or to
8017 *** bug-libtool@gnu.org
8018
8019 _LT_EOF
8020           fi ;;
8021         esac
8022       fi
8023       break
8024     fi
8025   done
8026   IFS="$lt_save_ifs"
8027   MAGIC_CMD="$lt_save_MAGIC_CMD"
8028   ;;
8029 esac
8030 fi
8031
8032 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8033 if test -n "$MAGIC_CMD"; then
8034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8035 $as_echo "$MAGIC_CMD" >&6; }
8036 else
8037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8038 $as_echo "no" >&6; }
8039 fi
8040
8041
8042
8043
8044
8045 if test -z "$lt_cv_path_MAGIC_CMD"; then
8046   if test -n "$ac_tool_prefix"; then
8047     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8048 $as_echo_n "checking for file... " >&6; }
8049 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8050   $as_echo_n "(cached) " >&6
8051 else
8052   case $MAGIC_CMD in
8053 [\\/*] |  ?:[\\/]*)
8054   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8055   ;;
8056 *)
8057   lt_save_MAGIC_CMD="$MAGIC_CMD"
8058   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8059   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8060   for ac_dir in $ac_dummy; do
8061     IFS="$lt_save_ifs"
8062     test -z "$ac_dir" && ac_dir=.
8063     if test -f $ac_dir/file; then
8064       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8065       if test -n "$file_magic_test_file"; then
8066         case $deplibs_check_method in
8067         "file_magic "*)
8068           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8069           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8070           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8071             $EGREP "$file_magic_regex" > /dev/null; then
8072             :
8073           else
8074             cat <<_LT_EOF 1>&2
8075
8076 *** Warning: the command libtool uses to detect shared libraries,
8077 *** $file_magic_cmd, produces output that libtool cannot recognize.
8078 *** The result is that libtool may fail to recognize shared libraries
8079 *** as such.  This will affect the creation of libtool libraries that
8080 *** depend on shared libraries, but programs linked with such libtool
8081 *** libraries will work regardless of this problem.  Nevertheless, you
8082 *** may want to report the problem to your system manager and/or to
8083 *** bug-libtool@gnu.org
8084
8085 _LT_EOF
8086           fi ;;
8087         esac
8088       fi
8089       break
8090     fi
8091   done
8092   IFS="$lt_save_ifs"
8093   MAGIC_CMD="$lt_save_MAGIC_CMD"
8094   ;;
8095 esac
8096 fi
8097
8098 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8099 if test -n "$MAGIC_CMD"; then
8100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8101 $as_echo "$MAGIC_CMD" >&6; }
8102 else
8103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8104 $as_echo "no" >&6; }
8105 fi
8106
8107
8108   else
8109     MAGIC_CMD=:
8110   fi
8111 fi
8112
8113   fi
8114   ;;
8115 esac
8116
8117 # Use C for the default configuration in the libtool script
8118
8119 lt_save_CC="$CC"
8120 ac_ext=c
8121 ac_cpp='$CPP $CPPFLAGS'
8122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8125
8126
8127 # Source file extension for C test sources.
8128 ac_ext=c
8129
8130 # Object file extension for compiled C test sources.
8131 objext=o
8132 objext=$objext
8133
8134 # Code to be used in simple compile tests
8135 lt_simple_compile_test_code="int some_variable = 0;"
8136
8137 # Code to be used in simple link tests
8138 lt_simple_link_test_code='int main(){return(0);}'
8139
8140
8141
8142
8143
8144
8145
8146 # If no C compiler was specified, use CC.
8147 LTCC=${LTCC-"$CC"}
8148
8149 # If no C compiler flags were specified, use CFLAGS.
8150 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8151
8152 # Allow CC to be a program name with arguments.
8153 compiler=$CC
8154
8155 # Save the default compiler, since it gets overwritten when the other
8156 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8157 compiler_DEFAULT=$CC
8158
8159 # save warnings/boilerplate of simple test code
8160 ac_outfile=conftest.$ac_objext
8161 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8162 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8163 _lt_compiler_boilerplate=`cat conftest.err`
8164 $RM conftest*
8165
8166 ac_outfile=conftest.$ac_objext
8167 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8168 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8169 _lt_linker_boilerplate=`cat conftest.err`
8170 $RM -r conftest*
8171
8172
8173 ## CAVEAT EMPTOR:
8174 ## There is no encapsulation within the following macros, do not change
8175 ## the running order or otherwise move them around unless you know exactly
8176 ## what you are doing...
8177 if test -n "$compiler"; then
8178
8179 lt_prog_compiler_no_builtin_flag=
8180
8181 if test "$GCC" = yes; then
8182   case $cc_basename in
8183   nvcc*)
8184     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8185   *)
8186     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8187   esac
8188
8189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8190 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8191 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8192   $as_echo_n "(cached) " >&6
8193 else
8194   lt_cv_prog_compiler_rtti_exceptions=no
8195    ac_outfile=conftest.$ac_objext
8196    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8197    lt_compiler_flag="-fno-rtti -fno-exceptions"
8198    # Insert the option either (1) after the last *FLAGS variable, or
8199    # (2) before a word containing "conftest.", or (3) at the end.
8200    # Note that $ac_compile itself does not contain backslashes and begins
8201    # with a dollar sign (not a hyphen), so the echo should work correctly.
8202    # The option is referenced via a variable to avoid confusing sed.
8203    lt_compile=`echo "$ac_compile" | $SED \
8204    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8205    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8206    -e 's:$: $lt_compiler_flag:'`
8207    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8208    (eval "$lt_compile" 2>conftest.err)
8209    ac_status=$?
8210    cat conftest.err >&5
8211    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212    if (exit $ac_status) && test -s "$ac_outfile"; then
8213      # The compiler can only warn and ignore the option if not recognized
8214      # So say no if there are warnings other than the usual output.
8215      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8216      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8217      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8218        lt_cv_prog_compiler_rtti_exceptions=yes
8219      fi
8220    fi
8221    $RM conftest*
8222
8223 fi
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8225 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8226
8227 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8228     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8229 else
8230     :
8231 fi
8232
8233 fi
8234
8235
8236
8237
8238
8239
8240   lt_prog_compiler_wl=
8241 lt_prog_compiler_pic=
8242 lt_prog_compiler_static=
8243
8244
8245   if test "$GCC" = yes; then
8246     lt_prog_compiler_wl='-Wl,'
8247     lt_prog_compiler_static='-static'
8248
8249     case $host_os in
8250       aix*)
8251       # All AIX code is PIC.
8252       if test "$host_cpu" = ia64; then
8253         # AIX 5 now supports IA64 processor
8254         lt_prog_compiler_static='-Bstatic'
8255       fi
8256       ;;
8257
8258     amigaos*)
8259       case $host_cpu in
8260       powerpc)
8261             # see comment about AmigaOS4 .so support
8262             lt_prog_compiler_pic='-fPIC'
8263         ;;
8264       m68k)
8265             # FIXME: we need at least 68020 code to build shared libraries, but
8266             # adding the `-m68020' flag to GCC prevents building anything better,
8267             # like `-m68040'.
8268             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8269         ;;
8270       esac
8271       ;;
8272
8273     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8274       # PIC is the default for these OSes.
8275       ;;
8276
8277     mingw* | cygwin* | pw32* | os2* | cegcc*)
8278       # This hack is so that the source file can tell whether it is being
8279       # built for inclusion in a dll (and should export symbols for example).
8280       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8281       # (--disable-auto-import) libraries
8282       lt_prog_compiler_pic='-DDLL_EXPORT'
8283       ;;
8284
8285     darwin* | rhapsody*)
8286       # PIC is the default on this platform
8287       # Common symbols not allowed in MH_DYLIB files
8288       lt_prog_compiler_pic='-fno-common'
8289       ;;
8290
8291     haiku*)
8292       # PIC is the default for Haiku.
8293       # The "-static" flag exists, but is broken.
8294       lt_prog_compiler_static=
8295       ;;
8296
8297     hpux*)
8298       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8299       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8300       # sets the default TLS model and affects inlining.
8301       case $host_cpu in
8302       hppa*64*)
8303         # +Z the default
8304         ;;
8305       *)
8306         lt_prog_compiler_pic='-fPIC'
8307         ;;
8308       esac
8309       ;;
8310
8311     interix[3-9]*)
8312       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8313       # Instead, we relocate shared libraries at runtime.
8314       ;;
8315
8316     msdosdjgpp*)
8317       # Just because we use GCC doesn't mean we suddenly get shared libraries
8318       # on systems that don't support them.
8319       lt_prog_compiler_can_build_shared=no
8320       enable_shared=no
8321       ;;
8322
8323     *nto* | *qnx*)
8324       # QNX uses GNU C++, but need to define -shared option too, otherwise
8325       # it will coredump.
8326       lt_prog_compiler_pic='-fPIC -shared'
8327       ;;
8328
8329     sysv4*MP*)
8330       if test -d /usr/nec; then
8331         lt_prog_compiler_pic=-Kconform_pic
8332       fi
8333       ;;
8334
8335     *)
8336       lt_prog_compiler_pic='-fPIC'
8337       ;;
8338     esac
8339
8340     case $cc_basename in
8341     nvcc*) # Cuda Compiler Driver 2.2
8342       lt_prog_compiler_wl='-Xlinker '
8343       lt_prog_compiler_pic='-Xcompiler -fPIC'
8344       ;;
8345     esac
8346   else
8347     # PORTME Check for flag to pass linker flags through the system compiler.
8348     case $host_os in
8349     aix*)
8350       lt_prog_compiler_wl='-Wl,'
8351       if test "$host_cpu" = ia64; then
8352         # AIX 5 now supports IA64 processor
8353         lt_prog_compiler_static='-Bstatic'
8354       else
8355         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8356       fi
8357       ;;
8358
8359     mingw* | cygwin* | pw32* | os2* | cegcc*)
8360       # This hack is so that the source file can tell whether it is being
8361       # built for inclusion in a dll (and should export symbols for example).
8362       lt_prog_compiler_pic='-DDLL_EXPORT'
8363       ;;
8364
8365     hpux9* | hpux10* | hpux11*)
8366       lt_prog_compiler_wl='-Wl,'
8367       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8368       # not for PA HP-UX.
8369       case $host_cpu in
8370       hppa*64*|ia64*)
8371         # +Z the default
8372         ;;
8373       *)
8374         lt_prog_compiler_pic='+Z'
8375         ;;
8376       esac
8377       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8378       lt_prog_compiler_static='${wl}-a ${wl}archive'
8379       ;;
8380
8381     irix5* | irix6* | nonstopux*)
8382       lt_prog_compiler_wl='-Wl,'
8383       # PIC (with -KPIC) is the default.
8384       lt_prog_compiler_static='-non_shared'
8385       ;;
8386
8387     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8388       case $cc_basename in
8389       # old Intel for x86_64 which still supported -KPIC.
8390       ecc*)
8391         lt_prog_compiler_wl='-Wl,'
8392         lt_prog_compiler_pic='-KPIC'
8393         lt_prog_compiler_static='-static'
8394         ;;
8395       # icc used to be incompatible with GCC.
8396       # ICC 10 doesn't accept -KPIC any more.
8397       icc* | ifort*)
8398         lt_prog_compiler_wl='-Wl,'
8399         lt_prog_compiler_pic='-fPIC'
8400         lt_prog_compiler_static='-static'
8401         ;;
8402       # Lahey Fortran 8.1.
8403       lf95*)
8404         lt_prog_compiler_wl='-Wl,'
8405         lt_prog_compiler_pic='--shared'
8406         lt_prog_compiler_static='--static'
8407         ;;
8408       nagfor*)
8409         # NAG Fortran compiler
8410         lt_prog_compiler_wl='-Wl,-Wl,,'
8411         lt_prog_compiler_pic='-PIC'
8412         lt_prog_compiler_static='-Bstatic'
8413         ;;
8414       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8415         # Portland Group compilers (*not* the Pentium gcc compiler,
8416         # which looks to be a dead project)
8417         lt_prog_compiler_wl='-Wl,'
8418         lt_prog_compiler_pic='-fpic'
8419         lt_prog_compiler_static='-Bstatic'
8420         ;;
8421       ccc*)
8422         lt_prog_compiler_wl='-Wl,'
8423         # All Alpha code is PIC.
8424         lt_prog_compiler_static='-non_shared'
8425         ;;
8426       xl* | bgxl* | bgf* | mpixl*)
8427         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8428         lt_prog_compiler_wl='-Wl,'
8429         lt_prog_compiler_pic='-qpic'
8430         lt_prog_compiler_static='-qstaticlink'
8431         ;;
8432       *)
8433         case `$CC -V 2>&1 | sed 5q` in
8434         *Sun\ F* | *Sun*Fortran*)
8435           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8436           lt_prog_compiler_pic='-KPIC'
8437           lt_prog_compiler_static='-Bstatic'
8438           lt_prog_compiler_wl=''
8439           ;;
8440         *Sun\ C*)
8441           # Sun C 5.9
8442           lt_prog_compiler_pic='-KPIC'
8443           lt_prog_compiler_static='-Bstatic'
8444           lt_prog_compiler_wl='-Wl,'
8445           ;;
8446         esac
8447         ;;
8448       esac
8449       ;;
8450
8451     newsos6)
8452       lt_prog_compiler_pic='-KPIC'
8453       lt_prog_compiler_static='-Bstatic'
8454       ;;
8455
8456     *nto* | *qnx*)
8457       # QNX uses GNU C++, but need to define -shared option too, otherwise
8458       # it will coredump.
8459       lt_prog_compiler_pic='-fPIC -shared'
8460       ;;
8461
8462     osf3* | osf4* | osf5*)
8463       lt_prog_compiler_wl='-Wl,'
8464       # All OSF/1 code is PIC.
8465       lt_prog_compiler_static='-non_shared'
8466       ;;
8467
8468     rdos*)
8469       lt_prog_compiler_static='-non_shared'
8470       ;;
8471
8472     solaris*)
8473       lt_prog_compiler_pic='-KPIC'
8474       lt_prog_compiler_static='-Bstatic'
8475       case $cc_basename in
8476       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8477         lt_prog_compiler_wl='-Qoption ld ';;
8478       *)
8479         lt_prog_compiler_wl='-Wl,';;
8480       esac
8481       ;;
8482
8483     sunos4*)
8484       lt_prog_compiler_wl='-Qoption ld '
8485       lt_prog_compiler_pic='-PIC'
8486       lt_prog_compiler_static='-Bstatic'
8487       ;;
8488
8489     sysv4 | sysv4.2uw2* | sysv4.3*)
8490       lt_prog_compiler_wl='-Wl,'
8491       lt_prog_compiler_pic='-KPIC'
8492       lt_prog_compiler_static='-Bstatic'
8493       ;;
8494
8495     sysv4*MP*)
8496       if test -d /usr/nec ;then
8497         lt_prog_compiler_pic='-Kconform_pic'
8498         lt_prog_compiler_static='-Bstatic'
8499       fi
8500       ;;
8501
8502     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8503       lt_prog_compiler_wl='-Wl,'
8504       lt_prog_compiler_pic='-KPIC'
8505       lt_prog_compiler_static='-Bstatic'
8506       ;;
8507
8508     unicos*)
8509       lt_prog_compiler_wl='-Wl,'
8510       lt_prog_compiler_can_build_shared=no
8511       ;;
8512
8513     uts4*)
8514       lt_prog_compiler_pic='-pic'
8515       lt_prog_compiler_static='-Bstatic'
8516       ;;
8517
8518     *)
8519       lt_prog_compiler_can_build_shared=no
8520       ;;
8521     esac
8522   fi
8523
8524 case $host_os in
8525   # For platforms which do not support PIC, -DPIC is meaningless:
8526   *djgpp*)
8527     lt_prog_compiler_pic=
8528     ;;
8529   *)
8530     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8531     ;;
8532 esac
8533
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8535 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8536 if ${lt_cv_prog_compiler_pic+:} false; then :
8537   $as_echo_n "(cached) " >&6
8538 else
8539   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8540 fi
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8542 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8543 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8544
8545 #
8546 # Check to make sure the PIC flag actually works.
8547 #
8548 if test -n "$lt_prog_compiler_pic"; then
8549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8550 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8551 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8552   $as_echo_n "(cached) " >&6
8553 else
8554   lt_cv_prog_compiler_pic_works=no
8555    ac_outfile=conftest.$ac_objext
8556    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8557    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8558    # Insert the option either (1) after the last *FLAGS variable, or
8559    # (2) before a word containing "conftest.", or (3) at the end.
8560    # Note that $ac_compile itself does not contain backslashes and begins
8561    # with a dollar sign (not a hyphen), so the echo should work correctly.
8562    # The option is referenced via a variable to avoid confusing sed.
8563    lt_compile=`echo "$ac_compile" | $SED \
8564    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8565    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8566    -e 's:$: $lt_compiler_flag:'`
8567    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8568    (eval "$lt_compile" 2>conftest.err)
8569    ac_status=$?
8570    cat conftest.err >&5
8571    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572    if (exit $ac_status) && test -s "$ac_outfile"; then
8573      # The compiler can only warn and ignore the option if not recognized
8574      # So say no if there are warnings other than the usual output.
8575      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8576      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8577      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8578        lt_cv_prog_compiler_pic_works=yes
8579      fi
8580    fi
8581    $RM conftest*
8582
8583 fi
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8585 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8586
8587 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8588     case $lt_prog_compiler_pic in
8589      "" | " "*) ;;
8590      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8591      esac
8592 else
8593     lt_prog_compiler_pic=
8594      lt_prog_compiler_can_build_shared=no
8595 fi
8596
8597 fi
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609 #
8610 # Check to make sure the static flag actually works.
8611 #
8612 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8614 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8615 if ${lt_cv_prog_compiler_static_works+:} false; then :
8616   $as_echo_n "(cached) " >&6
8617 else
8618   lt_cv_prog_compiler_static_works=no
8619    save_LDFLAGS="$LDFLAGS"
8620    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8621    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8622    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8623      # The linker can only warn and ignore the option if not recognized
8624      # So say no if there are warnings
8625      if test -s conftest.err; then
8626        # Append any errors to the config.log.
8627        cat conftest.err 1>&5
8628        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8629        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8630        if diff conftest.exp conftest.er2 >/dev/null; then
8631          lt_cv_prog_compiler_static_works=yes
8632        fi
8633      else
8634        lt_cv_prog_compiler_static_works=yes
8635      fi
8636    fi
8637    $RM -r conftest*
8638    LDFLAGS="$save_LDFLAGS"
8639
8640 fi
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8642 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8643
8644 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8645     :
8646 else
8647     lt_prog_compiler_static=
8648 fi
8649
8650
8651
8652
8653
8654
8655
8656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8657 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8658 if ${lt_cv_prog_compiler_c_o+:} false; then :
8659   $as_echo_n "(cached) " >&6
8660 else
8661   lt_cv_prog_compiler_c_o=no
8662    $RM -r conftest 2>/dev/null
8663    mkdir conftest
8664    cd conftest
8665    mkdir out
8666    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8667
8668    lt_compiler_flag="-o out/conftest2.$ac_objext"
8669    # Insert the option either (1) after the last *FLAGS variable, or
8670    # (2) before a word containing "conftest.", or (3) at the end.
8671    # Note that $ac_compile itself does not contain backslashes and begins
8672    # with a dollar sign (not a hyphen), so the echo should work correctly.
8673    lt_compile=`echo "$ac_compile" | $SED \
8674    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8675    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8676    -e 's:$: $lt_compiler_flag:'`
8677    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8678    (eval "$lt_compile" 2>out/conftest.err)
8679    ac_status=$?
8680    cat out/conftest.err >&5
8681    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8683    then
8684      # The compiler can only warn and ignore the option if not recognized
8685      # So say no if there are warnings
8686      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8687      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8688      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8689        lt_cv_prog_compiler_c_o=yes
8690      fi
8691    fi
8692    chmod u+w . 2>&5
8693    $RM conftest*
8694    # SGI C++ compiler will create directory out/ii_files/ for
8695    # template instantiation
8696    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8697    $RM out/* && rmdir out
8698    cd ..
8699    $RM -r conftest
8700    $RM conftest*
8701
8702 fi
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8704 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8705
8706
8707
8708
8709
8710
8711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8712 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8713 if ${lt_cv_prog_compiler_c_o+:} false; then :
8714   $as_echo_n "(cached) " >&6
8715 else
8716   lt_cv_prog_compiler_c_o=no
8717    $RM -r conftest 2>/dev/null
8718    mkdir conftest
8719    cd conftest
8720    mkdir out
8721    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8722
8723    lt_compiler_flag="-o out/conftest2.$ac_objext"
8724    # Insert the option either (1) after the last *FLAGS variable, or
8725    # (2) before a word containing "conftest.", or (3) at the end.
8726    # Note that $ac_compile itself does not contain backslashes and begins
8727    # with a dollar sign (not a hyphen), so the echo should work correctly.
8728    lt_compile=`echo "$ac_compile" | $SED \
8729    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8730    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8731    -e 's:$: $lt_compiler_flag:'`
8732    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8733    (eval "$lt_compile" 2>out/conftest.err)
8734    ac_status=$?
8735    cat out/conftest.err >&5
8736    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8738    then
8739      # The compiler can only warn and ignore the option if not recognized
8740      # So say no if there are warnings
8741      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8742      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8743      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8744        lt_cv_prog_compiler_c_o=yes
8745      fi
8746    fi
8747    chmod u+w . 2>&5
8748    $RM conftest*
8749    # SGI C++ compiler will create directory out/ii_files/ for
8750    # template instantiation
8751    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8752    $RM out/* && rmdir out
8753    cd ..
8754    $RM -r conftest
8755    $RM conftest*
8756
8757 fi
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8759 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8760
8761
8762
8763
8764 hard_links="nottested"
8765 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8766   # do not overwrite the value of need_locks provided by the user
8767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8768 $as_echo_n "checking if we can lock with hard links... " >&6; }
8769   hard_links=yes
8770   $RM conftest*
8771   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8772   touch conftest.a
8773   ln conftest.a conftest.b 2>&5 || hard_links=no
8774   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8776 $as_echo "$hard_links" >&6; }
8777   if test "$hard_links" = no; then
8778     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8779 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8780     need_locks=warn
8781   fi
8782 else
8783   need_locks=no
8784 fi
8785
8786
8787
8788
8789
8790
8791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8792 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8793
8794   runpath_var=
8795   allow_undefined_flag=
8796   always_export_symbols=no
8797   archive_cmds=
8798   archive_expsym_cmds=
8799   compiler_needs_object=no
8800   enable_shared_with_static_runtimes=no
8801   export_dynamic_flag_spec=
8802   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8803   hardcode_automatic=no
8804   hardcode_direct=no
8805   hardcode_direct_absolute=no
8806   hardcode_libdir_flag_spec=
8807   hardcode_libdir_flag_spec_ld=
8808   hardcode_libdir_separator=
8809   hardcode_minus_L=no
8810   hardcode_shlibpath_var=unsupported
8811   inherit_rpath=no
8812   link_all_deplibs=unknown
8813   module_cmds=
8814   module_expsym_cmds=
8815   old_archive_from_new_cmds=
8816   old_archive_from_expsyms_cmds=
8817   thread_safe_flag_spec=
8818   whole_archive_flag_spec=
8819   # include_expsyms should be a list of space-separated symbols to be *always*
8820   # included in the symbol list
8821   include_expsyms=
8822   # exclude_expsyms can be an extended regexp of symbols to exclude
8823   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8824   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8825   # as well as any symbol that contains `d'.
8826   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8827   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8828   # platforms (ab)use it in PIC code, but their linkers get confused if
8829   # the symbol is explicitly referenced.  Since portable code cannot
8830   # rely on this symbol name, it's probably fine to never include it in
8831   # preloaded symbol tables.
8832   # Exclude shared library initialization/finalization symbols.
8833   extract_expsyms_cmds=
8834
8835   case $host_os in
8836   cygwin* | mingw* | pw32* | cegcc*)
8837     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8838     # When not using gcc, we currently assume that we are using
8839     # Microsoft Visual C++.
8840     if test "$GCC" != yes; then
8841       with_gnu_ld=no
8842     fi
8843     ;;
8844   interix*)
8845     # we just hope/assume this is gcc and not c89 (= MSVC++)
8846     with_gnu_ld=yes
8847     ;;
8848   openbsd*)
8849     with_gnu_ld=no
8850     ;;
8851   linux* | k*bsd*-gnu | gnu*)
8852     link_all_deplibs=no
8853     ;;
8854   esac
8855
8856   ld_shlibs=yes
8857
8858   # On some targets, GNU ld is compatible enough with the native linker
8859   # that we're better off using the native interface for both.
8860   lt_use_gnu_ld_interface=no
8861   if test "$with_gnu_ld" = yes; then
8862     case $host_os in
8863       aix*)
8864         # The AIX port of GNU ld has always aspired to compatibility
8865         # with the native linker.  However, as the warning in the GNU ld
8866         # block says, versions before 2.19.5* couldn't really create working
8867         # shared libraries, regardless of the interface used.
8868         case `$LD -v 2>&1` in
8869           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8870           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8871           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8872           *)
8873             lt_use_gnu_ld_interface=yes
8874             ;;
8875         esac
8876         ;;
8877       *)
8878         lt_use_gnu_ld_interface=yes
8879         ;;
8880     esac
8881   fi
8882
8883   if test "$lt_use_gnu_ld_interface" = yes; then
8884     # If archive_cmds runs LD, not CC, wlarc should be empty
8885     wlarc='${wl}'
8886
8887     # Set some defaults for GNU ld with shared library support. These
8888     # are reset later if shared libraries are not supported. Putting them
8889     # here allows them to be overridden if necessary.
8890     runpath_var=LD_RUN_PATH
8891     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8892     export_dynamic_flag_spec='${wl}--export-dynamic'
8893     # ancient GNU ld didn't support --whole-archive et. al.
8894     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8895       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8896     else
8897       whole_archive_flag_spec=
8898     fi
8899     supports_anon_versioning=no
8900     case `$LD -v 2>&1` in
8901       *GNU\ gold*) supports_anon_versioning=yes ;;
8902       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8903       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8904       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8905       *\ 2.11.*) ;; # other 2.11 versions
8906       *) supports_anon_versioning=yes ;;
8907     esac
8908
8909     # See if GNU ld supports shared libraries.
8910     case $host_os in
8911     aix[3-9]*)
8912       # On AIX/PPC, the GNU linker is very broken
8913       if test "$host_cpu" != ia64; then
8914         ld_shlibs=no
8915         cat <<_LT_EOF 1>&2
8916
8917 *** Warning: the GNU linker, at least up to release 2.19, is reported
8918 *** to be unable to reliably create shared libraries on AIX.
8919 *** Therefore, libtool is disabling shared libraries support.  If you
8920 *** really care for shared libraries, you may want to install binutils
8921 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8922 *** You will then need to restart the configuration process.
8923
8924 _LT_EOF
8925       fi
8926       ;;
8927
8928     amigaos*)
8929       case $host_cpu in
8930       powerpc)
8931             # see comment about AmigaOS4 .so support
8932             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8933             archive_expsym_cmds=''
8934         ;;
8935       m68k)
8936             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)'
8937             hardcode_libdir_flag_spec='-L$libdir'
8938             hardcode_minus_L=yes
8939         ;;
8940       esac
8941       ;;
8942
8943     beos*)
8944       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8945         allow_undefined_flag=unsupported
8946         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8947         # support --undefined.  This deserves some investigation.  FIXME
8948         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8949       else
8950         ld_shlibs=no
8951       fi
8952       ;;
8953
8954     cygwin* | mingw* | pw32* | cegcc*)
8955       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8956       # as there is no search path for DLLs.
8957       hardcode_libdir_flag_spec='-L$libdir'
8958       export_dynamic_flag_spec='${wl}--export-all-symbols'
8959       allow_undefined_flag=unsupported
8960       always_export_symbols=no
8961       enable_shared_with_static_runtimes=yes
8962       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'
8963       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8964
8965       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8966         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8967         # If the export-symbols file already is a .def file (1st line
8968         # is EXPORTS), use it as is; otherwise, prepend...
8969         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8970           cp $export_symbols $output_objdir/$soname.def;
8971         else
8972           echo EXPORTS > $output_objdir/$soname.def;
8973           cat $export_symbols >> $output_objdir/$soname.def;
8974         fi~
8975         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8976       else
8977         ld_shlibs=no
8978       fi
8979       ;;
8980
8981     haiku*)
8982       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8983       link_all_deplibs=yes
8984       ;;
8985
8986     interix[3-9]*)
8987       hardcode_direct=no
8988       hardcode_shlibpath_var=no
8989       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8990       export_dynamic_flag_spec='${wl}-E'
8991       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8992       # Instead, shared libraries are loaded at an image base (0x10000000 by
8993       # default) and relocated if they conflict, which is a slow very memory
8994       # consuming and fragmenting process.  To avoid this, we pick a random,
8995       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8996       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8997       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8998       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'
8999       ;;
9000
9001     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9002       tmp_diet=no
9003       if test "$host_os" = linux-dietlibc; then
9004         case $cc_basename in
9005           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9006         esac
9007       fi
9008       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9009          && test "$tmp_diet" = no
9010       then
9011         tmp_addflag=' $pic_flag'
9012         tmp_sharedflag='-shared'
9013         case $cc_basename,$host_cpu in
9014         pgcc*)                          # Portland Group C compiler
9015           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'
9016           tmp_addflag=' $pic_flag'
9017           ;;
9018         pgf77* | pgf90* | pgf95* | pgfortran*)
9019                                         # Portland Group f77 and f90 compilers
9020           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'
9021           tmp_addflag=' $pic_flag -Mnomain' ;;
9022         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9023           tmp_addflag=' -i_dynamic' ;;
9024         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9025           tmp_addflag=' -i_dynamic -nofor_main' ;;
9026         ifc* | ifort*)                  # Intel Fortran compiler
9027           tmp_addflag=' -nofor_main' ;;
9028         lf95*)                          # Lahey Fortran 8.1
9029           whole_archive_flag_spec=
9030           tmp_sharedflag='--shared' ;;
9031         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9032           tmp_sharedflag='-qmkshrobj'
9033           tmp_addflag= ;;
9034         nvcc*)  # Cuda Compiler Driver 2.2
9035           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'
9036           compiler_needs_object=yes
9037           ;;
9038         esac
9039         case `$CC -V 2>&1 | sed 5q` in
9040         *Sun\ C*)                       # Sun C 5.9
9041           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'
9042           compiler_needs_object=yes
9043           tmp_sharedflag='-G' ;;
9044         *Sun\ F*)                       # Sun Fortran 8.3
9045           tmp_sharedflag='-G' ;;
9046         esac
9047         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9048
9049         if test "x$supports_anon_versioning" = xyes; then
9050           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9051             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9052             echo "local: *; };" >> $output_objdir/$libname.ver~
9053             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9054         fi
9055
9056         case $cc_basename in
9057         xlf* | bgf* | bgxlf* | mpixlf*)
9058           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9059           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9060           hardcode_libdir_flag_spec=
9061           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9062           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9063           if test "x$supports_anon_versioning" = xyes; then
9064             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9065               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9066               echo "local: *; };" >> $output_objdir/$libname.ver~
9067               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9068           fi
9069           ;;
9070         esac
9071       else
9072         ld_shlibs=no
9073       fi
9074       ;;
9075
9076     netbsd* | netbsdelf*-gnu)
9077       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9078         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9079         wlarc=
9080       else
9081         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9082         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9083       fi
9084       ;;
9085
9086     solaris*)
9087       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9088         ld_shlibs=no
9089         cat <<_LT_EOF 1>&2
9090
9091 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9092 *** create shared libraries on Solaris systems.  Therefore, libtool
9093 *** is disabling shared libraries support.  We urge you to upgrade GNU
9094 *** binutils to release 2.9.1 or newer.  Another option is to modify
9095 *** your PATH or compiler configuration so that the native linker is
9096 *** used, and then restart.
9097
9098 _LT_EOF
9099       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9100         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9101         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9102       else
9103         ld_shlibs=no
9104       fi
9105       ;;
9106
9107     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9108       case `$LD -v 2>&1` in
9109         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9110         ld_shlibs=no
9111         cat <<_LT_EOF 1>&2
9112
9113 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9114 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9115 *** is disabling shared libraries support.  We urge you to upgrade GNU
9116 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9117 *** your PATH or compiler configuration so that the native linker is
9118 *** used, and then restart.
9119
9120 _LT_EOF
9121         ;;
9122         *)
9123           # For security reasons, it is highly recommended that you always
9124           # use absolute paths for naming shared libraries, and exclude the
9125           # DT_RUNPATH tag from executables and libraries.  But doing so
9126           # requires that you compile everything twice, which is a pain.
9127           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9128             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9129             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9130             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9131           else
9132             ld_shlibs=no
9133           fi
9134         ;;
9135       esac
9136       ;;
9137
9138     sunos4*)
9139       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9140       wlarc=
9141       hardcode_direct=yes
9142       hardcode_shlibpath_var=no
9143       ;;
9144
9145     *)
9146       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9147         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9148         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9149       else
9150         ld_shlibs=no
9151       fi
9152       ;;
9153     esac
9154
9155     if test "$ld_shlibs" = no; then
9156       runpath_var=
9157       hardcode_libdir_flag_spec=
9158       export_dynamic_flag_spec=
9159       whole_archive_flag_spec=
9160     fi
9161   else
9162     # PORTME fill in a description of your system's linker (not GNU ld)
9163     case $host_os in
9164     aix3*)
9165       allow_undefined_flag=unsupported
9166       always_export_symbols=yes
9167       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'
9168       # Note: this linker hardcodes the directories in LIBPATH if there
9169       # are no directories specified by -L.
9170       hardcode_minus_L=yes
9171       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9172         # Neither direct hardcoding nor static linking is supported with a
9173         # broken collect2.
9174         hardcode_direct=unsupported
9175       fi
9176       ;;
9177
9178     aix[4-9]*)
9179       if test "$host_cpu" = ia64; then
9180         # On IA64, the linker does run time linking by default, so we don't
9181         # have to do anything special.
9182         aix_use_runtimelinking=no
9183         exp_sym_flag='-Bexport'
9184         no_entry_flag=""
9185       else
9186         # If we're using GNU nm, then we don't want the "-C" option.
9187         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9188         # Also, AIX nm treats weak defined symbols like other global
9189         # defined symbols, whereas GNU nm marks them as "W".
9190         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9191           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'
9192         else
9193           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'
9194         fi
9195         aix_use_runtimelinking=no
9196
9197         # Test if we are trying to use run time linking or normal
9198         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9199         # need to do runtime linking.
9200         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9201           for ld_flag in $LDFLAGS; do
9202           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9203             aix_use_runtimelinking=yes
9204             break
9205           fi
9206           done
9207           ;;
9208         esac
9209
9210         exp_sym_flag='-bexport'
9211         no_entry_flag='-bnoentry'
9212       fi
9213
9214       # When large executables or shared objects are built, AIX ld can
9215       # have problems creating the table of contents.  If linking a library
9216       # or program results in "error TOC overflow" add -mminimal-toc to
9217       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9218       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9219
9220       archive_cmds=''
9221       hardcode_direct=yes
9222       hardcode_direct_absolute=yes
9223       hardcode_libdir_separator=':'
9224       link_all_deplibs=yes
9225       file_list_spec='${wl}-f,'
9226
9227       if test "$GCC" = yes; then
9228         case $host_os in aix4.[012]|aix4.[012].*)
9229         # We only want to do this on AIX 4.2 and lower, the check
9230         # below for broken collect2 doesn't work under 4.3+
9231           collect2name=`${CC} -print-prog-name=collect2`
9232           if test -f "$collect2name" &&
9233            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9234           then
9235           # We have reworked collect2
9236           :
9237           else
9238           # We have old collect2
9239           hardcode_direct=unsupported
9240           # It fails to find uninstalled libraries when the uninstalled
9241           # path is not listed in the libpath.  Setting hardcode_minus_L
9242           # to unsupported forces relinking
9243           hardcode_minus_L=yes
9244           hardcode_libdir_flag_spec='-L$libdir'
9245           hardcode_libdir_separator=
9246           fi
9247           ;;
9248         esac
9249         shared_flag='-shared'
9250         if test "$aix_use_runtimelinking" = yes; then
9251           shared_flag="$shared_flag "'${wl}-G'
9252         fi
9253         link_all_deplibs=no
9254       else
9255         # not using gcc
9256         if test "$host_cpu" = ia64; then
9257         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9258         # chokes on -Wl,-G. The following line is correct:
9259           shared_flag='-G'
9260         else
9261           if test "$aix_use_runtimelinking" = yes; then
9262             shared_flag='${wl}-G'
9263           else
9264             shared_flag='${wl}-bM:SRE'
9265           fi
9266         fi
9267       fi
9268
9269       export_dynamic_flag_spec='${wl}-bexpall'
9270       # It seems that -bexpall does not export symbols beginning with
9271       # underscore (_), so it is better to generate a list of symbols to export.
9272       always_export_symbols=yes
9273       if test "$aix_use_runtimelinking" = yes; then
9274         # Warning - without using the other runtime loading flags (-brtl),
9275         # -berok will link without error, but may produce a broken library.
9276         allow_undefined_flag='-berok'
9277         # Determine the default libpath from the value encoded in an
9278         # empty executable.
9279         if test "${lt_cv_aix_libpath+set}" = set; then
9280   aix_libpath=$lt_cv_aix_libpath
9281 else
9282   if ${lt_cv_aix_libpath_+:} false; then :
9283   $as_echo_n "(cached) " >&6
9284 else
9285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9286 /* end confdefs.h.  */
9287
9288 int
9289 main ()
9290 {
9291
9292   ;
9293   return 0;
9294 }
9295 _ACEOF
9296 if ac_fn_c_try_link "$LINENO"; then :
9297
9298   lt_aix_libpath_sed='
9299       /Import File Strings/,/^$/ {
9300           /^0/ {
9301               s/^0  *\([^ ]*\) *$/\1/
9302               p
9303           }
9304       }'
9305   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9306   # Check for a 64-bit object if we didn't find anything.
9307   if test -z "$lt_cv_aix_libpath_"; then
9308     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9309   fi
9310 fi
9311 rm -f core conftest.err conftest.$ac_objext \
9312     conftest$ac_exeext conftest.$ac_ext
9313   if test -z "$lt_cv_aix_libpath_"; then
9314     lt_cv_aix_libpath_="/usr/lib:/lib"
9315   fi
9316
9317 fi
9318
9319   aix_libpath=$lt_cv_aix_libpath_
9320 fi
9321
9322         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9323         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"
9324       else
9325         if test "$host_cpu" = ia64; then
9326           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9327           allow_undefined_flag="-z nodefs"
9328           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"
9329         else
9330          # Determine the default libpath from the value encoded in an
9331          # empty executable.
9332          if test "${lt_cv_aix_libpath+set}" = set; then
9333   aix_libpath=$lt_cv_aix_libpath
9334 else
9335   if ${lt_cv_aix_libpath_+:} false; then :
9336   $as_echo_n "(cached) " >&6
9337 else
9338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h.  */
9340
9341 int
9342 main ()
9343 {
9344
9345   ;
9346   return 0;
9347 }
9348 _ACEOF
9349 if ac_fn_c_try_link "$LINENO"; then :
9350
9351   lt_aix_libpath_sed='
9352       /Import File Strings/,/^$/ {
9353           /^0/ {
9354               s/^0  *\([^ ]*\) *$/\1/
9355               p
9356           }
9357       }'
9358   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9359   # Check for a 64-bit object if we didn't find anything.
9360   if test -z "$lt_cv_aix_libpath_"; then
9361     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9362   fi
9363 fi
9364 rm -f core conftest.err conftest.$ac_objext \
9365     conftest$ac_exeext conftest.$ac_ext
9366   if test -z "$lt_cv_aix_libpath_"; then
9367     lt_cv_aix_libpath_="/usr/lib:/lib"
9368   fi
9369
9370 fi
9371
9372   aix_libpath=$lt_cv_aix_libpath_
9373 fi
9374
9375          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9376           # Warning - without using the other run time loading flags,
9377           # -berok will link without error, but may produce a broken library.
9378           no_undefined_flag=' ${wl}-bernotok'
9379           allow_undefined_flag=' ${wl}-berok'
9380           if test "$with_gnu_ld" = yes; then
9381             # We only use this code for GNU lds that support --whole-archive.
9382             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9383           else
9384             # Exported symbols can be pulled into shared objects from archives
9385             whole_archive_flag_spec='$convenience'
9386           fi
9387           archive_cmds_need_lc=yes
9388           # This is similar to how AIX traditionally builds its shared libraries.
9389           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'
9390         fi
9391       fi
9392       ;;
9393
9394     amigaos*)
9395       case $host_cpu in
9396       powerpc)
9397             # see comment about AmigaOS4 .so support
9398             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9399             archive_expsym_cmds=''
9400         ;;
9401       m68k)
9402             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)'
9403             hardcode_libdir_flag_spec='-L$libdir'
9404             hardcode_minus_L=yes
9405         ;;
9406       esac
9407       ;;
9408
9409     bsdi[45]*)
9410       export_dynamic_flag_spec=-rdynamic
9411       ;;
9412
9413     cygwin* | mingw* | pw32* | cegcc*)
9414       # When not using gcc, we currently assume that we are using
9415       # Microsoft Visual C++.
9416       # hardcode_libdir_flag_spec is actually meaningless, as there is
9417       # no search path for DLLs.
9418       case $cc_basename in
9419       cl*)
9420         # Native MSVC
9421         hardcode_libdir_flag_spec=' '
9422         allow_undefined_flag=unsupported
9423         always_export_symbols=yes
9424         file_list_spec='@'
9425         # Tell ltmain to make .lib files, not .a files.
9426         libext=lib
9427         # Tell ltmain to make .dll files, not .so files.
9428         shrext_cmds=".dll"
9429         # FIXME: Setting linknames here is a bad hack.
9430         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9431         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9432             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9433           else
9434             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9435           fi~
9436           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9437           linknames='
9438         # The linker will not automatically build a static lib if we build a DLL.
9439         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9440         enable_shared_with_static_runtimes=yes
9441         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9442         # Don't use ranlib
9443         old_postinstall_cmds='chmod 644 $oldlib'
9444         postlink_cmds='lt_outputfile="@OUTPUT@"~
9445           lt_tool_outputfile="@TOOL_OUTPUT@"~
9446           case $lt_outputfile in
9447             *.exe|*.EXE) ;;
9448             *)
9449               lt_outputfile="$lt_outputfile.exe"
9450               lt_tool_outputfile="$lt_tool_outputfile.exe"
9451               ;;
9452           esac~
9453           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9454             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9455             $RM "$lt_outputfile.manifest";
9456           fi'
9457         ;;
9458       *)
9459         # Assume MSVC wrapper
9460         hardcode_libdir_flag_spec=' '
9461         allow_undefined_flag=unsupported
9462         # Tell ltmain to make .lib files, not .a files.
9463         libext=lib
9464         # Tell ltmain to make .dll files, not .so files.
9465         shrext_cmds=".dll"
9466         # FIXME: Setting linknames here is a bad hack.
9467         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9468         # The linker will automatically build a .lib file if we build a DLL.
9469         old_archive_from_new_cmds='true'
9470         # FIXME: Should let the user specify the lib program.
9471         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9472         enable_shared_with_static_runtimes=yes
9473         ;;
9474       esac
9475       ;;
9476
9477     darwin* | rhapsody*)
9478
9479
9480   archive_cmds_need_lc=no
9481   hardcode_direct=no
9482   hardcode_automatic=yes
9483   hardcode_shlibpath_var=unsupported
9484   if test "$lt_cv_ld_force_load" = "yes"; then
9485     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\"`'
9486   else
9487     whole_archive_flag_spec=''
9488   fi
9489   link_all_deplibs=yes
9490   allow_undefined_flag="$_lt_dar_allow_undefined"
9491   case $cc_basename in
9492      ifort*) _lt_dar_can_shared=yes ;;
9493      *) _lt_dar_can_shared=$GCC ;;
9494   esac
9495   if test "$_lt_dar_can_shared" = "yes"; then
9496     output_verbose_link_cmd=func_echo_all
9497     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9498     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9499     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}"
9500     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}"
9501
9502   else
9503   ld_shlibs=no
9504   fi
9505
9506       ;;
9507
9508     dgux*)
9509       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9510       hardcode_libdir_flag_spec='-L$libdir'
9511       hardcode_shlibpath_var=no
9512       ;;
9513
9514     freebsd1*)
9515       ld_shlibs=no
9516       ;;
9517
9518     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9519     # support.  Future versions do this automatically, but an explicit c++rt0.o
9520     # does not break anything, and helps significantly (at the cost of a little
9521     # extra space).
9522     freebsd2.2*)
9523       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9524       hardcode_libdir_flag_spec='-R$libdir'
9525       hardcode_direct=yes
9526       hardcode_shlibpath_var=no
9527       ;;
9528
9529     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9530     freebsd2*)
9531       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9532       hardcode_direct=yes
9533       hardcode_minus_L=yes
9534       hardcode_shlibpath_var=no
9535       ;;
9536
9537     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9538     freebsd* | dragonfly*)
9539       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9540       hardcode_libdir_flag_spec='-R$libdir'
9541       hardcode_direct=yes
9542       hardcode_shlibpath_var=no
9543       ;;
9544
9545     hpux9*)
9546       if test "$GCC" = yes; then
9547         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'
9548       else
9549         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'
9550       fi
9551       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9552       hardcode_libdir_separator=:
9553       hardcode_direct=yes
9554
9555       # hardcode_minus_L: Not really in the search PATH,
9556       # but as the default location of the library.
9557       hardcode_minus_L=yes
9558       export_dynamic_flag_spec='${wl}-E'
9559       ;;
9560
9561     hpux10*)
9562       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9563         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9564       else
9565         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9566       fi
9567       if test "$with_gnu_ld" = no; then
9568         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9569         hardcode_libdir_flag_spec_ld='+b $libdir'
9570         hardcode_libdir_separator=:
9571         hardcode_direct=yes
9572         hardcode_direct_absolute=yes
9573         export_dynamic_flag_spec='${wl}-E'
9574         # hardcode_minus_L: Not really in the search PATH,
9575         # but as the default location of the library.
9576         hardcode_minus_L=yes
9577       fi
9578       ;;
9579
9580     hpux11*)
9581       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9582         case $host_cpu in
9583         hppa*64*)
9584           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9585           ;;
9586         ia64*)
9587           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9588           ;;
9589         *)
9590           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9591           ;;
9592         esac
9593       else
9594         case $host_cpu in
9595         hppa*64*)
9596           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9597           ;;
9598         ia64*)
9599           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9600           ;;
9601         *)
9602
9603           # Older versions of the 11.00 compiler do not understand -b yet
9604           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9605           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9606 $as_echo_n "checking if $CC understands -b... " >&6; }
9607 if ${lt_cv_prog_compiler__b+:} false; then :
9608   $as_echo_n "(cached) " >&6
9609 else
9610   lt_cv_prog_compiler__b=no
9611    save_LDFLAGS="$LDFLAGS"
9612    LDFLAGS="$LDFLAGS -b"
9613    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9614    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9615      # The linker can only warn and ignore the option if not recognized
9616      # So say no if there are warnings
9617      if test -s conftest.err; then
9618        # Append any errors to the config.log.
9619        cat conftest.err 1>&5
9620        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9621        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9622        if diff conftest.exp conftest.er2 >/dev/null; then
9623          lt_cv_prog_compiler__b=yes
9624        fi
9625      else
9626        lt_cv_prog_compiler__b=yes
9627      fi
9628    fi
9629    $RM -r conftest*
9630    LDFLAGS="$save_LDFLAGS"
9631
9632 fi
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9634 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9635
9636 if test x"$lt_cv_prog_compiler__b" = xyes; then
9637     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9638 else
9639     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9640 fi
9641
9642           ;;
9643         esac
9644       fi
9645       if test "$with_gnu_ld" = no; then
9646         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9647         hardcode_libdir_separator=:
9648
9649         case $host_cpu in
9650         hppa*64*|ia64*)
9651           hardcode_direct=no
9652           hardcode_shlibpath_var=no
9653           ;;
9654         *)
9655           hardcode_direct=yes
9656           hardcode_direct_absolute=yes
9657           export_dynamic_flag_spec='${wl}-E'
9658
9659           # hardcode_minus_L: Not really in the search PATH,
9660           # but as the default location of the library.
9661           hardcode_minus_L=yes
9662           ;;
9663         esac
9664       fi
9665       ;;
9666
9667     irix5* | irix6* | nonstopux*)
9668       if test "$GCC" = yes; then
9669         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'
9670         # Try to use the -exported_symbol ld option, if it does not
9671         # work, assume that -exports_file does not work either and
9672         # implicitly export all symbols.
9673         # This should be the same for all languages, so no per-tag cache variable.
9674         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9675 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9676 if ${lt_cv_irix_exported_symbol+:} false; then :
9677   $as_echo_n "(cached) " >&6
9678 else
9679   save_LDFLAGS="$LDFLAGS"
9680            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9681            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9682 /* end confdefs.h.  */
9683 int foo (void) { return 0; }
9684 _ACEOF
9685 if ac_fn_c_try_link "$LINENO"; then :
9686   lt_cv_irix_exported_symbol=yes
9687 else
9688   lt_cv_irix_exported_symbol=no
9689 fi
9690 rm -f core conftest.err conftest.$ac_objext \
9691     conftest$ac_exeext conftest.$ac_ext
9692            LDFLAGS="$save_LDFLAGS"
9693 fi
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9695 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9696         if test "$lt_cv_irix_exported_symbol" = yes; then
9697           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'
9698         fi
9699       else
9700         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'
9701         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'
9702       fi
9703       archive_cmds_need_lc='no'
9704       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9705       hardcode_libdir_separator=:
9706       inherit_rpath=yes
9707       link_all_deplibs=yes
9708       ;;
9709
9710     netbsd* | netbsdelf*-gnu)
9711       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9712         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9713       else
9714         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9715       fi
9716       hardcode_libdir_flag_spec='-R$libdir'
9717       hardcode_direct=yes
9718       hardcode_shlibpath_var=no
9719       ;;
9720
9721     newsos6)
9722       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9723       hardcode_direct=yes
9724       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9725       hardcode_libdir_separator=:
9726       hardcode_shlibpath_var=no
9727       ;;
9728
9729     *nto* | *qnx*)
9730       ;;
9731
9732     openbsd*)
9733       if test -f /usr/libexec/ld.so; then
9734         hardcode_direct=yes
9735         hardcode_shlibpath_var=no
9736         hardcode_direct_absolute=yes
9737         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9738           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9739           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9740           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9741           export_dynamic_flag_spec='${wl}-E'
9742         else
9743           case $host_os in
9744            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9745              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9746              hardcode_libdir_flag_spec='-R$libdir'
9747              ;;
9748            *)
9749              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9750              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9751              ;;
9752           esac
9753         fi
9754       else
9755         ld_shlibs=no
9756       fi
9757       ;;
9758
9759     os2*)
9760       hardcode_libdir_flag_spec='-L$libdir'
9761       hardcode_minus_L=yes
9762       allow_undefined_flag=unsupported
9763       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'
9764       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9765       ;;
9766
9767     osf3*)
9768       if test "$GCC" = yes; then
9769         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9770         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'
9771       else
9772         allow_undefined_flag=' -expect_unresolved \*'
9773         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'
9774       fi
9775       archive_cmds_need_lc='no'
9776       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9777       hardcode_libdir_separator=:
9778       ;;
9779
9780     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9781       if test "$GCC" = yes; then
9782         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9783         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'
9784         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9785       else
9786         allow_undefined_flag=' -expect_unresolved \*'
9787         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'
9788         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~
9789         $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'
9790
9791         # Both c and cxx compiler support -rpath directly
9792         hardcode_libdir_flag_spec='-rpath $libdir'
9793       fi
9794       archive_cmds_need_lc='no'
9795       hardcode_libdir_separator=:
9796       ;;
9797
9798     solaris*)
9799       no_undefined_flag=' -z defs'
9800       if test "$GCC" = yes; then
9801         wlarc='${wl}'
9802         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9803         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9804           $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'
9805       else
9806         case `$CC -V 2>&1` in
9807         *"Compilers 5.0"*)
9808           wlarc=''
9809           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9810           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9811           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9812           ;;
9813         *)
9814           wlarc='${wl}'
9815           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9816           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9817           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9818           ;;
9819         esac
9820       fi
9821       hardcode_libdir_flag_spec='-R$libdir'
9822       hardcode_shlibpath_var=no
9823       case $host_os in
9824       solaris2.[0-5] | solaris2.[0-5].*) ;;
9825       *)
9826         # The compiler driver will combine and reorder linker options,
9827         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9828         # but is careful enough not to reorder.
9829         # Supported since Solaris 2.6 (maybe 2.5.1?)
9830         if test "$GCC" = yes; then
9831           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9832         else
9833           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9834         fi
9835         ;;
9836       esac
9837       link_all_deplibs=yes
9838       ;;
9839
9840     sunos4*)
9841       if test "x$host_vendor" = xsequent; then
9842         # Use $CC to link under sequent, because it throws in some extra .o
9843         # files that make .init and .fini sections work.
9844         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9845       else
9846         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9847       fi
9848       hardcode_libdir_flag_spec='-L$libdir'
9849       hardcode_direct=yes
9850       hardcode_minus_L=yes
9851       hardcode_shlibpath_var=no
9852       ;;
9853
9854     sysv4)
9855       case $host_vendor in
9856         sni)
9857           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9858           hardcode_direct=yes # is this really true???
9859         ;;
9860         siemens)
9861           ## LD is ld it makes a PLAMLIB
9862           ## CC just makes a GrossModule.
9863           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9864           reload_cmds='$CC -r -o $output$reload_objs'
9865           hardcode_direct=no
9866         ;;
9867         motorola)
9868           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9869           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9870         ;;
9871       esac
9872       runpath_var='LD_RUN_PATH'
9873       hardcode_shlibpath_var=no
9874       ;;
9875
9876     sysv4.3*)
9877       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9878       hardcode_shlibpath_var=no
9879       export_dynamic_flag_spec='-Bexport'
9880       ;;
9881
9882     sysv4*MP*)
9883       if test -d /usr/nec; then
9884         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9885         hardcode_shlibpath_var=no
9886         runpath_var=LD_RUN_PATH
9887         hardcode_runpath_var=yes
9888         ld_shlibs=yes
9889       fi
9890       ;;
9891
9892     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9893       no_undefined_flag='${wl}-z,text'
9894       archive_cmds_need_lc=no
9895       hardcode_shlibpath_var=no
9896       runpath_var='LD_RUN_PATH'
9897
9898       if test "$GCC" = yes; then
9899         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9900         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9901       else
9902         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9903         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9904       fi
9905       ;;
9906
9907     sysv5* | sco3.2v5* | sco5v6*)
9908       # Note: We can NOT use -z defs as we might desire, because we do not
9909       # link with -lc, and that would cause any symbols used from libc to
9910       # always be unresolved, which means just about no library would
9911       # ever link correctly.  If we're not using GNU ld we use -z text
9912       # though, which does catch some bad symbols but isn't as heavy-handed
9913       # as -z defs.
9914       no_undefined_flag='${wl}-z,text'
9915       allow_undefined_flag='${wl}-z,nodefs'
9916       archive_cmds_need_lc=no
9917       hardcode_shlibpath_var=no
9918       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9919       hardcode_libdir_separator=':'
9920       link_all_deplibs=yes
9921       export_dynamic_flag_spec='${wl}-Bexport'
9922       runpath_var='LD_RUN_PATH'
9923
9924       if test "$GCC" = yes; then
9925         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9926         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9927       else
9928         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9929         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9930       fi
9931       ;;
9932
9933     uts4*)
9934       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9935       hardcode_libdir_flag_spec='-L$libdir'
9936       hardcode_shlibpath_var=no
9937       ;;
9938
9939     *)
9940       ld_shlibs=no
9941       ;;
9942     esac
9943
9944     if test x$host_vendor = xsni; then
9945       case $host in
9946       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9947         export_dynamic_flag_spec='${wl}-Blargedynsym'
9948         ;;
9949       esac
9950     fi
9951   fi
9952
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9954 $as_echo "$ld_shlibs" >&6; }
9955 test "$ld_shlibs" = no && can_build_shared=no
9956
9957 with_gnu_ld=$with_gnu_ld
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973 #
9974 # Do we need to explicitly link libc?
9975 #
9976 case "x$archive_cmds_need_lc" in
9977 x|xyes)
9978   # Assume -lc should be added
9979   archive_cmds_need_lc=yes
9980
9981   if test "$enable_shared" = yes && test "$GCC" = yes; then
9982     case $archive_cmds in
9983     *'~'*)
9984       # FIXME: we may have to deal with multi-command sequences.
9985       ;;
9986     '$CC '*)
9987       # Test whether the compiler implicitly links with -lc since on some
9988       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9989       # to ld, don't add -lc before -lgcc.
9990       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9991 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9992 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9993   $as_echo_n "(cached) " >&6
9994 else
9995   $RM conftest*
9996         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9997
9998         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9999   (eval $ac_compile) 2>&5
10000   ac_status=$?
10001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10002   test $ac_status = 0; } 2>conftest.err; then
10003           soname=conftest
10004           lib=conftest
10005           libobjs=conftest.$ac_objext
10006           deplibs=
10007           wl=$lt_prog_compiler_wl
10008           pic_flag=$lt_prog_compiler_pic
10009           compiler_flags=-v
10010           linker_flags=-v
10011           verstring=
10012           output_objdir=.
10013           libname=conftest
10014           lt_save_allow_undefined_flag=$allow_undefined_flag
10015           allow_undefined_flag=
10016           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10017   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10018   ac_status=$?
10019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10020   test $ac_status = 0; }
10021           then
10022             lt_cv_archive_cmds_need_lc=no
10023           else
10024             lt_cv_archive_cmds_need_lc=yes
10025           fi
10026           allow_undefined_flag=$lt_save_allow_undefined_flag
10027         else
10028           cat conftest.err 1>&5
10029         fi
10030         $RM conftest*
10031
10032 fi
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10034 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10035       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10036       ;;
10037     esac
10038   fi
10039   ;;
10040 esac
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10199 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10200
10201 if test "$GCC" = yes; then
10202   case $host_os in
10203     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10204     *) lt_awk_arg="/^libraries:/" ;;
10205   esac
10206   case $host_os in
10207     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10208     *) lt_sed_strip_eq="s,=/,/,g" ;;
10209   esac
10210   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10211   case $lt_search_path_spec in
10212   *\;*)
10213     # if the path contains ";" then we assume it to be the separator
10214     # otherwise default to the standard path separator (i.e. ":") - it is
10215     # assumed that no part of a normal pathname contains ";" but that should
10216     # okay in the real world where ";" in dirpaths is itself problematic.
10217     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10218     ;;
10219   *)
10220     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10221     ;;
10222   esac
10223   # Ok, now we have the path, separated by spaces, we can step through it
10224   # and add multilib dir if necessary.
10225   lt_tmp_lt_search_path_spec=
10226   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10227   for lt_sys_path in $lt_search_path_spec; do
10228     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10229       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10230     else
10231       test -d "$lt_sys_path" && \
10232         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10233     fi
10234   done
10235   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10236 BEGIN {RS=" "; FS="/|\n";} {
10237   lt_foo="";
10238   lt_count=0;
10239   for (lt_i = NF; lt_i > 0; lt_i--) {
10240     if ($lt_i != "" && $lt_i != ".") {
10241       if ($lt_i == "..") {
10242         lt_count++;
10243       } else {
10244         if (lt_count == 0) {
10245           lt_foo="/" $lt_i lt_foo;
10246         } else {
10247           lt_count--;
10248         }
10249       }
10250     }
10251   }
10252   if (lt_foo != "") { lt_freq[lt_foo]++; }
10253   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10254 }'`
10255   # AWK program above erroneously prepends '/' to C:/dos/paths
10256   # for these hosts.
10257   case $host_os in
10258     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10259       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10260   esac
10261   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10262 else
10263   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10264 fi
10265 library_names_spec=
10266 libname_spec='lib$name'
10267 soname_spec=
10268 shrext_cmds=".so"
10269 postinstall_cmds=
10270 postuninstall_cmds=
10271 finish_cmds=
10272 finish_eval=
10273 shlibpath_var=
10274 shlibpath_overrides_runpath=unknown
10275 version_type=none
10276 dynamic_linker="$host_os ld.so"
10277 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10278 need_lib_prefix=unknown
10279 hardcode_into_libs=no
10280
10281 # when you set need_version to no, make sure it does not cause -set_version
10282 # flags to be left without arguments
10283 need_version=unknown
10284
10285 case $host_os in
10286 aix3*)
10287   version_type=linux
10288   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10289   shlibpath_var=LIBPATH
10290
10291   # AIX 3 has no versioning support, so we append a major version to the name.
10292   soname_spec='${libname}${release}${shared_ext}$major'
10293   ;;
10294
10295 aix[4-9]*)
10296   version_type=linux
10297   need_lib_prefix=no
10298   need_version=no
10299   hardcode_into_libs=yes
10300   if test "$host_cpu" = ia64; then
10301     # AIX 5 supports IA64
10302     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10303     shlibpath_var=LD_LIBRARY_PATH
10304   else
10305     # With GCC up to 2.95.x, collect2 would create an import file
10306     # for dependence libraries.  The import file would start with
10307     # the line `#! .'.  This would cause the generated library to
10308     # depend on `.', always an invalid library.  This was fixed in
10309     # development snapshots of GCC prior to 3.0.
10310     case $host_os in
10311       aix4 | aix4.[01] | aix4.[01].*)
10312       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10313            echo ' yes '
10314            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10315         :
10316       else
10317         can_build_shared=no
10318       fi
10319       ;;
10320     esac
10321     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10322     # soname into executable. Probably we can add versioning support to
10323     # collect2, so additional links can be useful in future.
10324     if test "$aix_use_runtimelinking" = yes; then
10325       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10326       # instead of lib<name>.a to let people know that these are not
10327       # typical AIX shared libraries.
10328       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10329     else
10330       # We preserve .a as extension for shared libraries through AIX4.2
10331       # and later when we are not doing run time linking.
10332       library_names_spec='${libname}${release}.a $libname.a'
10333       soname_spec='${libname}${release}${shared_ext}$major'
10334     fi
10335     shlibpath_var=LIBPATH
10336   fi
10337   ;;
10338
10339 amigaos*)
10340   case $host_cpu in
10341   powerpc)
10342     # Since July 2007 AmigaOS4 officially supports .so libraries.
10343     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10344     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10345     ;;
10346   m68k)
10347     library_names_spec='$libname.ixlibrary $libname.a'
10348     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10349     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'
10350     ;;
10351   esac
10352   ;;
10353
10354 beos*)
10355   library_names_spec='${libname}${shared_ext}'
10356   dynamic_linker="$host_os ld.so"
10357   shlibpath_var=LIBRARY_PATH
10358   ;;
10359
10360 bsdi[45]*)
10361   version_type=linux
10362   need_version=no
10363   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10364   soname_spec='${libname}${release}${shared_ext}$major'
10365   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10366   shlibpath_var=LD_LIBRARY_PATH
10367   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10368   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10369   # the default ld.so.conf also contains /usr/contrib/lib and
10370   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10371   # libtool to hard-code these into programs
10372   ;;
10373
10374 cygwin* | mingw* | pw32* | cegcc*)
10375   version_type=windows
10376   shrext_cmds=".dll"
10377   need_version=no
10378   need_lib_prefix=no
10379
10380   case $GCC,$cc_basename in
10381   yes,*)
10382     # gcc
10383     library_names_spec='$libname.dll.a'
10384     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10385     postinstall_cmds='base_file=`basename \${file}`~
10386       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10387       dldir=$destdir/`dirname \$dlpath`~
10388       test -d \$dldir || mkdir -p \$dldir~
10389       $install_prog $dir/$dlname \$dldir/$dlname~
10390       chmod a+x \$dldir/$dlname~
10391       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10392         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10393       fi'
10394     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10395       dlpath=$dir/\$dldll~
10396        $RM \$dlpath'
10397     shlibpath_overrides_runpath=yes
10398
10399     case $host_os in
10400     cygwin*)
10401       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10402       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10403
10404       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10405       ;;
10406     mingw* | cegcc*)
10407       # MinGW DLLs use traditional 'lib' prefix
10408       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10409       ;;
10410     pw32*)
10411       # pw32 DLLs use 'pw' prefix rather than 'lib'
10412       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10413       ;;
10414     esac
10415     dynamic_linker='Win32 ld.exe'
10416     ;;
10417
10418   *,cl*)
10419     # Native MSVC
10420     libname_spec='$name'
10421     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10422     library_names_spec='${libname}.dll.lib'
10423
10424     case $build_os in
10425     mingw*)
10426       sys_lib_search_path_spec=
10427       lt_save_ifs=$IFS
10428       IFS=';'
10429       for lt_path in $LIB
10430       do
10431         IFS=$lt_save_ifs
10432         # Let DOS variable expansion print the short 8.3 style file name.
10433         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10434         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10435       done
10436       IFS=$lt_save_ifs
10437       # Convert to MSYS style.
10438       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10439       ;;
10440     cygwin*)
10441       # Convert to unix form, then to dos form, then back to unix form
10442       # but this time dos style (no spaces!) so that the unix form looks
10443       # like /cygdrive/c/PROGRA~1:/cygdr...
10444       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10445       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10446       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10447       ;;
10448     *)
10449       sys_lib_search_path_spec="$LIB"
10450       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10451         # It is most probably a Windows format PATH.
10452         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10453       else
10454         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10455       fi
10456       # FIXME: find the short name or the path components, as spaces are
10457       # common. (e.g. "Program Files" -> "PROGRA~1")
10458       ;;
10459     esac
10460
10461     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10462     postinstall_cmds='base_file=`basename \${file}`~
10463       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10464       dldir=$destdir/`dirname \$dlpath`~
10465       test -d \$dldir || mkdir -p \$dldir~
10466       $install_prog $dir/$dlname \$dldir/$dlname'
10467     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10468       dlpath=$dir/\$dldll~
10469        $RM \$dlpath'
10470     shlibpath_overrides_runpath=yes
10471     dynamic_linker='Win32 link.exe'
10472     ;;
10473
10474   *)
10475     # Assume MSVC wrapper
10476     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10477     dynamic_linker='Win32 ld.exe'
10478     ;;
10479   esac
10480   # FIXME: first we should search . and the directory the executable is in
10481   shlibpath_var=PATH
10482   ;;
10483
10484 darwin* | rhapsody*)
10485   dynamic_linker="$host_os dyld"
10486   version_type=darwin
10487   need_lib_prefix=no
10488   need_version=no
10489   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10490   soname_spec='${libname}${release}${major}$shared_ext'
10491   shlibpath_overrides_runpath=yes
10492   shlibpath_var=DYLD_LIBRARY_PATH
10493   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10494
10495   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10496   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10497   ;;
10498
10499 dgux*)
10500   version_type=linux
10501   need_lib_prefix=no
10502   need_version=no
10503   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10504   soname_spec='${libname}${release}${shared_ext}$major'
10505   shlibpath_var=LD_LIBRARY_PATH
10506   ;;
10507
10508 freebsd1*)
10509   dynamic_linker=no
10510   ;;
10511
10512 freebsd* | dragonfly*)
10513   # DragonFly does not have aout.  When/if they implement a new
10514   # versioning mechanism, adjust this.
10515   if test -x /usr/bin/objformat; then
10516     objformat=`/usr/bin/objformat`
10517   else
10518     case $host_os in
10519     freebsd[123]*) objformat=aout ;;
10520     *) objformat=elf ;;
10521     esac
10522   fi
10523   version_type=freebsd-$objformat
10524   case $version_type in
10525     freebsd-elf*)
10526       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10527       need_version=no
10528       need_lib_prefix=no
10529       ;;
10530     freebsd-*)
10531       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10532       need_version=yes
10533       ;;
10534   esac
10535   shlibpath_var=LD_LIBRARY_PATH
10536   case $host_os in
10537   freebsd2*)
10538     shlibpath_overrides_runpath=yes
10539     ;;
10540   freebsd3.[01]* | freebsdelf3.[01]*)
10541     shlibpath_overrides_runpath=yes
10542     hardcode_into_libs=yes
10543     ;;
10544   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10545   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10546     shlibpath_overrides_runpath=no
10547     hardcode_into_libs=yes
10548     ;;
10549   *) # from 4.6 on, and DragonFly
10550     shlibpath_overrides_runpath=yes
10551     hardcode_into_libs=yes
10552     ;;
10553   esac
10554   ;;
10555
10556 gnu*)
10557   version_type=linux
10558   need_lib_prefix=no
10559   need_version=no
10560   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10561   soname_spec='${libname}${release}${shared_ext}$major'
10562   shlibpath_var=LD_LIBRARY_PATH
10563   shlibpath_overrides_runpath=no
10564   hardcode_into_libs=yes
10565   ;;
10566
10567 haiku*)
10568   version_type=linux
10569   need_lib_prefix=no
10570   need_version=no
10571   dynamic_linker="$host_os runtime_loader"
10572   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10573   soname_spec='${libname}${release}${shared_ext}$major'
10574   shlibpath_var=LIBRARY_PATH
10575   shlibpath_overrides_runpath=yes
10576   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10577   hardcode_into_libs=yes
10578   ;;
10579
10580 hpux9* | hpux10* | hpux11*)
10581   # Give a soname corresponding to the major version so that dld.sl refuses to
10582   # link against other versions.
10583   version_type=sunos
10584   need_lib_prefix=no
10585   need_version=no
10586   case $host_cpu in
10587   ia64*)
10588     shrext_cmds='.so'
10589     hardcode_into_libs=yes
10590     dynamic_linker="$host_os dld.so"
10591     shlibpath_var=LD_LIBRARY_PATH
10592     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10593     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10594     soname_spec='${libname}${release}${shared_ext}$major'
10595     if test "X$HPUX_IA64_MODE" = X32; then
10596       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10597     else
10598       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10599     fi
10600     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10601     ;;
10602   hppa*64*)
10603     shrext_cmds='.sl'
10604     hardcode_into_libs=yes
10605     dynamic_linker="$host_os dld.sl"
10606     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10607     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10608     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10609     soname_spec='${libname}${release}${shared_ext}$major'
10610     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10611     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10612     ;;
10613   *)
10614     shrext_cmds='.sl'
10615     dynamic_linker="$host_os dld.sl"
10616     shlibpath_var=SHLIB_PATH
10617     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10618     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10619     soname_spec='${libname}${release}${shared_ext}$major'
10620     ;;
10621   esac
10622   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10623   postinstall_cmds='chmod 555 $lib'
10624   # or fails outright, so override atomically:
10625   install_override_mode=555
10626   ;;
10627
10628 interix[3-9]*)
10629   version_type=linux
10630   need_lib_prefix=no
10631   need_version=no
10632   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10633   soname_spec='${libname}${release}${shared_ext}$major'
10634   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10635   shlibpath_var=LD_LIBRARY_PATH
10636   shlibpath_overrides_runpath=no
10637   hardcode_into_libs=yes
10638   ;;
10639
10640 irix5* | irix6* | nonstopux*)
10641   case $host_os in
10642     nonstopux*) version_type=nonstopux ;;
10643     *)
10644         if test "$lt_cv_prog_gnu_ld" = yes; then
10645                 version_type=linux
10646         else
10647                 version_type=irix
10648         fi ;;
10649   esac
10650   need_lib_prefix=no
10651   need_version=no
10652   soname_spec='${libname}${release}${shared_ext}$major'
10653   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10654   case $host_os in
10655   irix5* | nonstopux*)
10656     libsuff= shlibsuff=
10657     ;;
10658   *)
10659     case $LD in # libtool.m4 will add one of these switches to LD
10660     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10661       libsuff= shlibsuff= libmagic=32-bit;;
10662     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10663       libsuff=32 shlibsuff=N32 libmagic=N32;;
10664     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10665       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10666     *) libsuff= shlibsuff= libmagic=never-match;;
10667     esac
10668     ;;
10669   esac
10670   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10671   shlibpath_overrides_runpath=no
10672   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10673   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10674   hardcode_into_libs=yes
10675   ;;
10676
10677 # No shared lib support for Linux oldld, aout, or coff.
10678 linux*oldld* | linux*aout* | linux*coff*)
10679   dynamic_linker=no
10680   ;;
10681
10682 # This must be Linux ELF.
10683 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10684   version_type=linux
10685   need_lib_prefix=no
10686   need_version=no
10687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10688   soname_spec='${libname}${release}${shared_ext}$major'
10689   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10690   shlibpath_var=LD_LIBRARY_PATH
10691   shlibpath_overrides_runpath=no
10692
10693   # Some binutils ld are patched to set DT_RUNPATH
10694   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10695   $as_echo_n "(cached) " >&6
10696 else
10697   lt_cv_shlibpath_overrides_runpath=no
10698     save_LDFLAGS=$LDFLAGS
10699     save_libdir=$libdir
10700     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10701          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10702     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h.  */
10704
10705 int
10706 main ()
10707 {
10708
10709   ;
10710   return 0;
10711 }
10712 _ACEOF
10713 if ac_fn_c_try_link "$LINENO"; then :
10714   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10715   lt_cv_shlibpath_overrides_runpath=yes
10716 fi
10717 fi
10718 rm -f core conftest.err conftest.$ac_objext \
10719     conftest$ac_exeext conftest.$ac_ext
10720     LDFLAGS=$save_LDFLAGS
10721     libdir=$save_libdir
10722
10723 fi
10724
10725   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10726
10727   # This implies no fast_install, which is unacceptable.
10728   # Some rework will be needed to allow for fast_install
10729   # before this can be enabled.
10730   hardcode_into_libs=yes
10731
10732   # Append ld.so.conf contents to the search path
10733   if test -f /etc/ld.so.conf; then
10734     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' ' '`
10735     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10736   fi
10737
10738   # We used to test for /lib/ld.so.1 and disable shared libraries on
10739   # powerpc, because MkLinux only supported shared libraries with the
10740   # GNU dynamic linker.  Since this was broken with cross compilers,
10741   # most powerpc-linux boxes support dynamic linking these days and
10742   # people can always --disable-shared, the test was removed, and we
10743   # assume the GNU/Linux dynamic linker is in use.
10744   dynamic_linker='GNU/Linux ld.so'
10745   ;;
10746
10747 netbsdelf*-gnu)
10748   version_type=linux
10749   need_lib_prefix=no
10750   need_version=no
10751   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10752   soname_spec='${libname}${release}${shared_ext}$major'
10753   shlibpath_var=LD_LIBRARY_PATH
10754   shlibpath_overrides_runpath=no
10755   hardcode_into_libs=yes
10756   dynamic_linker='NetBSD ld.elf_so'
10757   ;;
10758
10759 netbsd*)
10760   version_type=sunos
10761   need_lib_prefix=no
10762   need_version=no
10763   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10764     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10765     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10766     dynamic_linker='NetBSD (a.out) ld.so'
10767   else
10768     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10769     soname_spec='${libname}${release}${shared_ext}$major'
10770     dynamic_linker='NetBSD ld.elf_so'
10771   fi
10772   shlibpath_var=LD_LIBRARY_PATH
10773   shlibpath_overrides_runpath=yes
10774   hardcode_into_libs=yes
10775   ;;
10776
10777 newsos6)
10778   version_type=linux
10779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10780   shlibpath_var=LD_LIBRARY_PATH
10781   shlibpath_overrides_runpath=yes
10782   ;;
10783
10784 *nto* | *qnx*)
10785   version_type=qnx
10786   need_lib_prefix=no
10787   need_version=no
10788   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10789   soname_spec='${libname}${release}${shared_ext}$major'
10790   shlibpath_var=LD_LIBRARY_PATH
10791   shlibpath_overrides_runpath=no
10792   hardcode_into_libs=yes
10793   dynamic_linker='ldqnx.so'
10794   ;;
10795
10796 openbsd*)
10797   version_type=sunos
10798   sys_lib_dlsearch_path_spec="/usr/lib"
10799   need_lib_prefix=no
10800   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10801   case $host_os in
10802     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10803     *)                          need_version=no  ;;
10804   esac
10805   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10806   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10807   shlibpath_var=LD_LIBRARY_PATH
10808   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10809     case $host_os in
10810       openbsd2.[89] | openbsd2.[89].*)
10811         shlibpath_overrides_runpath=no
10812         ;;
10813       *)
10814         shlibpath_overrides_runpath=yes
10815         ;;
10816       esac
10817   else
10818     shlibpath_overrides_runpath=yes
10819   fi
10820   ;;
10821
10822 os2*)
10823   libname_spec='$name'
10824   shrext_cmds=".dll"
10825   need_lib_prefix=no
10826   library_names_spec='$libname${shared_ext} $libname.a'
10827   dynamic_linker='OS/2 ld.exe'
10828   shlibpath_var=LIBPATH
10829   ;;
10830
10831 osf3* | osf4* | osf5*)
10832   version_type=osf
10833   need_lib_prefix=no
10834   need_version=no
10835   soname_spec='${libname}${release}${shared_ext}$major'
10836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10837   shlibpath_var=LD_LIBRARY_PATH
10838   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10839   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10840   ;;
10841
10842 rdos*)
10843   dynamic_linker=no
10844   ;;
10845
10846 solaris*)
10847   version_type=linux
10848   need_lib_prefix=no
10849   need_version=no
10850   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851   soname_spec='${libname}${release}${shared_ext}$major'
10852   shlibpath_var=LD_LIBRARY_PATH
10853   shlibpath_overrides_runpath=yes
10854   hardcode_into_libs=yes
10855   # ldd complains unless libraries are executable
10856   postinstall_cmds='chmod +x $lib'
10857   ;;
10858
10859 sunos4*)
10860   version_type=sunos
10861   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10862   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10863   shlibpath_var=LD_LIBRARY_PATH
10864   shlibpath_overrides_runpath=yes
10865   if test "$with_gnu_ld" = yes; then
10866     need_lib_prefix=no
10867   fi
10868   need_version=yes
10869   ;;
10870
10871 sysv4 | sysv4.3*)
10872   version_type=linux
10873   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10874   soname_spec='${libname}${release}${shared_ext}$major'
10875   shlibpath_var=LD_LIBRARY_PATH
10876   case $host_vendor in
10877     sni)
10878       shlibpath_overrides_runpath=no
10879       need_lib_prefix=no
10880       runpath_var=LD_RUN_PATH
10881       ;;
10882     siemens)
10883       need_lib_prefix=no
10884       ;;
10885     motorola)
10886       need_lib_prefix=no
10887       need_version=no
10888       shlibpath_overrides_runpath=no
10889       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10890       ;;
10891   esac
10892   ;;
10893
10894 sysv4*MP*)
10895   if test -d /usr/nec ;then
10896     version_type=linux
10897     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10898     soname_spec='$libname${shared_ext}.$major'
10899     shlibpath_var=LD_LIBRARY_PATH
10900   fi
10901   ;;
10902
10903 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10904   version_type=freebsd-elf
10905   need_lib_prefix=no
10906   need_version=no
10907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10908   soname_spec='${libname}${release}${shared_ext}$major'
10909   shlibpath_var=LD_LIBRARY_PATH
10910   shlibpath_overrides_runpath=yes
10911   hardcode_into_libs=yes
10912   if test "$with_gnu_ld" = yes; then
10913     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10914   else
10915     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10916     case $host_os in
10917       sco3.2v5*)
10918         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10919         ;;
10920     esac
10921   fi
10922   sys_lib_dlsearch_path_spec='/usr/lib'
10923   ;;
10924
10925 tpf*)
10926   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10927   version_type=linux
10928   need_lib_prefix=no
10929   need_version=no
10930   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10931   shlibpath_var=LD_LIBRARY_PATH
10932   shlibpath_overrides_runpath=no
10933   hardcode_into_libs=yes
10934   ;;
10935
10936 uts4*)
10937   version_type=linux
10938   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10939   soname_spec='${libname}${release}${shared_ext}$major'
10940   shlibpath_var=LD_LIBRARY_PATH
10941   ;;
10942
10943 *)
10944   dynamic_linker=no
10945   ;;
10946 esac
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10948 $as_echo "$dynamic_linker" >&6; }
10949 test "$dynamic_linker" = no && can_build_shared=no
10950
10951 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10952 if test "$GCC" = yes; then
10953   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10954 fi
10955
10956 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10957   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10958 fi
10959 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10960   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10961 fi
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11055 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11056 hardcode_action=
11057 if test -n "$hardcode_libdir_flag_spec" ||
11058    test -n "$runpath_var" ||
11059    test "X$hardcode_automatic" = "Xyes" ; then
11060
11061   # We can hardcode non-existent directories.
11062   if test "$hardcode_direct" != no &&
11063      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11064      # have to relink, otherwise we might link with an installed library
11065      # when we should be linking with a yet-to-be-installed one
11066      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11067      test "$hardcode_minus_L" != no; then
11068     # Linking always hardcodes the temporary library directory.
11069     hardcode_action=relink
11070   else
11071     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11072     hardcode_action=immediate
11073   fi
11074 else
11075   # We cannot hardcode anything, or else we can only hardcode existing
11076   # directories.
11077   hardcode_action=unsupported
11078 fi
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11080 $as_echo "$hardcode_action" >&6; }
11081
11082 if test "$hardcode_action" = relink ||
11083    test "$inherit_rpath" = yes; then
11084   # Fast installation is not supported
11085   enable_fast_install=no
11086 elif test "$shlibpath_overrides_runpath" = yes ||
11087      test "$enable_shared" = no; then
11088   # Fast installation is not necessary
11089   enable_fast_install=needless
11090 fi
11091
11092
11093
11094
11095
11096
11097   if test "x$enable_dlopen" != xyes; then
11098   enable_dlopen=unknown
11099   enable_dlopen_self=unknown
11100   enable_dlopen_self_static=unknown
11101 else
11102   lt_cv_dlopen=no
11103   lt_cv_dlopen_libs=
11104
11105   case $host_os in
11106   beos*)
11107     lt_cv_dlopen="load_add_on"
11108     lt_cv_dlopen_libs=
11109     lt_cv_dlopen_self=yes
11110     ;;
11111
11112   mingw* | pw32* | cegcc*)
11113     lt_cv_dlopen="LoadLibrary"
11114     lt_cv_dlopen_libs=
11115     ;;
11116
11117   cygwin*)
11118     lt_cv_dlopen="dlopen"
11119     lt_cv_dlopen_libs=
11120     ;;
11121
11122   darwin*)
11123   # if libdl is installed we need to link against it
11124     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11125 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11126 if ${ac_cv_lib_dl_dlopen+:} false; then :
11127   $as_echo_n "(cached) " >&6
11128 else
11129   ac_check_lib_save_LIBS=$LIBS
11130 LIBS="-ldl  $LIBS"
11131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h.  */
11133
11134 /* Override any GCC internal prototype to avoid an error.
11135    Use char because int might match the return type of a GCC
11136    builtin and then its argument prototype would still apply.  */
11137 #ifdef __cplusplus
11138 extern "C"
11139 #endif
11140 char dlopen ();
11141 int
11142 main ()
11143 {
11144 return dlopen ();
11145   ;
11146   return 0;
11147 }
11148 _ACEOF
11149 if ac_fn_c_try_link "$LINENO"; then :
11150   ac_cv_lib_dl_dlopen=yes
11151 else
11152   ac_cv_lib_dl_dlopen=no
11153 fi
11154 rm -f core conftest.err conftest.$ac_objext \
11155     conftest$ac_exeext conftest.$ac_ext
11156 LIBS=$ac_check_lib_save_LIBS
11157 fi
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11159 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11160 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11161   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11162 else
11163
11164     lt_cv_dlopen="dyld"
11165     lt_cv_dlopen_libs=
11166     lt_cv_dlopen_self=yes
11167
11168 fi
11169
11170     ;;
11171
11172   *)
11173     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11174 if test "x$ac_cv_func_shl_load" = xyes; then :
11175   lt_cv_dlopen="shl_load"
11176 else
11177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11178 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11179 if ${ac_cv_lib_dld_shl_load+:} false; then :
11180   $as_echo_n "(cached) " >&6
11181 else
11182   ac_check_lib_save_LIBS=$LIBS
11183 LIBS="-ldld  $LIBS"
11184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11185 /* end confdefs.h.  */
11186
11187 /* Override any GCC internal prototype to avoid an error.
11188    Use char because int might match the return type of a GCC
11189    builtin and then its argument prototype would still apply.  */
11190 #ifdef __cplusplus
11191 extern "C"
11192 #endif
11193 char shl_load ();
11194 int
11195 main ()
11196 {
11197 return shl_load ();
11198   ;
11199   return 0;
11200 }
11201 _ACEOF
11202 if ac_fn_c_try_link "$LINENO"; then :
11203   ac_cv_lib_dld_shl_load=yes
11204 else
11205   ac_cv_lib_dld_shl_load=no
11206 fi
11207 rm -f core conftest.err conftest.$ac_objext \
11208     conftest$ac_exeext conftest.$ac_ext
11209 LIBS=$ac_check_lib_save_LIBS
11210 fi
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11212 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11213 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11214   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11215 else
11216   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11217 if test "x$ac_cv_func_dlopen" = xyes; then :
11218   lt_cv_dlopen="dlopen"
11219 else
11220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11221 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11222 if ${ac_cv_lib_dl_dlopen+:} false; then :
11223   $as_echo_n "(cached) " >&6
11224 else
11225   ac_check_lib_save_LIBS=$LIBS
11226 LIBS="-ldl  $LIBS"
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h.  */
11229
11230 /* Override any GCC internal prototype to avoid an error.
11231    Use char because int might match the return type of a GCC
11232    builtin and then its argument prototype would still apply.  */
11233 #ifdef __cplusplus
11234 extern "C"
11235 #endif
11236 char dlopen ();
11237 int
11238 main ()
11239 {
11240 return dlopen ();
11241   ;
11242   return 0;
11243 }
11244 _ACEOF
11245 if ac_fn_c_try_link "$LINENO"; then :
11246   ac_cv_lib_dl_dlopen=yes
11247 else
11248   ac_cv_lib_dl_dlopen=no
11249 fi
11250 rm -f core conftest.err conftest.$ac_objext \
11251     conftest$ac_exeext conftest.$ac_ext
11252 LIBS=$ac_check_lib_save_LIBS
11253 fi
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11255 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11256 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11257   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11258 else
11259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11260 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11261 if ${ac_cv_lib_svld_dlopen+:} false; then :
11262   $as_echo_n "(cached) " >&6
11263 else
11264   ac_check_lib_save_LIBS=$LIBS
11265 LIBS="-lsvld  $LIBS"
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h.  */
11268
11269 /* Override any GCC internal prototype to avoid an error.
11270    Use char because int might match the return type of a GCC
11271    builtin and then its argument prototype would still apply.  */
11272 #ifdef __cplusplus
11273 extern "C"
11274 #endif
11275 char dlopen ();
11276 int
11277 main ()
11278 {
11279 return dlopen ();
11280   ;
11281   return 0;
11282 }
11283 _ACEOF
11284 if ac_fn_c_try_link "$LINENO"; then :
11285   ac_cv_lib_svld_dlopen=yes
11286 else
11287   ac_cv_lib_svld_dlopen=no
11288 fi
11289 rm -f core conftest.err conftest.$ac_objext \
11290     conftest$ac_exeext conftest.$ac_ext
11291 LIBS=$ac_check_lib_save_LIBS
11292 fi
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11294 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11295 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11296   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11297 else
11298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11299 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11300 if ${ac_cv_lib_dld_dld_link+:} false; then :
11301   $as_echo_n "(cached) " >&6
11302 else
11303   ac_check_lib_save_LIBS=$LIBS
11304 LIBS="-ldld  $LIBS"
11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h.  */
11307
11308 /* Override any GCC internal prototype to avoid an error.
11309    Use char because int might match the return type of a GCC
11310    builtin and then its argument prototype would still apply.  */
11311 #ifdef __cplusplus
11312 extern "C"
11313 #endif
11314 char dld_link ();
11315 int
11316 main ()
11317 {
11318 return dld_link ();
11319   ;
11320   return 0;
11321 }
11322 _ACEOF
11323 if ac_fn_c_try_link "$LINENO"; then :
11324   ac_cv_lib_dld_dld_link=yes
11325 else
11326   ac_cv_lib_dld_dld_link=no
11327 fi
11328 rm -f core conftest.err conftest.$ac_objext \
11329     conftest$ac_exeext conftest.$ac_ext
11330 LIBS=$ac_check_lib_save_LIBS
11331 fi
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11333 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11334 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11335   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11336 fi
11337
11338
11339 fi
11340
11341
11342 fi
11343
11344
11345 fi
11346
11347
11348 fi
11349
11350
11351 fi
11352
11353     ;;
11354   esac
11355
11356   if test "x$lt_cv_dlopen" != xno; then
11357     enable_dlopen=yes
11358   else
11359     enable_dlopen=no
11360   fi
11361
11362   case $lt_cv_dlopen in
11363   dlopen)
11364     save_CPPFLAGS="$CPPFLAGS"
11365     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11366
11367     save_LDFLAGS="$LDFLAGS"
11368     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11369
11370     save_LIBS="$LIBS"
11371     LIBS="$lt_cv_dlopen_libs $LIBS"
11372
11373     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11374 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11375 if ${lt_cv_dlopen_self+:} false; then :
11376   $as_echo_n "(cached) " >&6
11377 else
11378           if test "$cross_compiling" = yes; then :
11379   lt_cv_dlopen_self=cross
11380 else
11381   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11382   lt_status=$lt_dlunknown
11383   cat > conftest.$ac_ext <<_LT_EOF
11384 #line $LINENO "configure"
11385 #include "confdefs.h"
11386
11387 #if HAVE_DLFCN_H
11388 #include <dlfcn.h>
11389 #endif
11390
11391 #include <stdio.h>
11392
11393 #ifdef RTLD_GLOBAL
11394 #  define LT_DLGLOBAL           RTLD_GLOBAL
11395 #else
11396 #  ifdef DL_GLOBAL
11397 #    define LT_DLGLOBAL         DL_GLOBAL
11398 #  else
11399 #    define LT_DLGLOBAL         0
11400 #  endif
11401 #endif
11402
11403 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11404    find out it does not work in some platform. */
11405 #ifndef LT_DLLAZY_OR_NOW
11406 #  ifdef RTLD_LAZY
11407 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11408 #  else
11409 #    ifdef DL_LAZY
11410 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11411 #    else
11412 #      ifdef RTLD_NOW
11413 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11414 #      else
11415 #        ifdef DL_NOW
11416 #          define LT_DLLAZY_OR_NOW      DL_NOW
11417 #        else
11418 #          define LT_DLLAZY_OR_NOW      0
11419 #        endif
11420 #      endif
11421 #    endif
11422 #  endif
11423 #endif
11424
11425 /* When -fvisbility=hidden is used, assume the code has been annotated
11426    correspondingly for the symbols needed.  */
11427 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11428 int fnord () __attribute__((visibility("default")));
11429 #endif
11430
11431 int fnord () { return 42; }
11432 int main ()
11433 {
11434   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11435   int status = $lt_dlunknown;
11436
11437   if (self)
11438     {
11439       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11440       else
11441         {
11442           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11443           else puts (dlerror ());
11444         }
11445       /* dlclose (self); */
11446     }
11447   else
11448     puts (dlerror ());
11449
11450   return status;
11451 }
11452 _LT_EOF
11453   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11454   (eval $ac_link) 2>&5
11455   ac_status=$?
11456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11457   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11458     (./conftest; exit; ) >&5 2>/dev/null
11459     lt_status=$?
11460     case x$lt_status in
11461       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11462       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11463       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11464     esac
11465   else :
11466     # compilation failed
11467     lt_cv_dlopen_self=no
11468   fi
11469 fi
11470 rm -fr conftest*
11471
11472
11473 fi
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11475 $as_echo "$lt_cv_dlopen_self" >&6; }
11476
11477     if test "x$lt_cv_dlopen_self" = xyes; then
11478       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11479       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11480 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11481 if ${lt_cv_dlopen_self_static+:} false; then :
11482   $as_echo_n "(cached) " >&6
11483 else
11484           if test "$cross_compiling" = yes; then :
11485   lt_cv_dlopen_self_static=cross
11486 else
11487   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11488   lt_status=$lt_dlunknown
11489   cat > conftest.$ac_ext <<_LT_EOF
11490 #line $LINENO "configure"
11491 #include "confdefs.h"
11492
11493 #if HAVE_DLFCN_H
11494 #include <dlfcn.h>
11495 #endif
11496
11497 #include <stdio.h>
11498
11499 #ifdef RTLD_GLOBAL
11500 #  define LT_DLGLOBAL           RTLD_GLOBAL
11501 #else
11502 #  ifdef DL_GLOBAL
11503 #    define LT_DLGLOBAL         DL_GLOBAL
11504 #  else
11505 #    define LT_DLGLOBAL         0
11506 #  endif
11507 #endif
11508
11509 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11510    find out it does not work in some platform. */
11511 #ifndef LT_DLLAZY_OR_NOW
11512 #  ifdef RTLD_LAZY
11513 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11514 #  else
11515 #    ifdef DL_LAZY
11516 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11517 #    else
11518 #      ifdef RTLD_NOW
11519 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11520 #      else
11521 #        ifdef DL_NOW
11522 #          define LT_DLLAZY_OR_NOW      DL_NOW
11523 #        else
11524 #          define LT_DLLAZY_OR_NOW      0
11525 #        endif
11526 #      endif
11527 #    endif
11528 #  endif
11529 #endif
11530
11531 /* When -fvisbility=hidden is used, assume the code has been annotated
11532    correspondingly for the symbols needed.  */
11533 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11534 int fnord () __attribute__((visibility("default")));
11535 #endif
11536
11537 int fnord () { return 42; }
11538 int main ()
11539 {
11540   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11541   int status = $lt_dlunknown;
11542
11543   if (self)
11544     {
11545       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11546       else
11547         {
11548           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11549           else puts (dlerror ());
11550         }
11551       /* dlclose (self); */
11552     }
11553   else
11554     puts (dlerror ());
11555
11556   return status;
11557 }
11558 _LT_EOF
11559   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11560   (eval $ac_link) 2>&5
11561   ac_status=$?
11562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11563   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11564     (./conftest; exit; ) >&5 2>/dev/null
11565     lt_status=$?
11566     case x$lt_status in
11567       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11568       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11569       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11570     esac
11571   else :
11572     # compilation failed
11573     lt_cv_dlopen_self_static=no
11574   fi
11575 fi
11576 rm -fr conftest*
11577
11578
11579 fi
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11581 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11582     fi
11583
11584     CPPFLAGS="$save_CPPFLAGS"
11585     LDFLAGS="$save_LDFLAGS"
11586     LIBS="$save_LIBS"
11587     ;;
11588   esac
11589
11590   case $lt_cv_dlopen_self in
11591   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11592   *) enable_dlopen_self=unknown ;;
11593   esac
11594
11595   case $lt_cv_dlopen_self_static in
11596   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11597   *) enable_dlopen_self_static=unknown ;;
11598   esac
11599 fi
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617 striplib=
11618 old_striplib=
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11620 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11621 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11622   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11623   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11625 $as_echo "yes" >&6; }
11626 else
11627 # FIXME - insert some real tests, host_os isn't really good enough
11628   case $host_os in
11629   darwin*)
11630     if test -n "$STRIP" ; then
11631       striplib="$STRIP -x"
11632       old_striplib="$STRIP -S"
11633       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11634 $as_echo "yes" >&6; }
11635     else
11636       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11637 $as_echo "no" >&6; }
11638     fi
11639     ;;
11640   *)
11641     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11642 $as_echo "no" >&6; }
11643     ;;
11644   esac
11645 fi
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658   # Report which library types will actually be built
11659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11660 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11662 $as_echo "$can_build_shared" >&6; }
11663
11664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11665 $as_echo_n "checking whether to build shared libraries... " >&6; }
11666   test "$can_build_shared" = "no" && enable_shared=no
11667
11668   # On AIX, shared libraries and static libraries use the same namespace, and
11669   # are all built from PIC.
11670   case $host_os in
11671   aix3*)
11672     test "$enable_shared" = yes && enable_static=no
11673     if test -n "$RANLIB"; then
11674       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11675       postinstall_cmds='$RANLIB $lib'
11676     fi
11677     ;;
11678
11679   aix[4-9]*)
11680     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11681       test "$enable_shared" = yes && enable_static=no
11682     fi
11683     ;;
11684   esac
11685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11686 $as_echo "$enable_shared" >&6; }
11687
11688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11689 $as_echo_n "checking whether to build static libraries... " >&6; }
11690   # Make sure either enable_shared or enable_static is yes.
11691   test "$enable_shared" = yes || enable_static=yes
11692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11693 $as_echo "$enable_static" >&6; }
11694
11695
11696
11697
11698 fi
11699 ac_ext=c
11700 ac_cpp='$CPP $CPPFLAGS'
11701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11704
11705 CC="$lt_save_CC"
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719         ac_config_commands="$ac_config_commands libtool"
11720
11721
11722
11723
11724 # Only expand once:
11725
11726
11727
11728 ac_ext=c
11729 ac_cpp='$CPP $CPPFLAGS'
11730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11733 if test -n "$ac_tool_prefix"; then
11734   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11735 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11737 $as_echo_n "checking for $ac_word... " >&6; }
11738 if ${ac_cv_prog_CC+:} false; then :
11739   $as_echo_n "(cached) " >&6
11740 else
11741   if test -n "$CC"; then
11742   ac_cv_prog_CC="$CC" # Let the user override the test.
11743 else
11744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11745 for as_dir in $PATH
11746 do
11747   IFS=$as_save_IFS
11748   test -z "$as_dir" && as_dir=.
11749     for ac_exec_ext in '' $ac_executable_extensions; do
11750   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11751     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11753     break 2
11754   fi
11755 done
11756   done
11757 IFS=$as_save_IFS
11758
11759 fi
11760 fi
11761 CC=$ac_cv_prog_CC
11762 if test -n "$CC"; then
11763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11764 $as_echo "$CC" >&6; }
11765 else
11766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11767 $as_echo "no" >&6; }
11768 fi
11769
11770
11771 fi
11772 if test -z "$ac_cv_prog_CC"; then
11773   ac_ct_CC=$CC
11774   # Extract the first word of "gcc", so it can be a program name with args.
11775 set dummy gcc; ac_word=$2
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11777 $as_echo_n "checking for $ac_word... " >&6; }
11778 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11779   $as_echo_n "(cached) " >&6
11780 else
11781   if test -n "$ac_ct_CC"; then
11782   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11783 else
11784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11785 for as_dir in $PATH
11786 do
11787   IFS=$as_save_IFS
11788   test -z "$as_dir" && as_dir=.
11789     for ac_exec_ext in '' $ac_executable_extensions; do
11790   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11791     ac_cv_prog_ac_ct_CC="gcc"
11792     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11793     break 2
11794   fi
11795 done
11796   done
11797 IFS=$as_save_IFS
11798
11799 fi
11800 fi
11801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11802 if test -n "$ac_ct_CC"; then
11803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11804 $as_echo "$ac_ct_CC" >&6; }
11805 else
11806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11807 $as_echo "no" >&6; }
11808 fi
11809
11810   if test "x$ac_ct_CC" = x; then
11811     CC=""
11812   else
11813     case $cross_compiling:$ac_tool_warned in
11814 yes:)
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11817 ac_tool_warned=yes ;;
11818 esac
11819     CC=$ac_ct_CC
11820   fi
11821 else
11822   CC="$ac_cv_prog_CC"
11823 fi
11824
11825 if test -z "$CC"; then
11826           if test -n "$ac_tool_prefix"; then
11827     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11828 set dummy ${ac_tool_prefix}cc; ac_word=$2
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11830 $as_echo_n "checking for $ac_word... " >&6; }
11831 if ${ac_cv_prog_CC+:} false; then :
11832   $as_echo_n "(cached) " >&6
11833 else
11834   if test -n "$CC"; then
11835   ac_cv_prog_CC="$CC" # Let the user override the test.
11836 else
11837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11838 for as_dir in $PATH
11839 do
11840   IFS=$as_save_IFS
11841   test -z "$as_dir" && as_dir=.
11842     for ac_exec_ext in '' $ac_executable_extensions; do
11843   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11844     ac_cv_prog_CC="${ac_tool_prefix}cc"
11845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11846     break 2
11847   fi
11848 done
11849   done
11850 IFS=$as_save_IFS
11851
11852 fi
11853 fi
11854 CC=$ac_cv_prog_CC
11855 if test -n "$CC"; then
11856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11857 $as_echo "$CC" >&6; }
11858 else
11859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11860 $as_echo "no" >&6; }
11861 fi
11862
11863
11864   fi
11865 fi
11866 if test -z "$CC"; then
11867   # Extract the first word of "cc", so it can be a program name with args.
11868 set dummy cc; ac_word=$2
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11870 $as_echo_n "checking for $ac_word... " >&6; }
11871 if ${ac_cv_prog_CC+:} false; then :
11872   $as_echo_n "(cached) " >&6
11873 else
11874   if test -n "$CC"; then
11875   ac_cv_prog_CC="$CC" # Let the user override the test.
11876 else
11877   ac_prog_rejected=no
11878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11879 for as_dir in $PATH
11880 do
11881   IFS=$as_save_IFS
11882   test -z "$as_dir" && as_dir=.
11883     for ac_exec_ext in '' $ac_executable_extensions; do
11884   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11885     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11886        ac_prog_rejected=yes
11887        continue
11888      fi
11889     ac_cv_prog_CC="cc"
11890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11891     break 2
11892   fi
11893 done
11894   done
11895 IFS=$as_save_IFS
11896
11897 if test $ac_prog_rejected = yes; then
11898   # We found a bogon in the path, so make sure we never use it.
11899   set dummy $ac_cv_prog_CC
11900   shift
11901   if test $# != 0; then
11902     # We chose a different compiler from the bogus one.
11903     # However, it has the same basename, so the bogon will be chosen
11904     # first if we set CC to just the basename; use the full file name.
11905     shift
11906     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11907   fi
11908 fi
11909 fi
11910 fi
11911 CC=$ac_cv_prog_CC
11912 if test -n "$CC"; then
11913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11914 $as_echo "$CC" >&6; }
11915 else
11916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11917 $as_echo "no" >&6; }
11918 fi
11919
11920
11921 fi
11922 if test -z "$CC"; then
11923   if test -n "$ac_tool_prefix"; then
11924   for ac_prog in cl.exe
11925   do
11926     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11927 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11929 $as_echo_n "checking for $ac_word... " >&6; }
11930 if ${ac_cv_prog_CC+:} false; then :
11931   $as_echo_n "(cached) " >&6
11932 else
11933   if test -n "$CC"; then
11934   ac_cv_prog_CC="$CC" # Let the user override the test.
11935 else
11936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11937 for as_dir in $PATH
11938 do
11939   IFS=$as_save_IFS
11940   test -z "$as_dir" && as_dir=.
11941     for ac_exec_ext in '' $ac_executable_extensions; do
11942   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11943     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11944     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11945     break 2
11946   fi
11947 done
11948   done
11949 IFS=$as_save_IFS
11950
11951 fi
11952 fi
11953 CC=$ac_cv_prog_CC
11954 if test -n "$CC"; then
11955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11956 $as_echo "$CC" >&6; }
11957 else
11958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11959 $as_echo "no" >&6; }
11960 fi
11961
11962
11963     test -n "$CC" && break
11964   done
11965 fi
11966 if test -z "$CC"; then
11967   ac_ct_CC=$CC
11968   for ac_prog in cl.exe
11969 do
11970   # Extract the first word of "$ac_prog", so it can be a program name with args.
11971 set dummy $ac_prog; ac_word=$2
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11973 $as_echo_n "checking for $ac_word... " >&6; }
11974 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11975   $as_echo_n "(cached) " >&6
11976 else
11977   if test -n "$ac_ct_CC"; then
11978   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11979 else
11980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11981 for as_dir in $PATH
11982 do
11983   IFS=$as_save_IFS
11984   test -z "$as_dir" && as_dir=.
11985     for ac_exec_ext in '' $ac_executable_extensions; do
11986   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11987     ac_cv_prog_ac_ct_CC="$ac_prog"
11988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11989     break 2
11990   fi
11991 done
11992   done
11993 IFS=$as_save_IFS
11994
11995 fi
11996 fi
11997 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11998 if test -n "$ac_ct_CC"; then
11999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12000 $as_echo "$ac_ct_CC" >&6; }
12001 else
12002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12003 $as_echo "no" >&6; }
12004 fi
12005
12006
12007   test -n "$ac_ct_CC" && break
12008 done
12009
12010   if test "x$ac_ct_CC" = x; then
12011     CC=""
12012   else
12013     case $cross_compiling:$ac_tool_warned in
12014 yes:)
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12017 ac_tool_warned=yes ;;
12018 esac
12019     CC=$ac_ct_CC
12020   fi
12021 fi
12022
12023 fi
12024
12025
12026 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12028 as_fn_error $? "no acceptable C compiler found in \$PATH
12029 See \`config.log' for more details" "$LINENO" 5; }
12030
12031 # Provide some information about the compiler.
12032 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12033 set X $ac_compile
12034 ac_compiler=$2
12035 for ac_option in --version -v -V -qversion; do
12036   { { ac_try="$ac_compiler $ac_option >&5"
12037 case "(($ac_try" in
12038   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12039   *) ac_try_echo=$ac_try;;
12040 esac
12041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12042 $as_echo "$ac_try_echo"; } >&5
12043   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12044   ac_status=$?
12045   if test -s conftest.err; then
12046     sed '10a\
12047 ... rest of stderr output deleted ...
12048          10q' conftest.err >conftest.er1
12049     cat conftest.er1 >&5
12050   fi
12051   rm -f conftest.er1 conftest.err
12052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12053   test $ac_status = 0; }
12054 done
12055
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12057 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12058 if ${ac_cv_c_compiler_gnu+:} false; then :
12059   $as_echo_n "(cached) " >&6
12060 else
12061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h.  */
12063
12064 int
12065 main ()
12066 {
12067 #ifndef __GNUC__
12068        choke me
12069 #endif
12070
12071   ;
12072   return 0;
12073 }
12074 _ACEOF
12075 if ac_fn_c_try_compile "$LINENO"; then :
12076   ac_compiler_gnu=yes
12077 else
12078   ac_compiler_gnu=no
12079 fi
12080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12081 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12082
12083 fi
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12085 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12086 if test $ac_compiler_gnu = yes; then
12087   GCC=yes
12088 else
12089   GCC=
12090 fi
12091 ac_test_CFLAGS=${CFLAGS+set}
12092 ac_save_CFLAGS=$CFLAGS
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12094 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12095 if ${ac_cv_prog_cc_g+:} false; then :
12096   $as_echo_n "(cached) " >&6
12097 else
12098   ac_save_c_werror_flag=$ac_c_werror_flag
12099    ac_c_werror_flag=yes
12100    ac_cv_prog_cc_g=no
12101    CFLAGS="-g"
12102    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12103 /* end confdefs.h.  */
12104
12105 int
12106 main ()
12107 {
12108
12109   ;
12110   return 0;
12111 }
12112 _ACEOF
12113 if ac_fn_c_try_compile "$LINENO"; then :
12114   ac_cv_prog_cc_g=yes
12115 else
12116   CFLAGS=""
12117       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h.  */
12119
12120 int
12121 main ()
12122 {
12123
12124   ;
12125   return 0;
12126 }
12127 _ACEOF
12128 if ac_fn_c_try_compile "$LINENO"; then :
12129
12130 else
12131   ac_c_werror_flag=$ac_save_c_werror_flag
12132          CFLAGS="-g"
12133          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h.  */
12135
12136 int
12137 main ()
12138 {
12139
12140   ;
12141   return 0;
12142 }
12143 _ACEOF
12144 if ac_fn_c_try_compile "$LINENO"; then :
12145   ac_cv_prog_cc_g=yes
12146 fi
12147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12148 fi
12149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12150 fi
12151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12152    ac_c_werror_flag=$ac_save_c_werror_flag
12153 fi
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12155 $as_echo "$ac_cv_prog_cc_g" >&6; }
12156 if test "$ac_test_CFLAGS" = set; then
12157   CFLAGS=$ac_save_CFLAGS
12158 elif test $ac_cv_prog_cc_g = yes; then
12159   if test "$GCC" = yes; then
12160     CFLAGS="-g -O2"
12161   else
12162     CFLAGS="-g"
12163   fi
12164 else
12165   if test "$GCC" = yes; then
12166     CFLAGS="-O2"
12167   else
12168     CFLAGS=
12169   fi
12170 fi
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12172 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12173 if ${ac_cv_prog_cc_c89+:} false; then :
12174   $as_echo_n "(cached) " >&6
12175 else
12176   ac_cv_prog_cc_c89=no
12177 ac_save_CC=$CC
12178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12179 /* end confdefs.h.  */
12180 #include <stdarg.h>
12181 #include <stdio.h>
12182 #include <sys/types.h>
12183 #include <sys/stat.h>
12184 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12185 struct buf { int x; };
12186 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12187 static char *e (p, i)
12188      char **p;
12189      int i;
12190 {
12191   return p[i];
12192 }
12193 static char *f (char * (*g) (char **, int), char **p, ...)
12194 {
12195   char *s;
12196   va_list v;
12197   va_start (v,p);
12198   s = g (p, va_arg (v,int));
12199   va_end (v);
12200   return s;
12201 }
12202
12203 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12204    function prototypes and stuff, but not '\xHH' hex character constants.
12205    These don't provoke an error unfortunately, instead are silently treated
12206    as 'x'.  The following induces an error, until -std is added to get
12207    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12208    array size at least.  It's necessary to write '\x00'==0 to get something
12209    that's true only with -std.  */
12210 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12211
12212 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12213    inside strings and character constants.  */
12214 #define FOO(x) 'x'
12215 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12216
12217 int test (int i, double x);
12218 struct s1 {int (*f) (int a);};
12219 struct s2 {int (*f) (double a);};
12220 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12221 int argc;
12222 char **argv;
12223 int
12224 main ()
12225 {
12226 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12227   ;
12228   return 0;
12229 }
12230 _ACEOF
12231 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12232         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12233 do
12234   CC="$ac_save_CC $ac_arg"
12235   if ac_fn_c_try_compile "$LINENO"; then :
12236   ac_cv_prog_cc_c89=$ac_arg
12237 fi
12238 rm -f core conftest.err conftest.$ac_objext
12239   test "x$ac_cv_prog_cc_c89" != "xno" && break
12240 done
12241 rm -f conftest.$ac_ext
12242 CC=$ac_save_CC
12243
12244 fi
12245 # AC_CACHE_VAL
12246 case "x$ac_cv_prog_cc_c89" in
12247   x)
12248     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12249 $as_echo "none needed" >&6; } ;;
12250   xno)
12251     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12252 $as_echo "unsupported" >&6; } ;;
12253   *)
12254     CC="$CC $ac_cv_prog_cc_c89"
12255     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12256 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12257 esac
12258 if test "x$ac_cv_prog_cc_c89" != xno; then :
12259
12260 fi
12261
12262 ac_ext=c
12263 ac_cpp='$CPP $CPPFLAGS'
12264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12267
12268 depcc="$CC"   am_compiler_list=
12269
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12271 $as_echo_n "checking dependency style of $depcc... " >&6; }
12272 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12273   $as_echo_n "(cached) " >&6
12274 else
12275   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12276   # We make a subdir and do the tests there.  Otherwise we can end up
12277   # making bogus files that we don't know about and never remove.  For
12278   # instance it was reported that on HP-UX the gcc test will end up
12279   # making a dummy file named `D' -- because `-MD' means `put the output
12280   # in D'.
12281   mkdir conftest.dir
12282   # Copy depcomp to subdir because otherwise we won't find it if we're
12283   # using a relative directory.
12284   cp "$am_depcomp" conftest.dir
12285   cd conftest.dir
12286   # We will build objects and dependencies in a subdirectory because
12287   # it helps to detect inapplicable dependency modes.  For instance
12288   # both Tru64's cc and ICC support -MD to output dependencies as a
12289   # side effect of compilation, but ICC will put the dependencies in
12290   # the current directory while Tru64 will put them in the object
12291   # directory.
12292   mkdir sub
12293
12294   am_cv_CC_dependencies_compiler_type=none
12295   if test "$am_compiler_list" = ""; then
12296      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12297   fi
12298   am__universal=false
12299   case " $depcc " in #(
12300      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12301      esac
12302
12303   for depmode in $am_compiler_list; do
12304     # Setup a source with many dependencies, because some compilers
12305     # like to wrap large dependency lists on column 80 (with \), and
12306     # we should not choose a depcomp mode which is confused by this.
12307     #
12308     # We need to recreate these files for each test, as the compiler may
12309     # overwrite some of them when testing with obscure command lines.
12310     # This happens at least with the AIX C compiler.
12311     : > sub/conftest.c
12312     for i in 1 2 3 4 5 6; do
12313       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12314       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12315       # Solaris 8's {/usr,}/bin/sh.
12316       touch sub/conftst$i.h
12317     done
12318     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12319
12320     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12321     # mode.  It turns out that the SunPro C++ compiler does not properly
12322     # handle `-M -o', and we need to detect this.  Also, some Intel
12323     # versions had trouble with output in subdirs
12324     am__obj=sub/conftest.${OBJEXT-o}
12325     am__minus_obj="-o $am__obj"
12326     case $depmode in
12327     gcc)
12328       # This depmode causes a compiler race in universal mode.
12329       test "$am__universal" = false || continue
12330       ;;
12331     nosideeffect)
12332       # after this tag, mechanisms are not by side-effect, so they'll
12333       # only be used when explicitly requested
12334       if test "x$enable_dependency_tracking" = xyes; then
12335         continue
12336       else
12337         break
12338       fi
12339       ;;
12340     msvisualcpp | msvcmsys)
12341       # This compiler won't grok `-c -o', but also, the minuso test has
12342       # not run yet.  These depmodes are late enough in the game, and
12343       # so weak that their functioning should not be impacted.
12344       am__obj=conftest.${OBJEXT-o}
12345       am__minus_obj=
12346       ;;
12347     none) break ;;
12348     esac
12349     if depmode=$depmode \
12350        source=sub/conftest.c object=$am__obj \
12351        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12352        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12353          >/dev/null 2>conftest.err &&
12354        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12355        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12356        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12357        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12358       # icc doesn't choke on unknown options, it will just issue warnings
12359       # or remarks (even with -Werror).  So we grep stderr for any message
12360       # that says an option was ignored or not supported.
12361       # When given -MP, icc 7.0 and 7.1 complain thusly:
12362       #   icc: Command line warning: ignoring option '-M'; no argument required
12363       # The diagnosis changed in icc 8.0:
12364       #   icc: Command line remark: option '-MP' not supported
12365       if (grep 'ignoring option' conftest.err ||
12366           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12367         am_cv_CC_dependencies_compiler_type=$depmode
12368         break
12369       fi
12370     fi
12371   done
12372
12373   cd ..
12374   rm -rf conftest.dir
12375 else
12376   am_cv_CC_dependencies_compiler_type=none
12377 fi
12378
12379 fi
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12381 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12382 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12383
12384  if
12385   test "x$enable_dependency_tracking" != xno \
12386   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12387   am__fastdepCC_TRUE=
12388   am__fastdepCC_FALSE='#'
12389 else
12390   am__fastdepCC_TRUE='#'
12391   am__fastdepCC_FALSE=
12392 fi
12393
12394
12395    case $ac_cv_prog_cc_stdc in #(
12396   no) :
12397     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
12398   *) :
12399     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
12400 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
12401 if ${ac_cv_prog_cc_c99+:} false; then :
12402   $as_echo_n "(cached) " >&6
12403 else
12404   ac_cv_prog_cc_c99=no
12405 ac_save_CC=$CC
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h.  */
12408 #include <stdarg.h>
12409 #include <stdbool.h>
12410 #include <stdlib.h>
12411 #include <wchar.h>
12412 #include <stdio.h>
12413
12414 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
12415 #define debug(...) fprintf (stderr, __VA_ARGS__)
12416 #define showlist(...) puts (#__VA_ARGS__)
12417 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
12418 static void
12419 test_varargs_macros (void)
12420 {
12421   int x = 1234;
12422   int y = 5678;
12423   debug ("Flag");
12424   debug ("X = %d\n", x);
12425   showlist (The first, second, and third items.);
12426   report (x>y, "x is %d but y is %d", x, y);
12427 }
12428
12429 // Check long long types.
12430 #define BIG64 18446744073709551615ull
12431 #define BIG32 4294967295ul
12432 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
12433 #if !BIG_OK
12434   your preprocessor is broken;
12435 #endif
12436 #if BIG_OK
12437 #else
12438   your preprocessor is broken;
12439 #endif
12440 static long long int bignum = -9223372036854775807LL;
12441 static unsigned long long int ubignum = BIG64;
12442
12443 struct incomplete_array
12444 {
12445   int datasize;
12446   double data[];
12447 };
12448
12449 struct named_init {
12450   int number;
12451   const wchar_t *name;
12452   double average;
12453 };
12454
12455 typedef const char *ccp;
12456
12457 static inline int
12458 test_restrict (ccp restrict text)
12459 {
12460   // See if C++-style comments work.
12461   // Iterate through items via the restricted pointer.
12462   // Also check for declarations in for loops.
12463   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
12464     continue;
12465   return 0;
12466 }
12467
12468 // Check varargs and va_copy.
12469 static void
12470 test_varargs (const char *format, ...)
12471 {
12472   va_list args;
12473   va_start (args, format);
12474   va_list args_copy;
12475   va_copy (args_copy, args);
12476
12477   const char *str;
12478   int number;
12479   float fnumber;
12480
12481   while (*format)
12482     {
12483       switch (*format++)
12484         {
12485         case 's': // string
12486           str = va_arg (args_copy, const char *);
12487           break;
12488         case 'd': // int
12489           number = va_arg (args_copy, int);
12490           break;
12491         case 'f': // float
12492           fnumber = va_arg (args_copy, double);
12493           break;
12494         default:
12495           break;
12496         }
12497     }
12498   va_end (args_copy);
12499   va_end (args);
12500 }
12501
12502 int
12503 main ()
12504 {
12505
12506   // Check bool.
12507   _Bool success = false;
12508
12509   // Check restrict.
12510   if (test_restrict ("String literal") == 0)
12511     success = true;
12512   char *restrict newvar = "Another string";
12513
12514   // Check varargs.
12515   test_varargs ("s, d' f .", "string", 65, 34.234);
12516   test_varargs_macros ();
12517
12518   // Check flexible array members.
12519   struct incomplete_array *ia =
12520     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
12521   ia->datasize = 10;
12522   for (int i = 0; i < ia->datasize; ++i)
12523     ia->data[i] = i * 1.234;
12524
12525   // Check named initializers.
12526   struct named_init ni = {
12527     .number = 34,
12528     .name = L"Test wide string",
12529     .average = 543.34343,
12530   };
12531
12532   ni.number = 58;
12533
12534   int dynamic_array[ni.number];
12535   dynamic_array[ni.number - 1] = 543;
12536
12537   // work around unused variable warnings
12538   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
12539           || dynamic_array[ni.number - 1] != 543);
12540
12541   ;
12542   return 0;
12543 }
12544 _ACEOF
12545 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
12546 do
12547   CC="$ac_save_CC $ac_arg"
12548   if ac_fn_c_try_compile "$LINENO"; then :
12549   ac_cv_prog_cc_c99=$ac_arg
12550 fi
12551 rm -f core conftest.err conftest.$ac_objext
12552   test "x$ac_cv_prog_cc_c99" != "xno" && break
12553 done
12554 rm -f conftest.$ac_ext
12555 CC=$ac_save_CC
12556
12557 fi
12558 # AC_CACHE_VAL
12559 case "x$ac_cv_prog_cc_c99" in
12560   x)
12561     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12562 $as_echo "none needed" >&6; } ;;
12563   xno)
12564     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12565 $as_echo "unsupported" >&6; } ;;
12566   *)
12567     CC="$CC $ac_cv_prog_cc_c99"
12568     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
12569 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
12570 esac
12571 if test "x$ac_cv_prog_cc_c99" != xno; then :
12572   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
12573 else
12574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12575 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12576 if ${ac_cv_prog_cc_c89+:} false; then :
12577   $as_echo_n "(cached) " >&6
12578 else
12579   ac_cv_prog_cc_c89=no
12580 ac_save_CC=$CC
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h.  */
12583 #include <stdarg.h>
12584 #include <stdio.h>
12585 #include <sys/types.h>
12586 #include <sys/stat.h>
12587 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12588 struct buf { int x; };
12589 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12590 static char *e (p, i)
12591      char **p;
12592      int i;
12593 {
12594   return p[i];
12595 }
12596 static char *f (char * (*g) (char **, int), char **p, ...)
12597 {
12598   char *s;
12599   va_list v;
12600   va_start (v,p);
12601   s = g (p, va_arg (v,int));
12602   va_end (v);
12603   return s;
12604 }
12605
12606 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12607    function prototypes and stuff, but not '\xHH' hex character constants.
12608    These don't provoke an error unfortunately, instead are silently treated
12609    as 'x'.  The following induces an error, until -std is added to get
12610    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12611    array size at least.  It's necessary to write '\x00'==0 to get something
12612    that's true only with -std.  */
12613 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12614
12615 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12616    inside strings and character constants.  */
12617 #define FOO(x) 'x'
12618 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12619
12620 int test (int i, double x);
12621 struct s1 {int (*f) (int a);};
12622 struct s2 {int (*f) (double a);};
12623 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12624 int argc;
12625 char **argv;
12626 int
12627 main ()
12628 {
12629 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12630   ;
12631   return 0;
12632 }
12633 _ACEOF
12634 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12635         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12636 do
12637   CC="$ac_save_CC $ac_arg"
12638   if ac_fn_c_try_compile "$LINENO"; then :
12639   ac_cv_prog_cc_c89=$ac_arg
12640 fi
12641 rm -f core conftest.err conftest.$ac_objext
12642   test "x$ac_cv_prog_cc_c89" != "xno" && break
12643 done
12644 rm -f conftest.$ac_ext
12645 CC=$ac_save_CC
12646
12647 fi
12648 # AC_CACHE_VAL
12649 case "x$ac_cv_prog_cc_c89" in
12650   x)
12651     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12652 $as_echo "none needed" >&6; } ;;
12653   xno)
12654     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12655 $as_echo "unsupported" >&6; } ;;
12656   *)
12657     CC="$CC $ac_cv_prog_cc_c89"
12658     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12659 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12660 esac
12661 if test "x$ac_cv_prog_cc_c89" != xno; then :
12662   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
12663 else
12664   ac_cv_prog_cc_stdc=no
12665 fi
12666
12667 fi
12668  ;;
12669 esac
12670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
12671 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
12672   if ${ac_cv_prog_cc_stdc+:} false; then :
12673   $as_echo_n "(cached) " >&6
12674 fi
12675
12676   case $ac_cv_prog_cc_stdc in #(
12677   no) :
12678     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12679 $as_echo "unsupported" >&6; } ;; #(
12680   '') :
12681     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12682 $as_echo "none needed" >&6; } ;; #(
12683   *) :
12684     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
12685 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
12686 esac
12687
12688
12689 if test "x$CC" != xcc; then
12690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12691 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12692 else
12693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12694 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12695 fi
12696 set dummy $CC; ac_cc=`$as_echo "$2" |
12697                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12698 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12699   $as_echo_n "(cached) " >&6
12700 else
12701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12702 /* end confdefs.h.  */
12703
12704 int
12705 main ()
12706 {
12707
12708   ;
12709   return 0;
12710 }
12711 _ACEOF
12712 # Make sure it works both with $CC and with simple cc.
12713 # We do the test twice because some compilers refuse to overwrite an
12714 # existing .o file with -o, though they will create one.
12715 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12716 rm -f conftest2.*
12717 if { { case "(($ac_try" in
12718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12719   *) ac_try_echo=$ac_try;;
12720 esac
12721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12722 $as_echo "$ac_try_echo"; } >&5
12723   (eval "$ac_try") 2>&5
12724   ac_status=$?
12725   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12726   test $ac_status = 0; } &&
12727    test -f conftest2.$ac_objext && { { case "(($ac_try" in
12728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12729   *) ac_try_echo=$ac_try;;
12730 esac
12731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12732 $as_echo "$ac_try_echo"; } >&5
12733   (eval "$ac_try") 2>&5
12734   ac_status=$?
12735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12736   test $ac_status = 0; };
12737 then
12738   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12739   if test "x$CC" != xcc; then
12740     # Test first that cc exists at all.
12741     if { ac_try='cc -c conftest.$ac_ext >&5'
12742   { { case "(($ac_try" in
12743   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12744   *) ac_try_echo=$ac_try;;
12745 esac
12746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12747 $as_echo "$ac_try_echo"; } >&5
12748   (eval "$ac_try") 2>&5
12749   ac_status=$?
12750   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12751   test $ac_status = 0; }; }; then
12752       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12753       rm -f conftest2.*
12754       if { { case "(($ac_try" in
12755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12756   *) ac_try_echo=$ac_try;;
12757 esac
12758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12759 $as_echo "$ac_try_echo"; } >&5
12760   (eval "$ac_try") 2>&5
12761   ac_status=$?
12762   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12763   test $ac_status = 0; } &&
12764          test -f conftest2.$ac_objext && { { case "(($ac_try" in
12765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12766   *) ac_try_echo=$ac_try;;
12767 esac
12768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12769 $as_echo "$ac_try_echo"; } >&5
12770   (eval "$ac_try") 2>&5
12771   ac_status=$?
12772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12773   test $ac_status = 0; };
12774       then
12775         # cc works too.
12776         :
12777       else
12778         # cc exists but doesn't like -o.
12779         eval ac_cv_prog_cc_${ac_cc}_c_o=no
12780       fi
12781     fi
12782   fi
12783 else
12784   eval ac_cv_prog_cc_${ac_cc}_c_o=no
12785 fi
12786 rm -f core conftest*
12787
12788 fi
12789 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12791 $as_echo "yes" >&6; }
12792 else
12793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12794 $as_echo "no" >&6; }
12795
12796 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12797
12798 fi
12799
12800 # FIXME: we rely on the cache variable name because
12801 # there is no other way.
12802 set dummy $CC
12803 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12804 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12805 if test "$am_t" != yes; then
12806    # Losing compiler, so override with the script.
12807    # FIXME: It is wrong to rewrite CC.
12808    # But if we don't then we get into trouble of one sort or another.
12809    # A longer-term fix would be to have automake use am__CC in this case,
12810    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12811    CC="$am_aux_dir/compile $CC"
12812 fi
12813
12814
12815
12816
12817   # Check whether --enable-gcov was given.
12818 if test "${enable_gcov+set}" = set; then :
12819   enableval=$enable_gcov; enable_gcov=$enableval
12820 else
12821   enable_gcov=no
12822 fi
12823
12824   if test x$enable_gcov = xyes ; then
12825     if test "x$GCC" != "xyes"
12826     then
12827       as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
12828     fi
12829
12830
12831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
12832 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
12833
12834   save_CFLAGS="$CFLAGS"
12835   CFLAGS="$CFLAGS "-fprofile-arcs""
12836
12837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h.  */
12839
12840 int
12841 main ()
12842 {
12843
12844   ;
12845   return 0;
12846 }
12847 _ACEOF
12848 if ac_fn_c_try_compile "$LINENO"; then :
12849   flag_ok=yes
12850 else
12851   flag_ok=no
12852 fi
12853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12854   CFLAGS="$save_CFLAGS"
12855
12856   if test "X$flag_ok" = Xyes ; then
12857     GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
12858     true
12859   else
12860     true
12861     true
12862   fi
12863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
12864 $as_echo "$flag_ok" >&6; }
12865
12866
12867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
12868 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
12869
12870   save_CFLAGS="$CFLAGS"
12871   CFLAGS="$CFLAGS "-ftest-coverage""
12872
12873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h.  */
12875
12876 int
12877 main ()
12878 {
12879
12880   ;
12881   return 0;
12882 }
12883 _ACEOF
12884 if ac_fn_c_try_compile "$LINENO"; then :
12885   flag_ok=yes
12886 else
12887   flag_ok=no
12888 fi
12889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12890   CFLAGS="$save_CFLAGS"
12891
12892   if test "X$flag_ok" = Xyes ; then
12893     GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
12894     true
12895   else
12896     true
12897     true
12898   fi
12899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
12900 $as_echo "$flag_ok" >&6; }
12901
12902         GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
12903                 GCOV_LIBS=-lgcov
12904
12905
12906     GCOV=`echo $CC | sed s/gcc/gcov/g`
12907
12908
12909     GST_GCOV_ENABLED=yes
12910
12911 cat >>confdefs.h <<_ACEOF
12912 #define GST_GCOV_ENABLED 1
12913 _ACEOF
12914
12915         if test "x$GST_GCOV_ENABLED" = "xyes"
12916     then
12917       CFLAGS="-O0"
12918
12919       CXXFLAGS="-O0"
12920
12921       FFLAGS="-O0"
12922
12923       CCASFLAGS="-O0"
12924
12925       { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
12926 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
12927     fi
12928   fi
12929    if test x$enable_gcov = xyes; then
12930   GST_GCOV_ENABLED_TRUE=
12931   GST_GCOV_ENABLED_FALSE='#'
12932 else
12933   GST_GCOV_ENABLED_TRUE='#'
12934   GST_GCOV_ENABLED_FALSE=
12935 fi
12936
12937
12938
12939
12940
12941
12942
12943         # Find any Python interpreter.
12944     if test -z "$PYTHON"; then
12945       for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
12946 do
12947   # Extract the first word of "$ac_prog", so it can be a program name with args.
12948 set dummy $ac_prog; ac_word=$2
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12950 $as_echo_n "checking for $ac_word... " >&6; }
12951 if ${ac_cv_path_PYTHON+:} false; then :
12952   $as_echo_n "(cached) " >&6
12953 else
12954   case $PYTHON in
12955   [\\/]* | ?:[\\/]*)
12956   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
12957   ;;
12958   *)
12959   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12960 for as_dir in $PATH
12961 do
12962   IFS=$as_save_IFS
12963   test -z "$as_dir" && as_dir=.
12964     for ac_exec_ext in '' $ac_executable_extensions; do
12965   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12966     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12968     break 2
12969   fi
12970 done
12971   done
12972 IFS=$as_save_IFS
12973
12974   ;;
12975 esac
12976 fi
12977 PYTHON=$ac_cv_path_PYTHON
12978 if test -n "$PYTHON"; then
12979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
12980 $as_echo "$PYTHON" >&6; }
12981 else
12982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12983 $as_echo "no" >&6; }
12984 fi
12985
12986
12987   test -n "$PYTHON" && break
12988 done
12989 test -n "$PYTHON" || PYTHON=":"
12990
12991     fi
12992     am_display_PYTHON=python
12993
12994
12995   if test "$PYTHON" = :; then
12996       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
12997   else
12998
12999
13000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13001 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13002 if ${am_cv_python_version+:} false; then :
13003   $as_echo_n "(cached) " >&6
13004 else
13005   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13006 fi
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13008 $as_echo "$am_cv_python_version" >&6; }
13009   PYTHON_VERSION=$am_cv_python_version
13010
13011
13012
13013   PYTHON_PREFIX='${prefix}'
13014
13015   PYTHON_EXEC_PREFIX='${exec_prefix}'
13016
13017
13018
13019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13020 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13021 if ${am_cv_python_platform+:} false; then :
13022   $as_echo_n "(cached) " >&6
13023 else
13024   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13025 fi
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13027 $as_echo "$am_cv_python_platform" >&6; }
13028   PYTHON_PLATFORM=$am_cv_python_platform
13029
13030
13031
13032
13033                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13034 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13035 if ${am_cv_python_pythondir+:} false; then :
13036   $as_echo_n "(cached) " >&6
13037 else
13038   if test "x$prefix" = xNONE
13039      then
13040        am_py_prefix=$ac_default_prefix
13041      else
13042        am_py_prefix=$prefix
13043      fi
13044      am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
13045      echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
13046      case $am_cv_python_pythondir in
13047      $am_py_prefix*)
13048        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13049        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13050        ;;
13051      *)
13052        case $am_py_prefix in
13053          /usr|/System*) ;;
13054          *)
13055           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13056           ;;
13057        esac
13058        ;;
13059      esac
13060
13061 fi
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13063 $as_echo "$am_cv_python_pythondir" >&6; }
13064   pythondir=$am_cv_python_pythondir
13065
13066
13067
13068   pkgpythondir=\${pythondir}/$PACKAGE
13069
13070
13071             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13072 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13073 if ${am_cv_python_pyexecdir+:} false; then :
13074   $as_echo_n "(cached) " >&6
13075 else
13076   if test "x$exec_prefix" = xNONE
13077      then
13078        am_py_exec_prefix=$am_py_prefix
13079      else
13080        am_py_exec_prefix=$exec_prefix
13081      fi
13082      am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
13083      echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
13084      case $am_cv_python_pyexecdir in
13085      $am_py_exec_prefix*)
13086        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13087        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13088        ;;
13089      *)
13090        case $am_py_exec_prefix in
13091          /usr|/System*) ;;
13092          *)
13093            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13094            ;;
13095        esac
13096        ;;
13097      esac
13098
13099 fi
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13101 $as_echo "$am_cv_python_pyexecdir" >&6; }
13102   pyexecdir=$am_cv_python_pyexecdir
13103
13104
13105
13106   pkgpyexecdir=\${pyexecdir}/$PACKAGE
13107
13108
13109
13110   fi
13111
13112
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python >= 2.3" >&5
13114 $as_echo_n "checking for python >= 2.3... " >&6; }
13115 prog="
13116 import sys, string
13117 minver = (2,3,0,'final',0)
13118 if sys.version_info < minver:
13119   sys.exit(1)
13120 sys.exit(0)"
13121
13122 if $PYTHON -c "$prog" 1>&5 2>&5
13123 then
13124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
13125 $as_echo "okay" >&6; }
13126 else
13127   as_fn_error $? "too old" "$LINENO" 5
13128 fi
13129
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
13131 $as_echo_n "checking for headers required to compile python extensions... " >&6; }
13132 py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
13133 py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
13134 if $PYTHON-config --help 2>/dev/null; then
13135   PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null`
13136 else
13137   PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
13138   if test "$py_prefix" != "$py_exec_prefix"; then
13139     PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
13140   fi
13141 fi
13142
13143 save_CPPFLAGS="$CPPFLAGS"
13144 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
13145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h.  */
13147 #include <Python.h>
13148 _ACEOF
13149 if ac_fn_c_try_cpp "$LINENO"; then :
13150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13151 $as_echo "found" >&6; }
13152
13153 else
13154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13155 $as_echo "not found" >&6; }
13156 as_fn_error $? "could not find Python headers" "$LINENO" 5
13157 fi
13158 rm -f conftest.err conftest.i conftest.$ac_ext
13159 CPPFLAGS="$save_CPPFLAGS"
13160
13161
13162 GST_MAJORMINOR=0.10
13163
13164
13165
13166 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13167         if test -n "$ac_tool_prefix"; then
13168   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13169 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13171 $as_echo_n "checking for $ac_word... " >&6; }
13172 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13173   $as_echo_n "(cached) " >&6
13174 else
13175   case $PKG_CONFIG in
13176   [\\/]* | ?:[\\/]*)
13177   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13178   ;;
13179   *)
13180   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13181 for as_dir in $PATH
13182 do
13183   IFS=$as_save_IFS
13184   test -z "$as_dir" && as_dir=.
13185     for ac_exec_ext in '' $ac_executable_extensions; do
13186   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13187     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13188     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13189     break 2
13190   fi
13191 done
13192   done
13193 IFS=$as_save_IFS
13194
13195   ;;
13196 esac
13197 fi
13198 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13199 if test -n "$PKG_CONFIG"; then
13200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13201 $as_echo "$PKG_CONFIG" >&6; }
13202 else
13203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13204 $as_echo "no" >&6; }
13205 fi
13206
13207
13208 fi
13209 if test -z "$ac_cv_path_PKG_CONFIG"; then
13210   ac_pt_PKG_CONFIG=$PKG_CONFIG
13211   # Extract the first word of "pkg-config", so it can be a program name with args.
13212 set dummy pkg-config; ac_word=$2
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13214 $as_echo_n "checking for $ac_word... " >&6; }
13215 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13216   $as_echo_n "(cached) " >&6
13217 else
13218   case $ac_pt_PKG_CONFIG in
13219   [\\/]* | ?:[\\/]*)
13220   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13221   ;;
13222   *)
13223   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13224 for as_dir in $PATH
13225 do
13226   IFS=$as_save_IFS
13227   test -z "$as_dir" && as_dir=.
13228     for ac_exec_ext in '' $ac_executable_extensions; do
13229   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13230     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13232     break 2
13233   fi
13234 done
13235   done
13236 IFS=$as_save_IFS
13237
13238   ;;
13239 esac
13240 fi
13241 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13242 if test -n "$ac_pt_PKG_CONFIG"; then
13243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13244 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13245 else
13246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13247 $as_echo "no" >&6; }
13248 fi
13249
13250   if test "x$ac_pt_PKG_CONFIG" = x; then
13251     PKG_CONFIG=""
13252   else
13253     case $cross_compiling:$ac_tool_warned in
13254 yes:)
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13256 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13257 ac_tool_warned=yes ;;
13258 esac
13259     PKG_CONFIG=$ac_pt_PKG_CONFIG
13260   fi
13261 else
13262   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13263 fi
13264
13265 fi
13266 if test -n "$PKG_CONFIG"; then
13267         _pkg_min_version=0.9.0
13268         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13269 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13270         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13271                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13272 $as_echo "yes" >&6; }
13273         else
13274                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13275 $as_echo "no" >&6; }
13276                 PKG_CONFIG=""
13277         fi
13278
13279 fi
13280
13281 pkg_failed=no
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
13283 $as_echo_n "checking for GST... " >&6; }
13284
13285 if test -n "$PKG_CONFIG"; then
13286     if test -n "$GST_CFLAGS"; then
13287         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
13288     else
13289         if test -n "$PKG_CONFIG" && \
13290     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13291   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13292   ac_status=$?
13293   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13294   test $ac_status = 0; }; then
13295   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13296 else
13297   pkg_failed=yes
13298 fi
13299     fi
13300 else
13301         pkg_failed=untried
13302 fi
13303 if test -n "$PKG_CONFIG"; then
13304     if test -n "$GST_LIBS"; then
13305         pkg_cv_GST_LIBS="$GST_LIBS"
13306     else
13307         if test -n "$PKG_CONFIG" && \
13308     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13309   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13310   ac_status=$?
13311   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13312   test $ac_status = 0; }; then
13313   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13314 else
13315   pkg_failed=yes
13316 fi
13317     fi
13318 else
13319         pkg_failed=untried
13320 fi
13321
13322
13323
13324 if test $pkg_failed = yes; then
13325
13326 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13327         _pkg_short_errors_supported=yes
13328 else
13329         _pkg_short_errors_supported=no
13330 fi
13331         if test $_pkg_short_errors_supported = yes; then
13332                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ"`
13333         else
13334                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ"`
13335         fi
13336         # Put the nasty error message in config.log where it belongs
13337         echo "$GST_PKG_ERRORS" >&5
13338
13339         as_fn_error $? "Package requirements (gstreamer-$GST_MAJORMINOR >= $GST_REQ) were not met:
13340
13341 $GST_PKG_ERRORS
13342
13343 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13344 installed software in a non-standard prefix.
13345
13346 Alternatively, you may set the environment variables GST_CFLAGS
13347 and GST_LIBS to avoid the need to call pkg-config.
13348 See the pkg-config man page for more details.
13349 " "$LINENO" 5
13350 elif test $pkg_failed = untried; then
13351         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13353 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13354 is in your PATH or set the PKG_CONFIG environment variable to the full
13355 path to pkg-config.
13356
13357 Alternatively, you may set the environment variables GST_CFLAGS
13358 and GST_LIBS to avoid the need to call pkg-config.
13359 See the pkg-config man page for more details.
13360
13361 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13362 See \`config.log' for more details" "$LINENO" 5; }
13363 else
13364         GST_CFLAGS=$pkg_cv_GST_CFLAGS
13365         GST_LIBS=$pkg_cv_GST_LIBS
13366         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13367 $as_echo "yes" >&6; }
13368         :
13369 fi
13370
13371 cat >>confdefs.h <<_ACEOF
13372 #define GST_MAJORMINOR "$GST_MAJORMINOR"
13373 _ACEOF
13374
13375 GST_CFLAGS="$GST_CFLAGS $GLIB_EXTRA_CFLAGS"
13376
13377
13378
13379 GST_MINOR_VERSION=`$PKG_CONFIG --modversion gstreamer-$GST_MAJORMINOR | cut -f 3 -d.`
13380 GST_PB_MINOR_VERSION=`$PKG_CONFIG --modversion gstreamer-plugins-base-$GST_MAJORMINOR | cut -f 3 -d.`
13381 GST_CVS_VERSION=`$PKG_CONFIG --modversion gstreamer-$GST_MAJORMINOR | cut -f 4 -d.`
13382
13383 echo "Building against GStreamer core 0.10.$GST_MINOR_VERSION , ignoring API additions if needed"
13384
13385
13386 if test "x$GST_CVS_VERSION" = "x"
13387 then
13388   if test $GST_MINOR_VERSION -lt "21"
13389   then
13390     IGNORE_GST_0_10_21="gst-0.10.21.ignore"
13391   else
13392     IGNORE_GST_0_10_21=""
13393   fi
13394
13395   if test $GST_MINOR_VERSION -lt "22"
13396   then
13397     IGNORE_GST_0_10_22="gst-0.10.22.ignore"
13398   else
13399     IGNORE_GST_0_10_22=""
13400   fi
13401
13402   if test $GST_MINOR_VERSION -lt "23"
13403   then
13404     IGNORE_GST_0_10_23="gst-0.10.23.ignore"
13405   else
13406     IGNORE_GST_0_10_23=""
13407   fi
13408
13409   if test $GST_MINOR_VERSION -lt "24"
13410   then
13411     IGNORE_GST_0_10_24="gst-0.10.24.ignore"
13412   else
13413     IGNORE_GST_0_10_24=""
13414   fi
13415
13416   if test $GST_MINOR_VERSION -lt "25"
13417   then
13418     IGNORE_GST_0_10_25="gst-0.10.25.ignore"
13419   else
13420     IGNORE_GST_0_10_25=""
13421   fi
13422
13423   if test $GST_MINOR_VERSION -lt "26"
13424   then
13425     IGNORE_GST_0_10_26="gst-0.10.26.ignore"
13426   else
13427     IGNORE_GST_0_10_26=""
13428   fi
13429
13430   if test $GST_MINOR_VERSION -lt "29"
13431   then
13432     IGNORE_GST_0_10_29="gst-0.10.29.ignore"
13433   else
13434     IGNORE_GST_0_10_29=""
13435   fi
13436
13437   if test $GST_MINOR_VERSION -lt "30"
13438   then
13439     IGNORE_GST_0_10_30="gst-0.10.30.ignore"
13440   else
13441     IGNORE_GST_0_10_30=""
13442   fi
13443
13444   if test $GST_MINOR_VERSION -lt "31"
13445   then
13446     IGNORE_GST_0_10_31="gst-0.10.31.ignore"
13447   else
13448     IGNORE_GST_0_10_31=""
13449   fi
13450
13451   if test $GST_MINOR_VERSION -lt "32"
13452   then
13453     IGNORE_GST_0_10_32="gst-0.10.32.ignore"
13454   else
13455     IGNORE_GST_0_10_32=""
13456   fi
13457
13458     if test $GST_PB_MINOR_VERSION -ge "22"
13459   then
13460
13461 cat >>confdefs.h <<_ACEOF
13462 #define HAVE_GST_AUDIO 1
13463 _ACEOF
13464
13465
13466 cat >>confdefs.h <<_ACEOF
13467 #define HAVE_GST_VIDEO 1
13468 _ACEOF
13469
13470
13471 cat >>confdefs.h <<_ACEOF
13472 #define HAVE_GST_TAG 1
13473 _ACEOF
13474
13475   fi
13476
13477   if test $GST_PB_MINOR_VERSION -lt "23"
13478   then
13479     IGNORE_GST_PB_0_10_23="gst-pb-0.10.23.ignore"
13480   else
13481     IGNORE_GST_PB_0_10_23=""
13482   fi
13483
13484   if test $GST_PB_MINOR_VERSION -lt "25"
13485   then
13486     IGNORE_GST_PB_0_10_25="gst-pb-0.10.25.ignore"
13487   else
13488     IGNORE_GST_PB_0_10_25=""
13489
13490 cat >>confdefs.h <<_ACEOF
13491 #define HAVE_STREAM_VOLUME_INTERFACE 1
13492 _ACEOF
13493
13494   fi
13495
13496   if test $GST_PB_MINOR_VERSION -lt "26"
13497   then
13498     IGNORE_GST_PB_0_10_26="gst-pb-0.10.26.ignore"
13499   else
13500     IGNORE_GST_PB_0_10_26=""
13501   fi
13502
13503   if test $GST_PB_MINOR_VERSION -lt "29"
13504   then
13505     IGNORE_GST_PB_0_10_29="gst-pb-0.10.29.ignore"
13506   else
13507     IGNORE_GST_PB_0_10_29=""
13508   fi
13509
13510   if test $GST_PB_MINOR_VERSION -lt "30"
13511   then
13512     IGNORE_GST_PB_0_10_30="gst-pb-0.10.30.ignore"
13513   else
13514     IGNORE_GST_PB_0_10_30=""
13515   fi
13516
13517   if test $GST_PB_MINOR_VERSION -lt "31"
13518   then
13519     IGNORE_GST_PB_0_10_31="gst-pb-0.10.31.ignore"
13520   else
13521     IGNORE_GST_PB_0_10_31=""
13522   fi
13523
13524   if test $GST_PB_MINOR_VERSION -lt "32"
13525   then
13526     IGNORE_GST_PB_0_10_32="gst-pb-0.10.32.ignore"
13527   else
13528     IGNORE_GST_PB_0_10_32=""
13529   fi
13530
13531 else
13532   IGNORE_GST_0_10_18=""
13533   IGNORE_GST_0_10_21=""
13534   IGNORE_GST_0_10_22=""
13535   IGNORE_GST_0_10_23=""
13536   IGNORE_GST_0_10_24=""
13537   IGNORE_GST_0_10_25=""
13538   IGNORE_GST_0_10_26=""
13539   IGNORE_GST_0_10_29=""
13540   IGNORE_GST_0_10_30=""
13541   IGNORE_GST_0_10_31=""
13542   IGNORE_GST_0_10_32=""
13543   IGNORE_GST_PB_0_10_23=""
13544   IGNORE_GST_PB_0_10_25=""
13545   IGNORE_GST_PB_0_10_26=""
13546   IGNORE_GST_PB_0_10_29=""
13547   IGNORE_GST_PB_0_10_30=""
13548   IGNORE_GST_PB_0_10_31=""
13549   IGNORE_GST_PB_0_10_32=""
13550
13551 cat >>confdefs.h <<_ACEOF
13552 #define HAVE_GST_AUDIO 1
13553 _ACEOF
13554
13555
13556 cat >>confdefs.h <<_ACEOF
13557 #define HAVE_GST_VIDEO 1
13558 _ACEOF
13559
13560
13561 cat >>confdefs.h <<_ACEOF
13562 #define HAVE_GST_TAG 1
13563 _ACEOF
13564
13565 fi
13566
13567 cat >>confdefs.h <<_ACEOF
13568 #define HAVE_STREAM_VOLUME_INTERFACE 1
13569 _ACEOF
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588  if $HAVE_GST_AUDIO; then
13589   HAVE_GST_AUDIO_TRUE=
13590   HAVE_GST_AUDIO_FALSE='#'
13591 else
13592   HAVE_GST_AUDIO_TRUE='#'
13593   HAVE_GST_AUDIO_FALSE=
13594 fi
13595
13596  if $HAVE_GST_VIDEO; then
13597   HAVE_GST_VIDEO_TRUE=
13598   HAVE_GST_VIDEO_FALSE='#'
13599 else
13600   HAVE_GST_VIDEO_TRUE='#'
13601   HAVE_GST_VIDEO_FALSE=
13602 fi
13603
13604  if $HAVE_GST_TAG; then
13605   HAVE_GST_TAG_TRUE=
13606   HAVE_GST_TAG_FALSE='#'
13607 else
13608   HAVE_GST_TAG_TRUE='#'
13609   HAVE_GST_TAG_FALSE=
13610 fi
13611
13612
13613
13614 pkg_failed=no
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
13616 $as_echo_n "checking for GST_BASE... " >&6; }
13617
13618 if test -n "$PKG_CONFIG"; then
13619     if test -n "$GST_BASE_CFLAGS"; then
13620         pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
13621     else
13622         if test -n "$PKG_CONFIG" && \
13623     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13624   ($PKG_CONFIG --exists --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13625   ac_status=$?
13626   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13627   test $ac_status = 0; }; then
13628   pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13629 else
13630   pkg_failed=yes
13631 fi
13632     fi
13633 else
13634         pkg_failed=untried
13635 fi
13636 if test -n "$PKG_CONFIG"; then
13637     if test -n "$GST_BASE_LIBS"; then
13638         pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
13639     else
13640         if test -n "$PKG_CONFIG" && \
13641     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13642   ($PKG_CONFIG --exists --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13643   ac_status=$?
13644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13645   test $ac_status = 0; }; then
13646   pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13647 else
13648   pkg_failed=yes
13649 fi
13650     fi
13651 else
13652         pkg_failed=untried
13653 fi
13654
13655
13656
13657 if test $pkg_failed = yes; then
13658
13659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13660         _pkg_short_errors_supported=yes
13661 else
13662         _pkg_short_errors_supported=no
13663 fi
13664         if test $_pkg_short_errors_supported = yes; then
13665                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQ"`
13666         else
13667                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQ"`
13668         fi
13669         # Put the nasty error message in config.log where it belongs
13670         echo "$GST_BASE_PKG_ERRORS" >&5
13671
13672         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13673 $as_echo "no" >&6; }
13674                 HAVE_GST_BASE="no"
13675 elif test $pkg_failed = untried; then
13676         HAVE_GST_BASE="no"
13677 else
13678         GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
13679         GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
13680         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13681 $as_echo "yes" >&6; }
13682         HAVE_GST_BASE="yes"
13683 fi
13684
13685 if test "x$HAVE_GST_BASE" = "xno"; then
13686   as_fn_error $? "no GStreamer Base Libs found" "$LINENO" 5
13687 fi
13688
13689
13690
13691
13692
13693 GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h"
13694
13695
13696   grep >/dev/null "#undef GST_DISABLE_GST_DEBUG" $GST_CONFIGPATH
13697   if test $? = 0; then
13698     GST_DISABLE_GST_DEBUG=0
13699   else
13700     GST_DISABLE_GST_DEBUG=1
13701   fi
13702
13703
13704
13705   grep >/dev/null "#undef GST_DISABLE_LOADSAVE" $GST_CONFIGPATH
13706   if test $? = 0; then
13707     GST_DISABLE_LOADSAVE=0
13708   else
13709     GST_DISABLE_LOADSAVE=1
13710   fi
13711
13712
13713
13714   grep >/dev/null "#undef GST_DISABLE_PARSE" $GST_CONFIGPATH
13715   if test $? = 0; then
13716     GST_DISABLE_PARSE=0
13717   else
13718     GST_DISABLE_PARSE=1
13719   fi
13720
13721
13722
13723   grep >/dev/null "#undef GST_DISABLE_TRACE" $GST_CONFIGPATH
13724   if test $? = 0; then
13725     GST_DISABLE_TRACE=0
13726   else
13727     GST_DISABLE_TRACE=1
13728   fi
13729
13730
13731
13732   grep >/dev/null "#undef GST_DISABLE_ALLOC_TRACE" $GST_CONFIGPATH
13733   if test $? = 0; then
13734     GST_DISABLE_ALLOC_TRACE=0
13735   else
13736     GST_DISABLE_ALLOC_TRACE=1
13737   fi
13738
13739
13740
13741   grep >/dev/null "#undef GST_DISABLE_REGISTRY" $GST_CONFIGPATH
13742   if test $? = 0; then
13743     GST_DISABLE_REGISTRY=0
13744   else
13745     GST_DISABLE_REGISTRY=1
13746   fi
13747
13748
13749
13750   grep >/dev/null "#undef GST_DISABLE_PLUGIN" $GST_CONFIGPATH
13751   if test $? = 0; then
13752     GST_DISABLE_PLUGIN=0
13753   else
13754     GST_DISABLE_PLUGIN=1
13755   fi
13756
13757
13758
13759   grep >/dev/null "#undef GST_DISABLE_XML" $GST_CONFIGPATH
13760   if test $? = 0; then
13761     GST_DISABLE_XML=0
13762   else
13763     GST_DISABLE_XML=1
13764   fi
13765
13766
13767
13768 if test $GST_DISABLE_LOADSAVE = "1"; then
13769   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Load/Save XML persistence disabled\"" >&5
13770 $as_echo "$as_me: WARNING: \"Load/Save XML persistence disabled\"" >&2;}
13771   IGNORE_GST_LOADSAVE="gst-disable-loadsave.ignore"
13772 else
13773   IGNORE_GST_LOADSAVE=""
13774 fi
13775
13776
13777
13778 pkg_failed=no
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CONTROLLER" >&5
13780 $as_echo_n "checking for GST_CONTROLLER... " >&6; }
13781
13782 if test -n "$PKG_CONFIG"; then
13783     if test -n "$GST_CONTROLLER_CFLAGS"; then
13784         pkg_cv_GST_CONTROLLER_CFLAGS="$GST_CONTROLLER_CFLAGS"
13785     else
13786         if test -n "$PKG_CONFIG" && \
13787     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-controller-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13788   ($PKG_CONFIG --exists --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13789   ac_status=$?
13790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13791   test $ac_status = 0; }; then
13792   pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13793 else
13794   pkg_failed=yes
13795 fi
13796     fi
13797 else
13798         pkg_failed=untried
13799 fi
13800 if test -n "$PKG_CONFIG"; then
13801     if test -n "$GST_CONTROLLER_LIBS"; then
13802         pkg_cv_GST_CONTROLLER_LIBS="$GST_CONTROLLER_LIBS"
13803     else
13804         if test -n "$PKG_CONFIG" && \
13805     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-controller-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13806   ($PKG_CONFIG --exists --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13807   ac_status=$?
13808   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13809   test $ac_status = 0; }; then
13810   pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13811 else
13812   pkg_failed=yes
13813 fi
13814     fi
13815 else
13816         pkg_failed=untried
13817 fi
13818
13819
13820
13821 if test $pkg_failed = yes; then
13822
13823 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13824         _pkg_short_errors_supported=yes
13825 else
13826         _pkg_short_errors_supported=no
13827 fi
13828         if test $_pkg_short_errors_supported = yes; then
13829                 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQ"`
13830         else
13831                 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQ"`
13832         fi
13833         # Put the nasty error message in config.log where it belongs
13834         echo "$GST_CONTROLLER_PKG_ERRORS" >&5
13835
13836         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13837 $as_echo "no" >&6; }
13838                 HAVE_GST_CONTROLLER="no"
13839 elif test $pkg_failed = untried; then
13840         HAVE_GST_CONTROLLER="no"
13841 else
13842         GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS
13843         GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS
13844         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13845 $as_echo "yes" >&6; }
13846         HAVE_GST_CONTROLLER="yes"
13847 fi
13848
13849 if test "x$HAVE_GST_CONTROLLER" = "xno"; then
13850   as_fn_error $? "no GStreamer Controller Libs found" "$LINENO" 5
13851 fi
13852
13853
13854
13855
13856
13857 pkg_failed=no
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_NET" >&5
13859 $as_echo_n "checking for GST_NET... " >&6; }
13860
13861 if test -n "$PKG_CONFIG"; then
13862     if test -n "$GST_NET_CFLAGS"; then
13863         pkg_cv_GST_NET_CFLAGS="$GST_NET_CFLAGS"
13864     else
13865         if test -n "$PKG_CONFIG" && \
13866     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-net-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13867   ($PKG_CONFIG --exists --print-errors "gstreamer-net-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13868   ac_status=$?
13869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13870   test $ac_status = 0; }; then
13871   pkg_cv_GST_NET_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-net-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13872 else
13873   pkg_failed=yes
13874 fi
13875     fi
13876 else
13877         pkg_failed=untried
13878 fi
13879 if test -n "$PKG_CONFIG"; then
13880     if test -n "$GST_NET_LIBS"; then
13881         pkg_cv_GST_NET_LIBS="$GST_NET_LIBS"
13882     else
13883         if test -n "$PKG_CONFIG" && \
13884     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-net-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13885   ($PKG_CONFIG --exists --print-errors "gstreamer-net-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13886   ac_status=$?
13887   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13888   test $ac_status = 0; }; then
13889   pkg_cv_GST_NET_LIBS=`$PKG_CONFIG --libs "gstreamer-net-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13890 else
13891   pkg_failed=yes
13892 fi
13893     fi
13894 else
13895         pkg_failed=untried
13896 fi
13897
13898
13899
13900 if test $pkg_failed = yes; then
13901
13902 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13903         _pkg_short_errors_supported=yes
13904 else
13905         _pkg_short_errors_supported=no
13906 fi
13907         if test $_pkg_short_errors_supported = yes; then
13908                 GST_NET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-net-$GST_MAJORMINOR >= $GST_REQ"`
13909         else
13910                 GST_NET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-net-$GST_MAJORMINOR >= $GST_REQ"`
13911         fi
13912         # Put the nasty error message in config.log where it belongs
13913         echo "$GST_NET_PKG_ERRORS" >&5
13914
13915         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13916 $as_echo "no" >&6; }
13917                 HAVE_GST_NET="no"
13918 elif test $pkg_failed = untried; then
13919         HAVE_GST_NET="no"
13920 else
13921         GST_NET_CFLAGS=$pkg_cv_GST_NET_CFLAGS
13922         GST_NET_LIBS=$pkg_cv_GST_NET_LIBS
13923         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13924 $as_echo "yes" >&6; }
13925         HAVE_GST_NET="yes"
13926 fi
13927
13928 if test "x$HAVE_GST_NET" = "xno"; then
13929   as_fn_error $? "no GStreamer Networking Libs found" "$LINENO" 5
13930 fi
13931
13932
13933
13934
13935
13936 pkg_failed=no
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_DP" >&5
13938 $as_echo_n "checking for GST_DP... " >&6; }
13939
13940 if test -n "$PKG_CONFIG"; then
13941     if test -n "$GST_DP_CFLAGS"; then
13942         pkg_cv_GST_DP_CFLAGS="$GST_DP_CFLAGS"
13943     else
13944         if test -n "$PKG_CONFIG" && \
13945     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-dataprotocol-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13946   ($PKG_CONFIG --exists --print-errors "gstreamer-dataprotocol-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13947   ac_status=$?
13948   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13949   test $ac_status = 0; }; then
13950   pkg_cv_GST_DP_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-dataprotocol-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13951 else
13952   pkg_failed=yes
13953 fi
13954     fi
13955 else
13956         pkg_failed=untried
13957 fi
13958 if test -n "$PKG_CONFIG"; then
13959     if test -n "$GST_DP_LIBS"; then
13960         pkg_cv_GST_DP_LIBS="$GST_DP_LIBS"
13961     else
13962         if test -n "$PKG_CONFIG" && \
13963     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-dataprotocol-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13964   ($PKG_CONFIG --exists --print-errors "gstreamer-dataprotocol-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13965   ac_status=$?
13966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13967   test $ac_status = 0; }; then
13968   pkg_cv_GST_DP_LIBS=`$PKG_CONFIG --libs "gstreamer-dataprotocol-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13969 else
13970   pkg_failed=yes
13971 fi
13972     fi
13973 else
13974         pkg_failed=untried
13975 fi
13976
13977
13978
13979 if test $pkg_failed = yes; then
13980
13981 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13982         _pkg_short_errors_supported=yes
13983 else
13984         _pkg_short_errors_supported=no
13985 fi
13986         if test $_pkg_short_errors_supported = yes; then
13987                 GST_DP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-dataprotocol-$GST_MAJORMINOR >= $GST_REQ"`
13988         else
13989                 GST_DP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-dataprotocol-$GST_MAJORMINOR >= $GST_REQ"`
13990         fi
13991         # Put the nasty error message in config.log where it belongs
13992         echo "$GST_DP_PKG_ERRORS" >&5
13993
13994         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13995 $as_echo "no" >&6; }
13996                 HAVE_GST_DP="no"
13997 elif test $pkg_failed = untried; then
13998         HAVE_GST_DP="no"
13999 else
14000         GST_DP_CFLAGS=$pkg_cv_GST_DP_CFLAGS
14001         GST_DP_LIBS=$pkg_cv_GST_DP_LIBS
14002         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14003 $as_echo "yes" >&6; }
14004         HAVE_GST_DP="yes"
14005 fi
14006
14007 if test "x$HAVE_GST_DP" = "xno"; then
14008   as_fn_error $? "no GStreamer Data Protocol Libs found" "$LINENO" 5
14009 fi
14010
14011
14012
14013
14014
14015
14016 pkg_failed=no
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
14018 $as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
14019
14020 if test -n "$PKG_CONFIG"; then
14021     if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
14022         pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
14023     else
14024         if test -n "$PKG_CONFIG" && \
14025     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPB_REQ\""; } >&5
14026   ($PKG_CONFIG --exists --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQ") 2>&5
14027   ac_status=$?
14028   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14029   test $ac_status = 0; }; then
14030   pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQ" 2>/dev/null`
14031 else
14032   pkg_failed=yes
14033 fi
14034     fi
14035 else
14036         pkg_failed=untried
14037 fi
14038 if test -n "$PKG_CONFIG"; then
14039     if test -n "$GST_PLUGINS_BASE_LIBS"; then
14040         pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
14041     else
14042         if test -n "$PKG_CONFIG" && \
14043     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPB_REQ\""; } >&5
14044   ($PKG_CONFIG --exists --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQ") 2>&5
14045   ac_status=$?
14046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14047   test $ac_status = 0; }; then
14048   pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQ" 2>/dev/null`
14049 else
14050   pkg_failed=yes
14051 fi
14052     fi
14053 else
14054         pkg_failed=untried
14055 fi
14056
14057
14058
14059 if test $pkg_failed = yes; then
14060
14061 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14062         _pkg_short_errors_supported=yes
14063 else
14064         _pkg_short_errors_supported=no
14065 fi
14066         if test $_pkg_short_errors_supported = yes; then
14067                 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQ"`
14068         else
14069                 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQ"`
14070         fi
14071         # Put the nasty error message in config.log where it belongs
14072         echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
14073
14074         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14075 $as_echo "no" >&6; }
14076                 HAVE_GST_PLUGINS_BASE="no"
14077 elif test $pkg_failed = untried; then
14078         HAVE_GST_PLUGINS_BASE="no"
14079 else
14080         GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
14081         GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
14082         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14083 $as_echo "yes" >&6; }
14084         HAVE_GST_PLUGINS_BASE="yes"
14085 fi
14086
14087 if test "x$HAVE_GST_PLUGINS_BASE" = "xno"; then
14088   as_fn_error $? "no gst-plugins-base found" "$LINENO" 5
14089 fi
14090
14091
14092
14093
14094
14095
14096 pkg_failed=no
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGOBJECT" >&5
14098 $as_echo_n "checking for PYGOBJECT... " >&6; }
14099
14100 if test -n "$PKG_CONFIG"; then
14101     if test -n "$PYGOBJECT_CFLAGS"; then
14102         pkg_cv_PYGOBJECT_CFLAGS="$PYGOBJECT_CFLAGS"
14103     else
14104         if test -n "$PKG_CONFIG" && \
14105     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= \$PYGOBJECT_REQ\""; } >&5
14106   ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= $PYGOBJECT_REQ") 2>&5
14107   ac_status=$?
14108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14109   test $ac_status = 0; }; then
14110   pkg_cv_PYGOBJECT_CFLAGS=`$PKG_CONFIG --cflags "pygobject-2.0 >= $PYGOBJECT_REQ" 2>/dev/null`
14111 else
14112   pkg_failed=yes
14113 fi
14114     fi
14115 else
14116         pkg_failed=untried
14117 fi
14118 if test -n "$PKG_CONFIG"; then
14119     if test -n "$PYGOBJECT_LIBS"; then
14120         pkg_cv_PYGOBJECT_LIBS="$PYGOBJECT_LIBS"
14121     else
14122         if test -n "$PKG_CONFIG" && \
14123     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= \$PYGOBJECT_REQ\""; } >&5
14124   ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= $PYGOBJECT_REQ") 2>&5
14125   ac_status=$?
14126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14127   test $ac_status = 0; }; then
14128   pkg_cv_PYGOBJECT_LIBS=`$PKG_CONFIG --libs "pygobject-2.0 >= $PYGOBJECT_REQ" 2>/dev/null`
14129 else
14130   pkg_failed=yes
14131 fi
14132     fi
14133 else
14134         pkg_failed=untried
14135 fi
14136
14137
14138
14139 if test $pkg_failed = yes; then
14140
14141 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14142         _pkg_short_errors_supported=yes
14143 else
14144         _pkg_short_errors_supported=no
14145 fi
14146         if test $_pkg_short_errors_supported = yes; then
14147                 PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygobject-2.0 >= $PYGOBJECT_REQ"`
14148         else
14149                 PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygobject-2.0 >= $PYGOBJECT_REQ"`
14150         fi
14151         # Put the nasty error message in config.log where it belongs
14152         echo "$PYGOBJECT_PKG_ERRORS" >&5
14153
14154         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14155 $as_echo "no" >&6; }
14156                 HAVE_PYGOBJECT="no"
14157 elif test $pkg_failed = untried; then
14158         HAVE_PYGOBJECT="no"
14159 else
14160         PYGOBJECT_CFLAGS=$pkg_cv_PYGOBJECT_CFLAGS
14161         PYGOBJECT_LIBS=$pkg_cv_PYGOBJECT_LIBS
14162         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14163 $as_echo "yes" >&6; }
14164
14165     HAVE_PYGOBJECT="yes"
14166
14167 fi
14168
14169 if test "x$HAVE_PYGOBJECT" = "xno"; then
14170
14171 pkg_failed=no
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGTK" >&5
14173 $as_echo_n "checking for PYGTK... " >&6; }
14174
14175 if test -n "$PKG_CONFIG"; then
14176     if test -n "$PYGTK_CFLAGS"; then
14177         pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS"
14178     else
14179         if test -n "$PKG_CONFIG" && \
14180     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= \$PYGTK_REQ\""; } >&5
14181   ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= $PYGTK_REQ") 2>&5
14182   ac_status=$?
14183   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14184   test $ac_status = 0; }; then
14185   pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0 >= $PYGTK_REQ" 2>/dev/null`
14186 else
14187   pkg_failed=yes
14188 fi
14189     fi
14190 else
14191         pkg_failed=untried
14192 fi
14193 if test -n "$PKG_CONFIG"; then
14194     if test -n "$PYGTK_LIBS"; then
14195         pkg_cv_PYGTK_LIBS="$PYGTK_LIBS"
14196     else
14197         if test -n "$PKG_CONFIG" && \
14198     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= \$PYGTK_REQ\""; } >&5
14199   ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= $PYGTK_REQ") 2>&5
14200   ac_status=$?
14201   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14202   test $ac_status = 0; }; then
14203   pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= $PYGTK_REQ" 2>/dev/null`
14204 else
14205   pkg_failed=yes
14206 fi
14207     fi
14208 else
14209         pkg_failed=untried
14210 fi
14211
14212
14213
14214 if test $pkg_failed = yes; then
14215
14216 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14217         _pkg_short_errors_supported=yes
14218 else
14219         _pkg_short_errors_supported=no
14220 fi
14221         if test $_pkg_short_errors_supported = yes; then
14222                 PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygtk-2.0 >= $PYGTK_REQ"`
14223         else
14224                 PYGTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygtk-2.0 >= $PYGTK_REQ"`
14225         fi
14226         # Put the nasty error message in config.log where it belongs
14227         echo "$PYGTK_PKG_ERRORS" >&5
14228
14229         as_fn_error $? "Package requirements (pygtk-2.0 >= $PYGTK_REQ) were not met:
14230
14231 $PYGTK_PKG_ERRORS
14232
14233 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14234 installed software in a non-standard prefix.
14235
14236 Alternatively, you may set the environment variables PYGTK_CFLAGS
14237 and PYGTK_LIBS to avoid the need to call pkg-config.
14238 See the pkg-config man page for more details.
14239 " "$LINENO" 5
14240 elif test $pkg_failed = untried; then
14241         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14243 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14244 is in your PATH or set the PKG_CONFIG environment variable to the full
14245 path to pkg-config.
14246
14247 Alternatively, you may set the environment variables PYGTK_CFLAGS
14248 and PYGTK_LIBS to avoid the need to call pkg-config.
14249 See the pkg-config man page for more details.
14250
14251 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14252 See \`config.log' for more details" "$LINENO" 5; }
14253 else
14254         PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS
14255         PYGTK_LIBS=$pkg_cv_PYGTK_LIBS
14256         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14257 $as_echo "yes" >&6; }
14258         :
14259 fi
14260
14261   PYGOBJECT_CFLAGS="\$(PYGTK_CFLAGS)"
14262 fi
14263
14264
14265
14266 pkg_failed=no
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGOBJECT_2_12" >&5
14268 $as_echo_n "checking for PYGOBJECT_2_12... " >&6; }
14269
14270 if test -n "$PKG_CONFIG"; then
14271     if test -n "$PYGOBJECT_2_12_CFLAGS"; then
14272         pkg_cv_PYGOBJECT_2_12_CFLAGS="$PYGOBJECT_2_12_CFLAGS"
14273     else
14274         if test -n "$PKG_CONFIG" && \
14275     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.11.1\""; } >&5
14276   ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.11.1") 2>&5
14277   ac_status=$?
14278   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14279   test $ac_status = 0; }; then
14280   pkg_cv_PYGOBJECT_2_12_CFLAGS=`$PKG_CONFIG --cflags "pygobject-2.0 >= 2.11.1" 2>/dev/null`
14281 else
14282   pkg_failed=yes
14283 fi
14284     fi
14285 else
14286         pkg_failed=untried
14287 fi
14288 if test -n "$PKG_CONFIG"; then
14289     if test -n "$PYGOBJECT_2_12_LIBS"; then
14290         pkg_cv_PYGOBJECT_2_12_LIBS="$PYGOBJECT_2_12_LIBS"
14291     else
14292         if test -n "$PKG_CONFIG" && \
14293     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.11.1\""; } >&5
14294   ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.11.1") 2>&5
14295   ac_status=$?
14296   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14297   test $ac_status = 0; }; then
14298   pkg_cv_PYGOBJECT_2_12_LIBS=`$PKG_CONFIG --libs "pygobject-2.0 >= 2.11.1" 2>/dev/null`
14299 else
14300   pkg_failed=yes
14301 fi
14302     fi
14303 else
14304         pkg_failed=untried
14305 fi
14306
14307
14308
14309 if test $pkg_failed = yes; then
14310
14311 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14312         _pkg_short_errors_supported=yes
14313 else
14314         _pkg_short_errors_supported=no
14315 fi
14316         if test $_pkg_short_errors_supported = yes; then
14317                 PYGOBJECT_2_12_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygobject-2.0 >= 2.11.1"`
14318         else
14319                 PYGOBJECT_2_12_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygobject-2.0 >= 2.11.1"`
14320         fi
14321         # Put the nasty error message in config.log where it belongs
14322         echo "$PYGOBJECT_2_12_PKG_ERRORS" >&5
14323
14324         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14325 $as_echo "no" >&6; }
14326                 HAVE_PYGOBJECT_2_12="no"
14327 elif test $pkg_failed = untried; then
14328         HAVE_PYGOBJECT_2_12="no"
14329 else
14330         PYGOBJECT_2_12_CFLAGS=$pkg_cv_PYGOBJECT_2_12_CFLAGS
14331         PYGOBJECT_2_12_LIBS=$pkg_cv_PYGOBJECT_2_12_LIBS
14332         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14333 $as_echo "yes" >&6; }
14334
14335     HAVE_PYGOBJECT_2_12="yes"
14336
14337 cat >>confdefs.h <<_ACEOF
14338 #define HAVE_PYGOBJECT_2_12 1
14339 _ACEOF
14340
14341
14342 fi
14343
14344
14345 pkg_failed=no
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGOBJECT_2_16" >&5
14347 $as_echo_n "checking for PYGOBJECT_2_16... " >&6; }
14348
14349 if test -n "$PKG_CONFIG"; then
14350     if test -n "$PYGOBJECT_2_16_CFLAGS"; then
14351         pkg_cv_PYGOBJECT_2_16_CFLAGS="$PYGOBJECT_2_16_CFLAGS"
14352     else
14353         if test -n "$PKG_CONFIG" && \
14354     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.15.0\""; } >&5
14355   ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.15.0") 2>&5
14356   ac_status=$?
14357   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14358   test $ac_status = 0; }; then
14359   pkg_cv_PYGOBJECT_2_16_CFLAGS=`$PKG_CONFIG --cflags "pygobject-2.0 >= 2.15.0" 2>/dev/null`
14360 else
14361   pkg_failed=yes
14362 fi
14363     fi
14364 else
14365         pkg_failed=untried
14366 fi
14367 if test -n "$PKG_CONFIG"; then
14368     if test -n "$PYGOBJECT_2_16_LIBS"; then
14369         pkg_cv_PYGOBJECT_2_16_LIBS="$PYGOBJECT_2_16_LIBS"
14370     else
14371         if test -n "$PKG_CONFIG" && \
14372     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.15.0\""; } >&5
14373   ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.15.0") 2>&5
14374   ac_status=$?
14375   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14376   test $ac_status = 0; }; then
14377   pkg_cv_PYGOBJECT_2_16_LIBS=`$PKG_CONFIG --libs "pygobject-2.0 >= 2.15.0" 2>/dev/null`
14378 else
14379   pkg_failed=yes
14380 fi
14381     fi
14382 else
14383         pkg_failed=untried
14384 fi
14385
14386
14387
14388 if test $pkg_failed = yes; then
14389
14390 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14391         _pkg_short_errors_supported=yes
14392 else
14393         _pkg_short_errors_supported=no
14394 fi
14395         if test $_pkg_short_errors_supported = yes; then
14396                 PYGOBJECT_2_16_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygobject-2.0 >= 2.15.0"`
14397         else
14398                 PYGOBJECT_2_16_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygobject-2.0 >= 2.15.0"`
14399         fi
14400         # Put the nasty error message in config.log where it belongs
14401         echo "$PYGOBJECT_2_16_PKG_ERRORS" >&5
14402
14403         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14404 $as_echo "no" >&6; }
14405                 HAVE_PYGOBJECT_2_16="no"
14406 elif test $pkg_failed = untried; then
14407         HAVE_PYGOBJECT_2_16="no"
14408 else
14409         PYGOBJECT_2_16_CFLAGS=$pkg_cv_PYGOBJECT_2_16_CFLAGS
14410         PYGOBJECT_2_16_LIBS=$pkg_cv_PYGOBJECT_2_16_LIBS
14411         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14412 $as_echo "yes" >&6; }
14413
14414     HAVE_PYGOBJECT_2_16="yes"
14415
14416 cat >>confdefs.h <<_ACEOF
14417 #define HAVE_PYGOBJECT_2_16 1
14418 _ACEOF
14419
14420
14421 fi
14422
14423  if test x$HAVE_PYGOBJECT_2_16 != xno; then
14424   HAVE_PYGOBJECT_2_16_TRUE=
14425   HAVE_PYGOBJECT_2_16_FALSE='#'
14426 else
14427   HAVE_PYGOBJECT_2_16_TRUE='#'
14428   HAVE_PYGOBJECT_2_16_FALSE=
14429 fi
14430
14431
14432
14433
14434
14435
14436   WARNING_CFLAGS=""
14437   ERROR_CFLAGS=""
14438
14439
14440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
14441 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
14442
14443   save_CFLAGS="$CFLAGS"
14444   CFLAGS="$CFLAGS -Wall"
14445
14446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h.  */
14448
14449 int
14450 main ()
14451 {
14452
14453   ;
14454   return 0;
14455 }
14456 _ACEOF
14457 if ac_fn_c_try_compile "$LINENO"; then :
14458   flag_ok=yes
14459 else
14460   flag_ok=no
14461 fi
14462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14463   CFLAGS="$save_CFLAGS"
14464
14465   if test "X$flag_ok" = Xyes ; then
14466     WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
14467     true
14468   else
14469
14470     true
14471   fi
14472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14473 $as_echo "$flag_ok" >&6; }
14474
14475
14476
14477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
14478 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
14479
14480   save_CFLAGS="$CFLAGS"
14481   CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14482
14483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14484 /* end confdefs.h.  */
14485
14486 int
14487 main ()
14488 {
14489
14490   ;
14491   return 0;
14492 }
14493 _ACEOF
14494 if ac_fn_c_try_compile "$LINENO"; then :
14495   flag_ok=yes
14496 else
14497   flag_ok=no
14498 fi
14499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14500   CFLAGS="$save_CFLAGS"
14501
14502   if test "X$flag_ok" = Xyes ; then
14503     WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
14504     true
14505   else
14506
14507     true
14508   fi
14509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14510 $as_echo "$flag_ok" >&6; }
14511
14512
14513
14514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
14515 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
14516
14517   save_CFLAGS="$CFLAGS"
14518   CFLAGS="$CFLAGS -Wvla"
14519
14520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14521 /* end confdefs.h.  */
14522
14523 int
14524 main ()
14525 {
14526
14527   ;
14528   return 0;
14529 }
14530 _ACEOF
14531 if ac_fn_c_try_compile "$LINENO"; then :
14532   flag_ok=yes
14533 else
14534   flag_ok=no
14535 fi
14536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14537   CFLAGS="$save_CFLAGS"
14538
14539   if test "X$flag_ok" = Xyes ; then
14540     WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
14541     true
14542   else
14543
14544     true
14545   fi
14546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14547 $as_echo "$flag_ok" >&6; }
14548
14549
14550
14551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
14552 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
14553
14554   save_CFLAGS="$CFLAGS"
14555   CFLAGS="$CFLAGS -Wpointer-arith"
14556
14557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14558 /* end confdefs.h.  */
14559
14560 int
14561 main ()
14562 {
14563
14564   ;
14565   return 0;
14566 }
14567 _ACEOF
14568 if ac_fn_c_try_compile "$LINENO"; then :
14569   flag_ok=yes
14570 else
14571   flag_ok=no
14572 fi
14573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14574   CFLAGS="$save_CFLAGS"
14575
14576   if test "X$flag_ok" = Xyes ; then
14577     WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
14578     true
14579   else
14580
14581     true
14582   fi
14583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14584 $as_echo "$flag_ok" >&6; }
14585
14586
14587     if test "x$GST_CVS" != "xno"
14588   then
14589
14590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
14591 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
14592
14593   save_CFLAGS="$CFLAGS"
14594   CFLAGS="$CFLAGS -Werror"
14595
14596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h.  */
14598
14599 int
14600 main ()
14601 {
14602
14603   ;
14604   return 0;
14605 }
14606 _ACEOF
14607 if ac_fn_c_try_compile "$LINENO"; then :
14608   flag_ok=yes
14609 else
14610   flag_ok=no
14611 fi
14612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14613   CFLAGS="$save_CFLAGS"
14614
14615   if test "X$flag_ok" = Xyes ; then
14616     ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
14617     true
14618   else
14619
14620     true
14621   fi
14622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14623 $as_echo "$flag_ok" >&6; }
14624
14625
14626         if test "x$ERROR_CFLAGS" = "x"
14627     then
14628
14629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
14630 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
14631
14632   save_CFLAGS="$CFLAGS"
14633   CFLAGS="$CFLAGS -errwarn=%all"
14634
14635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h.  */
14637
14638 int
14639 main ()
14640 {
14641
14642   ;
14643   return 0;
14644 }
14645 _ACEOF
14646 if ac_fn_c_try_compile "$LINENO"; then :
14647   flag_ok=yes
14648 else
14649   flag_ok=no
14650 fi
14651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14652   CFLAGS="$save_CFLAGS"
14653
14654   if test "X$flag_ok" = Xyes ; then
14655
14656           ERROR_CFLAGS="-errwarn=%all"
14657                                                                                 for f in 'no%E_EMPTY_DECLARATION' \
14658                    'no%E_STATEMENT_NOT_REACHED' \
14659                    'no%E_ARGUEMENT_MISMATCH' \
14660                    'no%E_MACRO_REDEFINED' \
14661                    'no%E_LOOP_NOT_ENTERED_AT_TOP'
14662           do
14663
14664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
14665 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
14666
14667   save_CFLAGS="$CFLAGS"
14668   CFLAGS="$CFLAGS -errwarn=%all,$f"
14669
14670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14671 /* end confdefs.h.  */
14672
14673 int
14674 main ()
14675 {
14676
14677   ;
14678   return 0;
14679 }
14680 _ACEOF
14681 if ac_fn_c_try_compile "$LINENO"; then :
14682   flag_ok=yes
14683 else
14684   flag_ok=no
14685 fi
14686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14687   CFLAGS="$save_CFLAGS"
14688
14689   if test "X$flag_ok" = Xyes ; then
14690
14691               ERROR_CFLAGS="$ERROR_CFLAGS,$f"
14692
14693     true
14694   else
14695
14696     true
14697   fi
14698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14699 $as_echo "$flag_ok" >&6; }
14700
14701           done
14702
14703     true
14704   else
14705
14706     true
14707   fi
14708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14709 $as_echo "$flag_ok" >&6; }
14710
14711     else
14712                         if test -n "$PKG_CONFIG" && \
14713     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
14714   ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
14715   ac_status=$?
14716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14717   test $ac_status = 0; }; then
14718
14719
14720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
14721 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
14722
14723   save_CFLAGS="$CFLAGS"
14724   CFLAGS="$CFLAGS -fno-strict-aliasing"
14725
14726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h.  */
14728
14729 int
14730 main ()
14731 {
14732
14733   ;
14734   return 0;
14735 }
14736 _ACEOF
14737 if ac_fn_c_try_compile "$LINENO"; then :
14738   flag_ok=yes
14739 else
14740   flag_ok=no
14741 fi
14742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14743   CFLAGS="$save_CFLAGS"
14744
14745   if test "X$flag_ok" = Xyes ; then
14746     ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
14747     true
14748   else
14749
14750     true
14751   fi
14752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14753 $as_echo "$flag_ok" >&6; }
14754
14755
14756 fi
14757     fi
14758   fi
14759
14760   if test "x" != "x"
14761   then
14762     UNSUPPORTED=""
14763     list=""
14764     for each in $list
14765     do
14766
14767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
14768 $as_echo_n "checking to see if compiler understands $each... " >&6; }
14769
14770   save_CFLAGS="$CFLAGS"
14771   CFLAGS="$CFLAGS $each"
14772
14773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h.  */
14775
14776 int
14777 main ()
14778 {
14779
14780   ;
14781   return 0;
14782 }
14783 _ACEOF
14784 if ac_fn_c_try_compile "$LINENO"; then :
14785   flag_ok=yes
14786 else
14787   flag_ok=no
14788 fi
14789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14790   CFLAGS="$save_CFLAGS"
14791
14792   if test "X$flag_ok" = Xyes ; then
14793     WARNING_CFLAGS="$WARNING_CFLAGS $each"
14794     true
14795   else
14796     UNSUPPORTED="$UNSUPPORTED $each"
14797     true
14798   fi
14799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14800 $as_echo "$flag_ok" >&6; }
14801
14802     done
14803     if test "X$UNSUPPORTED" != X ; then
14804       { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
14805 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
14806     fi
14807   fi
14808
14809
14810
14811   { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
14812 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
14813   { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
14814 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
14815
14816
14817 GST_OPTION_CFLAGS="\$(ERROR_CFLAGS) \$(GCOV_CFLAGS)"
14818
14819 GST_OPTION_LIBS="\$(GCOV_LIBS)"
14820
14821
14822
14823   EXP_VAR=PYTHONDIR
14824   FROM_VAR=$pythondir
14825
14826     prefix_save=$prefix
14827   exec_prefix_save=$exec_prefix
14828
14829     if test "x$prefix" = "xNONE"; then
14830     prefix="$ac_default_prefix"
14831   fi
14832     if test "x$exec_prefix" = "xNONE"; then
14833     exec_prefix=$prefix
14834   fi
14835
14836   full_var="$FROM_VAR"
14837     while true; do
14838     new_full_var="`eval echo $full_var`"
14839     if test "x$new_full_var" = "x$full_var"; then break; fi
14840     full_var=$new_full_var
14841   done
14842
14843     full_var=$new_full_var
14844   PYTHONDIR="$full_var"
14845
14846
14847     prefix=$prefix_save
14848   exec_prefix=$exec_prefix_save
14849
14850
14851   EXP_VAR=PYEXECDIR
14852   FROM_VAR=$pyexecdir
14853
14854     prefix_save=$prefix
14855   exec_prefix_save=$exec_prefix
14856
14857     if test "x$prefix" = "xNONE"; then
14858     prefix="$ac_default_prefix"
14859   fi
14860     if test "x$exec_prefix" = "xNONE"; then
14861     exec_prefix=$prefix
14862   fi
14863
14864   full_var="$FROM_VAR"
14865     while true; do
14866     new_full_var="`eval echo $full_var`"
14867     if test "x$new_full_var" = "x$full_var"; then break; fi
14868     full_var=$new_full_var
14869   done
14870
14871     full_var=$new_full_var
14872   PYEXECDIR="$full_var"
14873
14874
14875     prefix=$prefix_save
14876   exec_prefix=$exec_prefix_save
14877
14878
14879 PYGST_CFLAGS="-I\$(top_srcdir)/gst -I\$(top_builddir)/gst"
14880
14881 # changequote(,)dnl
14882 # if test "x$GCC" = xyes; then
14883 #   case " $CFLAGS " in
14884 #   *[\ \ ]-Wall[\      \ ]*) ;;
14885 #   *) CFLAGS="$CFLAGS -Wall" ;;
14886 #   esac
14887
14888 #   case " $CFLAGS " in
14889 #   *[\ \ ]-std=c9x[\   \ ]*) ;;
14890 #   *) CFLAGS="$CFLAGS -std=c9x" ;;
14891 #   esac
14892 # fi
14893 # changequote([,])dnl
14894
14895
14896     # Check whether --enable-valgrind was given.
14897 if test "${enable_valgrind+set}" = set; then :
14898   enableval=$enable_valgrind;
14899       case "${enableval}" in
14900         yes) USE_VALGRIND="$USE_DEBUG" ;;
14901         no)  USE_VALGRIND=no ;;
14902         *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
14903       esac
14904 else
14905
14906       USE_VALGRIND="$USE_DEBUG"
14907
14908 fi
14909
14910   VALGRIND_REQ="3.0"
14911   if test "x$USE_VALGRIND" = xyes; then
14912
14913 pkg_failed=no
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
14915 $as_echo_n "checking for VALGRIND... " >&6; }
14916
14917 if test -n "$PKG_CONFIG"; then
14918     if test -n "$VALGRIND_CFLAGS"; then
14919         pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
14920     else
14921         if test -n "$PKG_CONFIG" && \
14922     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14923   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14924   ac_status=$?
14925   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14926   test $ac_status = 0; }; then
14927   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14928 else
14929   pkg_failed=yes
14930 fi
14931     fi
14932 else
14933         pkg_failed=untried
14934 fi
14935 if test -n "$PKG_CONFIG"; then
14936     if test -n "$VALGRIND_LIBS"; then
14937         pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
14938     else
14939         if test -n "$PKG_CONFIG" && \
14940     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14941   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14942   ac_status=$?
14943   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14944   test $ac_status = 0; }; then
14945   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14946 else
14947   pkg_failed=yes
14948 fi
14949     fi
14950 else
14951         pkg_failed=untried
14952 fi
14953
14954
14955
14956 if test $pkg_failed = yes; then
14957
14958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14959         _pkg_short_errors_supported=yes
14960 else
14961         _pkg_short_errors_supported=no
14962 fi
14963         if test $_pkg_short_errors_supported = yes; then
14964                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14965         else
14966                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14967         fi
14968         # Put the nasty error message in config.log where it belongs
14969         echo "$VALGRIND_PKG_ERRORS" >&5
14970
14971         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14972 $as_echo "no" >&6; }
14973
14974         USE_VALGRIND="no"
14975         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14976 $as_echo "no" >&6; }
14977
14978 elif test $pkg_failed = untried; then
14979
14980         USE_VALGRIND="no"
14981         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14982 $as_echo "no" >&6; }
14983
14984 else
14985         VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
14986         VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
14987         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14988 $as_echo "yes" >&6; }
14989         USE_VALGRIND="yes"
14990 fi
14991   fi
14992
14993   if test "x$USE_VALGRIND" = xyes; then
14994
14995 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
14996
14997     { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
14998 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
14999   fi
15000
15001
15002
15003   # Extract the first word of "valgrind", so it can be a program name with args.
15004 set dummy valgrind; ac_word=$2
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15006 $as_echo_n "checking for $ac_word... " >&6; }
15007 if ${ac_cv_path_VALGRIND_PATH+:} false; then :
15008   $as_echo_n "(cached) " >&6
15009 else
15010   case $VALGRIND_PATH in
15011   [\\/]* | ?:[\\/]*)
15012   ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
15013   ;;
15014   *)
15015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15016 for as_dir in $PATH
15017 do
15018   IFS=$as_save_IFS
15019   test -z "$as_dir" && as_dir=.
15020     for ac_exec_ext in '' $ac_executable_extensions; do
15021   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15022     ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
15023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15024     break 2
15025   fi
15026 done
15027   done
15028 IFS=$as_save_IFS
15029
15030   test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
15031   ;;
15032 esac
15033 fi
15034 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
15035 if test -n "$VALGRIND_PATH"; then
15036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
15037 $as_echo "$VALGRIND_PATH" >&6; }
15038 else
15039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15040 $as_echo "no" >&6; }
15041 fi
15042
15043
15044    if test ! "x$VALGRIND_PATH" = "xno"; then
15045   HAVE_VALGRIND_TRUE=
15046   HAVE_VALGRIND_FALSE='#'
15047 else
15048   HAVE_VALGRIND_TRUE='#'
15049   HAVE_VALGRIND_FALSE=
15050 fi
15051
15052
15053
15054
15055
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to embed python" >&5
15057 $as_echo_n "checking for libraries required to embed python... " >&6; }
15058
15059 if $PYTHON-config --help 2>/dev/null; then
15060   PYTHON_LIBS=`$PYTHON-config --ldflags 2>/dev/null`
15061   PYTHON_LIB=`$PYTHON -c "import distutils.sysconfig as s; print s.get_python_lib(standard_lib=1)"`
15062   if echo "$host_os" | grep darwin >/dev/null 2>&1; then
15063                 PYTHON_LIB_LOC=/usr/lib
15064   else
15065     PYTHON_LIB_LOC=$PYTHON_LIB/config
15066
15067     # default to prefix/lib for distros that don't have a link in
15068     # .../pythonX.Y/config/
15069     if test ! -e $PYTHON_LIB_LOC/libpython${PYTHON_VERSION}.so; then
15070       PYTHON_LIB_LOC=${py_prefix}/lib
15071     fi
15072   fi
15073 else
15074   PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
15075   PYTHON_LIB_LOC="${py_prefix}/lib"
15076 fi
15077
15078
15079 # Check whether --with-libpython-dir was given.
15080 if test "${with_libpython_dir+set}" = set; then :
15081   withval=$with_libpython_dir;
15082     PYTHON_LIB_LOC=`echo "$withval" | sed -e 's/\/$//g'`
15083
15084
15085 fi
15086
15087
15088 if echo "$host_os" | grep darwin >/dev/null 2>&1; then
15089     PYTHON_LIB_SUFFIX=\\\"dylib\\\"
15090 else
15091   PYTHON_LIB_SUFFIX=G_MODULE_SUFFIX
15092 fi
15093
15094
15095
15096
15097 save_LIBS="$LIBS"
15098 LIBS="$LIBS $PYTHON_LIBS"
15099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15100 /* end confdefs.h.  */
15101
15102 /* Override any GCC internal prototype to avoid an error.
15103    Use char because int might match the return type of a GCC
15104    builtin and then its argument prototype would still apply.  */
15105 #ifdef __cplusplus
15106 extern "C"
15107 #endif
15108 char Py_Initialize ();
15109 int
15110 main ()
15111 {
15112 return Py_Initialize ();
15113   ;
15114   return 0;
15115 }
15116 _ACEOF
15117 if ac_fn_c_try_link "$LINENO"; then :
15118            LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15119 $as_echo "yes" >&6; };
15120 else
15121            LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15122 $as_echo "no" >&6; }; as_fn_error $? "could not find Python lib" "$LINENO" 5
15123 fi
15124 rm -f core conftest.err conftest.$ac_objext \
15125     conftest$ac_exeext conftest.$ac_ext
15126
15127
15128
15129
15130
15131   EXP_VAR=PLUGINDIR
15132   FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
15133
15134     prefix_save=$prefix
15135   exec_prefix_save=$exec_prefix
15136
15137     if test "x$prefix" = "xNONE"; then
15138     prefix="$ac_default_prefix"
15139   fi
15140     if test "x$exec_prefix" = "xNONE"; then
15141     exec_prefix=$prefix
15142   fi
15143
15144   full_var="$FROM_VAR"
15145     while true; do
15146     new_full_var="`eval echo $full_var`"
15147     if test "x$new_full_var" = "x$full_var"; then break; fi
15148     full_var=$new_full_var
15149   done
15150
15151     full_var=$new_full_var
15152   PLUGINDIR="$full_var"
15153
15154
15155     prefix=$prefix_save
15156   exec_prefix=$exec_prefix_save
15157
15158
15159 cat >>confdefs.h <<_ACEOF
15160 #define PLUGINDIR "$PLUGINDIR"
15161 _ACEOF
15162
15163   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
15164 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
15165
15166     plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
15167
15168
15169
15170
15171   if test "x$PACKAGE_VERSION_NANO" = "x0"; then
15172
15173       if test "xyes" = "xno" -o "xyes" = "x"; then
15174     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
15175   elif test "xyes" = "xyes"; then
15176             if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
15177       GST_PACKAGE_RELEASE_DATETIME=yes
15178     else
15179             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO   "${srcdir}/gst-python.doap" `;
15180       if test "x$YYYY_MM_DD" != "x"; then
15181         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
15182       else
15183         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
15184             release date for release version  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO  from  \"${srcdir}/gst-python.doap\" " "$LINENO" 5
15185         GST_PACKAGE_RELEASE_DATETIME=""
15186       fi
15187     fi
15188     elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
15189     GST_PACKAGE_RELEASE_DATETIME=yes
15190   else
15191     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
15192 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
15193     GST_PACKAGE_RELEASE_DATETIME=""
15194   fi
15195
15196   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
15197     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
15198 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
15199   else
15200     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
15201 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
15202
15203
15204 cat >>confdefs.h <<_ACEOF
15205 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
15206 _ACEOF
15207
15208   fi
15209
15210   else
15211
15212       if test "xno" = "xno" -o "xno" = "x"; then
15213     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
15214   elif test "xno" = "xyes"; then
15215             if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
15216       GST_PACKAGE_RELEASE_DATETIME=no
15217     else
15218             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  `;
15219       if test "x$YYYY_MM_DD" != "x"; then
15220         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
15221       else
15222         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
15223             release date for release version  from " "$LINENO" 5
15224         GST_PACKAGE_RELEASE_DATETIME=""
15225       fi
15226     fi
15227     elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
15228     GST_PACKAGE_RELEASE_DATETIME=no
15229   else
15230     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
15231 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
15232     GST_PACKAGE_RELEASE_DATETIME=""
15233   fi
15234
15235   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
15236     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
15237 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
15238   else
15239     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
15240 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
15241
15242
15243 cat >>confdefs.h <<_ACEOF
15244 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
15245 _ACEOF
15246
15247   fi
15248
15249   fi
15250
15251
15252 ac_config_files="$ac_config_files Makefile codegen/Makefile common/Makefile common/m4/Makefile gst/Makefile gst/gstversion.override gst/extend/Makefile examples/Makefile pkgconfig/Makefile pkgconfig/gst-python.pc pkgconfig/gst-python-uninstalled.pc plugin/Makefile testsuite/Makefile win32/common/config.h gst-python.spec gst/__init__.py"
15253
15254 cat >confcache <<\_ACEOF
15255 # This file is a shell script that caches the results of configure
15256 # tests run on this system so they can be shared between configure
15257 # scripts and configure runs, see configure's option --config-cache.
15258 # It is not useful on other systems.  If it contains results you don't
15259 # want to keep, you may remove or edit it.
15260 #
15261 # config.status only pays attention to the cache file if you give it
15262 # the --recheck option to rerun configure.
15263 #
15264 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15265 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15266 # following values.
15267
15268 _ACEOF
15269
15270 # The following way of writing the cache mishandles newlines in values,
15271 # but we know of no workaround that is simple, portable, and efficient.
15272 # So, we kill variables containing newlines.
15273 # Ultrix sh set writes to stderr and can't be redirected directly,
15274 # and sets the high bit in the cache file unless we assign to the vars.
15275 (
15276   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15277     eval ac_val=\$$ac_var
15278     case $ac_val in #(
15279     *${as_nl}*)
15280       case $ac_var in #(
15281       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15282 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15283       esac
15284       case $ac_var in #(
15285       _ | IFS | as_nl) ;; #(
15286       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15287       *) { eval $ac_var=; unset $ac_var;} ;;
15288       esac ;;
15289     esac
15290   done
15291
15292   (set) 2>&1 |
15293     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15294     *${as_nl}ac_space=\ *)
15295       # `set' does not quote correctly, so add quotes: double-quote
15296       # substitution turns \\\\ into \\, and sed turns \\ into \.
15297       sed -n \
15298         "s/'/'\\\\''/g;
15299           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15300       ;; #(
15301     *)
15302       # `set' quotes correctly as required by POSIX, so do not add quotes.
15303       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15304       ;;
15305     esac |
15306     sort
15307 ) |
15308   sed '
15309      /^ac_cv_env_/b end
15310      t clear
15311      :clear
15312      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15313      t end
15314      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15315      :end' >>confcache
15316 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15317   if test -w "$cache_file"; then
15318     if test "x$cache_file" != "x/dev/null"; then
15319       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15320 $as_echo "$as_me: updating cache $cache_file" >&6;}
15321       if test ! -f "$cache_file" || test -h "$cache_file"; then
15322         cat confcache >"$cache_file"
15323       else
15324         case $cache_file in #(
15325         */* | ?:*)
15326           mv -f confcache "$cache_file"$$ &&
15327           mv -f "$cache_file"$$ "$cache_file" ;; #(
15328         *)
15329           mv -f confcache "$cache_file" ;;
15330         esac
15331       fi
15332     fi
15333   else
15334     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15335 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15336   fi
15337 fi
15338 rm -f confcache
15339
15340 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15341 # Let make expand exec_prefix.
15342 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15343
15344 DEFS=-DHAVE_CONFIG_H
15345
15346 ac_libobjs=
15347 ac_ltlibobjs=
15348 U=
15349 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15350   # 1. Remove the extension, and $U if already installed.
15351   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15352   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15353   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15354   #    will be set to the directory where LIBOBJS objects are built.
15355   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15356   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15357 done
15358 LIBOBJS=$ac_libobjs
15359
15360 LTLIBOBJS=$ac_ltlibobjs
15361
15362
15363  if test -n "$EXEEXT"; then
15364   am__EXEEXT_TRUE=
15365   am__EXEEXT_FALSE='#'
15366 else
15367   am__EXEEXT_TRUE='#'
15368   am__EXEEXT_FALSE=
15369 fi
15370
15371 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15372   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15374 fi
15375 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15376   as_fn_error $? "conditional \"AMDEP\" was never defined.
15377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15378 fi
15379 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15380   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15382 fi
15383 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15384   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15386 fi
15387 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
15388   as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
15389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15390 fi
15391 if test -z "${HAVE_GST_AUDIO_TRUE}" && test -z "${HAVE_GST_AUDIO_FALSE}"; then
15392   as_fn_error $? "conditional \"HAVE_GST_AUDIO\" was never defined.
15393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15394 fi
15395 if test -z "${HAVE_GST_VIDEO_TRUE}" && test -z "${HAVE_GST_VIDEO_FALSE}"; then
15396   as_fn_error $? "conditional \"HAVE_GST_VIDEO\" was never defined.
15397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15398 fi
15399 if test -z "${HAVE_GST_TAG_TRUE}" && test -z "${HAVE_GST_TAG_FALSE}"; then
15400   as_fn_error $? "conditional \"HAVE_GST_TAG\" was never defined.
15401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15402 fi
15403 if test -z "${HAVE_PYGOBJECT_2_16_TRUE}" && test -z "${HAVE_PYGOBJECT_2_16_FALSE}"; then
15404   as_fn_error $? "conditional \"HAVE_PYGOBJECT_2_16\" was never defined.
15405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15406 fi
15407 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
15408   as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
15409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15410 fi
15411
15412 : "${CONFIG_STATUS=./config.status}"
15413 ac_write_fail=0
15414 ac_clean_files_save=$ac_clean_files
15415 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15417 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15418 as_write_fail=0
15419 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15420 #! $SHELL
15421 # Generated by $as_me.
15422 # Run this file to recreate the current configuration.
15423 # Compiler output produced by configure, useful for debugging
15424 # configure, is in config.log if it exists.
15425
15426 debug=false
15427 ac_cs_recheck=false
15428 ac_cs_silent=false
15429
15430 SHELL=\${CONFIG_SHELL-$SHELL}
15431 export SHELL
15432 _ASEOF
15433 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15434 ## -------------------- ##
15435 ## M4sh Initialization. ##
15436 ## -------------------- ##
15437
15438 # Be more Bourne compatible
15439 DUALCASE=1; export DUALCASE # for MKS sh
15440 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15441   emulate sh
15442   NULLCMD=:
15443   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15444   # is contrary to our usage.  Disable this feature.
15445   alias -g '${1+"$@"}'='"$@"'
15446   setopt NO_GLOB_SUBST
15447 else
15448   case `(set -o) 2>/dev/null` in #(
15449   *posix*) :
15450     set -o posix ;; #(
15451   *) :
15452      ;;
15453 esac
15454 fi
15455
15456
15457 as_nl='
15458 '
15459 export as_nl
15460 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15461 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15462 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15463 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15464 # Prefer a ksh shell builtin over an external printf program on Solaris,
15465 # but without wasting forks for bash or zsh.
15466 if test -z "$BASH_VERSION$ZSH_VERSION" \
15467     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15468   as_echo='print -r --'
15469   as_echo_n='print -rn --'
15470 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15471   as_echo='printf %s\n'
15472   as_echo_n='printf %s'
15473 else
15474   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15475     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15476     as_echo_n='/usr/ucb/echo -n'
15477   else
15478     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15479     as_echo_n_body='eval
15480       arg=$1;
15481       case $arg in #(
15482       *"$as_nl"*)
15483         expr "X$arg" : "X\\(.*\\)$as_nl";
15484         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15485       esac;
15486       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15487     '
15488     export as_echo_n_body
15489     as_echo_n='sh -c $as_echo_n_body as_echo'
15490   fi
15491   export as_echo_body
15492   as_echo='sh -c $as_echo_body as_echo'
15493 fi
15494
15495 # The user is always right.
15496 if test "${PATH_SEPARATOR+set}" != set; then
15497   PATH_SEPARATOR=:
15498   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15499     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15500       PATH_SEPARATOR=';'
15501   }
15502 fi
15503
15504
15505 # IFS
15506 # We need space, tab and new line, in precisely that order.  Quoting is
15507 # there to prevent editors from complaining about space-tab.
15508 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15509 # splitting by setting IFS to empty value.)
15510 IFS=" ""        $as_nl"
15511
15512 # Find who we are.  Look in the path if we contain no directory separator.
15513 as_myself=
15514 case $0 in #((
15515   *[\\/]* ) as_myself=$0 ;;
15516   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15517 for as_dir in $PATH
15518 do
15519   IFS=$as_save_IFS
15520   test -z "$as_dir" && as_dir=.
15521     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15522   done
15523 IFS=$as_save_IFS
15524
15525      ;;
15526 esac
15527 # We did not find ourselves, most probably we were run as `sh COMMAND'
15528 # in which case we are not to be found in the path.
15529 if test "x$as_myself" = x; then
15530   as_myself=$0
15531 fi
15532 if test ! -f "$as_myself"; then
15533   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15534   exit 1
15535 fi
15536
15537 # Unset variables that we do not need and which cause bugs (e.g. in
15538 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15539 # suppresses any "Segmentation fault" message there.  '((' could
15540 # trigger a bug in pdksh 5.2.14.
15541 for as_var in BASH_ENV ENV MAIL MAILPATH
15542 do eval test x\${$as_var+set} = xset \
15543   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15544 done
15545 PS1='$ '
15546 PS2='> '
15547 PS4='+ '
15548
15549 # NLS nuisances.
15550 LC_ALL=C
15551 export LC_ALL
15552 LANGUAGE=C
15553 export LANGUAGE
15554
15555 # CDPATH.
15556 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15557
15558
15559 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15560 # ----------------------------------------
15561 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15562 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15563 # script with STATUS, using 1 if that was 0.
15564 as_fn_error ()
15565 {
15566   as_status=$1; test $as_status -eq 0 && as_status=1
15567   if test "$4"; then
15568     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15569     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15570   fi
15571   $as_echo "$as_me: error: $2" >&2
15572   as_fn_exit $as_status
15573 } # as_fn_error
15574
15575
15576 # as_fn_set_status STATUS
15577 # -----------------------
15578 # Set $? to STATUS, without forking.
15579 as_fn_set_status ()
15580 {
15581   return $1
15582 } # as_fn_set_status
15583
15584 # as_fn_exit STATUS
15585 # -----------------
15586 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15587 as_fn_exit ()
15588 {
15589   set +e
15590   as_fn_set_status $1
15591   exit $1
15592 } # as_fn_exit
15593
15594 # as_fn_unset VAR
15595 # ---------------
15596 # Portably unset VAR.
15597 as_fn_unset ()
15598 {
15599   { eval $1=; unset $1;}
15600 }
15601 as_unset=as_fn_unset
15602 # as_fn_append VAR VALUE
15603 # ----------------------
15604 # Append the text in VALUE to the end of the definition contained in VAR. Take
15605 # advantage of any shell optimizations that allow amortized linear growth over
15606 # repeated appends, instead of the typical quadratic growth present in naive
15607 # implementations.
15608 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15609   eval 'as_fn_append ()
15610   {
15611     eval $1+=\$2
15612   }'
15613 else
15614   as_fn_append ()
15615   {
15616     eval $1=\$$1\$2
15617   }
15618 fi # as_fn_append
15619
15620 # as_fn_arith ARG...
15621 # ------------------
15622 # Perform arithmetic evaluation on the ARGs, and store the result in the
15623 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15624 # must be portable across $(()) and expr.
15625 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15626   eval 'as_fn_arith ()
15627   {
15628     as_val=$(( $* ))
15629   }'
15630 else
15631   as_fn_arith ()
15632   {
15633     as_val=`expr "$@" || test $? -eq 1`
15634   }
15635 fi # as_fn_arith
15636
15637
15638 if expr a : '\(a\)' >/dev/null 2>&1 &&
15639    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15640   as_expr=expr
15641 else
15642   as_expr=false
15643 fi
15644
15645 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15646   as_basename=basename
15647 else
15648   as_basename=false
15649 fi
15650
15651 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15652   as_dirname=dirname
15653 else
15654   as_dirname=false
15655 fi
15656
15657 as_me=`$as_basename -- "$0" ||
15658 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15659          X"$0" : 'X\(//\)$' \| \
15660          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15661 $as_echo X/"$0" |
15662     sed '/^.*\/\([^/][^/]*\)\/*$/{
15663             s//\1/
15664             q
15665           }
15666           /^X\/\(\/\/\)$/{
15667             s//\1/
15668             q
15669           }
15670           /^X\/\(\/\).*/{
15671             s//\1/
15672             q
15673           }
15674           s/.*/./; q'`
15675
15676 # Avoid depending upon Character Ranges.
15677 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15678 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15679 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15680 as_cr_digits='0123456789'
15681 as_cr_alnum=$as_cr_Letters$as_cr_digits
15682
15683 ECHO_C= ECHO_N= ECHO_T=
15684 case `echo -n x` in #(((((
15685 -n*)
15686   case `echo 'xy\c'` in
15687   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15688   xy)  ECHO_C='\c';;
15689   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15690        ECHO_T=' ';;
15691   esac;;
15692 *)
15693   ECHO_N='-n';;
15694 esac
15695
15696 rm -f conf$$ conf$$.exe conf$$.file
15697 if test -d conf$$.dir; then
15698   rm -f conf$$.dir/conf$$.file
15699 else
15700   rm -f conf$$.dir
15701   mkdir conf$$.dir 2>/dev/null
15702 fi
15703 if (echo >conf$$.file) 2>/dev/null; then
15704   if ln -s conf$$.file conf$$ 2>/dev/null; then
15705     as_ln_s='ln -s'
15706     # ... but there are two gotchas:
15707     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15708     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15709     # In both cases, we have to default to `cp -p'.
15710     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15711       as_ln_s='cp -p'
15712   elif ln conf$$.file conf$$ 2>/dev/null; then
15713     as_ln_s=ln
15714   else
15715     as_ln_s='cp -p'
15716   fi
15717 else
15718   as_ln_s='cp -p'
15719 fi
15720 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15721 rmdir conf$$.dir 2>/dev/null
15722
15723
15724 # as_fn_mkdir_p
15725 # -------------
15726 # Create "$as_dir" as a directory, including parents if necessary.
15727 as_fn_mkdir_p ()
15728 {
15729
15730   case $as_dir in #(
15731   -*) as_dir=./$as_dir;;
15732   esac
15733   test -d "$as_dir" || eval $as_mkdir_p || {
15734     as_dirs=
15735     while :; do
15736       case $as_dir in #(
15737       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15738       *) as_qdir=$as_dir;;
15739       esac
15740       as_dirs="'$as_qdir' $as_dirs"
15741       as_dir=`$as_dirname -- "$as_dir" ||
15742 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15743          X"$as_dir" : 'X\(//\)[^/]' \| \
15744          X"$as_dir" : 'X\(//\)$' \| \
15745          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15746 $as_echo X"$as_dir" |
15747     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15748             s//\1/
15749             q
15750           }
15751           /^X\(\/\/\)[^/].*/{
15752             s//\1/
15753             q
15754           }
15755           /^X\(\/\/\)$/{
15756             s//\1/
15757             q
15758           }
15759           /^X\(\/\).*/{
15760             s//\1/
15761             q
15762           }
15763           s/.*/./; q'`
15764       test -d "$as_dir" && break
15765     done
15766     test -z "$as_dirs" || eval "mkdir $as_dirs"
15767   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15768
15769
15770 } # as_fn_mkdir_p
15771 if mkdir -p . 2>/dev/null; then
15772   as_mkdir_p='mkdir -p "$as_dir"'
15773 else
15774   test -d ./-p && rmdir ./-p
15775   as_mkdir_p=false
15776 fi
15777
15778 if test -x / >/dev/null 2>&1; then
15779   as_test_x='test -x'
15780 else
15781   if ls -dL / >/dev/null 2>&1; then
15782     as_ls_L_option=L
15783   else
15784     as_ls_L_option=
15785   fi
15786   as_test_x='
15787     eval sh -c '\''
15788       if test -d "$1"; then
15789         test -d "$1/.";
15790       else
15791         case $1 in #(
15792         -*)set "./$1";;
15793         esac;
15794         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15795         ???[sx]*):;;*)false;;esac;fi
15796     '\'' sh
15797   '
15798 fi
15799 as_executable_p=$as_test_x
15800
15801 # Sed expression to map a string onto a valid CPP name.
15802 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15803
15804 # Sed expression to map a string onto a valid variable name.
15805 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15806
15807
15808 exec 6>&1
15809 ## ----------------------------------- ##
15810 ## Main body of $CONFIG_STATUS script. ##
15811 ## ----------------------------------- ##
15812 _ASEOF
15813 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15814
15815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15816 # Save the log message, to keep $0 and so on meaningful, and to
15817 # report actual input values of CONFIG_FILES etc. instead of their
15818 # values after options handling.
15819 ac_log="
15820 This file was extended by GStreamer Python Bindings $as_me 0.10.22, which was
15821 generated by GNU Autoconf 2.68.  Invocation command line was
15822
15823   CONFIG_FILES    = $CONFIG_FILES
15824   CONFIG_HEADERS  = $CONFIG_HEADERS
15825   CONFIG_LINKS    = $CONFIG_LINKS
15826   CONFIG_COMMANDS = $CONFIG_COMMANDS
15827   $ $0 $@
15828
15829 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15830 "
15831
15832 _ACEOF
15833
15834 case $ac_config_files in *"
15835 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15836 esac
15837
15838 case $ac_config_headers in *"
15839 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15840 esac
15841
15842
15843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15844 # Files that config.status was made for.
15845 config_files="$ac_config_files"
15846 config_headers="$ac_config_headers"
15847 config_commands="$ac_config_commands"
15848
15849 _ACEOF
15850
15851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15852 ac_cs_usage="\
15853 \`$as_me' instantiates files and other configuration actions
15854 from templates according to the current configuration.  Unless the files
15855 and actions are specified as TAGs, all are instantiated by default.
15856
15857 Usage: $0 [OPTION]... [TAG]...
15858
15859   -h, --help       print this help, then exit
15860   -V, --version    print version number and configuration settings, then exit
15861       --config     print configuration, then exit
15862   -q, --quiet, --silent
15863                    do not print progress messages
15864   -d, --debug      don't remove temporary files
15865       --recheck    update $as_me by reconfiguring in the same conditions
15866       --file=FILE[:TEMPLATE]
15867                    instantiate the configuration file FILE
15868       --header=FILE[:TEMPLATE]
15869                    instantiate the configuration header FILE
15870
15871 Configuration files:
15872 $config_files
15873
15874 Configuration headers:
15875 $config_headers
15876
15877 Configuration commands:
15878 $config_commands
15879
15880 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
15881
15882 _ACEOF
15883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15884 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15885 ac_cs_version="\\
15886 GStreamer Python Bindings config.status 0.10.22
15887 configured by $0, generated by GNU Autoconf 2.68,
15888   with options \\"\$ac_cs_config\\"
15889
15890 Copyright (C) 2010 Free Software Foundation, Inc.
15891 This config.status script is free software; the Free Software Foundation
15892 gives unlimited permission to copy, distribute and modify it."
15893
15894 ac_pwd='$ac_pwd'
15895 srcdir='$srcdir'
15896 INSTALL='$INSTALL'
15897 MKDIR_P='$MKDIR_P'
15898 AWK='$AWK'
15899 test -n "\$AWK" || AWK=awk
15900 _ACEOF
15901
15902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15903 # The default lists apply if the user does not specify any file.
15904 ac_need_defaults=:
15905 while test $# != 0
15906 do
15907   case $1 in
15908   --*=?*)
15909     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15910     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15911     ac_shift=:
15912     ;;
15913   --*=)
15914     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15915     ac_optarg=
15916     ac_shift=:
15917     ;;
15918   *)
15919     ac_option=$1
15920     ac_optarg=$2
15921     ac_shift=shift
15922     ;;
15923   esac
15924
15925   case $ac_option in
15926   # Handling of the options.
15927   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15928     ac_cs_recheck=: ;;
15929   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15930     $as_echo "$ac_cs_version"; exit ;;
15931   --config | --confi | --conf | --con | --co | --c )
15932     $as_echo "$ac_cs_config"; exit ;;
15933   --debug | --debu | --deb | --de | --d | -d )
15934     debug=: ;;
15935   --file | --fil | --fi | --f )
15936     $ac_shift
15937     case $ac_optarg in
15938     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15939     '') as_fn_error $? "missing file argument" ;;
15940     esac
15941     as_fn_append CONFIG_FILES " '$ac_optarg'"
15942     ac_need_defaults=false;;
15943   --header | --heade | --head | --hea )
15944     $ac_shift
15945     case $ac_optarg in
15946     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15947     esac
15948     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15949     ac_need_defaults=false;;
15950   --he | --h)
15951     # Conflict between --help and --header
15952     as_fn_error $? "ambiguous option: \`$1'
15953 Try \`$0 --help' for more information.";;
15954   --help | --hel | -h )
15955     $as_echo "$ac_cs_usage"; exit ;;
15956   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15957   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15958     ac_cs_silent=: ;;
15959
15960   # This is an error.
15961   -*) as_fn_error $? "unrecognized option: \`$1'
15962 Try \`$0 --help' for more information." ;;
15963
15964   *) as_fn_append ac_config_targets " $1"
15965      ac_need_defaults=false ;;
15966
15967   esac
15968   shift
15969 done
15970
15971 ac_configure_extra_args=
15972
15973 if $ac_cs_silent; then
15974   exec 6>/dev/null
15975   ac_configure_extra_args="$ac_configure_extra_args --silent"
15976 fi
15977
15978 _ACEOF
15979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15980 if \$ac_cs_recheck; then
15981   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15982   shift
15983   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15984   CONFIG_SHELL='$SHELL'
15985   export CONFIG_SHELL
15986   exec "\$@"
15987 fi
15988
15989 _ACEOF
15990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15991 exec 5>>config.log
15992 {
15993   echo
15994   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15995 ## Running $as_me. ##
15996 _ASBOX
15997   $as_echo "$ac_log"
15998 } >&5
15999
16000 _ACEOF
16001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16002 #
16003 # INIT-COMMANDS
16004 #
16005 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16006
16007
16008 # The HP-UX ksh and POSIX shell print the target directory to stdout
16009 # if CDPATH is set.
16010 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16011
16012 sed_quote_subst='$sed_quote_subst'
16013 double_quote_subst='$double_quote_subst'
16014 delay_variable_subst='$delay_variable_subst'
16015 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16016 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16017 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16018 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16019 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16020 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16021 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16022 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16023 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16024 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16025 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16026 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16027 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16028 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16029 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16030 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16031 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16032 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16033 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16034 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16035 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16036 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16037 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16038 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16039 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16040 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16041 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16042 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16043 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16044 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16045 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16046 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16047 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16048 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16049 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16050 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16051 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16052 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16053 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16054 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16055 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16056 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16057 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16058 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16059 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16060 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16061 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16062 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16063 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16064 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16065 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16066 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16067 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16068 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16069 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16070 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16071 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"`'
16072 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16073 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16074 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16075 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16076 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16077 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16078 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16079 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16080 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16081 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16082 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16083 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16084 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16085 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16086 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16087 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16088 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16089 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16090 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16091 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16092 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16093 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16094 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16095 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16096 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16097 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16098 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16099 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16100 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16101 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16102 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16103 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16104 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16105 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16106 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16107 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16108 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16109 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16110 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16111 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16112 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16113 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16114 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16115 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16116 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16117 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16118 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16119 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16120 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16121 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16122 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16123 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16124 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16125 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16126 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16127 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16128 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16129 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16130 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16131 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16132 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16133 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16134 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16135 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16136 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16137 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16138 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16139 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16140 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16141 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16142 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16143 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16144 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16145 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16146
16147 LTCC='$LTCC'
16148 LTCFLAGS='$LTCFLAGS'
16149 compiler='$compiler_DEFAULT'
16150
16151 # A function that is used when there is no print builtin or printf.
16152 func_fallback_echo ()
16153 {
16154   eval 'cat <<_LTECHO_EOF
16155 \$1
16156 _LTECHO_EOF'
16157 }
16158
16159 # Quote evaled strings.
16160 for var in AS \
16161 DLLTOOL \
16162 OBJDUMP \
16163 SHELL \
16164 ECHO \
16165 SED \
16166 GREP \
16167 EGREP \
16168 FGREP \
16169 LD \
16170 NM \
16171 LN_S \
16172 lt_SP2NL \
16173 lt_NL2SP \
16174 reload_flag \
16175 deplibs_check_method \
16176 file_magic_cmd \
16177 file_magic_glob \
16178 want_nocaseglob \
16179 sharedlib_from_linklib_cmd \
16180 AR \
16181 AR_FLAGS \
16182 archiver_list_spec \
16183 STRIP \
16184 RANLIB \
16185 CC \
16186 CFLAGS \
16187 compiler \
16188 lt_cv_sys_global_symbol_pipe \
16189 lt_cv_sys_global_symbol_to_cdecl \
16190 lt_cv_sys_global_symbol_to_c_name_address \
16191 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16192 nm_file_list_spec \
16193 lt_prog_compiler_no_builtin_flag \
16194 lt_prog_compiler_pic \
16195 lt_prog_compiler_wl \
16196 lt_prog_compiler_static \
16197 lt_cv_prog_compiler_c_o \
16198 need_locks \
16199 MANIFEST_TOOL \
16200 DSYMUTIL \
16201 NMEDIT \
16202 LIPO \
16203 OTOOL \
16204 OTOOL64 \
16205 shrext_cmds \
16206 export_dynamic_flag_spec \
16207 whole_archive_flag_spec \
16208 compiler_needs_object \
16209 with_gnu_ld \
16210 allow_undefined_flag \
16211 no_undefined_flag \
16212 hardcode_libdir_flag_spec \
16213 hardcode_libdir_flag_spec_ld \
16214 hardcode_libdir_separator \
16215 exclude_expsyms \
16216 include_expsyms \
16217 file_list_spec \
16218 variables_saved_for_relink \
16219 libname_spec \
16220 library_names_spec \
16221 soname_spec \
16222 install_override_mode \
16223 finish_eval \
16224 old_striplib \
16225 striplib; do
16226     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16227     *[\\\\\\\`\\"\\\$]*)
16228       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16229       ;;
16230     *)
16231       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16232       ;;
16233     esac
16234 done
16235
16236 # Double-quote double-evaled strings.
16237 for var in reload_cmds \
16238 old_postinstall_cmds \
16239 old_postuninstall_cmds \
16240 old_archive_cmds \
16241 extract_expsyms_cmds \
16242 old_archive_from_new_cmds \
16243 old_archive_from_expsyms_cmds \
16244 archive_cmds \
16245 archive_expsym_cmds \
16246 module_cmds \
16247 module_expsym_cmds \
16248 export_symbols_cmds \
16249 prelink_cmds \
16250 postlink_cmds \
16251 postinstall_cmds \
16252 postuninstall_cmds \
16253 finish_cmds \
16254 sys_lib_search_path_spec \
16255 sys_lib_dlsearch_path_spec; do
16256     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16257     *[\\\\\\\`\\"\\\$]*)
16258       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16259       ;;
16260     *)
16261       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16262       ;;
16263     esac
16264 done
16265
16266 ac_aux_dir='$ac_aux_dir'
16267 xsi_shell='$xsi_shell'
16268 lt_shell_append='$lt_shell_append'
16269
16270 # See if we are running on zsh, and set the options which allow our
16271 # commands through without removal of \ escapes INIT.
16272 if test -n "\${ZSH_VERSION+set}" ; then
16273    setopt NO_GLOB_SUBST
16274 fi
16275
16276
16277     PACKAGE='$PACKAGE'
16278     VERSION='$VERSION'
16279     TIMESTAMP='$TIMESTAMP'
16280     RM='$RM'
16281     ofile='$ofile'
16282
16283
16284
16285
16286 _ACEOF
16287
16288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16289
16290 # Handling of arguments.
16291 for ac_config_target in $ac_config_targets
16292 do
16293   case $ac_config_target in
16294     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16295     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16296     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16297     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16298     "codegen/Makefile") CONFIG_FILES="$CONFIG_FILES codegen/Makefile" ;;
16299     "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
16300     "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
16301     "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
16302     "gst/gstversion.override") CONFIG_FILES="$CONFIG_FILES gst/gstversion.override" ;;
16303     "gst/extend/Makefile") CONFIG_FILES="$CONFIG_FILES gst/extend/Makefile" ;;
16304     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
16305     "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
16306     "pkgconfig/gst-python.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gst-python.pc" ;;
16307     "pkgconfig/gst-python-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gst-python-uninstalled.pc" ;;
16308     "plugin/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/Makefile" ;;
16309     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
16310     "win32/common/config.h") CONFIG_FILES="$CONFIG_FILES win32/common/config.h" ;;
16311     "gst-python.spec") CONFIG_FILES="$CONFIG_FILES gst-python.spec" ;;
16312     "gst/__init__.py") CONFIG_FILES="$CONFIG_FILES gst/__init__.py" ;;
16313
16314   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16315   esac
16316 done
16317
16318
16319 # If the user did not use the arguments to specify the items to instantiate,
16320 # then the envvar interface is used.  Set only those that are not.
16321 # We use the long form for the default assignment because of an extremely
16322 # bizarre bug on SunOS 4.1.3.
16323 if $ac_need_defaults; then
16324   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16325   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16326   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16327 fi
16328
16329 # Have a temporary directory for convenience.  Make it in the build tree
16330 # simply because there is no reason against having it here, and in addition,
16331 # creating and moving files from /tmp can sometimes cause problems.
16332 # Hook for its removal unless debugging.
16333 # Note that there is a small window in which the directory will not be cleaned:
16334 # after its creation but before its name has been assigned to `$tmp'.
16335 $debug ||
16336 {
16337   tmp= ac_tmp=
16338   trap 'exit_status=$?
16339   : "${ac_tmp:=$tmp}"
16340   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16341 ' 0
16342   trap 'as_fn_exit 1' 1 2 13 15
16343 }
16344 # Create a (secure) tmp directory for tmp files.
16345
16346 {
16347   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16348   test -d "$tmp"
16349 }  ||
16350 {
16351   tmp=./conf$$-$RANDOM
16352   (umask 077 && mkdir "$tmp")
16353 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16354 ac_tmp=$tmp
16355
16356 # Set up the scripts for CONFIG_FILES section.
16357 # No need to generate them if there are no CONFIG_FILES.
16358 # This happens for instance with `./config.status config.h'.
16359 if test -n "$CONFIG_FILES"; then
16360
16361
16362 ac_cr=`echo X | tr X '\015'`
16363 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16364 # But we know of no other shell where ac_cr would be empty at this
16365 # point, so we can use a bashism as a fallback.
16366 if test "x$ac_cr" = x; then
16367   eval ac_cr=\$\'\\r\'
16368 fi
16369 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16370 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16371   ac_cs_awk_cr='\\r'
16372 else
16373   ac_cs_awk_cr=$ac_cr
16374 fi
16375
16376 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16377 _ACEOF
16378
16379
16380 {
16381   echo "cat >conf$$subs.awk <<_ACEOF" &&
16382   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16383   echo "_ACEOF"
16384 } >conf$$subs.sh ||
16385   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16386 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16387 ac_delim='%!_!# '
16388 for ac_last_try in false false false false false :; do
16389   . ./conf$$subs.sh ||
16390     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16391
16392   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16393   if test $ac_delim_n = $ac_delim_num; then
16394     break
16395   elif $ac_last_try; then
16396     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16397   else
16398     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16399   fi
16400 done
16401 rm -f conf$$subs.sh
16402
16403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16404 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16405 _ACEOF
16406 sed -n '
16407 h
16408 s/^/S["/; s/!.*/"]=/
16409 p
16410 g
16411 s/^[^!]*!//
16412 :repl
16413 t repl
16414 s/'"$ac_delim"'$//
16415 t delim
16416 :nl
16417 h
16418 s/\(.\{148\}\)..*/\1/
16419 t more1
16420 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16421 p
16422 n
16423 b repl
16424 :more1
16425 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16426 p
16427 g
16428 s/.\{148\}//
16429 t nl
16430 :delim
16431 h
16432 s/\(.\{148\}\)..*/\1/
16433 t more2
16434 s/["\\]/\\&/g; s/^/"/; s/$/"/
16435 p
16436 b
16437 :more2
16438 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16439 p
16440 g
16441 s/.\{148\}//
16442 t delim
16443 ' <conf$$subs.awk | sed '
16444 /^[^""]/{
16445   N
16446   s/\n//
16447 }
16448 ' >>$CONFIG_STATUS || ac_write_fail=1
16449 rm -f conf$$subs.awk
16450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16451 _ACAWK
16452 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16453   for (key in S) S_is_set[key] = 1
16454   FS = "\a"
16455
16456 }
16457 {
16458   line = $ 0
16459   nfields = split(line, field, "@")
16460   substed = 0
16461   len = length(field[1])
16462   for (i = 2; i < nfields; i++) {
16463     key = field[i]
16464     keylen = length(key)
16465     if (S_is_set[key]) {
16466       value = S[key]
16467       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16468       len += length(value) + length(field[++i])
16469       substed = 1
16470     } else
16471       len += 1 + keylen
16472   }
16473
16474   print line
16475 }
16476
16477 _ACAWK
16478 _ACEOF
16479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16480 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16481   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16482 else
16483   cat
16484 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16485   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16486 _ACEOF
16487
16488 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16489 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16490 # trailing colons and then remove the whole line if VPATH becomes empty
16491 # (actually we leave an empty line to preserve line numbers).
16492 if test "x$srcdir" = x.; then
16493   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16494 h
16495 s///
16496 s/^/:/
16497 s/[      ]*$/:/
16498 s/:\$(srcdir):/:/g
16499 s/:\${srcdir}:/:/g
16500 s/:@srcdir@:/:/g
16501 s/^:*//
16502 s/:*$//
16503 x
16504 s/\(=[   ]*\).*/\1/
16505 G
16506 s/\n//
16507 s/^[^=]*=[       ]*$//
16508 }'
16509 fi
16510
16511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16512 fi # test -n "$CONFIG_FILES"
16513
16514 # Set up the scripts for CONFIG_HEADERS section.
16515 # No need to generate them if there are no CONFIG_HEADERS.
16516 # This happens for instance with `./config.status Makefile'.
16517 if test -n "$CONFIG_HEADERS"; then
16518 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16519 BEGIN {
16520 _ACEOF
16521
16522 # Transform confdefs.h into an awk script `defines.awk', embedded as
16523 # here-document in config.status, that substitutes the proper values into
16524 # config.h.in to produce config.h.
16525
16526 # Create a delimiter string that does not exist in confdefs.h, to ease
16527 # handling of long lines.
16528 ac_delim='%!_!# '
16529 for ac_last_try in false false :; do
16530   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16531   if test -z "$ac_tt"; then
16532     break
16533   elif $ac_last_try; then
16534     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16535   else
16536     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16537   fi
16538 done
16539
16540 # For the awk script, D is an array of macro values keyed by name,
16541 # likewise P contains macro parameters if any.  Preserve backslash
16542 # newline sequences.
16543
16544 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16545 sed -n '
16546 s/.\{148\}/&'"$ac_delim"'/g
16547 t rset
16548 :rset
16549 s/^[     ]*#[    ]*define[       ][      ]*/ /
16550 t def
16551 d
16552 :def
16553 s/\\$//
16554 t bsnl
16555 s/["\\]/\\&/g
16556 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16557 D["\1"]=" \3"/p
16558 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16559 d
16560 :bsnl
16561 s/["\\]/\\&/g
16562 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16563 D["\1"]=" \3\\\\\\n"\\/p
16564 t cont
16565 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16566 t cont
16567 d
16568 :cont
16569 n
16570 s/.\{148\}/&'"$ac_delim"'/g
16571 t clear
16572 :clear
16573 s/\\$//
16574 t bsnlc
16575 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16576 d
16577 :bsnlc
16578 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16579 b cont
16580 ' <confdefs.h | sed '
16581 s/'"$ac_delim"'/"\\\
16582 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16583
16584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16585   for (key in D) D_is_set[key] = 1
16586   FS = "\a"
16587 }
16588 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16589   line = \$ 0
16590   split(line, arg, " ")
16591   if (arg[1] == "#") {
16592     defundef = arg[2]
16593     mac1 = arg[3]
16594   } else {
16595     defundef = substr(arg[1], 2)
16596     mac1 = arg[2]
16597   }
16598   split(mac1, mac2, "(") #)
16599   macro = mac2[1]
16600   prefix = substr(line, 1, index(line, defundef) - 1)
16601   if (D_is_set[macro]) {
16602     # Preserve the white space surrounding the "#".
16603     print prefix "define", macro P[macro] D[macro]
16604     next
16605   } else {
16606     # Replace #undef with comments.  This is necessary, for example,
16607     # in the case of _POSIX_SOURCE, which is predefined and required
16608     # on some systems where configure will not decide to define it.
16609     if (defundef == "undef") {
16610       print "/*", prefix defundef, macro, "*/"
16611       next
16612     }
16613   }
16614 }
16615 { print }
16616 _ACAWK
16617 _ACEOF
16618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16619   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16620 fi # test -n "$CONFIG_HEADERS"
16621
16622
16623 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16624 shift
16625 for ac_tag
16626 do
16627   case $ac_tag in
16628   :[FHLC]) ac_mode=$ac_tag; continue;;
16629   esac
16630   case $ac_mode$ac_tag in
16631   :[FHL]*:*);;
16632   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16633   :[FH]-) ac_tag=-:-;;
16634   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16635   esac
16636   ac_save_IFS=$IFS
16637   IFS=:
16638   set x $ac_tag
16639   IFS=$ac_save_IFS
16640   shift
16641   ac_file=$1
16642   shift
16643
16644   case $ac_mode in
16645   :L) ac_source=$1;;
16646   :[FH])
16647     ac_file_inputs=
16648     for ac_f
16649     do
16650       case $ac_f in
16651       -) ac_f="$ac_tmp/stdin";;
16652       *) # Look for the file first in the build tree, then in the source tree
16653          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16654          # because $ac_f cannot contain `:'.
16655          test -f "$ac_f" ||
16656            case $ac_f in
16657            [\\/$]*) false;;
16658            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16659            esac ||
16660            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16661       esac
16662       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16663       as_fn_append ac_file_inputs " '$ac_f'"
16664     done
16665
16666     # Let's still pretend it is `configure' which instantiates (i.e., don't
16667     # use $as_me), people would be surprised to read:
16668     #    /* config.h.  Generated by config.status.  */
16669     configure_input='Generated from '`
16670           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16671         `' by configure.'
16672     if test x"$ac_file" != x-; then
16673       configure_input="$ac_file.  $configure_input"
16674       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16675 $as_echo "$as_me: creating $ac_file" >&6;}
16676     fi
16677     # Neutralize special characters interpreted by sed in replacement strings.
16678     case $configure_input in #(
16679     *\&* | *\|* | *\\* )
16680        ac_sed_conf_input=`$as_echo "$configure_input" |
16681        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16682     *) ac_sed_conf_input=$configure_input;;
16683     esac
16684
16685     case $ac_tag in
16686     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16687       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16688     esac
16689     ;;
16690   esac
16691
16692   ac_dir=`$as_dirname -- "$ac_file" ||
16693 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16694          X"$ac_file" : 'X\(//\)[^/]' \| \
16695          X"$ac_file" : 'X\(//\)$' \| \
16696          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16697 $as_echo X"$ac_file" |
16698     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16699             s//\1/
16700             q
16701           }
16702           /^X\(\/\/\)[^/].*/{
16703             s//\1/
16704             q
16705           }
16706           /^X\(\/\/\)$/{
16707             s//\1/
16708             q
16709           }
16710           /^X\(\/\).*/{
16711             s//\1/
16712             q
16713           }
16714           s/.*/./; q'`
16715   as_dir="$ac_dir"; as_fn_mkdir_p
16716   ac_builddir=.
16717
16718 case "$ac_dir" in
16719 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16720 *)
16721   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16722   # A ".." for each directory in $ac_dir_suffix.
16723   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16724   case $ac_top_builddir_sub in
16725   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16726   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16727   esac ;;
16728 esac
16729 ac_abs_top_builddir=$ac_pwd
16730 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16731 # for backward compatibility:
16732 ac_top_builddir=$ac_top_build_prefix
16733
16734 case $srcdir in
16735   .)  # We are building in place.
16736     ac_srcdir=.
16737     ac_top_srcdir=$ac_top_builddir_sub
16738     ac_abs_top_srcdir=$ac_pwd ;;
16739   [\\/]* | ?:[\\/]* )  # Absolute name.
16740     ac_srcdir=$srcdir$ac_dir_suffix;
16741     ac_top_srcdir=$srcdir
16742     ac_abs_top_srcdir=$srcdir ;;
16743   *) # Relative name.
16744     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16745     ac_top_srcdir=$ac_top_build_prefix$srcdir
16746     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16747 esac
16748 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16749
16750
16751   case $ac_mode in
16752   :F)
16753   #
16754   # CONFIG_FILE
16755   #
16756
16757   case $INSTALL in
16758   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16759   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16760   esac
16761   ac_MKDIR_P=$MKDIR_P
16762   case $MKDIR_P in
16763   [\\/$]* | ?:[\\/]* ) ;;
16764   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16765   esac
16766 _ACEOF
16767
16768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16769 # If the template does not know about datarootdir, expand it.
16770 # FIXME: This hack should be removed a few years after 2.60.
16771 ac_datarootdir_hack=; ac_datarootdir_seen=
16772 ac_sed_dataroot='
16773 /datarootdir/ {
16774   p
16775   q
16776 }
16777 /@datadir@/p
16778 /@docdir@/p
16779 /@infodir@/p
16780 /@localedir@/p
16781 /@mandir@/p'
16782 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16783 *datarootdir*) ac_datarootdir_seen=yes;;
16784 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16785   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16786 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16787 _ACEOF
16788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16789   ac_datarootdir_hack='
16790   s&@datadir@&$datadir&g
16791   s&@docdir@&$docdir&g
16792   s&@infodir@&$infodir&g
16793   s&@localedir@&$localedir&g
16794   s&@mandir@&$mandir&g
16795   s&\\\${datarootdir}&$datarootdir&g' ;;
16796 esac
16797 _ACEOF
16798
16799 # Neutralize VPATH when `$srcdir' = `.'.
16800 # Shell code in configure.ac might set extrasub.
16801 # FIXME: do we really want to maintain this feature?
16802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16803 ac_sed_extra="$ac_vpsub
16804 $extrasub
16805 _ACEOF
16806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16807 :t
16808 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16809 s|@configure_input@|$ac_sed_conf_input|;t t
16810 s&@top_builddir@&$ac_top_builddir_sub&;t t
16811 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16812 s&@srcdir@&$ac_srcdir&;t t
16813 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16814 s&@top_srcdir@&$ac_top_srcdir&;t t
16815 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16816 s&@builddir@&$ac_builddir&;t t
16817 s&@abs_builddir@&$ac_abs_builddir&;t t
16818 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16819 s&@INSTALL@&$ac_INSTALL&;t t
16820 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16821 $ac_datarootdir_hack
16822 "
16823 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16824   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16825
16826 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16827   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16828   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16829       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16830   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16831 which seems to be undefined.  Please make sure it is defined" >&5
16832 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16833 which seems to be undefined.  Please make sure it is defined" >&2;}
16834
16835   rm -f "$ac_tmp/stdin"
16836   case $ac_file in
16837   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16838   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16839   esac \
16840   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16841  ;;
16842   :H)
16843   #
16844   # CONFIG_HEADER
16845   #
16846   if test x"$ac_file" != x-; then
16847     {
16848       $as_echo "/* $configure_input  */" \
16849       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16850     } >"$ac_tmp/config.h" \
16851       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16852     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16853       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16854 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16855     else
16856       rm -f "$ac_file"
16857       mv "$ac_tmp/config.h" "$ac_file" \
16858         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16859     fi
16860   else
16861     $as_echo "/* $configure_input  */" \
16862       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16863       || as_fn_error $? "could not create -" "$LINENO" 5
16864   fi
16865 # Compute "$ac_file"'s index in $config_headers.
16866 _am_arg="$ac_file"
16867 _am_stamp_count=1
16868 for _am_header in $config_headers :; do
16869   case $_am_header in
16870     $_am_arg | $_am_arg:* )
16871       break ;;
16872     * )
16873       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16874   esac
16875 done
16876 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16877 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16878          X"$_am_arg" : 'X\(//\)[^/]' \| \
16879          X"$_am_arg" : 'X\(//\)$' \| \
16880          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16881 $as_echo X"$_am_arg" |
16882     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16883             s//\1/
16884             q
16885           }
16886           /^X\(\/\/\)[^/].*/{
16887             s//\1/
16888             q
16889           }
16890           /^X\(\/\/\)$/{
16891             s//\1/
16892             q
16893           }
16894           /^X\(\/\).*/{
16895             s//\1/
16896             q
16897           }
16898           s/.*/./; q'`/stamp-h$_am_stamp_count
16899  ;;
16900
16901   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16902 $as_echo "$as_me: executing $ac_file commands" >&6;}
16903  ;;
16904   esac
16905
16906
16907   case $ac_file$ac_mode in
16908     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16909   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16910   # are listed without --file.  Let's play safe and only enable the eval
16911   # if we detect the quoting.
16912   case $CONFIG_FILES in
16913   *\'*) eval set x "$CONFIG_FILES" ;;
16914   *)   set x $CONFIG_FILES ;;
16915   esac
16916   shift
16917   for mf
16918   do
16919     # Strip MF so we end up with the name of the file.
16920     mf=`echo "$mf" | sed -e 's/:.*$//'`
16921     # Check whether this is an Automake generated Makefile or not.
16922     # We used to match only the files named `Makefile.in', but
16923     # some people rename them; so instead we look at the file content.
16924     # Grep'ing the first line is not enough: some people post-process
16925     # each Makefile.in and add a new line on top of each file to say so.
16926     # Grep'ing the whole file is not good either: AIX grep has a line
16927     # limit of 2048, but all sed's we know have understand at least 4000.
16928     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16929       dirpart=`$as_dirname -- "$mf" ||
16930 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16931          X"$mf" : 'X\(//\)[^/]' \| \
16932          X"$mf" : 'X\(//\)$' \| \
16933          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16934 $as_echo X"$mf" |
16935     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16936             s//\1/
16937             q
16938           }
16939           /^X\(\/\/\)[^/].*/{
16940             s//\1/
16941             q
16942           }
16943           /^X\(\/\/\)$/{
16944             s//\1/
16945             q
16946           }
16947           /^X\(\/\).*/{
16948             s//\1/
16949             q
16950           }
16951           s/.*/./; q'`
16952     else
16953       continue
16954     fi
16955     # Extract the definition of DEPDIR, am__include, and am__quote
16956     # from the Makefile without running `make'.
16957     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16958     test -z "$DEPDIR" && continue
16959     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16960     test -z "am__include" && continue
16961     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16962     # When using ansi2knr, U may be empty or an underscore; expand it
16963     U=`sed -n 's/^U = //p' < "$mf"`
16964     # Find all dependency output files, they are included files with
16965     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16966     # simplest approach to changing $(DEPDIR) to its actual value in the
16967     # expansion.
16968     for file in `sed -n "
16969       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16970          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16971       # Make sure the directory exists.
16972       test -f "$dirpart/$file" && continue
16973       fdir=`$as_dirname -- "$file" ||
16974 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16975          X"$file" : 'X\(//\)[^/]' \| \
16976          X"$file" : 'X\(//\)$' \| \
16977          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16978 $as_echo X"$file" |
16979     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16980             s//\1/
16981             q
16982           }
16983           /^X\(\/\/\)[^/].*/{
16984             s//\1/
16985             q
16986           }
16987           /^X\(\/\/\)$/{
16988             s//\1/
16989             q
16990           }
16991           /^X\(\/\).*/{
16992             s//\1/
16993             q
16994           }
16995           s/.*/./; q'`
16996       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16997       # echo "creating $dirpart/$file"
16998       echo '# dummy' > "$dirpart/$file"
16999     done
17000   done
17001 }
17002  ;;
17003     "libtool":C)
17004
17005     # See if we are running on zsh, and set the options which allow our
17006     # commands through without removal of \ escapes.
17007     if test -n "${ZSH_VERSION+set}" ; then
17008       setopt NO_GLOB_SUBST
17009     fi
17010
17011     cfgfile="${ofile}T"
17012     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17013     $RM "$cfgfile"
17014
17015     cat <<_LT_EOF >> "$cfgfile"
17016 #! $SHELL
17017
17018 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17019 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17020 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17021 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17022 #
17023 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17024 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17025 #                 Inc.
17026 #   Written by Gordon Matzigkeit, 1996
17027 #
17028 #   This file is part of GNU Libtool.
17029 #
17030 # GNU Libtool is free software; you can redistribute it and/or
17031 # modify it under the terms of the GNU General Public License as
17032 # published by the Free Software Foundation; either version 2 of
17033 # the License, or (at your option) any later version.
17034 #
17035 # As a special exception to the GNU General Public License,
17036 # if you distribute this file as part of a program or library that
17037 # is built using GNU Libtool, you may include this file under the
17038 # same distribution terms that you use for the rest of that program.
17039 #
17040 # GNU Libtool is distributed in the hope that it will be useful,
17041 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17042 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17043 # GNU General Public License for more details.
17044 #
17045 # You should have received a copy of the GNU General Public License
17046 # along with GNU Libtool; see the file COPYING.  If not, a copy
17047 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17048 # obtained by writing to the Free Software Foundation, Inc.,
17049 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17050
17051
17052 # The names of the tagged configurations supported by this script.
17053 available_tags=""
17054
17055 # ### BEGIN LIBTOOL CONFIG
17056
17057 # Whether or not to build static libraries.
17058 build_old_libs=$enable_static
17059
17060 # Assembler program.
17061 AS=$lt_AS
17062
17063 # DLL creation program.
17064 DLLTOOL=$lt_DLLTOOL
17065
17066 # Object dumper program.
17067 OBJDUMP=$lt_OBJDUMP
17068
17069 # Which release of libtool.m4 was used?
17070 macro_version=$macro_version
17071 macro_revision=$macro_revision
17072
17073 # Whether or not to build shared libraries.
17074 build_libtool_libs=$enable_shared
17075
17076 # What type of objects to build.
17077 pic_mode=$pic_mode
17078
17079 # Whether or not to optimize for fast installation.
17080 fast_install=$enable_fast_install
17081
17082 # Shell to use when invoking shell scripts.
17083 SHELL=$lt_SHELL
17084
17085 # An echo program that protects backslashes.
17086 ECHO=$lt_ECHO
17087
17088 # The host system.
17089 host_alias=$host_alias
17090 host=$host
17091 host_os=$host_os
17092
17093 # The build system.
17094 build_alias=$build_alias
17095 build=$build
17096 build_os=$build_os
17097
17098 # A sed program that does not truncate output.
17099 SED=$lt_SED
17100
17101 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17102 Xsed="\$SED -e 1s/^X//"
17103
17104 # A grep program that handles long lines.
17105 GREP=$lt_GREP
17106
17107 # An ERE matcher.
17108 EGREP=$lt_EGREP
17109
17110 # A literal string matcher.
17111 FGREP=$lt_FGREP
17112
17113 # A BSD- or MS-compatible name lister.
17114 NM=$lt_NM
17115
17116 # Whether we need soft or hard links.
17117 LN_S=$lt_LN_S
17118
17119 # What is the maximum length of a command?
17120 max_cmd_len=$max_cmd_len
17121
17122 # Object file suffix (normally "o").
17123 objext=$ac_objext
17124
17125 # Executable file suffix (normally "").
17126 exeext=$exeext
17127
17128 # whether the shell understands "unset".
17129 lt_unset=$lt_unset
17130
17131 # turn spaces into newlines.
17132 SP2NL=$lt_lt_SP2NL
17133
17134 # turn newlines into spaces.
17135 NL2SP=$lt_lt_NL2SP
17136
17137 # convert \$build file names to \$host format.
17138 to_host_file_cmd=$lt_cv_to_host_file_cmd
17139
17140 # convert \$build files to toolchain format.
17141 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17142
17143 # Method to check whether dependent libraries are shared objects.
17144 deplibs_check_method=$lt_deplibs_check_method
17145
17146 # Command to use when deplibs_check_method = "file_magic".
17147 file_magic_cmd=$lt_file_magic_cmd
17148
17149 # How to find potential files when deplibs_check_method = "file_magic".
17150 file_magic_glob=$lt_file_magic_glob
17151
17152 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17153 want_nocaseglob=$lt_want_nocaseglob
17154
17155 # Command to associate shared and link libraries.
17156 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17157
17158 # The archiver.
17159 AR=$lt_AR
17160
17161 # Flags to create an archive.
17162 AR_FLAGS=$lt_AR_FLAGS
17163
17164 # How to feed a file listing to the archiver.
17165 archiver_list_spec=$lt_archiver_list_spec
17166
17167 # A symbol stripping program.
17168 STRIP=$lt_STRIP
17169
17170 # Commands used to install an old-style archive.
17171 RANLIB=$lt_RANLIB
17172 old_postinstall_cmds=$lt_old_postinstall_cmds
17173 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17174
17175 # Whether to use a lock for old archive extraction.
17176 lock_old_archive_extraction=$lock_old_archive_extraction
17177
17178 # A C compiler.
17179 LTCC=$lt_CC
17180
17181 # LTCC compiler flags.
17182 LTCFLAGS=$lt_CFLAGS
17183
17184 # Take the output of nm and produce a listing of raw symbols and C names.
17185 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17186
17187 # Transform the output of nm in a proper C declaration.
17188 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17189
17190 # Transform the output of nm in a C name address pair.
17191 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17192
17193 # Transform the output of nm in a C name address pair when lib prefix is needed.
17194 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17195
17196 # Specify filename containing input files for \$NM.
17197 nm_file_list_spec=$lt_nm_file_list_spec
17198
17199 # The root where to search for dependent libraries,and in which our libraries should be installed.
17200 lt_sysroot=$lt_sysroot
17201
17202 # The name of the directory that contains temporary libtool files.
17203 objdir=$objdir
17204
17205 # Used to examine libraries when file_magic_cmd begins with "file".
17206 MAGIC_CMD=$MAGIC_CMD
17207
17208 # Must we lock files when doing compilation?
17209 need_locks=$lt_need_locks
17210
17211 # Manifest tool.
17212 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17213
17214 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17215 DSYMUTIL=$lt_DSYMUTIL
17216
17217 # Tool to change global to local symbols on Mac OS X.
17218 NMEDIT=$lt_NMEDIT
17219
17220 # Tool to manipulate fat objects and archives on Mac OS X.
17221 LIPO=$lt_LIPO
17222
17223 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17224 OTOOL=$lt_OTOOL
17225
17226 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17227 OTOOL64=$lt_OTOOL64
17228
17229 # Old archive suffix (normally "a").
17230 libext=$libext
17231
17232 # Shared library suffix (normally ".so").
17233 shrext_cmds=$lt_shrext_cmds
17234
17235 # The commands to extract the exported symbol list from a shared archive.
17236 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17237
17238 # Variables whose values should be saved in libtool wrapper scripts and
17239 # restored at link time.
17240 variables_saved_for_relink=$lt_variables_saved_for_relink
17241
17242 # Do we need the "lib" prefix for modules?
17243 need_lib_prefix=$need_lib_prefix
17244
17245 # Do we need a version for libraries?
17246 need_version=$need_version
17247
17248 # Library versioning type.
17249 version_type=$version_type
17250
17251 # Shared library runtime path variable.
17252 runpath_var=$runpath_var
17253
17254 # Shared library path variable.
17255 shlibpath_var=$shlibpath_var
17256
17257 # Is shlibpath searched before the hard-coded library search path?
17258 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17259
17260 # Format of library name prefix.
17261 libname_spec=$lt_libname_spec
17262
17263 # List of archive names.  First name is the real one, the rest are links.
17264 # The last name is the one that the linker finds with -lNAME
17265 library_names_spec=$lt_library_names_spec
17266
17267 # The coded name of the library, if different from the real name.
17268 soname_spec=$lt_soname_spec
17269
17270 # Permission mode override for installation of shared libraries.
17271 install_override_mode=$lt_install_override_mode
17272
17273 # Command to use after installation of a shared archive.
17274 postinstall_cmds=$lt_postinstall_cmds
17275
17276 # Command to use after uninstallation of a shared archive.
17277 postuninstall_cmds=$lt_postuninstall_cmds
17278
17279 # Commands used to finish a libtool library installation in a directory.
17280 finish_cmds=$lt_finish_cmds
17281
17282 # As "finish_cmds", except a single script fragment to be evaled but
17283 # not shown.
17284 finish_eval=$lt_finish_eval
17285
17286 # Whether we should hardcode library paths into libraries.
17287 hardcode_into_libs=$hardcode_into_libs
17288
17289 # Compile-time system search path for libraries.
17290 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17291
17292 # Run-time system search path for libraries.
17293 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17294
17295 # Whether dlopen is supported.
17296 dlopen_support=$enable_dlopen
17297
17298 # Whether dlopen of programs is supported.
17299 dlopen_self=$enable_dlopen_self
17300
17301 # Whether dlopen of statically linked programs is supported.
17302 dlopen_self_static=$enable_dlopen_self_static
17303
17304 # Commands to strip libraries.
17305 old_striplib=$lt_old_striplib
17306 striplib=$lt_striplib
17307
17308
17309 # The linker used to build libraries.
17310 LD=$lt_LD
17311
17312 # How to create reloadable object files.
17313 reload_flag=$lt_reload_flag
17314 reload_cmds=$lt_reload_cmds
17315
17316 # Commands used to build an old-style archive.
17317 old_archive_cmds=$lt_old_archive_cmds
17318
17319 # A language specific compiler.
17320 CC=$lt_compiler
17321
17322 # Is the compiler the GNU compiler?
17323 with_gcc=$GCC
17324
17325 # Compiler flag to turn off builtin functions.
17326 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17327
17328 # Additional compiler flags for building library objects.
17329 pic_flag=$lt_lt_prog_compiler_pic
17330
17331 # How to pass a linker flag through the compiler.
17332 wl=$lt_lt_prog_compiler_wl
17333
17334 # Compiler flag to prevent dynamic linking.
17335 link_static_flag=$lt_lt_prog_compiler_static
17336
17337 # Does compiler simultaneously support -c and -o options?
17338 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17339
17340 # Whether or not to add -lc for building shared libraries.
17341 build_libtool_need_lc=$archive_cmds_need_lc
17342
17343 # Whether or not to disallow shared libs when runtime libs are static.
17344 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17345
17346 # Compiler flag to allow reflexive dlopens.
17347 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17348
17349 # Compiler flag to generate shared objects directly from archives.
17350 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17351
17352 # Whether the compiler copes with passing no objects directly.
17353 compiler_needs_object=$lt_compiler_needs_object
17354
17355 # Create an old-style archive from a shared archive.
17356 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17357
17358 # Create a temporary old-style archive to link instead of a shared archive.
17359 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17360
17361 # Commands used to build a shared archive.
17362 archive_cmds=$lt_archive_cmds
17363 archive_expsym_cmds=$lt_archive_expsym_cmds
17364
17365 # Commands used to build a loadable module if different from building
17366 # a shared archive.
17367 module_cmds=$lt_module_cmds
17368 module_expsym_cmds=$lt_module_expsym_cmds
17369
17370 # Whether we are building with GNU ld or not.
17371 with_gnu_ld=$lt_with_gnu_ld
17372
17373 # Flag that allows shared libraries with undefined symbols to be built.
17374 allow_undefined_flag=$lt_allow_undefined_flag
17375
17376 # Flag that enforces no undefined symbols.
17377 no_undefined_flag=$lt_no_undefined_flag
17378
17379 # Flag to hardcode \$libdir into a binary during linking.
17380 # This must work even if \$libdir does not exist
17381 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17382
17383 # If ld is used when linking, flag to hardcode \$libdir into a binary
17384 # during linking.  This must work even if \$libdir does not exist.
17385 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17386
17387 # Whether we need a single "-rpath" flag with a separated argument.
17388 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17389
17390 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17391 # DIR into the resulting binary.
17392 hardcode_direct=$hardcode_direct
17393
17394 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17395 # DIR into the resulting binary and the resulting library dependency is
17396 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17397 # library is relocated.
17398 hardcode_direct_absolute=$hardcode_direct_absolute
17399
17400 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17401 # into the resulting binary.
17402 hardcode_minus_L=$hardcode_minus_L
17403
17404 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17405 # into the resulting binary.
17406 hardcode_shlibpath_var=$hardcode_shlibpath_var
17407
17408 # Set to "yes" if building a shared library automatically hardcodes DIR
17409 # into the library and all subsequent libraries and executables linked
17410 # against it.
17411 hardcode_automatic=$hardcode_automatic
17412
17413 # Set to yes if linker adds runtime paths of dependent libraries
17414 # to runtime path list.
17415 inherit_rpath=$inherit_rpath
17416
17417 # Whether libtool must link a program against all its dependency libraries.
17418 link_all_deplibs=$link_all_deplibs
17419
17420 # Set to "yes" if exported symbols are required.
17421 always_export_symbols=$always_export_symbols
17422
17423 # The commands to list exported symbols.
17424 export_symbols_cmds=$lt_export_symbols_cmds
17425
17426 # Symbols that should not be listed in the preloaded symbols.
17427 exclude_expsyms=$lt_exclude_expsyms
17428
17429 # Symbols that must always be exported.
17430 include_expsyms=$lt_include_expsyms
17431
17432 # Commands necessary for linking programs (against libraries) with templates.
17433 prelink_cmds=$lt_prelink_cmds
17434
17435 # Commands necessary for finishing linking programs.
17436 postlink_cmds=$lt_postlink_cmds
17437
17438 # Specify filename containing input files.
17439 file_list_spec=$lt_file_list_spec
17440
17441 # How to hardcode a shared library path into an executable.
17442 hardcode_action=$hardcode_action
17443
17444 # ### END LIBTOOL CONFIG
17445
17446 _LT_EOF
17447
17448   case $host_os in
17449   aix3*)
17450     cat <<\_LT_EOF >> "$cfgfile"
17451 # AIX sometimes has problems with the GCC collect2 program.  For some
17452 # reason, if we set the COLLECT_NAMES environment variable, the problems
17453 # vanish in a puff of smoke.
17454 if test "X${COLLECT_NAMES+set}" != Xset; then
17455   COLLECT_NAMES=
17456   export COLLECT_NAMES
17457 fi
17458 _LT_EOF
17459     ;;
17460   esac
17461
17462
17463 ltmain="$ac_aux_dir/ltmain.sh"
17464
17465
17466   # We use sed instead of cat because bash on DJGPP gets confused if
17467   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17468   # text mode, it properly converts lines to CR/LF.  This bash problem
17469   # is reportedly fixed, but why not run on old versions too?
17470   sed '$q' "$ltmain" >> "$cfgfile" \
17471      || (rm -f "$cfgfile"; exit 1)
17472
17473   if test x"$xsi_shell" = xyes; then
17474   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17475 func_dirname ()\
17476 {\
17477 \    case ${1} in\
17478 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17479 \      *  ) func_dirname_result="${3}" ;;\
17480 \    esac\
17481 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17482   && mv -f "$cfgfile.tmp" "$cfgfile" \
17483     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17484 test 0 -eq $? || _lt_function_replace_fail=:
17485
17486
17487   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17488 func_basename ()\
17489 {\
17490 \    func_basename_result="${1##*/}"\
17491 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17492   && mv -f "$cfgfile.tmp" "$cfgfile" \
17493     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17494 test 0 -eq $? || _lt_function_replace_fail=:
17495
17496
17497   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17498 func_dirname_and_basename ()\
17499 {\
17500 \    case ${1} in\
17501 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17502 \      *  ) func_dirname_result="${3}" ;;\
17503 \    esac\
17504 \    func_basename_result="${1##*/}"\
17505 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17506   && mv -f "$cfgfile.tmp" "$cfgfile" \
17507     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17508 test 0 -eq $? || _lt_function_replace_fail=:
17509
17510
17511   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17512 func_stripname ()\
17513 {\
17514 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17515 \    # positional parameters, so assign one to ordinary parameter first.\
17516 \    func_stripname_result=${3}\
17517 \    func_stripname_result=${func_stripname_result#"${1}"}\
17518 \    func_stripname_result=${func_stripname_result%"${2}"}\
17519 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17520   && mv -f "$cfgfile.tmp" "$cfgfile" \
17521     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17522 test 0 -eq $? || _lt_function_replace_fail=:
17523
17524
17525   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17526 func_split_long_opt ()\
17527 {\
17528 \    func_split_long_opt_name=${1%%=*}\
17529 \    func_split_long_opt_arg=${1#*=}\
17530 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17531   && mv -f "$cfgfile.tmp" "$cfgfile" \
17532     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17533 test 0 -eq $? || _lt_function_replace_fail=:
17534
17535
17536   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17537 func_split_short_opt ()\
17538 {\
17539 \    func_split_short_opt_arg=${1#??}\
17540 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17541 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17542   && mv -f "$cfgfile.tmp" "$cfgfile" \
17543     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17544 test 0 -eq $? || _lt_function_replace_fail=:
17545
17546
17547   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17548 func_lo2o ()\
17549 {\
17550 \    case ${1} in\
17551 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17552 \      *)    func_lo2o_result=${1} ;;\
17553 \    esac\
17554 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17555   && mv -f "$cfgfile.tmp" "$cfgfile" \
17556     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17557 test 0 -eq $? || _lt_function_replace_fail=:
17558
17559
17560   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17561 func_xform ()\
17562 {\
17563     func_xform_result=${1%.*}.lo\
17564 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17565   && mv -f "$cfgfile.tmp" "$cfgfile" \
17566     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17567 test 0 -eq $? || _lt_function_replace_fail=:
17568
17569
17570   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17571 func_arith ()\
17572 {\
17573     func_arith_result=$(( $* ))\
17574 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17575   && mv -f "$cfgfile.tmp" "$cfgfile" \
17576     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17577 test 0 -eq $? || _lt_function_replace_fail=:
17578
17579
17580   sed -e '/^func_len ()$/,/^} # func_len /c\
17581 func_len ()\
17582 {\
17583     func_len_result=${#1}\
17584 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17585   && mv -f "$cfgfile.tmp" "$cfgfile" \
17586     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17587 test 0 -eq $? || _lt_function_replace_fail=:
17588
17589 fi
17590
17591 if test x"$lt_shell_append" = xyes; then
17592   sed -e '/^func_append ()$/,/^} # func_append /c\
17593 func_append ()\
17594 {\
17595     eval "${1}+=\\${2}"\
17596 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17597   && mv -f "$cfgfile.tmp" "$cfgfile" \
17598     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17599 test 0 -eq $? || _lt_function_replace_fail=:
17600
17601
17602   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17603 func_append_quoted ()\
17604 {\
17605 \    func_quote_for_eval "${2}"\
17606 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17607 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17608   && mv -f "$cfgfile.tmp" "$cfgfile" \
17609     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17610 test 0 -eq $? || _lt_function_replace_fail=:
17611
17612
17613   # Save a `func_append' function call where possible by direct use of '+='
17614   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17615     && mv -f "$cfgfile.tmp" "$cfgfile" \
17616       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17617   test 0 -eq $? || _lt_function_replace_fail=:
17618 else
17619   # Save a `func_append' function call even when '+=' is not available
17620   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17621     && mv -f "$cfgfile.tmp" "$cfgfile" \
17622       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17623   test 0 -eq $? || _lt_function_replace_fail=:
17624 fi
17625
17626 if test x"$_lt_function_replace_fail" = x":"; then
17627   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17628 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17629 fi
17630
17631
17632    mv -f "$cfgfile" "$ofile" ||
17633     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17634   chmod +x "$ofile"
17635
17636  ;;
17637
17638   esac
17639 done # for ac_tag
17640
17641
17642 as_fn_exit 0
17643 _ACEOF
17644 ac_clean_files=$ac_clean_files_save
17645
17646 test $ac_write_fail = 0 ||
17647   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17648
17649
17650 # configure is writing to config.log, and then calls config.status.
17651 # config.status does its own redirection, appending to config.log.
17652 # Unfortunately, on DOS this fails, as config.log is still kept open
17653 # by configure, so config.status won't be able to write to it; its
17654 # output is simply discarded.  So we exec the FD to /dev/null,
17655 # effectively closing config.log, so it can be properly (re)opened and
17656 # appended to by config.status.  When coming back to configure, we
17657 # need to make the FD available again.
17658 if test "$no_create" != yes; then
17659   ac_cs_success=:
17660   ac_config_status_args=
17661   test "$silent" = yes &&
17662     ac_config_status_args="$ac_config_status_args --quiet"
17663   exec 5>/dev/null
17664   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17665   exec 5>>config.log
17666   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17667   # would make configure fail if this is the last instruction.
17668   $ac_cs_success || as_fn_exit 1
17669 fi
17670 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17671   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17672 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17673 fi
17674